:root {
  --f2-gold: #e9bd62;
  --f2-line: rgba(233, 189, 98, 0.35);
  --f2-text: #f5efe1;
  --f2-muted: #b9b3a6;
}

.future-litter-countdowns {
  margin-top: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(213, 166, 77, 0.34);
  border-radius: 8px;
  background: rgba(7, 6, 4, 0.56);
}

.future-litter-countdowns .next-litter-countdown {
  min-width: 0;
  margin: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  align-items: center;
  gap: 12px;
}

.future-litter-countdowns .next-litter-countdown-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
}

.future-litter-countdowns .next-litter-countdown-heading p {
  color: rgba(245, 239, 225, 0.78);
  font-size: 0.8rem;
  line-height: 1.5;
}

.next-f2-countdown {
  border-color: rgba(224, 177, 88, 0.48);
  background: rgba(48, 37, 20, 0.82);
}

.next-f2-countdown .next-litter-countdown-heading span,
.next-f2-countdown > a {
  color: var(--f2-gold);
}

.f2-merged-litter {
  margin-top: clamp(44px, 7vw, 78px);
  padding-top: clamp(36px, 5vw, 58px);
  border-top: 1px solid var(--f2-line);
}

#portee-f2 {
  --f2-lavender: #c4b5fd;
  --f2-lavender-line: rgba(167, 139, 250, 0.5);
}

#portee-f2 .f2-presentation-filters,
#portee-f2 .f2-puppy-card {
  border-color: rgba(214, 170, 98, 0.58);
  background:
    linear-gradient(135deg, rgba(214, 170, 98, 0.1), rgba(12, 10, 7, 0.96)),
    rgba(12, 11, 8, 0.9);
}

#portee-f2 .puppy-photo-name {
  color: #fff4df;
  background: linear-gradient(110deg, rgba(126, 88, 39, 0.98), rgba(50, 35, 18, 0.98));
}

#portee-f2 .future-puppy-visual,
#portee-f2 .future-puppy-placeholder {
  border-color: rgba(214, 170, 98, 0.48);
}

#portee-f2 .future-puppy-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(214, 170, 98, 0.1) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, rgba(94, 65, 33, 0.64), rgba(34, 27, 19, 0.78)),
    rgba(35, 28, 20, 0.92);
}

#portee-f2 .f2-puppy-buttons button {
  color: #f4dfb9;
  border-color: rgba(214, 170, 98, 0.48);
  background: rgba(214, 170, 98, 0.08);
}

#portee-f2 .f2-puppy-buttons button:hover,
#portee-f2 .f2-puppy-buttons button:focus-visible,
#portee-f2 .f2-puppy-buttons button.is-active {
  color: #171008;
  border-color: #e4b96d;
  background: #e4b96d;
}

#portee-f2 .puppy-inline-status.is-preparing {
  color: #171008;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: #e4b96d;
}

#portee-f2 .puppy-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.f2-record-badge {
  min-height: 28px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(214, 170, 98, 0.5);
  border-radius: 999px;
  color: #f4dfb9;
  background: rgba(214, 170, 98, 0.08);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.f2-record-badge.is-number {
  color: #171008;
  border-color: #e4b96d;
  background: #e4b96d;
}

.f2-record-badge.is-sex {
  border-style: dashed;
}

.f2-record-badge.is-generation {
  color: #f7f2ff;
  background: rgba(85, 62, 130, 0.42);
}

.f2-record-badge.is-typology {
  color: #f5e7c8;
  border-color: rgba(233, 189, 98, 0.58);
  background: rgba(233, 189, 98, 0.14);
}

.f2-record-badge.is-availability {
  flex-basis: 100%;
  color: #c9f0d7;
  border-color: rgba(92, 184, 124, 0.58);
  background: rgba(35, 105, 62, 0.28);
  white-space: normal;
}

.f2-record-badge.is-birth {
  color: rgba(245, 240, 255, 0.82);
}

.f2-newborn-gallery {
  margin: 20px 0;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--f2-lavender-line);
  border-radius: 8px;
  background: rgba(10, 9, 11, 0.96);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.05);
}

.f2-newborn-gallery-heading {
  max-width: 760px;
  margin-bottom: 16px;
}

.f2-newborn-gallery-heading .eyebrow {
  margin-bottom: 5px;
  color: var(--f2-lavender);
}

.f2-newborn-gallery-heading h3 {
  margin: 0 0 7px;
  color: #f7f2ff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.f2-newborn-gallery-heading > p:last-child {
  margin: 0;
  color: var(--f2-muted);
}

.f2-newborn-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 12px;
}

.f2-newborn-gallery-item {
  position: relative;
  min-width: 0;
  height: 310px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 8px;
  background: #09080b;
  cursor: zoom-in;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.f2-newborn-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 25%, rgba(196, 181, 253, 0.13), transparent 70%);
  transform: translateX(-110%);
  transition: transform 480ms ease;
}

.f2-newborn-gallery-item:hover,
.f2-newborn-gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--f2-lavender);
  box-shadow: 0 18px 36px rgba(92, 65, 150, 0.2);
  outline: none;
}

.f2-newborn-gallery-item:hover::after,
.f2-newborn-gallery-item:focus-visible::after {
  transform: translateX(110%);
}

.f2-newborn-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.f2-newborn-gallery-item:nth-child(2) img {
  object-position: center 56%;
}

.f2-newborn-gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 34px 14px 13px;
  color: #f7f2ff;
  background: linear-gradient(transparent, rgba(8, 6, 11, 0.92) 44%);
}

.f2-newborn-gallery-item figcaption strong {
  display: block;
  font-size: 1rem;
}

.f2-newborn-gallery-item figcaption p {
  margin: 3px 0 0;
  color: rgba(245, 240, 255, 0.76);
  font-size: 0.78rem;
  line-height: 1.4;
}

.f2-merged-litter .section-heading {
  margin-bottom: 28px;
}

.f2-presentation-filters {
  margin-top: 18px;
}

.f2-puppy-buttons,
.f2-follow-puppy-controls,
.f2-follow-stage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f2-card-grid {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.f2-puppy-card {
  position: relative;
  flex: 0 0 clamp(270px, 31vw, 340px);
  width: auto;
  min-width: 0;
  scroll-snap-align: start;
}

.f2-card-carousel-bar {
  margin-top: 18px;
}

.f2-puppy-card .future-puppy-visual {
  aspect-ratio: 4 / 3;
}

.f2-puppy-card.has-photo .future-puppy-visual {
  aspect-ratio: 4 / 5;
}

.f2-puppy-card .future-puppy-visual > span {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
  border-radius: 999px;
}

.f2-puppy-card .future-puppy-visual img {
  object-position: center 42%;
}

/* Keep every litter card aligned, regardless of the source photo ratio. */
#portee-f2 .f2-card-grid .f2-puppy-card .future-puppy-visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  height: auto;
}

#portee-f2 .f2-card-grid .f2-puppy-card .future-puppy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f2-puppy-card .puppy-photo-name {
  min-height: 52px;
  padding: 10px 14px;
}

.f2-puppy-card .puppy-body {
  padding: 13px 14px 15px;
}

.f2-puppy-card .puppy-facts {
  gap: 3px;
}

.f2-puppy-card .puppy-facts div {
  padding: 6px 0;
}

#fiches-juin-2026 .f2-puppy-card,
#fiches-juin-2026 .f2-puppy-card:hover,
#fiches-juin-2026 .f2-puppy-card:focus-visible,
#fiches-juin-2026 .f2-puppy-card.is-card-open {
  box-shadow: none;
}

.f2-profile-contact {
  width: 100%;
  margin-top: 12px;
  justify-content: center;
}

.f2-puppy-card .future-puppy-placeholder { inset: 10px; }
.f2-puppy-card .future-puppy-placeholder strong {
  padding: 12px;
  text-align: center;
}

.litter-year-controls button[data-litter-year-filter="2026-3"] {
  color: #e9e1ff;
  border-color: rgba(167, 139, 250, 0.72);
  background: rgba(167, 139, 250, 0.1);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.08);
}

.litter-year-controls button[data-litter-year-filter="2026-3"]:hover,
.litter-year-controls button[data-litter-year-filter="2026-3"].is-active {
  color: #fff;
  border-color: #c4b5fd;
  background: linear-gradient(135deg, #7156aa, #3d2b62);
  box-shadow: 0 10px 28px rgba(112, 82, 174, 0.28);
}

.evolution-litter[data-litter-year="2026-3"] {
  --year-frame-rgb: 167, 139, 250;
  --year-accent: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.58);
  background:
    radial-gradient(circle at 92% 4%, rgba(167, 139, 250, 0.08), transparent 30%),
    linear-gradient(145deg, #111010, #0b0a0b 58%, #070707);
}

.evolution-litter[data-litter-year="2026-3"] .evolution-litter-header h3,
.evolution-litter[data-litter-year="2026-3"] .f2-future-video h3,
.evolution-litter[data-litter-year="2026-3"] .f2-follow-gallery-heading h4 {
  color: #f7f2ff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
}

.evolution-litter[data-litter-year="2026-3"] .evolution-litter-header h3 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.evolution-litter[data-litter-year="2026-3"] .evolution-litter-header,
.evolution-litter[data-litter-year="2026-3"] .f2-follow-filter-panel,
.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-focus,
.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-focus-media {
  border-color: rgba(167, 139, 250, 0.48) !important;
  background:
    radial-gradient(circle at 92% 4%, rgba(167, 139, 250, 0.06), transparent 34%),
    rgba(10, 9, 11, 0.96) !important;
}

.evolution-litter[data-litter-year="2026-3"] .f2-follow-filter-panel {
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.06);
}

.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-controls button {
  color: #ded4fb;
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(167, 139, 250, 0.06);
}

.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-controls button:hover,
.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-controls button:focus-visible,
.evolution-litter[data-litter-year="2026-3"] .puppy-evolution-controls button.is-active {
  color: #fff;
  border-color: #c4b5fd;
  background: linear-gradient(135deg, #7156aa, #3d2b62);
  box-shadow: 0 10px 24px rgba(112, 82, 174, 0.24);
}

.evolution-litter[data-litter-year="2026-3"] :is(
  .evolution-litter-header > span,
  .f2-follow-filter-panel > div > span,
  .puppy-evolution-focus-copy > span
) {
  color: #c4b5fd;
}

.f2-future-video {
  margin-top: 18px;
  border-color: rgba(167, 139, 250, 0.52) !important;
  background:
    radial-gradient(circle at 92% 4%, rgba(167, 139, 250, 0.06), transparent 34%),
    rgba(10, 9, 11, 0.96) !important;
  box-shadow:
    inset 0 0 0 1px rgba(167, 139, 250, 0.06),
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.f2-future-video > div:first-child > span { color: #c4b5fd; }

.f2-video-placeholder {
  display: grid;
  min-height: 260px;
  place-content: center;
  gap: 8px;
  color: #c4b5fd;
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(167, 139, 250, 0.08), transparent 42%),
    rgba(7, 7, 8, 0.96);
  border: 1px solid rgba(167, 139, 250, 0.46);
  box-shadow: inset 0 0 26px rgba(167, 139, 250, 0.07);
}

.f2-video-placeholder::before {
  background:
    radial-gradient(circle at 30% 24%, rgba(196, 181, 253, 0.1), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(112, 82, 174, 0.08), transparent 34%),
    linear-gradient(145deg, #111011, #070707 72%);
  filter: none;
  transform: none;
}

.f2-video-placeholder > * {
  position: relative;
  z-index: 2;
}

.f2-video-placeholder strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.f2-video-placeholder span {
  color: var(--f2-muted);
  font-size: 0.82rem;
}

.follow-year-filter-panel {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--f2-line);
  border-radius: 8px;
  background: rgba(12, 11, 8, 0.72);
}

.follow-year-filter-panel > span,
.f2-follow-filter-panel > div > span {
  display: block;
  margin-bottom: 10px;
  color: var(--f2-gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.follow-year-filter-panel .litter-year-controls {
  margin: 0;
}

.f2-follow-litter { border-color: var(--f2-line); }

.f2-follow-filter-panel {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--f2-line);
  border-radius: 8px;
  background: rgba(12, 11, 8, 0.72);
}

.f2-follow-layout {
  align-items: start;
}

.f2-follow-copy {
  min-width: 0;
}

.f2-follow-copy > h3 {
  margin-top: 0;
}

.f2-follow-copy .check-list {
  margin-bottom: 0;
}

.f2-follow-copy .f2-follow-filter-panel {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.f2-follow-group {
  min-width: 0;
}

.f2-follow-group .children-group-heading {
  border-color: rgba(167, 139, 250, 0.44);
  background: rgba(10, 9, 11, 0.96);
}

.f2-follow-group .children-group-heading span {
  color: #c4b5fd;
}

.f2-follow-group .f2-follow-profile {
  padding-top: 0;
}

.f2-follow-filter-panel > div,
.f2-follow-puppy-controls,
.f2-follow-stage-controls,
.f2-follow-profile {
  width: 100%;
  min-width: 0;
}

.f2-follow-puppy-controls,
.f2-follow-stage-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr));
  grid-auto-flow: row;
  gap: 8px;
  overflow: visible;
  padding: 2px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.f2-follow-puppy-controls::-webkit-scrollbar,
.f2-follow-stage-controls::-webkit-scrollbar { display: none; }

.f2-follow-puppy-controls button,
.f2-follow-stage-controls button {
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  white-space: normal;
}

.f2-follow-profile {
  min-width: 0;
  padding-top: 18px;
}

.f2-follow-gallery-heading {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(167, 139, 250, 0.44);
  border-radius: 8px;
  background: rgba(10, 9, 11, 0.96);
}

.f2-follow-gallery-heading > span {
  color: #c4b5fd;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.f2-follow-gallery-heading h4 {
  margin: 6px 0 4px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.f2-follow-gallery-heading p {
  margin: 0;
  color: var(--f2-muted);
}

.f2-follow-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  overflow: visible;
  padding: 2px 2px 10px;
}

.f2-follow-photo-grid.is-single {
  grid-template-columns: minmax(260px, 340px);
}

.f2-follow-photo-slot {
  --f2-slot-rgb: 167, 139, 250;
  --f2-slot-color: #c4b5fd;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--f2-slot-rgb), 0.48);
  border-radius: 8px;
  background: rgba(12, 9, 16, 0.94);
  box-shadow: 0 12px 28px rgba(4, 2, 8, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.f2-follow-photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(var(--f2-slot-rgb), 0.13), transparent 70%);
  transform: translateX(-110%);
  transition: transform 480ms ease;
}

.f2-follow-photo-slot:hover,
.f2-follow-photo-slot:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--f2-slot-rgb), 0.88);
  box-shadow: 0 18px 36px rgba(var(--f2-slot-rgb), 0.16);
}

.f2-follow-photo-slot:hover::after,
.f2-follow-photo-slot:focus-within::after {
  transform: translateX(110%);
}

.f2-follow-photo-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-content: center;
  gap: 8px;
  color: var(--f2-slot-color);
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(var(--f2-slot-rgb), 0.07) 0 12px, transparent 12px 24px),
    rgba(8, 6, 12, 0.96);
  border-bottom: 1px solid rgba(var(--f2-slot-rgb), 0.38);
}

.f2-follow-photo-slot.has-photo .f2-follow-photo-media {
  background: #11100d;
}

.f2-follow-photo-slot.is-missing .f2-follow-photo-media {
  color: #d9b978;
  background: rgba(32, 25, 17, 0.96);
}

.f2-follow-photo-slot.is-missing .f2-follow-photo-media::after {
  content: "Photo à venir";
  font-size: 0.78rem;
  font-weight: 800;
}

.f2-follow-photo-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.f2-follow-photo-media span {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
}

.f2-follow-photo-media strong {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.f2-follow-photo-caption {
  padding: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.f2-follow-photo-caption strong {
  color: #f5f0ff;
}

.f2-follow-photo-caption span {
  color: var(--f2-muted);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .f2-newborn-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .f2-newborn-gallery-item-main {
    grid-column: 1 / -1;
  }

  .f2-follow-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .f2-puppy-card {
    flex-basis: min(88vw, 340px);
  }

  .f2-newborn-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .future-litter-countdowns {
    padding: 8px;
  }

  .f2-presentation-filters,
  .follow-year-filter-panel,
  .f2-follow-filter-panel {
    padding: 12px;
  }

  .f2-newborn-gallery {
    padding: 12px;
  }

  .f2-newborn-gallery-item {
    height: 260px;
  }

  .f2-newborn-gallery-item img {
    min-height: 0;
  }

  .f2-newborn-gallery-item-main {
    height: 260px;
  }

  .f2-newborn-gallery-item-main img {
    min-height: 0;
  }

  .f2-newborn-gallery-item figcaption {
    padding: 28px 10px 10px;
  }

  .f2-newborn-gallery-item figcaption p {
    font-size: 0.72rem;
  }

  .f2-merged-litter {
    margin-top: 38px;
    padding-top: 30px;
  }

  .f2-puppy-buttons button,
  .f2-follow-puppy-controls button,
  .f2-follow-stage-controls button {
    width: 100%;
    min-width: 0;
  }

  .f2-follow-layout {
    grid-template-columns: 1fr;
  }

  .f2-follow-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f2-record-badge {
    flex: 1 1 calc(50% - 7px);
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .f2-record-badge.is-availability {
    flex-basis: 100%;
    font-size: 0.68rem;
  }

  .future-litter-countdowns .next-litter-countdown {
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 10px;
  }

  .f2-follow-photo-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .f2-follow-photo-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f2-newborn-gallery-item,
  .f2-newborn-gallery-item::after,
  .f2-follow-photo-slot,
  .f2-follow-photo-slot::after {
    transition: none;
  }
}

/* Les filtres restent compacts et visibles sans défilement horizontal. */
#portee-f2 .f2-puppy-buttons,
.f2-follow-puppy-controls,
.f2-follow-stage-controls,
.future-puppy-slot-filters {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 8px !important;
  overflow: visible !important;
  padding: 2px !important;
  scroll-snap-type: none !important;
}

#portee-f2 .f2-puppy-buttons button,
.f2-follow-puppy-controls button,
.f2-follow-stage-controls button,
.future-puppy-slot-filters button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 34px;
  padding: 6px 5px;
  white-space: normal;
  scroll-snap-align: none !important;
}

.f2-follow-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
  gap: 12px !important;
  overflow: visible !important;
}

@media (max-width: 720px) {
  #portee-f2 .f2-puppy-buttons,
  .f2-follow-puppy-controls,
  .f2-follow-stage-controls,
  .future-puppy-slot-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .f2-follow-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 340px) {
  #portee-f2 .f2-puppy-buttons,
  .f2-follow-puppy-controls,
  .f2-follow-stage-controls,
  .future-puppy-slot-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
