/* ==========================================================================
   SELIX™ DESIGN SYSTEM
   Colours are lifted from the packaging. Mobile-first; the phone layout is
   deliberately "app-like": bottom tab bar, bottom-sheet cart, snap carousels,
   sticky buy bar, safe-area aware.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --red: #B8143C;
  --red-deep: #8E0E2E;
  --red-ink: #5A0A1E;
  --pink: #E0476B;
  --pink-soft: #F4A9B9;
  --lime: #E4EDB0;
  --lime-deep: #CFDC86;
  --blush: #F7E7DE;
  --blush-2: #F2D9CD;
  --cream: #FFF8F3;
  --white: #FFFFFF;
  --ink: #3B0A17;
  --ink-soft: #7A4A55;
  --line: rgba(142, 14, 46, .14);
  --line-strong: rgba(142, 14, 46, .28);

  --serif: "Fraunces", "DM Serif Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(90, 10, 30, .06);
  --shadow-md: 0 12px 30px -12px rgba(90, 10, 30, .22);
  --shadow-lg: 0 30px 60px -24px rgba(90, 10, 30, .35);
  --shadow-red: 0 14px 30px -10px rgba(184, 20, 60, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: 16px;
  --container: 1240px;
  --nav-h: 64px;
  --tab-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --section-y: clamp(64px, 10vw, 140px);
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tab-h) + var(--safe-b));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--lime); }
:focus-visible { outline: 2.5px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--red); color: var(--cream); padding: 10px 16px; border-radius: var(--r-pill); transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* ---------- 3. Type ---------- */
.display, .h1, .h2, .h3, .pdp__title, .flavor__title, .cta-final__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.02em;
  color: var(--red);
}
.display { font-size: clamp(2.7rem, 10.5vw, 6.4rem); font-weight: 800; line-height: .95; }
.h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.h2 { font-size: clamp(2rem, 6.2vw, 3.9rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 650; }
.display em, .h2 em, .h1 em, .flavor__title em, .cta-final__title em { font-style: italic; font-weight: 500; color: var(--pink); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow .glyph { width: 13px; height: 13px; color: var(--pink); }
.eyebrow--lime { color: var(--lime); }
.eyebrow--lime .glyph { color: var(--lime); }
.script { font-family: var(--script); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--pink); line-height: 1.1; transform: rotate(-4deg); }
.glyph { width: 1em; height: 1em; flex: none; }

/* split-word reveal */
[data-split] .line, [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .line { display: block; }
[data-split] .wi { display: inline-block; will-change: transform; }
.js:not(.reduced-motion) [data-split]:not(.is-split) { opacity: 0; }

/* ---------- 4. Buttons, chips, badges ---------- */
.btn {
  --bg: var(--red); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform; isolation: isolate; overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.96); }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn--primary { box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-deep); }
.btn--dark { --bg: var(--red-ink); }
.btn--lime { --bg: var(--lime); --fg: var(--red); }
.btn--lime:hover { --bg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--red); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--red); --fg: var(--cream); border-color: var(--red); }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: rgba(255,248,243,.5); }
.btn--outline-light:hover { --bg: var(--cream); --fg: var(--red); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .85rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { opacity: .3; }
.btn.is-loading::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon { width: 22px; height: 22px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--red); transition: background .25s, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(184, 20, 60, .08); }
.icon-btn:active { transform: scale(.9); }
.icon-btn--outline { border: 1.5px solid var(--line-strong); }
.icon-btn--ghost { color: var(--cream); border: 1px solid rgba(255,248,243,.25); }
.icon-btn--ghost:hover { background: var(--cream); color: var(--red); }
.count-badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1; border: 2px solid var(--cream);
}
.count-badge.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: 7px 14px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 700; background: var(--white); border: 1px solid var(--line); color: var(--red);
  transition: all .25s var(--ease);
}
.chip--lime { background: var(--lime); border-color: transparent; color: var(--red-deep); }
.chip--filter { cursor: pointer; }
.chip--filter span { opacity: .6; font-weight: 600; }
.chip--filter.is-active { background: var(--red); color: var(--cream); border-color: var(--red); }

.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0; }
.badge { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.badge .icon { width: 40px; height: 40px; padding: 8px; border: 1.5px solid currentColor; border-radius: 50%; }

.placeholder-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 8px 14px; border-radius: var(--r-pill); background: #FFF1C9; color: #6a4a00; font-size: .8rem; font-weight: 600; }
.placeholder-note .icon { width: 16px; height: 16px; flex: none; }
.placeholder-note code { font-size: .78rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); border-bottom: 1.5px solid var(--line-strong); padding-bottom: 4px; }
.link-arrow .icon { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.card { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* icon draw-on */
/* icon draw-on is driven from JS (app.js → drawIcons); icons are fully visible by default */

/* ---------- 5. Announcement + Nav ---------- */
.announce { background: var(--red-deep); color: var(--lime); font-size: .74rem; font-weight: 600; letter-spacing: .06em; overflow: hidden; position: relative; z-index: 51; }
.announce__track { display: flex; gap: 48px; justify-content: center; padding: 8px var(--gutter); white-space: nowrap; }
.announce__track span { display: inline-flex; align-items: center; gap: 8px; }
.announce .glyph { width: 10px; height: 10px; }
@media (max-width: 899px) {
  .announce__track { justify-content: flex-start; width: max-content; animation: announce 22s linear infinite; }
  .announce__track span:nth-child(n+2) { display: inline-flex; }
}
@keyframes announce { to { transform: translateX(-50%); } }

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 248, 243, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { font-family: var(--serif); font-weight: 800; font-size: 1.75rem; color: var(--red); letter-spacing: -.03em; line-height: 1; }
.nav__logo sup, .footer__logo sup, .pdp__brand sup { font-family: var(--sans); font-size: .35em; font-weight: 600; vertical-align: super; margin-left: 1px; }
.nav__links { display: none; gap: 34px; font-weight: 600; font-size: .92rem; }
.nav__links a { position: relative; padding: 6px 0; color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

/* ---------- 6. Mobile tab bar (app shell) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding: 6px 6px calc(6px + var(--safe-b));
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(90, 10, 30, .35);
  border-radius: 22px 22px 0 0;
}
.tabbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: .66rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft);
  border-radius: 16px; position: relative; transition: color .25s;
}
.tabbar__item .icon { width: 24px; height: 24px; transition: transform .4s var(--ease-spring); }
.tabbar__item:active .icon { transform: scale(.82); }
.tabbar__item.is-active { color: var(--red); }
.tabbar__item.is-active::before { content: ""; position: absolute; top: 4px; width: 46px; height: 30px; border-radius: 15px; background: rgba(224, 71, 107, .14); z-index: -1; }
.tabbar__icon { position: relative; }
.tabbar__icon .count-badge { top: -6px; right: -10px; border-color: #fff; }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* ---------- 7. Custom cursor (desktop) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(184, 20, 60, .45);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(224, 71, 107, .14); border-color: transparent; }
  .cursor.has-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); }
  .cursor__label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); opacity: 0; transition: opacity .2s; }
  .cursor.has-label .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- 8. Blobs ---------- */
.blob { position: absolute; pointer-events: none; }
.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-14px) rotate(1.5deg); } }
.twinkle { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }

/* ---------- 9. HERO STORY ---------- */
.story { position: relative; height: 270vh; margin-top: calc(var(--nav-h) * -1); --story-bg: var(--blush); }
.story__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, #fff3ec 0%, var(--story-bg) 60%);
  background-color: var(--story-bg);
}
.story__bg { position: absolute; inset: 0; }
.story__blob { width: 60vmax; opacity: .9; }
.story__blob--pink { right: -18vmax; top: -10vmax; opacity: .22; }
.story__blob--lime { left: -22vmax; bottom: -28vmax; opacity: .75; }
.story__blob--red { right: 8%; bottom: -46vmax; width: 70vmax; opacity: .06; }
.story__glow { position: absolute; width: 60vmin; height: 60vmin; right: 12%; top: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%); filter: blur(10px); }

.story__canvas { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 1.2s var(--ease); }
.story__canvas.is-ready { opacity: 1; }
.story__canvas canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; }

/* Poster stills rendered from the 3D scene. Positions mirror hero3d.js layout()
   exactly (camera fov 30°, z 11 → half-height 2.947 world units), so the first
   WebGL frame lands pixel-for-pixel on top of the poster. */
.story__stage { container-type: size; }
.story__fallback { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .7s var(--ease), visibility .7s; }
.story__fallback.is-hidden { opacity: 0; visibility: hidden; }
.story__poster { position: absolute; width: auto; max-width: none; transform: translate(-50%, -50%); scale: var(--ps, 1); }
/* phone / portrait */
.story__poster--hero { aspect-ratio: 1.6; height: min(90cqh, 168.4cqw); left: 50%; top: 69%; }
.story__poster--open { aspect-ratio: 1.1429; height: min(72cqh, 134.7cqw); left: 50%; top: 72%; opacity: 0; visibility: hidden; }
/* landscape (same breakpoint as the 3D scene: aspect >= 1.05) */
@container (min-aspect-ratio: 21/20) and (min-width: 600px) {
  .story__poster--hero { height: 110cqh; left: 71%; top: 52.5%; }
  .story__poster--open { height: 81.4cqh; left: 65%; top: 59.3%; }
}
/* devices without 3D: give the still a gentle float so it still feels alive */
.no-3d .story__fallback { animation: floatY 7s ease-in-out infinite; }
.story__layer { position: relative; z-index: 3; height: 100%; pointer-events: none; }
.story__layer a, .story__layer button { pointer-events: auto; }
.hero-copy { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 40px + 8px); }
.hero-title { margin-bottom: 14px; }
.hero-title em { display: inline-block; }
.hero-lead { margin-bottom: 18px; font-size: .98rem; }
.hero-lead strong { color: var(--red); font-weight: 700; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn { min-height: 48px; padding: 0 20px; font-size: .9rem; }
.badges--hero { display: none; }
.hero-price { display: none; }

.inside-copy { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 48px); opacity: 0; visibility: hidden; }
.inside-title { font-size: clamp(2.4rem, 9vw, 5rem); margin-bottom: 18px; }
.inside-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inside-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: rgba(255,255,255,.75); backdrop-filter: blur(8px); border-radius: var(--r-pill); font-size: .86rem; color: var(--red-deep); box-shadow: var(--shadow-sm); }
.inside-chip strong { color: var(--red); }
.inside-chip__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--lime); }
.inside-chip__icon .icon { width: 18px; height: 18px; }
.inside-script { margin-top: 16px; display: none; }

.scroll-hint { position: absolute; z-index: 4; left: 50%; bottom: calc(var(--tab-h) * .3 + 14px); transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.scroll-hint__mouse { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.scroll-hint__mouse span { width: 3px; height: 7px; border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.story__anchor { position: absolute; top: 55%; }

@media (min-width: 600px) {
  .badges--hero { display: flex; }
}
/* side-by-side hero: any screen at least 600px wide AND wider than tall (must match app.js + hero3d.js) */
@media (min-width: 600px) and (min-aspect-ratio: 21/20) {
  .hero-title { font-size: clamp(2.6rem, 7.2vw, 6.4rem); }
  .hero-cta { display: flex; }
  .hero-copy { top: var(--nav-h); bottom: 0; right: auto; width: min(560px, 48%); left: var(--gutter); display: flex; flex-direction: column; justify-content: center; }
  .hero-copy > * { flex: none; }
  .hero-lead { font-size: 1.15rem; }
  .hero-cta .btn { min-height: 56px; padding: 0 28px; font-size: 1rem; }
  .hero-price { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .9rem; }
  .hero-price strong { color: var(--red); }
  .hero-price .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--pink); }
  .inside-copy { top: 0; bottom: 0; right: auto; width: min(460px, 40%); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .inside-chips { flex-direction: column; align-items: flex-start; }
  .inside-chip { font-size: 1rem; padding: 10px 20px 10px 10px; }
  .inside-chip__icon { width: 40px; height: 40px; }
  .inside-script { display: block; }
  .scroll-hint { display: flex; bottom: 28px; }
}
@media (min-width: 1024px) { .story__layer { padding-inline: 0; } }

/* Reduced motion / no-js: story becomes a normal section */
.reduced-motion .story, .no-js .story { height: auto; }
.reduced-motion .story__stage, .no-js .story__stage { position: relative; height: auto; min-height: 100svh; padding-bottom: 40px; }
.reduced-motion .story__stage, .no-js .story__stage { container-type: normal; }
.reduced-motion .story__fallback, .no-js .story__fallback { position: relative; inset: auto; height: 56vw; max-height: 520px; margin-top: 400px; overflow: hidden; }
.reduced-motion .story__poster--hero, .no-js .story__poster--hero { height: 100%; left: 50%; top: 50%; }
.reduced-motion .inside-copy, .no-js .inside-copy { position: relative; opacity: 1; visibility: visible; transform: none; width: auto; left: 0; top: 0; margin-top: 24px; }
.reduced-motion .story__layer, .no-js .story__layer { height: auto; }
@media (min-width: 900px) {
  .reduced-motion .story__fallback, .no-js .story__fallback { position: absolute; inset: 0 0 0 42%; height: auto; max-height: none; margin: 0; }
}

/* ---------- 10. Marquee ---------- */
.marquee-wrap { position: relative; z-index: 5; padding: 26px 0; overflow: hidden; background: var(--cream); }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__track { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; animation: marquee 28s linear infinite; }
.marquee[data-direction="-1"] .marquee__track { animation-direction: reverse; }
.marquee span { font-family: var(--serif); font-weight: 700; font-size: clamp(1.2rem, 3.4vw, 2.2rem); letter-spacing: .02em; white-space: nowrap; }
.marquee__star { width: 18px; height: 18px; }
.marquee--red { background: var(--red); color: var(--lime); padding: 16px 0; transform: rotate(-2.2deg) scale(1.04); box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.marquee--red .marquee__star { color: var(--pink); }
.marquee--lime { background: var(--lime); color: var(--red); padding: 12px 0; transform: rotate(1.6deg) scale(1.04); margin-top: -8px; }
.marquee--lime span { font-family: var(--sans); font-weight: 800; font-size: clamp(.8rem, 1.8vw, 1rem); letter-spacing: .18em; }
.marquee--lime .marquee__star { width: 12px; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-100%); } }
.reduced-motion .marquee__track { animation-duration: 120s; }

/* ---------- 11. Sections (shared) ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head .h2 { margin-bottom: 14px; }

/* Snap rows: horizontal swipe on mobile, grid on desktop */
.snap-row { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter); }
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; }
.snap-dots { display: flex; justify-content: center; gap: 6px; }
.snap-dots button { width: 7px; height: 7px; border-radius: 4px; background: var(--line-strong); transition: width .35s var(--ease), background .3s; }
.snap-dots button.is-active { width: 22px; background: var(--red); }
@media (min-width: 900px) {
  .snap-row:not([data-carousel]) { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 24px; }
  .snap-row:not([data-carousel]) + .snap-dots { display: none; }
}

/* ---------- 12. Ingredients ---------- */
.ingredients { background: var(--cream); }
.ing-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 440px; padding: 28px; border-radius: var(--r-xl);
  background: var(--red); color: var(--cream);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); transform-style: preserve-3d;
}
.ing-card:nth-child(2) { background: var(--red-deep); }
.ing-card__blob { position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; bottom: -80px; background: var(--pink); border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; animation: blobMorph 12s ease-in-out infinite; }
.ing-card:nth-child(2) .ing-card__blob { background: var(--lime); opacity: .9; left: -100px; right: auto; top: -90px; bottom: auto; }
.ing-card:nth-child(3) .ing-card__blob { background: var(--lime); top: -100px; right: -100px; bottom: auto; width: 210px; height: 210px; }
.ing-card:nth-child(3) .ing-card__num { color: var(--red); opacity: .8; }
@keyframes blobMorph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; transform: rotate(0); }
  33% { border-radius: 40% 60% 42% 58% / 62% 38% 62% 38%; transform: rotate(40deg) scale(1.05); }
  66% { border-radius: 65% 35% 50% 50% / 40% 55% 45% 60%; transform: rotate(-20deg); }
}
.ing-card__icon { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid rgba(228, 237, 176, .6); display: grid; place-items: center; color: var(--lime); margin-bottom: auto; transform: translateZ(40px); }
.ing-card__icon .icon { width: 34px; height: 34px; }
.ing-card__num { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 1rem; opacity: .6; }
.ing-card__name { font-family: var(--serif); font-size: 2.1rem; color: var(--lime); margin-top: 40px; transform: translateZ(30px); }
.ing-card__dose { font-family: var(--serif); font-size: clamp(3.6rem, 9vw, 4.8rem); font-weight: 800; line-height: 1; margin: 6px 0 14px; color: var(--cream); transform: translateZ(50px); font-variant-numeric: tabular-nums; }
.ing-card__dose small { font-size: .38em; font-weight: 600; margin-left: 6px; color: var(--lime); }
.ing-card__short { font-weight: 700; margin-bottom: 8px; }
.ing-card__body { font-size: .92rem; opacity: .82; }

/* ---------- 13. Benefits ---------- */
.benefits { background: var(--blush); overflow: hidden; }
.benefits__grid { display: grid; gap: 48px; align-items: center; }
.benefits__visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; padding: 0 0 40px 0; }
.benefits__blob { width: 120%; left: -10%; top: -14%; opacity: .28; }
.benefits__frame { position: relative; margin: 0 0 0 12%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 6 / 5; border: 6px solid #fff; }
.benefits__jar { position: absolute; left: -2%; bottom: -4px; width: 34%; z-index: 2; pointer-events: none; }
.benefits__jar-img { width: 100%; filter: drop-shadow(0 24px 24px rgba(90,10,30,.35)); }
.benefits__img { width: 100%; height: 100%; object-fit: cover; }
.benefits__note { position: absolute; right: 4%; bottom: 8px; z-index: 3; margin: 0; background: #fff; padding: 8px 18px 10px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.benefits__note .script { display: block; font-size: 1.45rem; }
.benefits__copy .h2 { margin-bottom: 28px; }
.benefit-list { display: grid; gap: 14px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); transition: transform .4s var(--ease), background .3s, box-shadow .4s; }
.benefit:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow-md); }
.benefit__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--lime); }
.benefit h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--red); margin-bottom: 4px; }
.benefit p { font-size: .94rem; color: var(--ink-soft); }
@media (min-width: 900px) { .benefits__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

/* ---------- 14. Routine timeline ---------- */
.routine { background: var(--cream); }
.routine__grid { display: grid; gap: 48px; }
.routine__head .h2 { margin-bottom: 16px; }
.routine__how { display: flex; gap: 10px; margin: 28px 0 22px; }
.routine__how > div { flex: 1; text-align: center; padding: 16px 8px; border-radius: var(--r-md); background: var(--blush); }
.routine__how strong { display: grid; place-items: center; height: 40px; font-family: var(--serif); font-size: 2rem; color: var(--red); }
.routine__how strong .icon { width: 30px; height: 30px; }
.routine__how span { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 62px; }
.timeline__rail { position: absolute; left: 25px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(var(--pink), var(--red)); transform-origin: top; transform: scaleY(0); }
.reduced-motion .timeline__fill { transform: none; }
.tstep { position: relative; }
.tstep__dot { position: absolute; left: -62px; top: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--line-strong); color: var(--ink-soft); transition: all .5s var(--ease-spring); }
.tstep.is-active .tstep__dot { background: var(--red); border-color: var(--red); color: var(--lime); transform: scale(1.1); box-shadow: 0 0 0 8px rgba(224, 71, 107, .15); }
.tstep__card { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s, opacity .5s; opacity: .55; }
.tstep.is-active .tstep__card { opacity: 1; box-shadow: var(--shadow-md); transform: translateX(6px); }
.reduced-motion .tstep__card, .no-js .tstep__card { opacity: 1; }
.tstep__day { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: var(--lime); padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 10px; }
.tstep h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--red); margin-bottom: 6px; }
.tstep p { color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 900px) {
  .routine__grid { grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: start; }
  .routine__head { position: sticky; top: calc(var(--nav-h) + 40px); }
  .timeline { gap: 40px; }
}

/* ---------- 15. Formats / product cards ---------- */
.formats { background: linear-gradient(var(--cream), var(--blush)); }
.fcard, .pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-md); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s var(--ease); }
.fcard:hover, .pcard:hover { box-shadow: var(--shadow-lg); }
.fcard--hero { outline: 2px solid var(--red); outline-offset: -2px; }
.fcard__tag, .pcard__tag { position: absolute; top: 18px; left: 18px; z-index: 3; }
.fcard__media, .pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .95; background: var(--blush); overflow: hidden; }
.fcard__blob, .pcard__blob { position: absolute; width: 75%; aspect-ratio: 1; background: var(--lime); border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; animation: blobMorph 14s ease-in-out infinite; opacity: .8; }
.fcard__img, .pcard__img { position: relative; max-height: 82%; width: auto; max-width: 86%; object-fit: contain; border-radius: 14px; transition: transform .7s var(--ease); filter: drop-shadow(0 18px 20px rgba(90,10,30,.25)); transform: translateZ(30px); }
.fcard:hover .fcard__img, .pcard:hover .pcard__img { transform: translateZ(30px) scale(1.06) rotate(-2deg); }
.fcard__body, .pcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fcard__title { font-family: var(--serif); font-size: 1.7rem; color: var(--red); }
.fcard__title span { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.fcard .btn { margin-top: auto; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price__now { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.price__mrp { color: var(--ink-soft); font-size: .95rem; }
.price__off { font-size: .74rem; font-weight: 800; color: #fff; background: var(--pink); padding: 3px 8px; border-radius: var(--r-pill); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.trust-row li { display: flex; align-items: center; gap: 10px; padding: 14px; background: rgba(255,255,255,.7); border-radius: var(--r-md); font-size: .8rem; font-weight: 600; }
.trust-row .icon { flex: none; color: var(--red); }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 16. Flavor ---------- */
.flavor { background: var(--red); color: var(--cream); overflow: hidden; isolation: isolate; }
.flavor__blob { z-index: -1; }
.flavor__blob--a { width: 70vmax; left: -30vmax; top: -30vmax; opacity: .55; }
.flavor__blob--b { width: 60vmax; right: -25vmax; bottom: -25vmax; opacity: .8; }
.flavor__berries { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.berry { position: absolute; left: var(--x); top: var(--y); width: calc(72px * var(--s)); transform: rotate(var(--r)); filter: drop-shadow(0 14px 16px rgba(40, 0, 10, .35)); }
.berry > svg { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.8s); }
@keyframes bob { 50% { transform: translateY(-16px) rotate(8deg); } }
@media (min-width: 900px) { .berry { width: calc(110px * var(--s)); } }
.flavor__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
.flavor__title { font-size: clamp(3.6rem, 15vw, 9rem); font-weight: 800; line-height: .9; color: var(--lime); margin-bottom: 22px; }
.flavor__title em { color: var(--cream); }
.flavor .lead { color: rgba(255, 248, 243, .85); }
.flavor__script { color: var(--lime); margin-top: 22px; }
.flavor__visual { max-width: 520px; margin-inline: auto; width: 100%; }
.flavor__photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; border: 6px solid rgba(255,248,243,.92); box-shadow: 0 40px 80px -30px rgba(30,0,8,.7); aspect-ratio: 1; transform: rotate(2deg); }
.flavor__tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,248,243,.92); color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.flavor__tag .glyph { width: 12px; color: var(--pink); }
.flavor__img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .flavor__grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }

/* ---------- 17. Reviews ---------- */
.reviews { background: var(--cream); }
.carousel-ctrl { display: none; gap: 10px; }
@media (min-width: 900px) {
  .carousel-ctrl { display: flex; }
  .review-row { grid-auto-columns: calc((100% - 48px) / 3); margin: 0; padding: 8px 0 24px; }
}
.rcard { margin: 0; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.rcard__stars span { color: var(--line-strong); font-size: 1.1rem; }
.rcard__stars span.on { color: var(--pink); }
.rcard blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.rcard figcaption { display: flex; align-items: center; gap: 12px; }
.rcard figcaption strong { display: block; font-size: .95rem; }
.rcard figcaption small { color: var(--ink-soft); }
.rcard__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--red); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }

/* ---------- 18. FAQ / accordion ---------- */
.faq { background: var(--blush); }
.faq__grid { display: grid; gap: 36px; }
.faq__head .h2 { margin-bottom: 14px; }
.faq__head .lead { margin-bottom: 22px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.accordion { display: grid; gap: 12px; }
.acc { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.acc[open] { box-shadow: var(--shadow-md); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--red); transition: transform .4s var(--ease), background .3s; }
.acc__icon .icon { width: 18px; height: 18px; }
.acc[open] .acc__icon { transform: rotate(135deg); background: var(--red); color: var(--lime); }
.acc__body { padding: 0 22px 22px; color: var(--ink-soft); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { flex: none; color: var(--red); width: 20px; margin-top: 2px; }

/* ---------- 19. Final CTA ---------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; background: var(--red-deep); color: var(--cream); padding-block: var(--section-y); }
.cta-final__blob { z-index: -1; }
.cta-final__blob--a { width: 70vmax; right: -30vmax; top: -35vmax; opacity: .5; }
.cta-final__blob--b { width: 40vmax; left: -18vmax; bottom: -22vmax; opacity: .9; }
.cta-final__grid { display: grid; gap: 40px; align-items: center; }
.cta-final__script { color: var(--lime); margin-bottom: 10px; }
.cta-final__title { font-size: clamp(2.6rem, 8vw, 5.4rem); color: var(--cream); margin-bottom: 18px; font-weight: 800; }
.cta-final__title em { color: var(--lime); }
.cta-final .lead { color: rgba(255,248,243,.8); margin-bottom: 26px; }
.news-form { position: relative; display: flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); max-width: 480px; margin-bottom: 26px; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; background: transparent; color: var(--cream); font-size: 1rem; outline: none; }
.news-form input::placeholder { color: rgba(255,248,243,.6); }
.news-form__msg { position: absolute; left: 20px; top: calc(100% + 8px); font-size: .85rem; color: var(--lime); }
.cta-final__visual { position: relative; display: grid; place-items: center; }
.cta-final__jar { width: min(360px, 66vw); }
.cta-final__img { width: 100%; filter: drop-shadow(0 40px 40px rgba(20,0,6,.5)); }
.cta-final__star { position: absolute; color: var(--lime); }
.cta-final__star--a { width: 46px; height: 46px; top: 6%; left: 14%; }
.cta-final__star--b { width: 26px; height: 26px; bottom: 16%; right: 16%; animation-delay: -1.3s; }
@media (min-width: 900px) { .cta-final__grid { grid-template-columns: 1.3fr 1fr; } }

/* ---------- 20. Footer ---------- */
.footer { position: relative; background: var(--red); color: rgba(255,248,243,.82); padding: 72px 0 32px; font-size: .92rem; }
.footer__blob { position: absolute; left: 0; right: 0; top: -1px; height: 60px; color: var(--red-deep); }
.footer__blob svg { width: 100%; height: 100%; transform: scaleY(-1); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { font-family: var(--serif); font-weight: 800; font-size: 3rem; color: var(--lime); line-height: 1; letter-spacing: -.03em; }
.footer__script { color: var(--pink-soft); margin: 6px 0 14px; }
.footer__about { max-width: 36ch; }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--lime); transform: translateX(3px); }
.footer__col .icon { width: 16px; height: 16px; flex: none; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,248,243,.18); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .8rem; color: rgba(255,248,243,.62); }
.footer__legal p { margin: 0; }
.footer__disclaimer { flex-basis: 100%; }
.footer__credit { margin-left: auto !important; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }

/* ---------- 21. Cart drawer / bottom sheet ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(59, 10, 23, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  max-height: 88svh; display: flex; flex-direction: column;
  background: var(--cream); border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px rgba(59,10,23,.3);
  transform: translateY(105%); transition: transform .55s var(--ease); visibility: hidden;
  padding-bottom: var(--safe-b);
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer.is-dragging { transition: none; }
.drawer__handle { display: grid; place-items: center; padding: 10px 0 2px; cursor: grab; touch-action: none; }
.drawer__handle span { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 6px 22px; }
.drawer__head h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--red); }
.drawer__head .muted { font-family: var(--sans); font-size: .9rem; font-weight: 600; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.drawer__row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.drawer__row strong { font-family: var(--serif); font-size: 1.4rem; color: var(--red); }
@media (min-width: 768px) {
  .drawer { left: auto; top: 0; width: 440px; max-height: none; border-radius: 28px 0 0 28px; transform: translateX(105%); }
  .drawer.is-open { transform: translateX(0); }
  .drawer__handle { display: none; }
  .drawer__head { padding-top: 22px; }
}
.ship-meter { margin: 6px 22px 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--lime); }
.cart-page .ship-meter, .summary .ship-meter { margin: 0 0 18px; }
.ship-meter__text { font-size: .84rem; font-weight: 600; color: var(--red-deep); margin-bottom: 8px; }
.ship-meter__bar { height: 6px; border-radius: 3px; background: rgba(142,14,46,.15); overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--red); transition: width .8s var(--ease); }

.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: itemIn .5s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } }
.line-item.is-removing { animation: itemOut .35s var(--ease) forwards; }
@keyframes itemOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.line-item__img { width: 76px; height: 86px; border-radius: 14px; background: var(--blush); display: grid; place-items: center; overflow: hidden; }
.line-item__img img { max-height: 90%; width: auto; object-fit: contain; }
.line-item__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.line-item__variant { font-size: .8rem; color: var(--ink-soft); }
.line-item__price { font-family: var(--serif); font-weight: 700; color: var(--red); text-align: right; }
.line-item__price s { display: block; font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); font-weight: 500; }
.line-item__meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-item__remove { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.empty-cart { text-align: center; padding: 40px 10px; }
.empty-cart__icon { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--red); }
.empty-cart__icon .icon { width: 44px; height: 44px; }
.empty-cart h3 { font-family: var(--serif); color: var(--red); font-size: 1.5rem; margin-bottom: 8px; }
.empty-cart .btn { margin-top: 16px; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); height: 52px; }
.qty__btn { width: 44px; height: 100%; display: grid; place-items: center; color: var(--red); border-radius: var(--r-pill); }
.qty__btn:active { background: var(--blush); }
.qty__btn .icon { width: 18px; height: 18px; }
.qty__input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 36px; }
.qty--sm .qty__btn { width: 32px; }
.qty--sm .qty__input { width: 26px; font-size: .9rem; }

/* toasts */
.toasts { position: fixed; z-index: 100; left: 50%; top: calc(var(--nav-h) + 12px); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 380px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--ink); color: var(--cream); box-shadow: var(--shadow-lg); pointer-events: auto; animation: toastIn .5s var(--ease-spring) both; font-size: .9rem; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }
.toast img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: var(--blush); }
.toast button { margin-left: auto; color: var(--lime); font-weight: 800; font-size: .82rem; padding: 6px 8px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px) scale(.95); } }

/* fly-to-cart dot */
.fly-dot { position: fixed; z-index: 120; width: 22px; height: 22px; border-radius: 8px; background: var(--red); box-shadow: 0 6px 14px rgba(184,20,60,.5); pointer-events: none; }

/* ---------- 22. Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--section-y) * .6) 0 calc(var(--section-y) * .45); background: var(--blush); }
.page-hero__blob { width: 60vmax; right: -24vmax; top: -24vmax; opacity: .35; }
.page-hero .container { position: relative; }
.page-hero .display { margin-bottom: 14px; }
.page-hero--slim { padding-block: 48px 32px; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.app-head .secure-tag { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: #1d7a45; }
.app-head .secure-tag .icon { width: 16px; }

/* ---------- 23. Shop ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); max-width: calc(100% + var(--gutter) * 2); }
.chips-scroll::-webkit-scrollbar { display: none; }
.sort select { height: 40px; padding: 0 36px 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8143C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; font-weight: 600; font-size: .85rem; }
.shop-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.shop-grid__item { transition: opacity .4s, transform .4s var(--ease); }
.shop-grid__item.is-filtered { display: none; }
.pcard__title { font-family: var(--serif); font-size: 1.45rem; color: var(--red); line-height: 1.15; }
.pcard__tagline { color: var(--ink-soft); font-size: .92rem; }
.pcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; }
.pcard__foot .btn .icon { width: 16px; }
.empty-state { text-align: center; padding: 40px; color: var(--ink-soft); }
.coming-soon { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); background: var(--blush); }
.coming-soon > .glyph { width: 40px; height: 40px; color: var(--pink); }
.coming-soon > div { flex: 1; min-width: 200px; }

/* ---------- 24. Product page ---------- */
.pdp { padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--ink-soft); padding: 18px 0; }
.crumbs a:hover { color: var(--red); }
.pdp__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .pdp__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; } .pdp__info { position: sticky; top: calc(var(--nav-h) + 20px); } }
.gallery { position: relative; min-width: 0; }
.gallery__stage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--blush); aspect-ratio: 1 / 1.05; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
@media (min-width: 600px) { .gallery__stage { margin-inline: 0; border-radius: var(--r-xl); } }
.gallery__blob { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 15%; background: var(--lime); border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; animation: blobMorph 14s ease-in-out infinite; opacity: .75; }
.gallery__slides { position: absolute; inset: 0; grid-auto-columns: 100%; gap: 0; margin: 0; padding: 0; }
@media (min-width: 900px) { .gallery__slides.snap-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%; overflow-x: auto; gap: 0; } }
.gallery__slide { margin: 0; display: grid; place-items: center; padding: 8%; }
.gallery__img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 24px 30px rgba(90,10,30,.25)); }

.gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; }
.gallery__dots.snap-dots { display: flex !important; }
.gallery__3d { position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at 50% 40%, #fff6f0, var(--blush)); }
.gallery__3d canvas { width: 100% !important; height: 100% !important; cursor: grab; touch-action: none; }
.gallery__3d canvas:active { cursor: grabbing; }
.gallery__hint { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.8); font-size: .78rem; font-weight: 700; color: var(--red); pointer-events: none; }
.gallery__hint .icon { width: 16px; }
.gallery.is-3d .gallery__dots, .gallery.is-3d .gallery__slides { visibility: hidden; }
.gallery__toggle { position: absolute; z-index: 5; top: 14px; right: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.85); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); position: relative; }
.seg__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; color: var(--ink-soft); transition: color .3s; }
.seg__btn .icon { width: 16px; height: 16px; }
.seg__btn.is-active { color: var(--cream); }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: var(--r-pill); background: var(--red); transition: transform .45s var(--ease), width .45s var(--ease); }
.gallery__thumbs { display: none; gap: 10px; margin-top: 12px; }
@media (min-width: 600px) { .gallery__thumbs { display: flex; } }
.gallery__thumb { width: 76px; height: 76px; border-radius: 16px; background: var(--blush); display: grid; place-items: center; overflow: hidden; border: 2px solid transparent; transition: border-color .3s, transform .3s var(--ease); }
.gallery__thumb img { max-height: 84%; width: auto; object-fit: contain; }
.gallery__thumb.is-active { border-color: var(--red); }
.gallery__thumb:hover { transform: translateY(-3px); }

.pdp__title { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.04; margin-bottom: 10px; }
.pdp__brand { display: block; font-size: .55em; color: var(--pink); }
.pdp__tagline { font-size: 1.1rem; color: var(--ink-soft); }
.pdp__price { margin: 6px 0 2px; }
.pdp__price .price__now { font-size: 2.2rem; color: var(--red); }
.variants { border: 0; margin: 24px 0 18px; padding: 0; }
.variants legend { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.variants__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vopt { position: relative; cursor: pointer; }
.vopt input { position: absolute; opacity: 0; pointer-events: none; }
.vopt__box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 6px 12px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--white); transition: all .3s var(--ease); height: 100%; }
.vopt__img { width: 54px; height: 64px; object-fit: contain; margin-bottom: 6px; transition: transform .4s var(--ease-spring); }
.vopt__label { font-weight: 800; font-size: .92rem; }
.vopt__format { font-size: .72rem; color: var(--ink-soft); }
.vopt__price { font-family: var(--serif); font-weight: 700; color: var(--red); margin-top: 4px; }
.vopt__tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--lime); color: var(--red-deep); white-space: nowrap; }
.vopt input:checked + .vopt__box { border-color: var(--red); background: #fff4f6; box-shadow: 0 0 0 3px rgba(184, 20, 60, .12); }
.vopt input:checked + .vopt__box .vopt__img { transform: scale(1.12) rotate(-4deg); }
.vopt input:focus-visible + .vopt__box { outline: 2.5px solid var(--pink); outline-offset: 2px; }
.vopt.is-soldout .vopt__box { opacity: .45; }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row__add { flex: 1; }
.pdp__trust { display: grid; gap: 10px; margin: 22px 0; padding: 18px; border-radius: var(--r-md); background: var(--blush); }
.pdp__trust li { display: flex; gap: 12px; align-items: center; font-size: .88rem; font-weight: 600; }
.pdp__trust .icon { color: var(--red); flex: none; }
.pdp__desc { color: var(--ink-soft); }
.pdp__details { margin-top: 56px; display: grid; gap: 22px; }
.pdp__details .h3 { color: var(--red); }
.ing-mini { display: grid; gap: 12px; }
@media (min-width: 900px) { .ing-mini { grid-template-columns: repeat(3, 1fr); } }
.ing-mini__item { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.ing-mini__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--lime); }
.ing-mini h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--red); margin-bottom: 4px; }
.ing-mini h3 strong { font-family: var(--sans); font-size: .8rem; background: var(--lime); padding: 2px 8px; border-radius: var(--r-pill); margin-left: 4px; vertical-align: middle; }
.ing-mini p { font-size: .88rem; color: var(--ink-soft); }
.pdp__acc { max-width: 860px; }

.buybar { position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 22px; background: var(--ink); color: var(--cream); box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform .5s var(--ease); }
.buybar.is-visible { transform: translateY(0); }
.buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.buybar__name { font-size: .74rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--lime); }
.buybar .btn { min-height: 46px; }
@media (min-width: 1024px) { .buybar { display: none; } }

/* ---------- 25. Forms / checkout / cart page ---------- */
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; margin: 0; display: grid; gap: 14px; }
.form legend { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; float: left; width: 100%; }
.form legend + * { clear: both; }
.step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--lime); font-family: var(--sans); font-size: .85rem; font-weight: 800; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--cream);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(184,20,60,.1); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d0021b; background: #fff5f6; }
.field__error { font-size: .78rem; color: #c0021b; font-weight: 600; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.form__msg { font-weight: 600; color: var(--red); text-align: center; min-height: 1.2em; }
.form__msg.is-ok { color: #1d7a45; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); cursor: pointer; transition: all .25s; }
.pay-opt:has(input:checked) { border-color: var(--red); background: #fff4f6; }
.pay-opt input { accent-color: var(--red); width: 20px; height: 20px; }
.pay-opt strong { display: block; }
.pay-opt small { color: var(--ink-soft); }
.pay-opt__logos { margin-left: auto; font-size: .7rem; font-weight: 800; color: var(--ink-soft); letter-spacing: .05em; }
.checkout__grid, .cart-page__grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .checkout__grid, .cart-page__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } .summary { position: sticky; top: calc(var(--nav-h) + 20px); } }
.summary__items { margin: 10px 0; }
.summary__items .line-item { grid-template-columns: 56px 1fr auto; }
.summary__items .line-item__img { width: 56px; height: 62px; position: relative; overflow: visible; }
.summary__items .line-item__img i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.summary__rows { margin: 0 0 18px; display: grid; gap: 10px; }
.summary__rows > div { display: flex; justify-content: space-between; }
.summary__rows dt { color: var(--ink-soft); }
.summary__rows dd { margin: 0; font-weight: 700; }
.summary__rows .save { color: #1d7a45; }
.summary__total { padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.summary__total dt { color: var(--ink); font-weight: 700; }
.summary__total dd { font-family: var(--serif); font-size: 1.6rem; color: var(--red); }
.is-checkout .checkout__submit { position: sticky; bottom: calc(10px + var(--safe-b)); z-index: 5; }
.cart-page__items { background: var(--white); border-radius: var(--r-lg); padding: 6px 20px; border: 1px solid var(--line); }
@media (max-width: 959px) { .checkout__summary { order: -1; } }

/* success / 404 */
.success { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.success__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 620px; }
.success__badge { width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: var(--lime); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(224,71,107,.15); animation: pop .8s var(--ease-spring) both; }
.success__badge .icon { width: 48px; height: 48px; stroke-width: 2; }
@keyframes pop { from { transform: scale(0); } }
.success__card { width: 100%; text-align: left; display: grid; gap: 10px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; }
.summary-line--total { border-top: 1px dashed var(--line-strong); padding-top: 10px; font-size: 1.1rem; }
.notfound { display: flex; align-items: center; gap: .1em; font-size: clamp(6rem, 24vw, 12rem); }
.notfound__gummy { width: .7em; height: .62em; border-radius: .2em; background: linear-gradient(145deg, #ef4a6a, var(--red) 55%, #7a0a25); animation: floatY 3s ease-in-out infinite; }

/* about / contact / prose */
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img { width: 100%; }
.about__copy .h2 { margin-bottom: 22px; }
.about__copy p { color: var(--ink-soft); }
.about__values { display: grid; gap: 12px; margin: 26px 0 30px; }
.about__values li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--blush); }
.about__values .icon { color: var(--red); flex: none; }
.about__values strong { display: block; color: var(--red); }
.about__values span { font-size: .9rem; color: var(--ink-soft); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } }
.contact__cards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ccard__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--lime); flex: none; }
.ccard strong { display: block; }
.ccard small { color: var(--ink-soft); }
.ccard__arrow { margin-left: auto; color: var(--red); width: 20px; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); color: var(--red); font-size: 1.5rem; margin: 32px 0 10px; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--red); text-decoration: underline; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

/* ---------- 26. Scroll reveal base state ---------- */
.js:not(.reduced-motion) [data-reveal] { opacity: 0; transform: translateY(36px); }
.js:not(.reduced-motion) [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js:not(.reduced-motion) [data-fade] { opacity: 0; }

/* ---------- 27. Cross-document page transitions (View Transitions API) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-14px) scale(.99); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
.nav, .tabbar { view-transition-name: none; }
.tabbar { view-transition-name: tabbar; }
::view-transition-group(tabbar) { animation: none; }

/* ---------- 28. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Failsafe: if scripts never boot (CDN blocked), never leave content hidden */
.no-anim [data-reveal], .no-anim [data-split], .no-anim [data-fade] { opacity: 1 !important; transform: none !important; }

/* PDP gallery fixes */
.gallery__toggle.seg { position: absolute; }
.gallery__slides { grid-template-rows: 100%; }
.gallery__slide { height: 100%; min-height: 0; overflow: hidden; }
.gallery__img { max-height: 100%; height: auto; }
.gallery .gallery__stage { margin-top: 0; }
.gallery__slide { position: relative; padding: 0; }
.gallery__slide .gallery__img { position: absolute; inset: 7%; width: 86%; height: 86%; max-width: none; max-height: none; object-fit: contain; border-radius: 0; }
.placeholder-note { display: block; border-radius: 14px; line-height: 1.45; max-width: 640px; }
.placeholder-note .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.chip { white-space: nowrap; flex: none; }
@media (min-width: 600px) and (max-width: 899px) { .snap-row { grid-auto-columns: 46%; } .gallery__slides.snap-row { grid-auto-columns: 100%; } }

/* ---------- PDP gallery v2: transparent cut-outs + photo slide + 3D poster ---------- */
.gallery__slide .gallery__img { filter: drop-shadow(0 22px 24px rgba(90,10,30,.28)); }
.gallery__slide--photo .gallery__img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.gallery__3d-poster { position: absolute; left: 50%; top: 50%; height: 78%; width: auto; max-width: none; transform: translate(-50%, -52%); transition: opacity .6s var(--ease); filter: drop-shadow(0 22px 24px rgba(90,10,30,.28)); }
.gallery__3d canvas { position: relative; z-index: 1; opacity: 0; transition: opacity .6s var(--ease); }
.gallery__3d.is-ready canvas { opacity: 1; }
.gallery__3d.is-ready .gallery__3d-poster, .gallery__3d.is-ready .gallery__loader { opacity: 0; }
.gallery__loader { position: absolute; z-index: 2; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 3px solid rgba(184,20,60,.18); border-top-color: var(--red); animation: spin .8s linear infinite; transition: opacity .3s; }
.gallery__thumb img { filter: drop-shadow(0 4px 6px rgba(90,10,30,.2)); }
.fcard__img, .pcard__img { border-radius: 0; filter: drop-shadow(0 20px 22px rgba(90,10,30,.28)); }

/* ---------- Mobile app polish ---------- */
@media (max-width: 899px) {
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn { padding: 0 12px; }
  .hero-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
  .hero-price strong { color: var(--red); }
  .hero-price .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--pink); }
  .hero-lead { font-size: .95rem; line-height: 1.5; }
  .fcard__media, .pcard__media { aspect-ratio: 1 / .78; }
  .fcard__body { padding: 18px; gap: 8px; }
  .fcard__title { font-size: 1.45rem; }
  .ing-card { min-height: 380px; padding: 24px; }
  .section-head { margin-bottom: 26px; }
  .berry { width: calc(56px * var(--s)); opacity: .95; }
  .flavor__photo { transform: none; }
  .benefits__visual { padding-bottom: 28px; }
  .benefits__note .script { font-size: 1.2rem; }
  .cta-final__jar { width: min(280px, 64vw); }
  .acc summary { padding: 18px; font-size: .98rem; }
  .acc__body { padding: 0 18px 18px; }
  .footer { padding-top: 64px; }
  .footer__legal { flex-direction: column; gap: 6px; }
  .footer__credit { margin-left: 0 !important; }
}
/* tactile press feedback on touch */
@media (hover: none) {
  .fcard:active, .pcard:active, .ccard:active, .benefit:active, .rcard:active { transform: scale(.985); transition: transform .15s; }
}
.tabbar__item.is-active::before { animation: tabPop .45s var(--ease-spring); }
@keyframes tabPop { from { transform: scale(.4); opacity: 0; } }

/* Phone: poster stills follow the measured layout from app.js (same as the 3D jar) */
.story__stage.is-measured .story__poster--hero { top: var(--ph-top); height: var(--ph-h); }
.story__stage.is-measured .story__poster--open { top: var(--po-top); height: var(--po-h); }
@container (min-aspect-ratio: 21/20) and (min-width: 600px) {
  .story__stage.is-measured .story__poster--hero { height: 110cqh; top: 52.5%; }
  .story__stage.is-measured .story__poster--open { height: 81.4cqh; top: 59.3%; }
}
/* side-by-side: the poster still never shows floating gummies under the headline */
.story__stage.is-landscape .story__poster--hero { -webkit-mask-image: linear-gradient(90deg, transparent var(--pmask, 0%), #000 calc(var(--pmask, 0%) + 5%)); mask-image: linear-gradient(90deg, transparent var(--pmask, 0%), #000 calc(var(--pmask, 0%) + 5%)); }
