/* LisinaShop — витрина в эстетике PILULYA: молочный фон, пудрово-розовый акцент, чёрный как у флаконов.
   Раскладка: широкие редакционные блоки с аркой-кадром в hero, фарфоровые плитки товаров, тёмные «премиальные» паузы. */
@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --fox: #f05692;
  --f-brand: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --milk: #fbf7f5;
  --porcelain: #f1eae7;
  --blush: #f7e4e9;
  --rose: #e4a7b9;
  --rose-soft: #f5b4be;
  --rose-deep: #a8536e;
  --ink: #171214;
  --ink-2: #3a3135;
  --muted: #77696e;
  --line: #e8dddb;
  --white: #ffffff;
  --ok: #3f7a5a;
  --err: #b0322a;

  --f-display: "Oranienbaum", "Didot", "Bodoni 72", "Times New Roman", serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --shadow: 0 18px 50px -24px rgba(23, 18, 20, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.js) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.i { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.i--xs { width: 14px; height: 14px; }

/* ---------- Типографика ---------- */
.h1 { font-family: var(--f-display); font-size: clamp(38px, 4.7vw, 72px); line-height: .95; letter-spacing: -.015em; }
.h2 { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep); }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 48ch; }
.muted { color: var(--muted); }
.h1 em, .h2 em { font-style: italic; color: var(--rose-deep); }

/* ---------- Кнопки, чипы ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover { color: var(--white); }
.btn:active { transform: scale(.98); }
.btn--rose { --bg: var(--rose); --fg: var(--ink); --sweep: var(--white); }
.btn--rose:hover { color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --sweep: var(--ink); border-color: rgba(23, 18, 20, .22); }
.btn--ghost:hover { color: var(--white); border-color: var(--ink); }
.btn--light { --bg: var(--white); --fg: var(--ink); --sweep: var(--rose); }
.btn--light:hover { color: var(--ink); }
.btn--outline-light { --bg: transparent; --fg: var(--white); --sweep: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .i { width: 18px; height: 18px; }

.linklike { background: none; border: 0; padding: 0; text-align: left; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .25s var(--ease), color .2s; white-space: nowrap; }
.link-arrow:hover { gap: 14px; color: var(--rose-deep); }
.link-arrow .i { width: 18px; height: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: all .2s var(--ease); flex: none;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip .count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip.is-active .count { color: rgba(255, 255, 255, .6); }
.chip--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.chip--dark:hover { border-color: var(--rose); color: var(--rose); }
.chip .i { width: 16px; height: 16px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 0; background: transparent; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--porcelain); }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--rose-deep); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .86); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; gap: 24px; min-height: 38px; align-items: center; }
.topbar p { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .i { width: 16px; height: 16px; color: var(--rose); }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(251, 247, 245, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(23, 18, 20, .4); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; color: var(--fox); transition: color .3s, transform .5s var(--ease); }
.logo:hover .logo__mark { color: var(--rose-deep); transform: rotate(-4deg) scale(1.04); }
.logo__word { font-family: var(--f-display); font-size: 27px; letter-spacing: .01em; line-height: 1; }
.logo__word span { color: var(--rose-deep); }
.logo--light .logo__word { color: var(--white); }
.logo--light .logo__word span { color: var(--rose); }

.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--rose-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__sale { color: var(--rose-deep); }
.header__tools { display: flex; align-items: center; gap: 2px; flex: none; }
.cart-btn { width: auto; min-width: 44px; padding: 0 10px; gap: 8px; display: inline-flex; align-items: center; }
.cart-btn__sum { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-btn__sum:empty { display: none; }
.cart-btn .badge { right: auto; left: 26px; }
.burger { display: none; }

/* ---------- Секции ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--blush { background: var(--blush); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); flex-wrap: wrap; }
.section-head > div:first-child { display: grid; gap: 14px; max-width: 720px; min-width: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blush) 0%, var(--milk) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.hero__text { display: grid; gap: 26px; align-content: center; min-width: 0; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px -14px rgba(23, 18, 20, .5); }
.hero__tag b { background: var(--ink); color: var(--white); padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .1em; }
.hero__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero__price strong { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__price span { color: var(--muted); font-size: 14px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: clamp(20px, 3vw, 40px); padding-top: 22px; border-top: 1px solid rgba(23, 18, 20, .1); flex-wrap: wrap; }
.hero__facts div { display: grid; gap: 2px; }
.hero__facts b { font-family: var(--f-display); font-size: 34px; font-weight: 400; line-height: 1; }
.hero__facts span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; background: var(--rose); box-shadow: var(--shadow); }
.arch__px { position: absolute; inset: -7% 0; will-change: transform; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
@keyframes heroIn { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__card {
  position: absolute; left: -36px; bottom: 36px; display: flex; gap: 14px; align-items: center;
  width: 290px; padding: 12px 16px 12px 12px; border-radius: var(--r-m);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); animation: floatIn 1s .4s var(--ease) both; transition: transform .3s var(--ease);
}
.hero__card:hover { transform: translateY(-3px); }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px); } }
.hero__card img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--porcelain); flex: none; }
.hero__card p { font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__card b { display: block; font-size: 14px; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.hero__seal {
  position: absolute; right: -14px; top: 16%; width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--ink); color: var(--white);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  animation: floatIn 1s .6s var(--ease) both;
}
.hero__seal b { display: block; font-family: var(--f-display); font-size: 34px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--rose); line-height: 1; }

/* ---------- Преимущества ---------- */
.perks { border-block: 1px solid var(--line); background: var(--white); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: center; padding: 24px 20px; min-width: 0; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); }
.perk b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.perk span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Категории ---------- */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 290px;
  padding: 26px; border-radius: var(--r-l); overflow: hidden; color: var(--white); isolation: isolate;
  grid-column: span 3; background: var(--ink-2);
}
.cat--lg { grid-column: span 6; grid-row: span 2; }
.cat--md { grid-column: span 6; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 18, 20, 0) 30%, rgba(23, 18, 20, .74) 100%); }
.cat:hover img { transform: scale(1.06); }
.cat__count { position: absolute; top: 20px; left: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 12px; font-weight: 600; }
.cat h3 { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.cat--lg h3 { font-size: clamp(34px, 3.6vw, 52px); }
.cat p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .84); max-width: 38ch; }
.cat__go { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: transform .4s var(--ease), background .3s; }
.cat:hover .cat__go { transform: rotate(-45deg); background: var(--rose); }

/* ---------- Карточка товара ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px) clamp(12px, 1.6vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1.08; border-radius: var(--r-m); overflow: hidden; background: var(--porcelain); }
.card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s var(--ease), opacity .5s; }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.04); }
.card:hover .card__media img + img { opacity: 1; }
.card__marks { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.mark { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; background: var(--ink); color: var(--white); text-transform: uppercase; line-height: 1.4; }
.mark--sale { background: var(--rose-deep); }
.mark--soft { background: var(--white); color: var(--ink); }
.card__fav { position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(255, 255, 255, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card__fav:hover { background: var(--white); }
.is-fav { color: var(--rose-deep); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 4px 0; flex: 1; }
.card__sub { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card__title:hover { color: var(--rose-deep); }
.card__inci { font-size: 12px; color: var(--muted); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; min-height: 52px; }
.price { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; min-width: 0; }
.price b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.price s { font-size: 13px; color: var(--muted); white-space: nowrap; }
.add {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--white); transition: background .2s, transform .2s;
}
.add:hover { background: var(--rose-deep); }
.add:active { transform: scale(.92); }
.stepper { flex: none; display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: var(--ink); color: var(--white); }
.stepper button { width: 36px; height: 100%; border: 0; background: none; color: inherit; display: grid; place-items: center; }
.stepper button:hover { color: var(--rose); }
.stepper span { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper .i { width: 18px; height: 18px; }
.stepper--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.stepper--light button:hover { color: var(--rose-deep); }

/* Горизонтальная лента */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; transition: all .2s; }
.rail-nav button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.head-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Стартовый набор ---------- */
.kit { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.kit::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 167, 185, .26), transparent 65%); pointer-events: none; }
.kit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.kit__img { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--white); aspect-ratio: 1; }
.kit__img img { width: 100%; height: 100%; object-fit: cover; }
.kit__img .mark { position: absolute; top: 18px; left: 18px; font-size: 14px; padding: 8px 14px; }
.kit__text { display: grid; gap: 24px; min-width: 0; }
.kit .eyebrow { color: var(--rose); }
.kit .lead { color: rgba(255, 255, 255, .78); }
.kit__save { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.kit__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.kit__row span { color: rgba(255, 255, 255, .62); font-size: 14px; }
.kit__row s { color: rgba(255, 255, 255, .6); font-size: 18px; }
.kit__row strong { font-family: var(--f-display); font-size: 52px; font-weight: 400; line-height: 1; color: var(--white); }
.kit__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.kit__bar i { display: block; height: 100%; width: 38%; border-radius: 99px; background: linear-gradient(90deg, var(--rose), var(--rose-soft)); }
.kit__note { font-size: 13px; color: rgba(255, 255, 255, .62); }
.kit__save-badge { display: inline-flex; padding: 4px 10px; border-radius: 99px; background: var(--rose); color: var(--ink); font-weight: 700; font-size: 13px; }
.kit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 14px; color: rgba(255, 255, 255, .82); padding: 0; margin: 0; list-style: none; }
.kit__list li { display: flex; gap: 8px; align-items: flex-start; }
.kit__list .i { width: 18px; height: 18px; color: var(--rose); margin-top: 1px; }
.kit__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Акции ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 360px; border-radius: var(--r-l); overflow: hidden; background: var(--blush); }
.promo--alt { background: var(--porcelain); }
.promo__text { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 34px); min-width: 0; }
.promo__text p { font-size: 14px; color: var(--ink-2); }
.promo__foot { margin-top: auto; display: grid; gap: 14px; }
.promo__img { position: relative; min-height: 200px; }
.promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__limit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--rose-deep); }
.promo__limit .i { width: 16px; height: 16px; }

/* ---------- Подбор ухода ---------- */
.quiz-cta { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-l); background: var(--rose); overflow: hidden; isolation: isolate; }
.quiz-cta__text { display: grid; gap: 18px; min-width: 0; justify-items: start; }
.quiz-cta .eyebrow { color: var(--ink); opacity: .7; }
.quiz-cta .lead { color: var(--ink); }
.quiz-cta__steps { display: grid; gap: 10px; min-width: 0; }
.quiz-cta__steps div { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .58); font-weight: 500; }
.quiz-cta__steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 13px; flex: none; }
.quiz-cta__fox { position: absolute; left: 38%; bottom: -120px; width: 380px; height: 380px; color: rgba(255, 255, 255, .3); z-index: -1; }

/* ---------- Сборники ---------- */
.books { display: grid; grid-template-columns: .85fr 2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.books__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); justify-items: start; }
.books__intro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.books__intro li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.books__intro li .i { color: var(--rose-deep); width: 20px; height: 20px; }

/* ---------- Обучение ---------- */
.school { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.school__img { position: relative; min-height: 400px; background: var(--porcelain); }
.school__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.school__text { display: grid; gap: 20px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 56px); }
.school__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.school__list li { display: flex; gap: 10px; color: var(--ink-2); }
.school__list .i { color: var(--rose-deep); width: 20px; height: 20px; }

/* ---------- Отзывы ---------- */
.reviews .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.review { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); height: 100%; }
.review__stars { display: flex; gap: 2px; color: var(--rose-deep); }
.review__stars .i { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.review__who { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font-family: var(--f-display); font-size: 19px; }
.review__who b { display: block; font-size: 14px; font-weight: 600; }
.review__who span { font-size: 13px; color: var(--muted); }

/* ---------- Блогерам ---------- */
.collab { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--ink); color: var(--white); }
.collab__img { position: relative; min-height: 360px; }
.collab__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collab__text { display: grid; gap: 18px; padding: clamp(28px, 4vw, 56px); align-content: center; min-width: 0; }
.collab .eyebrow { color: var(--rose); }
.collab .lead { color: rgba(255, 255, 255, .75); }
.collab .field label { color: rgba(255, 255, 255, .7); }

/* ---------- Формы ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--white); transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
textarea.input { padding: 14px 18px; min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(228, 167, 185, .35); }
.input.is-error { border-color: var(--err); }
.field__err { font-size: 12px; color: var(--err); }
.input--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.input--dark::placeholder { color: rgba(255, 255, 255, .45); }
.input--dark:focus { border-color: var(--rose); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 1px; flex: none; }
.form-success { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: rgba(63, 122, 90, .1); color: var(--ok); font-weight: 500; }
.collab .form-success { background: rgba(228, 167, 185, .15); color: var(--rose); }
.collab .check { color: rgba(255, 255, 255, .55); }
.collab .check input { accent-color: var(--rose); }

/* ---------- Поддержка ---------- */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support__item { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); min-width: 0; }
.support__item:hover { border-color: var(--ink); transform: translateY(-2px); }
.support__item .perk__ic { background: var(--ink); color: var(--white); }
.support__item b { display: block; font-weight: 600; }
.support__item span { font-size: 14px; color: var(--muted); }

/* ---------- Каталог ---------- */
.page-head { padding-block: clamp(24px, 3.5vw, 48px) clamp(20px, 3vw, 32px); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; }
.page-head__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head__row > div { min-width: 0; }
.page-head .lead { margin-top: 14px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 24px; max-width: 100%; }
.cat-tabs::-webkit-scrollbar { display: none; }
.toolbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 20; background: rgba(251, 247, 245, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.toolbar__in { display: flex; gap: 12px; align-items: center; min-height: 64px; padding-block: 10px; }
.toolbar__subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.toolbar__subs::-webkit-scrollbar { display: none; }
.toolbar__right { display: flex; gap: 10px; align-items: center; flex: none; }
.mini-search { position: relative; }
.mini-search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.mini-search input { min-height: 42px; width: 220px; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }
.mini-search input:focus { outline: none; border-color: var(--ink); }
.select { min-height: 42px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23171214' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; -webkit-appearance: none; font-size: 14px; color: var(--ink); }
.catalog-body { padding-block: 28px clamp(56px, 7vw, 96px); }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 72px 16px; }
.empty .fox { width: 72px; height: 72px; color: var(--rose); }
.empty p { color: var(--muted); max-width: 42ch; }
.note { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-m); background: var(--blush); margin-bottom: 24px; font-size: 14px; color: var(--ink-2); }
.note .i { color: var(--rose-deep); }

/* ---------- Страница товара ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 88px); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; min-width: 0; }
.gallery--single { grid-template-columns: 1fr; }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { padding: 0; border: 1px solid transparent; border-radius: 12px; overflow: hidden; background: var(--porcelain); aspect-ratio: 1; transition: border-color .2s; }
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery__main { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--porcelain); aspect-ratio: 1 / 1.05; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; animation: fadeIn .5s var(--ease); }
.gallery__main .card__marks { top: 18px; left: 18px; }
@keyframes fadeIn { from { opacity: .3; } }
.pdp__info { display: grid; gap: 22px; min-width: 0; }
.pdp__title { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; overflow-wrap: anywhere; }
.pdp__price { display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.pdp__price b { font-size: 32px; font-weight: 600; }
.pdp__price s { font-size: 18px; color: var(--muted); }
.pdp__short { font-size: 17px; color: var(--ink-2); }
.opts { display: grid; gap: 10px; }
.opts__label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.opts__list { display: flex; gap: 8px; flex-wrap: wrap; }
.opts__list button { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.opts__list button.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 200px; }
.buy .stepper { height: 52px; }
.buy__fav { width: 52px; height: 52px; border: 1px solid var(--line); background: var(--white); }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.spec div { padding: 14px 16px; border-radius: 14px; background: var(--porcelain); min-width: 0; }
.spec span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec b { font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.spec .spec--wide { grid-column: 1 / -1; }
.assure { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); }
.assure div { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.assure .i { color: var(--rose-deep); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform .3s var(--ease); }
.acc details[open] summary .i { transform: rotate(45deg); }
.prose { padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 20px; margin: 8px 0; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--rose-deep); }

/* ---------- Оформление ---------- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.checkout__main { display: grid; gap: 16px; min-width: 0; }
.panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); min-width: 0; }
.panel__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 28px; margin-bottom: 20px; line-height: 1.1; }
.panel__title b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-body); font-size: 14px; font-weight: 600; flex: none; }
.ship { display: grid; gap: 10px; }
.ship label { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.ship label.is-checked { border-color: var(--ink); background: var(--milk); }
.ship input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.ship__t { flex: 1; min-width: 0; }
.ship__t b { display: block; font-weight: 600; font-size: 15px; }
.ship__t span { font-size: 13px; color: var(--muted); }
.ship__p { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.sum-line--ok { color: var(--ok); }
.sum-line--total { font-size: 20px; font-weight: 700; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--line); }
.sum-items { display: grid; gap: 12px; max-height: 320px; overflow: auto; margin-bottom: 16px; padding-right: 4px; }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sum-item > div { min-width: 0; }
.sum-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--porcelain); mix-blend-mode: multiply; }
.sum-item small { display: block; color: var(--muted); }
.sum-item b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.promo-code { display: flex; gap: 8px; margin: 14px 0 6px; }
.promo-code .input { min-height: 46px; }
.promo-code .btn { min-height: 46px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 14px; border-radius: 12px; background: var(--blush); font-size: 13px; color: var(--ink-2); }
.demo-note .i { width: 18px; height: 18px; color: var(--rose-deep); }
.success { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: clamp(56px, 8vw, 120px); }
.success__ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); }
.success__ic .i { width: 40px; height: 40px; }
.success .lead { margin-inline: auto; }

/* ---------- Доставка ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 16px; }
.info-card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); min-width: 0; }
.info-card .perk__ic { margin-bottom: 6px; }
.info-card h3 { font-family: var(--f-display); font-size: 26px; line-height: 1.1; }
.info-card p { font-size: 15px; color: var(--ink-2); }

/* ---------- Шторки ---------- */
.sheet, .search, .modal { position: fixed; inset: 0; z-index: 80; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(23, 18, 20, .42); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet__panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--milk); box-shadow: var(--shadow);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet--right .sheet__panel { right: 0; animation: slideL .4s var(--ease); }
.sheet--left .sheet__panel { left: 0; width: min(360px, 88%); animation: slideR .4s var(--ease); }
@keyframes slideL { from { transform: translateX(100%); } }
@keyframes slideR { from { transform: translateX(-100%); } }
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.sheet__title { font-family: var(--f-display); font-size: 30px; }
.sheet__title small { font-family: var(--f-body); font-size: 14px; color: var(--muted); margin-left: 6px; }
.cart { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ship-meter { padding: 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.ship-meter b { color: var(--rose-deep); }
.ship-meter.is-done b { color: var(--ok); }
.meter { height: 6px; border-radius: 99px; background: var(--porcelain); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose), var(--rose-deep)); border-radius: 99px; transition: width .5s var(--ease); }
.ship-meter.is-done .meter i { background: var(--ok); }
.cart__list { flex: 1; overflow: auto; padding: 0 20px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--porcelain); }
.line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line__body { display: grid; gap: 6px; min-width: 0; }
.line__title { font-size: 14px; font-weight: 500; line-height: 1.35; }
.line__title:hover { color: var(--rose-deep); }
.line__opt { font-size: 12px; color: var(--muted); }
.line__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.line__row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.line .stepper { height: 36px; }
.line .stepper button { width: 32px; }
.line__del { border: 0; background: none; color: var(--muted); padding: 4px; }
.line__del:hover { color: var(--rose-deep); }
.cart__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 12px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-variant-numeric: tabular-nums; }
.cart__total b { font-size: 24px; }
.cart__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 32px; }
.cart__empty .fox { width: 80px; height: 80px; color: var(--rose); }
.cart__empty p { color: var(--muted); }
.cart__upsell { padding: 14px 20px; border-top: 1px solid var(--line); }
.cart__upsell h4 { font-size: 12px; font-weight: 600; margin-bottom: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.upsell { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.upsell > div { min-width: 0; }
.upsell img { width: 48px; height: 48px; border-radius: 10px; background: var(--porcelain); object-fit: cover; mix-blend-mode: multiply; }
.upsell .add { width: 36px; height: 36px; }

.menu-list { display: grid; padding: 8px 12px; overflow: auto; }
.menu-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 10px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; }
.menu-foot__phone { font-size: 20px; font-weight: 600; }

/* ---------- Поиск ---------- */
.search__panel { position: absolute; inset: 0 0 auto 0; max-height: 88vh; overflow: auto; background: var(--milk); padding-block: calc(env(safe-area-inset-top, 0px) + 20px) 28px; animation: slideD .35s var(--ease); box-shadow: var(--shadow); }
@keyframes slideD { from { transform: translateY(-30px); opacity: 0; } }
.search__field { display: flex; gap: 12px; align-items: center; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.search__field input { flex: 1; min-width: 0; border: 0; background: none; font-size: 18px; min-height: 48px; }
.search__field input:focus { outline: none; }
.search__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(228, 167, 185, .35); }
.search__hints { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 16px 0; font-size: 14px; color: var(--muted); }
.search__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; min-width: 0; }
.s-item > div { min-width: 0; }
.s-item:hover { background: var(--white); }
.s-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--porcelain); mix-blend-mode: multiply; }
.s-item b { font-weight: 500; font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-item span { font-size: 12px; color: var(--muted); }
.s-item mark { background: var(--blush); color: inherit; border-radius: 3px; }
.s-item__p { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.search__all { grid-column: 1 / -1; padding-top: 10px; }
.search__empty { grid-column: 1 / -1; color: var(--muted); padding: 12px 0; }

/* ---------- Модальное окно (тест) ---------- */
.modal { display: grid; place-items: center; padding: 16px; }
.modal__panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: var(--r-l); background: var(--milk); padding: clamp(24px, 4vw, 44px); animation: pop .4s var(--ease); }
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } }
.modal__close { position: absolute; top: 14px; right: 14px; }
.quiz { display: grid; gap: 22px; }
.quiz__progress { display: flex; gap: 6px; margin-right: 48px; }
.quiz__progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.quiz__progress i.on { background: var(--rose-deep); }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt { display: grid; gap: 4px; text-align: left; padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); transition: all .2s var(--ease); align-content: start; }
.quiz__opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz__opt b { font-weight: 600; }
.quiz__opt span { font-size: 13px; color: var(--muted); }
.quiz__res { display: grid; gap: 10px; }
.quiz__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); }
.quiz__item > a { min-width: 0; }
.quiz__item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--porcelain); mix-blend-mode: multiply; }
.quiz__item b { font-size: 14px; font-weight: 500; display: block; line-height: 1.3; }
.quiz__item span { font-size: 13px; color: var(--muted); }
.quiz__foot { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translateX(-50%); display: flex; gap: 14px; align-items: center; width: max-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); font-size: 14px; animation: toastIn .35s var(--ease); }
@keyframes toastIn { from { transform: translate(-50%, 16px); opacity: 0; } }
.toast .i { color: var(--rose); width: 20px; height: 20px; }
.toast span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { border: 0; background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; white-space: nowrap; flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: clamp(48px, 6vw, 80px) 28px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__col h3 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.footer__col a, .footer__col .linklike { color: rgba(255, 255, 255, .72); transition: color .2s; font-size: 14px; }
.footer__col a:hover, .footer__col .linklike:hover { color: var(--rose); }
.footer__col a.footer__phone { font-size: 20px; font-weight: 600; color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 12px; color: rgba(255, 255, 255, .5); flex-wrap: wrap; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--white); }

/* ---------- Появление при прокрутке ---------- */
.reveal { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.reveal.is-pending { transform: translateY(24px); opacity: .001; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) { .hide-md { display: none !important; } }
@media (max-width: 1200px) {
  .nav a { padding: 10px 8px; font-size: 14px; }
  .nav a::after { left: 8px; right: 8px; }
  .cart-btn__sum { display: none; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__in { gap: 8px; }
  .header__tools { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; }
  .reviews .rail { grid-auto-columns: calc((100% - 16px) / 2); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat { grid-column: span 6; }
  .cat--lg { grid-column: span 12; grid-row: auto; min-height: 360px; }
  .cat--md { grid-column: span 12; }
  .promos { grid-template-columns: 1fr; }
  .books { grid-template-columns: 1fr; }
  .books__intro { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__card { left: -8px; }
  .support { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 460px); }
  .arch { aspect-ratio: 1 / 1; }
  .hero__seal { right: 0; width: 96px; height: 96px; }
  .hero__seal b { font-size: 26px; }
  .kit__grid, .school, .collab, .quiz-cta, .pdp, .checkout { grid-template-columns: 1fr; }
  .school__img, .collab__img { min-height: 280px; }
  .quiz-cta__fox { display: none; }
  .gallery, .summary { position: static; }
  .toolbar { position: static; }
  .toolbar__in { flex-wrap: wrap; }
  .toolbar__subs { flex-basis: 100%; order: 2; }
  .toolbar__right { width: 100%; }
  .mini-search { flex: 1; }
  .mini-search input { width: 100%; }
  .search__results { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  :root { --header-h: 62px; }
  .hide-sm { display: none !important; }
  .topbar__in { justify-content: center; }
  .logo__word { font-size: 23px; }
  .logo__mark { width: 33px; height: 33px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .rail { grid-auto-columns: 64%; gap: 12px; }
  .reviews .rail { grid-auto-columns: 86%; }
  .perks__grid { grid-template-columns: 1fr; }
  .perk { padding: 14px 4px; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .cat, .cat--lg, .cat--md { grid-column: span 12; min-height: 230px; }
  .cat--lg { min-height: 300px; }
  .promo { grid-template-columns: 1fr; }
  .promo__img { min-height: 230px; order: -1; }
  .kit__list { grid-template-columns: 1fr; }
  .kit__row strong { font-size: 42px; }
  .form__row { grid-template-columns: 1fr; }
  .quiz__opts { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .card__body { padding-top: 10px; }
  .card__title { font-size: 14px; }
  .card__inci { display: none; }
  .price b { font-size: 15px; }
  .add { width: 40px; height: 40px; }
  .card .stepper { height: 40px; }
  .card .stepper button { width: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(5, 1fr); order: 2; }
  .info-grid { grid-template-columns: 1fr; }
  .hero__card { width: 250px; bottom: 14px; left: 0; }
  .hero__actions .btn { flex: 1; }
  .head-tools .rail-nav { display: none; }
  .promo-code { flex-wrap: wrap; }
  .promo-code .input { flex: 1 1 160px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none !important; }
  .hero__seal { display: none; }
}
/* =====================================================================
   Движение. Один оркестрованный вход (заставка → hero), дальше — тихие
   появления при прокрутке. Всё отключается при prefers-reduced-motion.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.77, 0, .18, 1); }

/* Плавный скролл (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Заставка */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); color: var(--white); clip-path: inset(0 0 0 0);
  animation: introOut 1s var(--ease-io) 3.4s forwards;
}
.intro.is-done { animation: introOut .95s var(--ease-io) forwards; }
.no-intro .intro { display: none; }
.intro__in { display: grid; justify-items: center; gap: 20px; }
.intro__fox { width: 96px; height: 96px; color: var(--fox); clip-path: inset(100% 0 0 0); animation: foxReveal 1.3s var(--ease-io) .15s forwards; }
.intro__word { overflow: hidden; font-family: var(--f-display); font-size: clamp(38px, 5vw, 58px); line-height: 1.1; padding-bottom: .05em; }
.intro__word span { display: block; transform: translateY(110%); animation: rise 1s var(--ease-out) .5s forwards; }
.intro__word em { font-style: normal; color: var(--rose); }
.intro__line { width: 180px; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.intro__line i { display: block; height: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; animation: grow 1.3s var(--ease-io) .3s forwards; }
@keyframes foxReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Плёночное зерно */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Кнопки: заливка-шторка и «магнит» */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sweep, var(--rose-deep)); transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn .i { transition: transform .5s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
[data-magnetic] { transition: transform .5s var(--ease-out), color .25s, border-color .25s; }

/* Hero: вход после заставки */
.hero .hl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero .hl > span { display: inline-block; }
.js .hero .hl > span { transform: translateY(112%); transition: transform 1.3s var(--ease-out); transition-delay: calc(.08s + var(--i, 0) * .11s); }
.js .hero [data-in] { opacity: 0; translate: 0 24px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero .arch { clip-path: inset(100% 0 0 0 round 999px 999px var(--r-l) var(--r-l)); transition: clip-path 1.6s var(--ease-io) .05s; }
.js .hero .arch img { scale: 1.28; transition: scale 2.4s var(--ease-out) .05s; }
.is-ready .hero .hl > span { transform: none; }
.is-ready .hero [data-in] { opacity: 1; translate: 0 0; }
.is-ready .hero .arch { clip-path: inset(0 0 0 0 round 999px 999px var(--r-l) var(--r-l)); }
.is-ready .hero .arch img { scale: 1.02; }
.js:not(.booted) .hero .hl > span, .js:not(.booted) .hero [data-in], .js:not(.booted) .hero .arch { animation: failsafe 0s 7s forwards; }
@keyframes failsafe { to { transform: none; opacity: 1; translate: 0 0; clip-path: none; } }

.hero__card { animation: none; transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0); }
.hero__card:hover { transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px - 4px), 0); }
.hero__seal { animation: none; transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 14px), 0); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal__ring text { fill: rgba(255, 255, 255, .78); font: 600 9.5px var(--f-body); letter-spacing: 1.4px; }
.seal__c { font-family: var(--f-display); font-size: 30px; line-height: 1; color: var(--rose); letter-spacing: 0; text-transform: none; font-weight: 400; }
.hero__seal:hover .seal__ring { animation-duration: 6s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(36px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s); }
.js .rv-clip { clip-path: inset(100% 0 0 0 round var(--r-l)); }
.js .rv-clip img { scale: 1.25; }
.js .rv-clip.in { clip-path: inset(0 0 0 0 round var(--r-l)); transition: clip-path 1.3s var(--ease-io) var(--d, 0s); }
.js .rv-clip.in img { scale: 1; transition: scale 1.8s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease); }

/* Бегущая строка */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--milk); padding-block: clamp(18px, 2.4vw, 28px); }
.marquee__skew { transform: skewX(var(--skew, 0deg)); transition: transform .4s var(--ease-out); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: clamp(28px, 3vw, 52px); padding-right: clamp(28px, 3vw, 52px); font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.15; white-space: nowrap; }
.marquee__item:nth-child(even) { font-style: italic; color: var(--rose-deep); }
.marquee__item svg { width: .62em; height: .62em; color: var(--rose); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Карточки */
.card__media { transition: box-shadow .6s var(--ease-out); }
.card:hover .card__media { box-shadow: 0 26px 44px -30px rgba(23, 18, 20, .5); }
.card__media::after {
  content: "Подробнее"; position: absolute; left: 50%; bottom: 14px; z-index: 1;
  padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; translate: -50% 14px; transition: opacity .4s var(--ease-out), translate .5s var(--ease-out);
}
.card:hover .card__media::after { opacity: 1; translate: -50% 0; }
@media (hover: none) { .card__media::after { display: none; } }
.card__media img:first-child { transition: transform 1.1s var(--ease-out), opacity .5s; }
.grid--pop > .card { animation: fadeUp .7s var(--ease-out) both; }
.grid--pop > .card:nth-child(2) { animation-delay: .05s; } .grid--pop > .card:nth-child(3) { animation-delay: .1s; }
.grid--pop > .card:nth-child(4) { animation-delay: .15s; } .grid--pop > .card:nth-child(5) { animation-delay: .2s; }
.grid--pop > .card:nth-child(6) { animation-delay: .25s; } .grid--pop > .card:nth-child(7) { animation-delay: .3s; }
.grid--pop > .card:nth-child(8) { animation-delay: .35s; } .grid--pop > .card:nth-child(n+9) { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* Медленный зум фото в больших блоках */
.promo__img img, .school__img img, .collab__img img, .kit__img img { transition: transform 1.6s var(--ease-out); }
.promo:hover .promo__img img, .school:hover .school__img img, .collab:hover .collab__img img, .kit__img:hover img { transform: scale(1.05); }

/* Стартовый набор: свечение за курсором и шкала выгоды */
.kit::before { right: auto; left: var(--gx, 78%); top: var(--gy, 12%); transform: translate(-50%, -50%); transition: left 1.4s var(--ease-out), top 1.4s var(--ease-out); }
.js .kit__save .kit__bar i { width: 0; transition: width 1.8s var(--ease-io) .4s; }
.js .kit__save.in .kit__bar i { width: 38%; }

/* Шапка прячется при прокрутке вниз */
.header { transition: transform .6s var(--ease-out), border-color .3s, box-shadow .3s; }
.header.is-hidden { transform: translateY(-100%); }
.toolbar { transition: top .6s var(--ease-out); }
.hdr-hidden .toolbar { top: env(safe-area-inset-top, 0px); }

/* Переход между страницами */
#app { transition: opacity .2s ease; }
#app.view-leave { opacity: 0; }
#app.view-enter { animation: viewIn .8s var(--ease-out); }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px); } }

/* Полёт товара в корзину */
.fly { position: fixed; z-index: 120; pointer-events: none; border-radius: 18px; object-fit: cover; background: var(--porcelain); box-shadow: var(--shadow); margin: 0; }
.cart-btn.hit { animation: hit .7s var(--ease-out); }
@keyframes hit { 30% { transform: scale(1.2) rotate(-10deg); } 60% { transform: scale(.94) rotate(5deg); } }

/* Оверлеи: шаги теста и строки корзины */
.quiz__opt, .quiz__item { animation: fadeUp .6s var(--ease-out) both; }
.quiz__opt:nth-child(2), .quiz__item:nth-child(2) { animation-delay: .06s; }
.quiz__opt:nth-child(3), .quiz__item:nth-child(3) { animation-delay: .12s; }
.quiz__opt:nth-child(4), .quiz__item:nth-child(4) { animation-delay: .18s; }
#cart.is-opening .line { animation: fadeUp .6s var(--ease-out) both; }
#cart.is-opening .line:nth-child(2) { animation-delay: .06s; }
#cart.is-opening .line:nth-child(3) { animation-delay: .12s; }
#cart.is-opening .line:nth-child(n+4) { animation-delay: .18s; }
.sheet--right .sheet__panel, .sheet--left .sheet__panel { animation-duration: .65s; animation-timing-function: var(--ease-out); }
.menu-list a { transition: padding .4s var(--ease-out), color .2s; }
.menu-list a:hover { padding-left: 18px; color: var(--rose-deep); }

/* ---------- Оформление заказа: выбор города и пункта, статус заказа, документы ---------- */
.note--flat { margin-bottom: 0; }
.ship-extra { margin-top: 16px; }
.ship-extra:empty { display: none; }
.city { position: relative; }
.city-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 6px; max-height: 280px; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.city-list button { display: block; width: 100%; text-align: left; padding: 12px 16px; border: 0; background: none; font-size: 14px; line-height: 1.35; }
.city-list button + button { border-top: 1px solid var(--line); }
.city-list button:hover, .city-list button:focus-visible { background: var(--milk); }
.points { display: grid; gap: 8px; max-height: 340px; overflow: auto; padding: 2px; margin-top: 10px; }
.point { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
.point.is-checked { border-color: var(--ink); background: var(--milk); }
.point input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.point b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.point small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--blush); border-top-color: var(--rose-deep); animation: spin .9s linear infinite; }
.brand { font-family: var(--f-brand); font-style: normal; font-weight: 400; letter-spacing: .03em; font-size: 1.14em; line-height: .9; color: var(--rose-deep); }
.legal { max-width: 860px; }
.legal h2 { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 32px 0 10px; color: var(--ink); }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0; }
.legal a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro, .grain { display: none; }
  .js .rv, .js .rv-clip, .js .hero [data-in], .js .hero .arch, .js .hero .hl > span { opacity: 1; transform: none; translate: 0 0; clip-path: none; }
  .js .rv-clip img, .js .hero .arch img { scale: 1; }
  .marquee__track { animation: none; }
}

/* ---------- Структура как на lisinashop.ru: окно товара, полки разделов, формы, техподдержка ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__in { gap: 8px; }
  .header__tools { margin-left: auto; }
}

/* Окно товара поверх раздела */
.pmodal { position: fixed; inset: 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain; padding: clamp(0px, 3vw, 40px) clamp(0px, 3vw, 32px); }
.pmodal__backdrop { position: fixed; inset: 0; background: rgba(23, 18, 20, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.pmodal__panel { position: relative; max-width: 1180px; margin: 0 auto; background: var(--milk); border-radius: var(--r-l); box-shadow: 0 40px 120px -40px rgba(23, 18, 20, .6); animation: pop .45s var(--ease); }
.pmodal__close { position: sticky; top: 14px; float: right; margin: 14px 14px -60px 0; z-index: 3; background: var(--white); box-shadow: 0 6px 20px -10px rgba(23, 18, 20, .4); }
.pmodal__close:hover { background: var(--ink); color: var(--white); }
.pmodal .pdp { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 56px); }
.pmodal .gallery { top: 24px; }
.pmodal .crumbs { font-size: 13px; }
.pdp__related { border-top: 1px solid var(--line); }
.pmodal .pdp__related { border-radius: 0 0 var(--r-l) var(--r-l); background: var(--white); }
@media (max-width: 640px) {
  .pmodal__panel { border-radius: 0; min-height: 100%; }
  .pmodal .pdp__related { border-radius: 0; }
}

/* Полки на страницах разделов */
.shelf { scroll-margin-top: calc(var(--header-h) + 24px); }
.shelf + .shelf { margin-top: clamp(48px, 6vw, 88px); }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.shelf__head .h3 { font-size: clamp(24px, 2.4vw, 34px); }
.shelf__head .muted { font-size: 14px; white-space: nowrap; }

/* Две плитки разделов на главной */
.cats--2 .cat { grid-column: span 6; min-height: clamp(320px, 34vw, 460px); }
.cats--2 .cat h3 { font-size: clamp(34px, 3.6vw, 52px); }
.cat__more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.cat:hover .cat__more { background: var(--rose); }
@media (max-width: 640px) { .cats--2 .cat { grid-column: span 12; } }

/* Новинка */
.novelty { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.novelty__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: #c9d2de; }
.novelty__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.novelty__img:hover img { transform: scale(1.04); }
.novelty__img .mark { position: absolute; top: 18px; left: 18px; }
.novelty__text { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.novelty__text .h2 em { color: var(--rose-deep); }
.novelty__list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.novelty__list li { display: flex; gap: 10px; align-items: flex-start; }
.novelty__list .i { color: var(--rose-deep); flex: none; margin-top: 2px; }
.novelty__foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding-top: 8px; }
.novelty__foot .price { display: flex; gap: 10px; align-items: baseline; }
.novelty__foot .price b { font-size: 30px; }
.novelty__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .novelty { grid-template-columns: 1fr; } .novelty__img { aspect-ratio: 1 / 1; } }

/* Бесплатная доставка */
.ship-banner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-l); background: var(--ink); color: var(--white); }
.ship-banner::after { content: ""; position: absolute; right: -60px; top: -140px; width: 420px; height: 420px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(228, 167, 185, .38), transparent 68%); pointer-events: none; }
.ship-banner__ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--ink); }
.ship-banner__ic .i { width: 38px; height: 38px; }
.ship-banner__text { display: grid; gap: 10px; }
.ship-banner .eyebrow { color: var(--rose); }
.ship-banner .h2 em { color: var(--rose); font-style: normal; }
.ship-banner__text p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.ship-banner + .note { margin: 16px 0 0; }
@media (max-width: 860px) { .ship-banner { grid-template-columns: 1fr; justify-items: start; } .ship-banner__ic { width: 64px; height: 64px; } }

/* Блоки с формами: отзыв и техподдержка */
.lead-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-l); background: var(--blush); }
.lead-block__text { display: grid; gap: 16px; align-content: start; justify-items: start; }
.lead-block .lead a { text-decoration: underline; }
.lead-block--dark { background: var(--ink); color: var(--white); }
.lead-block--dark .eyebrow { color: var(--rose); }
.lead-block--dark .lead { color: rgba(255, 255, 255, .72); }
.lead-block--dark .field label { color: rgba(255, 255, 255, .7); }
.lead-block--dark .check { color: rgba(255, 255, 255, .55); }
.lead-block--dark .check input { accent-color: var(--rose); }
.lead-block--dark .form-success { background: rgba(228, 167, 185, .15); color: var(--rose); }
.lead-block--dark .field__err, .collab .field__err { color: #ff9a8f; }
.lead-form { align-content: start; }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form .check a { text-decoration: underline; }
.field__opt { font-weight: 400; opacity: .6; }
.support-band__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.support-band__btns .btn { gap: 8px; }
.support-band__phone { display: inline-flex; gap: 10px; align-items: center; margin-top: 4px; font-size: 20px; font-weight: 500; }
.support-band__phone .i { color: var(--rose); }
.support-band__phone:hover { color: var(--rose); }
.support--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .lead-block { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .support--4 { grid-template-columns: 1fr; } }

/* Плавающее меню контактов */
.fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; justify-items: end; gap: 12px; }
.fab__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); box-shadow: 0 14px 34px -12px rgba(23, 18, 20, .6); transition: transform .3s var(--ease), background .25s; }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--rose); animation: fabPulse 2.6s var(--ease) infinite; pointer-events: none; }
.fab__btn:hover { background: var(--rose-deep); transform: scale(1.05); }
.fab__btn .i { grid-area: 1 / 1; width: 24px; height: 24px; transition: transform .35s var(--ease), opacity .2s; }
.fab__x { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__btn > .i:first-child { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__x { opacity: 1; transform: none; }
.fab.is-open .fab__btn::before { display: none; }
.fab__menu { display: grid; gap: 4px; min-width: 230px; padding: 8px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); animation: fabIn .3s var(--ease); }
.fab__menu[hidden] { display: none; }
.fab__menu a, .fab__menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 14px 8px 8px; border-radius: 14px; font-size: 15px; font-weight: 500; text-align: left; transition: background .2s; }
.fab__menu a:hover, .fab__menu button:hover { background: var(--blush); }
.fab__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.fab__ic .i { width: 18px; height: 18px; }
.fab__ic--max { background: var(--rose-deep); font-weight: 700; font-size: 15px; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (max-width: 640px) {
  .fab__btn { width: 52px; height: 52px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .fab__btn::before { animation: none; display: none; } }

/* Акции: фото набора вписано целиком */
.promo__img--pack img { object-fit: contain; padding: clamp(12px, 1.6vw, 22px); mix-blend-mode: multiply; }

/* Нет в наличии (остатки из Tilda) */
.card__out { flex: none; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.opts__list button.is-out { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
