/* ============================================================
   NORTHERN ERA — Aurora | Bright Tropical Premium (single-page)
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; } /* keep aspect ratio when width shrinks (mobile stretch fix) */
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[class], ol[class] { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  /* Primitives */
  --ink-900: #16121f;
  --ink-700: #322b42;
  --ink-500: #5c5470;
  --cream-50: #fffdf8;
  --cream-100: #fdf7ec;
  --cream-200: #faefdb;
  --gold-400: #ffc93c;
  --gold-500: #f5a623;
  --gold-600: #e08e00;
  --coral-400: #ff7e5f;
  --coral-500: #ff5e62;
  --guava-500: #ff4f8b;
  --lychee-300: #ffd9e8;
  --teal-400: #2dd4bf;
  --teal-600: #0d9488;
  --violet-500: #8b5cf6;

  /* Semantic */
  --color-bg: var(--cream-50);
  --color-surface: #ffffff;
  --color-surface-warm: var(--cream-100);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-primary: var(--coral-500);
  --color-primary-hover: #e8474b;
  --color-accent: var(--gold-500);
  --color-border: rgba(22, 18, 31, 0.1);

  --grad-tropic: linear-gradient(120deg, var(--gold-400) 0%, var(--coral-400) 30%, var(--guava-500) 60%, var(--violet-500) 100%);
  --grad-sunrise: linear-gradient(135deg, #ffe29f 0%, #ffa99f 48%, #ff719a 100%);
  --grad-lagoon: linear-gradient(135deg, var(--teal-400) 0%, #38bdf8 100%);

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: clamp(2.75rem, 7vw, 5rem);

  /* Space */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem;
  --space-24: 6rem;

  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(22,18,31,.06);
  --shadow-md: 0 8px 24px rgba(22,18,31,.09);
  --shadow-lg: 0 24px 60px rgba(22,18,31,.14);
  --shadow-glow: 0 12px 40px rgba(255,94,98,.35);

  --header-h: 4.5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--space-6); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink-900); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--grad-tropic); z-index: 120;
}

/* ---------- Veteran top banner ---------- */
.topbar { background: var(--ink-900); color: var(--cream-100); }
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 6px var(--space-4);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .05em;
}
.topbar b { font-weight: 800; }
.topbar .topbar__star { color: var(--gold-400); }

/* ---------- Launch bar (dismissible) ---------- */
.launchbar { position: relative; background: var(--gold-400); color: var(--ink-900); }
.launchbar[hidden] { display: none; }
.launchbar__inner {
  max-width: 1160px; margin: 0 auto; padding: var(--space-2) var(--space-12);
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  flex-wrap: wrap; font-size: var(--text-sm); font-weight: 600; text-align: center;
}
.launchbar b { font-weight: 800; }
.launchbar__cta {
  background: var(--ink-900); color: #fff; border: none; border-radius: var(--radius-full);
  padding: 5px 14px; font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: opacity .2s;
}
.launchbar__cta:hover { opacity: .88; }
.launchbar__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink-900); font-size: 1.1rem;
  line-height: 1; cursor: pointer; opacity: .7; padding: 4px 8px;
}
.launchbar__close:hover { opacity: 1; }

/* ---------- Launch popup (email capture) ---------- */
.lp-overlay {
  position: fixed; inset: 0; background: rgba(22,18,31,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-6);
  z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.lp-overlay.is-open { opacity: 1; pointer-events: auto; }
.lp-modal {
  background: var(--cream-50); color: var(--color-text);
  max-width: 430px; width: 100%; border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8) var(--space-8); position: relative; text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(14px) scale(.98); transition: transform .28s ease;
  overflow: hidden;
}
.lp-modal::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--grad-tropic);
}
.lp-overlay.is-open .lp-modal { transform: translateY(0) scale(1); }
.lp-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.4rem; line-height: 1; color: var(--color-text); opacity: .5; cursor: pointer;
}
.lp-close:hover { opacity: .85; }
.lp-eyebrow {
  font-size: var(--text-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad-tropic); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--space-3);
}
.lp-modal h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; margin-bottom: var(--space-3); }
.lp-modal p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); line-height: 1.55; }
.lp-form { display: flex; flex-direction: column; gap: var(--space-3); }
.lp-form input[type=email] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); font-size: var(--text-base); background: #fff;
}
.lp-form input[type=email]:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
.lp-form button {
  width: 100%; padding: 13px 16px; background: var(--grad-tropic); color: #fff;
  border: none; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); cursor: pointer;
  box-shadow: var(--shadow-glow); transition: transform .2s, box-shadow .2s;
}
.lp-form button:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255,79,139,.4); }
.lp-decline {
  background: none; border: none; color: var(--color-text-muted);
  font-size: var(--text-xs); text-decoration: underline; cursor: pointer; margin-top: var(--space-4);
}
.lp-fine { font-size: 0.7rem; color: var(--ink-500); margin-top: var(--space-4); line-height: 1.5; }
.lp-success { display: none; }
.lp-success .lp-code {
  font-family: 'Courier New', monospace; font-size: 1.8rem; font-weight: 800; letter-spacing: 3px;
  background: var(--cream-100); border: 2px dashed var(--gold-500); border-radius: var(--radius-md);
  padding: 12px 0; margin: var(--space-2) 0 var(--space-1); color: var(--color-text);
}
.lp-modal.is-success .lp-form, .lp-modal.is-success .lp-decline, .lp-modal.is-success .lp-intro { display: none; }
.lp-modal.is-success .lp-success { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* blur lives on a pseudo-element: backdrop-filter directly on the header
   turns it into a containing block that traps the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }

.logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.logo img { width: 40px; height: 40px; border-radius: var(--radius-full); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: 0.06em; }
.logo__word em { font-style: normal; background: var(--grad-tropic); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav__list { display: flex; gap: var(--space-8); }
.nav__list a {
  text-decoration: none; color: var(--color-text-muted); font-weight: 500; font-size: var(--text-sm);
  padding: var(--space-2) 0; position: relative; transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-tropic); border-radius: 2px; transition: width .25s ease;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--color-text); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
  padding: 0.85em 1.8em; border-radius: var(--radius-full);
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s;
}
.btn--primary { background: var(--grad-tropic); background-size: 160% 160%; color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 50px rgba(255,79,139,.4); background-position: 80% 50%; }
.btn--ghost { background: transparent; color: var(--color-text); border: 2px solid var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--cream-50); transform: translateY(-2px); }
.btn--sm { font-size: var(--text-sm); padding: 0.65em 1.4em; }
.btn--dark { background: var(--ink-900); color: var(--cream-50); }
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink-900);
  margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: var(--space-16) 0 var(--space-24);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0) 40%, rgba(255,253,248,.85) 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-700);
  background: rgba(255,255,255,.7); border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.eyebrow::before { content: "★"; color: var(--gold-500); }

.hero__title { font-size: var(--text-5xl); font-weight: 800; margin: var(--space-6) 0 var(--space-4); }
.hero__title .grad {
  background: var(--grad-tropic); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero__lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 34rem; margin-bottom: var(--space-8); }
.hero__lede strong { color: var(--color-text); }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-12); }

.stats { display: flex; gap: var(--space-8); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); line-height: 1; }
.stat__num .unit { font-size: var(--text-lg); }
.stat__label { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.stat:nth-child(1) .stat__num { color: var(--coral-500); }
.stat:nth-child(2) .stat__num { color: var(--teal-600); }
.stat:nth-child(3) .stat__num { color: var(--gold-600); }

.hero__product { position: relative; display: grid; place-items: center; }
.hero__blob {
  position: absolute; width: 120%; aspect-ratio: 1; z-index: -1;
  background: var(--grad-sunrise); opacity: .55; filter: blur(60px);
  border-radius: 50%;
  animation: blobPulse 9s ease-in-out infinite;
}
@keyframes blobPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12) rotate(8deg); } }
.hero__img {
  width: min(420px, 85%); height: auto;
  filter: drop-shadow(0 40px 60px rgba(22,18,31,.28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }

.hero__badge {
  position: absolute; top: 6%; right: 4%;
  background: #fff; border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  box-shadow: var(--shadow-md); rotate: 6deg;
}
.hero__badge--alt { top: auto; bottom: 10%; left: 0; right: auto; rotate: -5deg; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink-900); color: var(--cream-100);
  overflow: hidden; padding: var(--space-4) 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
@media (hover: hover) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
.marquee span {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg);
  white-space: nowrap; padding-inline: 0;
}
.marquee .star { color: var(--gold-400); margin: 0 0.9rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__img, .hero__blob, .hero__title .grad { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-24) 0; }
.section--warm { background: var(--color-surface-warm); }
.section--dark { background: var(--ink-900); color: var(--cream-100); }
.section__head { max-width: 44rem; margin-bottom: var(--space-16); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker {
  font-size: var(--text-sm); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad-tropic); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin-bottom: var(--space-3);
}
.section__title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: var(--space-4); }
.section__lede { font-size: var(--text-lg); color: var(--color-text-muted); }
.section--dark .section__lede { color: rgba(253,247,236,.72); }

/* ---------- Scroll-scrub taste layers (video-like) ---------- */
.scrub { position: relative; }
.scrub__sticky {
  position: sticky; top: var(--header-h);
  height: calc(100svh - var(--header-h));
  display: flex; align-items: center; overflow: clip;
}
.scrub__bg { position: absolute; inset: 0; transition: background 0.6s ease; z-index: 0; }
.scrub__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,.55), transparent 60%);
}
.scrub .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }

.scrub__dial { display: flex; flex-direction: column; gap: var(--space-4); }
.scrub__step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: rgba(22,18,31,.12);
}
.scrub__meter { display: flex; gap: var(--space-2); }
.scrub__meter i { height: 6px; flex: 1; background: rgba(22,18,31,.12); border-radius: 3px; overflow: hidden; position: relative; }
.scrub__meter i::after {
  content: ""; position: absolute; inset: 0; background: var(--ink-900);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.scrub__meter i.on::after { transform: scaleX(1); }

.scrub__panels { position: relative; min-height: 16rem; }
.scrub__panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(40px) scale(.97);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.scrub__panel.on { opacity: 1; transform: none; pointer-events: auto; }
.scrub__acid {
  font-size: var(--text-sm); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-700); margin-bottom: var(--space-3);
}
.scrub__panel h3 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--space-4); }
.scrub__panel p { font-size: var(--text-lg); color: var(--ink-700); max-width: 30rem; }
.scrub__spacer { height: 320vh; margin-top: calc(-100svh + var(--header-h)); }

/* ---------- Acid strip (static, like live site — gradient edition) ---------- */
.acids { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.acid {
  position: relative; overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-xl); padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* gradient border + soft tint wash, per acid */
.acid--citric {
  background:
    linear-gradient(180deg, #ffffff 30%, #fff6dd 100%) padding-box,
    linear-gradient(135deg, var(--gold-400), var(--gold-600)) border-box;
}
.acid--malic {
  background:
    linear-gradient(180deg, #ffffff 30%, #ffe9e2 100%) padding-box,
    linear-gradient(135deg, var(--coral-400), var(--guava-500)) border-box;
}
.acid--lactic {
  background:
    linear-gradient(180deg, #ffffff 30%, #f3ecff 100%) padding-box,
    linear-gradient(135deg, var(--guava-500), var(--violet-500)) border-box;
}
.acid:hover { transform: translateY(-6px); }
.acid--citric:hover { box-shadow: 0 18px 44px rgba(245,166,35,.28); }
.acid--malic:hover { box-shadow: 0 18px 44px rgba(255,94,98,.28); }
.acid--lactic:hover { box-shadow: 0 18px 44px rgba(139,92,246,.28); }
/* shimmer sweep on hover */
.acid::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.acid:hover::after { animation: acidShimmer .9s ease; }
@keyframes acidShimmer { to { left: 130%; } }
.acid__num {
  font-size: var(--text-sm); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acid--citric .acid__num { background-image: linear-gradient(90deg, var(--gold-500), var(--gold-600)); }
.acid--malic .acid__num { background-image: linear-gradient(90deg, var(--coral-500), var(--guava-500)); }
.acid--lactic .acid__num { background-image: linear-gradient(90deg, var(--guava-500), var(--violet-500)); }
.acid__bar { height: 6px; border-radius: 3px; margin: var(--space-4) 0 var(--space-6); background-size: 200% auto; }
.acid--citric .acid__bar { background-image: linear-gradient(90deg, var(--gold-400), var(--gold-600), var(--gold-400)); }
.acid--malic .acid__bar { background-image: linear-gradient(90deg, var(--coral-400), var(--guava-500), var(--coral-400)); }
.acid--lactic .acid__bar { background-image: linear-gradient(90deg, var(--lychee-300), var(--violet-500), var(--lychee-300)); }
.acid:hover .acid__bar { animation: barFlow 2.2s linear infinite; }
@keyframes barFlow { to { background-position: 200% center; } }
.acid h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.acid p { color: var(--color-text-muted); }
@media (prefers-reduced-motion: reduce) {
  .acid:hover::after, .acid:hover .acid__bar { animation: none; }
}
.mix-line--center { justify-content: center; margin-top: var(--space-12); }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.card {
  background: var(--color-surface); border-radius: var(--radius-xl);
  padding: var(--space-8); box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: grid; place-items: center; font-size: var(--text-2xl);
  margin-bottom: var(--space-6); color: #fff;
}
.card__icon--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.card__icon--coral { background: linear-gradient(135deg, var(--coral-400), var(--guava-500)); }
.card__icon--teal { background: var(--grad-lagoon); }
.card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); }

/* ---------- Flavor wheel ---------- */
.flavors { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.flavor {
  font-family: var(--font-display); font-weight: 600;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-full);
  border: 2px solid transparent; background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s;
}
.flavor:hover { transform: translateY(-4px) rotate(-2deg); }
.flavor--pineapple { border-color: var(--gold-400); }
.flavor--lychee { border-color: var(--lychee-300); }
.flavor--guava { border-color: var(--guava-500); }
.flavor--pear { border-color: var(--teal-400); }
.flavor--vanilla { border-color: var(--cream-200); }

/* ---------- Bundles ---------- */
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); align-items: stretch; }
.bundle {
  position: relative; background: var(--color-surface);
  border-radius: var(--radius-xl); padding: var(--space-8);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bundle:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bundle--featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-tropic) border-box;
  box-shadow: var(--shadow-md);
}
.bundle__flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--grad-tropic); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: .1em; text-transform: uppercase;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}
.bundle h3 { font-size: var(--text-xl); }
.bundle__price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1; }
.bundle__meta { color: var(--color-text-muted); font-size: var(--text-sm); }
.bundle__list { display: flex; flex-direction: column; gap: var(--space-2); margin-block: var(--space-2); flex: 1; }
.bundle__list li { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--text-sm); }
.bundle__list li::before { content: "✓"; color: var(--teal-600); font-weight: 700; }
.bundle .btn { margin-top: auto; }

/* ---------- Ingredients table ---------- */
.label-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: start; }
.table-wrap {
  background: var(--color-surface); border-radius: var(--radius-xl);
  border: 1px solid var(--color-border); overflow: hidden; box-shadow: var(--shadow-sm);
}
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap caption {
  text-align: left; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg);
  padding: var(--space-6) var(--space-6) var(--space-3);
}
.table-wrap th, .table-wrap td { padding: var(--space-3) var(--space-6); text-align: left; font-size: var(--text-sm); }
.table-wrap thead th {
  text-transform: uppercase; letter-spacing: .1em; font-size: var(--text-xs);
  color: var(--color-text-muted); border-bottom: 2px solid var(--color-border);
}
.table-wrap tbody tr:nth-child(odd) { background: var(--cream-100); }
.table-wrap td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.fineprint { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); }

.note-card {
  background: var(--color-surface); border-radius: var(--radius-xl);
  border: 1px solid var(--color-border); padding: var(--space-8);
  box-shadow: var(--shadow-sm); margin-bottom: var(--space-6);
}
.note-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-2); }
.note-card p { font-size: var(--text-sm); color: var(--ink-700); }
.note-card p + p { margin-top: var(--space-3); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
.story__media img {
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  rotate: -2deg; transition: rotate .4s ease;
  width: 100%; height: auto;
}
.story__media img:hover { rotate: 0deg; }
.story__media figcaption { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); text-align: center; }
.story__body p { font-size: var(--text-lg); color: var(--ink-700); margin-bottom: var(--space-6); max-width: 62ch; }
.story__body h2 { font-size: var(--text-2xl); margin: var(--space-12) 0 var(--space-4); }
.story__sign { font-family: var(--font-display); font-weight: 700; margin-top: var(--space-8); }
.story--compact .story__body p { font-size: var(--text-base); margin-bottom: var(--space-4); }
.story--compact .story__media { max-width: 22rem; }

.pull {
  border-left: 4px solid; border-image: var(--grad-tropic) 1;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600;
  background: var(--cream-100); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: var(--space-8);
}

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-4); }
.faq details {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(255,94,98,.35); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg);
  padding: var(--space-6); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: var(--text-2xl); line-height: 1; color: var(--coral-500);
  transition: rotate .3s ease; flex-shrink: 0;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq .faq__body { padding: 0 var(--space-6) var(--space-6); color: var(--ink-700); }
.faq .faq__body a { color: var(--coral-500); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; text-align: center; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__glow {
  position: absolute; inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,201,60,.5), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,79,139,.45), transparent 45%),
    radial-gradient(circle at 55% 20%, rgba(45,212,191,.35), transparent 40%);
  filter: blur(50px);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate(4%, -4%) rotate(4deg); } }
.cta-band__title { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: var(--space-4); }
.cta-band__lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 36rem; margin: 0 auto var(--space-8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(253,247,236,.72); padding: var(--space-16) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-12); margin-bottom: var(--space-16); }
.site-footer .logo { color: var(--cream-100); margin-bottom: var(--space-4); }
.footer-col h4 {
  color: var(--cream-100); font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a { color: rgba(253,247,236,.72); text-decoration: none; font-size: var(--text-sm); transition: color .2s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-legal { border-top: 1px solid rgba(253,247,236,.14); padding-top: var(--space-8); font-size: var(--text-xs); }
.footer-legal p + p { margin-top: var(--space-3); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; overflow: clip; padding: var(--space-24) 0 var(--space-16); }
.page-hero__glow {
  position: absolute; inset: -30% -10% auto; height: 140%;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,201,60,.4), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(255,79,139,.32), transparent 45%),
    radial-gradient(circle at 55% 90%, rgba(45,212,191,.3), transparent 40%);
  filter: blur(48px); z-index: -1;
}
.page-hero h1 { font-size: var(--text-5xl); font-weight: 800; margin: var(--space-4) 0; }

/* ---------- Legal / doc pages ---------- */
.doc { max-width: 46rem; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: var(--space-2); }
.doc .updated { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-8); }
.doc h2 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-3); }
.doc p { margin-bottom: var(--space-4); color: var(--ink-700); max-width: 65ch; }
.doc ul { margin: 0 0 var(--space-4) var(--space-6); color: var(--ink-700); }
.doc ul li { margin-bottom: var(--space-2); }
.doc a { color: var(--coral-500); font-weight: 600; }

/* ---------- Price row / mix line ---------- */
.price-row { display: flex; align-items: baseline; gap: var(--space-4); margin: var(--space-6) 0; }
.price-row .price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); }
.price-row .per { color: var(--color-text-muted); }
.mix-line {
  display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center;
  font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-8);
}
.mix-line .chip {
  background: #fff; border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); font-weight: 600; color: var(--ink-700);
}
.mix-line .arrow { color: var(--coral-500); font-weight: 700; }

/* ---------- Floating sticky order button ---------- */
.float-order {
  position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
  box-shadow: 0 16px 44px rgba(255,79,139,.45);
}
.float-order.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Mobile sticky buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none;
  align-items: center; justify-content: space-between; gap: var(--space-4);
  background: rgba(22, 18, 31, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream-100);
  padding: var(--space-3) var(--space-6);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .35s ease;
  box-shadow: 0 -8px 30px rgba(22,18,31,.25);
}
.buybar.show { transform: none; }
.buybar__info { display: flex; flex-direction: column; line-height: 1.35; }
.buybar__info strong { font-family: var(--font-display); font-size: var(--text-base); }
.buybar__info span { font-size: var(--text-xs); color: rgba(253,247,236,.7); }
.buybar .btn { flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__product { order: -1; }
  .hero__img { width: min(300px, 70%); }
  .scrub .container { grid-template-columns: 1fr; gap: var(--space-6); }
  .scrub__step-num { font-size: 4.5rem; }
  .label-grid, .story { grid-template-columns: 1fr; }
  .story__media { position: static; max-width: 26rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-header .nav {
    position: fixed; inset: 0; background: var(--cream-50);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
    z-index: 105;
  }
  .site-header .nav.open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; text-align: center; gap: var(--space-6); }
  .nav__list a { font-size: var(--text-2xl); font-family: var(--font-display); }
  .site-header .btn--order { display: none; }
  .stats { gap: var(--space-6); flex-wrap: wrap; }
  .section { padding: var(--space-16) 0; }
  .scrub__spacer { height: 260vh; }
  .launchbar__inner { padding-inline: var(--space-16); }
  .buybar { display: flex; }
  .float-order { display: none; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
/* --- carousel shell: arrows sit outside the track on desktop --- */
.rv-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.reviews-track {
  display: flex;
  gap: var(--space-6);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 4px 2px 8px;
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* old Edge */
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--violet-500); outline-offset: 4px; border-radius: var(--radius-lg); }

/* 3 up on desktop; the track is only scrollable once there are more than 3 */
.reviews-track > .review {
  flex: 0 0 calc((100% - 2 * var(--space-6)) / 3);
  scroll-snap-align: start;
}

/* --- arrows --- */
.rv-nav {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.rv-nav:hover:not(:disabled) { transform: scale(1.08); box-shadow: var(--shadow-md); }
.rv-nav:disabled { opacity: .3; cursor: default; }
.rv-nav[hidden] { display: none; }

/* --- dots --- */
.rv-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: var(--space-6);
}
.rv-dots[hidden] { display: none; }
.rv-dot {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: var(--radius-full);
  background: var(--color-border); cursor: pointer;
  transition: width .22s ease, background .22s ease;
}
.rv-dot.is-active { width: 26px; background: var(--color-primary); }

/* --- the standalone "leave a review" call to action --- */
.review-cta {
  text-align: center;
  margin-top: var(--space-8);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
}
.review-cta p {
  font-size: var(--text-sm); color: var(--color-text-muted);
  max-width: 46ch; margin: 0;
}

.review {
  position: relative;
  height: auto;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.review::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-tropic);
}

.review__stars {
  color: var(--gold-500);
  letter-spacing: 0.18em;
  font-size: var(--text-lg);
  line-height: 1;
  margin-bottom: var(--space-5, 1.25rem);
}

.review__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--color-text);
  font-weight: 600;
}

.review__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-6);
}

.review__avatar {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  background: var(--grad-sunrise);
}

.review__name {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.3;
}

.review__meta {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


@media (max-width: 600px) {
  .review { padding: var(--space-6); }
  .review__quote { font-size: var(--text-lg); }
}

/* ============================================================
   REVIEW POPUP (matches the launch popup's language)
   ============================================================ */
.rv-overlay {
  position: fixed; inset: 0; background: rgba(22,18,31,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-6);
  z-index: 1001; opacity: 0; pointer-events: none; transition: opacity .28s ease;
  overflow-y: auto;
}
.rv-overlay.is-open { opacity: 1; pointer-events: auto; }

.rv-modal {
  background: var(--cream-50); color: var(--color-text);
  max-width: 520px; width: 100%; border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8) var(--space-8);
  position: relative; text-align: left;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(14px) scale(.98); transition: transform .28s ease;
  overflow: hidden; margin: auto;
}
.rv-modal:focus { outline: none; }
.rv-modal::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--grad-tropic);
}
.rv-overlay.is-open .rv-modal { transform: translateY(0) scale(1); }

.rv-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.4rem; line-height: 1; color: var(--color-text); opacity: .5; cursor: pointer;
}
.rv-close:hover { opacity: .85; }

.rv-eyebrow {
  font-size: var(--text-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad-tropic); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--space-3);
}
.rv-modal h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  margin-bottom: var(--space-3);
}
.rv-lede { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; margin-bottom: var(--space-6); }

/* ---- form ---- */
.rv-form { display: flex; flex-direction: column; gap: var(--space-5, 1.25rem); }
.rv-field { display: flex; flex-direction: column; gap: 6px; border: none; padding: 0; margin: 0; }
.rv-field > label, .rv-field > legend {
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700); padding: 0;
}
.rv-req { color: var(--color-primary); }
.rv-opt { font-weight: 400; font-size: var(--text-xs); color: var(--color-text-muted); }

.rv-field input[type=text],
.rv-field input[type=email],
.rv-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); font-size: var(--text-base); background: #fff;
  font-family: var(--font-body); color: var(--color-text);
}
.rv-field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.rv-field input:focus, .rv-field textarea:focus {
  outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}

.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.rv-count { font-size: var(--text-xs); color: var(--color-text-muted); text-align: right; margin: 0; }

/* ---- stars ---- */
.rv-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv-stars label {
  font-size: 2rem; line-height: 1; cursor: pointer; color: var(--color-border);
  transition: color .12s ease, transform .12s ease; padding: 2px;
}
.rv-stars label:hover,
.rv-stars label:hover ~ label,
.rv-stars input:checked ~ label { color: var(--gold-500); }
.rv-stars label:hover { transform: scale(1.12); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--violet-500); outline-offset: 2px; border-radius: 4px; }
.rv-starword { font-size: var(--text-sm); color: var(--color-text-muted); margin: 4px 0 0; min-height: 1.3em; }
.rv-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- honeypot: off-screen, never display:none (bots skip those) ---- */
.rv-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.rv-error {
  margin: 0; padding: 10px 14px; border-radius: var(--radius-md);
  background: rgba(255,94,98,.10); border: 1px solid rgba(255,94,98,.35);
  color: #b3252a; font-size: var(--text-sm);
}

.rv-submit {
  width: 100%; padding: 14px 16px; background: var(--grad-tropic); color: #fff;
  border: none; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); cursor: pointer;
  box-shadow: var(--shadow-glow); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.rv-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255,79,139,.4); }
.rv-submit:disabled { opacity: .6; cursor: default; }

.rv-fine { font-size: 0.7rem; color: var(--ink-500); margin-top: var(--space-4); line-height: 1.5; }
.rv-fine a { color: var(--ink-500); }

/* ---- success state ---- */
.rv-success { display: none; text-align: center; }
.rv-decline {
  display: block; margin: var(--space-5, 1.25rem) auto 0; background: none; border: none;
  color: var(--color-text-muted); font-size: var(--text-xs); text-decoration: underline; cursor: pointer;
}
.rv-modal.is-success .rv-intro { display: none; }
.rv-modal.is-success .rv-success { display: block; }

/* ---- rating summary above the grid ---- */
.review-summary {
  text-align: center; font-size: var(--text-sm); color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.review-summary__stars { color: var(--gold-500); letter-spacing: .14em; font-size: var(--text-lg); }
.review-summary strong { color: var(--color-text); font-size: var(--text-lg); }

@media (max-width: 600px) {
  .rv-overlay { padding: var(--space-4); align-items: flex-start; }
  .rv-modal { padding: var(--space-12) var(--space-6) var(--space-6); margin: var(--space-4) auto; }
  .rv-row { grid-template-columns: 1fr; }
  .rv-stars label { font-size: 1.75rem; }
}

/* ---- carousel: responsive slide counts ---- */
@media (max-width: 1039px) {
  .reviews-track > .review { flex-basis: calc((100% - var(--space-6)) / 2); }
}
@media (max-width: 719px) {
  .reviews-track > .review { flex-basis: 100%; }
  .rv-carousel { gap: var(--space-2); }
  .rv-nav { width: 38px; height: 38px; font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { scroll-behavior: auto; }
  .rv-nav:hover:not(:disabled) { transform: none; }
}

/* ============================================================
   REVIEW SECTION STATES  (loading / ready / empty / error)
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#reviews [data-when] { display: none; }
#reviews[data-state="loading"] [data-when="loading"],
#reviews[data-state="ready"]   [data-when="ready"],
#reviews[data-state="empty"]   [data-when="empty"],
#reviews[data-state="error"]   [data-when="error"] { display: block; }
#reviews[data-state="ready"] .rv-carousel { display: flex; }
#reviews[data-state="ready"] .rv-controls,
#reviews[data-state="ready"] .review-cta { display: flex; }

/* ---- skeleton ---- */
.reviews-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.sk-card {
  height: 260px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(100deg, var(--cream-100) 30%, var(--cream-200) 50%, var(--cream-100) 70%);
  background-size: 300% 100%;
  animation: skShimmer 1.6s ease-in-out infinite;
}
@keyframes skShimmer { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@media (max-width: 1039px) { .reviews-skeleton { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 719px)  { .reviews-skeleton { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sk-card { animation: none; } }

/* ---- empty / error notice ---- */
.reviews-note {
  text-align: center; max-width: 52ch; margin: 0 auto;
  padding: var(--space-12) var(--space-6);
  background: var(--color-surface-warm);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}
.reviews-note__stars { font-size: 1.75rem; color: var(--color-border); letter-spacing: .18em; margin-bottom: var(--space-4); }
.reviews-note h3 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.reviews-note p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-6); }

/* ---- carousel controls row ---- */
.rv-controls {
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  margin-top: var(--space-6);
}
.rv-dots { margin-top: 0; }
.rv-play {
  flex: none; width: 30px; height: 30px; padding: 0;
  border-radius: var(--radius-full); border: 1.5px solid var(--color-border);
  background: var(--color-surface); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .18s ease, transform .18s ease;
}
.rv-play:hover { border-color: var(--color-primary); transform: scale(1.08); }
.rv-play[hidden] { display: none; }
.rv-icon-pause, .rv-icon-play { display: block; }
.rv-icon-pause {
  width: 9px; height: 10px;
  border-left: 3px solid var(--color-text); border-right: 3px solid var(--color-text);
}
.rv-icon-play {
  width: 0; height: 0; margin-left: 2px;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 9px solid var(--color-text);
}

/* ---- "see all reviews" in the summary line ---- */
.review-summary__all {
  background: none; border: none; padding: 0 0 1px;
  font: inherit; color: var(--color-primary); font-weight: 600;
  border-bottom: 1.5px solid currentColor; cursor: pointer; margin-left: 4px;
}
.review-summary__all:hover { color: var(--color-primary-hover); }

/* ============================================================
   ALL-REVIEWS MODAL
   ============================================================ */
.ra-overlay {
  position: fixed; inset: 0; background: rgba(22,18,31,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-6);
  z-index: 1002; opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.ra-overlay.is-open { opacity: 1; pointer-events: auto; }
.ra-modal {
  background: var(--cream-50); color: var(--color-text);
  max-width: 680px; width: 100%; max-height: min(86vh, 860px);
  border-radius: var(--radius-xl); position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(14px) scale(.98); transition: transform .28s ease;
  overflow: hidden; display: flex; flex-direction: column;
}
.ra-modal:focus { outline: none; }
.ra-modal::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--grad-tropic); z-index: 1;
}
.ra-overlay.is-open .ra-modal { transform: translateY(0) scale(1); }

.ra-head {
  padding: var(--space-12) var(--space-8) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  flex: none;
}
.ra-modal h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: var(--space-2); }
.ra-summary { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-5, 1.25rem); }
.ra-summary strong { color: var(--color-text); font-size: var(--text-lg); }

.ra-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-4); }
.ra-chip {
  border: 1.5px solid var(--color-border); background: var(--color-surface);
  border-radius: var(--radius-full); padding: 6px 13px;
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-700);
  cursor: pointer; transition: border-color .16s, background .16s, color .16s;
  display: inline-flex; align-items: center; gap: 4px;
}
.ra-chip span { font-weight: 400; color: var(--color-text-muted); font-size: var(--text-xs); }
.ra-chip__star { color: var(--gold-500) !important; font-size: var(--text-sm) !important; }
.ra-chip:hover:not(:disabled) { border-color: var(--color-primary); }
.ra-chip.is-active { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.ra-chip.is-active span { color: rgba(255,255,255,.7); }
.ra-chip:disabled { opacity: .4; cursor: default; }

.ra-sortrow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.ra-showing { font-size: var(--text-xs); color: var(--color-text-muted); }
.ra-sortwrap { display: inline-flex; align-items: center; gap: 8px; }
.ra-sortwrap label { font-size: var(--text-xs); color: var(--color-text-muted); }
.ra-sortwrap select {
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  padding: 6px 10px; font-size: var(--text-sm); background: #fff; color: var(--color-text); cursor: pointer;
}
.ra-sortwrap select:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }

.ra-list { overflow-y: auto; padding: var(--space-4) var(--space-8) var(--space-6); flex: 1 1 auto; }
.ra-list:focus-visible { outline: 2px solid var(--violet-500); outline-offset: -4px; }
.ra-item { padding: var(--space-6) 0; border-bottom: 1px solid var(--color-border); }
.ra-item:last-child { border-bottom: none; }
.ra-item__quote {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  line-height: 1.5; letter-spacing: -.01em; margin: var(--space-3) 0;
}
.ra-item .review__author { padding-top: var(--space-2); margin-top: 0; }
.ra-none { text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); padding: var(--space-12) 0; }

.ra-foot {
  flex: none; padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--color-border); background: var(--color-surface-warm); text-align: center;
}

@media (max-width: 600px) {
  .ra-overlay { padding: 0; }
  .ra-modal { max-height: 100vh; height: 100%; border-radius: 0; max-width: none; }
  .ra-head { padding: var(--space-12) var(--space-6) var(--space-4); }
  .ra-list { padding: var(--space-4) var(--space-6) var(--space-6); }
  .ra-foot { padding: var(--space-4) var(--space-6); }
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-main { padding-top: var(--space-8); }
.container--narrow { max-width: 640px; }

/* ---- order summary ---- */
.co-summary {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  margin-bottom: var(--space-6);
}
.co-summary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-tropic);
}
.co-summary__row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.co-summary__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.co-summary__meta { font-size: var(--text-sm); color: var(--color-text-muted); }
.co-summary__price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); }
.co-summary__promo {
  margin-top: var(--space-4); padding: 9px 13px; border-radius: var(--radius-md);
  background: rgba(45,212,191,.12); border: 1px solid rgba(13,148,136,.3);
  color: var(--teal-600); font-size: var(--text-sm); font-weight: 600;
}
.co-summary__promo[hidden] { display: none; }
.co-summary__change {
  display: inline-block; margin-top: var(--space-4);
  font-size: var(--text-xs); color: var(--color-text-muted);
}

/* ---- steps ---- */
.co-step {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.co-step[hidden] { display: none; }
/* the site header is sticky — keep it off the step we just scrolled to */
.co-step { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.co-step__title {
  font-size: var(--text-lg); display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.co-step__num {
  flex: none; width: 26px; height: 26px; border-radius: var(--radius-full);
  background: var(--grad-tropic); color: #fff;
  display: grid; place-items: center; font-size: var(--text-sm); font-weight: 700;
}
.co-step__note { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-5, 1.25rem); }

.co-step label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: 6px; color: var(--ink-700); }
.co-ziprow { display: flex; gap: var(--space-3); align-items: stretch; }
.co-ziprow input {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; background: #fff;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-size: var(--text-base); font-family: var(--font-body); letter-spacing: .04em;
}
.co-ziprow input:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
.co-ziprow .btn { flex: none; }

.co-error {
  margin-top: var(--space-3); padding: 10px 14px; border-radius: var(--radius-md);
  background: rgba(255,94,98,.10); border: 1px solid rgba(255,94,98,.35);
  color: #b3252a; font-size: var(--text-sm); line-height: 1.55;
}
.co-error[hidden] { display: none; }

/* ---- stripe mount ---- */
.co-stripe { min-height: 120px; }
.co-loading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--space-12) 0; color: var(--color-text-muted); font-size: var(--text-sm);
}
.co-loading[hidden] { display: none; }
.co-spinner {
  width: 16px; height: 16px; border-radius: var(--radius-full);
  border: 2px solid var(--color-border); border-top-color: var(--color-primary);
  animation: coSpin .8s linear infinite;
}
@keyframes coSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .co-spinner { animation-duration: 2.4s; } }

.co-legal { text-align: center; line-height: 1.6; margin-top: var(--space-8); }

/* ---- return page ---- */
.co-result__card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-12) var(--space-8);
  box-shadow: var(--shadow-md); text-align: center;
  position: relative; overflow: hidden;
}
.co-result__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-tropic);
}
.co-result__card h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
.co-result__lede { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.65; margin-bottom: var(--space-6); }
.co-result__note { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: var(--space-6) 0; }

.co-receipt {
  text-align: left; background: var(--color-surface-warm);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
}
.co-receipt > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 8px 0; }
.co-receipt > div + div { border-top: 1px solid var(--color-border); }
.co-receipt dt { font-size: var(--text-sm); color: var(--color-text-muted); }
.co-receipt dd { font-size: var(--text-sm); font-weight: 600; text-align: right; }

.co-warn {
  text-align: left; background: rgba(245,166,35,.10); border: 1px solid rgba(224,142,0,.35);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm); line-height: 1.6; color: var(--ink-700); margin-bottom: var(--space-6);
}

@media (max-width: 600px) {
  .co-ziprow { flex-direction: column; }
  .co-ziprow .btn { width: 100%; }
  .co-result__card { padding: var(--space-8) var(--space-6); }
}

/* ---- checkout: Texas notice (replaces the old ZIP gate) ---- */
.co-texasnote {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px; margin-bottom: var(--space-6);
  font-size: var(--text-sm); color: var(--ink-700); line-height: 1.55;
}
.co-texasnote span[aria-hidden] { color: var(--gold-500); }

/* ---- checkout cart ---- */
.co-cart {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  margin-bottom: var(--space-6);
}
.co-cart[hidden] { display: none; }
.co-cart::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-tropic);
}
.co-cart__title {
  font-size: var(--text-lg); margin-bottom: var(--space-4);
  display: flex; align-items: baseline; gap: var(--space-3);
}
.co-cart__count { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; color: var(--color-text-muted); }

.co-lines { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.co-line {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border);
}
.co-line:last-child { border-bottom: none; }
.co-line.is-empty { opacity: .55; }
.co-line__name { font-weight: 600; font-size: var(--text-sm); }
.co-line__meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.co-line__sum  { font-weight: 700; font-size: var(--text-sm); min-width: 4.5rem; text-align: right; font-variant-numeric: tabular-nums; }

.co-qty { display: inline-flex; align-items: center; gap: 2px; }
.co-qty__btn {
  width: 30px; height: 30px; flex: none; padding: 0;
  border: 1.5px solid var(--color-border); background: var(--color-surface);
  border-radius: var(--radius-full); cursor: pointer;
  font-size: var(--text-base); line-height: 1; color: var(--color-text);
  display: grid; place-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.co-qty__btn:hover:not(:disabled) { border-color: var(--color-primary); color: var(--color-primary); }
.co-qty__btn:disabled { opacity: .35; cursor: default; }
.co-qty__n {
  min-width: 2rem; text-align: center; font-weight: 700;
  font-size: var(--text-sm); font-variant-numeric: tabular-nums;
}

.co-totals { border-top: 1px solid var(--color-border); padding-top: var(--space-4); }
.co-totals > div {
  display: flex; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-sm); padding: 5px 0;
}
.co-totals__muted span:last-child { color: var(--color-text-muted); font-size: var(--text-xs); }
.co-totals__promo { color: var(--teal-600); font-weight: 600; }
.co-totals__promo[hidden] { display: none; }
.co-totals__grand {
  border-top: 1px solid var(--color-border); margin-top: 6px; padding-top: 10px !important;
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg) !important;
}

.co-empty {
  text-align: center; background: var(--color-surface-warm);
  border: 1px dashed var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-6); margin-top: var(--space-2);
  font-size: var(--text-sm); color: var(--color-text-muted);
}
.co-empty[hidden] { display: none; }
.co-totals[hidden] { display: none; }

.co-texasnote[hidden], .co-step[hidden] { display: none; }

@media (max-width: 560px) {
  .co-line { grid-template-columns: 1fr auto; row-gap: var(--space-3); }
  .co-line__info { grid-column: 1 / -1; }
  .co-line__sum { text-align: right; }
}

/* ============================================================
   CART — header button + slide-in drawer
   ============================================================ */
.cart-btn {
  position: relative; flex: none;
  width: 42px; height: 42px; margin-left: auto; margin-right: var(--space-3);
  border: 1.5px solid var(--color-border); background: var(--color-surface);
  border-radius: var(--radius-full); cursor: pointer; color: var(--color-text);
  display: grid; place-items: center;
  transition: border-color .16s ease, transform .16s ease;
}
.cart-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cart-btn__badge {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--radius-full); background: var(--color-primary); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
  font-family: var(--font-display); box-shadow: 0 2px 6px rgba(255,94,98,.45);
}
.cart-btn__badge[hidden] { display: none; }
@keyframes cartBump { 0%,100% { transform: scale(1); } 35% { transform: scale(1.18); } }
.cart-btn.is-bumped { animation: cartBump .45s ease; }
@media (prefers-reduced-motion: reduce) { .cart-btn.is-bumped { animation: none; } }

.cart-overlay {
  position: fixed; inset: 0; z-index: 1003;
  background: rgba(22,18,31,.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%); background: var(--cream-50);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.28);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.cart-overlay.is-open .cart-panel { transform: translateX(0); }
.cart-panel:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .cart-panel { transition: none; } }

.cart-panel__head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.cart-panel__head h2 { font-size: var(--text-xl); display: flex; align-items: baseline; gap: 8px; }
.cart-panel__tubs { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 400; color: var(--color-text-muted); }
.cart-panel__close {
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: var(--color-text); opacity: .5; cursor: pointer; padding: 0 4px;
}
.cart-panel__close:hover { opacity: .9; }

.cart-panel__body { flex: 1 1 auto; overflow-y: auto; padding: var(--space-4) var(--space-6); }

.cart-line { display: flex; gap: var(--space-4); justify-content: space-between; padding: var(--space-5, 1.25rem) 0; border-bottom: 1px solid var(--color-border); }
.cart-line:last-child { border-bottom: none; }
.cart-line__name { font-weight: 600; font-size: var(--text-sm); }
.cart-line__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }
.cart-line__rm {
  margin-top: 8px; background: none; border: none; padding: 0;
  font-size: var(--text-xs); color: var(--color-text-muted);
  text-decoration: underline; cursor: pointer;
}
.cart-line__rm:hover { color: var(--color-primary); }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.cart-line__sum { font-weight: 700; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }

.cart-empty { text-align: center; padding: var(--space-16) var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); }
.cart-empty__mark { font-size: 2rem; color: var(--color-border); margin-bottom: var(--space-3); }
.cart-empty p + p { margin-top: 6px; }

.cart-panel__foot { flex: none; padding: var(--space-6); border-top: 1px solid var(--color-border); background: var(--color-surface-warm); }
.cart-panel__foot[hidden] { display: none; }
.cart-panel__row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--text-sm); }
.cart-panel__row strong { font-family: var(--font-display); font-size: var(--text-xl); }
.cart-panel__note { font-size: var(--text-xs); color: var(--color-text-muted); margin: 6px 0 var(--space-4); }
.cart-panel__go { display: block; width: 100%; text-align: center; }
.cart-panel__keep {
  display: block; margin: var(--space-3) auto 0; background: none; border: none;
  font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: underline; cursor: pointer;
}

@media (max-width: 900px) {
  .cart-btn { margin-right: var(--space-2); width: 38px; height: 38px; }
}

/* ---- checkout page: wider now that the cart lives in the drawer ---- */
/* Stripe's embedded *page* layout only goes two-column above roughly 1000px of
   iframe width — below that it stacks and gets very tall. So give it as much
   room as the design will stand. */
.container--checkout { max-width: 1160px; }

/* No card around the Stripe frame: Stripe draws its own panel, and our padding
   + border was both duplicating that and costing ~50px of usable width. */
#coPayWrap.co-step {
  background: none; border: none; border-radius: 0;
  padding: 0; margin-bottom: var(--space-6);
}
.co-stripe { min-height: 420px; }
.co-empty-page {
  text-align: center; background: var(--color-surface-warm);
  border: 1px dashed var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-6);
}
.co-empty-page[hidden] { display: none; }
.co-empty-page h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.co-empty-page p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
