:root {
  --color-forest: #264233;
  --color-cream: #f2f1e8;
  --color-sand: #ece8d7;
  --color-card: #fffef8;
  --color-stroke: #d5d1bf;
  --color-muted-soft: #5d6458;
}

.cat-page {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  min-height: 100vh;
}

.cat-main,
.detail-main {
  width: 100%;
  margin: 0;
  padding: var(--nav-height) 0 80px;
}

.detail-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cat-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-radius: 0;
  min-height: 500px;
  padding: 50px 80px 74px;
  border: 0;
  box-shadow: none;
  color: #111111;
  background: transparent;
  animation: heroReveal 0.9s ease both;
}

.cat-hero-overlay {
  display: none;
}

.cat-hero-map {
  display: none;
}

.cat-hero-path {
  display: none;
}

.cat-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cat-hero h1 {
  margin: 10px 0 12px;
  max-width: 18ch;
  font-family: var(--font-body);
  font-size: clamp(2.9rem, 5.1vw, 5.15rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-bottom: 2vh;
}

.cat-hero-intro {
  margin: 0;
  max-width: 58ch;
  line-height: 1.45;
  color: #5f5f5f;
  font-size: clamp(1rem, 1.12vw, 1.2rem);
  padding-bottom: 2vh;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.08rem;
  color: #97ab1f;
  font-weight: 800;
}

.cat-hero-filters-row {
  margin-top: 32px;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}

.cat-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cat-hero-controls {
  margin-top: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.cat-hero-controls .filter-field {
  text-align: left;
  min-width: 160px;
  max-width: 200px;
}

.cat-hero-controls .is-future-filter {
  display: none !important;
}

.hero-refresh-btn {
  min-height: 46px;
}

.hero-chip {
  border: 1px solid transparent;
  cursor: pointer;
  padding: var(--cta-pad-md);
  border-radius: var(--cta-radius);
  font-size: var(--cta-font-md);
  font-weight: var(--cta-weight);
  letter-spacing: var(--cta-letter-spacing);
  line-height: var(--cta-line-height);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--cta-transition), transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hero-chip:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 6px 14px rgba(16, 26, 20, 0.18);
}

.hero-chip:focus-visible {
  outline: 2px solid rgba(159, 185, 31, 0.5);
  outline-offset: 2px;
}

.hero-chip.is-active {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.78) inset,
    0 8px 16px rgba(15, 22, 18, 0.2);
}

.hero-chip-discovery {
  background: #a2b21c;
  color: #ffffff;
}

.hero-chip-theme {
  background: #3e502e;
  color: #ffffff;
}

.hero-chip-custom {
  background: #382125;
  color: #ffffff;
}

.hero-chip-natural {
  background: #457d75;
  color: #ffffff;
}

.hero-chip-all {
  background: #ececec;
  border-color: #9f9f9f;
  color: #6d6d6d;
}

.hero-chip-all:hover,
.hero-chip-all.is-active {
  border-color: #6f6f6f;
  color: #2f2f2f;
  background: #f3f3f3;
}

.hero-chip-more {
  background: #ffffff;
  border-color: #2a2a2a;
  color: #1a1a1a;
  gap: 8px;
}
.hero-chip-more:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.hero-chip-more.is-filled {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.hero-chip-more-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.hero-chip-more-icon svg {
  width: 100%;
  height: 100%;
}
.hero-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 4px;
  background: var(--color-cta);
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.filters {
  margin: 40px 80px 30px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--color-stroke);
  background: var(--color-card);
  box-shadow: 0 15px 28px rgba(15, 27, 20, 0.08);
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  animation: riseIn 0.6s ease 0.1s both;
}

.filters-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  text-transform: uppercase;
}

.filters-head p {
  margin: 8px 0 0;
  color: var(--color-muted-soft);
  line-height: 1.35;
  max-width: 34ch;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: #4a5247;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid var(--color-stroke);
  border-radius: 12px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--color-ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(159, 185, 31, 0.35);
  outline-offset: 1px;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.refresh-btn {
  min-height: 45px;
}

.results {
  animation: riseIn 0.65s ease 0.2s both;
  margin: 0 10vw;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4vh;
}

.results-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  text-transform: uppercase;
}

.results-count {
  margin: 0;
  color: var(--color-muted-soft);
  font-weight: 600;
}

#walksGrid.agenda-grid {
  column-gap: 36px;
  row-gap: 38px;
}

/* .btn-secondary : défini dans style.css (système .cta) */

.hidden:not(.overlay-nav) {
  display: none;
}

.empty {
  margin-top: 16px;
  padding: 28px;
  border-radius: 14px;
  border: 1px dashed #bfc8b8;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
  color: var(--color-muted-soft);
}

.detail-card {
  border: 12px solid #ffffff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
  background: #ffffff;
  padding: 22px;
}

.detail-main h1 {
  margin: 6px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.detail-card h2 {
  margin-top: 26px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.detail-page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
}

.detail-content {
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 90vh;
  padding: 0 10vw 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
  color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 65.88%),
    var(--hero-image);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.detail-hero-content {
  width: min(980px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.detail-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(74, 145, 138, 0.92);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 500;
}

.detail-kicker img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.detail-hero-map {
  position: absolute;
  right: 0;
  top: 0;
  width: min(38vw, 560px);
  height: min(38vw, 560px);
  opacity: 0.35;
  pointer-events: none;
  background: url('../../img/Map-bgr-01.png') no-repeat top right / contain;
}

.detail-hero-map-secondary {
  right: auto;
  left: 42%;
  top: auto;
  bottom: -70px;
  width: min(30vw, 420px);
  height: min(30vw, 420px);
  opacity: 0.28;
  background-image: url('../../img/Path_line.png');
  background-position: center;
}

.detail-hero h1 {
  margin: 0;
  max-width: 11.5ch;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  font-weight: 400;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  padding-bottom: 7vh;
}

.detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.7vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail-meta-item-subtle {
  font-size: clamp(0.9rem, 1.1vw, 1.25rem);
  font-weight: 600;
  opacity: 0.95;
}

.detail-meta-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  opacity: 0.95;
}

.detail-meta-item-subtle .detail-meta-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  opacity: 0.5;
}

.detail-dates {
  width: 100%;
  min-height: 735px;
  padding: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.detail-dates h2,
.detail-intro h2,
.detail-gallery h2,
.detail-booking h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  padding-bottom: 1vh;
}

.detail-dates h2 {
  text-transform: none;
}

.detail-dates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-top: 80px;
}

.detail-dates-copy {
  display: grid;
  gap: 18px;
  color: #132018;
}

.detail-dates-kicker {
  margin: 0;
  color: #8ba012;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  color: #8ba012;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.detail-back-link-arrow {
  color: #9a9a9a;
  font-size: 0.88rem;
  line-height: 1;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: #6f6f6f;
}

.detail-dates-summary,
.detail-dates-description {
  margin: 0;
  max-width: 80%;
  line-height: 1.5;
  color: var(--color-muted-soft);
}

.detail-dates-summary {
  font-size: clamp(1rem, 1.55vw, 1.55rem);
  line-height: 1.32;
  padding-bottom: 1vh;
}

.detail-dates-description {
  font-size: 1rem;
  padding-top: 1vh;
  padding-bottom: 1vh;
}

.detail-extra-meta {
  display: grid;
  gap: 6px;
  padding-bottom: 1vh;
}

.detail-extra-meta p {
  margin: 0;
  color: var(--color-muted-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.detail-practical-block {
  display: grid;
  gap: 8px;
  padding-bottom: 3vh;
  max-width: 80%;
}

.detail-practical-block h3 {
  margin: 4px 0 0;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #132018;
}

.detail-practical-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: var(--color-muted-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.detail-dates-visual {
  margin: 0;
  width: 100%;
}

.detail-dates-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: #eef1e8;
}

.detail-question-link {
  justify-self: start;
}

.detail-intro {
  width: 100%;
  min-height: 400px;
  padding: 160px 0 80px;
  background: #353535;
  color: #ffffff;
}

.detail-intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 840px;
}

.detail-intro p {
  margin: 0;
  line-height: 1.55;
  color: #f3f3f3;
}

.detail-booking {
  width: 100%;
  padding: 0 0 140px;
}

.detail-gallery {
  width: 100%;
  padding: 0 0 90px 10vw;
}

.detail-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.detail-gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-gallery-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-stroke);
  border-radius: 999px;
  background: #ffffff;
  color: #1f2b24;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.detail-gallery-arrow[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.detail-gallery-slider-wrap {
  margin-top: 28px;
  overflow: hidden;
}

.detail-gallery-track {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.detail-gallery-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.detail-gallery-slide {
  margin: 0;
  flex: 0 0 60vw;
  min-width: 60vw;
}

.detail-gallery-slide img {
  width: 100%;
  height: 40vw;
  object-fit: cover;
  border: 1px solid var(--color-stroke);
  background: #f1f3ea;
  box-shadow: 0 8px 18px rgba(18, 27, 21, 0.08);
}

.detail-gallery-bullets {
  margin-top: 0;
  margin-left: -10vw;
  padding-top: 5vh;
  justify-content: center;
}

.detail-gallery-bullets .bullet {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  padding: 0;
  border-radius: 50%;
  line-height: 0;
}

.occurrence-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 14px 0 0;
  max-width: 980px;
  border-top: 2px dotted #b8b8b8;
  border-bottom: 2px dotted #b8b8b8;
}

.occurrence {
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 2px dotted #b8b8b8;
}

.occurrence:last-child {
  border-bottom: 0;
}

.occurrence-date-block {
  min-width: 0;
  padding-bottom: 1vh;
}

.occurrence-day {
  margin: 0;
  color: #8b8b8b;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.occurrence-date {
  margin: 4px 0 0;
  color: #101010;
  font-size: clamp(1.65rem, 2.35vw, 2.15rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.occurrence-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.occurrence-meta-line {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e1e1e;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.occurrence-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #a0a0a0;
}

.occurrence-book {
  min-width: 148px;
  width: 100%;
  max-width: 190px;
  padding: var(--cta-pad-md);
  font-size: var(--cta-font-md);
  border-radius: var(--cta-radius);
  justify-self: end;
}

.occurrence-book[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.stack {
  display: grid;
  gap: 12px;
}

.booking-frame {
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--color-stroke);
  border-radius: 10px;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .cat-main,
  .detail-main {
    width: 100%;
  }

  .detail-hero {
    min-height: 520px;
    padding: 0 10vw 56px;
  }

  .detail-hero-content {
    gap: 14px;
  }

  .detail-hero h1 {
    font-size: clamp(2.6rem, 7.6vw, 4.7rem);
  }

  .detail-hero-meta {
    gap: 18px;
  }

  .detail-meta-item {
    font-size: 1.05rem;
  }

  .detail-meta-item-subtle {
    font-size: 0.92rem;
  }

  .detail-meta-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .detail-meta-item-subtle .detail-meta-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .detail-dates,
  .detail-intro,
  .detail-gallery,
  .detail-booking {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .detail-content {
    padding: 0;
  }

  .detail-dates {
    min-height: 0;
    padding: 0 0 80px;
    gap: 32px;
  }

  .detail-dates-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 36px;
  }

  .detail-dates-visual img {
    aspect-ratio: 1 / 1;
  }

  .detail-intro {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .occurrence-list {
    max-width: none;
  }

  .detail-dates-summary {
    font-size: clamp(1.08rem, 3.8vw, 1.55rem);
  }

  .occurrence {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .occurrence-meta-line {
    font-size: 0.92rem;
  }

  .occurrence-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .occurrence-book {
    min-width: 138px;
    min-height: 46px;
    font-size: 0.9rem;
  }

  .detail-gallery,
  .detail-booking {
    padding-left: 0;
    padding-right: 0;
  }

  .detail-gallery {
    width: 100%;
    padding-left: 6vw;
  }

  .cat-hero {
    min-height: 460px;
    padding: 108px 32px 52px;
  }

  .cat-hero-map {
    width: min(52vw, 380px);
    height: min(52vw, 380px);
  }

  .cat-hero-path {
    left: 52%;
    width: min(42vw, 310px);
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 24px;
  }

  .filters-head {
    grid-column: 1 / -1;
  }

  .cat-hero-controls .filter-field {
    min-width: 200px;
  }

  #walksGrid.agenda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 32px;
  }
}

@media (max-width: 700px) {
  .cat-main,
  .detail-main {
    padding-top: calc(var(--nav-height) + 12px);
  }

  .detail-hero {
    min-height: 420px;
    padding: 0 10vw 24px;
  }

  .detail-kicker {
    min-height: 24px;
    padding: 2px 10px;
    font-size: 0.68rem;
  }

  .detail-kicker img {
    width: 10px;
    height: 10px;
  }

  .detail-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 10.5vw, 3.2rem);
  }

  .detail-hero-meta {
    gap: 10px 14px;
  }

  .detail-meta-item {
    font-size: 0.82rem;
    gap: 6px;
  }

  .detail-meta-item-subtle {
    font-size: 0.72rem;
  }

  .detail-meta-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .detail-meta-item-subtle .detail-meta-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .detail-dates {
    padding-bottom: 64px;
  }

  .detail-dates-summary {
    font-size: 1.12rem;
  }

  .detail-hero-map,
  .detail-hero-map-secondary {
    opacity: 0.2;
  }

  .cat-hero {
    min-height: 400px;
    padding: 86px 18px 26px;
  }

  .cat-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 9.8vw, 3.2rem);
  }

  .cat-hero-intro {
    max-width: 34ch;
    font-size: 0.94rem;
  }

  .cat-hero-chips {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-chip {
    width: auto;
    flex: 0 0 auto;
    min-width: auto;
    justify-content: center;
  }

  .cat-hero-path,
  .cat-hero-map {
    opacity: 0.2;
  }

  #walksGrid.agenda-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .results {
    margin-left: 12px;
    margin-right: 12px;
  }

  .cat-hero-controls .filter-field,
  .hero-refresh-btn {
    max-width: none;
    width: auto;
  }

  .detail-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-gallery {
    width: 100%;
    padding-left: 24px;
  }

  .detail-gallery-slide {
    flex-basis: 60vw;
    min-width: 60vw;
  }

  .occurrence {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .occurrence-date {
    font-size: 1.55rem;
  }

  .occurrence-meta-line {
    font-size: 0.82rem;
  }

  .occurrence-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .occurrence-book {
    width: 100%;
    min-width: 0;
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .walk-card,
  .occurrence {
    flex-direction: row;
    align-items: center;
  }

  .walk-price {
    width: 100%;
    margin-left: 0;
    text-align: right;
  }
}

/* ========================================
   Active filters bar (pills sous la grille)
   ======================================== */
.cat-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  min-height: 32px;
}
.cat-active-filters:empty { display: none; }
.cat-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(162, 178, 28, 0.15);
  border: 1px solid rgba(162, 178, 28, 0.35);
  border-radius: 999px;
  font-size: 13px;
  color: #2a2a2a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cat-active-pill:hover {
  background: rgba(162, 178, 28, 0.25);
}
.cat-active-pill-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
}
.cat-active-clear {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: var(--color-cta);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}
.cat-active-clear:hover {
  color: var(--color-cta-hover);
}

/* ========================================
   Overlay des filtres avancés (fond blanc)
   ======================================== */
.cat-filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}
.cat-filters-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cat-filters-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100vh;
  background: #ffffff;
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
}
.cat-filters-overlay.show {
  transform: translateX(0);
}

.cat-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.cat-filters-title {
  margin: 0;
  font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  text-transform: uppercase;
  color: #1a1a1a;
}
.cat-filters-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.cat-filters-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cat-filters-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cat-filters-group-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.cat-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-filters-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-filters-item:hover {
  border-color: var(--color-cta);
}
.cat-filters-item.is-active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #ffffff;
  font-weight: 600;
}
.cat-filters-item.is-active::before {
  content: "✓";
  font-size: 12px;
  margin-right: 2px;
}

.cat-filters-list-empty {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-size: 13px;
}

.cat-filters-date-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
}
.cat-filters-date-label[hidden] {
  display: none !important;
}
.cat-filters-date-label input[type="date"] {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-sm, 6px);
  font: inherit;
  font-size: 14px;
  max-width: 240px;
}

.cat-filters-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
}
.cat-filters-reset {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 12px;
}
.cat-filters-reset:hover { color: #1a1a1a; }
.cat-filters-apply {
  padding: var(--cta-pad-md);
  background: var(--color-cta);
  color: #ffffff;
  border: 0;
  border-radius: var(--cta-radius);
  font-size: var(--cta-font-md);
  font-weight: var(--cta-weight);
  letter-spacing: var(--cta-letter-spacing);
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--cta-transition);
}
.cat-filters-apply:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

/* Sur desktop, la section "Catégorie" dans l'overlay est masquée
   (les chips famille sont déjà visibles dans le hero) */
.cat-filters-group-family { display: none; }

@media (max-width: 640px) {
  .cat-filters-overlay {
    width: 100%;
  }
  .cat-filters-header,
  .cat-filters-body,
  .cat-filters-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Mobile : on ne garde que le chip "Filtres" dans le hero ;
     les chips famille passent dans l'overlay */
  .cat-hero-chips > .hero-chip:not(.hero-chip-more) {
    display: none;
  }
  .cat-hero-chips {
    justify-content: center;
  }
  .hero-chip-more {
    width: 100%;
    justify-content: center;
  }
  .cat-filters-group-family { display: block; }
}


