/* PixelTap — визуальная система сайта.
   Мир: розовый рассвет в горах. Гранит, пионы, туман, мягкий утренний
   свет. Все снимки сняты в этом мире, интерфейс его продолжает: молочно-
   розовое поле, глубокий винный текст, фуксия марки на действиях.
   Паспорт решений — DESIGN.md. */

/* ---------- шрифты ----------
   Свои файлы, а не Google Fonts: IP посетителя не уходит за рубеж,
   и у обеих гарнитур есть кириллица (у прежней Archivo её не было —
   русский текст рисовался системным шрифтом). Заголовки — тот же Onest,
   что и текст, только жирнее. */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2?v=c3f4223046") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2?v=cc61cbd632") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-cyrillic.woff2?v=3170a883f1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Латинского файла Cormorant нет намеренно: курсивом набираются только
   русские слова, а пробелы и знаки берутся из запасного шрифта — это
   экономит 39 КБ ради четырёх символов. */

/* ---------- токены ---------- */
:root {
  color-scheme: light;

  /* поле */
  --bg:        #FFF7F8;   /* молочно-розовое */
  --bg-2:      #FCECF0;   /* вторая плоскость */
  --bg-3:      #F6DEE5;   /* подложка снимков */
  --paper:     #FFFFFF;

  /* текст: винный, не чёрный */
  --ink:       #2B0B1B;
  --ink-2:     #6B4256;   /* вторичный, 7.4:1 на --bg */
  --ink-3:     #8E6878;   /* только крупное и подписи ≥ 14px жирным, 4.6:1 */

  /* марка */
  --rose:      #D4145A;   /* фуксия: заливки кнопок, белый текст 4.9:1 */
  --rose-ink:  #B01049;   /* мелкий розовый текст и ссылки, 6.3:1 */
  --rose-soft: #FAD3DF;

  /* цвета линеек — из упаковки */
  --lanolin:   #F3C43F;
  --lanolin-2: #FFF1C7;
  --violet:    #6A4CC0;
  --violet-2:  #ECE6FA;
  --sky:       #CFE6F6;
  --mint:      #DDEFE6;

  /* площадки — точки-метки на кнопках, не логотипы */
  --ozon:      #005BFF;
  --wb:        #CB11AB;

  --line:      rgba(43, 11, 27, .11);
  --line-2:    rgba(43, 11, 27, .22);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(43, 11, 27, .05), 0 10px 30px -16px rgba(43, 11, 27, .22);
  --shadow-2: 0 2px 4px rgba(43, 11, 27, .06), 0 24px 48px -24px rgba(43, 11, 27, .35);

  --f-display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 144px);
  --bar-h: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip, а не hidden: hidden делает body контейнером прокрутки,
     и липкая шапка перестаёт липнуть. */
  overflow-x: clip;
  /* Подвал всегда внизу окна, даже на короткой странице (404). */
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--rose-soft); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-s);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- типографика ---------- */
.h1, .h2, .h3-display {
  hyphens: manual;
  overflow-wrap: break-word;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.05rem, 1rem + 4.6vw, 5.1rem);
  line-height: 1.02;
}
.h2 {
  font-size: clamp(1.7rem, 1.05rem + 2.3vw, 3.1rem);
  line-height: 1.08;
  font-weight: 650;
}
.h3-display {
  font-size: clamp(1.15rem, .95rem + .7vw, 1.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.015em;
}
/* Курсив антиквы внутри заголовков — одно слово, не больше. Плотный
   гротеск задаёт характер, курсив добавляет мягкость ухода. */
.h1 em, .h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--rose-ink);
  font-size: 1.14em;
  line-height: .9;
}

.kicker {
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-ink);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38rem;
  text-wrap: pretty;
}

.prose p { max-width: 40rem; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose b, .prose strong { font-weight: 650; color: var(--ink); }

.small { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }

.link {
  color: var(--rose-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- кнопки ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .96875rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bd: var(--ink); }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }
.btn:active { transform: translateY(1px); }

.btn-primary {
  --btn-bg: var(--rose);
  --btn-fg: #fff;
  --btn-bd: var(--rose);
}
.btn-primary:hover { --btn-bg: var(--rose-ink); --btn-bd: var(--rose-ink); box-shadow: 0 10px 24px -12px rgba(212, 20, 90, .7); }

.btn-light {
  --btn-bg: rgba(255, 255, 255, .86);
  --btn-bd: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-light:hover { --btn-bg: #fff; --btn-bd: #fff; box-shadow: var(--shadow-1); }

.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9rem; }

/* Метка площадки: точка фирменного цвета. Не логотип — знаки площадок
   на сайте не рисуем. */
.mk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mk-ozon { background: var(--ozon); }
.mk-wb { background: var(--wb); }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-out { width: 14px; height: 14px; transition: transform .2s var(--ease); }
a:hover > .ico-out { transform: translate(2px, -2px); }

/* ---------- верхняя планка ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  background: rgba(255, 247, 248, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.bar.is-stuck { border-bottom-color: var(--line); background: rgba(255, 247, 248, .94); }
.bar-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}
.logo-glyph { width: 40px; height: 28px; }
.logo-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.02em;
}
.logo-word b { color: var(--rose); font-weight: 700; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; text-decoration-color: var(--rose); }
.nav .nav-buy { display: none; }
.bar-cta { flex: none; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
}
.menu-btn .ico { width: 20px; height: 20px; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 960px) {
  .nav, .bar-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .bar.menu-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    inset: var(--bar-h) 0 auto 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: calc(100dvh - var(--bar-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .bar.menu-open .nav a {
    min-height: 54px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
    color: var(--ink);
  }
  .bar.menu-open .nav a:last-child { border-bottom: 0; }
  .bar.menu-open .nav .nav-buy { display: inline-flex; color: var(--rose-ink); font-weight: 650; }
}

/* ---------- первый экран ----------
   Кадр 21:9: левые ~40% — пустой туман под текст, товары справа.
   Высота экрана следует пропорции кадра, чтобы товары не обрезались. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  aspect-ratio: 21 / 9;
  min-height: 540px;
  max-height: 920px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-3);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 100% 50%; }
/* Подложка под текстом: гасит снимок слева, контраст заголовка держится
   ей, а не удачей кадра. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 247, 248, .9) 0%, rgba(255, 247, 248, .72) 24%, rgba(255, 247, 248, .2) 40%, rgba(255, 247, 248, 0) 52%),
    linear-gradient(0deg, rgba(255, 247, 248, .45) 0%, rgba(255, 247, 248, 0) 20%);
}
.hero-in { padding-block: 56px 64px; }
.hero :focus-visible { outline-color: var(--ink); }
.hero-say { max-width: min(36vw, 34rem); }
@media (min-width: 1600px) {
  .hero-say { max-width: min(36vw, 40rem); }
  /* Колонка текста уезжает вправо вместе с обёрткой, а банка на снимке
     стоит на доле ширины кадра: с ~1750 px кнопки в одну строку на неё
     наезжают. Шире 1600 px кнопки встают друг под другом. */
  .hero-cta { max-width: 26rem; }
}
@media (min-width: 1181px) { .hero { min-height: 620px; } }
.hero .kicker { margin-bottom: 16px; }
.hero .h1 {
  font-size: clamp(2rem, .6rem + 3vw, 4.1rem);
  margin-bottom: 20px;
}
.h1-brand { display: block; color: var(--rose); }
.hero .lede { color: var(--ink); max-width: 30rem; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  color: var(--ink-2);
}
.hero-facts b {
  display: block;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* Планшет: широкий кадр целиком сверху, текст — под ним на поле.
   Поверх снимка текст здесь лёг бы на флаконы. */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero { display: block; aspect-ratio: auto; min-height: 0; max-height: none; background: var(--bg); }
  .hero-media { position: relative; inset: auto; aspect-ratio: 21 / 9; height: auto; }
  .hero-media img { object-position: 100% 50%; }
  .hero::before { display: none; }
  .hero-in { padding-block: 36px 48px; }
  .hero-say { max-width: 44rem; }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    background: var(--bg);
  }
  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 5;
    height: auto;
    z-index: 0;
  }
  .hero-media img { object-position: 50% 50%; }
  .hero::before {
    /* на телефоне текст стоит над снимком, в тумане верхней трети */
    bottom: auto;
    height: 64vw;
    background: linear-gradient(180deg, rgba(255, 247, 248, .7) 0%, rgba(255, 247, 248, .35) 62%, rgba(255, 247, 248, 0) 100%);
    z-index: 1;
  }
  .hero-in { padding: 0; }
  .hero-say { max-width: none; }
  .hero-top {
    position: absolute;
    z-index: 2;
    top: 0; left: 0; right: 0;
    padding: 20px var(--gutter) 0;
  }
  .hero .kicker { margin-bottom: 10px; }
  .hero .h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); margin-bottom: 0; }
  .hero-bottom { padding: 22px var(--gutter) 8px; }
  .hero .lede { margin-bottom: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { gap: 10px 22px; }
}

/* ---------- секции ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--bg-2); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head .kicker { margin-bottom: 14px; }
.section-head .lede { margin-top: 16px; }
.section-head-side { max-width: 26rem; color: var(--ink-2); }

/* ---------- бестселлеры ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.rail { scroll-padding-inline: var(--gutter); }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------- плитки линеек ----------
   Весь блок должен помещаться в один экран (замечание 04.10.2026):
   на компьютере плитки идут одним рядом, на планшете по три, на телефоне
   по две. Подпись линейки видна только диктору — на маленькой плитке
   остаются название и число средств. */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 761px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-m);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-3);
  color: #fff;
  text-decoration: none;
}
.tile-media, .tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.tile-media img { object-fit: cover; transition: transform .8s var(--ease); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(43, 11, 27, 0) 55%, rgba(43, 11, 27, .35) 100%);
}
.tile:hover .tile-media img { transform: scale(1.04); }
/* Подложка лежит под самим текстом, сколько бы строк он ни занял:
   белый на ней держит 5.8:1 даже над белой этикеткой. */
.tile-body {
  padding: 34px 14px 14px;
  background: linear-gradient(to top, rgba(43, 11, 27, .82) 0%, rgba(43, 11, 27, .7) calc(100% - 34px), rgba(43, 11, 27, 0) 100%);
}
.tile-title {
  hyphens: auto;
  overflow-wrap: anywhere;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(1rem, .92rem + .3vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.tile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  font-size: .8125rem;
}
.tile-meta .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tile:hover .tile-meta .ico { transform: translateX(4px); }

/* На узком телефоне подпись бывает выше плитки 4:5 (с aspect-ratio
   плитка не растёт): 4:5 остаётся минимумом, выше — по тексту. */
@media (max-width: 400px) {
  .tile { aspect-ratio: auto; min-height: calc((100vw - 2 * var(--gutter) - 10px) / 2 * 1.25); }
}
@media (max-width: 520px) {
  .tile-body { padding: 30px 12px 12px; }
}

/* ---------- история: снимок + текст ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.story-flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.story-flip .story-media { order: 2; }
.story-media {
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--bg-3);
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-say .kicker { margin-bottom: 14px; }
.story-say .h2 { margin-bottom: 22px; }
.story-say .prose { color: var(--ink-2); }
.story-say .btn { margin-top: 30px; }
@media (max-width: 900px) {
  .story, .story-flip { grid-template-columns: 1fr; }
  .story-flip .story-media { order: 0; }
}

/* факты цифрами */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  padding: 0;
  border-top: 1px solid var(--line-2);
  list-style: none;
}
.facts li { padding: 16px 16px 4px 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b {
  display: block;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.facts span { display: block; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li { padding: 14px 0; display: flex; align-items: baseline; gap: 14px; }
  .facts b { margin: 0; min-width: 5.2rem; }
}

/* какой объём выбрать */
.pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}
.pick li {
  padding: 16px;
  border-radius: var(--r-m);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.pick b { display: block; font-weight: 650; margin-bottom: 4px; }
.pick span { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 640px) { .pick { grid-template-columns: 1fr; } }

/* ланолиновый акцент */
.tone-lanolin { background: linear-gradient(180deg, var(--bg) 0%, var(--lanolin-2) 100%); }
.tone-lanolin .kicker { color: #8A5A00; }
.tone-violet .kicker { color: var(--violet); }

/* ---------- мамам: список «в роддом» ---------- */
.checklist {
  margin-top: 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.check {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose-ink);
}
.check .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.checklist .ck-name { font-weight: 600; line-height: 1.35; }
.checklist .ck-note { display: block; font-size: .875rem; color: var(--ink-2); font-weight: 400; }
.checklist .ck-go { display: flex; gap: 6px; }

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
.chip-link:hover { border-color: var(--ink); }
@media (max-width: 520px) {
  .checklist li { grid-template-columns: 26px 1fr; }
  .checklist .ck-go { grid-column: 2; }
}

/* ---------- шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 18px 18px 18px;
  border-radius: var(--r-m);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--step-bg, var(--violet-2));
  color: var(--step-fg, var(--violet));
  font-family: var(--f-display);
  font-weight: 700;
}
[data-page="lanolin"] { --step-bg: var(--lanolin-2); --step-fg: #7A4E00; }
.steps b { display: block; font-weight: 650; margin-bottom: 4px; }
.steps span { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.story-say .steps { grid-template-columns: 1fr; gap: 10px; }
.story-say .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
.story-say .steps li::before { grid-row: span 2; margin: 0; }
.story-say .steps b { margin: 0; }

.note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--rose-soft);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 40rem;
}

/* ---------- каталог ---------- */
.cat-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 26px;
}
.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}
.search .ico {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px 0 46px;
  border: 1.5px solid var(--ink-3);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(212, 20, 90, .14); }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  padding-block: 8px;
  margin-block: -6px;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: .9375rem;
  font-weight: 550;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-n { font-size: .75rem; font-weight: 700; opacity: .6; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 16px;
}
@media (max-width: 520px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-m);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); }
.card[hidden] { display: none; }
/* Карточка целиком, с кнопками, помещается в экран ноутбука (~700 px,
   замечание 04.10.2026): кадр 4:5 вместо 3:4 (у фото карточек срезается
   по 3% сверху и снизу), название — до трёх строк, описание — до двух. */
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.is-empty::after {
  content: "PixelTap";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink-3);
  opacity: .5;
}
.card-badge {
  position: absolute;
  left: 10px; top: 10px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.2;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
  padding: 12px 14px 14px;
}
.card-line { order: -1; overflow-wrap: anywhere; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-ink); }
.card-name {
  overflow-wrap: break-word;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .8125rem; color: var(--ink-2); }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
}
.tag-lanolin { background: var(--lanolin-2); }
.card-desc { font-size: .875rem; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.card-buy.one { grid-template-columns: 1fr; }
.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.buy:hover { border-color: var(--ink); background: var(--bg); }
@media (max-width: 520px) {
  .card-body { padding: 10px 10px 10px; }
  .card-name { font-size: .9rem; -webkit-line-clamp: 6; }
  .card-desc { display: none; }
  .card-buy { grid-template-columns: 1fr; gap: 6px; }
  .buy { min-height: 44px; font-size: .8125rem; }
}

.more-row { display: flex; justify-content: center; margin-top: 30px; }
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-2);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-m);
}

/* ---------- где купить ---------- */
.buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-l);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}
.stores { display: grid; gap: 12px; }
.store-more { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; font-size: .9375rem; }
.buy-panel .kicker, .about .kicker { margin-bottom: 14px; }
.buy-panel .h2, .about .h2 { margin-bottom: 22px; }
.nowrap { white-space: nowrap; }
.store {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 20px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.store:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.store .mk { width: 14px; height: 14px; }
.store-name { font-family: var(--f-display); font-weight: 650; font-size: 1.15rem; letter-spacing: -.01em; }
.store-note { display: block; font-size: .875rem; color: var(--ink-2); }
.store .ico-out { margin-left: auto; width: 18px; height: 18px; }
@media (max-width: 860px) { .buy-panel { grid-template-columns: 1fr; } }

/* ---------- вопросы ---------- */
.faq { max-width: 52rem; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .faq-a { padding: 0 0 20px; color: var(--ink-2); max-width: 44rem; }
.faq .faq-a p + p { margin-top: .7em; }

/* ---------- о марке ---------- */
.about-shot {
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--bg-3);
  margin-bottom: clamp(32px, 5vw, 64px);
}
.about-shot img { width: 100%; }
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.req { margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.req div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.req dt { color: var(--ink-2); }
.req dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .req div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- подвал ---------- */
.foot {
  padding-block: 48px 36px;
  background: var(--ink);
  color: #F6E6EC;
}
.foot a { color: #fff; }
.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.foot .logo-word { color: #fff; }
.foot .logo-word b { color: #FF7FAE; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; list-style: none; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; opacity: .88; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #fff; opacity: .88; font-size: inherit; }
.link-btn:hover { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.foot-legal { padding-top: 22px; font-size: .8125rem; line-height: 1.6; color: #E3C9D3; max-width: 52rem; }
.foot-legal p + p { margin-top: .5em; }

/* ---------- согласие на cookie (только если включена Метрика) ---------- */
.consent {
  position: fixed;
  z-index: 80;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px;
  margin-inline: auto;
  padding: 18px 18px 16px;
  border-radius: var(--r-m);
  background: var(--paper);
  box-shadow: var(--shadow-2);
  font-size: .9rem;
  line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent-acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.consent-acts .btn { flex: 1 1 140px; }

/* ---------- страницы-документы ---------- */
.doc { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.doc .h2 { margin-bottom: 18px; }
.doc h2.h3-display { margin: 36px 0 12px; }
.doc p, .doc li { max-width: 46rem; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; margin-top: .5em; }
.doc ul + p { margin-top: .8em; }
.doc li + li { margin-top: .35em; }
.doc .crumbs li { margin-top: 0; }
.doc p + p { margin-top: .8em; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-bottom: 22px; list-style: none; font-size: .875rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: underline; text-underline-offset: .2em; }
.crumbs a:hover { text-decoration: underline; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.page-hero .h1 { font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); margin: 14px 0 20px; }
.page-hero .lede { margin-bottom: 28px; }
.page-hero .story-media { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .h1 { margin: 12px 0 18px; }
.nf .lede { margin-inline: auto; }
.nf .hero-cta { justify-content: center; margin-top: 28px; }

/* ---------- движение ----------
   Проявляются только блоки ниже первого экрана и только когда скрипт жив:
   класс ставит JS, поэтому без него всё видно сразу. */
.rise.pre { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.pre.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise.pre { opacity: 1; transform: none; transition: none; }
  .tile-media img, .ico-out, .tile-meta .ico { transition: none; }
}

/* ---------- печать ---------- */
@media print {
  .bar, .hero-media, .consent, .menu-btn, .more-row { display: none !important; }
  body { background: #fff; }
}

/* ---------- высокая контрастность ---------- */
@media (forced-colors: active) {
  .chip[aria-pressed="true"] { outline: 2px solid CanvasText; outline-offset: 2px; }
  .tile-body { background: Canvas; color: CanvasText; }
}

/* ---------- без JavaScript ----------
   Кнопка меню, поиск, фильтры и «Показать ещё» без скрипта не работают —
   прячем их, а меню показываем обычной строкой ссылок. */
@media (scripting: none) {
  .menu-btn, .cat-tools, .more-row { display: none !important; }
  .nav { display: flex !important; overflow-x: auto; margin-left: auto; }
}
[tabindex="-1"]:focus { outline: none; }
