/* ==========================================================================
   Reusable components
   ========================================================================== */

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}

.section--sand {
  background: var(--c-sand-50);
}

.section--grey {
  background: var(--c-grey);
}

.section--navy {
  background: var(--c-navy);
  color: var(--c-ivory);
}

.section--white {
  background: var(--c-white);
}

.grid {
  display: grid;
  gap: var(--s-6);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.stack > * + * {
  margin-top: var(--s-4);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--r-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: var(--s-4);
}

.icon {
  display: inline-block;
  vertical-align: -0.2em;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-teal);
}



.eyebrow--light {
  color: var(--c-sand);
}

.display {
  font-size: var(--fs-3xl);
}

.lead {
  font-size: var(--fs-md);
  color: var(--c-muted);
  max-width: 62ch;
}

.muted {
  color: var(--c-muted);
}

.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }

.serif-italic {
  font-style: normal;
}

.prose {
  max-width: 70ch;
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
}

.prose > * + * {
  margin-top: var(--s-5);
}

.prose h2 {
  font-size: var(--fs-2xl);
  color: var(--c-ink);
  margin-top: var(--s-12);
}

.prose h3 {
  font-size: var(--fs-xl);
  color: var(--c-ink);
  margin-top: var(--s-8);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--s-2);
}

.prose a {
  color: var(--c-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  border-left: 3px solid var(--c-sand);
  padding: var(--s-2) 0 var(--s-2) var(--s-6);
  font-size: var(--fs-lg);
  color: var(--c-ink);
}

.prose figure img {
  border-radius: var(--r-md);
}

.prose figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.link {
  color: var(--c-teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.link:hover {
  color: var(--c-teal-700);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}

.link-arrow .icon {
  transition: transform var(--t-base) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Section heading ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-8);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head__text {
  max-width: 680px;
}

.section-head h2 {
  font-size: var(--fs-3xl);
  margin-top: var(--s-3);
}

.section-head p {
  margin-top: var(--s-4);
  color: var(--c-muted);
  font-size: var(--fs-md);
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head--center .section-head__text {
  margin-inline: auto;
}

.section--navy .section-head p {
  color: rgba(247, 248, 245, 0.75);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--c-navy);
  --btn-fg: var(--c-white);
  --btn-bd: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
    transform var(--t-fast), box-shadow var(--t-base);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.btn--primary {
  --btn-bg: var(--c-teal);
}

.btn--primary:hover {
  --btn-bg: var(--c-teal-600);
}

.btn--dark:hover {
  --btn-bg: var(--c-navy-800);
}

.btn--sand {
  --btn-bg: var(--c-sand);
  --btn-fg: var(--c-navy);
}

.btn--sand:hover {
  --btn-bg: #e2c48e;
}

.btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-navy);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--c-navy);
  --btn-bd: var(--c-line-strong);
}

.btn--outline:hover {
  --btn-bd: var(--c-navy);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: var(--c-white);
  --btn-bd: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.22);
}

.btn--text {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: transparent;
  padding-inline: var(--s-2);
}

.btn--text:hover {
  box-shadow: none;
  color: var(--c-teal);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 2rem;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: inherit;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.icon-btn:hover {
  background: rgba(20, 45, 58, 0.07);
}

.icon-btn--surface {
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: var(--sh-sm);
}

.icon-btn--surface:hover {
  background: var(--c-white);
  transform: scale(1.06);
}

.icon-btn .count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: var(--r-pill);
  background: var(--c-sand);
  color: var(--c-navy);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.icon-btn .count:empty,
.icon-btn .count[data-count="0"] {
  display: none;
}

/* Wishlist heart */
.heart-btn {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-navy);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(6px);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}

.heart-btn:hover {
  transform: scale(1.08);
}

.heart-btn .icon {
  width: 20px;
  height: 20px;
  transition: fill var(--t-fast), stroke var(--t-fast);
}

.heart-btn[aria-pressed="true"] {
  color: #d64545;
}

.heart-btn[aria-pressed="true"] .icon {
  fill: currentColor;
}

.heart-btn.is-pop {
  animation: heart-pop 420ms var(--ease-out);
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ---------- Badges, chips, tags ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  background: var(--c-teal-50);
  color: var(--c-teal-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.badge .icon {
  width: 14px;
  height: 14px;
}

.badge--sand { background: var(--c-sand-100); color: #6b4f1d; }
.badge--navy { background: var(--c-navy); color: var(--c-white); }
.badge--light { background: rgba(255, 255, 255, 0.92); color: var(--c-navy); backdrop-filter: blur(6px); }
.badge--success { background: var(--c-success-50); color: var(--c-success); }
.badge--warning { background: var(--c-warning-50); color: var(--c-warning); }
.badge--danger { background: var(--c-danger-50); color: var(--c-danger); }
.badge--outline { background: transparent; border: 1px solid var(--c-line-strong); color: var(--c-ink-soft); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.chip:hover {
  border-color: var(--c-navy);
}

.chip[aria-pressed="true"],
.chip[aria-selected="true"],
.chip.is-active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.chip-row--scroll::-webkit-scrollbar {
  display: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-xs);
  background: var(--c-grey);
  color: var(--c-ink-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ---------- Rating ---------- */

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.rating .icon {
  width: 16px;
  height: 16px;
  color: var(--c-sand-600);
}

.rating__count {
  color: var(--c-muted);
  font-weight: 500;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-sand-600);
}

.stars .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Price ---------- */

.price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.price__from {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}

.price__amount {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 750;
  font-stretch: 88%;
  color: var(--c-ink);
}

.price__unit {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform var(--t-base) var(--ease), background var(--t-base),
    border-color var(--t-base), color var(--t-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Transparent variant over full-bleed hero */
.has-hero .site-header {
  position: fixed;
  inset-inline: 0;
}

.has-hero .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--c-white);
}

.has-hero .site-header:not(.is-scrolled) .logo__mark {
  background: var(--c-white);
  color: var(--c-navy);
}

.has-hero .site-header:not(.is-scrolled) .nav__link::after {
  background: var(--c-sand);
}

.has-hero .site-header:not(.is-scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.has-hero .site-header:not(.is-scrolled) .currency-select {
  border-color: rgba(255, 255, 255, 0.4);
}

.has-hero .site-header:not(.is-scrolled) .btn--header {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--c-navy);
  color: var(--c-sand);
  transition: background var(--t-base), color var(--t-base);
}

.logo__mark .icon {
  width: 22px;
  height: 22px;
}

.logo__text small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: -2px;
}

.nav {
  margin-inline: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
  padding: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: opacity var(--t-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.currency-select {
  height: 38px;
  padding: 0 1.8rem 0 0.75rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  font-size: var(--fs-xs);
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.currency-select option {
  color: var(--c-navy);
}

.btn--header {
  margin-left: var(--s-2);
}

.menu-toggle {
  display: none;
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
}

.nav-drawer.is-open {
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
  opacity: 0;
  transition: opacity var(--t-base);
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--c-ivory);
  color: var(--c-navy);
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
  overflow-y: auto;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--gutter);
  border-bottom: 1px solid var(--c-line);
}

.nav-drawer__list {
  list-style: none;
  padding: var(--s-4) var(--gutter);
}

.nav-drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: var(--fs-xl);
}

.nav-drawer__list a[aria-current="page"] {
  color: var(--c-teal);
}

.nav-drawer__foot {
  margin-top: auto;
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6) var(--gutter) var(--s-8);
  background: var(--c-white);
}

/* ---------- Search overlay ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  background: rgba(247, 248, 245, 0.98);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 8vh, 6rem) var(--gutter) var(--s-8);
  overflow-y: auto;
}

.search-overlay__close {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
}

.search-overlay__field {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  border-bottom: 2px solid var(--c-navy);
  padding-bottom: var(--s-3);
}

.search-overlay__field .icon {
  width: 28px;
  height: 28px;
  color: var(--c-muted);
}

.search-overlay__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--f-display);
  font-size: var(--fs-2xl);
  outline: none;
}

.search-overlay__results {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-2);
}

.quick-result {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-2);
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.quick-result:hover,
.quick-result:focus-visible {
  background: var(--c-white);
}

.quick-result img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.quick-result__title {
  font-weight: 700;
}

.quick-result__meta {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ---------- Search panel (hero + search page) ---------- */

.search-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr 0.9fr 0.9fr auto;
  align-items: stretch;
  gap: 0;
  padding: var(--s-2);
  border-radius: var(--r-lg);
  background: var(--c-white);
  box-shadow: var(--sh-lg);
  color: var(--c-ink);
}

.search-panel .field {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.search-panel .field + .field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--c-line);
}

.search-panel .field:hover,
.search-panel .field:focus-within {
  background: var(--c-ivory);
}

.search-panel .field:focus-within::before,
.search-panel .field:hover::before,
.search-panel .field:hover + .field::before,
.search-panel .field:focus-within + .field::before {
  opacity: 0;
}

.search-panel .field-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
}

.search-panel .field-label .icon {
  width: 14px;
  height: 14px;
  color: var(--c-teal);
}

.search-panel input,
.search-panel select,
.search-panel .field-trigger {
  display: block;
  width: 100%;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  outline: none;
  appearance: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-panel input[type="text"] {
  cursor: text;
}

.search-panel input::placeholder {
  color: var(--c-muted);
}

.search-panel input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

.search-panel__submit {
  align-self: center;
  margin-left: var(--s-2);
  min-height: 60px;
  padding-inline: 1.75rem;
  border-radius: var(--r-md);
}

.search-panel .field-error {
  position: absolute;
  left: 1rem;
  top: calc(100% + 8px);
  z-index: 5;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-xs);
  background: var(--c-danger);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--sh-sm);
}

.search-panel .field-error::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  border: 5px solid transparent;
  border-top: 0;
  border-bottom-color: var(--c-danger);
}

/* Autocomplete + popovers */
.popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 100%;
  width: max-content;
  max-width: min(380px, 90vw);
  padding: var(--s-2);
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-line);
  animation: pop-in 180ms var(--ease-out);
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.suggest-list {
  list-style: none;
  padding: 0;
  max-height: 340px;
  overflow-y: auto;
}

.suggest-list__label {
  padding: var(--s-2) var(--s-3) var(--s-1);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-width: 280px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  text-align: left;
  cursor: pointer;
}

.suggest-item img {
  width: 44px;
  height: 44px;
  border-radius: var(--r-xs);
  object-fit: cover;
}

.suggest-item strong {
  display: block;
  font-size: var(--fs-sm);
}

.suggest-item span {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.suggest-item:hover,
.suggest-item[aria-selected="true"] {
  background: var(--c-teal-50);
}

.suggest-item mark {
  background: none;
  color: var(--c-teal);
  font-weight: 800;
}

.travellers-pop {
  right: 0;
  left: auto;
  min-width: 300px;
  padding: var(--s-4);
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
}

.stepper-row + .stepper-row {
  border-top: 1px solid var(--c-line);
}

.stepper-row strong {
  display: block;
  font-size: var(--fs-sm);
}

.stepper-row span {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 50%;
  transition: border-color var(--t-fast), opacity var(--t-fast);
}

.stepper button:hover {
  border-color: var(--c-navy);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper output {
  min-width: 1.5ch;
  text-align: center;
  font-weight: 700;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.card--elevated {
  border: 1px solid var(--c-line);
}

.card--elevated:hover {
  border-color: var(--c-line-strong);
  box-shadow: var(--sh-md);
}

.card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-grey);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-6) var(--s-6);
}

.card__title {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
}

.card__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}

.card__badges {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  max-width: calc(100% - 70px);
}

/* Destination card — tall editorial image with overlaid text */
.card-dest {
  aspect-ratio: 9 / 11;
  color: var(--c-white);
  background: var(--c-navy);
}

.card-dest .card__media {
  position: absolute;
  inset: 0;
}

.card-dest .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 34, 0) 28%, rgba(10, 26, 34, 0.4) 52%, rgba(10, 26, 34, 0.9) 100%);
}

.card-dest .card__body {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 12px rgba(10, 26, 34, 0.35);
  justify-content: flex-end;
  padding: var(--s-6);
  gap: var(--s-2);
}

.card-dest .card__title {
  font-size: var(--fs-2xl);
}

.card-dest .card__eyebrow {
  color: var(--c-sand);
}

.card-dest .card__text {
  color: rgba(255, 255, 255, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-base);
}

.card-dest:hover .card__text,
.card-dest:focus-within .card__text {
  max-height: 6em;
  opacity: 1;
}

.card-dest__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: var(--fs-sm);
}

.card-dest__meta > span:first-child {
  min-width: 0;
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.card-dest__meta > span:last-child {
  white-space: nowrap;
}

.card-dest__meta strong {
  font-family: var(--f-display);
  font-size: var(--fs-md);
}

.card-dest--wide {
  aspect-ratio: auto;
  min-height: 100%;
}

/* Trip card */
.card-trip .card__media {
  aspect-ratio: 4 / 3;
}

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  list-style: none;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.trip-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trip-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
}

.included-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
}

.included-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-success);
}

.included-row .icon {
  width: 14px;
  height: 14px;
}

.compare-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-ink-soft);
  cursor: pointer;
}

.compare-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-teal);
  cursor: pointer;
}

/* List view variant */
.is-list .card-trip,
.is-list .card-dest-row {
  flex-direction: row;
}

.is-list .card-trip .card__media {
  width: 38%;
  aspect-ratio: auto;
  min-height: 260px;
}

/* Destination row card (list view of destinations) */
.card-dest-row .card__media {
  aspect-ratio: 4 / 3;
}

.is-list .card-dest-row .card__media {
  width: 38%;
  aspect-ratio: auto;
  min-height: 240px;
}

/* Experience card */
.card-exp .card__media {
  aspect-ratio: 4 / 5;
}

.card-exp .card__body {
  gap: var(--s-2);
}

.exp-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-3);
  list-style: none;
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
}

.exp-facts li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.exp-facts .icon {
  width: 14px;
  height: 14px;
  color: var(--c-teal);
}

/* Guide / article card */
.card-guide {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.card-guide .card__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
}

.card-guide .card__body {
  padding: var(--s-5) 0 0;
}

.card-guide .card__title {
  font-size: var(--fs-xl);
  transition: color var(--t-fast);
}

.card-guide:hover .card__title {
  color: var(--c-teal);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.byline .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

/* Category card (Explore by style) */
.card-cat {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  color: var(--c-white);
}

.card-cat .card__media {
  position: absolute;
  inset: 0;
}

.card-cat .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 34, 0.05) 30%, rgba(10, 26, 34, 0.8));
  transition: background var(--t-base);
}

.card-cat .card__body {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  padding: var(--s-6);
  gap: var(--s-1);
}

.card-cat .card__title {
  font-size: var(--fs-xl);
}

.card-cat .card__text {
  color: rgba(255, 255, 255, 0.82);
}

.card-cat__count {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-sand);
}

/* Review card */
.card-review {
  padding: var(--s-8);
  border: 1px solid var(--c-line);
  background: var(--c-white);
  gap: var(--s-5);
}

.card-review blockquote {
  font-size: var(--fs-md);
  line-height: 1.55;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
}

.reviewer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer strong {
  display: block;
  font-size: var(--fs-sm);
}

.reviewer span {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Feature / info tile */
.tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-8);
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c-teal-50);
  color: var(--c-teal);
}

.tile__icon .icon {
  width: 24px;
  height: 24px;
}

.tile h3 {
  font-size: var(--fs-lg);
}

.tile p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.section--navy .tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--navy .tile p {
  color: rgba(247, 248, 245, 0.72);
}

.section--navy .tile__icon {
  background: rgba(216, 183, 122, 0.14);
  color: var(--c-sand);
}

/* ---------- Carousel / scroller ---------- */

.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: var(--s-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-bottom: var(--s-4);
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-strong) transparent;
}

.scroller > * {
  scroll-snap-align: start;
}

.scroller--4 {
  grid-auto-columns: calc((100% - var(--s-6) * 3) / 4);
}

.scroller-nav {
  display: flex;
  gap: var(--s-2);
}

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 700;
}

.form-label .req {
  color: var(--c-danger);
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: var(--c-white);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.select {
  padding-right: 2.5rem;
  appearance: none;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23142D3A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
  cursor: pointer;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--c-navy-700);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(36, 124, 120, 0.15);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--c-danger);
  background-color: #fffafa;
}

.error-msg {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-danger);
}

.error-msg .icon {
  width: 14px;
  height: 14px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--c-teal);
  cursor: pointer;
}

.check__count {
  margin-left: auto;
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.radio-cards {
  display: grid;
  gap: var(--s-3);
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-md);
  background: var(--c-white);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.radio-card:hover {
  border-color: var(--c-navy-700);
}

.radio-card input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--c-teal);
}

.radio-card:has(input:checked) {
  border-color: var(--c-teal);
  background: var(--c-teal-50);
  box-shadow: 0 0 0 1px var(--c-teal);
}

.radio-card:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.radio-card__body {
  flex: 1;
}

.radio-card__body strong {
  display: block;
}

.radio-card__body span {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.radio-card__price {
  font-weight: 800;
  white-space: nowrap;
}

.range-wrap {
  display: grid;
  gap: var(--s-2);
}

.range {
  width: 100%;
  accent-color: var(--c-teal);
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.form-alert {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--c-danger-50);
  color: var(--c-danger);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.form-alert--success {
  background: var(--c-success-50);
  color: var(--c-success);
}

/* ---------- Notice / callout ---------- */

.notice {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--c-sand-50);
  border: 1px solid var(--c-sand-100);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.notice .icon {
  margin-top: 2px;
  color: var(--c-sand-600);
}

.notice--info {
  background: var(--c-teal-50);
  border-color: var(--c-teal-100);
}

.notice--info .icon {
  color: var(--c-teal);
}

.notice strong {
  color: var(--c-ink);
}

/* ---------- Accordion ---------- */

.accordion {
  border-top: 1px solid var(--c-line);
}

.accordion__item {
  border-bottom: 1px solid var(--c-line);
}

.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 64px;
  padding: var(--s-4) 0;
  font-weight: 700;
  font-size: var(--fs-md);
  list-style: none;
  cursor: pointer;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-grey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23142D3A' stroke-width='2.2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center;
  transition: transform var(--t-base) var(--ease), background-color var(--t-fast);
}

.accordion__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--c-sand-100);
}

.accordion__item summary:hover {
  color: var(--c-teal);
}

.accordion__content {
  padding: 0 0 var(--s-6);
  color: var(--c-ink-soft);
  max-width: 75ch;
}

.accordion__content > * + * {
  margin-top: var(--s-3);
}

/* ---------- Tabs ---------- */

.tabs {
  display: flex;
  gap: var(--s-1);
  padding: var(--s-1);
  border-radius: var(--r-sm);
  background: var(--c-grey);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink-soft);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.tab:hover {
  color: var(--c-ink);
}

.tab[aria-selected="true"] {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: var(--sh-sm);
}

.tab-panel {
  animation: fade-up 400ms var(--ease-out);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--s-2);
  opacity: 0.5;
}

.breadcrumbs a:hover {
  color: var(--c-teal);
}

.breadcrumbs [aria-current] {
  color: var(--c-ink);
  font-weight: 600;
}

.page-hero--image .breadcrumbs ol {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero--image .breadcrumbs [aria-current] {
  color: var(--c-white);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.page-hero h1 {
  font-size: var(--fs-3xl);
  margin-top: var(--s-4);
  max-width: 18ch;
}

.page-hero p {
  margin-top: var(--s-4);
}

.page-hero--image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 52vh, 560px);
  padding-block: var(--s-12);
  color: var(--c-white);
  isolation: isolate;
}

.page-hero--image .page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero--image .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--image .page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 34, 0.35), rgba(10, 26, 34, 0.15) 40%, rgba(10, 26, 34, 0.78));
}

.page-hero--image .lead {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero--image .eyebrow {
  color: var(--c-sand);
}

/* ---------- Toolbar (results count / sort / view) ---------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.toolbar__count {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.toolbar__count strong {
  color: var(--c-ink);
  font-size: var(--fs-md);
}

.toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.toolbar .select {
  min-height: 44px;
  width: auto;
  padding-block: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--r-sm);
}

.view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: var(--c-white);
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-ink-soft);
}

.view-toggle button[aria-pressed="true"] {
  background: var(--c-navy);
  color: var(--c-white);
}

.view-toggle .icon {
  width: 16px;
  height: 16px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.active-filters:empty {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.25rem 0.5rem 0.25rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--c-teal-50);
  color: var(--c-teal-700);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.filter-pill .icon {
  width: 14px;
  height: 14px;
}

.filter-pill:hover {
  background: var(--c-teal-100);
}

/* ---------- Filters sidebar / drawer ---------- */

.listing {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + var(--s-4));
  max-height: calc(100vh - var(--header-h) - var(--s-8));
  overflow-y: auto;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  scrollbar-width: thin;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-2);
}

.filters__head h2 {
  font-size: var(--fs-lg);
}

.filter-group {
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--c-line);
}

.filter-group:last-of-type {
  border-bottom: 0;
}

.filter-group legend,
.filter-group__title {
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--c-ink);
}

.filter-group .check + .check {
  margin-top: var(--s-3);
}

.filter-group .chip-row .chip {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-xs);
}

.filters__mobile-head,
.filters__mobile-foot,
.filters-open {
  display: none;
}

/* ---------- Empty state ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-16) var(--s-6);
  border: 1.5px dashed var(--c-line-strong);
  border-radius: var(--r-lg);
  text-align: center;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-sand-100);
  color: var(--c-sand-600);
}

.empty-state__icon .icon {
  width: 32px;
  height: 32px;
}

.empty-state h3 {
  font-size: var(--fs-xl);
}

.empty-state p {
  max-width: 46ch;
  color: var(--c-muted);
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--s-4);
  visibility: hidden;
}

.modal.is-open {
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
  opacity: 0;
  transition: opacity var(--t-base);
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: var(--r-lg);
  background: var(--c-white);
  box-shadow: var(--sh-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity var(--t-base), transform var(--t-base) var(--ease-out);
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: none;
}

.modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}

.modal__head h2 {
  font-size: var(--fs-xl);
}

.modal__body {
  padding: var(--s-6);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(8, 18, 24, 0.96);
  color: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 var(--s-16);
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox__nav--prev { left: var(--s-4); }
.lightbox__nav--next { right: var(--s-4); }

.lightbox__caption {
  padding: var(--s-4);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Toast ---------- */

.toast-region {
  position: fixed;
  left: 50%;
  bottom: var(--s-6);
  z-index: var(--z-toast);
  display: grid;
  gap: var(--s-2);
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4) var(--s-3) var(--s-5);
  border-radius: var(--r-sm);
  background: var(--c-navy);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sh-lg);
  animation: toast-in 320ms var(--ease-out);
}

.toast a {
  color: var(--c-sand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast.is-leaving {
  animation: toast-out 240ms var(--ease) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* ---------- Compare bar ---------- */

.compare-bar {
  position: fixed;
  left: 50%;
  bottom: var(--s-4);
  z-index: calc(var(--z-header) - 1);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: min(760px, calc(100% - 2rem));
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-navy);
  color: var(--c-white);
  box-shadow: var(--sh-lg);
  transform: translate(-50%, 150%);
  visibility: hidden;
  transition: transform var(--t-base) var(--ease-out), visibility var(--t-base);
}

.compare-bar.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

.compare-bar__thumbs {
  display: flex;
  gap: var(--s-2);
  flex: 1;
  min-width: 0;
}

.compare-bar__thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
}

.compare-bar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-bar__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  min-width: 640px;
  font-size: var(--fs-sm);
}

.compare-table th,
.compare-table td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  vertical-align: bottom;
}

.compare-table tbody th {
  width: 160px;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--c-muted);
}

.compare-table__trip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-3);
}

.compare-table__trip h3 {
  font-size: var(--fs-md);
}

.compare-table ul {
  padding-left: 1rem;
}

.is-best {
  color: var(--c-success);
  font-weight: 800;
}

/* ---------- Steps / progress ---------- */

.steps {
  display: flex;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  flex: 1;
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
}

.steps li::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  background: var(--c-line);
  transition: background var(--t-base);
}

.steps li span::before {
  content: counter(step) ". ";
}

.steps li.is-done,
.steps li[aria-current="step"] {
  color: var(--c-ink);
}

.steps li.is-done::before,
.steps li[aria-current="step"]::before {
  background: var(--c-teal);
}

/* ---------- Key facts / definition rows ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-4);
  list-style: none;
  padding: 0;
}

.fact {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.fact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-teal-50);
  color: var(--c-teal);
}

.fact__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
}

.fact__value {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: var(--s-3);
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.check-list .icon {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.check-list--yes .icon { color: var(--c-success); }
.check-list--no .icon { color: var(--c-danger); }

.price-lines {
  display: grid;
  gap: var(--s-3);
  font-size: var(--fs-sm);
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
}

.price-line span:first-child {
  color: var(--c-ink-soft);
}

.price-line--total {
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-md);
  font-weight: 800;
}

.price-line--total span:first-child {
  color: var(--c-ink);
}

.price-line--muted {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

/* ---------- Newsletter ---------- */

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-12);
  align-items: center;
  padding: clamp(2rem, 1rem + 5vw, 5rem);
  border-radius: var(--r-xl);
  background: var(--c-navy);
  color: var(--c-ivory);
  overflow: hidden;
  isolation: isolate;
}

.newsletter__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
}

.newsletter__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-navy) 30%, rgba(20, 45, 58, 0.4));
}

.newsletter h2 {
  font-size: var(--fs-3xl);
  margin-top: var(--s-3);
}

.newsletter p {
  margin-top: var(--s-4);
  color: rgba(247, 248, 245, 0.78);
}

.newsletter-form {
  display: grid;
  gap: var(--s-3);
}

.newsletter-form__row {
  display: flex;
  gap: var(--s-2);
  padding: var(--s-2);
  border-radius: var(--r-sm);
  background: var(--c-white);
}

.newsletter-form__row input {
  flex: 1;
  min-width: 0;
  padding-inline: var(--s-4);
  border: 0;
  background: transparent;
  color: var(--c-navy);
  outline: none;
}

.newsletter-form .form-hint {
  color: rgba(247, 248, 245, 0.65);
}

.newsletter-form .error-msg {
  color: #ffb4ab;
}

.newsletter-form .chip-row .chip {
  background: transparent;
  color: var(--c-ivory);
  border-color: rgba(255, 255, 255, 0.3);
  min-height: 36px;
  font-size: var(--fs-xs);
}

.newsletter-form .chip-row .chip[aria-pressed="true"] {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-navy);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-navy);
  color: rgba(247, 248, 245, 0.78);
  padding-top: var(--s-20);
  font-size: var(--fs-sm);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-10);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .logo {
  color: var(--c-white);
}

.site-footer .logo__mark {
  background: var(--c-sand);
  color: var(--c-navy);
}

.footer-about p {
  margin-top: var(--s-5);
  max-width: 36ch;
}

.footer-col h3 {
  margin-bottom: var(--s-4);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-white);
}

.footer-col ul {
  display: grid;
  gap: var(--s-3);
  list-style: none;
  padding: 0;
}

.footer-col a {
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--c-white);
}

.footer-contact {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.footer-contact .icon {
  color: var(--c-sand);
  width: 18px;
  height: 18px;
}

.socials {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-6);
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.socials a:hover {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-navy);
}

.socials .icon {
  width: 18px;
  height: 18px;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  padding-block: var(--s-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer-trust__item .icon {
  width: 22px;
  height: 22px;
  color: var(--c-sand);
}

.footer-trust__item strong {
  display: block;
  color: var(--c-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-6);
  font-size: var(--fs-xs);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
}

.footer-bottom a:hover {
  color: var(--c-white);
}

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(216, 183, 122, 0.14);
  color: var(--c-sand);
  font-weight: 700;
}

.demo-note .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Skeleton image placeholder while loading */
.img-fade {
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.img-fade.is-loaded {
  opacity: 1;
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
}

.chip:has(input) {
  cursor: pointer;
}

.fact > div {
  min-width: 0;
}

.fact__label,
.fact__value {
  overflow-wrap: anywhere;
}

/* Trip card text (plain, operator-style) */
.trip-facts {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.trip-incl {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.5;
}

.trip-incl strong {
  color: var(--c-ink);
  font-weight: 600;
}

.badge--flag {
  border-radius: var(--r-xs);
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 600;
}

.card__title {
  font-weight: 750;
  font-stretch: 90%;
}

/* ==========================================================================
   Custom dropdown
   ========================================================================== */

.dd {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.dd--block {
  display: block;
  width: 100%;
}

.dd__native {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  pointer-events: none;
}

.dd__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  text-align: left;
  cursor: pointer;
}

.dd__btn .dd__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dd__btn[data-invalid] {
  border-color: var(--c-danger);
}

.dd.is-open .dd__btn.select,
.dd.is-open .dd__btn.currency-select {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(36, 124, 120, 0.15);
}

.dd__pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: var(--z-dropdown);
  min-width: max(100%, 200px);
  max-width: min(420px, calc(100vw - 2rem));
  padding: var(--s-1);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: var(--sh-lg);
  animation: pop-in 140ms var(--ease-out);
}

.dd__pop--right {
  left: auto;
  right: 0;
}

.dd__pop--up {
  top: auto;
  bottom: calc(100% + 6px);
}

.dd__search {
  position: relative;
  margin: var(--s-1) var(--s-1) var(--s-2);
}

.dd__search .icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--c-muted);
}

.dd__search input {
  width: 100%;
  min-height: 40px;
  padding: 0.4rem 0.75rem 0.4rem 2.1rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  outline: none;
}

.dd__search input:focus {
  border-color: var(--c-teal);
}

.dd__list {
  max-height: min(320px, 50vh);
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
  outline: none;
}

.dd__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.dd__opt .icon {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
}

.dd__opt[aria-selected="true"] {
  font-weight: 700;
}

.dd__opt.is-active {
  background: var(--c-teal-50);
}

.dd__opt[aria-disabled="true"] {
  color: var(--c-muted);
  opacity: 0.55;
  cursor: not-allowed;
}

.dd__group {
  padding: var(--s-3) 0.75rem var(--s-1);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
}

.dd__empty {
  padding: var(--s-3) 0.75rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* Phones: options slide up as a bottom sheet */
.dd__pop--sheet {
  position: fixed;
  z-index: var(--z-modal);
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  min-width: 0;
  padding: var(--s-3) var(--s-3) calc(var(--s-4) + env(safe-area-inset-bottom));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 0;
  animation: sheet-up 220ms var(--ease-out);
}

.dd__pop--sheet .dd__list {
  max-height: 60vh;
}

.dd__pop--sheet .dd__opt {
  min-height: 48px;
  font-size: var(--fs-base);
}

body.dd-sheet-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: var(--c-overlay);
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: none; }
}

/* Search bar fields keep their borderless look */
.search-panel .dd__btn {
  width: 100%;
  min-height: 28px;
  padding: 0 1.25rem 0 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235a6b72' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
}

.currency-select.dd__btn {
  height: 38px;
}

/* ==========================================================================
   Calendar
   ========================================================================== */

.cal {
  position: relative;
}

.cal__months {
  display: grid;
  gap: var(--s-8);
}

.cal--2 .cal__months {
  grid-template-columns: 1fr 1fr;
}

.cal__title {
  margin-bottom: var(--s-3);
  font-family: var(--f-display);
  font-weight: 700;
  text-align: center;
  line-height: 40px;
}

.cal__nav {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
}

.cal__nav--prev { left: 0; }
.cal__nav--next { right: 0; }

.cal__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.cal__dow {
  padding-bottom: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
  text-align: center;
}

.cal__day {
  position: relative;
  height: 40px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
  transition: background var(--t-fast);
}

.cal__day:hover:not(:disabled) {
  background: var(--c-grey);
}

.cal__day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}

.cal__day.is-in-range {
  border-radius: 0;
  background: var(--c-teal-50);
}

.cal__day.is-start,
.cal__day.is-end,
.cal__day.is-preview-end {
  background: var(--c-navy);
  color: var(--c-white);
}

.cal__day.is-preview-end {
  background: var(--c-navy-700);
}

.cal__day.is-off {
  color: var(--c-line-strong);
  text-decoration: line-through;
  text-decoration-color: transparent;
  cursor: not-allowed;
}

.cal__day:focus-visible {
  outline-offset: 0;
  z-index: 1;
}

/* Search bar date range popover */
.field-placeholder {
  color: var(--c-muted);
  font-weight: 400;
}

.date-pop {
  left: 50%;
  min-width: 0;
  width: min(680px, calc(100vw - 2rem));
  max-width: none;
  padding: var(--s-6);
  transform: translateX(-50%);
  animation: none;
}

.date-pop__summary {
  margin-bottom: var(--s-4);
  font-weight: 600;
  text-align: center;
}

.date-pop__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}

.date-pop__flex {
  display: grid;
  gap: var(--s-2);
}

.date-pop__flex .chip {
  min-height: 36px;
  padding: 0.3rem 0.8rem;
  font-size: var(--fs-xs);
}

.date-pop__actions {
  display: flex;
  gap: var(--s-2);
}

@media (max-width: 640px) {
  .date-pop {
    position: fixed;
    z-index: var(--z-modal);
    max-width: none !important;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 92vh;
    overflow-y: auto;
    padding: var(--s-5) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: none;
    animation: sheet-up 220ms var(--ease-out);
  }

  body.date-sheet-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) - 1);
    background: var(--c-overlay);
  }

  .search-panel .field--date {
    grid-column: span 1;
  }
}

.exp-next {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-1);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-success);
}

.exp-next .icon {
  width: 16px;
  height: 16px;
}
