/* SOLORO LAB · Яркий — стили варианта 2.
   Токены — из concept.palette. У каждой линейки свой цвет: компонент получает --c (насыщенный), --cs (пастельный)
   и --on (цвет текста на --c). Скругления по иерархии: панели 32, карточки 24, кнопки и чипсы — капсула. */
:root {
  --bg: #FFF9F2;
  --surface: #FFFFFF;
  --ink: #1E1A2B;
  --muted: #6E687D;
  --pink: #FF3D7F;
  --orange: #FF7A1A;
  --yellow: #FFD43B;
  --line: #F1E6DA;
  --ok: #17A673;
  --vc: #FF7A1A;  --vc-s: #FFE5CF;
  --hy: #2E9BF0;  --hy-s: #DBEDFF;
  --ci: #1DBE8E;  --ci-s: #D4F5E9;
  --dx: #363642;  --dx-s: #E6E6EC;
  --be: #FF3D7F;  --be-s: #FFDDE8;
  --la: #9277EE;  --la-s: #ECE6FF;
  --c: var(--pink); --cs: #FFDDE8; --on: var(--ink);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-panel: 32px; --r-card: 24px; --r-in: 18px;
  --wrap: 1320px; --gut: 40px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}
@media (max-width: 1100px) { :root { --gut: 24px; } }
@media (max-width: 760px) { :root { --gut: 16px; --r-panel: 26px; --r-card: 20px; --header-h: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--hy); outline-offset: 3px; border-radius: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- кнопки, чипсы, поля ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 600 15px/1 var(--display); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--spring), background-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.95); transition-duration: .1s; }
.btn .ico { width: 20px; height: 20px; }
.btn--c { background: var(--c); color: var(--on); }
.btn--y { background: var(--yellow); color: var(--ink); }
.btn--w { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--c); }
.link:hover { text-decoration-color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--spring), background-color .15s, box-shadow .15s, color .15s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip:active { transform: scale(.94); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.chip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.chip--line[aria-pressed="true"] { background: var(--c); color: var(--on); }
.chip--line[aria-pressed="true"] .chip__dot { background: currentColor; }
.chip .ico { width: 18px; height: 18px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.input {
  height: 56px; width: 100%; padding: 0 20px; border-radius: var(--r-in); border: 0;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; transition: box-shadow .15s;
}
.input:hover { box-shadow: inset 0 0 0 1.5px #d9cbbd; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.input.is-bad { box-shadow: inset 0 0 0 2px var(--pink); }
.field__err { color: #C8104F; font-size: 13px; min-height: 0; }

/* ---------- стикеры-бейджи ---------- */
.stk {
  display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; border-radius: 999px;
  font: 700 12px/1 var(--display); letter-spacing: 0; background: var(--yellow); color: var(--ink); white-space: nowrap;
  transform: rotate(-4deg);
}
.stk--hit { background: var(--yellow); }
.stk--new { background: var(--ci); transform: rotate(3deg); }
.stk--sale { background: var(--pink); transform: rotate(-6deg); }
.stk--21 { background: var(--orange); transform: rotate(4deg); }

/* ---------- бегущая строка ---------- */
.mq { background: var(--yellow); overflow: hidden; height: 36px; position: relative; z-index: 31; }
.mq__track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
.mq__item { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; height: 36px; font: 600 13px/1 var(--body); white-space: nowrap; }
.mq__item i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.mq__item a:hover { text-decoration: underline; text-underline-offset: 3px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- шапка ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 249, 242, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .2s; }
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hd__row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--ink); transition: color .3s var(--ease); }
.logo svg { display: block; height: 17px; width: auto; aspect-ratio: 964.2 / 106.57; transition: transform .5s var(--spring); }
.logo:hover { color: var(--pink); }
.logo:hover svg { transform: translateY(-2px); }
.srch { position: relative; flex: 1; max-width: 520px; }
.srch__box { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s; }
.srch__box:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.srch__box .ico { color: var(--muted); width: 20px; height: 20px; }
.srch__in { flex: 1; min-width: 0; border: 0; background: none; height: 100%; font-size: 16px; }
.srch__in:focus { outline: none; }
.srch__in::placeholder { color: #9b95a8; }
.srch__clear { width: 34px; height: 34px; border-radius: 50%; display: none; place-items: center; color: var(--muted); }
.srch__clear:hover { background: var(--bg); }
.srch.has-q .srch__clear { display: grid; }
.srch__pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border-radius: var(--r-card);
  box-shadow: 0 24px 60px -18px rgba(30, 26, 43, .35), 0 0 0 1px rgba(30, 26, 43, .05); padding: 10px; display: none; z-index: 5;
  max-height: min(70vh, 560px); overflow: auto;
}
.srch.is-open .srch__pop { display: block; }
.sg__h { font-size: 13px; color: var(--muted); padding: 10px 12px 6px; }
.sg__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 8px 10px; }
.sg__chips .chip { height: 36px; font-size: 14px; }
.sg__item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 16px; }
.sg__item:hover, .sg__item.is-act { background: var(--bg); }
.sg__thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--cs); overflow: hidden; flex: none; }
.sg__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.sg__name mark { background: var(--yellow); color: inherit; border-radius: 4px; padding: 0 2px; }
.sg__sub { font-size: 13px; color: var(--muted); }
.sg__price { margin-left: auto; font: 600 14px/1 var(--display); white-space: nowrap; padding-left: 8px; }
.sg__all { display: flex; justify-content: center; align-items: center; gap: 8px; height: 48px; margin-top: 6px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; }
.sg__empty { padding: 18px 12px; }
.sg__empty b { font-family: var(--display); font-size: 16px; display: block; margin-bottom: 4px; }
.hd__icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ib { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--spring), background-color .15s; }
.ib:hover { background: var(--surface); }
.ib:active { transform: scale(.9); }
.ib__n {
  position: absolute; top: 2px; right: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--pink); color: var(--ink); font: 700 11px/22px var(--display); text-align: center; box-shadow: 0 0 0 3px var(--bg);
}
.ib__n[data-n="0"] { display: none; }
.ib__n.is-pop { animation: pop .5s var(--spring); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.ib--srch, .ib--menu { display: none; }
.nv { border-bottom: 1px solid var(--line); }
.nv__row { display: flex; align-items: center; gap: 6px; height: 56px; overflow-x: auto; scrollbar-width: none; }
.nv__row::-webkit-scrollbar { display: none; }
.nv__a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .15s, transform .3s var(--spring); }
.nv__a:hover { background: var(--surface); }
.nv__a:active { transform: scale(.94); }
.nv__a[aria-current="page"] { background: var(--ink); color: #fff; }
.nv__a--hot { background: var(--c); color: var(--on); }
.nv__a--hot:hover { background: var(--c); transform: translateY(-1px); }
.nv__sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; flex: none; }
.nv__more { margin-left: auto; color: var(--muted); font-size: 14px; display: flex; gap: 18px; white-space: nowrap; }
.nv__more a:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .nv__more { display: none; }
}
@media (max-width: 860px) {
  .hd__row { gap: 8px; }
  .srch--hd { display: none; }
  .ib--srch, .ib--menu { display: grid; }
  .logo svg { height: 15px; }
  /* зона нажатия логотипа ≥ 44 px без сдвига шапки */
  .logo { padding-block: 11px; margin-block: -11px; }
  .ib { width: 42px; height: 42px; }
  .nv__row { height: 52px; }
  .nv__a { height: 36px; font-size: 14px; padding: 0 14px; }
}
@media (max-width: 380px) { .logo svg { height: 13px; } .ib { width: 38px; } }

/* мобильный поиск во весь экран */
.msrch { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: none; flex-direction: column; }
.msrch.is-open { display: flex; animation: up .3s var(--ease); }
.msrch__top { display: flex; align-items: center; gap: 8px; padding: 12px var(--gut); }
.msrch__top .srch { max-width: none; }
.msrch .srch__pop { position: static; display: block; box-shadow: none; background: none; padding: 0; max-height: none; }
.msrch__body { overflow: auto; padding: 0 calc(var(--gut) - 8px) 100px; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- выдвижные панели (меню, мини-корзина, фильтры) ---------- */
.ov { position: fixed; inset: 0; z-index: 50; background: rgba(30, 26, 43, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.ov.is-open { opacity: 1; pointer-events: auto; }
.dr {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 51; background: var(--bg);
  display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--ease); visibility: hidden;
}
.dr.is-open { transform: none; visibility: visible; }
.dr--left { right: auto; left: 0; transform: translateX(-104%); }
.dr__hd { display: flex; align-items: center; gap: 12px; padding: 18px 16px 14px 24px; }
.dr__hd h2 { font-size: 22px; }
.dr__hd .ib { margin-left: auto; background: var(--surface); }
.dr__body { flex: 1; overflow: auto; padding: 0 24px 24px; overscroll-behavior: contain; }
.dr__ft { padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.dr__grab { display: none; }
@media (max-width: 760px) {
  .dr:not(.dr--left) { top: auto; width: 100%; max-height: 88dvh; border-radius: 28px 28px 0 0; transform: translateY(104%); }
  .dr:not(.dr--left).is-open { transform: none; }
  .dr:not(.dr--left) .dr__grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: #d9cbbd; margin: 10px auto 0; }
  .dr__hd { padding: 10px 12px 10px 20px; }
  .dr__body { padding: 0 20px 20px; }
  .dr__ft { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
}
.mn__list { display: grid; gap: 6px; margin-bottom: 24px; }
.mn__a { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 20px; border-radius: 20px; background: var(--surface); font: 600 17px/1 var(--display); letter-spacing: -.02em; }
.mn__a i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.mn__a .ico { margin-left: auto; color: var(--muted); width: 20px; }
.mn__sub { display: grid; gap: 2px; }
.mn__sub a { padding: 10px 4px; color: var(--muted); font-weight: 500; }

/* мини-корзина */
.mc__gift { margin-bottom: 14px; }
.mc__list { display: grid; gap: 12px; }
.mc__it { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--surface); }
.mc__it.is-new { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 3px var(--c); } 100% { box-shadow: 0 0 0 0 transparent; } }
.mc__img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--cs); }
.mc__img img { width: 100%; height: 100%; object-fit: cover; }
.mc__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.mc__tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--la-s); }
.mc__price { font: 600 14px/1 var(--display); margin-top: 8px; }
.mc__price s { font: 400 13px var(--body); color: var(--muted); margin-left: 6px; }
.mc__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.mc__sum b { font: 700 22px/1 var(--display); }
.mc__empty { text-align: center; padding: 40px 10px; display: grid; gap: 12px; justify-items: center; }
.mc__empty h3 { font-size: 20px; }
.mc__empty p { color: var(--muted); max-width: 300px; }

/* количество */
.qty { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 38px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: transform .3s var(--spring); }
.qty button:active { transform: scale(.85); }
.qty .ico { width: 18px; height: 18px; }
.qty span { min-width: 22px; text-align: center; font: 600 14px/1 var(--display); }
.qty--lg { height: 56px; }
.qty--lg button { width: 50px; height: 56px; }

/* прогресс до подарка / доставки */
.gp { padding: 16px 18px; border-radius: 20px; background: var(--surface); display: grid; gap: 10px; }
.gp + .gp { margin-top: 8px; }
.gp__t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.gp__t .ico { flex: none; width: 22px; height: 22px; color: var(--c); }
.gp__t b { font-weight: 700; white-space: nowrap; }
.gp__bar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.gp__bar i { display: block; height: 100%; border-radius: inherit; background: var(--c); width: 0; transition: width .8s var(--spring); }
.gp.is-done .gp__bar i { background: var(--ok); }
.gp.is-done .gp__t .ico { color: var(--ok); }

/* тост */
.toasts { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; animation: tin .45s var(--spring); }
.toast .ico { color: var(--yellow); }
.toast a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.toast.is-out { animation: tout .25s ease forwards; }
@keyframes tin { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes tout { to { opacity: 0; transform: translateY(10px); } }
@media (max-width: 760px) { .toasts { bottom: 64px; } }

/* ---------- разделы ---------- */
.sec { padding: 72px 0 0; }
.sec--tight { padding-top: 48px; }
.sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec__hd h2 { font-size: clamp(26px, 3.1vw, 42px); max-width: 18ch; }
.sec__hd p { color: var(--muted); max-width: 52ch; margin-top: 12px; font-size: 17px; }
.sec__more { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--surface); font-weight: 600; white-space: nowrap; transition: transform .35s var(--spring); }
.sec__more span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .35s var(--spring); }
.sec__more span .ico { width: 16px; height: 16px; }
.sec__more:hover span { transform: translateX(3px) rotate(-12deg); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; transition: transform .3s var(--spring), opacity .2s; }
.rail-nav button:hover { background: var(--ink); color: #fff; }
.rail-nav button:active { transform: scale(.88); }
.rail-nav button[disabled] { opacity: .35; pointer-events: none; }
.sec__acts { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) {
  .sec { padding-top: 52px; }
  .sec__hd { margin-bottom: 20px; align-items: flex-end; }
  .sec__hd p { font-size: 15px; margin-top: 8px; }
  .rail-nav { display: none; }
  .sec__more { height: 40px; font-size: 14px; padding-left: 14px; }
}

/* ---------- хлебные крошки и заголовок страницы ---------- */
.bc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.bc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bc .ico { width: 14px; height: 14px; }
.bc [aria-current] { color: var(--ink); }
.ph { position: relative; padding: 28px 0 8px; }
.ph h1 { font-size: clamp(34px, 5.2vw, 72px); max-width: 16ch; }
.ph__lead { font-size: 19px; max-width: 58ch; margin-top: 18px; color: #3d3750; }
@media (max-width: 760px) { .ph__lead { font-size: 16px; } }

/* декоративные формы */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape svg { width: 100%; height: 100%; display: block; }

/* ---------- карточка товара ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; } }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pc__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--cs); isolation: isolate; }
.pc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s; }
.pc__media .pc__img2 { opacity: 0; }
@media (hover: hover) {
  .pc:hover .pc__media img { transform: scale(1.04); }
  .pc:hover .pc__media .pc__img2 { opacity: 1; }
}
.pc__stk { position: absolute; left: 12px; top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.pc__fav {
  position: absolute; right: 10px; top: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  display: grid; place-items: center; transition: transform .4s var(--spring), color .15s;
}
.pc__fav .ico { width: 21px; height: 21px; }
.pc__fav:hover { transform: scale(1.1); }
.pc__fav:active { transform: scale(.85); }
.pc__fav[aria-pressed="true"] { color: var(--pink); }
.pc__fav[aria-pressed="true"] .ico { fill: currentColor; }
.pc__fav.is-pop { animation: pop .5s var(--spring); }
.pc__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 4px 0; flex: 1; }
.pc__line { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); align-self: flex-start; }
.pc__line i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.pc__line:hover { color: var(--ink); }
.pc__name { font-weight: 600; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__name:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pc__sub { font-size: 14px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__rate { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.pc__rate .ico { width: 15px; height: 15px; color: var(--orange); }
.pc__rate b { color: var(--ink); font-weight: 600; }
.pc__set { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.pc__set-th { display: flex; flex: none; }
.pc__set-th span { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--bg); background: var(--cs); }
.pc__set-th span + span { margin-left: -8px; }
.pc__set-th img { width: 100%; height: 100%; object-fit: cover; }
.pc__ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; position: relative; z-index: 2; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; }
.price b { font: 700 18px/1.2 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.price s { font-size: 14px; color: var(--muted); white-space: nowrap; }
.price.is-sale b { color: #D41B5D; }
.add {
  width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .4s var(--spring), background-color .2s, color .2s;
}
.add .ico { width: 22px; height: 22px; transition: transform .4s var(--spring); }
.add:hover { background: var(--c); color: var(--on); }
.add:hover .ico { transform: rotate(90deg); }
.add:active { transform: scale(.86); }
.add.is-done { background: var(--ok); color: #fff; animation: pop .5s var(--spring); }
.add.is-done .ico { transform: none; }
@media (max-width: 760px) {
  .pc__body { padding: 10px 2px 0; gap: 4px; }
  .pc__name { font-size: 14px; }
  .pc__sub { display: none; }
  .pc__line { font-size: 12px; }
  .pc__fav { width: 36px; height: 36px; right: 8px; top: 8px; }
  .pc__fav .ico { width: 18px; height: 18px; }
  .pc__stk { left: 8px; top: 10px; }
  .pc__stk .stk { height: 24px; font-size: 10px; padding: 0 9px; }
  .price b { font-size: 15px; }
  .price s { font-size: 12px; }
  .add { width: 40px; height: 40px; }
  .add .ico { width: 19px; height: 19px; }
  .pc__set { display: none; }
}

/* лента товаров */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 760px) {
  .rail { grid-auto-columns: 44%; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scroll-padding: 0 var(--gut); }
}

/* ---------- пустые состояния ---------- */
.empty { position: relative; text-align: center; padding: 64px 20px 72px; display: grid; justify-items: center; gap: 14px; }
.empty__art { width: 150px; height: 120px; }
.empty h2, .empty h3 { font-size: clamp(22px, 2.6vw, 30px); }
.empty p { color: var(--muted); max-width: 44ch; }
.empty .btn { margin-top: 10px; }

/* ---------- аккордеон ---------- */
.acc { border-radius: 22px; background: var(--surface); }
.acc + .acc { margin-top: 10px; }
.acc summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.35; border-radius: 22px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: #fffdfa; }
.acc__pm { margin-left: auto; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: transform .45s var(--spring), background-color .2s; }
.acc__pm .ico { width: 18px; height: 18px; }
.acc[open] .acc__pm { transform: rotate(45deg); background: var(--c); color: var(--on); }
.acc__b { padding: 0 22px 22px; color: #3d3750; max-width: 72ch; }
.acc__b p + p { margin-top: 10px; }
@media (max-width: 760px) { .acc summary { padding: 18px; font-size: 16px; } .acc__b { padding: 0 18px 18px; } }

/* ---------- подвал ---------- */
.ft { margin-top: 96px; background: var(--ink); color: #fff; border-radius: 40px 40px 0 0; position: relative; overflow: hidden; }
.ft__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr; gap: 40px; padding: 64px 0 48px; position: relative; z-index: 1; }
.ft .logo { color: #fff; }
.ft .logo svg { height: 22px; }
.ft .logo:hover { color: var(--yellow); }
.ft__tag { margin-top: 18px; color: #c9c4d6; max-width: 30ch; font-size: 15px; }
.ft h3 { font: 600 15px/1.2 var(--display); margin-bottom: 16px; letter-spacing: -.01em; }
.ft__col a { display: block; padding: 5px 0; color: #c9c4d6; font-size: 15px; }
.ft__col a:hover { color: #fff; }
.ft__contact { display: grid; gap: 6px; font-size: 15px; color: #c9c4d6; }
.ft__contact a { color: #fff; font: 600 17px/1.3 var(--display); letter-spacing: -.02em; }
.ft__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ft__pay span { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; }
.ft__ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 0 40px; position: relative; z-index: 1; }
.ft__ship a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .07); transition: background-color .2s; }
.ft__ship a:hover { background: rgba(255, 255, 255, .13); }
.ft__ship .ico { color: var(--yellow); width: 26px; height: 26px; }
.ft__ship b { display: block; font-weight: 600; }
.ft__ship small { color: #c9c4d6; font-size: 14px; }
.ft__bot { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); color: #a7a1b8; font-size: 13px; position: relative; z-index: 1; }
.ft__dots { position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; opacity: .9; }
@media (max-width: 1100px) { .ft__top { grid-template-columns: 1fr 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } .ft__contact-col { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .ft { margin-top: 64px; border-radius: 28px 28px 0 0; }
  .ft__top { grid-template-columns: 1fr 1fr; gap: 30px 16px; padding: 44px 0 32px; }
  .ft__col:last-of-type { grid-column: 1 / -1; }
  .ft__ship { grid-template-columns: 1fr; }
  .ft__bot { flex-direction: column; padding-bottom: 70px; }
  .ft__dots { width: 220px; height: 220px; right: -70px; top: -50px; }
}

/* ==================== ГЛАВНАЯ ==================== */
/* сторис */
.st-row { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 22px 0 6px; }
.st-row::-webkit-scrollbar { display: none; }
.st-c { flex: none; display: grid; justify-items: center; gap: 8px; width: 92px; transition: transform .35s var(--spring); }
.st-c:hover { transform: translateY(-3px); }
.st-c:active { transform: scale(.94); }
.st-c__ring { width: 88px; height: 88px; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, var(--c), var(--yellow), var(--c)); display: block; }
.st-c.is-seen .st-c__ring { background: #e3d8cc; }
.st-c__img { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); background: var(--cs); }
.st-c__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.st-c__t { font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.st-row__t { flex: none; align-self: center; font: 700 15px/1.15 var(--display); width: 92px; letter-spacing: -.02em; }
@media (max-width: 760px) {
  .st-row { gap: 12px; padding: 16px var(--gut) 4px; margin: 0 calc(var(--gut) * -1); }
  .st-c { width: 74px; }
  .st-c__ring { width: 72px; height: 72px; padding: 3px; }
  .st-c__t { font-size: 12px; }
  .st-row__t { display: none; }
}

/* просмотрщик сторис */
.sv { position: fixed; inset: 0; z-index: 80; background: rgba(22, 19, 33, .94); display: none; align-items: center; justify-content: center; }
.sv.is-open { display: flex; animation: svIn .35s var(--ease); }
@keyframes svIn { from { opacity: 0; } }
.sv__frame {
  position: relative; height: min(92vh, 880px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--cs);
  touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .3s var(--ease), opacity .3s;
}
.sv__frame.is-in { animation: svFrame .45s var(--spring); }
@keyframes svFrame { from { transform: scale(.92); opacity: .4; } }
.sv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sv__bars { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 3; }
.sv__bars span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.sv__bars i { display: block; height: 100%; width: 0; background: #fff; }
.sv__hd { position: absolute; top: 26px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.sv__av { width: 38px; height: 38px; border-radius: 50%; background: var(--c); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.sv__av i { width: 15px; height: 15px; border: 4px solid var(--on); border-radius: 50%; }
.sv__who { background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1.2; }
.sv__who b { font-weight: 700; }
.sv__x { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.sv__pause { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.sv__pause .ico { width: 18px; height: 18px; }
.sv__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; background: #fff; border-radius: 24px; padding: 18px 18px 16px; display: grid; gap: 14px; }
.sv__cap h3 { font-size: 22px; }
.sv__cap p { font-size: 15px; line-height: 1.45; color: #3d3750; }
.sv__cap .btn { height: 50px; }
.sv__tap { position: absolute; inset: 0; z-index: 2; display: flex; }
.sv__tap button { flex: 1; cursor: default; }
.sv__tap button:first-child { flex: 0 0 34%; }
.sv__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--spring); }
.sv__nav:hover { transform: scale(1.08); }
.sv__nav:active { transform: scale(.9); }
.sv__nav--p { right: calc(50% + min(92vh, 880px) * 9 / 32 + 24px); }
.sv__nav--n { left: calc(50% + min(92vh, 880px) * 9 / 32 + 24px); }
.sv__nav[hidden] { display: none; }
.sv__x--out { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
@media (max-width: 760px) {
  .sv__frame { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .sv__nav, .sv__x--out { display: none; }
  .sv__bars { top: calc(10px + env(safe-area-inset-top)); }
  .sv__hd { top: calc(24px + env(safe-area-inset-top)); }
  .sv__cap { bottom: calc(60px + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px) { .sv__frame .sv__x { display: none; } }

/* герой */
.hero { position: relative; margin-top: 18px; }
.hero__vp { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--c); transition: background-color .6s var(--ease); min-height: 540px; }
.hero__s { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.hero__s.is-on { opacity: 1; visibility: visible; position: relative; }
.hero__txt { position: relative; z-index: 2; padding: 64px 0 96px 64px; display: flex; flex-direction: column; justify-content: center; gap: 22px; color: var(--on); }
.hero__txt h1, .hero__txt h2 { font-size: clamp(36px, 4.6vw, 70px); line-height: 1; letter-spacing: -.035em; }
.hero__txt p { font-size: 18px; max-width: 34ch; line-height: 1.45; }
.hero__s.is-on .hero__txt > * { animation: heroUp .7s var(--ease) both; }
.hero__s.is-on .hero__txt > *:nth-child(2) { animation-delay: .08s; }
.hero__s.is-on .hero__txt > *:nth-child(3) { animation-delay: .16s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } }
.hero__img { position: relative; margin: 20px 20px 20px 0; border-radius: calc(var(--r-panel) - 10px); overflow: hidden; background: var(--cs); }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease); }
.hero__s.is-on .hero__img img { transform: scale(1); }
/* предметная съёмка (флакон на ровном персиковом фоне): кадр целиком по высоте, по центру; края кадра растворяются в таком же фоне */
.hero__img--pack { background: linear-gradient(90deg, #FEDAC2, #FBD3B9); }
.hero__img--pack img { inset: auto; top: -7%; left: 0; right: 0; margin-inline: auto; width: auto; max-width: none; height: 114%; aspect-ratio: 1856 / 2304;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.hero__ctl { position: absolute; left: 64px; bottom: 40px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.hero__dot { width: 44px; height: 8px; border-radius: 999px; background: rgba(30, 26, 43, .2); overflow: hidden; }
.hero__dot i { display: block; height: 100%; width: 0; background: var(--ink); }
.hero__dot.is-on i { animation: heroBar var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-on i { animation-play-state: paused; }
@keyframes heroBar { to { width: 100%; } }
.hero__arr { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: grid; place-items: center; transition: transform .3s var(--spring); }
.hero__arr:active { transform: scale(.88); }
.hero__sticker { position: absolute; z-index: 4; right: 48px; top: 40px; width: 132px; height: 132px; display: grid; place-items: center; text-align: center; font: 700 15px/1.1 var(--display); color: var(--ink); transform: rotate(12deg); animation: wob 6s ease-in-out infinite; }
.hero__sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sticker span { position: relative; }
.hero__sticker b { display: block; font-size: 30px; letter-spacing: -.04em; }
@keyframes wob { 50% { transform: rotate(4deg) scale(1.04); } }
.hero__shape { position: absolute; z-index: 1; }
@media (max-width: 1100px) {
  .hero__txt { padding: 48px 0 90px 40px; }
  .hero__ctl { left: 40px; }
  .hero__vp { min-height: 460px; }
}
@media (max-width: 760px) {
  .hero { margin-top: 10px; }
  .hero__vp { min-height: 0; }
  .hero__s { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .hero__img { order: -1; margin: 10px 10px 0; aspect-ratio: 16 / 11; }
  .hero__txt { padding: 24px 22px 76px; gap: 14px; justify-content: flex-start; }
  .hero__txt h1, .hero__txt h2 { font-size: 32px; }
  .hero__txt p { font-size: 15px; }
  .hero__txt .btn { align-self: flex-start; height: 50px; }
  .hero__ctl { left: 22px; bottom: 24px; }
  .hero__arr { display: none; }
  .hero__sticker { width: 96px; height: 96px; right: 18px; top: 22px; font-size: 11px; }
  .hero__sticker b { font-size: 22px; }
}

/* линейки по цвету */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ln {
  position: relative; display: grid; grid-template-columns: 1fr 40%; min-height: 250px; border-radius: var(--r-card); overflow: hidden; background: var(--cs);
  transition: transform .45s var(--spring);
}
.ln:hover { transform: translateY(-4px) rotate(-.4deg); }
.ln:active { transform: scale(.98); }
.ln__txt { position: relative; z-index: 2; padding: 24px 0 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.ln__pill { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--c); color: var(--on); font: 600 12px/1 var(--display); }
.ln h3 { font-size: 26px; margin-top: 6px; }
.ln h3 small { display: block; font: 500 15px/1.3 var(--body); letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.ln p { font-size: 14px; line-height: 1.4; color: #3d3750; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ln__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.ln__go span { width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: var(--on); display: grid; place-items: center; transition: transform .4s var(--spring); }
.ln:hover .ln__go span { transform: translateX(4px); }
.ln__img { position: relative; }
.ln__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ln:hover .ln__img img { transform: scale(1.06); }
@media (max-width: 1100px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ln { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .ln__img { aspect-ratio: 1; order: -1; }
  .ln__txt { padding: 14px 14px 16px; gap: 4px; }
  .ln h3 { font-size: 18px; margin-top: 2px; }
  .ln h3 small { font-size: 13px; }
  .ln p, .ln__go { display: none; }
  .ln__pill { position: absolute; top: -40px; left: 10px; height: 26px; font-size: 11px; padding: 0 10px; }
}

/* промо-плитки на главной */
.promo-g { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.pm { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--c); color: var(--on); transition: transform .45s var(--spring); min-height: 420px; }
.pm:hover { transform: translateY(-4px); }
.pm__img { position: relative; aspect-ratio: 3 / 2; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; background: var(--cs); }
.pm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pm:hover .pm__img img { transform: scale(1.05); }
.pm__b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pm h3 { font-size: 24px; line-height: 1.08; }
.pm p { font-size: 15px; line-height: 1.45; }
.pm__ft { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pm__until { font-size: 13px; font-weight: 600; opacity: .8; }
.code {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: 14px; background: #fff; color: var(--ink);
  border: 2px dashed var(--ink); font: 700 16px/1 var(--display); letter-spacing: .02em; position: relative; z-index: 2; transition: transform .3s var(--spring);
}
.code:active { transform: scale(.95); }
.code span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; }
.code span .ico { width: 16px; height: 16px; }
.code.is-copied span { background: var(--ok); }
.pm--big { grid-row: span 1; }
.pm__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1100px) { .promo-g { grid-template-columns: 1fr 1fr; } .pm--big { grid-column: 1 / -1; flex-direction: row; min-height: 0; } .pm--big .pm__img { flex: 0 0 52%; margin: 10px; aspect-ratio: auto; } }
@media (max-width: 760px) {
  .promo-g { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .promo-g::-webkit-scrollbar { display: none; }
  .pm { scroll-snap-align: start; min-height: 0; }
  .pm--big { flex-direction: column; grid-column: auto; }
  .pm--big .pm__img { flex: none; margin: 10px 10px 0; aspect-ratio: 3 / 2; }
  .pm h3 { font-size: 20px; }
}

/* тест-тизер */
.qt { position: relative; border-radius: var(--r-panel); background: var(--yellow); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 64px; }
.qt__txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.qt h2 { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.02; }
.qt p { font-size: 18px; max-width: 34ch; }
.qt .btn { align-self: flex-start; }
.qt__card { position: relative; z-index: 2; background: #fff; border-radius: 28px; padding: 26px; display: grid; gap: 14px; transform: rotate(2deg); box-shadow: 10px 12px 0 var(--ink); }
.qt__prog { display: flex; gap: 5px; }
.qt__prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.qt__prog i:first-child { background: var(--ink); }
.qt__q { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; }
.qt__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; border-radius: 18px; background: var(--bg); font-weight: 500; text-align: left; transition: transform .3s var(--spring), background-color .15s; }
.qt__opt:hover { background: var(--ink); color: #fff; transform: translateX(4px); }
.qt__opt i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; flex: none; }
@media (max-width: 900px) { .qt { grid-template-columns: 1fr; padding: 36px 22px 40px; gap: 28px; } .qt__card { box-shadow: 6px 8px 0 var(--ink); transform: rotate(1deg); } .qt p { font-size: 16px; } }

/* набор и клуб — двойной блок */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tz { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--c); color: var(--on); display: flex; flex-direction: column; min-height: 520px; }
.tz__b { position: relative; z-index: 2; padding: 40px 40px 0; display: grid; gap: 14px; }
.tz h2 { font-size: clamp(28px, 3vw, 42px); }
.tz p { font-size: 17px; max-width: 38ch; }
.tz .btn { justify-self: start; margin-top: 6px; }
.tz__img { position: relative; margin: auto 14px 14px; margin-top: 28px; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--cs); }
.tz__img img { width: 100%; height: 100%; object-fit: cover; }
.tz__slots { display: flex; gap: 10px; margin-top: 6px; }
.tz__slots span { width: 64px; height: 64px; border-radius: 20px; border: 2.5px dashed currentColor; display: grid; place-items: center; font: 700 18px/1 var(--display); opacity: .9; }
.tz__slots span:last-child { border-style: solid; background: var(--ink); color: #fff; border-color: var(--ink); font-size: 15px; width: auto; padding: 0 16px; }
.tz__pts { display: inline-flex; align-items: baseline; gap: 8px; font: 800 64px/1 var(--display); letter-spacing: -.05em; }
.tz__pts small { font: 600 16px/1 var(--body); letter-spacing: 0; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .tz { min-height: 0; } .tz__b { padding: 30px 22px 0; } .tz__pts { font-size: 48px; } }

/* как применять — шаги */
.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.howto__img { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--vc-s); min-height: 420px; }
.howto__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.howto__b { border-radius: var(--r-panel); background: var(--surface); padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.howto__b h2 { font-size: clamp(26px, 2.8vw, 38px); }
.steps { counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 12px 0; font-size: 17px; line-height: 1.45; }
.steps li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: var(--on); display: grid; place-items: center; font: 700 20px/1 var(--display); }
.steps li:last-child::before { background: var(--ink); color: #fff; }
.steps li span { padding-top: 12px; }
.howto__b .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr; } .howto__img { min-height: 0; aspect-ratio: 3 / 2; } .howto__b { padding: 28px 22px; } .steps li { font-size: 15px; grid-template-columns: 44px 1fr; } .steps li::before { width: 44px; height: 44px; font-size: 17px; } .steps li span { padding-top: 9px; } }

/* отзывы */
.rv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 380px; gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.rv-rail::-webkit-scrollbar { display: none; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-card); background: var(--surface); min-height: 300px; }
.rv:nth-child(3n+2) { transform: rotate(.6deg); }
.rv:nth-child(3n) { transform: rotate(-.5deg); }
.rv__stars { display: flex; gap: 2px; color: var(--orange); }
.rv__stars .ico { width: 18px; height: 18px; }
.rv__stars .is-off { color: var(--line); }
.rv__txt { font-size: 16px; line-height: 1.5; flex: 1; }
.rv__who { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.rv__av { width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--on); display: grid; place-items: center; font: 700 15px/1 var(--display); flex: none; }
.rv__who b { display: block; font-weight: 600; font-size: 15px; }
.rv__who small { color: var(--muted); font-size: 13px; }
.rv__prod { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--bg); transition: background-color .15s; }
.rv__prod:hover { background: var(--cs); }
.rv__prod span:first-child { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--cs); flex: none; }
.rv__prod img { width: 100%; height: 100%; object-fit: cover; }
.rv__prod b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.rv__ver { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 12px; font-weight: 600; }
.rv__ver .ico { width: 14px; height: 14px; }
@media (max-width: 760px) { .rv-rail { grid-auto-columns: 84%; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); } .rv { padding: 20px; min-height: 0; } .rv__txt { font-size: 15px; } }

/* журнал */
.jr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.ja { position: relative; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-card); background: var(--surface); padding: 10px 10px 22px; transition: transform .45s var(--spring); }
.ja:hover { transform: translateY(-4px); }
.ja__img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--cs); }
.ja__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ja:hover .ja__img img { transform: scale(1.05); }
.ja__meta { display: flex; gap: 8px; align-items: center; padding: 6px 12px 0; font-size: 13px; color: var(--muted); }
.ja__tag { height: 26px; padding: 0 11px; border-radius: 999px; background: var(--c); color: var(--on); display: inline-flex; align-items: center; font-weight: 600; font-size: 12px; }
.ja h3 { font-size: 19px; line-height: 1.2; padding: 0 12px; }
.ja p { font-size: 15px; color: #3d3750; padding: 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ja--big { grid-row: span 2; }
.ja--big .ja__img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.ja--big h3 { font-size: 26px; }
.ja--row { grid-column: span 2; flex-direction: row; align-items: stretch; }
.ja--row .ja__img { flex: 0 0 44%; aspect-ratio: auto; min-height: 220px; }
.ja--row > div { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.ja__a::after { content: ''; position: absolute; inset: 0; }
@media (max-width: 1100px) { .jr { grid-template-columns: 1fr 1fr; } .ja--big { grid-row: auto; grid-column: 1 / -1; } .ja--big .ja__img { aspect-ratio: 16 / 9; min-height: 0; flex: none; } .ja--row { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .jr { grid-template-columns: 1fr; gap: 12px; }
  .ja--row { flex-direction: column; }
  .ja--row .ja__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .ja h3, .ja--big h3 { font-size: 18px; }
}

/* преимущества */
.bn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bn__i { padding: 26px 24px; border-radius: var(--r-card); background: var(--cs); display: grid; gap: 10px; align-content: start; }
.bn__i svg { width: 56px; height: 56px; }
.bn__i h3 { font-size: 18px; }
.bn__i p { font-size: 15px; color: #3d3750; }
@media (max-width: 1100px) { .bn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .bn { gap: 10px; } .bn__i { padding: 18px 16px; } .bn__i h3 { font-size: 15px; } .bn__i p { font-size: 13px; } .bn__i svg { width: 44px; height: 44px; } }

/* ==================== КАТАЛОГ ==================== */
.ch { position: relative; margin-top: 18px; border-radius: var(--r-panel); background: var(--surface); padding: 40px 44px; overflow: hidden; }
.ch.is-line { background: var(--c); color: var(--on); display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: center; }
.ch h1 { font-size: clamp(32px, 4.6vw, 64px); position: relative; z-index: 2; }
.ch__tag { display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1 var(--display); margin-bottom: 16px; position: relative; z-index: 2; }
.ch p { margin-top: 14px; font-size: 18px; max-width: 54ch; position: relative; z-index: 2; }
.ch__img { position: relative; z-index: 2; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--cs); transform: rotate(3deg); max-height: 340px; justify-self: end; height: 340px; }
.ch__img img { width: 100%; height: 100%; object-fit: cover; }
.ch .shape { opacity: .9; }
@media (max-width: 760px) {
  .ch { padding: 26px 20px; margin-top: 12px; }
  .ch.is-line { grid-template-columns: 1fr 110px; gap: 14px; }
  .ch__img { height: 138px; border-radius: 16px; }
  .ch p { font-size: 15px; }
}
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 24px 0 0; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs .chip { height: 48px; padding: 0 22px; font: 600 15px/1 var(--display); letter-spacing: -.02em; }
.fbar { display: flex; align-items: center; gap: 8px; padding: 14px 0 0; flex-wrap: wrap; }
.fbar__lines { display: flex; gap: 8px; flex-wrap: wrap; }
.fbar__right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 44px 0 18px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; font-size: 15px; cursor: pointer; }
.sel select:focus-visible { outline: 3px solid var(--hy); }
.sel .ico { position: absolute; right: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; pointer-events: none; }
.fbar__act { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.fbar__act .chip { height: 36px; font-size: 14px; background: var(--ink); color: #fff; box-shadow: none; padding: 0 10px 0 14px; }
.fbar__act .chip .ico { width: 16px; height: 16px; }
.fbar__act .chip--reset { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cat-count { color: var(--muted); font-size: 15px; padding: 26px 0 18px; }
.cat-count b { color: var(--ink); }
@media (max-width: 760px) {
  .fbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 12px var(--gut) 0; }
  .fbar::-webkit-scrollbar { display: none; }
  .fbar__lines { flex-wrap: nowrap; }
  .fbar__right { margin-left: 0; order: -1; }
  .cat-tabs { margin: 0 calc(var(--gut) * -1); padding: 18px var(--gut) 0; }
  .cat-tabs .chip { height: 44px; padding: 0 18px; font-size: 14px; }
  .chip { height: 40px; font-size: 14px; padding: 0 15px; }
  .sel select { height: 40px; font-size: 14px; }
}
.fg { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fg h3 { font: 600 16px/1.2 var(--display); margin-bottom: 14px; }
.fg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fg__opts .chip { height: 40px; font-size: 14px; }

/* ==================== КАРТОЧКА ТОВАРА ==================== */
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-top: 22px; align-items: start; }
.gal { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.gal__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-panel); overflow: hidden; background: var(--cs); grid-column: 2; grid-row: 1; touch-action: pan-y; }
.gal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gal__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gal__th { width: 88px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--cs); box-shadow: 0 0 0 0 var(--ink); transition: box-shadow .2s, transform .3s var(--spring); }
.gal__th img { width: 100%; height: 100%; object-fit: cover; }
.gal__th[aria-current="true"] { box-shadow: 0 0 0 3px var(--ink); }
.gal__th:active { transform: scale(.94); }
.gal__stk { position: absolute; left: 22px; top: 22px; z-index: 2; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gal__stk .stk { height: 34px; font-size: 14px; padding: 0 16px; }
.gal__dots { display: none; }
.gal .shape { z-index: 1; }
@media (max-width: 1000px) { .pp { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
@media (max-width: 760px) {
  .gal { grid-template-columns: 1fr; margin: 0 calc(var(--gut) * -1); }
  .gal__main { grid-column: 1; border-radius: 0 0 28px 28px; }
  .gal__thumbs { display: none; }
  .gal__dots { display: flex; gap: 6px; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2; }
  .gal__dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(30, 26, 43, .25); transition: width .3s var(--spring); }
  .gal__dots i.is-on { width: 24px; background: var(--ink); }
  .gal__stk { left: 16px; top: 16px; }
}
.pi { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.pi__line { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--c); color: var(--on); font: 600 13px/1 var(--display); transition: transform .3s var(--spring); }
.pi__line:hover { transform: rotate(-2deg) scale(1.03); }
.pi__line i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; }
.pi h1 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.06; }
.pi__sub { font-size: 18px; color: #3d3750; margin-top: -6px; }
.pi__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; }
.pi__rate { display: inline-flex; align-items: center; gap: 6px; }
.pi__rate .ico { width: 18px; height: 18px; color: var(--orange); }
.pi__rate b { font-weight: 700; }
.pi__rate a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pi__vol { padding: 5px 12px; border-radius: 999px; background: var(--surface); font-weight: 500; }
.pi__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pi__price b { font: 700 40px/1 var(--display); letter-spacing: -.04em; }
.pi__price s { font-size: 18px; color: var(--muted); }
.pi__price .stk { transform: rotate(-4deg) translateY(-6px); }
.pi__buy { display: flex; gap: 10px; align-items: center; }
.pi__buy .btn { flex: 1; height: 64px; font-size: 16px; }
.pi__fav { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; transition: transform .4s var(--spring), color .15s; }
.pi__fav:active { transform: scale(.88); }
.pi__fav[aria-pressed="true"] { color: var(--pink); }
.pi__fav[aria-pressed="true"] .ico { fill: currentColor; }
.pi__short { font-size: 17px; line-height: 1.5; padding: 16px 18px; border-radius: 20px; background: var(--cs); }
.pi__perks { display: grid; gap: 8px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--surface); font-size: 15px; line-height: 1.35; }
.perk .ico { color: var(--c); flex: none; }
.perk a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.perk--21 { background: var(--orange); color: var(--ink); }
.perk--21 .ico { color: var(--ink); }
@media (max-width: 760px) {
  .pi { position: static; gap: 14px; }
  .pi__sub { font-size: 16px; }
  .pi__price b { font-size: 32px; }
  .pi__buy .btn { height: 58px; }
  .pi__fav { width: 58px; height: 58px; }
  .pi__short { font-size: 15px; }
}
/* состав набора */
.setbox { border-radius: var(--r-panel); background: var(--cs); padding: 32px; }
.setbox__hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.setbox__hd h2 { font-size: clamp(24px, 2.6vw, 34px); }
.setbox__save { font: 700 16px/1.2 var(--display); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.setbox__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.si { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 20px; background: #fff; transition: transform .35s var(--spring); }
.si:hover { transform: translateY(-3px); }
.si__img { width: 72px; height: 90px; border-radius: 14px; overflow: hidden; background: var(--cs); flex: none; }
.si__img img { width: 100%; height: 100%; object-fit: cover; }
.si b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.si small { color: var(--muted); font-size: 13px; }
.si__plus { font: 700 26px/1 var(--display); align-self: center; display: none; }
@media (max-width: 760px) { .setbox { padding: 22px 16px; } .setbox__list { grid-template-columns: 1fr; } }
/* активы */
.act { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.act__i { border-radius: var(--r-card); background: var(--c); color: var(--on); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.act__i:nth-child(2) { background: var(--cs); color: var(--ink); }
.act__i:nth-child(3) { background: var(--surface); color: var(--ink); }
.act__pct { font: 800 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -.05em; }
.act__n { font-weight: 700; font-size: 17px; line-height: 1.3; margin-top: auto; }
.act__r { font-size: 15px; opacity: .85; }
@media (max-width: 760px) { .act { grid-template-columns: 1fr; } .act__i { min-height: 0; padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; } .act__pct { font-size: 40px; flex: none; } .act__n { margin-top: 0; flex: 1; min-width: 50%; } .act__r { flex-basis: 100%; } }
.pd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.pd__card { border-radius: var(--r-panel); background: var(--surface); padding: 32px; }
.pd__card + .pd__card { margin-top: 16px; }
.pd__card h2 { font-size: 24px; margin-bottom: 16px; }
.pd__card h3 { font: 600 16px/1.2 var(--display); margin: 22px 0 10px; }
.pd__txt { font-size: 17px; line-height: 1.6; color: #2c2740; }
.ben { display: grid; gap: 10px; }
.ben li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.ben li .ico { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c); color: var(--on); stroke-width: 3; margin-top: -1px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; }
.tag .ico { width: 18px; height: 18px; }
.tag--warn { background: #FFE8EE; }
.tag--warn .ico { color: #D41B5D; }
.inci { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1000px) { .pd { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pd__card { padding: 22px 18px; } .pd__txt { font-size: 15px; } .ben li { font-size: 15px; } }
/* отзывы на карточке */
.rs { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.rs__sum { border-radius: var(--r-panel); background: var(--c); color: var(--on); padding: 32px; display: grid; gap: 8px; }
.rs__big { font: 800 80px/1 var(--display); letter-spacing: -.05em; }
.rs__sum .rv__stars { color: currentColor; }
.rs__sum p { font-size: 15px; }
.rs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs__list .rv { transform: none; min-height: 0; }
.rs__note { font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
@media (max-width: 900px) { .rs { grid-template-columns: 1fr; } .rs__list { grid-template-columns: 1fr; } .rs__sum { grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; padding: 22px; } .rs__big { font-size: 56px; grid-row: span 3; } }
/* липкая кнопка на телефоне */
.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  transform: translateY(160%); transition: transform .45s var(--spring);
}
.sticky-buy.is-on { transform: none; }
.sticky-buy__p { display: grid; line-height: 1.15; min-width: 0; }
.sticky-buy__p b { font: 700 17px/1.1 var(--display); }
.sticky-buy__p small { font-size: 12px; color: #c9c4d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { margin-left: auto; height: 50px; padding: 0 22px; }
@media (max-width: 760px) { .sticky-buy { display: flex; } body.has-sticky { padding-bottom: 72px; } }

/* ==================== КОРЗИНА ==================== */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; padding-top: 18px; }
.cart__l { display: grid; gap: 16px; }
.cl { border-radius: var(--r-panel); background: var(--surface); padding: 12px; }
.cl__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; }
.cl__hd h2 { font-size: 20px; }
.cl__hd button { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cl__hd button:hover { color: var(--ink); }
.ci { display: grid; grid-template-columns: 112px 1fr auto; gap: 18px; align-items: center; padding: 12px; border-radius: 22px; transition: background-color .2s, opacity .3s, transform .3s; }
.ci { position: relative; }
/* прямая линия-разделитель: тень по скруглённому краю давала «волну» на концах */
.ci + .ci::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--line); pointer-events: none; }
.ci.is-out { opacity: 0; transform: translateX(30px); }
.ci__img { width: 112px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--cs); }
.ci__img img { width: 100%; height: 100%; object-fit: cover; }
.ci__b { display: grid; gap: 6px; min-width: 0; }
.ci__name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.ci__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci__sub { font-size: 14px; color: var(--muted); }
.ci__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ci__del { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.ci__del:hover { color: #D41B5D; }
.ci__del .ico { width: 18px; height: 18px; }
.ci__price { text-align: right; display: grid; gap: 4px; justify-items: end; }
.ci__price b { font: 700 19px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.ci__price s { font-size: 14px; color: var(--muted); white-space: nowrap; }
.ci__free { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--orange); }
.bundle { border-radius: 24px; background: var(--la-s); padding: 6px; margin: 4px 0; }
.bundle__hd { display: flex; align-items: center; gap: 10px; padding: 12px 14px 6px; flex-wrap: wrap; }
.bundle__hd b { font: 700 16px/1.2 var(--display); }
.bundle__hd .stk { background: var(--la); }
.bundle__hd button { margin-left: auto; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bundle .ci { background: #fff; }
.bundle .ci + .ci { margin-top: 6px; }
.bundle .ci + .ci::before { content: none; }
.gift-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.gift-opt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; background: var(--bg); cursor: pointer; transition: transform .35s var(--spring), box-shadow .2s; }
.gift-opt:hover { transform: translateY(-3px); }
.gift-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gift-opt__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cs); }
.gift-opt__img img { width: 100%; height: 100%; object-fit: cover; }
.gift-opt span { font-size: 14px; font-weight: 500; line-height: 1.3; }
.gift-opt__ok { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--spring); }
.gift-opt__ok .ico { width: 16px; height: 16px; stroke-width: 3; }
.gift-box { border-radius: var(--r-panel); background: var(--surface); padding: 22px; }
.gift-box h2 { font-size: 20px; }
.gift-box p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.gift-box.is-locked .gift-pick { opacity: .5; pointer-events: none; filter: saturate(.6); }
.sum { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--r-panel); background: var(--surface); padding: 28px; display: grid; gap: 14px; }
.sum h2 { font-size: 22px; }
.sum__rows { display: grid; gap: 10px; font-size: 15px; }
.sum__r { display: flex; justify-content: space-between; gap: 16px; }
.sum__r span:last-child { white-space: nowrap; font-weight: 600; }
.sum__r--disc span:last-child { color: #D41B5D; }
.sum__r small { display: block; color: var(--muted); font-size: 13px; }
.sum__tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px dashed var(--line); }
.sum__tot span { font-weight: 600; }
.sum__tot b { font: 800 30px/1 var(--display); letter-spacing: -.04em; }
.promo { display: flex; gap: 8px; }
.promo .input { height: 52px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.promo .input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.promo .btn { height: 52px; padding: 0 20px; }
.promo-msg { font-size: 14px; line-height: 1.4; display: flex; gap: 8px; align-items: flex-start; }
.promo-msg .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.promo-msg.is-ok { color: var(--ok); }
.promo-msg.is-bad { color: #C8104F; }
.promo-msg.is-info { color: var(--muted); }
.promo-on { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; background: #E3F7EE; font-weight: 600; }
.promo-on button { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.promo-on button:hover { background: #fff; }
.pts-t { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--la-s); font-size: 14px; cursor: pointer; }
.pts-t input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.pts-t b { font-weight: 700; }
.sum__note { font-size: 13px; color: var(--muted); line-height: 1.45; }
.sum__cash { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 14px; border-radius: 14px; background: var(--bg); }
.sum__cash .ico { color: var(--la); flex: none; }
.sum__cash a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@media (max-width: 1000px) { .cart { grid-template-columns: minmax(0, 1fr); } .cart > *, .cart__l, .co, .co__sec, .sum { min-width: 0; } .sum { position: static; } }
@media (max-width: 760px) {
  .cl { padding: 6px; border-radius: 24px; }
  .ci { grid-template-columns: 84px 1fr; gap: 12px; padding: 10px; align-items: start; }
  .ci__img { width: 84px; }
  .ci__price { grid-column: 2; justify-items: start; text-align: left; grid-row: 2; display: flex; align-items: baseline; gap: 8px; margin-top: -4px; }
  .ci__name { font-size: 15px; }
  .ci__price b { font-size: 16px; }
  .gift-pick { grid-template-columns: 1fr; }
  .gift-opt { flex-direction: row; align-items: center; }
  .gift-opt__img { width: 64px; flex: none; }
  .gift-opt__ok { top: 50%; margin-top: -15px; }
  .sum { padding: 22px 18px; border-radius: 24px; }
  .sum__tot b { font-size: 26px; }
}
/* оформление */
.co { display: grid; gap: 16px; }
.co__sec { border-radius: var(--r-panel); background: var(--surface); padding: 28px; display: grid; gap: 18px; }
.co__sec h2 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.co__sec h2 i { font: 700 15px/1 var(--display); font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co__grid .field--full { grid-column: 1 / -1; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: var(--bg); cursor: pointer; transition: box-shadow .15s, transform .3s var(--spring); }
.opt:hover { transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__r { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cbbfb2; flex: none; margin-top: 1px; transition: box-shadow .2s var(--spring); background: #fff; }
.opt b { display: block; font-weight: 600; font-size: 15px; }
.opt small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.opt__p { margin-left: auto; font: 600 14px/1.2 var(--display); white-space: nowrap; padding-left: 8px; }
.opt__p.is-free { color: var(--ok); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.agree input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 18px; background: var(--yellow); font-size: 14px; font-weight: 500; line-height: 1.45; }
.demo-note .ico { flex: none; }
.co__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 8px 0; }
.co__back .ico { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .co__sec { padding: 22px 16px; border-radius: 24px; } .co__grid, .opts { grid-template-columns: minmax(0, 1fr); }
  /* длинная подпись «Подтвердить заказ на сумму от 1 151 ₽» переносится внутри пухлой кнопки, а не распирает колонку */
  .co .btn--block, .sum .btn--block { white-space: normal; height: auto !important; min-height: 60px; padding: 12px 20px; line-height: 1.25; text-align: center; }
}
/* заказ принят */
.ok { position: relative; text-align: center; padding: 72px 24px 56px; border-radius: var(--r-panel); background: var(--surface); margin-top: 24px; overflow: hidden; display: grid; justify-items: center; gap: 16px; }
.ok__badge { width: 112px; height: 112px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: pop .7s var(--spring); }
.ok__badge .ico { width: 56px; height: 56px; stroke-width: 3; }
.ok h1 { font-size: clamp(32px, 4.4vw, 56px); max-width: 16ch; }
.ok__num { font: 700 20px/1 var(--display); padding: 12px 20px; border-radius: 999px; background: var(--yellow); }
.ok p { max-width: 52ch; color: #3d3750; font-size: 17px; }
.ok__rows { display: grid; gap: 8px; width: min(440px, 100%); text-align: left; padding: 18px 20px; border-radius: 20px; background: var(--bg); font-size: 15px; margin-top: 6px; }
.ok__acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 50%; animation: fall 2.6s var(--ease) forwards; }
.confetti i:nth-child(3n) { border-radius: 3px; width: 10px; height: 16px; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(560px) rotate(540deg); opacity: 0; } }

/* ==================== СОБЕРИ НАБОР ==================== */
.bs { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding-top: 24px; }
.bs__panel { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--r-panel); background: var(--la); color: var(--ink); padding: 26px; display: grid; gap: 18px; }
.bs__panel h2 { font-size: 24px; }
.bs__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; border: 2.5px dashed rgba(30, 26, 43, .45); display: grid; place-items: center; font: 700 28px/1 var(--display); color: rgba(30, 26, 43, .5); overflow: hidden; background: rgba(255, 255, 255, .25); }
.slot.is-full { border: 0; background: var(--cs); animation: slotIn .55s var(--spring); }
@keyframes slotIn { from { transform: scale(.6) rotate(-8deg); } }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot__x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 2; color: var(--ink); }
.slot__x .ico { width: 16px; height: 16px; }
/* отступ — прозрачной рамкой: overflow обрезает по краю padding, и при padding из-под клампа выглядывала лишняя строка */
.slot__n { position: absolute; left: 6px; right: 6px; bottom: 6px; background: rgba(255, 255, 255, .92); border-radius: 10px; padding: 0; border: 5px solid transparent; border-inline-width: 7px; font: 600 11px/1.2 var(--body); color: var(--ink); text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bs__math { display: grid; gap: 8px; font-size: 15px; background: rgba(255, 255, 255, .55); border-radius: 18px; padding: 16px; }
.bs__math .sum__r--disc span:last-child { color: var(--ink); }
.bs__tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; padding-top: 8px; border-top: 2px dashed rgba(30, 26, 43, .2); }
.bs__tot b { font: 800 28px/1 var(--display); letter-spacing: -.04em; }
.bs__hint { font-size: 14px; font-weight: 500; }
.bs__rules { display: grid; gap: 6px; font-size: 13px; padding-left: 18px; list-style: disc; }
.bs__filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pc.is-picked .pc__media { box-shadow: inset 0 0 0 4px var(--ink); }
.pc__pick { height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13px/1 var(--display); display: inline-flex; align-items: center; gap: 6px; transition: transform .35s var(--spring), background-color .2s; flex: none; }
.pc__pick .ico { width: 18px; height: 18px; }
.pc__pick:active { transform: scale(.9); }
.pc__pick.is-on { background: var(--ok); }
.pc__pick[disabled] { opacity: .35; pointer-events: none; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.preset { border-radius: var(--r-card); background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.preset__th { display: flex; }
.preset__th span { width: 76px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--cs); box-shadow: 0 0 0 3px var(--surface); }
.preset__th span + span { margin-left: -14px; }
.preset__th span:nth-child(2) { transform: rotate(-4deg) translateY(4px); }
.preset__th span:nth-child(3) { transform: rotate(5deg); }
.preset__th img { width: 100%; height: 100%; object-fit: cover; }
.preset h3 { font-size: 19px; }
.preset p { font-size: 15px; color: #3d3750; }
.preset__p { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.preset__p b { font: 700 20px/1 var(--display); }
.preset__p s { color: var(--muted); font-size: 14px; }
.bs-bar { position: fixed; left: 12px; right: 12px; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 26px; background: var(--ink); color: #fff; }
.bs-bar__slots { display: flex; gap: 4px; }
.bs-bar__slots i { width: 34px; height: 42px; border-radius: 10px; border: 2px dashed rgba(255, 255, 255, .4); overflow: hidden; background-size: cover; background-position: center; }
.bs-bar__slots i.is-full { border: 0; }
.bs-bar__t { display: grid; line-height: 1.15; font-size: 12px; color: #c9c4d6; min-width: 0; }
.bs-bar__t b { font: 700 16px/1.1 var(--display); color: #fff; }
.bs-bar .btn { margin-left: auto; height: 48px; padding: 0 18px; font-size: 13px; }
@media (max-width: 1000px) { .bs { grid-template-columns: 1fr; } .bs__panel { position: static; } .presets { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .bs-bar { display: flex; } body.has-bsbar { padding-bottom: 80px; } .bs__panel { padding: 20px 16px; } }

/* ==================== ТЕСТ ==================== */
.qz { position: relative; max-width: 860px; margin: 24px auto 0; border-radius: var(--r-panel); background: var(--surface); padding: 48px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.qz__prog { display: flex; gap: 6px; margin-bottom: 30px; }
.qz__prog i { flex: 1; height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; position: relative; }
.qz__prog i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--spring); }
.qz__prog i.is-done::after { transform: none; }
.qz__step { font: 600 14px/1 var(--display); color: var(--muted); margin-bottom: 14px; }
.qz h1, .qz h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; position: relative; z-index: 2; }
.qz__intro p { font-size: 19px; max-width: 46ch; margin-top: 18px; color: #3d3750; position: relative; z-index: 2; }
.qz__intro .btn { margin-top: 30px; position: relative; z-index: 2; }
.qz__opts { display: grid; gap: 10px; margin-top: 28px; }
.qz__o { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 14px 22px; border-radius: 22px; background: var(--bg); text-align: left; font-size: 17px; font-weight: 500; line-height: 1.35; transition: transform .35s var(--spring), background-color .15s, color .15s; }
.qz__o:hover { transform: translateX(6px); background: var(--c); color: var(--on); }
.qz__o:active { transform: scale(.97); }
.qz__o.is-picked { background: var(--ink); color: #fff; }
.qz__o i { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: var(--ink); font: 700 14px/1 var(--display); font-style: normal; }
.qz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 26px; }
.qz__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.qz__back:hover { color: var(--ink); }
.qz__back[hidden] { display: none; }
.qz__anim { animation: qIn .45s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(26px); } }
.qr { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.qr__card { position: relative; border-radius: var(--r-panel); background: var(--c); color: var(--on); padding: 44px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.qr__card h1 { font-size: clamp(32px, 4vw, 54px); position: relative; z-index: 2; }
.qr__card .qr__sub { font: 600 18px/1.3 var(--display); position: relative; z-index: 2; }
.qr__card p { font-size: 17px; position: relative; z-index: 2; max-width: 46ch; }
.qr__tips { border-radius: var(--r-panel); background: var(--surface); padding: 36px; display: grid; gap: 16px; align-content: start; }
.qr__tips h2 { font-size: 22px; }
.qr__tips li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.qr__tips li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-top: 6px; flex: none; }
.qr__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; position: relative; z-index: 2; }
@media (max-width: 900px) { .qz { padding: 28px 20px; min-height: 0; border-radius: 26px; } .qz__o { min-height: 60px; font-size: 15px; padding: 12px 16px; } .qr { grid-template-columns: 1fr; } .qr__card, .qr__tips { padding: 28px 20px; } .qz__intro p { font-size: 16px; } }

/* ==================== КЛУБ ==================== */
.clh { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 18px; border-radius: var(--r-panel); background: var(--la-s); padding: 56px 64px; overflow: hidden; }
.clh__t { position: relative; z-index: 2; display: grid; gap: 18px; }
.clh h1 { font-size: clamp(36px, 5vw, 76px); }
.clh__tag { font: 600 20px/1.3 var(--display); letter-spacing: -.02em; }
.clh p { font-size: 18px; max-width: 44ch; }
.clh .btn { justify-self: start; }
.mcard { position: relative; z-index: 2; aspect-ratio: 1.6; border-radius: 28px; background: var(--pink); color: var(--ink); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transform: rotate(-4deg); box-shadow: 14px 16px 0 var(--ink); transition: transform .6s var(--spring); max-width: 460px; justify-self: center; width: 100%; }
.mcard:hover { transform: rotate(0) scale(1.02); }
.mcard__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.mcard__lvl { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13px/1 var(--display); }
.mcard__pts { position: relative; z-index: 2; font: 800 clamp(48px, 6vw, 76px)/1 var(--display); letter-spacing: -.05em; }
.mcard__pts small { display: block; font: 600 15px/1.3 var(--body); letter-spacing: 0; margin-top: 6px; }
.mcard__bot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; font-size: 14px; font-weight: 500; }
.mcard .shape { opacity: .9; }
.lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lv__i { position: relative; border-radius: var(--r-panel); background: var(--c); color: var(--on); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-height: 380px; }
.lv__n { font: 700 28px/1.05 var(--display); letter-spacing: -.03em; }
.lv__th { font-size: 15px; font-weight: 600; opacity: .85; }
.lv__cb { font: 800 96px/.9 var(--display); letter-spacing: -.06em; margin: 8px 0 4px; }
.lv__cb small { font: 600 16px/1.3 var(--body); letter-spacing: 0; display: block; margin-top: 8px; }
.lv__perks { display: grid; gap: 8px; margin-top: auto; }
.lv__perks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.lv__perks .ico { width: 20px; height: 20px; flex: none; stroke-width: 3; }
.lv__now { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-radius: var(--r-panel); background: var(--surface); padding: 44px; align-items: center; }
.calc h2 { font-size: clamp(26px, 2.8vw, 38px); }
.calc p { color: var(--muted); margin-top: 12px; }
.calc__in { display: grid; gap: 18px; }
.calc__v { font: 800 44px/1 var(--display); letter-spacing: -.04em; }
.calc__v small { font: 500 16px var(--body); letter-spacing: 0; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px; background: linear-gradient(to right, var(--ink) var(--p, 30%), var(--bg) var(--p, 30%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--ink); cursor: grab; transition: transform .3s var(--spring); }
.range::-webkit-slider-thumb:active { transform: scale(1.2); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--ink); cursor: grab; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__o { border-radius: 20px; background: var(--bg); padding: 18px; }
.calc__o b { display: block; font: 700 26px/1.1 var(--display); letter-spacing: -.03em; }
.calc__o span { font-size: 14px; color: var(--muted); }
.calc__o--hl { background: var(--c); color: var(--on); }
.calc__o--hl span { color: inherit; opacity: .8; }
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: h; }
.how3 li { counter-increment: h; border-radius: var(--r-card); background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; }
.how3 li::before { content: counter(h); width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 800 22px/1 var(--display); margin-bottom: 6px; }
.how3 h3 { font-size: 20px; }
.how3 p { color: #3d3750; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rules li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); font-size: 15px; line-height: 1.45; }
.rules li .ico { flex: none; color: var(--la); }
.modal { position: fixed; inset: 0; z-index: 75; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 26, 43, .5); }
.modal.is-open { display: flex; animation: svIn .25s var(--ease); }
.modal__box { position: relative; width: min(480px, 100%); border-radius: 32px; background: var(--bg); padding: 36px 32px 32px; display: grid; gap: 16px; animation: svFrame .45s var(--spring); }
.modal__box h2 { font-size: 26px; padding-right: 40px; }
.modal__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
@media (max-width: 1000px) { .clh { grid-template-columns: 1fr; padding: 36px 22px 44px; gap: 36px; } .mcard { box-shadow: 8px 10px 0 var(--ink); } .lv { grid-template-columns: 1fr; } .lv__i { min-height: 0; } .calc { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 24px; } .how3, .rules { grid-template-columns: 1fr; } .lv__cb { font-size: 72px; } }
@media (max-width: 760px) { .clh p { font-size: 16px; } .clh__tag { font-size: 16px; } .mcard { padding: 20px; border-radius: 22px; } .calc__out { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .calc__o { padding: 14px; } .calc__o b { font-size: 19px; } .calc__o span { font-size: 13px; } .calc__v { font-size: 34px; } }

/* ==================== АКЦИИ ==================== */
.prm { display: grid; gap: 16px; }
.prm__i { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-panel); background: var(--c); color: var(--on); overflow: hidden; min-height: 420px; }
.prm__i:nth-child(even) .prm__img { order: 2; margin: 14px 14px 14px 0; }
.prm__img { position: relative; margin: 14px 0 14px 14px; border-radius: 22px; overflow: hidden; background: var(--cs); }
.prm__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prm__b { position: relative; z-index: 2; padding: 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.prm__b h2 { font-size: clamp(28px, 3.4vw, 48px); }
.prm__b p { font-size: 17px; max-width: 46ch; }
.prm__cond { font-size: 14px; opacity: .85; max-width: 52ch; }
.prm__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.prm__until { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 14px; font-weight: 600; align-self: flex-start; }
.prm__until .ico { width: 16px; height: 16px; }
.gift-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gift-hero__img { border-radius: var(--r-panel); overflow: hidden; background: var(--be-s); min-height: 360px; position: relative; }
.gift-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift-hero__b { border-radius: var(--r-panel); background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.gift-hero__b h2 { font-size: clamp(26px, 2.8vw, 38px); }
.gl { display: grid; gap: 10px; }
.gl a { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--bg); font-weight: 500; transition: transform .3s var(--spring); }
.gl a:hover { transform: translateX(4px); }
.gl__img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--cs); flex: none; }
.gl__img img { width: 100%; height: 100%; object-fit: cover; }
.gl a .ico { margin-left: auto; color: var(--muted); }
@media (max-width: 900px) {
  .prm__i { grid-template-columns: 1fr; min-height: 0; }
  .prm__img, .prm__i:nth-child(even) .prm__img { order: -1; margin: 10px 10px 0; aspect-ratio: 3 / 2; }
  .prm__b { padding: 24px 20px 28px; }
  .prm__b p { font-size: 15px; }
  .gift-hero { grid-template-columns: 1fr; }
  .gift-hero__img { min-height: 0; aspect-ratio: 4 / 3; }
  .gift-hero__b { padding: 24px 20px; }
}

/* ==================== ИНФО-СТРАНИЦЫ ==================== */
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ab__hero { position: relative; border-radius: var(--r-panel); background: var(--pink); padding: 56px 52px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; min-height: 560px; }
.ab__hero h1 { font-size: clamp(40px, 5.6vw, 84px); position: relative; z-index: 2; line-height: .98; }
.ab__hero p { font-size: 19px; max-width: 36ch; position: relative; z-index: 2; }
.ab__imgs { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.ab__img { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--vc-s); min-height: 260px; }
.ab__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab__text { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.ab__p { border-radius: var(--r-card); background: var(--surface); padding: 30px; font-size: 17px; line-height: 1.6; }
.ab__p h2 { font-size: 20px; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { border-radius: var(--r-card); background: var(--c); color: var(--on); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.fact b { font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.05em; }
.fact span { font-size: 16px; font-weight: 500; margin-top: auto; }
.ab-lines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ab-lines a { border-radius: 22px; background: var(--c); color: var(--on); padding: 20px 16px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .4s var(--spring); }
.ab-lines a:hover { transform: translateY(-6px) rotate(-1.5deg); }
.ab-lines b { font: 700 17px/1.1 var(--display); }
.ab-lines span { font-size: 14px; }
@media (max-width: 1100px) { .ab-lines { grid-template-columns: repeat(3, 1fr); } .ab__text { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .ab { grid-template-columns: 1fr; } .ab__hero { min-height: 0; padding: 36px 22px; } .ab__imgs { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .ab__img { min-height: 0; aspect-ratio: 4 / 5; } .facts { grid-template-columns: 1fr 1fr; } .fact { min-height: 150px; padding: 20px; } }
@media (max-width: 760px) { .ab-lines { grid-template-columns: 1fr 1fr; } .ab__p { padding: 22px 18px; font-size: 15px; } .ab__hero p { font-size: 16px; } }

.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dl__i { border-radius: var(--r-card); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.dl__i .ico { width: 34px; height: 34px; color: var(--c); }
.dl__i h3 { font-size: 18px; line-height: 1.2; }
.dl__term { font: 700 15px/1.2 var(--display); }
.dl__price { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--cs); font-size: 14px; font-weight: 600; }
.dl__i p { font-size: 14px; color: var(--muted); }
.route { border-radius: var(--r-panel); background: var(--hy-s); padding: 36px 40px; display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: center; }
.route h2 { font-size: clamp(24px, 2.6vw, 34px); }
.route svg { width: 100%; height: auto; }
.pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pay__i { border-radius: var(--r-card); padding: 24px; background: var(--c); color: var(--on); display: grid; gap: 8px; align-content: start; min-height: 170px; }
.pay__i h3 { font-size: 20px; }
.pay__i p { font-size: 15px; }
.ret { border-radius: var(--r-panel); background: var(--surface); padding: 36px 40px; display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.ret h2 { font-size: clamp(24px, 2.6vw, 34px); }
.ret p { font-size: 17px; line-height: 1.6; }
@media (max-width: 1100px) { .dl, .pay { grid-template-columns: 1fr 1fr; } .route, .ret { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dl, .pay { grid-template-columns: 1fr; } .route, .ret { padding: 24px 18px; } .ret p { font-size: 15px; } .pay__i { min-height: 0; } }

.faq { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; padding-top: 28px; }
.faq__nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 8px; }
.faq__nav a { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); font-weight: 600; transition: transform .3s var(--spring); }
.faq__nav a:hover { transform: translateX(4px); }
.faq__nav a i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.faq__grp + .faq__grp { margin-top: 40px; }
.faq__grp h2 { font-size: 24px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.faq__grp h2 i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.faq__help { margin-top: 40px; border-radius: var(--r-panel); background: var(--yellow); padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.faq__help h2 { font-size: 24px; }
.faq__help p { margin-top: 6px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 20px; } .faq__nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); } .faq__nav a { flex: none; height: 44px; } .faq__help { padding: 24px 20px; } }

/* журнал — читалка */
.rd { position: fixed; inset: 0; z-index: 76; background: rgba(30, 26, 43, .5); display: none; justify-content: center; overflow: auto; padding: 32px 16px; }
.rd.is-open { display: flex; animation: svIn .25s var(--ease); }
.rd__box { position: relative; width: min(780px, 100%); background: var(--bg); border-radius: 36px; overflow: hidden; height: max-content; animation: up .45s var(--ease); }
.rd__img { aspect-ratio: 16 / 9; background: var(--cs); position: relative; }
.rd__img img { width: 100%; height: 100%; object-fit: cover; }
.rd__b { padding: 36px 48px 48px; display: grid; gap: 18px; }
.rd__b h1 { font-size: clamp(26px, 3.4vw, 40px); }
.rd__lead { font-size: 19px; font-weight: 500; line-height: 1.5; }
.rd__b p { font-size: 17px; line-height: 1.65; color: #2c2740; }
.rd__b h2 { font-size: 22px; margin-top: 10px; }
.rd__b ul { display: grid; gap: 8px; }
.rd__b li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; }
.rd__b li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-top: 9px; flex: none; }
.rd__x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.rd__prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 760px) { .rd { padding: 0; } .rd__box { border-radius: 0; min-height: 100%; } .rd__b { padding: 24px 18px 90px; } .rd__b p, .rd__b li { font-size: 16px; } .rd__lead { font-size: 17px; } .rd__prods { grid-template-columns: 1fr; } }

/* избранное */
.fav-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- движение: уважаем настройки ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mq__track { animation: none; }
}
@media print { .mq, .hd, .nv, .ft, .sticky-buy, .bs-bar { display: none; } }

/* ---------- добавки: скрытые узлы, галерея из одной картинки, журнал-страница ---------- */
[hidden] { display: none !important; }
.gal--one { grid-template-columns: 1fr; }
.gal--one .gal__main { grid-column: 1; }
.gal__main img.is-hidden { opacity: 0; }
@keyframes qBack { from { opacity: 0; transform: translateX(-26px); } }
.ja h2 { font-size: 19px; line-height: 1.2; padding: 0 12px; }
.ja--big h2 { font-size: 26px; }
.rd__prods a { background: var(--cs); }
@media (max-width: 760px) { .ja h2, .ja--big h2 { font-size: 18px; } }
.pi__buy .btn { min-width: 0; }
@media (max-width: 760px) {
  .pi__buy { gap: 8px; }
  .pi__buy .btn { padding: 0 16px; }
  .pi__buy .qty--lg button { width: 42px; }
}

/* ---------- правки после круга снимков 1 ---------- */
.hero__txt .btn { align-self: flex-start; }
/* у кадра с витамином C композиция квадратная, по бокам — пустые светлые поля: кадрируем по центру */
.ln__txt { padding-right: 10px; }
.ln__pill { white-space: nowrap; font-size: 11px; padding: 0 12px; }

.qz__res { margin-top: auto; padding-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 2; max-width: 62%; }
.qz__res p { width: 100%; font-size: 14px; color: var(--muted); margin: 0 0 2px; }
.qz__res .stk { background: var(--c); color: var(--on); font-size: 14px; height: 36px; padding: 0 16px; transform: rotate(-3deg); }
.qz__res .stk:nth-of-type(2n) { transform: rotate(2.5deg); }
@media (max-width: 900px) { .qz__res { max-width: none; padding-top: 26px; } .qz__res .stk { font-size: 13px; } }
@media (max-width: 760px) { .ch:not(.is-line) .shape:first-of-type { width: 120px !important; height: 120px !important; right: -46px !important; top: -46px !important; } .ch:not(.is-line) h1 { max-width: 80%; } }
/* ---------- правки после круга снимков 1 (телефон) ---------- */
@media (max-width: 1000px) { .clh { grid-template-columns: minmax(0, 1fr); } .clh__t > * { min-width: 0; } }
@media (max-width: 760px) {
  .clh .btn { white-space: normal; height: auto !important; min-height: 56px; padding: 12px 22px !important; line-height: 1.2; text-align: left; }
  .clh > .shape:nth-of-type(2) { display: none; }
  .ph { padding-top: 58px; }
  .ph > .shape { width: 52px !important; height: 52px !important; top: 0 !important; left: auto !important; bottom: auto !important; }
  .ph > .shape:nth-of-type(1) { right: 0 !important; }
  .ph > .shape:nth-of-type(2) { right: 64px !important; width: 34px !important; height: 34px !important; top: 9px !important; }
  .qz > .shape:nth-of-type(n+2) { display: none; }
  .qz > .shape:nth-of-type(1) { width: 220px !important; height: 220px !important; right: -90px !important; bottom: -100px !important; }
  .pc__ft .pc__pick { width: 100%; justify-content: center; }
}
.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact--wide { grid-column: span 2; min-height: 0 !important; } .fact b { font-size: 40px; } }
@media (max-width: 760px) {
  .ln__pill { white-space: normal; height: auto; min-height: 26px; padding: 5px 10px; line-height: 1.15; max-width: calc(100% - 20px); top: auto; bottom: calc(100% + 10px); }
}

/* правки после круга снимков 2: факты «до 2 000» на ПК, кольцо поверх текста в герое «О бренде», точки в шапке каталога */
@media (min-width: 901px) {
  .facts { display: flex; }
  .fact { flex: 1 1 0; min-width: 0; }
  .fact--wide { flex-grow: 1.6; }
  .fact--wide b { font-size: clamp(36px, 3.7vw, 56px); }
}
@media (max-width: 760px) {
  .ab__hero > .shape:nth-of-type(n+2) { display: none; }
  .ch:not(.is-line) > .shape:nth-of-type(2) { right: -60px !important; bottom: -80px !important; }
}

/* ==================== fix1: правки по разбору wave0 ==================== */

/* выбор подарка и способов доставки/оплаты — без :has(), на соседних селекторах */
.gift-opt { isolation: isolate; }
.gift-opt__img::before { content: ''; position: absolute; inset: 0; border-radius: 20px; z-index: -1; pointer-events: none; transition: box-shadow .2s, background-color .2s; }
.gift-opt input:checked + .gift-opt__img::before { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.gift-opt input:focus-visible + .gift-opt__img::before { outline: 3px solid var(--hy); outline-offset: 2px; }
.gift-opt input:checked ~ .gift-opt__ok { transform: scale(1); }
.opt { isolation: isolate; }
.opt__r::after { content: ''; position: absolute; inset: 0; border-radius: 20px; z-index: -1; pointer-events: none; transition: box-shadow .15s, background-color .15s; }
.opt input:checked + .opt__r { box-shadow: inset 0 0 0 7px var(--ink); }
.opt input:checked + .opt__r::after { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.opt input:focus-visible + .opt__r::after { outline: 3px solid var(--hy); outline-offset: 2px; }

/* корзина: отступ пустого состояния, «примерная» доставка */
.cl--empty { margin-top: 28px; }
.sum__approx { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 8px; }

/* старая цена — Onest, а не широкий Unbounded */
.price s, .pi__price s, .preset__p s { font-family: var(--body); font-weight: 500; }
.price s { font-size: 13px; }

/* подвал: точечный декор не лезет на текст */
.ft__dots { top: -96px; right: -96px; width: 190px; height: 190px; opacity: .55; pointer-events: none; }

/* герой: ровные поля, управление — белой пилюлей на фото */
.hero__txt { padding: 56px 32px 56px 64px; }
.hero__ctl { left: calc(41.667% + 20px); bottom: 40px; gap: 6px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); }
.hero__dot { position: relative; height: 44px; background: none; overflow: visible; }
.hero__dot::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 8px; border-radius: 999px; background: rgba(30, 26, 43, .2); }
.hero__dot i { position: absolute; left: 0; top: 18px; height: 8px; border-radius: 999px; }
.hero__arr { background: transparent; }
.hero__arr:hover { background: var(--bg); }
@media (max-width: 1100px) { .hero__txt { padding: 44px 24px 44px 40px; } .hero__ctl { left: calc(41.667% + 20px); } }

/* сторис на ПК — во всю ширину ряда */
@media (min-width: 1101px) {
  .st-row { justify-content: space-between; gap: 16px; }
  .st-c { width: 150px; }
  .st-c__ring { width: 124px; height: 124px; padding: 5px; }
  .st-c__t { font-size: 14px; }
  .st-row__t { width: 120px; font-size: 18px; }
}

/* описания линеек и статей — целиком, без многоточия на полуслове */
.ln p, .ja p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ja--row > div { justify-content: center; padding-bottom: 12px; }

/* промо: три равные колонки, одинаковые фото, читаемая дата */
@media (min-width: 1101px) { .promo-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pm__until { opacity: 1; }

/* тизеры «Собери набор» и «Клуб» — один шаг отступов */
.tz__b { padding: 36px 36px 0; }
.tz__img { margin: auto 14px 14px; }
.tz__b + .tz__img { margin-top: 28px; }
@media (max-width: 900px) { .tz__b { padding: 24px 20px 0; } .tz__img { margin: 22px 10px 10px; } .tz__b + .tz__img { margin-top: 22px; } }

/* прогресс теста: пустые деления видны */
.qz__prog i, .qt__prog i { background: rgba(30, 26, 43, .13); }

/* результат теста: советы и плюсы распределены по высоте */
.qr__tips { display: flex; flex-direction: column; gap: 16px; }

/* клуб: ползунок, за который удобно тянуть */
.range { height: 44px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(to right, var(--ink) var(--p, 30%), var(--bg) var(--p, 30%)); }
.range::-webkit-slider-thumb { margin-top: -11px; }
.range::-moz-range-track { height: 12px; border-radius: 999px; background: var(--bg); }
.range::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--ink); }
.range::-moz-range-thumb { width: 28px; height: 28px; }

/* карточка товара */
.pi__vol { display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.pi__vol .ico { width: 16px; height: 16px; flex: none; }
.act__n { margin-top: 4px; }
.act__n small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .75; overflow-wrap: anywhere; }
.act__r { margin-top: auto; }
@media (min-width: 761px) { .setbox__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .setbox__list .si { flex-direction: column; align-items: flex-start; } .setbox__list .si__img { width: 100%; height: auto; aspect-ratio: 4 / 5; } }
@media (min-width: 901px) { .rs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* каталог: товары ближе к первому экрану */
.ch { padding: 28px 36px; }
.ch h1 { font-size: clamp(30px, 3.8vw, 52px); }
.ch p { margin-top: 10px; font-size: 17px; }
.ch.is-line { grid-template-columns: 1fr 200px; }
.ch__img { height: 220px; max-height: 220px; }
.cat-tabs { padding-top: 14px; }
.cat-tabs .chip { height: 42px; }
.fbar { padding-top: 10px; }

/* «О бренде»: кадры, где видно лица */
.ab__img--friends img { object-position: 50% 30%; }
.ab__img--guy img { object-position: 50% 18%; }

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  /* бары внизу и демо-плашка не накрывают друг друга */
  .sticky-buy, .bs-bar { bottom: calc(12px + env(safe-area-inset-bottom)); transition: transform .45s var(--spring), left .3s var(--ease); }
  body.has-sticky { padding-bottom: 0; --rs-sw-lift: 74px; }
  body.has-bsbar { padding-bottom: 84px; --rs-sw-lift: 72px; }
  html.rs-sw-min .sticky-buy, html.rs-sw-min .bs-bar { left: max(12px, var(--rs-sw-w, 0px)); }
  html.rs-sw-min body.has-sticky, html.rs-sw-min body.has-bsbar { --rs-sw-lift: 0px; }
  .toasts { bottom: max(16px, var(--rs-sw-h, 0px)); }
  body.has-sticky .toasts, body.has-bsbar .toasts { bottom: max(calc(86px + env(safe-area-inset-bottom)), var(--rs-sw-h, 0px)); }

  /* подвал */
  .ft__dots { display: none; }
  .ft__col a { padding: 11px 0; }
  .ft__bot { padding-bottom: calc(28px + var(--rs-sw-h, 0px)); }

  /* заголовки разделов: короче строки, ссылка «Все» ниже */
  .sec__hd { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .sec__hd > div:first-child { flex: 1 1 100%; min-width: 0; }
  .sec__hd h2 { font-size: clamp(22px, 6.2vw, 27px); max-width: none; }
  .qz h1, .qz h2, .qr__card h1 { font-size: clamp(24px, 7vw, 30px); }

  /* зоны нажатия */
  .nv__a { height: 44px; }
  .pc__fav { width: 44px; height: 44px; right: 4px; top: 4px; }
  .bc { padding-top: 14px; gap: 2px; }
  .bc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
  .mq, .mq__item { height: 40px; }
  .mq__item a { display: inline-flex; align-items: center; min-height: 40px; }
  .range::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -9px; }

  /* герой: управление на нижнем краю фото, без пустого низа */
  .hero__txt { padding: 22px 22px 26px; }
  .hero__ctl { left: 22px; bottom: auto; top: calc((100vw - 2 * var(--gut) - 20px) * 11 / 16 + 10px - 54px); padding: 0 14px; }

  /* линейки и журнал на главной — лентами, а не столбиком */
  [data-page="home"] .lines, [data-page="home"] .jr {
    grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); gap: 10px;
  }
  [data-page="home"] .lines::-webkit-scrollbar, [data-page="home"] .jr::-webkit-scrollbar { display: none; }
  [data-page="home"] .lines { grid-auto-columns: 44%; }
  [data-page="home"] .jr { grid-auto-columns: 80%; }
  [data-page="home"] .ln, [data-page="home"] .ja { scroll-snap-align: start; }
  [data-page="home"] .ja--big, [data-page="home"] .ja--row { grid-row: auto; grid-column: auto; flex-direction: column; }
  [data-page="home"] .ja--big .ja__img, [data-page="home"] .ja--row .ja__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .ln p { display: none; }

  /* тизер теста: цветок — за карточкой, а не пятном под заголовком */
  .qt .qt__fl { top: auto !important; bottom: -90px !important; right: -90px !important; width: 220px !important; height: 220px !important; opacity: 1; }

  /* «Собери набор»: две колонки не распирают страницу */
  [data-bs-grid] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-bs-grid] .pc { min-width: 0; }
  [data-bs-grid] .pc__ft { flex-wrap: wrap; }
  .pc__ft .pc__pick { width: 100%; min-width: 0; white-space: normal; justify-content: center; padding: 0 10px; text-align: center; line-height: 1.15; }

  /* корзина: галочка подарка — в углу фото, а не на тексте */
  .gift-opt__ok { top: 4px; left: 52px; right: auto; margin-top: 0; width: 26px; height: 26px; }
  .gift-opt__ok .ico { width: 14px; height: 14px; }

  /* карточка товара: название и цена в первом экране */
  .gal__main { aspect-ratio: auto; height: min(80vw, 330px); }
  .setbox__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .setbox__list .si { flex-direction: column; align-items: flex-start; gap: 8px; }
  .setbox__list .si__img { width: 100%; height: auto; aspect-ratio: 4 / 5; }

  /* каталог */
  .ch { padding: 22px 18px; }
  .ch:not(.is-line) > .shape:nth-of-type(2) { display: none; }
  .ch.is-line { grid-template-columns: 1fr 104px; }
  .ch__img { height: 130px; }

  /* «О бренде» */
  .ab__img--friends img { object-position: 68% 30%; }
}

/* fix1, круг 2: слайд героя на всю высоту, мозаика журнала без «растянутых» фото, место под демо-плашку в подвале */
.hero__vp { min-height: 0; }
.hero__s.is-on { min-height: 540px; }
@media (max-width: 1100px) { .hero__s.is-on { min-height: 460px; } }
.ja--big .ja__img, .ja--row .ja__img { position: relative; }
.ja--big .ja__img img, .ja--row .ja__img img { position: absolute; inset: 0; }
.ft__bot { padding-bottom: calc(28px + var(--rs-sw-h, 0px)); }
@media (max-width: 760px) {
  .hero__s.is-on { min-height: 0; }
  /* набор и клуб — лентой, а не двумя экранами подряд */
  .duo { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scroll-padding: 0 var(--gut); }
  .duo::-webkit-scrollbar { display: none; }
  .duo > .tz { scroll-snap-align: start; }
  .tz__img { aspect-ratio: 16 / 9; }
  .tz__slots { gap: 8px; }
  .tz__slots span { width: 50px; height: 50px; border-radius: 16px; font-size: 16px; }
  .tz__slots span:last-child { width: auto; padding: 0 12px; font-size: 14px; }
  .tz__pts { font-size: 42px; }
  .howto__img { aspect-ratio: 16 / 9; }
  .ft__top > .ft__col:nth-last-child(2) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; column-gap: 20px; }
  .ft__top > .ft__col:nth-last-child(2) h3 { flex: 1 1 100%; margin-bottom: 4px; }
  .ft__ship { gap: 8px; }
  .ft__ship a { padding: 13px 16px; }
}
@media (max-width: 760px) {
  /* крошки — в одну строку, текущая страница сокращается (её название есть в заголовке) */
  .bc { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
  .bc > * { flex: none; }
  .bc span[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* фото чуть ниже, чтобы на первом экране телефона кнопка «В корзину» стояла над демо-плашкой, а не под ней */
  .gal__main { height: min(64vw, 262px); }
  .pp { padding-top: 10px; gap: 16px; }
  /* точки галереи — в правом нижнем углу, на ровном фоне кадра, а не поверх подписи на флаконе */
  .gal__dots { left: auto; right: calc(var(--gut) + 2px); bottom: 14px; transform: none; padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
  .pi { gap: 14px; }
}

/* fix1, раунд 4: конструктор не распирает телефон, советы теста, ползунок клуба, фокус заголовков */
@media (max-width: 1000px) { .bs { grid-template-columns: minmax(0, 1fr); } .bs > * { min-width: 0; } }
.qr__tips .perk { background: var(--bg); }
.qr__tips ul + .perk, .qr__rit + .perk { margin-top: auto !important; }
/* результат теста: порядок нанесения — заполняет колонку подсказок полезным, а не пустотой */
.qr__rit { display: grid; gap: 12px; padding-top: 4px; }
.qr__rit h3 { font: 700 16px/1.2 var(--display); }
.qr__rit ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; counter-reset: none; }
.qr__rit li { display: block; min-width: 0; }
.qr__rit li::before { content: none; }
.qr__rit a { display: grid; justify-items: center; gap: 8px; text-align: center; border-radius: 18px; padding: 6px 2px; transition: background-color .2s; }
.qr__rit a:hover { background: var(--bg); }
.qr__th { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--cs); }
.qr__th img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.qr__th i { position: absolute; right: -4px; top: -4px; min-width: 26px; height: 26px; border-radius: 999px; background: var(--c); color: var(--on); border: 2px solid var(--surface); display: grid; place-items: center; font: 800 12px/1 var(--display); font-style: normal; }
.qr__st { font-size: 13px; line-height: 1.25; min-width: 0; }
.qr__st b { font-weight: 600; }
/* название средства: на ПК — только для скринридера, на телефоне — видимой второй строкой */
.qr__pn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
  .qr__rit ol { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .qr__rit a { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 12px; padding: 4px; }
  .qr__th { width: 48px; height: 48px; }
  .qr__th i { min-width: 22px; height: 22px; font-size: 11px; right: -6px; top: -6px; }
  .qr__st { display: grid; gap: 2px; font-size: 14px; width: 100%; }
  .qr__pn { position: static; width: auto; height: auto; clip: auto; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); }
}
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.calc__u { font-style: normal; }
.range::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--ink) var(--p, 30%), rgba(30, 26, 43, .12) var(--p, 30%)); }
.range::-moz-range-track { background: rgba(30, 26, 43, .12); }
/* узкий телефон: в слотах набора — только фото, названия не режутся на полуслове */
@media (max-width: 480px) { .slot__n { display: none; } }

/* узкий телефон (320–390): блоки не распирают экран, длинные подписи кнопок переносятся, а не вылезают */
.howto__b, .faq > *, .bs__panel > * { min-width: 0; }
.bs__panel { grid-template-columns: minmax(0, 1fr); }
.bs__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .howto, .faq { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .howto__b .btn, .faq__help .btn, .bs__panel [data-bs-add] { white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 56px; padding: 10px 20px; }
  .howto__b .btn, .bs__panel [data-bs-add] { align-self: stretch; width: 100%; }
  .faq__help > div:last-child, .faq__help .btn { width: 100%; }
}

/* 320 px (проверка при закрытии): текст не обрезается краем плиток — линейки, «Собери набор» / «Клуб», карточки акций;
   связки неразрывных пробелов («Витамин C», «2+1 на умывание») распирали колонку, а плитка с overflow:hidden их срезала */
@media (max-width: 359px) {
  .ln { grid-template-columns: minmax(0, 1fr); }
  .ln__txt { padding: 12px 10px 14px; }
  .ln h3 { font-size: 15px; }
  .ln h3 small { font-size: 12px; }
  .tz__b { grid-template-columns: minmax(0, 1fr); padding: 24px 18px 0; }
  .tz__slots { gap: 6px; }
  .tz__slots span { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; }
  .tz__slots span:last-child { padding: 0 10px; font-size: 13px; }
  .tz__pts { font-size: 40px; flex-wrap: wrap; }
  .tz .btn { padding: 0 18px; gap: 8px; font-size: 14px; }
  .prm__i { grid-template-columns: minmax(0, 1fr); }
  .prm__b { padding: 22px 18px 26px; }
  .prm__b h2 { font-size: 22px; }
}
/* 320–400 px: текст не вылезает за свои плашки — калькулятор клуба, факты «О нас», заголовки, ярлыки линеек, кнопка почты */
@media (max-width: 400px) { .calc__out { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) {
  .ln__pill { font-size: 10px; padding: 0 7px; max-width: calc(100% - 20px); }
  .howto__b h2 { font-size: 24px; }
  .pm h3 { font-size: 17px; }
  .fact { padding: 18px 12px; }
  .fact span { font-size: 14px; }
  .faq__help .btn { padding: 10px 14px; font-size: 14px; }
}
