/* =========================================================
   FOAM TUBE — storefront design system.
   One global stack: 'BBH Bogle','Oswald',sans-serif — Latin
   glyphs (FOAM, EN flavour names) render in Bogle, Cyrillic
   falls through to Oswald per-glyph. Oswald (condensed) carries
   display + body weight; vivid flat blocks, soft product
   shadows. Static, mobile-first, no WebGL, no scroll-pinning.
   ========================================================= */

/* ---------- fonts (self-hosted, no CDN) ---------- */
/* Oswald — condensed display + body — 300/400/500/600/700, Cyrillic + Latin */
@font-face { font-family:'Oswald'; font-style:normal; font-weight:300; font-display:swap; src:url("../fonts/oswald-300-cyrillic.woff2") format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:300; font-display:swap; src:url("../fonts/oswald-300-cyrillic-ext.woff2") format('woff2'); unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:300; font-display:swap; src:url("../fonts/oswald-300-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:300; font-display:swap; src:url("../fonts/oswald-300-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/oswald-400-cyrillic.woff2") format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/oswald-400-cyrillic-ext.woff2") format('woff2'); unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/oswald-400-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/oswald-400-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/oswald-500-cyrillic.woff2") format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/oswald-500-cyrillic-ext.woff2") format('woff2'); unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/oswald-500-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/oswald-500-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/oswald-600-cyrillic.woff2") format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/oswald-600-cyrillic-ext.woff2") format('woff2'); unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/oswald-600-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/oswald-600-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/oswald-700-cyrillic.woff2") format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/oswald-700-cyrillic-ext.woff2") format('woff2'); unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/oswald-700-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Oswald'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/oswald-700-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* BBH Bogle — Regular, Latin only (brand wordmark + EN flavour names). If the
   woff2 is absent the stack falls through to Oswald for Latin too. */
@font-face { font-family:'BBH Bogle'; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/bbh-bogle-regular.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Hanken Grotesk — dedicated price numerals (700), tabular figures + ₽. Latin
   covers digits/thin-space; latin-ext carries ₽ (U+20BD). Cyrillic falls to Oswald. */
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/hanken-grotesk-700-latin.woff2") format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Hanken Grotesk'; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/hanken-grotesk-700-latin-ext.woff2") format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --cloud: #F4F1EC; --card: #FBFAF6;
  --graphite: #1A1C1E; --g2: #44484C; --g3: #898E93;
  --hair: #DED8CE; --hair-soft: #E7E2D8;
  --brand: #241961; --brand-d: #1B1249; --brand-2: #3A2F86;
  --blue1: #241961; --blue2: #241961;
  --grad: linear-gradient(135deg, #241961 0%, #3A2F86 100%);
  --logo-light: radial-gradient(closest-side, rgba(36,25,97,.16), rgba(36,25,97,.05), transparent);
  --eco: #46AD61;
  --display: 'BBH Bogle', 'Oswald', sans-serif;
  --body: 'BBH Bogle', 'Oswald', sans-serif;
  --price: 'Hanken Grotesk', 'Oswald', sans-serif;
  --fs-h1: clamp(34px, calc(16px + 4.4vw), 84px);
  --fs-h2: clamp(28px, calc(19px + 2.3vw), 52px);
  --fs-lead: clamp(15.5px, calc(14.6px + .24vw), 18px);
  --r-lg: 28px; --r-md: 22px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--cloud); color: var(--graphite);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue1); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(100%, 1240px); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 800px; margin-inline: auto; }
section[id] { scroll-margin-top: 76px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.12; letter-spacing: 0; }
.h-sec { font-size: var(--fs-h2); font-weight: 600; }
.lead { font-size: var(--fs-lead); color: var(--g2); line-height: 1.65; }
.kicker {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--g3); display: inline-flex; align-items: center; gap: 10px; font-family: var(--body);
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--grad); }
.kicker-c { justify-content: center; }
.kicker-c::before { display: none; }
/* inline «FOAM TUBE» wordmark lockup for body copy (not the logo images) */
.wm { font-family: var(--display); font-weight: 700; font-size: 1.1em; letter-spacing: .03em; white-space: nowrap; }
.wm-t { font-size: .6em; font-weight: 700; letter-spacing: .16em; margin-left: .16em; }
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(34px, 4vw, 56px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: .01em;
  min-height: 52px; padding: 0 28px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-grad { background: var(--brand); color: #fff; box-shadow: 0 14px 30px -12px rgba(36,25,97,.5), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-grad:hover { background: var(--brand-d); }
.btn-ghost { background: transparent; border-color: var(--hair); color: var(--graphite); }
.btn-block { width: 100%; }
.btn-price { font-family: var(--price); font-weight: 700; letter-spacing: .015em; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
.pop { animation: pop .4s var(--ease); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: color-mix(in oklab, var(--cloud) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--hair-soft); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 60px; padding-inline: var(--pad); max-width: 1240px; margin-inline: auto; }
.nav-left { display: flex; gap: 20px; font-size: 14px; font-weight: 600; color: var(--g2); }
.nav-left a:hover { color: var(--graphite); }
.nav-brand { justify-self: center; display: inline-flex; align-items: center; }
.nav-brand img { height: 34px; width: auto; display: block; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
.nav-subs { font-size: 14px; font-weight: 600; color: var(--g2); padding: 0 10px; }
.nav-subs:hover { color: var(--graphite); }
.nav-ic { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--graphite); display: grid; place-items: center; cursor: pointer; position: relative; transition: background .2s; }
.nav-ic:hover { background: rgba(26,28,30,.06); }
.cart-badge { position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 100px; background: var(--blue2); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-badge[hidden] { display: none; }
.nav-burger { display: none; }
@media (max-width: 620px) {
  .nav-left a { display: none; }        /* section links move into the drawer */
  .nav-burger { display: grid; }        /* burger holds the left track → logo stays centered */
  .nav-subs { display: none; }
  .nav-right .nav-ic:not(.nav-cart) { display: none; }  /* hide (inert) search/account; cart stays */
  .promo-msg { font-size: 12px; letter-spacing: 0; }
  .promo { padding-inline: 34px; }
}

/* ---- mobile menu drawer (hamburger) ---- */
.menu { position: fixed; inset: 0; z-index: 90; }
.menu[hidden] { display: none; }
.menu-overlay { position: absolute; inset: 0; background: rgba(26,28,30,.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .28s ease; }
html.menu-open .menu-overlay { opacity: 1; }
.menu-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(300px, 82vw); display: flex; flex-direction: column; gap: 2px; padding: 78px 18px 24px; background: var(--card); box-shadow: 24px 0 60px -30px rgba(26,28,30,.5); transform: translateX(-100%); transition: transform .3s var(--ease); }
html.menu-open .menu-panel { transform: none; }
.menu-x { position: absolute; top: 16px; right: 14px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--graphite); font-size: 16px; cursor: pointer; border-radius: 50%; }
.menu-x:hover { background: rgba(26,28,30,.06); }
.menu-link { font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--graphite); text-align: left; text-decoration: none; background: transparent; border: 0; padding: 14px 10px; border-radius: 12px; cursor: pointer; }
.menu-link:hover { background: rgba(26,28,30,.05); }
html.menu-open { overflow: hidden; }

/* ============================================================
   HERO — flavour showcase (the signature)
   ============================================================ */
@property --chev-top { syntax: '<color>'; inherits: true; initial-value: #ED3DB5; }
@property --chev-bot { syntax: '<color>'; inherits: true; initial-value: #73D482; }
.showcase {
  --chev-top: #ED3DB5; --chev-bot: #73D482; --flavour-ui: #68E8D8;
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding-top: clamp(84px, 13vh, 132px); padding-bottom: clamp(40px, 6vw, 76px);
}
.sc-chevron {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: -1;
  width: 168%; height: 56%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, var(--chev-top) 0%, var(--chev-bot) 100%);
  transition: --chev-top .35s ease, --chev-bot .35s ease;
}
.sc-headline { position: relative; z-index: 2; padding-inline: var(--pad); transition: color .35s ease; }
.showcase[data-headline="light"] .sc-headline { color: #fff; }
.showcase[data-headline="dark"] .sc-headline { color: var(--graphite); }
.sc-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 6.2vw, 62px); line-height: 1.06; letter-spacing: 0; text-transform: uppercase; margin: 0; }
.sc-sub { font-family: var(--body); font-weight: 500; font-size: clamp(14px, 2.4vw, 18px); letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 0; opacity: .94; }

.sc-pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(20px, 3.4vw, 30px) auto 0; padding-inline: var(--pad); max-width: 940px; }
.sc-pill { font-family: var(--body); font-weight: 700; font-size: 14.5px; letter-spacing: .09em; min-height: 38px; padding: 0 18px; border-radius: 100px; cursor: pointer; background: color-mix(in oklab, var(--graphite) 52%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid color-mix(in oklab, #fff 45%, transparent); color: #fff; white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.sc-pill:hover { background: color-mix(in oklab, var(--graphite) 62%, transparent); }
.sc-pill.act { background: #fff; color: var(--graphite); border-color: #fff; box-shadow: 0 6px 18px -8px rgba(26,28,30,.45); }
@media (max-width: 560px) {
  .sc-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; scroll-snap-type: x proximity; }
  .sc-pills::-webkit-scrollbar { display: none; }
  .sc-pill { scroll-snap-align: center; flex: none; }
}

.sc-carousel { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: clamp(18px, 3vw, 34px); }
.sc-track { position: relative; flex: 1 1 auto; max-width: 900px; height: clamp(300px, 50vw, 460px); }
.sc-slide { position: absolute; left: 50%; top: 50%; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; transform: translate(-50%, -50%); transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s; will-change: transform, opacity; }
.sc-tube { display: block; height: clamp(260px, 44vw, 430px); width: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 26px 30px rgba(26,28,30,.26)); }
.sc-slide[data-off="0"] { transform: translate(-50%, calc(-50% - 6%)) scale(1.06); opacity: 1; z-index: 5; }
.sc-slide[data-off="1"] { transform: translate(calc(-50% + clamp(96px, 27vw, 188px)), -50%) scale(.7); opacity: .58; z-index: 3; filter: saturate(.92); }
.sc-slide[data-off="-1"] { transform: translate(calc(-50% - clamp(96px, 27vw, 188px)), -50%) scale(.7); opacity: .58; z-index: 3; filter: saturate(.92); }
.sc-slide[data-off="2"] { transform: translate(calc(-50% + clamp(168px, 46vw, 308px)), -50%) scale(.48); opacity: .3; z-index: 2; filter: saturate(.85); }
.sc-slide[data-off="-2"] { transform: translate(calc(-50% - clamp(168px, 46vw, 308px)), -50%) scale(.48); opacity: .3; z-index: 2; filter: saturate(.85); }
.sc-slide[data-off="3"], .sc-slide[data-off="-3"] { transform: translate(-50%, -50%) scale(.42); opacity: 0; z-index: 1; pointer-events: none; }
.sc-slide.is-active { cursor: default; }
.sc-arrow { position: relative; z-index: 6; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: color-mix(in oklab, var(--card) 80%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--graphite); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .2s, border-color .2s; }
.sc-arrow:hover { border-color: var(--g3); }
.sc-arrow:active { transform: scale(.92); }
@media (max-width: 560px) { .sc-arrow { width: 38px; height: 38px; font-size: 19px; } }

.sc-detail { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: center; margin-top: clamp(12px, 2vw, 24px); padding-inline: var(--pad); }
.sc-name { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 4.4vw, 40px); margin: 0; }
.sc-ru { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--g3); margin: 0; }
.sc-desc { font-family: var(--body); font-size: var(--fs-lead); color: var(--g2); max-width: 34em; margin: 6px 0 6px; }
.sc-cta { background: var(--brand); color: #fff; font-family: var(--body); font-weight: 700; font-size: 16px; min-height: 52px; padding: 0 32px; border: 0; border-radius: 100px; cursor: pointer; box-shadow: 0 14px 28px -12px rgba(36,25,97,.5); transition: transform .2s var(--ease), box-shadow .3s, background .2s; }
.sc-cta:hover { transform: translateY(-1px); background: var(--brand-d); }
.sc-cta:active { transform: scale(.97); }

/* ============================================================
   BUILD — bundle configurator
   ============================================================ */
.build-wrap { display: grid; place-items: center; }
.build-card { width: min(560px, 100%); position: relative; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); background: var(--card); border: 1px solid var(--hair-soft); box-shadow: 0 1px 0 var(--hair-soft), 0 30px 60px -44px rgba(26,28,30,.4); }
.build-card .h-sec { font-size: clamp(22px, 2.6vw, 30px); margin-top: 12px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.price { font-family: var(--price); font-weight: 700; font-size: clamp(36px, 3.4vw, 50px); letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.per { font-size: 13.5px; color: var(--g3); }
.config { display: grid; gap: 18px; margin-top: 22px; }
.config-row { display: grid; gap: 9px; }
.config-lab { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--g3); }
.config-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.variant { min-height: 46px; border-radius: 100px; font-family: var(--body); font-size: 14px; font-weight: 500; cursor: pointer; padding: 0 18px; border: 1px solid var(--hair); background: transparent; color: var(--g2); transition: border-color .2s, color .2s, background .2s; }
.variant:hover { border-color: var(--g3); color: var(--graphite); }
.variant.act { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(36,25,97,.5); }
.variant .vp { font-family: var(--price); color: var(--g3); font-weight: 400; margin-left: 6px; font-size: 13px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.variant.act .vp { color: rgba(255,255,255,.85); }
.variant.has-sc.act { background: color-mix(in srgb, var(--sc) 80%, #fff); border-color: var(--sc); color: var(--graphite); box-shadow: none; }
.variant.has-sc.act .vp { color: var(--g2); }
.cdot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; vertical-align: -3px; border: 1px solid var(--hair); }
.cdot.dark { background: var(--graphite); }
.cdot.light { background: #fff; }
.variant.act .cdot { border-color: rgba(255,255,255,.8); }
.prod-meta { display: grid; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--g2); }
.build-card .btn-block { margin-top: 24px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid { display: grid; gap: 16px; position: relative; isolation: isolate; }
.how-grid::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(76%, 760px); height: 72%; transform: translate(-50%, -50%); background: var(--logo-light); pointer-events: none; z-index: -1; }
.how-card { position: relative; border-radius: var(--r-md); padding: 16px 16px 26px; background: rgba(251,250,246,.65); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 1px 0 var(--hair-soft), 0 24px 44px -34px rgba(26,28,30,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 8px; justify-items: start; align-content: start; transition: transform .25s var(--ease); }
.how-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 30px 56px -30px rgba(26,28,30,.45); opacity: 0; transition: opacity .25s; }
.hc-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: calc(var(--r-md) - 8px); display: block; margin-bottom: 6px; background: var(--cloud); }
.hc-photo--top { object-position: center 30%; }   /* ШАГ 03: keep the foam cap on the nozzle in frame */
.hc-idx { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--g3); }
.how-card h3 { font-size: 20px; }
.how-card p { margin: 0; font-size: 14.5px; color: var(--g2); line-height: 1.6; font-family: var(--body); }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .how-card { padding: 18px 18px 28px; }
  .how-card:hover { transform: translateY(-4px); }
  .how-card:hover::after { opacity: 1; }
}

/* ============================================================
   STARTER KIT — dispenser is required
   ============================================================ */
.starter-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 768px) { .starter-grid { grid-template-columns: 5fr 6fr; } }
.starter-media { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #fff, var(--cloud)); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); }
.starter-media img { width: auto; max-height: 360px; filter: drop-shadow(0 24px 30px rgba(26,28,30,.2)); }
.starter-copy { display: grid; gap: 14px; justify-items: start; }
.starter-list { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--g2); }
.starter-list li { padding-left: 24px; position: relative; }
.starter-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

/* ============================================================
   COMPOSITION / trust
   ============================================================ */
/* Состав — flavour-agnostic, real composition (editorial, vidrate-calm) */
.sostav-lead { margin: 0; max-width: 40em; }
.sostav-note { margin: 8px 0 0; max-width: 40em; font-size: 14.5px; color: var(--g2); }
.sostav-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.sostav-eyebrow::before { content: ""; width: 18px; height: 1.5px; border-radius: 2px; background: var(--grad); }
.sostav-ingredients { margin-top: clamp(16px, 2.2vw, 26px); }
/* small eco accents tucked top-right beside the heading — decoration, not a feature */
.sec--sostav .sec-head { position: relative; }
.sostav-decor { position: absolute; top: -12px; right: 0; width: min(208px, 34%); opacity: .5; pointer-events: none; z-index: -1; }
.sostav-decor::before { content: ""; position: absolute; inset: -34% -26%; background: var(--logo-light); z-index: -1; pointer-events: none; }
.sostav-decor svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .sostav-decor { display: none; } }
.ing-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px 28px; font-size: clamp(15px, 1.5vw, 17px); color: var(--graphite); }
@media (min-width: 600px) { .ing-list { grid-template-columns: 1fr 1fr; } }
.ing-list li { position: relative; padding-left: 20px; }
.ing-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.sostav-cols { display: grid; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .sostav-cols { grid-template-columns: 1fr 1fr; } }
.sostav-card { background: var(--card); border: 1px solid var(--hair-soft); border-radius: var(--r-md); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; box-shadow: 0 1px 0 var(--hair-soft); }
.howto-list { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.howto-list li { position: relative; padding-left: 42px; min-height: 28px; display: flex; align-items: center; font-size: 14.5px; color: var(--g2); line-height: 1.45; }
.howto-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--price); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.sostav-fine { margin: 4px 0 0; font-size: 12.5px; color: var(--g3); line-height: 1.5; }
.sostav-card > p { margin: 0; font-size: 14px; color: var(--g2); line-height: 1.62; }

/* ============================================================
   REFILL catalog cards
   ============================================================ */
.shop-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.shop-card { border-radius: var(--r-md); padding: 18px; background: var(--card); border: 1px solid var(--hair-soft); box-shadow: 0 1px 0 var(--hair-soft), 0 20px 40px -34px rgba(26,28,30,.4); display: grid; gap: 10px; justify-items: start; align-content: start; }
.sc-visual { width: 100%; height: 150px; display: grid; place-items: center; background: linear-gradient(180deg, #f6f9fb, #dce7ec); border-radius: 14px; overflow: hidden; }
.sc-img { height: 134px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(26,28,30,.18)); }
.shop-card h3 { font-size: 16px; }
.sc-price { font-family: var(--price); font-weight: 700; font-size: 20px; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.sc-note { font-size: 12.5px; color: var(--g3); }
.sc-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip { font-family: var(--body); font-size: 12px; padding: 6px 11px; border-radius: 100px; border: 1px solid var(--hair); background: var(--card); color: var(--g2); cursor: pointer; }
.sc-chip.act { background: color-mix(in srgb, var(--sc) 80%, #fff); border-color: var(--sc); color: var(--graphite); }
.sc-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hair); cursor: pointer; padding: 0; }
.sc-dot.dark { background: var(--graphite); }
.sc-dot.light { background: #fff; }
.sc-dot.act { outline: 2px solid var(--graphite); outline-offset: 2px; }
.sc-buy { margin-top: 6px; width: 100%; min-height: 44px; }

/* «Скоро» refill placeholders (upcoming line extensions) */
.sc-visual--soon { position: relative; background: var(--cloud); }
.soon-badge { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: #fff; border: 1px solid var(--hair); border-radius: 100px; padding: 3px 10px; }
.soon-ic { width: 60px; height: 60px; color: var(--g3); opacity: .7; }
.soon-ic svg { width: 100%; height: 100%; }
.shop-card--soon h3 { color: var(--g2); }
.shop-card--soon .sc-note { color: var(--g3); }

/* ---- size selector (6/12/20) — compact segmented control ---- */
.size-pick { display: inline-flex; width: max-content; max-width: 100%; gap: 4px; padding: 3px; border-radius: 100px; background: color-mix(in oklab, var(--graphite) 7%, transparent); }
.size-opt { min-width: 34px; height: 30px; padding: 0 11px; border: 0; border-radius: 100px; background: transparent; color: var(--g2); font-family: var(--price); font-weight: 700; font-size: 13px; letter-spacing: .01em; cursor: pointer; transition: background .18s, color .18s; }
.size-opt:hover:not(.act) { color: var(--graphite); }
.size-opt.act { background: #fff; color: var(--brand); box-shadow: 0 2px 8px -3px rgba(26,28,30,.3); }
.size-pick--card, .size-pick--hero { margin: 2px 0; }
.size-pick--hero { margin: 6px auto 2px; }
/* on the flavour tiles (coloured) — frosted, light text */
.size-pick--tile { background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); margin-bottom: 8px; }
.size-pick--tile .size-opt { color: #fff; }
.size-pick--tile .size-opt.act { background: #fff; color: var(--graphite); }
.ftile[data-headline="dark"] .size-pick--tile { background: rgba(26,28,30,.12); }
.ftile[data-headline="dark"] .size-pick--tile .size-opt { color: var(--graphite); }
.ftile[data-headline="dark"] .size-pick--tile .size-opt.act { background: var(--graphite); color: #fff; }

/* ---- cart free-dispenser toggle + gift line ---- */
.cart-gift { margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--hair); }
.cart-toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.cart-toggle-txt { flex: 1; font-size: 13px; color: var(--g2); line-height: 1.35; }
.cart-toggle-txt strong { color: var(--eco); font-weight: 700; }
.cart-switch { flex: none; width: 42px; height: 24px; border-radius: 100px; background: var(--hair); position: relative; transition: background .2s; }
.cart-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.cart-toggle[aria-checked="true"] .cart-switch { background: var(--brand); }
.cart-toggle[aria-checked="true"] .cart-switch::after { transform: translateX(18px); }
.cart-row--gift { margin-top: 10px; }
.cart-lp--gift { color: var(--eco); font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .01em; }
.sv-towel { display: block; width: 64px; height: 54px; border-radius: 10px; position: relative; background: var(--cloud); border: 1.5px solid var(--hair); }
.sv-towel::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 12px; height: 4px; border-radius: 2px; background: var(--grad); opacity: .7; }

/* ============================================================
   REVIEWS
   ============================================================ */
.sec--reviews { background: #EFEFF5; }
.review-invite { max-width: 640px; margin-inline: auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.review-invite .btn { margin-top: 6px; }

/* ============================================================
   FINAL + FAQ
   ============================================================ */
.final { text-align: center; }
.final-cta h2 { font-size: clamp(32px, calc(20px + 3vw), 64px); font-weight: 600; margin-top: 16px; }
.final-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.share-sheet { margin: 18px auto 0; max-width: 320px; }
.share-sheet summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 100px; border: 1px solid var(--hair); font-weight: 600; font-size: 14.5px; color: var(--g2); }
.share-sheet summary::-webkit-details-marker { display: none; }
.share-links { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.share-links a, .share-links button { font-family: var(--body); font-size: 13.5px; font-weight: 500; color: var(--g2); border: 1px solid var(--hair); background: var(--card); border-radius: 100px; padding: 10px 18px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.faq { margin-top: clamp(48px, 6vw, 80px); text-align: left; display: grid; gap: 0; }
.faq .kicker { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 600; font-size: 15.5px; min-height: 48px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.fi { position: relative; width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.fi::before, .fi::after { content: ""; position: absolute; background: var(--g3); }
.fi::before { left: 0; right: 0; top: 6px; height: 1.5px; }
.fi::after { top: 0; bottom: 0; left: 6px; width: 1.5px; }
.faq details[open] .fi { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq .a { padding: 0 2px 20px; font-size: 14.5px; color: var(--g2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--brand); color: rgba(255,255,255,.82); padding: clamp(40px, 6vw, 72px) 0 32px; margin-top: clamp(44px, 6vw, 64px); }
.foot-wave { position: absolute; left: 0; top: 1px; width: 100%; height: 16px; transform: translateY(-100%); display: block;
  --p: 54px;   /* scallop period — fixed px → constant size at any width; repeat-x fills */
  /* shallow crest: circle centre dropped 15px below the strip so only a low arc shows,
     yet each arc still spans the full period (touches its neighbours at the base) */
  background: radial-gradient(circle at 50% calc(100% + 15px), var(--brand) 0 31px, transparent 31.6px) 50% 100% / var(--p) 100% repeat-x; }
.foot-inner { position: relative; }
.foot-brand { display: grid; gap: 12px; }
.foot-logo { height: 34px; width: auto; filter: brightness(0) invert(1); }
.foot-meta { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ============================================================
   CART drawer
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(26,28,30,.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .32s ease; }
html.cart-open .cart-overlay { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; width: min(420px, 92vw); display: flex; flex-direction: column; background: var(--card); box-shadow: -20px 0 60px -30px rgba(26,28,30,.5); transform: translateX(100%); transition: transform .34s cubic-bezier(.22, .61, .36, 1); }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--hair-soft); }
.cart-title { font-family: var(--body); font-weight: 700; font-size: 20px; margin: 0; }
.cart-x { width: 40px; height: 40px; border: 0; background: transparent; color: var(--g2); font-size: 17px; cursor: pointer; border-radius: 50%; }
.cart-x:hover { background: rgba(26,28,30,.06); }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 22px; }
.cart-items:focus { outline: none; }
.cart-empty { text-align: center; color: var(--g3); padding: 56px 12px; line-height: 1.7; }
.cart-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.cart-thumb { width: 56px; height: 74px; object-fit: cover; object-position: top center; border-radius: 12px; background: #e8eef1; }
.cart-thumb--ph { display: block; }
.cart-name { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.cart-rsub { font-size: 12px; color: var(--g3); margin-top: 2px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; border: 1px solid var(--hair); border-radius: 100px; padding: 2px 4px; width: max-content; }
.qty button { width: 26px; height: 26px; border: 0; background: transparent; color: var(--graphite); cursor: pointer; font-size: 16px; border-radius: 50%; line-height: 1; }
.qty button:hover { background: rgba(26,28,30,.06); }
.qn { min-width: 18px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-rline { display: grid; justify-items: end; gap: 10px; }
.cart-lp { font-family: var(--price); font-weight: 700; font-size: 17px; letter-spacing: .015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-rm { border: 0; background: transparent; color: var(--g3); cursor: pointer; font-size: 13px; padding: 4px; }
.cart-rm:hover { color: var(--graphite); }
.cart-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair-soft); }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 14px; }
.cart-total { font-family: var(--price); font-weight: 700; font-size: 25px; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.cart-checkout[disabled] { opacity: .55; cursor: not-allowed; }
.cart-soon { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-left: 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; padding: 2px 8px; }
.cart-foot-note { font-size: 12px; color: var(--g3); margin: 10px 0 0; text-align: center; }
html.cart-open { overflow: hidden; }

/* ============================================================
   PROMO BAR (thin, dismissible) + nav/hero offset
   ============================================================ */
html:not(.promo-on) .promo { display: none; }
.promo { position: fixed; top: 0; left: 0; right: 0; z-index: 82; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 46px; background: var(--graphite); color: var(--cloud); text-align: center; }
.promo-msg { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.promo-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: transparent; color: var(--cloud); cursor: pointer; font-size: 13px; border-radius: 50%; opacity: .85; line-height: 1; }
.promo-x:hover { opacity: 1; background: rgba(255,255,255,.14); }
html.promo-on .nav { top: 38px; }
html.promo-on .showcase { padding-top: clamp(122px, calc(13vh + 38px), 170px); }

/* ============================================================
   CAROUSEL — baseline-align trimmed tubes (anchor bottoms, one
   uniform drop-shadow; scale from the base)
   ============================================================ */
.sc-track { height: clamp(320px, 52vw, 500px); }
.sc-tube { height: clamp(250px, 42vw, 410px); object-fit: contain; object-position: bottom; }
.sc-slide { top: auto; bottom: 0; transform-origin: bottom center; }
.sc-slide[data-off="0"] { transform: translate(-50%, -6%) scale(1.06); }
.sc-slide[data-off="1"] { transform: translate(calc(-50% + clamp(96px, 27vw, 188px)), 0) scale(.7); }
.sc-slide[data-off="-1"] { transform: translate(calc(-50% - clamp(96px, 27vw, 188px)), 0) scale(.7); }
.sc-slide[data-off="2"] { transform: translate(calc(-50% + clamp(168px, 46vw, 308px)), 0) scale(.48); }
.sc-slide[data-off="-2"] { transform: translate(calc(-50% - clamp(168px, 46vw, 308px)), 0) scale(.48); }
.sc-slide[data-off="3"], .sc-slide[data-off="-3"] { transform: translate(-50%, 0) scale(.42); }

/* ============================================================
   BENEFITS (swipe row on mobile, 6-up grid on desktop)
   ============================================================ */
.benefits-row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.benefits-row::-webkit-scrollbar { display: none; }
.benefit { scroll-snap-align: center; background: var(--card); border: 1px solid var(--hair-soft); border-radius: var(--r-md); padding: 22px 18px; display: grid; gap: 8px; align-content: start; }
.bf-ic { width: 38px; height: 38px; color: var(--graphite); }
.bf-ic svg { width: 100%; height: 100%; }
.benefit h3 { font-size: 17px; font-weight: 600; line-height: 1.15; }
.benefit p { margin: 0; font-size: 13.5px; color: var(--g2); line-height: 1.5; }
@media (min-width: 720px) { .benefits-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; } }
@media (min-width: 1024px) { .benefits-row { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* ============================================================
   BUY TILES (3-up stack)
   ============================================================ */
.tiles { display: grid; gap: 16px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--hair-soft); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; justify-items: start; align-content: start; box-shadow: 0 20px 44px -36px rgba(26,28,30,.4); }
.tile-media { width: 100%; height: 180px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #fff, var(--cloud)); border-radius: var(--r-md); margin-bottom: 4px; }
.tile-media img { max-height: 160px; width: auto; filter: drop-shadow(0 14px 18px rgba(26,28,30,.18)); }
.tile-soon-ic { width: 56px; height: 56px; color: var(--g3); }
.tile-soon-ic svg { width: 100%; height: 100%; }
.tile h3 { font-size: 21px; font-weight: 700; }
.tile p { margin: 0; font-size: 14px; color: var(--g2); line-height: 1.5; }
.tile-price { font-family: var(--price); font-weight: 700; font-size: 23px; letter-spacing: .015em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile .btn { margin-top: 6px; }
.tile--soon .tile-media { background: var(--cloud); }

/* ============================================================
   PART 2 — tiles price · configurator 2-col + live preview ·
   Состав · refill compact · FAQ|social · Подписка modal
   ============================================================ */
.ftile-price { font-family: var(--price); font-weight: 700; font-size: clamp(21px, 2.1vw, 26px); letter-spacing: .015em; font-variant-numeric: tabular-nums; margin-top: 2px; }

/* preorder pricing: discounted (prominent) + regular struck-through — adapts to any
   surface via currentColor (light cards, coloured tiles, indigo buttons) */
.price-now { font-family: var(--price); font-weight: 700; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.price-was { font-family: var(--price); font-weight: 600; font-size: .62em; letter-spacing: .01em; opacity: .5; text-decoration: line-through; margin-left: .4em; white-space: nowrap; }
.price-pre { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .62; margin-left: .5em; }
.btn-price .price-was, .sc-cta .price-was { opacity: .6; }

/* K — configurator two columns + live tube/bottle preview */
.build2 { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) { .build2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.build-card { width: 100%; min-width: 0; }
.build-gift { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; font-weight: 600; color: var(--graphite); }
.gift-mark { width: 14px; height: 3px; border-radius: 2px; background: var(--grad); flex: none; }
.build-preview { display: grid; justify-items: center; gap: 12px; }
.bp-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 1.5vw, 20px); width: 100%; min-height: clamp(400px, 52vw, 620px); isolation: isolate; }
.bp-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 92%; height: 92%; transform: translate(-50%, -50%); background: var(--logo-light); pointer-events: none; z-index: -1; }
.bp-tube { height: clamp(240px, 31vw, 380px); width: auto; filter: drop-shadow(0 22px 26px rgba(26,28,30,.24)); transition: opacity .18s ease; }
.bp-tube.swapping { opacity: 0; }
.bp-bottle { height: clamp(372px, 48vw, 588px); width: auto; filter: drop-shadow(0 26px 30px rgba(26,28,30,.22)); }
.bp-cap { font-size: 12.5px; color: var(--g3); margin: 0; }

/* I1 — big Состав heading */
.sostav-h { font-size: var(--fs-h1); line-height: 1.02; }

/* R2 — refill compact */
.sec--refill { padding-block: clamp(40px, 6vw, 80px); }
.sec--refill .sec-head { margin-bottom: clamp(20px, 2.5vw, 32px); }

/* O3 — FAQ | social, split by one vertical logo-gradient hairline */
.faqsocial { position: relative; display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 860px) {
  .faqsocial { grid-template-columns: 1fr 1fr; }
  .faqsocial::after { content: ""; position: absolute; left: 50%; top: 6%; bottom: 6%; width: 2px; transform: translateX(-50%); background: var(--grad); border-radius: 2px; }
}
.fs-col .sec-head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.fs-faq .faq { margin-top: 0; }

/* P1 — Подписка placeholder modal */
.nav-subs { font-family: var(--body); border: 0; background: transparent; cursor: pointer; }
html.subs-open, html.acct-open { overflow: hidden; }
.subs-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.subs-modal[hidden] { display: none; }
.subs-overlay { position: absolute; inset: 0; background: rgba(26,28,30,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.subs-card { position: relative; z-index: 1; width: min(420px, 100%); background: var(--card); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 46px); text-align: center; display: grid; justify-items: center; gap: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(26,28,30,.5); }
.subs-card::before { content: ""; position: absolute; left: 50%; top: -10%; width: 80%; height: 60%; transform: translateX(-50%); background: var(--logo-light); pointer-events: none; }
.subs-logo { height: 54px; width: auto; position: relative; }
.subs-card h3 { font-size: clamp(22px, 3vw, 28px); position: relative; }
.subs-card p { margin: 0; color: var(--g2); position: relative; }
.subs-card .btn { margin-top: 8px; position: relative; }
.subs-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--g3); font-size: 16px; cursor: pointer; border-radius: 50%; z-index: 2; }
.subs-x:hover { background: rgba(26,28,30,.06); }

/* ============================================================
   SOCIAL
   ============================================================ */
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 100px; border: 1px solid var(--hair); background: var(--card); font-weight: 600; color: var(--graphite); transition: border-color .2s, transform .2s; }
.social-link svg { width: 22px; height: 22px; color: var(--graphite); }
.social-link:hover { border-color: var(--g3); transform: translateY(-2px); }
#social .share-sheet { margin: 22px 0 0; }

/* ============================================================
   FOOTER newsletter (folded in, modest, on indigo)
   ============================================================ */
.foot-news-row { display: grid; gap: 18px; padding-bottom: clamp(28px, 4vw, 40px); margin-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid rgba(255,255,255,.15); }
@media (min-width: 760px) { .foot-news-row { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); } }
.foot-news-copy { display: grid; gap: 5px; }
.foot-news-copy strong { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.3vw, 26px); color: #fff; }
.foot-news-copy span { font-size: 13.5px; color: rgba(255,255,255,.62); }
.foot-news { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-email { flex: 1; min-width: 200px; min-height: 50px; padding: 0 18px; border-radius: 100px; border: 1px solid transparent; background: #fff; font-family: var(--body); font-size: 15px; color: var(--graphite); }
.nl-email:focus { outline: 2px solid #fff; outline-offset: 2px; }
.nl-row .btn { flex: none; }
.foot-news-btn { background: #fff; color: var(--brand); }
.foot-news-btn:hover { background: rgba(255,255,255,.86); }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.4; cursor: pointer; }
.nl-consent input { margin-top: 2px; width: 17px; height: 17px; flex: none; accent-color: #fff; }
.nl-consent a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.nl-consent a:hover { color: #fff; }
/* pointer-events:none lets clicks fall through to .nl-row so the form can explain why submit is locked */
.foot-news-btn[disabled] { opacity: .55; pointer-events: none; }
.nl-msg { font-size: 13px; margin: 0; min-height: 1.1em; color: rgba(255,255,255,.8); }
.nl-msg.ok { color: #9be7c4; }
.nl-msg.err { color: #ff9a9a; }

/* ============================================================
   FOOTER (columns + payment + legal)
   ============================================================ */
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: start; } }
.foot-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 12px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 13.5px; }
.foot-col a { color: rgba(255,255,255,.82); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: clamp(30px, 4vw, 44px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 5px 9px; background: rgba(255,255,255,.06); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; }
.foot-legal a { color: rgba(255,255,255,.6); }
.foot-legal a:hover { color: #fff; }

/* ============================================================
   REVISION: wide canvas, bouquet fan, flavour tiles, bottle block
   ============================================================ */
.wrap--wide { width: min(100%, 1560px); margin-inline: auto; padding-inline: var(--pad); }

/* "bottle required" note (under showcase CTA · on tiles · in starter) */
.req-note { margin: 6px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; opacity: 1; display: inline-flex; align-items: center; gap: 6px; }
.req-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: 1; flex: none; }
.req-note--center { color: var(--g2); justify-content: center; }
.req-note--lg { font-size: 13.5px; color: var(--g2); opacity: 1; }
.req-note--lg::before { background: var(--grad); opacity: 1; }

/* ---------- BENEFITS bouquet fan ---------- */
#benefits { --open: 1; }            /* no-JS / fallback: fan open, text visible */
html.js #benefits { --open: 0; }    /* JS: start gathered, open on scroll */
.sec--fan { overflow: hidden; }
.fan-wrap { width: min(100%, 1560px); margin-inline: auto; padding-inline: var(--pad); display: grid; gap: clamp(18px, 3vh, 36px); align-items: center; }
@media (min-width: 1024px) { .fan-wrap { grid-template-columns: 1fr clamp(420px, 44vw, 760px) 1fr; gap: clamp(20px, 3vw, 64px); } }
.fan-col { display: grid; gap: clamp(26px, 4.5vh, 56px); align-content: center; }
@media (min-width: 1024px) { .fan-left { text-align: right; } }
.bf { opacity: var(--open, 1); transform: translateY(calc((1 - var(--open, 1)) * 14px)); }
.bf h3 { font-size: clamp(22px, 2vw, 29px); font-weight: 600; line-height: 1.15; }
.bf p { margin: 6px 0 0; font-size: 15.5px; color: var(--g2); line-height: 1.55; }
.fan-stage { position: relative; height: clamp(300px, 40vw, 500px); }
.fan-glow { position: absolute; left: 50%; bottom: 0; width: 120%; height: 100%; transform: translateX(-50%); background: radial-gradient(46% 52% at 50% 60%, rgba(36,25,97,.15), rgba(36,25,97,.05) 55%, transparent 72%); pointer-events: none; }
.fan-tubes { position: absolute; left: 50%; bottom: 3%; width: 0; height: 76%; }
/* one→many: gathered (--open 0) = all upright, full scale, overlapping (reads as ONE tube);
   open (--open 1) = rotate out to --a, side tubes shrink to --s (centre stays tallest).
   max-width:none defeats the global `img{max-width:100%}` against the 0-width anchor. */
.fan-tube { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: none; transform-origin: bottom center; transform: translateX(-50%) rotate(calc(var(--a, 0) * var(--open, 1) * 1deg)) scale(calc(1 - (1 - var(--s, 1)) * var(--open, 1))); opacity: calc(var(--o0, 1) + (1 - var(--o0, 1)) * var(--open, 1)); filter: drop-shadow(0 16px 20px rgba(26,28,30,.24)); }
@media (prefers-reduced-motion: reduce) { .bf { opacity: 1; transform: none; } }

/* ---------- 6 flavour-colour quick-shop tiles (edge-to-edge) ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.ftile { position: relative; overflow: hidden; min-height: clamp(380px, 30vw, 480px); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(155deg, var(--ct, #888), var(--cb, #555)); color: #fff; }
.ftile[data-headline="dark"] { color: var(--graphite); }
.ftile-tube { position: absolute; top: 8%; right: 5%; height: 70%; width: auto; pointer-events: none; filter: drop-shadow(0 22px 26px rgba(26,28,30,.3)); }
.ftile-body { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: start; max-width: 20em; }
.ftile h3 { font-size: clamp(22px, 2.2vw, 30px); }
.ftile-desc { margin: 0; font-size: 14px; line-height: 1.45; opacity: .94; }
.ftile-cta { background: var(--brand); color: #fff; min-height: 46px; padding: 0 22px; margin-top: 4px; }
.ftile-cta:hover { background: var(--brand-d); }

/* ---------- starter (wide bottle block) ---------- */
.sec--starter { background: var(--card); }
.starter2 { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 768px) { .starter2 { grid-template-columns: 5fr 6fr; } }
.starter2-media { border-radius: var(--r-lg); overflow: hidden; }
.starter2-media img { display: block; width: 100%; height: auto; max-height: none; filter: none; }
.starter2-copy { display: grid; gap: 14px; justify-items: start; }
.starter2-list { margin: 4px 0 6px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--g2); }
.starter2-list li { padding-left: 24px; position: relative; }
.starter2-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.starter2-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- wide-desktop fill: scale the chevron + carousel up ---------- */
@media (min-width: 1440px) {
  .sc-chevron { width: 150%; height: 60%; }
  .sc-tube { height: clamp(250px, 40vw, 500px); }
  .sc-track { height: clamp(320px, 46vw, 580px); }
  .sc-h1 { font-size: clamp(48px, 5vw, 78px); }
}

/* ============================================================
   Scroll-reveal (never gates content; added by JS only when
   motion is allowed) + reduced-motion safety net
   ============================================================ */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.reveal-on [data-reveal="scale"] { transform: scale(.92); }
html.reveal-on [data-reveal="fade"] { transform: none; }
html.reveal-on [data-reveal].in { opacity: 1; transform: none; }

#errlog { position: fixed; top: 8px; left: 8px; right: 8px; z-index: 99999; font: 11px/1.4 ui-monospace, monospace; white-space: pre-wrap; background: rgba(255,255,255,.94); color: #1A1C1E; border: 1px solid var(--hair); border-radius: 8px; padding: 8px 10px; max-height: 40vh; overflow: auto; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Intro overlay — brand video, play-once. Built by js/intro.js
   ONLY when eligible; `hidden` by default so no layout shift.
   Gradient = poster edge colours sampled from intro-poster.webp
   (top #91C5EB sky → bottom #E9EAEF floor), so the desktop
   pillar-box reads as one seamless scene, not letterboxing.
   ========================================================= */
html.intro-open { overflow: hidden; }
#intro-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(180deg,
    #91C5EB 0%, #8FB5D1 20%, #C2D6DE 42%,
    #CBC8BE 62%, #F1F0EE 80%, #E9EAEF 100%);
  opacity: 1; transition: opacity .4s ease;
}
#intro-overlay[hidden] { display: none; }
#intro-overlay.closing { opacity: 0; }
.intro-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
@media (orientation: landscape) {
  .intro-video { object-fit: contain; }        /* desktop: full-height, gradient fills the sides */
}
.intro-skip {
  position: absolute; z-index: 2;
  right: clamp(16px, 4vw, 28px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(18px, 4vw, 28px));
  font-family: var(--body); font-weight: 700; font-size: 14.5px; letter-spacing: .09em;
  min-height: 38px; padding: 0 18px; border-radius: 100px; cursor: pointer;
  color: #fff; white-space: nowrap;
  background: color-mix(in oklab, var(--graphite) 52%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in oklab, #fff 45%, transparent);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.intro-skip:hover { background: color-mix(in oklab, var(--graphite) 62%, transparent); }
.intro-skip.show { opacity: 1; transform: none; pointer-events: auto; }

/* ============================================================
   LEGAL PAGES (policy / consent-pd / consent-ads / offer)
   static documents: no JS, narrow reading column
   ============================================================ */
.legal-head { border-bottom: 1px solid var(--hair-soft); }
.legal-head .wrap { display: flex; align-items: center; height: 60px; }
.legal-head img { display: block; }
.legal-doc { max-width: 720px; margin-inline: auto; padding-block: clamp(36px, 6vw, 72px); overflow-wrap: anywhere; }
.legal-doc h1 { font-size: clamp(26px, calc(20px + 1.8vw), 38px); font-weight: 600; line-height: 1.2; margin-bottom: 18px; }
.legal-doc h2 { font-size: clamp(18px, calc(16.5px + .4vw), 21px); font-weight: 600; margin: 34px 0 12px; }
.legal-doc p, .legal-doc li { font-size: 15.5px; line-height: 1.7; color: var(--g2); }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc strong { color: var(--graphite); font-weight: 600; }
.legal-doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta { font-size: 14px; color: var(--g2); }
.legal-foot { border-top: 1px solid var(--hair-soft); padding-block: 24px 44px; font-size: 13px; color: var(--g3); }
.legal-foot-in { max-width: 720px; margin-inline: auto; display: grid; gap: 10px; }
.legal-foot p { margin: 0; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-foot a { color: var(--g2); text-decoration: underline; text-underline-offset: 2px; }
.legal-foot a:hover { color: var(--graphite); }
@media print {
  .legal-head, .legal-foot { display: none; }
  .legal-doc { max-width: none; padding-block: 0; }
  .legal-doc p, .legal-doc li, .legal-doc a { color: #000; }
}
