/* ==========================================================================
   Monoola — prototype stylesheet
   Plain CSS, no build step. Organised by: reset -> tokens -> base type ->
   layout helpers -> components (header, hero, cards, footer, forms, ...).

   Visual language takes cues from premium hospitality sites (e.g. Grecotel):
   restrained full-bleed imagery, a header that goes transparent-over-image
   then solid on scroll, uppercase tracked labels/nav, borderless editorial
   cards (image -> label -> title -> copy -> plain text link), tight photo
   grid gutters but generous section whitespace, and a single solid button
   reserved for the one primary action per page (everything else is a plain
   text link) — reapplied within Monoola's own navy/red palette and copy.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --color-navy: #132841;
  --color-navy-dark: #0d1c30;
  --color-navy-mid: #2c4a70;
  --color-red: #f1614d;
  --color-red-dark: #d8503e;
  --color-ivory: #f7f4ef;
  --color-stone: #eae6dd;
  --color-white: #ffffff;

  --text-navy: var(--color-navy);
  --text-muted: rgba(19, 40, 65, 0.7);
  --text-faint: rgba(19, 40, 65, 0.5);
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.7);

  --border-subtle: rgba(19, 40, 65, 0.1);
  --border-subtle-dark: rgba(255, 255, 255, 0.15);

  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container-width: 1180px;
  --header-height: 4.5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-md: 0 12px 30px -12px rgba(19, 40, 65, 0.25);
  --shadow-lg: 0 24px 48px -20px rgba(19, 40, 65, 0.35);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-navy);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; color: var(--text-navy); line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 4.5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { color: var(--text-muted); }
strong { font-weight: 600; color: var(--text-navy); }

.visually-hidden {
  position: absolute; 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; left: 1rem; top: -3rem; background: var(--color-navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: 200; transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
/* Horizontal padding lives only on .container. Classes below are commonly combined with
   .container on the same element (e.g. the header bar, the footer wrapper) — they must only ever
   set padding-top/padding-bottom, never the `padding` shorthand, or they'll silently zero out
   .container's left/right padding (the shorthand resets all four sides). */
.container { max-width: var(--container-width); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section { padding-top: 6rem; padding-bottom: 6rem; }
.section--tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section--tinted { background: var(--color-ivory); }
.section--dark { background: var(--color-navy); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.section-header { max-width: 40rem; margin-bottom: 2.75rem; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-red); margin-bottom: 0.75rem;
}
.section--dark .eyebrow { color: var(--text-on-dark-muted); }
.eyebrow a:hover { text-decoration: underline; }
.section-header h2 { margin-top: 0.25rem; }
.section-header p { margin-top: 1rem; font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.grid--tight { gap: 0.65rem; }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .section{ padding-top: 2rem;}
  .grid--3{ grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}

.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem;
  border: 1px solid transparent; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-red); color: #fff; }
.btn--primary:hover { background: var(--color-red-dark); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline-dark { border-color: var(--border-subtle); color: var(--text-navy); }
.btn--outline-dark:hover { border-color: var(--color-navy); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Plain text links carry most CTAs — buttons are reserved for the single
   primary action on a page (final CTA, hero primary, submit). */
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 500; color: var(--text-navy); }
.text-link:hover { color: var(--color-red); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: rgba(255, 255, 255, 0.7); }
.text-link-inline { text-decoration: underline; text-decoration-color: var(--border-subtle); text-underline-offset: 2px; }
.text-link-inline:hover { color: var(--color-red); text-decoration-color: currentColor; }
.link-accent { color: var(--color-red); font-weight: 500; }
.link-accent:hover { color: var(--color-red-dark); }
.link-underline { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-subtle); }
.link-underline:hover { color: var(--color-red); }

/* Small uppercase tracked label, used for nav items and card eyebrows alike. */
.label-tracked { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Placeholder media (stand-in for real photography) ---------- */
.gradient-v0 { background: linear-gradient(135deg, #132841, #1f3d63); }
.gradient-v1 { background: linear-gradient(135deg, #1c3a5e, #c9502f); }
.gradient-v2 { background: linear-gradient(135deg, #132841, #2c4a70 55%, #c9502f); }
.gradient-v3 { background: linear-gradient(135deg, #0d1c30, #3a5a82); }
.gradient-v4 { background: linear-gradient(135deg, #f1614d, #132841); }
.gradient-v5 { background: linear-gradient(135deg, #2c4a70, #f1614d); }

.placeholder-media {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--color-navy); color: #fff; min-height: 100px; transition: transform 0.5s ease;
}
.placeholder-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 60%);
}
.placeholder-media span {
  position: relative; z-index: 1; padding: 1rem; font-size: 0.8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.placeholder-media--ratio-square { aspect-ratio: 1 / 1; }
.placeholder-media--ratio-landscape { aspect-ratio: 4 / 3; }
.placeholder-media--ratio-portrait { aspect-ratio: 3 / 4; }
.placeholder-media--ratio-wide { aspect-ratio: 16 / 9; }
.placeholder-media--hover:hover { transform: scale(1.02); }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-header__logo { display: flex; align-items: center; }
.logo-mark { display: flex; align-items: center; gap: 0.45rem; }
.logo-mark__icon { height: 24px; width: auto; }
.logo-mark__word { height: 19px; width: auto; }
.site-header__logo .logo-white { display: none; }
.primary-nav { display: none; align-items: center; gap: 2.25rem; }
.primary-nav__link {
  font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.primary-nav__link:hover { color: var(--color-red); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  display: none; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
  border-radius: 999px; color: var(--text-navy); transition: color 0.2s ease, background-color 0.2s ease;
}
.icon-btn:hover { background: rgba(19, 40, 65, 0.06); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-sm); border: none; background: transparent; color: var(--text-navy);
}
.header-actions__cta { display: none; }

/* Overlay header: used on pages that open with a full-bleed hero (home,
   category landing pages). Starts transparent with white text/logo over the
   image, then flips to the normal solid header once scrolled — see the
   `.is-scrolled` class toggled by main.js. Pages without a hero never get
   `data-header-mode="overlay"` on <body>, so they keep the plain solid
   header above with zero extra behaviour. */
body[data-header-mode="overlay"] .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
}
body[data-header-mode="overlay"] .site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 28, 48, 0.55), transparent);
}
body[data-header-mode="overlay"] .site-header .logo-navy { display: none; }
body[data-header-mode="overlay"] .site-header .logo-white { display: flex; }
body[data-header-mode="overlay"] .primary-nav__link,
body[data-header-mode="overlay"] .mega-trigger,
body[data-header-mode="overlay"] .icon-btn,
body[data-header-mode="overlay"] .nav-toggle,
body[data-header-mode="overlay"] .locale-selector__trigger {
  color: #fff;
}
body[data-header-mode="overlay"] .locale-selector__trigger { border-color: rgba(255, 255, 255, 0.5); background: transparent; }

body[data-header-mode="overlay"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--border-subtle);
}
body[data-header-mode="overlay"] .site-header.is-scrolled::before { content: none; }
body[data-header-mode="overlay"] .site-header.is-scrolled .logo-navy { display: flex; }
body[data-header-mode="overlay"] .site-header.is-scrolled .logo-white { display: none; }
body[data-header-mode="overlay"] .site-header.is-scrolled .primary-nav__link,
body[data-header-mode="overlay"] .site-header.is-scrolled .mega-trigger,
body[data-header-mode="overlay"] .site-header.is-scrolled .icon-btn,
body[data-header-mode="overlay"] .site-header.is-scrolled .nav-toggle,
body[data-header-mode="overlay"] .site-header.is-scrolled .locale-selector__trigger {
  color: var(--text-navy);
}
body[data-header-mode="overlay"] .site-header.is-scrolled .locale-selector__trigger {
  border-color: var(--border-subtle); background: #fff;
}

.mobile-nav__locale-group { display: flex; flex-direction: column; gap: 0.6rem; }
.mobile-nav__locale { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 0.75rem 1rem; }
.mobile-nav__locale summary { font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.mobile-nav__locale ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav__locale li { font-size: 0.85rem; color: var(--text-faint); display: flex; justify-content: space-between; }

.has-mega { position: relative; }
.mega-trigger {
  display: flex; align-items: center; gap: 0.35rem; background: none; border: none; font-family: inherit;
  font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-navy); padding: 0; transition: color 0.2s ease;
}
.mega-trigger:hover { color: var(--color-red); }
.mega-panel {
  display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 1rem; width: 620px; z-index: 50;
}
.has-mega.is-open .mega-panel,
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel { display: block; }
.mega-panel__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 2rem;
}
.mega-panel__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.mega-panel__list { display: flex; flex-direction: column; gap: 0.75rem; }
.mega-panel__list a:hover { color: var(--color-red); }

@media (min-width: 1024px) {
  .primary-nav { display: flex; }
  .icon-btn { display: inline-flex; }
  .header-actions__cta { display: inline-flex !important; }
  .nav-toggle { display: none; }
  .locale-selector-group { display: flex !important; }
}

/* ---------- Locale selector (country / language / currency, each its own dropdown) ---------- */
.locale-selector-group { display: none; align-items: center; gap: 0.4rem; }
.locale-selector { position: relative; }
.locale-selector__trigger {
  display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em; background: #fff; transition: border-color 0.2s ease, color 0.2s ease;
}
.locale-selector__trigger:hover { border-color: var(--color-navy); }
.locale-selector__panel {
  display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem; width: 12rem; z-index: 50;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 0.5rem;
}
.locale-selector.is-open .locale-selector__panel { display: block; }
.locale-selector__option {
  display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.85rem; background: none; border: none;
}
.locale-selector__option:hover:not(:disabled) { background: var(--color-ivory); }
.locale-selector__option:disabled { color: var(--text-faint); cursor: not-allowed; }
.locale-selector__badge { font-size: 0.7rem; color: var(--text-faint); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 100; background: #fff; flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav__body { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
.mobile-nav__link { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.mobile-nav__group { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav__group a { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 500; }
.mobile-nav__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.mobile-nav__footer { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--border-subtle); padding-top: 1.5rem; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-dark) 50%, var(--color-navy-mid));
  min-height: 92vh; padding: 8rem 0 4.5rem; background-repeat: no-repeat; background-size: cover; background-position: center top;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,.3)
}
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__layout { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 3rem; width: 100%; }
.hero__content { max-width: 34rem; text-shadow: 0 2px 12px rgba(13,28,48,0.55); }
.hero__actions .btn { text-shadow: none; }
.hero__eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1rem; display: block;}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.05rem; max-width: 28rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }

/* Faux gift card in the hero's second column: a bordered "glass" panel (no solid fill, so the
   hero video keeps showing through) whose experience name cycles on a timer — see
   initHeroGiftCard() in home-page.js. Hidden below 900px rather than stacked, same call as the
   hero video/other decorative-only flourishes: the hero is already tall on mobile with just the
   text column. */
.hero-gift-card {
  flex: 0 0 350px; width: 350px; padding: 2.5rem 2.5rem;
  border: 3px solid rgba(255, 255, 255, 0.85); border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: #fff; text-shadow: 0 2px 12px rgba(13,28,48,0.55);
}
.hero-gift-card__icon { width: 26px; height: 26px; }
.hero-gift-card__label { font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); margin-bottom: .5rem; }
.hero-gift-card__name {
  font-size: 2rem!important; font-weight: 600; line-height: 1.25; min-height: 2.5em;
  transition: opacity 0.4s ease;
}
.hero-gift-card__name.is-fading { opacity: 0; }
@media (max-width: 900px) { 
  .hero-gift-card{ flex: 0 0 200px; }
  .hero__layout{  flex-direction: column; }
  /* .hero-gift-card { display: none; }  */
}

/* Image-only hero: no overlaid copy, just full-bleed imagery with a short
   top gradient for header legibility. Used on category landing pages —
   the heading/description sit in a plain section immediately below,
   editorial-style, rather than stamped over the photo. */
.hero--image-only {
  min-height: 66vh; padding: 0; align-items: stretch;
  background-size: cover; background-position: center;
}
.hero--image-only::before { background: linear-gradient(to bottom, rgba(13,28,48,0.5), transparent 45%); }

/* ---------- Category grid (real photography) ---------- */
.category-card { display: flex; flex-direction: column; gap: 0.75rem; }
.category-card__label { font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; }
.category-card:hover .category-card__label { color: var(--color-red); }

.category-media { position: relative; overflow: hidden; background: var(--color-navy); }
.category-media--ratio-portrait { aspect-ratio: 3 / 4; }
.category-media--ratio-landscape { aspect-ratio: 4 / 3; }
.category-media--ratio-wide { aspect-ratio: 16 / 9; }
.category-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.category-media--hover:hover img { transform: scale(1.04); }

/* ---------- Experience cards (image, label, title, copy, button — white card on a border-radius) ---------- */
/* The whole card is one <a> (stretched-link pattern, same idea as .category-card) so the entire
   tile is clickable, not just the media thumbnail or the "Choose this Monoola Card" button. */
.experience-card { display: flex; flex-direction: column; background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; padding: 1rem;}
.experience-card:hover .category-media img { transform: scale(1.04); }
.experience-card__media { display: block; overflow: hidden; border-radius: var(--radius-md); }
.experience-card__body { padding: 1.1rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.experience-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.experience-card__category { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); }
.badge { font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(241, 97, 77, 0.12); color: var(--color-red); }
.experience-card__title { font-size: 1.15rem; }
/* Truncated to 3 lines + ellipsis in JS (render.js's clampCardDescriptions()), not CSS
   line-clamp — that held inconsistently once a neighbouring card's title wrapped to 2 lines.
   overflow: hidden stays as a harmless no-JS fallback (hard-clips instead of ellipsis). */
.experience-card__desc { font-size: 0.9rem; color: var(--text-muted); flex: 1; overflow: hidden; }
.experience-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.35rem; }
.experience-card__price { font-size: 0.85rem; font-weight: 700; color: var(--text-navy); }
.experience-card__cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--text-navy); color: #fff; font-size: 0.85rem; font-weight: 700;
  transition: background-color 0.2s ease;
}
.experience-card:hover .experience-card__cta { background: var(--color-navy-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step { border-top: 1px solid var(--border-subtle); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.section--dark .step { border-top-color: var(--border-subtle-dark); }
.step__number { font-weight: 600; color: var(--color-red); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why Monoola feature list ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.feature-list__item { border-top: 1px solid var(--border-subtle-dark); padding-top: 1.25rem; }
.feature-list__item h3 { margin-bottom: 0.4rem; }
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Brand moment ---------- */
.brand-moment { text-align: center; padding: 6.5rem 1.5rem; }
.brand-moment p { max-width: 40rem; margin: 0 auto; font-size: clamp(1.5rem, 2vw + 1rem, 2.35rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text-navy); }

/* ---------- Search ---------- */
.search-section { max-width: 42rem; margin: 0 auto; text-align: center; }
.search-form { margin-top: 2rem; }
.search-input {
  width: 100%; padding: 1.1rem 1.5rem; border-radius: 999px; border: 1px solid var(--border-subtle);
  font-size: 1rem; background: #fff; box-shadow: var(--shadow-md);
}
.search-input:focus { outline: none; border-color: var(--color-red); }
.search-results {
  margin-top: 1rem; text-align: left; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; display: none;
}
.search-results.is-visible { display: block; }
.search-result { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border-subtle); font-size: 0.9rem; }
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--color-ivory); }
.search-result__sub { color: var(--text-faint); }
.search-empty { margin-top: 1rem; font-size: 0.9rem; color: var(--text-faint); display: none; }
.search-empty.is-visible { display: block; }

/* ---------- Card presentation ---------- */
.card-presentation__item { display: flex; flex-direction: column; gap: 1.25rem; }
.card-presentation__price { color: var(--color-red); font-weight: 600; margin-top: 0.25rem; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 40rem; margin: 0 auto 2rem; }
.final-cta__signature { margin-top: 2.5rem; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-subtle); background: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.footer-col__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--color-red); }
.footer-brand-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle); margin-top: 3.5rem; padding-top: 2rem;
}
.footer-brand-row .logo-mark__icon { height: 21px; }
.footer-brand-row .logo-mark__word { height: 17px; }
.footer-tagline { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.75rem; color: var(--text-faint); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
  max-width: 720px; margin: 0 auto; background: var(--color-navy); color: #fff;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 1.5rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-banner__prefs { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle-dark); gap: 0.75rem; flex-direction: column; }
.cookie-banner__prefs.is-visible { display: flex; }
.cookie-toggle { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }

/* ---------- Accordion (FAQs) ---------- */
.accordion-group { margin-bottom: 3rem; }
.accordion-group__title { margin-bottom: 1rem; }
.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; background: none; border: none; text-align: left; font-size: 1rem; font-weight: 500; color: var(--text-navy);
}
.accordion-icon { flex-shrink: 0; transition: transform 0.2s ease; }
.accordion-item.is-open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { display: none; padding-bottom: 1.25rem; max-width: 42rem; }
.accordion-item.is-open .accordion-panel { display: block; }

/* ---------- Forms ---------- */
.form { max-width: 36rem; }
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.85rem; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: #fff; font-size: 0.95rem;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-red); }
.form-textarea { min-height: 8rem; resize: vertical; }
.form-error { font-size: 0.8rem; color: var(--color-red-dark); display: none; }
.form-field.has-error .form-input,
.form-field.has-error .form-textarea,
.form-field.has-error .form-select { border-color: var(--color-red-dark); }
.form-field.has-error .form-error { display: block; }
.form-success {
  display: none; background: rgba(19, 40, 65, 0.06); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 1.25rem; margin-top: 1.5rem;
}
.form-success.is-visible { display: block; }

/* ---------- Product page ---------- */
.value-selector { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.value-chip {
  padding: 0.65rem 1.25rem; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 0.9rem; font-weight: 500; background: #fff;
}
.value-chip.is-selected { border-color: var(--color-navy); background: var(--color-navy); color: #fff; }
.value-chip--custom { display: flex; align-items: center; gap: 0.4rem; }
.value-chip--custom input { width: 5rem; border: none; background: transparent; font: inherit; }
.card-type-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card-type-option {
  text-align: left; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.25rem; background: #fff;
}
.card-type-option.is-selected { border-color: var(--color-navy); box-shadow: 0 0 0 1px var(--color-navy); }
.card-type-option__title { font-weight: 600; margin-bottom: 0.25rem; }
.card-type-option__fee { color: var(--color-red); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.card-type-option__desc { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 600px) { .card-type-options { grid-template-columns: 1fr; } }

.order-summary { background: var(--color-ivory); border-radius: var(--radius-md); padding: 1.5rem; }
.order-summary__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.95rem; padding: 0.4rem 0; }
.order-summary__row--total { border-top: 1px solid var(--border-subtle); margin-top: 0.5rem; padding-top: 0.75rem; font-weight: 600; font-size: 1.05rem; }

.product-layout {
  display: grid; grid-template-columns: 600px 0.9fr; gap: 3rem; align-items: start;
  grid-template-areas: "about aside" "popular aside" "whereused aside" "how aside" "notincluded aside" "faqs aside" "related aside";
}
.product-layout__about { grid-area: about; }
.product-layout__popular { grid-area: popular; }
.product-layout__whereused { grid-area: whereused; }
.product-layout__how { grid-area: how; }
.product-layout__notincluded { grid-area: notincluded; }
.product-layout__faqs { grid-area: faqs; }
.product-layout__related { grid-area: related; }
.product-layout__aside { grid-area: aside; }
.product-layout__section { margin-bottom: 2.5rem; }
.product-layout__section:last-child { margin-bottom: 0; }
/* Only the purchase controls (digital/physical, order summary, CTA) stick — not the whole
   aside — so the taller About/Where-used accordions and gift-value chips above scroll away
   normally instead of a tall sticky card needing more viewport height than it has.
   .product-layout__aside is a plain (invisible) positioning shell now, not the visible card —
   see .product-layout__aside-card below. On desktop it stretches to fill its whole grid-area
   (which spans every row top-to-bottom, since "aside" repeats in every grid-template-areas row
   above), even though its own content is much shorter than the main column.
   That extra height is NOT cosmetic — it's what .product-layout__aside-sticky needs to actually
   stick at all: a sticky element flush against its own parent's bottom (which is what it'd be
   if the shell were only as tall as its content, as .product-layout__aside-card is) has zero
   room to detach from normal flow, so it would never visibly stick regardless of the sticky
   rule. margin-top: auto below pushes it into that extra space, right up against the shell's
   (now genuinely taller) bottom edge, which is what gives it somewhere to be "held" while
   scrolling. */
.product-layout__aside { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.75rem; }
@media (min-width: 901px) { .product-layout__aside { align-self: stretch; } }
.product-layout__aside-sticky {  margin-top: 0.5rem; }
@media (min-width: 901px) {
  .product-layout__aside-sticky { top: 6.1rem; position: sticky; }
}
.product-hero-intro{ padding-bottom: 1.5rem; }
.product-hero-intro + section{ padding-top: 2rem; }
.product-hero-intro, .product-hero-intro + section{ position: relative; z-index: 1; background: var(--color-white);}
.product-hero-intro .container {
  padding-top: 1rem;
  z-index: 1;
}
@media (max-width: 900px) {
  /* Single column: falls back to source order (About, gift selector — with the About/Where-used
     accordions duplicated inside it for quick reference, Where this card can be used, How it
     works, What's not included, FAQs, Related experiences). */
  .product-layout { grid-template-columns: 1fr; grid-template-areas: none; gap: 1rem; }
  .product-layout__about,
  .product-layout__popular,
  .product-layout__whereused,
  .product-layout__how,
  .product-layout__notincluded,
  .product-layout__faqs,
  .product-layout__related,
  .product-layout__aside { grid-area: auto; }
  .product-hero-intro, .product-hero-intro + section{ padding-top: 1.5rem; padding-bottom: 2rem;}
  .product-layout__popular{     width: calc(100vw - 2rem); overflow: hidden;  }
}

/* ---------- Product page: "Popular places to spend" logo carousel ---------- */
/* Swiper (see extraHead in build.js's productPage()) handles the looping/autoplay/overflow
   clipping itself via its own .swiper/.swiper-wrapper/.swiper-slide core styles — this block is
   only the card visuals plus the fixed slide width Swiper's `slidesPerView: "auto"` reads.
   Swiper's own CSS sets `.swiper-slide { width: 100% }` and, since its <link> is injected after
   style.css in <head> (see extraHead), would win a plain `.logo-card` rule on source order alone
   — every rule here is scoped through the `.logo-carousel` ancestor so it wins on specificity
   instead, regardless of link order. */
.logo-carousel { margin-top: 1.5rem; }
.logo-carousel .logo-card {
  width: 180px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--color-white);
  padding: 1rem 0.75rem; height: auto;
}
.logo-carousel .logo-card__mark {
  flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; font-weight: 600;
  font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.2; color: var(--text-navy);
}
.logo-carousel .logo-card__name { font-weight: 700; font-size: 0.85rem; color: var(--text-navy); }
.logo-carousel .logo-card__name{ display: none;}

/* ---------- Product page: full-width hero banner ---------- */
/* Sits outside .container (and outside any .section) so it spans the full viewport width, not
   just the 1180px content column. Fixed (not max-) height so object-fit: cover always produces
   a centred crop, rather than the height sometimes being governed by the image's own aspect
   ratio and sometimes by the cap — 400px above 500px wide, 300px at/under it. */
.product-hero-media { width: 100%; height: 400px; overflow: hidden; position: sticky; top: 88px; }
.product-hero-media .category-media { width: 100%; height: 100%; aspect-ratio: unset; }
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 500px) { .product-hero-media, .product-hero-media .category-media { height: 300px; } .product-hero-media{ top: 72px; }}

/* ---------- Product page: aside title, social proof ---------- */
.product-aside-title { font-size: 1.35rem; margin-bottom: 1.25rem; }
.social-proof { font-size: 0.82rem; color: var(--text-faint); }

/* Where the About/Where-used accordions sit inside the narrower aside (rather than the full
   content column), tighten what were full-width layouts so they read as sidebar detail, not a
   cramped copy of the main-column version. */
.product-layout__aside .accordion-item:first-of-type { border-top: 1px solid var(--border-subtle); }
.product-layout__aside .accordion-trigger { font-size: 0.92rem; padding: 1rem 0; }
.product-layout__aside .venue-list { grid-template-columns: 1fr; }
.product-layout__aside .venue-map { height: 12rem; }

/* ---------- Product page: where this card can be used ---------- */
.venue-map { width: 100%; height: 20rem; border-radius: var(--radius-md); overflow: hidden; margin-top: 1.25rem; background: var(--color-ivory); }
.venue-map__caption { margin-top: 0.5rem; font-size: 0.78rem; color: var(--text-faint); }
.venue-search-bar { position: relative; }
.venue-search {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  background: #fff; font-size: 0.95rem;
}
.venue-search:focus { outline: none; border-color: var(--color-red); }
.venue-empty { margin-top: 1rem; font-size: 0.9rem; color: var(--text-faint); }
.view-places-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--text-navy);
  background: transparent; color: var(--text-navy); font-weight: 500; font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.view-places-toggle:hover { background: var(--text-navy); color: #fff; }
.accordion-count { color: var(--text-faint); font-weight: 400; }
.accordion-panel--venues { max-width: none; }
.venue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1.5rem; }
.venue-list__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.88rem;
}
.venue-list__item[hidden] { display: none; }
.venue-list__name { font-weight: 500; }
.venue-list__area { color: var(--text-faint); font-size: 0.8rem; text-align: right; white-space: nowrap; }
@media (max-width: 560px) {
  .venue-list { grid-template-columns: 1fr; }
  .venue-list__item { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .venue-list__area { text-align: left; }
}

/* ---------- Product page: what's not included ---------- */
.not-included-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; max-width: 42rem; }
.not-included-list li { font-size: 0.92rem; color: var(--text-muted); padding-left: 1.1rem; position: relative; }
.not-included-list li::before { content: "\2013"; position: absolute; left: 0; color: var(--text-faint); }

/* Related experiences: always 2 up (even on narrow phones), with a generous gap between the
   pair — deliberately wider than .grid--tight's photo-wall gutters so the two cards read as
   clearly separate tiles rather than a continuous strip. */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 1rem;}
@media (max-width: 560px) { .related-grid { gap: .5rem; } }
/* Desktop only: a soft hover backdrop under the whole card, bleeding slightly into the gap
   either side. Padding + an equal negative margin keeps the image/text at their original size
   and position — only the hover hit area grows. */
@media (min-width: 561px) {
  .related-grid .experience-card {
    padding: 1rem; margin: -0.75rem; border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
  }
  .related-grid .experience-card:hover { background: var(--color-ivory); }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-size: 0.8rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--color-ivory); color: var(--text-muted); transition: background-color 0.15s ease, color 0.15s ease; }
a.tag:hover { background: var(--color-navy); color: #fff; }

/* ---------- Modal ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(13, 28, 48, 0.55);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.is-visible { display: flex; }
.modal { background: #fff; border-radius: var(--radius-md); max-width: 26rem; width: 100%; padding: 2rem; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 1rem; right: 1rem; }
.modal h3 { margin-bottom: 0.75rem; }
.modal p { margin-bottom: 1.5rem; }

/* ---------- Filters (browse page) ---------- */
.filters-bar { display: flex; align-items: flex-start; gap: 2rem; }
.filters-panel { width: 15rem; flex-shrink: 0; display: flex; flex-direction: column; gap: 2rem; }
.filter-group__title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.75rem; }
.filter-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.9rem; }
.results-panel { flex: 1; min-width: 0; }
/* Same two-column split as .filters-bar below it (fixed 15rem left column, flexible right
   column, same gap) so the toolbar's columns line up with the filters/results panels. */
.results-toolbar { display: flex; align-items: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.results-toolbar__left { width: 15rem; flex-shrink: 0; display: flex; align-items: center; gap: 1rem; }
.results-count { font-size: 0.9rem; color: var(--text-muted); }
/* No min-width: 0 here on purpose — this needs to wrap onto its own row on narrow screens
   (its default content-based min-width forces that) rather than getting crushed next to the
   fixed-width .results-toolbar__left column, which min-width: 0 would otherwise allow. */
.results-toolbar__controls { flex: 1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between;}
.results-search { width: 16rem; max-width: 100%; }
/* Also doubles as a dismiss control: stays above the full-screen .filters-panel via position +
   z-index, rather than being covered by it like a plain static-positioned button would be, so
   tapping it again closes the drawer too (in addition to the explicit .filters-close button). */
.filters-toggle { display: inline-flex; align-items: center; gap: 0.5rem; position: relative; z-index: 1; }
@media (min-width: 900px) { .filters-toggle { display: none; } }
/* The drawer only exists as an overlay below 900px (see .filters-panel below) — desktop shows
   the filters panel inline with nothing to dismiss, so the close button stays hidden there. */
.filters-close { display: none; }
@media (max-width: 899px) {
  .filters-bar { flex-direction: column; }
  .filters-panel {
    display: none; width: 100%; position: fixed; inset: 0; z-index: 120; background: #fff;
    padding: 1.5rem; overflow-y: auto;
  }
  .filters-close { display: inline-flex; align-self: flex-start; }
  .filters-panel.is-open { display: flex; }
  .results-search{ width: 100%; }
  .results-toolbar__controls{ justify-content: flex-end }
  .results-toolbar__left{
    width: 100%;
    justify-content: space-between;
  }
}
.no-results { padding: 3rem 0; text-align: center; color: var(--text-muted); }

/* ---------- Utility spacing ---------- */
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.75rem; } .mb-2 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.max-w-prose { max-width: 42rem; }

section.gift-page-intro{ padding-bottom: 0; }
@media (max-width: 560px){
  .experience-card{ padding: .5rem; }
  .experience-card__footer{ flex-direction: column; justify-content: center; }
}