/* ==========================================================================
   MHR Aesthetics — storefront styles
   Brand kit: MHR Green #385A1C · Ivory #F8F5F0 · Ink #1F2A36 · Stone #E6DFD6
   Type: Cormorant Garamond (display) + Jost (UI)
   Product accents are applied per product through --accent / --accent-deep / --accent-soft
   ========================================================================== */

:root {
  --green: #385A1C;
  --green-deep: #28410F;
  --green-ink: #1C2E0A;
  --green-soft: #E9EEDF;
  --green-mist: #F2F5EC;
  --ivory: #F8F5F0;
  --paper: #FFFDF9;
  --stone: #E6DFD6;
  --stone-2: #D7CDC0;
  --sand: #EFE9E1;
  --ink: #1F2A36;
  --ink-2: #3A4552;
  --muted: #646D76;
  --line: rgba(31, 42, 54, .12);
  --line-2: rgba(31, 42, 54, .2);
  --sale: #A8322A;

  --accent: var(--green);
  --accent-deep: var(--green-deep);
  --accent-soft: var(--green-soft);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 44px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 54, .06), 0 2px 8px rgba(31, 42, 54, .04);
  --shadow: 0 10px 30px -12px rgba(31, 42, 54, .18), 0 2px 6px rgba(31, 42, 54, .05);
  --shadow-lg: 0 30px 80px -24px rgba(31, 42, 54, .35);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;
}

/* ---------- Page transitions (same-origin navigations in supporting browsers) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, .h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg.logo-svg, svg.fill { fill: currentColor; stroke: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; overflow-x: clip; }
html { overflow-x: clip; }
.section-tight { padding-block: calc(var(--section) * .6); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--green-mist); }
.bg-green { background: var(--green-deep); color: var(--ivory); }

/* ---------- Typography ---------- */
.display, h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.04; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
h4, .h4 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
h1 em, h2 em, h3 em, .display em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); line-height: 1.7; max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap .3s var(--ease), color .2s;
}
.link-arrow::after { content: "→"; font-size: 15px; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: var(--ivory); --bd: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, rgba(255, 255, 255, .14));
  transform: translateY(101%); transition: transform .45s var(--ease-out);
  border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--bg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --bg: var(--green); --fg: var(--ivory); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-accent { --bg: var(--accent); --fg: #fff; }
.btn-light { --bg: var(--ivory); --fg: var(--ink); --hover: rgba(56, 90, 28, .1); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); --hover: rgba(31, 42, 54, .06); }
.btn-ghost:hover { box-shadow: none; border-color: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(248, 245, 240, .4); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 16px; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: rgba(31, 42, 54, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.count-bubble {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--green); color: var(--ivory);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
  transform: scale(1); transition: transform .3s var(--ease-spring);
}
.count-bubble[data-count="0"] { transform: scale(0); }
.count-bubble.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .04em;
  background: var(--accent-soft); color: var(--accent-deep);
}
.pill svg { width: 14px; height: 14px; }
.pill-outline { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper);
  font-size: 14px; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Announcement bar ---------- */
.announce {
  position: relative; z-index: 60;
  background: var(--green-deep); color: var(--ivory);
  font-size: 13px; letter-spacing: .04em; text-align: center;
  height: 38px; overflow: hidden;
}
.announce-track { position: relative; height: 100%; }
.announce-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 44px;
  opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.announce-msg.on { opacity: 1; transform: none; }
.announce-msg.off { opacity: 0; transform: translateY(-100%); }
.announce-msg b { font-weight: 500; color: #DCE7C9; }
.announce-msg a { border-bottom: 1px solid rgba(248, 245, 240, .5); }
.announce-msg svg { width: 16px; height: 16px; opacity: .8; }

/* ---------- Header ---------- */
/* Placeholder app.js replaces with the announcement bar + header: hold their height so the page doesn't jump */
#site-header { height: calc(38px + var(--header-h) + 1px); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
  view-transition-name: site-header;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(31, 42, 54, .3); background: rgba(248, 245, 240, .92); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 16px; }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > a, .nav > .has-mega > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 14px; font-size: 14px; font-weight: 400; letter-spacing: .04em;
}
.nav > a::after, .nav > .has-mega > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav > .has-mega:hover > button::after, .nav > .has-mega > button[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav .has-mega { height: 100%; }
.nav .has-mega > button svg { width: 12px; height: 12px; transition: transform .3s; }
.nav .has-mega > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--green); line-height: 1; }
.logo .logo-svg { height: 28px; width: auto; }
.logo .logo-sub { font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink); padding-left: .42em; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.menu-btn { display: none; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(31, 42, 54, .3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 2.4fr; gap: 48px; padding-block: 40px 44px; }
.mega h4, .mega .h4 { color: var(--muted); margin-bottom: 18px; font-size: 11px; }
.mega-links a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; transition: color .2s, transform .3s var(--ease); }
.mega-links a:hover { color: var(--green); transform: translateX(4px); }
.mega-links .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mega-feature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mega-card { display: block; border-radius: var(--r); overflow: hidden; background: var(--accent-soft); transition: transform .4s var(--ease); }
.mega-card:hover { transform: translateY(-4px); }
.mega-card .mc-media { height: 168px; display: flex; align-items: center; justify-content: center; padding: 16px 12px 10px; }
.mega-card .mc-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(31, 42, 54, .14)); transition: transform .6s var(--ease); }
.mega-card:hover .mc-media img { transform: scale(1.06); }
.mega-card .mc-body { padding: 0 14px 14px; }
.mega-card b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.15; }
.mega-card span { font-size: 12px; color: var(--muted); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
}
.mobile-nav .mn-panel {
  position: absolute; inset: 0 auto 0 0; width: min(420px, 88vw); background: var(--paper);
  transform: translateX(-100%); transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav .mn-scrim { position: absolute; inset: 0; background: rgba(20, 28, 36, .45); opacity: 0; transition: opacity .4s; }
.mobile-nav.open { pointer-events: auto; }
.mobile-nav.open .mn-panel { transform: none; }
.mobile-nav.open .mn-scrim { opacity: 1; }
.mn-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.mn-top .logo { align-items: flex-start; }
.mn-links { padding: 12px 24px; }
.mn-links > a, .mn-links summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font-family: var(--serif); font-size: 28px; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.mn-links summary::-webkit-details-marker { display: none; }
.mn-links summary svg { width: 18px; height: 18px; transition: transform .3s; }
.mn-links > a svg { width: 18px; height: 18px; opacity: .45; transition: transform .3s var(--ease), opacity .3s; }
.mn-links > a:hover svg { transform: translateX(4px); opacity: 1; }
.mn-links details[open] summary svg { transform: rotate(45deg); }
.mn-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.mn-sub a { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-sm); background: var(--accent-soft); font-size: 14px; line-height: 1.25; }
.mn-sub a img { height: 84px; width: auto; object-fit: contain; align-self: center; }
.mn-foot { margin-top: auto; padding: 24px; background: var(--sand); display: grid; gap: 12px; font-size: 14px; }
.mn-foot a { display: flex; align-items: center; gap: 10px; }
.mn-foot svg { width: 18px; height: 18px; }

/* ---------- Search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.search-ov .so-scrim { position: absolute; inset: 0; background: rgba(20, 28, 36, .4); opacity: 0; transition: opacity .35s; }
.search-ov .so-panel {
  position: absolute; inset: 0 0 auto 0; background: var(--paper); max-height: 92vh; overflow-y: auto;
  transform: translateY(-100%); transition: transform .5s var(--ease-out); box-shadow: var(--shadow-lg);
}
.search-ov.open { pointer-events: auto; }
.search-ov.open .so-scrim { opacity: 1; }
.search-ov.open .so-panel { transform: none; }
.so-bar { display: flex; align-items: center; gap: 14px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.so-bar svg { width: 24px; height: 24px; color: var(--muted); flex: none; }
.so-bar input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(26px, 3.5vw, 40px); outline: none; min-width: 0; }
.so-bar input::placeholder { color: #A9AFB5; }
.so-body { padding-block: 28px 40px; }
.so-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.so-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.so-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r); transition: background .2s; }
.so-item:hover, .so-item.active { background: var(--sand); }
.so-item .so-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--accent-soft); display: grid; place-items: center; flex: none; overflow: hidden; }
.so-item .so-thumb img { max-height: 54px; width: auto; }
.so-item b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.15; }
.so-item span { font-size: 13px; color: var(--muted); }
.so-empty { padding: 24px 0; color: var(--muted); }
.so-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Drawer (bag) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(20, 28, 36, .42); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(460px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; }
.drawer-head h3 sup { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: var(--paper); }
.drawer .ship-meter { margin: 16px 0 6px; }

.ship-meter { font-size: 13.5px; color: var(--ink-2); }
.ship-meter b { color: var(--green); font-weight: 600; }
.ship-meter .bar { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--stone); overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #6E9A3E); transition: width .8s var(--ease-out); }

.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: li-in .45s var(--ease-out) both; }
@keyframes li-in { from { opacity: 0; transform: translateX(16px); } }
.line-item .li-media { position: relative; width: 84px; height: 100px; border-radius: var(--r-sm); background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.line-item .li-media img { max-height: 88px; width: auto; object-fit: contain; }
.line-item .li-media .qbadge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; padding: 0 6px; }
.li-title { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.15; display: block; }
.li-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.li-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.li-remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.li-remove:hover { color: var(--sale); }
.li-price { text-align: right; font-size: 15px; font-weight: 500; white-space: nowrap; }
.li-price s { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 36px; background: var(--paper); }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; font-size: 17px; color: var(--ink-2); border-radius: 999px; transition: background .2s; }
.qty button:hover { background: var(--sand); }
.qty input { width: 32px; text-align: center; border: 0; background: none; font-size: 14px; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.lg { height: 56px; }
.qty.lg button { width: 46px; font-size: 20px; }
.qty.lg input { width: 40px; font-size: 16px; }

.sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); }
.sum-row.discount { color: var(--green); }
.sum-row.total { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; color: var(--ink); }
.sum-row.total span:last-child { font-family: var(--serif); font-size: 26px; }
.drawer-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.drawer-note svg { width: 14px; height: 14px; }

.upsell { margin-top: 22px; padding: 16px; border-radius: var(--r); background: var(--sand); }
.upsell h4, .upsell .h4 { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.upsell-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.upsell-row + .upsell-row { margin-top: 10px; }
.upsell-row .um { width: 56px; height: 56px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }
.upsell-row .um img { max-height: 48px; width: auto; }
.upsell-row b { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.15; display: block; }
.upsell-row span { font-size: 13px; color: var(--muted); }
.upsell-row .add-mini { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease-spring), background .2s; }
.upsell-row .add-mini:hover { transform: scale(1.1); background: var(--green); }
.upsell-row .add-mini svg { width: 16px; height: 16px; }

.empty { text-align: center; padding: 64px 12px; display: grid; justify-items: center; gap: 14px; }
.empty .display { font-size: 32px; }
.empty p { color: var(--muted); }
.empty-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.empty-icon svg { width: 32px; height: 32px; }

/* ---------- Modal (quick view, notify) ---------- */
.modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal .m-scrim { position: absolute; inset: 0; background: rgba(20, 28, 36, .5); opacity: 0; transition: opacity .35s; }
.modal .m-box {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .35s var(--ease), transform .5s var(--ease-out);
}
.modal.sm .m-box { width: min(480px, 100%); }
.modal.open { pointer-events: auto; }
.modal.open .m-scrim { opacity: 1; }
.modal.open .m-box { opacity: 1; transform: none; }
.m-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--paper); box-shadow: var(--shadow-sm); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: var(--accent-soft); display: grid; place-items: center; padding: 40px; min-height: 420px; position: relative; }
.qv-media img { max-height: 440px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(31, 42, 54, .18)); }
.qv-info { padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.qv-info h2 { font-size: clamp(30px, 3vw, 40px); }
.qv-info .desc { color: var(--ink-2); font-size: 15px; }
.qv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.qv-actions .btn { flex: 1; }
.notify-box { padding: 40px 32px 32px; text-align: center; display: grid; gap: 14px; }
.notify-box img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--r); margin: 0 auto 6px; }
.notify-box form { display: grid; gap: 10px; margin-top: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 99;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--ink); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: 14px; transform: translate(-50%, 140%); opacity: 0;
  transition: transform .55s var(--ease-out), opacity .3s; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .t-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.toast .t-ico svg { width: 16px; height: 16px; stroke-width: 2; }
.toast button { margin-left: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: #DCE7C9; white-space: nowrap; }

/* ---------- Floating buttons ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 10px; justify-items: end; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; box-shadow: 0 14px 30px -10px rgba(28, 46, 10, .55);
  transition: transform .35s var(--ease-spring), opacity .3s, visibility .3s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab-top { width: 44px; height: 44px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: #fff; font-size: 13px; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.fab-wrap { position: relative; }
.fab-wrap:hover .fab-label { opacity: 1; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s); }
.split-words.in .w > span { transform: none; }

/* ---------- Molecule motif ---------- */
.molecule { position: absolute; pointer-events: none; color: var(--accent); opacity: .16; }
.molecule svg { width: 100%; height: 100%; stroke-width: 1.2; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(50px, 7vw, 104px); line-height: .98; }
.hero h1 em { color: var(--green); }
.hero .lead { margin-top: 26px; font-size: clamp(16px, 1.3vw, 19px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hero-trust svg { width: 22px; height: 22px; color: var(--green); }

.hero-stage { position: relative; aspect-ratio: 1 / 1.04; max-height: 680px; width: 100%; }
.hero-arch {
  position: absolute; inset: 0 6% 0 6%;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(56, 90, 28, .2), transparent 60%),
    linear-gradient(180deg, #EEF2E5 0%, #DDE6CF 100%);
  overflow: hidden;
}
.hero-arch::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(255, 253, 249, .55));
}
.hero-arch .molecule { opacity: .22; color: var(--green); }
.hero-products { position: absolute; inset: 0; }
.hp { position: absolute; bottom: 9%; filter: drop-shadow(0 26px 22px rgba(28, 46, 10, .22)); will-change: transform; }
.hp img { height: 100%; width: auto; }
.hp-1 { height: 54%; left: 13%; z-index: 2; }
.hp-2 { height: 58%; left: 33%; z-index: 3; bottom: 7%; }
.hp-3 { height: 62%; left: 52%; z-index: 2; bottom: 10%; }
.hp-4 { height: 60%; left: 68%; z-index: 1; bottom: 12%; }
.hp-in { animation: hp-rise 1.3s var(--ease-out) both; animation-delay: var(--d); }
@keyframes hp-rise { from { opacity: 0; transform: translateY(60px); } }
.hp .par { height: 100%; transition: transform .8s var(--ease-out); }
.hp .float { animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); height: 100%; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 253, 249, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.25;
  animation: hp-rise 1.2s var(--ease-out) both; animation-delay: var(--d);
}
.hero-chip .hc-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c, var(--green)); flex: none; font-weight: 600; font-size: 12px; }
.hero-chip .hc-ico svg { width: 18px; height: 18px; }
.hero-chip b { display: block; font-weight: 500; }
.hero-chip span { color: var(--muted); font-size: 12px; }
.hero-chip.c1 { top: 16%; left: -2%; --d: .9s; }
.hero-chip.c2 { bottom: 20%; right: -2%; --d: 1.1s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee-item { display: inline-flex; align-items: center; gap: 44px; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); font-style: italic; white-space: nowrap; color: var(--ink-2); }
.marquee-item::after { content: ""; width: 7px; height: 7px; background: var(--green); transform: rotate(45deg); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Focus selector ---------- */
.focus { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.focus-tabs { display: grid; gap: 10px; align-content: start; }
.focus-tab {
  --accent: var(--c);
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; text-align: left;
  padding: 14px 18px 14px 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--paper); transition: all .35s var(--ease);
}
.focus-tab .ft-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.focus-tab .ft-ico img { height: 44px; width: auto; }
.focus-tab b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.focus-tab span { font-size: 13px; color: var(--muted); }
.focus-tab .arrow { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: all .35s var(--ease); }
.focus-tab .arrow svg { width: 14px; height: 14px; }
.focus-tab:hover { border-color: var(--accent); transform: translateX(4px); }
.focus-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 18px 36px -18px var(--accent); }
.focus-tab[aria-selected="true"] span { color: rgba(255, 255, 255, .8); }
.focus-tab[aria-selected="true"] .arrow { background: #fff; color: var(--accent); border-color: #fff; transform: rotate(-45deg); }
.focus-tab[aria-selected="true"] .ft-ico { background: rgba(255, 255, 255, .92); }

.focus-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--accent-soft); min-height: 520px; transition: background .6s var(--ease); }
.focus-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.focus-slide.active { position: relative; opacity: 1; visibility: visible; transition-delay: 0s; }
.focus-slide .fs-media { position: relative; display: grid; place-items: center; padding: 32px; }
.focus-slide .fs-media img { max-height: 420px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 28px rgba(31, 42, 54, .2)); transform: translateY(20px) scale(.96); opacity: 0; transition: all .9s var(--ease-out) .1s; }
.focus-slide.active .fs-media img { transform: none; opacity: 1; }
.focus-slide .fs-media .molecule { opacity: .25; }
.focus-slide .fs-copy { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 52px) 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.focus-slide .fs-copy > * { opacity: 0; transform: translateY(14px); transition: all .7s var(--ease-out); }
.focus-slide.active .fs-copy > * { opacity: 1; transform: none; }
.focus-slide.active .fs-copy > *:nth-child(2) { transition-delay: .06s; }
.focus-slide.active .fs-copy > *:nth-child(3) { transition-delay: .12s; }
.focus-slide.active .fs-copy > *:nth-child(4) { transition-delay: .18s; }
.focus-slide.active .fs-copy > *:nth-child(5) { transition-delay: .24s; }
.focus-slide.active .fs-copy > *:nth-child(6) { transition-delay: .3s; }
.focus-slide h3 { font-size: clamp(30px, 3vw, 42px); }
.focus-slide .fs-actives { display: flex; flex-wrap: wrap; gap: 6px; }
.focus-slide .fs-actives .pill { background: rgba(255, 255, 255, .75); }
.focus-slide .fs-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Price ---------- */
.price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 500; white-space: nowrap; }
.price .now { color: var(--ink); }
.price.on-sale .now { color: var(--sale); }
.price s { color: var(--muted); font-weight: 400; font-size: .86em; }
.price-lg { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.price-lg s { font-family: var(--sans); font-size: 16px; }
.save-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #F6E3E0; color: var(--sale); font-size: 12px; font-weight: 600; letter-spacing: .04em; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--accent-soft); isolation: isolate;
}
.card-media::before {
  content: ""; position: absolute; inset: auto 12% 9% 12%; height: 12%; z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(31, 42, 54, .2), transparent 70%);
  filter: blur(6px); transition: transform .8s var(--ease-out), opacity .5s;
}
.card-media .cm-main {
  position: absolute; inset: 10% 10% 12%; width: 80%; height: 78%; object-fit: contain; z-index: 1;
  transition: transform 1s var(--ease-out), opacity .6s var(--ease);
}
.card-media .cm-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); }
.card-media .cm-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) {
  .card:hover .cm-main { transform: scale(1.05) translateY(-2%); }
  .card:hover .cm-alt { opacity: 1; transform: none; }
  .card:hover .cm-photo { transform: scale(1.05); }
}
.card-badges { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge.sale { background: var(--sale); color: #fff; }
.badge.dark { background: var(--ink); color: #fff; }
.badge.green { background: var(--green); color: #fff; }
.badge.accent { background: var(--accent); color: #fff; }
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 253, 249, .92); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), color .2s;
}
.wish-btn svg { width: 19px; height: 19px; transition: fill .25s, transform .4s var(--ease-spring); }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn[aria-pressed="true"] { color: var(--sale); }
.wish-btn[aria-pressed="true"] svg { fill: currentColor; animation: heart .5s var(--ease-spring); }
@keyframes heart { 40% { transform: scale(1.35); } }
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 8px;
  transform: translateY(calc(100% + 16px)); transition: transform .55s var(--ease-out);
}
.card-quick .btn { flex: 1; min-height: 46px; font-size: 14px; padding: 0 14px; }
.card-quick .btn-light { flex: 0 0 46px; padding: 0; background: rgba(255, 253, 249, .95); }
.card-quick .btn-light svg { width: 20px; height: 20px; }
@media (hover: hover) { .card:hover .card-quick, .card:focus-within .card-quick { transform: none; } }
.card-add-mobile { display: none; }
.card-body { padding: 18px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-line { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; }
.card-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.card-title { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; line-height: 1.15; transition: color .2s; }
.card-title:hover { color: var(--accent-deep); }
.card-sub { font-size: 13.5px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-foot .price { font-size: 16px; }
.card-size { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: #C0892F; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .off { color: var(--stone-2); }

/* Bundle card */
.card.is-bundle .card-media { aspect-ratio: 1 / 1; }
.card.is-bundle .cm-main { inset: 0; width: 100%; height: 100%; }
.bundle-includes { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.bundle-includes span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.bundle-includes i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* Coming soon card */
.card.is-soon .card-media { background: #EDEAE5; }
.card.is-soon .cm-photo { filter: saturate(.95); }

/* ---------- Shoppable shelf ---------- */
.shelf { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #E9E6E2; }
.shelf-scroller { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shelf-scroller::-webkit-scrollbar { display: none; }
.shelf-canvas { position: relative; aspect-ratio: 1600 / 720; min-width: 100%; }
.shelf-canvas > img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.hotspot > button {
  position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 253, 249, .95);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(31, 42, 54, .25); transition: transform .35s var(--ease-spring);
}
.hotspot > button::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 253, 249, .8); animation: pulse 2.4s var(--ease) infinite; }
.hotspot > button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transition: transform .3s; }
.hotspot > button:hover, .hotspot.open > button { transform: scale(1.15); }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.hs-card {
  position: absolute; bottom: calc(100% + 14px); left: 50%; width: 260px; z-index: 3;
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .35s var(--ease);
}
.hotspot.open .hs-card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hotspot.flip .hs-card { left: auto; right: -14px; transform: translate(0, 8px); }
.hotspot.flip.open .hs-card { transform: none; }
.hs-card .hs-m { width: 64px; height: 64px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.hs-card .hs-m img { max-height: 56px; width: auto; }
.hs-card b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.15; }
.hs-card .price { font-size: 13px; margin-top: 2px; }
.hs-card .hs-link { font-size: 12px; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.shelf-caption { position: absolute; left: 24px; bottom: 22px; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(255, 253, 249, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; box-shadow: var(--shadow-sm); }
.shelf-caption svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Routine switcher ---------- */
.routine-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: rgba(248, 245, 240, .12); border: 1px solid rgba(248, 245, 240, .2);
}
.toggle button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; transition: color .4s; color: rgba(248, 245, 240, .8); }
.toggle button svg { width: 18px; height: 18px; }
.toggle button[aria-selected="true"] { color: var(--green-deep); }
.toggle .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ivory); transition: transform .55s var(--ease-out); }
.toggle[data-active="PM"] .thumb { transform: translateX(100%); }
.routine-steps { display: grid; gap: 12px; counter-reset: step; }
.r-step {
  counter-increment: step; display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: var(--r); background: rgba(248, 245, 240, .07); border: 1px solid rgba(248, 245, 240, .12);
  transition: background .3s, transform .4s var(--ease); animation: li-in .6s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms);
}
.r-step:hover { background: rgba(248, 245, 240, .12); transform: translateX(4px); }
.r-step .rs-m { width: 88px; height: 88px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.r-step .rs-m img { max-height: 74px; width: auto; }
.r-step .rs-m.generic { background: rgba(248, 245, 240, .1); color: var(--ivory); }
.r-step .rs-m.generic svg { width: 32px; height: 32px; }
.r-step small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #BFD3A0; }
.r-step small::before { content: "Step " counter(step); }
.r-step b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; margin: 2px 0; }
.r-step p { font-size: 13.5px; color: rgba(248, 245, 240, .72); }
.r-step .add-mini { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(248, 245, 240, .3); display: grid; place-items: center; transition: all .3s var(--ease); }
.r-step .add-mini:hover { background: var(--ivory); color: var(--green-deep); }
.r-step .add-mini svg { width: 16px; height: 16px; }
.routine-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.routine-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.routine-media img.hide { opacity: 0; transform: scale(1.06); }
.bg-green h2, .bg-green h3 { color: var(--ivory); }
.bg-green h2 em { color: #BFD3A0; }
.bg-green .eyebrow { color: #BFD3A0; }
.bg-green .lead { color: rgba(248, 245, 240, .78); }

/* ---------- Ingredients rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--stone-2) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; }
.rail-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-nav svg { width: 18px; height: 18px; }
.ing-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 26px;
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.ing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ing-card .ic-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); opacity: .9; font-style: italic; }
.ing-card h3 { font-size: 26px; }
.ing-card p { font-size: 14px; color: var(--ink-2); }
.ing-card .ic-in { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.ing-card .molecule { width: 160px; height: 100px; right: -30px; top: 10px; opacity: .12; transition: transform 1s var(--ease-out); }
.ing-card:hover .molecule { transform: rotate(-8deg) scale(1.1); }

/* ---------- Feature banner ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--accent-soft); }
.feature-media { position: relative; min-height: 520px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { font-size: clamp(34px, 4vw, 56px); }
.feature-copy .lead { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--paper); padding: 16px 12px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--accent-deep); line-height: 1.1; }
.stat span { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value .v-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 22px; }
.value .v-ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--ink-2); }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(28, 46, 10, .45); opacity: 0; transition: opacity .4s; }
.insta a svg { position: absolute; z-index: 1; left: 50%; top: 50%; width: 30px; height: 30px; color: #fff; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: all .4s var(--ease-spring); }
.insta a:hover img { transform: scale(1.06); }
.insta a:hover::after { opacity: 1; }
.insta a:hover svg { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--accent-deep); }
.accordion summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: all .3s var(--ease); }
.accordion summary .pm::before, .accordion summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.accordion summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary .pm { background: var(--ink); color: #fff; border-color: var(--ink); }
.accordion details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-body { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; max-width: 72ch; overflow: hidden; }
.acc-body p + p { margin-top: 10px; }
.acc-body ul { display: grid; gap: 6px; }
.acc-body li { padding-left: 18px; position: relative; }
.acc-body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.acc-sm summary { font-size: 15px; padding: 18px 0; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--green-deep); color: var(--ivory); padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { color: var(--ivory); font-size: clamp(34px, 4vw, 56px); }
.newsletter h2 em { color: #BFD3A0; }
.newsletter p { color: rgba(248, 245, 240, .75); margin-top: 14px; }
.newsletter form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(248, 245, 240, .1); border: 1px solid rgba(248, 245, 240, .2); }
.nl-row input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; color: var(--ivory); outline: none; font-size: 15px; }
.nl-row input::placeholder { color: rgba(248, 245, 240, .55); }
.newsletter .consent { font-size: 12px; color: rgba(248, 245, 240, .6); display: flex; gap: 10px; align-items: flex-start; }
.newsletter .consent input { margin-top: 3px; accent-color: #BFD3A0; }
.newsletter .molecule { color: #BFD3A0; opacity: .14; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-ink); color: rgba(248, 245, 240, .78); padding-top: clamp(56px, 7vw, 96px); margin-top: var(--section); font-size: 14.5px; }
.site-footer.flush { margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand .logo { color: var(--ivory); align-items: flex-start; }
.footer-brand .logo .logo-svg { height: 34px; }
.footer-brand .logo .logo-sub { color: rgba(248, 245, 240, .7); }
.footer-brand .tag { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--ivory); margin: 24px 0 12px; line-height: 1.2; }
.footer-brand p { max-width: 36ch; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(248, 245, 240, .22); display: grid; place-items: center; transition: all .3s; }
.social a:hover { background: var(--ivory); color: var(--green-ink); }
.social svg { width: 18px; height: 18px; }
.site-footer h4, .site-footer .h4 { color: var(--ivory); font-size: 11.5px; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--ivory); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-pay span { font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(248, 245, 240, .22); }
.footer-word { overflow: hidden; color: rgba(248, 245, 240, .045); line-height: .8; user-select: none; }
.footer-word .logo-svg { width: 100%; height: auto; transform: translateY(24%); margin-top: -4%; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(248, 245, 240, .12); font-size: 12.5px; color: rgba(248, 245, 240, .55); }
.footer-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.page-hero .lead { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Shop ---------- */
.shop-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs .chip { flex: none; }
.chip .n { font-size: 12px; opacity: .6; }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; margin-bottom: 28px; background: rgba(248, 245, 240, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar-right { display: flex; align-items: center; gap: 12px; flex: none; }
.result-count { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.concern-row { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 32px; align-items: center; }
.concern-row .lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.concern-row .chip { min-height: 34px; font-size: 13px; padding: 0 14px; }
.concern-row .clear { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); margin-left: 4px; }
.shop-grid-wrap { min-height: 400px; }
.grid-anim > * { animation: grid-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes grid-in { from { opacity: 0; transform: translateY(18px); } }
.shop-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: var(--ivory); margin-top: clamp(56px, 7vw, 96px); }
.shop-banner .sb-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.shop-banner h2 { color: var(--ivory); font-size: clamp(32px, 3.6vw, 52px); }
.shop-banner h2 em { color: #BFD3A0; }
.shop-banner p { color: rgba(248, 245, 240, .75); }
.shop-banner .sb-media { position: relative; min-height: 340px; }
.shop-banner .sb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product page ---------- */
.pdp { padding-block: 20px clamp(56px, 7vw, 96px); }
.pdp-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; border: 1.5px solid transparent; background: var(--accent-soft); transition: border-color .25s, opacity .25s; opacity: .7; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.cut img { object-fit: contain; padding: 6px; }
.thumbs button[aria-current="true"], .thumbs button:hover { border-color: var(--ink); opacity: 1; }
.stage { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--accent-soft); aspect-ratio: 1 / 1.06; }
.stage-track { display: flex; height: 100%; transition: transform .7s var(--ease-out); }
.stage-slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; cursor: zoom-in; }
.stage-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage-slide.cut { display: grid; place-items: center; }
.stage-slide.cut img { width: 72%; height: 82%; object-fit: contain; filter: drop-shadow(0 34px 30px rgba(31, 42, 54, .22)); }
.stage-slide.zoom img { transform: scale(1.9); }
.stage-slide.cut.zoom img { transform: scale(1.6); }
.stage .card-badges { top: 20px; left: 20px; }
.stage-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: none; gap: 6px; z-index: 3; }
.stage-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(31, 42, 54, .25); transition: all .35s var(--ease); }
.stage-dots i.on { width: 22px; background: var(--ink); }
.stage-arrows { position: absolute; inset: 50% 14px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; z-index: 3; }
.stage-arrows button { pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 253, 249, .9); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .3s, transform .3s; }
.stage:hover .stage-arrows button { opacity: 1; }
.stage-arrows button:hover { transform: scale(1.06); }
.stage-arrows svg { width: 18px; height: 18px; }

.pdp-info { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.pdp-info .line-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.pdp-info .line-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pdp-info h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.02; }
.pdp-sub { font-size: 16px; color: var(--ink-2); }
.pdp-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 4px; }
.pdp-price-row small { color: var(--muted); font-size: 13px; }
.pdp-desc { color: var(--ink-2); font-size: 15.5px; }
.pdp-free { display: flex; flex-wrap: wrap; gap: 6px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn-accent, .buy-row .btn-primary { flex: 1; min-height: 56px; min-width: 200px; }
.buy-row .wish-inline { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; flex: none; }
.buy-row .wish-inline svg { width: 22px; height: 22px; }
.buy-row .wish-inline[aria-pressed="true"] { color: var(--sale); border-color: var(--sale); }
.buy-row .wish-inline[aria-pressed="true"] svg { fill: currentColor; }
.buy-now { width: 100%; min-height: 56px; }
.wa-order { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 999px; border: 1px solid #25D366; color: #128C4A; font-size: 14.5px; font-weight: 500; transition: all .25s; }
.wa-order:hover { background: #25D366; color: #fff; }
.wa-order svg { width: 20px; height: 20px; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.assure > div { background: var(--paper); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.35; }
.assure svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; }
.assure b { display: block; font-weight: 500; font-size: 13.5px; }
.assure span { color: var(--muted); font-size: 12.5px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); transition: transform .3s var(--ease); }
.doc-link:hover { transform: translateX(4px); }
.doc-link .dl-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.doc-link .dl-ico svg { width: 22px; height: 22px; }
.doc-link b { display: block; font-weight: 500; font-size: 14.5px; }
.doc-link span { font-size: 12.5px; color: var(--muted); }
.doc-link .go { margin-left: auto; width: 18px; height: 18px; }

.bundle-list { display: grid; gap: 10px; }
.bundle-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: border-color .25s; }
.bundle-item:hover { border-color: var(--accent); }
.bundle-item .bi-m { width: 70px; height: 70px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.bundle-item .bi-m img { max-height: 60px; width: auto; }
.bundle-item b { font-family: var(--serif); font-size: 19px; font-weight: 500; display: block; line-height: 1.15; }
.bundle-item span { font-size: 12.5px; color: var(--muted); }

.ingredients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ing { padding: 30px 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.ing-label { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); }
.ing h3 { margin-bottom: 12px; }
.ing p, .ing li { font-size: 14.5px; color: var(--ink-2); }
.ing ul { display: grid; gap: 8px; }
.ing li b { color: var(--ink); font-weight: 500; }

.indications { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.indication { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.indication .num { font-family: var(--serif); font-size: 40px; font-style: italic; color: var(--accent); line-height: 1; }
.indication h3 { font-size: 24px; margin-bottom: 8px; }
.indication p { font-size: 14.5px; color: var(--ink-2); }

.compare-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: var(--sand); }
.compare thead th.mhr { background: var(--accent); color: #fff; }
.compare td:first-child { font-weight: 500; }
.compare td.std { color: var(--muted); }
.compare td.mhr { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); color: var(--accent-deep); font-weight: 500; }
.compare td.mhr::before { content: "✓"; margin-right: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { counter-increment: s; position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.step::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 48px; font-style: italic; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

.fbt { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }
.fbt-items { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fbt-item { position: relative; width: 168px; display: grid; gap: 10px; text-align: center; cursor: pointer; }
.fbt-item .fm { height: 168px; border-radius: var(--r); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; padding: 14px; transition: opacity .3s, filter .3s; }
.fbt-item .fm img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.fbt-item input { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; accent-color: var(--green); }
.fbt-item b { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.15; }
.fbt-item .price { font-size: 13.5px; justify-content: center; }
.fbt-item:has(input:not(:checked)) .fm { opacity: .4; filter: grayscale(.6); }
.fbt-plus { font-family: var(--serif); font-size: 32px; color: var(--muted); }
.fbt-sum { display: grid; gap: 12px; }
.fbt-sum .price-lg { font-size: 40px; }

.reviews-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px dashed var(--line-2); }
.reviews-empty .re-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.reviews-empty .re-ico svg { width: 28px; height: 28px; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; }
.review b { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.review p { font-size: 14.5px; color: var(--ink-2); }
.review small { color: var(--muted); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(255, 253, 249, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease-out); box-shadow: 0 -10px 30px -20px rgba(31, 42, 54, .3);
}
.sticky-buy.show { transform: none; }
.sticky-buy .sb-row { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.sticky-buy .sb-m { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.sticky-buy .sb-m img { max-height: 44px; width: auto; }
.sticky-buy .sb-t { flex: 1; min-width: 0; }
.sticky-buy .sb-t b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-t .price { font-size: 14px; }
.sticky-buy .btn { min-height: 48px; }
body.has-sticky .fab-stack { bottom: 92px; }

/* ---------- Routine finder (quiz) ---------- */
.quiz { position: relative; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.quiz-progress { height: 4px; background: var(--stone); }
.quiz-progress i { display: block; height: 100%; background: var(--green); width: 0; transition: width .6s var(--ease-out); }
.quiz-body { padding: clamp(28px, 5vw, 64px); min-height: 480px; }
.quiz-step { animation: qs-in .6s var(--ease-out) both; }
.quiz-step.back { animation-name: qs-in-back; }
@keyframes qs-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes qs-in-back { from { opacity: 0; transform: translateX(-30px); } }
.quiz-step .q-count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quiz-step h2 { font-size: clamp(32px, 4vw, 52px); margin: 12px 0 8px; }
.quiz-step .q-help { color: var(--muted); margin-bottom: 32px; }
.q-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.q-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 20px 22px;
  border-radius: var(--r); border: 1.5px solid var(--line); background: var(--ivory); transition: all .3s var(--ease);
}
.q-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.q-opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.q-opt .qo-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--green); margin-bottom: 6px; }
.q-opt .qo-ico svg { width: 22px; height: 22px; }
.q-opt b { font-size: 16px; font-weight: 500; }
.q-opt span { font-size: 13px; color: var(--muted); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; gap: 12px; }
.quiz-result .qr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.qr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-col { border-radius: var(--r-lg); padding: 24px; background: var(--ivory); }
.qr-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.qr-col h3 svg { width: 22px; height: 22px; color: var(--green); }
.qr-step { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.qr-step .qm { width: 64px; height: 64px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.qr-step .qm img { max-height: 54px; width: auto; }
.qr-step .qm.generic { background: var(--paper); color: var(--muted); }
.qr-step .qm.generic svg { width: 26px; height: 26px; }
.qr-step b { font-family: var(--serif); font-size: 19px; font-weight: 500; display: block; line-height: 1.15; }
.qr-step span { font-size: 13px; color: var(--muted); }
.qr-why { margin-top: 24px; padding: 20px 22px; border-radius: var(--r); background: var(--green-soft); color: var(--green-ink); font-size: 14.5px; display: grid; gap: 6px; }
.qr-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

.guide-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-card { padding: 24px; border-radius: var(--r-lg); background: var(--accent-soft); display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease); }
.guide-card:hover { transform: translateY(-4px); }
.guide-card img { height: 150px; width: auto; justify-self: center; filter: drop-shadow(0 16px 16px rgba(31, 42, 54, .18)); margin-bottom: 8px; }
.guide-card small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); }
.guide-card b { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.guide-card p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--paper); font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A36' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(56, 90, 28, .12); }
.field .err { display: none; font-size: 12.5px; color: var(--sale); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--sale); box-shadow: 0 0 0 4px rgba(168, 50, 42, .08); }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green); flex: none; }

/* ---------- Checkout ---------- */
.checkout-page { padding-block: 24px var(--section); }
.checkout-steps { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 30px; flex-wrap: wrap; }
.checkout-steps span { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.checkout-steps .done i, .checkout-steps .now i { background: var(--green); color: #fff; border-color: var(--green); }
.checkout-steps .now { color: var(--ink); font-weight: 500; }
.checkout-steps .sep { width: 28px; height: 1px; background: var(--line-2); }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.co-block { padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); margin-bottom: 16px; }
.co-block h2 { font-size: 28px; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.co-block h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--sans); font-size: 14px; display: grid; place-items: center; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; transition: all .25s; }
.pay-opt:hover { border-color: var(--line-2); }
.pay-opt:has(input:checked) { border-color: var(--green); background: var(--green-mist); }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--green); }
.pay-opt b { display: block; font-weight: 500; }
.pay-opt span { font-size: 13px; color: var(--muted); }
.pay-opt svg { width: 28px; height: 28px; color: var(--green); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--r-lg); background: var(--sand); }
.summary h2 { font-size: 28px; margin-bottom: 8px; }
.summary .line-item { grid-template-columns: 64px 1fr auto; }
.summary .line-item .li-media { width: 64px; height: 72px; overflow: visible; }
.summary .line-item .li-media img { max-height: 62px; }
.promo-row { display: flex; gap: 8px; margin: 18px 0 8px; }
.promo-row input { flex: 1; min-height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper); outline: none; }
.promo-row .btn { min-height: 46px; }
.promo-msg { font-size: 13px; }
.promo-msg.ok { color: var(--green); }
.promo-msg.bad { color: var(--sale); }
.place-order { margin-top: 8px; }
.co-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.co-assure span { display: inline-flex; align-items: center; gap: 6px; }
.co-assure svg { width: 16px; height: 16px; }
.co-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

.success { max-width: 760px; margin: 0 auto; text-align: center; padding-block: 40px 20px; }
.success .tick { width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease-spring) both; }
.success .tick svg { width: 40px; height: 40px; stroke-width: 2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h1 { font-size: clamp(40px, 5vw, 64px); }
.order-no { display: inline-block; margin: 18px 0 22px; padding: 8px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-weight: 500; font-size: 14px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; text-align: left; }
.timeline div { padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.timeline b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 8px 0 4px; }
.timeline small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.timeline p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .lead + .lead { margin-top: 14px; }
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.line-swatch { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 22px; border-radius: var(--r-lg); color: #fff; overflow: hidden; transition: transform .5s var(--ease); }
.line-swatch:hover { transform: translateY(-6px); }
.line-swatch img { position: absolute; right: -6%; bottom: -4%; height: 72%; width: auto; transition: transform .8s var(--ease-out); filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .25)); }
.line-swatch:hover img { transform: translateY(-8px) rotate(-3deg); }
.line-swatch span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; position: relative; }
.line-swatch b { font-family: var(--serif); font-size: 32px; font-weight: 500; position: relative; }
.company-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 36px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.company-card h4, .company-card .h4 { color: var(--muted); margin-bottom: 10px; font-size: 11px; }
.company-card p { font-size: 15px; }
.company-card a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateX(4px); border-color: var(--green); }
.contact-card .cc-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.contact-card .cc-ico svg { width: 24px; height: 24px; }
.contact-card b { display: block; font-weight: 500; }
.contact-card span { font-size: 13.5px; color: var(--muted); }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }

/* ---------- Policies ---------- */
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.policy-nav a { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.policy-nav a:hover { background: var(--sand); }
.policy-nav a.active { background: var(--ink); color: #fff; }
.policy { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.policy:last-child { border-bottom: 0; }
.policy h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.policy .updated { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.policy h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin: 24px 0 8px; }
.policy p { color: var(--ink-2); max-width: 72ch; }
.policy p + p { margin-top: 10px; }

/* ---------- 404 ---------- */
.nf { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .big { font-family: var(--serif); font-size: clamp(120px, 20vw, 240px); line-height: .9; color: var(--green); font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-inner { grid-template-columns: 1fr 1fr 2fr; gap: 32px; }
  .mega-feature { grid-template-columns: repeat(2, 1fr); }
  .mega-feature .mega-card:nth-child(n+3) { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .focus { grid-template-columns: 280px 1fr; }
  .guide-table { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-row { grid-template-columns: auto 1fr auto; }
  .header-row .logo { justify-self: center; }
  .header-left { display: flex; align-items: center; }
  .hide-mobile { display: none !important; }
  .logo .logo-svg { height: 24px; }
  .logo .logo-sub { font-size: 8.5px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .focus { grid-template-columns: 1fr; }
  .focus-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .focus-tab { grid-template-columns: 40px 1fr; gap: 10px; padding: 10px 12px 10px 10px; }
  .focus-tab .arrow { display: none; }
  .focus-tab .ft-ico { width: 40px; height: 40px; border-radius: 11px; }
  .focus-tab .ft-ico img { height: 34px; }
  .focus-tab b { font-size: 19px; }
  .focus-tab span { font-size: 12px; line-height: 1.3; }
  .focus-tab:hover { transform: none; }
  .focus-slide { grid-template-columns: 1fr; }
  .focus-slide .fs-media { padding: 28px 28px 0; }
  .focus-slide .fs-media img { max-height: 260px; }
  .focus-slide .fs-copy { padding: 20px 24px 32px; }
  .focus-panel { min-height: 0; }
  .routine-wrap { grid-template-columns: 1fr; }
  .routine-media { aspect-ratio: 16 / 10; order: -1; }
  .feature, .shop-banner { grid-template-columns: 1fr; }
  .feature-media { min-height: 340px; }
  .newsletter { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .stage { border-radius: var(--r-lg); margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 1 / 1.05; }
  .stage-dots { display: flex; }
  .stage-arrows { display: none; }
  .stage-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transition: none; }
  .stage-track::-webkit-scrollbar { display: none; }
  .stage-slide { scroll-snap-align: center; cursor: default; }
  .stage-track { transform: none !important; }
  .ingredients, .review-list { grid-template-columns: 1fr; }
  .indications { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fbt { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; order: -1; }
  .split { grid-template-columns: 1fr; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: relative; top: 0; grid-auto-flow: column; overflow-x: auto; scrollbar-width: none; }
  .policy-nav a { white-space: nowrap; }
  .qr-cols { grid-template-columns: 1fr; }
  .qv { grid-template-columns: 1fr; }
  .qv-media { min-height: 300px; padding: 28px; }
  .qv-media img { max-height: 280px; }
  .qv-info { padding: 26px 22px 24px; }
  .shelf-canvas { height: 380px; aspect-ratio: auto; width: calc(380px * 1600 / 720); min-width: 0; }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .hero-trust { gap: 10px 18px; }
  .hero-trust div { font-size: 13px; }
  .hero-chip { padding: 7px 12px 7px 7px; font-size: 12px; }
  .hero-chip .hc-ico { width: 30px; height: 30px; }
  .hero-chip.c1 { left: 0; top: 10%; }
  .hero-chip.c2 { right: 0; bottom: 14%; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-2 { gap: 18px 12px; }
  .card-media { border-radius: var(--r); }
  .card-quick { display: none; }
  .card-add-mobile {
    display: grid; place-items: center; position: absolute; right: 10px; bottom: 10px; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow);
    transition: transform .3s var(--ease-spring);
  }
  .card-add-mobile:active { transform: scale(.9); }
  .card-add-mobile svg { width: 18px; height: 18px; }
  .wish-btn { width: 36px; height: 36px; top: 8px; right: 8px; }
  .card-badges { top: 10px; left: 10px; }
  .badge { height: 22px; font-size: 10.5px; padding: 0 8px; }
  .card-body { padding-top: 12px; }
  .card-title { font-size: 18px; }
  .card-sub { display: none; }
  .card-line { font-size: 10px; letter-spacing: .12em; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card-foot .price { font-size: 14.5px; flex-wrap: wrap; }
  .card-size { display: none; }
  .bundle-includes { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .insta { grid-template-columns: repeat(2, 1fr); }
  .insta a:nth-child(n+5) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .toolbar { flex-wrap: wrap; top: var(--header-h); }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .r-step { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 10px 12px 10px 10px; }
  .r-step .rs-m { width: 64px; height: 64px; }
  .r-step .rs-m img { max-height: 54px; }
  .r-step b { font-size: 19px; }
  .toggle button { padding: 0 18px; height: 42px; }
  .reviews-empty { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13.5px; }
  .lines-grid { grid-template-columns: 1fr 1fr; }
  .line-swatch { min-height: 220px; }
  .line-swatch b { font-size: 24px; }
  .fbt-item { width: calc(50% - 24px); }
  .fbt-item .fm { height: 130px; }
  .buy-row { flex-wrap: nowrap; }
  .buy-row .btn-accent { min-width: 0; padding: 0 16px; }
  .buy-row .pdp-add-extra { display: none; }
  .concern-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .concern-row::-webkit-scrollbar { display: none; }
  .concern-row .chip, .concern-row .lbl { flex: none; }
  .fbt-plus { font-size: 24px; }
  .co-block, .summary { padding: 20px; }
  .newsletter { border-radius: var(--r-lg); }
  .nl-row { flex-direction: column; border-radius: var(--r); }
  .nl-row input { min-height: 48px; }
  .shelf { border-radius: var(--r-lg); }
  .mega { display: none; }
  .fab-stack { right: 14px; bottom: 14px; }
  .fab { width: 50px; height: 50px; }
  .drawer-body { padding-inline: 16px; }
  .drawer-foot { padding-inline: 16px; }
  .quiz-body { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Backend-connected UI: errors, sold out, reviews, tracking ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error, .co-error { padding: 12px 16px; border-radius: var(--r-sm); background: #F8E6E3; color: var(--sale); font-size: 14px; margin: 0 0 14px; }
.pdp-soldout { display: grid; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--sand); }
.pdp-soldout .badge { justify-self: start; }
.notify-inline { display: grid; gap: 10px; }
.review-box form { display: grid; gap: 14px; text-align: left; margin-top: 8px; }
.rate { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; border: 0; padding: 0; margin: 0; }
.rate legend { width: 100%; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; color: var(--stone-2); transition: transform .2s var(--ease-spring), color .15s; }
.rate label svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #C0892F; }
.rate label:hover { transform: scale(1.12); }
.rate input:focus-visible + label { outline: 2px solid var(--green); border-radius: 6px; }
.track-wrap { max-width: 780px; display: grid; gap: 18px; }
.track-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 22px; animation: grid-in .6s var(--ease-out) both; }
.track-msg { text-align: center; justify-items: center; gap: 16px; }
.track-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 6px 0 4px; }
.track-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.track-steps::before { content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; background: var(--stone); }
.track-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.track-steps li i { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--stone); font-style: normal; font-weight: 600; }
.track-steps li i svg { width: 16px; height: 16px; stroke-width: 2.2; }
.track-steps li.done i, .track-steps li.now i { background: var(--green); border-color: var(--green); color: #fff; }
.track-steps li.now i { box-shadow: 0 0 0 6px var(--green-soft); }
.track-steps li b { font-weight: 500; color: var(--ink); }
.track-steps li.done::after { content: ""; position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--green); }
.track-note { padding: 14px 18px; border-radius: var(--r); background: var(--green-soft); color: var(--green-ink); }
.track-items { display: grid; gap: 8px; }
.track-items li { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.track-items b { font-weight: 500; }
.track-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .track-steps li { font-size: 11.5px; }
  .track-steps li span { display: none; }
}
