/* ==========================================================================
   ПОДТЕКСТ — тёмная витрина
   Основные плоскости чёрные, товар подаётся на светлых плашках,
   один инверсный светлый блок задаёт ритм. Заголовки — антиква,
   служебные подписи — прописные в разрядку.
   ========================================================================== */

:root {
  --bg: #000000;           /* основная плоскость */
  --bg-2: #0b0b0b;         /* чередующаяся секция */
  --bg-3: #141414;         /* поля и чипы */
  --ink: #f5f5f5;          /* основной текст */
  --ink-2: #a8a8a8;        /* вторичный текст */
  --ink-3: #6f6f6f;        /* подписи и метки */
  --line: #242424;         /* волосяная линия */
  --line-soft: #191919;

  --paper: #eceae5;        /* светлая плашка: подложка товара и инверсный блок */
  --paper-ink: #0a0a0a;    /* текст на светлой плашке */
  --paper-ink-2: #4a4a4a;
  --paper-line: #d3d1cb;

  --radius: 2px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 18px 44px rgba(0, 0, 0, .55);

  --wrap: 1240px;
  --header-h: 74px;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #000; }

h1, h2, h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  line-height: 1.14; letter-spacing: -.012em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { margin: 0; font-size: 1rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(60px, 8vw, 108px); }
.section--tint { background: var(--bg-2); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: block; font-size: .68rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-3);
}
.section-head { display: grid; gap: 14px; margin-bottom: 46px; max-width: 620px; }
.section-head.center { margin-inline: auto; justify-items: center; text-align: center; }
.section-head p { color: var(--ink-2); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
/* на чёрном ведущая кнопка светлая — инверсия основной плоскости */
.btn--primary { background: var(--ink); color: #000; }
.btn--primary:hover { background: #ffffff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: #000; color: #fff; }        /* поверх светлых плашек товара */
.btn--dark:hover { background: #1c1c1c; }
.btn--light { background: var(--paper-ink); color: var(--paper); }
.btn--light:hover { background: #000; }
.btn--lg { padding: 18px 38px; }
/* Кнопка с длинной подписью. У .btn стоит white-space: nowrap, и строка вроде
   «Оформить «Эссенциал» — 2 990 ₽ в квартал» — сорок знаков капсом с разрядкой —
   на телефоне уезжала за край экрана. Здесь перенос разрешаем. */
.btn--wrap { white-space: normal; }
@media (max-width: 560px) {
  .btn--wrap { width: 100%; padding-inline: 20px; line-height: 1.5; }
}
.btn--sm { padding: 11px 20px; font-size: .7rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.link {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; border-bottom: 1px solid var(--ink-3); padding-bottom: 3px;
  transition: border-color .18s, color .18s;
}
.link:hover { border-color: var(--ink); }

/* ---------- Строка объявления ---------- */
.promo-bar {
  background: #000; color: var(--ink-3); text-align: center;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 24px;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
}
.promo-bar i { font-style: normal; color: #3a3a3a; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: rgba(0, 0, 0, .82);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); position: relative; }
.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 1.32rem; letter-spacing: .16em; text-transform: uppercase;
}
.logo__mark {
  width: 30px; height: 30px; border: 1px solid var(--ink); color: var(--ink);
  display: grid; place-items: center; font-size: .82rem; letter-spacing: 0; flex: none;
}
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 10px 15px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); position: relative; transition: color .18s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--ink); transform: scaleX(0); transition: transform .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid transparent; background: none;
  display: grid; place-items: center; cursor: pointer; position: relative;
  font-size: .95rem; color: var(--ink); transition: border-color .18s;
}
.icon-btn:hover { border-color: var(--line); }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--ink); color: #000; font-size: .6rem; font-weight: 700; font-family: var(--sans);
  display: grid; place-items: center; border-radius: 100px;
}
.cart-count[hidden] { display: none; }
.burger { display: none; }

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #000; padding: 10px 24px 22px; gap: 0; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .26s ease;
    margin-left: 0; visibility: hidden; z-index: -1;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; z-index: 1; }
  .nav a { padding: 15px 0; font-size: .82rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .burger { display: grid; margin-left: auto; }
  .header__actions { margin-left: 0; }
}

/* ---------- Первый экран ---------- */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding-block: clamp(52px, 7vw, 96px);
}
.hero__title { margin: 20px 0 0; }
.hero__title em { font-style: italic; }
.hero__lead { font-size: 1.06rem; color: var(--ink-2); max-width: 42ch; margin-top: 22px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 30px; }
.hero__points {
  display: flex; gap: 30px; flex-wrap: wrap; font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 22px;
}
/* товар — светлые плашки на чёрном */
.hero__art {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.hero__art figure { margin: 0; background: var(--paper); }
.hero__art figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.hero__note {
  grid-column: 1 / -1; background: #000; padding: 16px; text-align: center;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Лента преимуществ ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip__row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.strip__row span { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.strip__row span:first-child { border-left: 0; }
@media (max-width: 780px) {
  .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__row span:nth-child(3) { border-left: 0; }
  .strip__row span:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Категории ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cat { display: grid; gap: 0; }
.cat__img { background: var(--paper); border: 1px solid var(--line); aspect-ratio: 4 / 5; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat__img img { transform: scale(1.03); }
.cat h3 { margin-top: 20px; font-size: 1.22rem; }
.cat p { color: var(--ink-3); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin-top: 7px; }
@media (max-width: 780px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* ---------- Карточка товара ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
@media (max-width: 1040px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } }

.card { display: flex; flex-direction: column; position: relative; }
.card__top { position: relative; }
.card__media {
  display: block; position: relative; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); aspect-ratio: 4 / 5;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__badges { position: absolute; top: 12px; left: 12px; display: grid; gap: 6px; justify-items: start; }
/* метки лежат на светлой плашке, поэтому тёмные */
.badge {
  font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 9px; background: rgba(255, 255, 255, .9); color: var(--paper-ink);
  border: 1px solid var(--paper-line);
}
.badge--sale { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.card__fav {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border: none; background: none; cursor: pointer; display: grid; place-items: center;
  font-size: .95rem; color: var(--paper-ink); opacity: 0; transition: opacity .2s;
}
.card:hover .card__fav, .card__fav.is-on { opacity: 1; }
.card__quick {
  position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.card:hover .card__quick { opacity: 1; transform: translateY(0); }
.card__quick .btn { border-radius: 0; }
.card__body { display: grid; gap: 7px; padding-top: 18px; }
.card__name { font-family: var(--serif); font-size: 1.06rem; line-height: 1.3; }
.card__meta { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.card__price { display: flex; align-items: baseline; gap: 10px; font-size: .95rem; }
.card__price s { color: var(--ink-3); font-size: .85rem; }
.stars { color: var(--ink-3); letter-spacing: .1em; font-size: .72rem; }
@media (hover: none) { .card__quick, .card__fav { opacity: 1; transform: none; } }

/* ---------- Наборы ---------- */
.bundle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.bundle__opt {
  position: relative; border: 0; border-left: 1px solid var(--line); padding: 40px 24px 34px;
  background: transparent; color: var(--ink); display: grid; gap: 6px; cursor: pointer;
  text-align: center; justify-items: center; transition: background .2s ease, color .2s ease;
}
.bundle__opt:first-child { border-left: 0; }
.bundle__opt:hover { background: var(--bg-3); }
.bundle__opt.is-active { background: var(--paper); color: var(--paper-ink); }
.bundle__qty { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.bundle__per { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bundle__opt.is-active .bundle__per { color: var(--paper-ink-2); }
.bundle__total { margin-top: 10px; font-size: 1.02rem; }
.bundle__save {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.bundle__opt.is-active .bundle__save { color: var(--paper-ink-2); }
.bundle__popular {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.bundle__opt.is-active .bundle__popular { color: var(--paper-ink-2); }
/* Три формата программы обновления вместо четырёх наборов. Модификатором, а
   не style="" в разметке: инлайновый стиль сильнее любого медиазапроса, и
   на телефоне сетка оставалась в три колонки шириной по сто пикселей. */
.bundle--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 780px) {
  .bundle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle__opt:nth-child(3) { border-left: 0; }
  .bundle__opt:nth-child(n+3) { border-top: 1px solid var(--line); }

  /* Три карточки в две колонки дают сироту на втором ряду, а внутри каждой
     крупная цифра и цена за квартал. В один столбец читается спокойнее. */
  .bundle--3 { grid-template-columns: 1fr; }
  .bundle--3 .bundle__opt { border-left: 0; border-top: 0; }
  .bundle--3 .bundle__opt + .bundle__opt { border-top: 1px solid var(--line); }
}

/* ---------- Инверсный блок: светлая плашка на чёрной странице ---------- */
.club { background: var(--paper); color: var(--paper-ink); padding: clamp(44px, 6vw, 84px); }
.club__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.club h2 { margin-top: 18px; }
.club p { color: var(--paper-ink-2); margin-top: 20px; }
.club .eyebrow { color: #7a776f; }
.club__list { display: grid; margin: 34px 0 38px; padding: 0; list-style: none; }
.club__list li { padding: 16px 0; border-top: 1px solid var(--paper-line); font-size: .92rem; }
.club__list li:last-child { border-bottom: 1px solid var(--paper-line); }
.plans { display: grid; border: 1px solid var(--paper-line); }
.plan {
  display: flex; align-items: center; gap: 20px; padding: 24px 26px; cursor: pointer;
  border-top: 1px solid var(--paper-line); transition: background .2s;
}
.plan:first-child { border-top: 0; }
.plan:hover { background: rgba(0, 0, 0, .04); }
.plan.is-active { background: rgba(0, 0, 0, .07); }
.plan__radio { width: 15px; height: 15px; border: 1px solid #9a988f; border-radius: 50%; flex: none; display: grid; place-items: center; }
.plan.is-active .plan__radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--paper-ink); }
.plan__info { flex: 1; }
.plan__info b { display: block; font-family: var(--serif); font-size: 1.14rem; font-weight: 400; }
.plan__info span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-ink-2); }
.plan__price { text-align: right; white-space: nowrap; font-size: 1rem; }
.plan__price small { display: block; font-size: .68rem; letter-spacing: .1em; color: var(--paper-ink-2); margin-top: 3px; }
.plan__tag { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: #7a776f; margin-left: 8px; }
@media (max-width: 900px) { .club__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.review { padding: 40px 34px; border-left: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.review:first-child { border-left: 0; }
.review__text { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; }
.review__who { display: grid; gap: 3px; }
.review__who b { font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.review__who span, .review__prod { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .review { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0; }
  .review:first-child { border-top: 0; }
}

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: grid; gap: 14px; border-top: 1px solid var(--ink); padding-top: 24px; align-content: start; }
.step__num { font-size: .68rem; letter-spacing: .2em; color: var(--ink-3); }
.step p { color: var(--ink-2); font-size: .95rem; }
/* Четыре шага «как это устроено» вместо трёх — тоже модификатором. */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 780px) {
  .steps, .steps--4 { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 781px) and (max-width: 1040px) {
  /* Четыре колонки по 24px отступа на планшете слипаются — делим пополам. */
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Вопросы ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 26px 0; list-style: none; font-family: var(--serif); font-size: 1.16rem;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-3); transition: transform .25s; font-family: var(--sans); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 28px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Подвал ---------- */
.footer { background: var(--bg); color: var(--ink-2); padding: 84px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.footer h4 {
  color: var(--ink); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 22px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; font-size: .9rem; }
.footer a:hover { color: var(--ink); }
.footer .logo { color: var(--ink); margin-bottom: 20px; }
.footer__pay { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; font-size: .66rem; letter-spacing: .16em; color: var(--ink-3); }
.footer__bottom {
  border-top: 1px solid var(--line); margin-top: 60px; padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }

/* ---------- Корзина ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .72); opacity: 0; pointer-events: none;
  transition: opacity .28s ease; z-index: 90;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #000; z-index: 95;
  display: flex; flex-direction: column; transform: translateX(101%);
  transition: transform .34s cubic-bezier(.32, .72, 0, 1); border-left: 1px solid var(--line);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 28px; display: grid; align-content: start; }
.drawer__foot { border-top: 1px solid var(--line); padding: 24px 28px 28px; display: grid; gap: 16px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; font-family: var(--serif); }
.ship-note { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.progress { height: 2px; background: var(--line); margin-top: 10px; }
.progress i { display: block; height: 100%; background: var(--ink); transition: width .4s ease; }

.line-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.line-item__img { overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__top { display: flex; justify-content: space-between; gap: 14px; }
.line-item__name { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.line-item__opt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
.line-item__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button {
  width: 32px; height: 32px; border: none; background: none; cursor: pointer; font-size: .95rem;
  color: var(--ink-2); display: grid; place-items: center; transition: color .18s;
}
.qty button:hover { color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer; color: var(--ink-3);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; transition: color .18s;
}
.link-btn:hover { color: var(--ink); }
.empty { text-align: center; padding: 70px 10px; display: grid; gap: 18px; justify-items: center; color: var(--ink-2); }
.empty__icon { font-family: var(--serif); font-size: 2rem; color: var(--ink-3); }

/* ---------- Уведомление ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 130%); z-index: 120;
  background: var(--paper); color: var(--paper-ink); padding: 16px 28px; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; transition: transform .34s cubic-bezier(.32, .72, 0, 1);
  display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 40px);
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Каталог ---------- */
.page-head { border-bottom: 1px solid var(--line); padding: 54px 0; background: var(--bg-2); }
.page-head h1 { margin-top: 14px; }
.crumbs {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--ink); }
.catalog { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 54px 96px; }
.filters { display: grid; gap: 38px; position: sticky; top: calc(var(--header-h) + 24px); }
.filter h4 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.filter__list { display: grid; gap: 12px; }
.check { display: flex; align-items: center; gap: 11px; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.check:hover { color: var(--ink); }
.check input { width: 15px; height: 15px; accent-color: var(--ink); cursor: pointer; }
.check span.count { margin-left: auto; color: var(--ink-3); font-size: .78rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: none; color: var(--ink-2); padding: 8px 14px; cursor: pointer;
  font-size: .72rem; letter-spacing: .08em; transition: border-color .18s, background .18s, color .18s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: #000; }
.catalog__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 34px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.catalog__bar .small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
select.sort {
  border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink);
  padding: 6px 2px; cursor: pointer; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
select.sort option { background: #000; color: var(--ink); }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 24px; padding-block-start: 34px; }
  .filters { position: static; display: none; padding: 26px; border: 1px solid var(--line); }
  .filters.is-open { display: grid; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .promo-bar span:nth-child(n+4) { display: none; }
  .catalog__bar > * { min-width: 0; }
  .catalog__bar select.sort { flex-basis: 100%; }
}

/* ---------- Страница товара ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding-block: 40px 96px; align-items: start; }
.gallery { display: grid; gap: 1px; position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main { overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.gallery__thumbs button {
  border: 1px solid var(--line); overflow: hidden; background: var(--paper); cursor: pointer; padding: 0;
  aspect-ratio: 1; transition: border-color .18s;
}
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { margin-top: 16px; }
.pdp__price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 6px; }
.pdp__price b { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.pdp__price s { color: var(--ink-3); font-size: 1rem; }
.pdp__price .off { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pdp__desc { color: var(--ink-2); margin-top: 26px; max-width: 52ch; }
.size-row { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 14px; }
.size-row b { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.size-row a { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; border-bottom: 1px solid var(--line); }
.size-row a:hover { color: var(--ink); border-color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-width: 58px; padding: 14px 16px; border: 1px solid var(--line); background: none; color: var(--ink);
  font-size: .78rem; letter-spacing: .08em; cursor: pointer; transition: border-color .18s, background .18s, color .18s;
}
.size:hover { border-color: var(--ink-3); }
.size.is-on { background: var(--ink); border-color: var(--ink); color: #000; }
.pdp__buy { display: flex; gap: 12px; margin: 34px 0 20px; align-items: stretch; }
.pdp__buy .qty { height: 54px; }
.pdp__buy .qty button { width: 46px; height: 52px; }
.pdp__facts { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.fact { padding: 17px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; color: var(--ink-2); }
.fact b { color: var(--ink); font-weight: 600; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 48px 0 26px; overflow-x: auto; }
.tab {
  border: none; background: none; padding: 0 0 16px; cursor: pointer; white-space: nowrap;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .18s;
}
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; color: var(--ink-2); }
.tab-panel.is-on { display: grid; gap: 16px; }
table.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.size-table th, table.size-table td { padding: 15px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.size-table th { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 40px; }
  .gallery { position: static; }
}

/* ---------- Модальное окно ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .78); z-index: 100; display: grid;
  place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .24s;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal { background: #000; border: 1px solid var(--line); max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 40px; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.modal__head h3 { font-size: 1.4rem; }

/* ---------- Оформление заказа ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; padding-block: 48px 96px; align-items: start; }
.form-card { border-top: 1px solid var(--ink); padding: 28px 0 34px; }
.form-card h3 {
  margin-bottom: 26px; display: flex; align-items: baseline; gap: 14px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--sans); font-weight: 600;
}
.form-card h3 i { font-style: normal; color: var(--ink-3); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line); padding: 11px 0; background: none; width: 100%;
  color: var(--ink); transition: border-color .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #4a4a4a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .err { color: #e0707e; font-size: .72rem; letter-spacing: .06em; display: none; }
.field.is-bad .err { display: block; }
.field.is-bad input { border-color: #e0707e; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.radio-card {
  display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line-soft);
  padding: 20px 0; cursor: pointer;
}
.radio-card input { accent-color: var(--ink); width: 15px; height: 15px; }
.radio-card b { display: block; font-size: .94rem; font-weight: 600; }
.radio-card span { font-size: .78rem; color: var(--ink-3); }
.radio-card .price { margin-left: auto; white-space: nowrap; font-size: .9rem; }
.summary { border: 1px solid var(--line); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.summary h3 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.summary__rows { display: grid; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.summary__rows div { display: flex; justify-content: space-between; gap: 14px; }
.summary__rows b { color: var(--ink); font-weight: 500; }
.summary__total {
  display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.28rem;
  border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink);
}
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: none; color: var(--ink); min-width: 0; }
.promo-row input:focus { outline: none; border-color: var(--ink); }
.ok-note { color: var(--ink); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; gap: 30px; }
  .summary { position: static; }
  /* Грид-элемент по умолчанию не ужимается уже своего содержимого
     (min-width: auto), поэтому сводка распирала колонку и уезжала за край
     экрана — на телефоне обрезало суммы, вплоть до знака рубля в «Итого». */
  .checkout > *, .summary > * { min-width: 0; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Заказ принят ---------- */
.done { max-width: 560px; margin: 0 auto; text-align: center; padding: 96px 24px 120px; display: grid; gap: 22px; justify-items: center; }
.done__ico { width: 64px; height: 64px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}

/* ==========================================================================
   ЛЕНДИНГ — компоненты только для главной
   ========================================================================== */

/* ---------- Первый экран: бельё на верёвках ---------- */
.lp-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.lp-hero__media img { width: 100%; height: auto; display: block; }
.lp-hero__eyebrow {
  position: absolute; top: clamp(18px, 3.4vw, 40px); left: 0; right: 0;
  text-align: center; z-index: 2;
}
.lp-hero__body { position: absolute; left: 0; right: 0; bottom: clamp(22px, 4.5vw, 64px); z-index: 2; text-align: center; }
.lp-hero h1 { font-size: clamp(1.6rem, 3.6vw, 3rem); max-width: 19ch; margin-inline: auto; }
.lp-hero p {
  margin: 16px auto 0; max-width: 52ch; color: var(--ink-2); font-size: .96rem;
}
.lp-hero__cta { margin-top: 26px; }
/* на узком экране кадр слишком низкий для наложения — раскладываем в столбец */
@media (max-width: 900px) {
  .lp-hero__eyebrow, .lp-hero__body { position: static; }
  .lp-hero__eyebrow { padding-top: 34px; }
  .lp-hero__body { padding: 26px 24px 44px; }
}

/* кнопка в квадратных скобках */
.btn--bracket {
  background: none; border: 0; color: var(--ink); padding: 12px 0;
  display: inline-flex; gap: 12px;
}
.btn--bracket::before { content: "["; color: var(--ink-3); }
.btn--bracket::after { content: "]"; color: var(--ink-3); }
.btn--bracket:hover::before, .btn--bracket:hover::after { color: var(--ink); }

/* ---------- Бегущая строка ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 15px 0; background: var(--bg); }
.ticker__row { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker__row span {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap; padding-inline: 26px;
}
.ticker__row i { font-style: normal; color: #3a3a3a; }
.ticker--light { background: var(--paper); border-color: var(--paper-line); }
.ticker--light .ticker__row span { color: var(--paper-ink-2); }
.ticker--light .ticker__row i { color: #a9a7a1; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* ---------- Плитки линий со стрелкой ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.tile { position: relative; display: block; background: var(--paper); overflow: hidden; }
.tile--wide { grid-column: 1 / -1; }
/* картинка выведена из потока: иначе её собственные пропорции 1:1
   перебивают aspect-ratio плитки и растягивают её по высоте */
.tile__frame { aspect-ratio: 4 / 3; display: block; position: relative; overflow: hidden; }
.tile--wide .tile__frame { aspect-ratio: 16 / 6; }
.tile__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 3.5%; transition: transform .5s ease;
}
.tile:hover .tile__frame img { transform: scale(1.04); }
.tile__label {
  position: absolute; left: clamp(18px, 2.4vw, 34px); bottom: clamp(16px, 2vw, 28px);
  display: flex; align-items: center; gap: 14px; color: var(--paper-ink);
  font-size: clamp(.86rem, 1.5vw, 1.4rem); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.tile__arrow { display: inline-block; transition: transform .28s ease; }
.tile:hover .tile__arrow { transform: translateX(9px); }
.tile__count {
  position: absolute; right: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2vw, 30px);
  font-size: .66rem; letter-spacing: .16em; color: var(--paper-ink-2);
}
@media (max-width: 700px) {
  .tiles { grid-template-columns: 1fr; }
  .tile__frame, .tile--wide .tile__frame { aspect-ratio: 3 / 2; }
}

/* ---------- Крупный список материалов с подменой кадра ---------- */
.swap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.swap__rows { display: grid; }
.swap__row {
  display: block; padding: clamp(14px, 1.8vw, 22px) 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.5rem); line-height: 1.15;
  color: #3d3d3d; transition: color .25s ease;
}
.swap__row:last-child { border-bottom: 1px solid var(--line); }
.swap__row:first-child { color: var(--ink); }
.swap__row small {
  display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 8px;
}
.swap__media { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); }
.swap__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.swap__media img:first-child { opacity: 1; }
/* наведение подсвечивает строку и меняет кадр — без скриптов */
.swap:has(.swap__row:hover) .swap__row { color: #3d3d3d; }
.swap:has(.swap__row:hover) .swap__media img { opacity: 0; }
.swap__row:hover { color: var(--ink); }
.swap:has(.swap__row:nth-child(1):hover) .swap__media img:nth-child(1),
.swap:has(.swap__row:nth-child(2):hover) .swap__media img:nth-child(2),
.swap:has(.swap__row:nth-child(3):hover) .swap__media img:nth-child(3),
.swap:has(.swap__row:nth-child(4):hover) .swap__media img:nth-child(4) { opacity: 1; }
@media (max-width: 860px) { .swap { grid-template-columns: 1fr; } }

/* ---------- Нумерованные блоки производства ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.num { padding: clamp(26px, 3vw, 44px); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.num:first-child { border-left: 0; }
.num__i { font-size: .68rem; letter-spacing: .22em; color: var(--ink-3); }
.num h3 { font-size: 1.24rem; }
.num p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 780px) {
  .numbers { grid-template-columns: 1fr; }
  .num { border-left: 0; border-top: 1px solid var(--line); }
  .num:first-child { border-top: 0; }
}

/* ---------- Огромный логотип в подвале ---------- */
.wordmark { overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(30px, 4vw, 54px); }
.wordmark span {
  display: block; text-align: center; white-space: nowrap;
  font-family: var(--serif); font-size: 15.2vw; line-height: 1.04;
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink);
}

/* ---------- Конструктор вышивки ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cfg__stage { position: relative; background: var(--paper); border-radius: var(--radius); }
.cfg__tag {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-ink-2);
}
.cfg__views { display: grid; }
.cfg__views img {
  grid-area: 1 / 1; width: 100%; height: auto; display: block;
  opacity: 0; transition: opacity .3s ease;
}
.cfg__views img.is-on { opacity: 1; }

.cfg__panel { display: grid; gap: 30px; align-content: start; }
.cfg__legend { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.cfg__opts { display: grid; gap: 8px; }
.cfg__opt {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  padding: 12px 16px; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-family: inherit; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cfg__opt:hover { background: var(--bg-3); }
.cfg__opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cfg__opt.is-active { background: var(--paper); color: var(--paper-ink); border-color: var(--paper); }
.cfg__art { flex: none; width: 36px; height: 32px; display: grid; place-items: center; color: var(--ink-3); }
.cfg__opt.is-active .cfg__art { color: var(--paper-ink); }
.cfg__art svg { width: 100%; height: 100%; }
.cfg__art .dot { fill: var(--thread, #b4222f); }
.cfg__t { display: grid; gap: 1px; min-width: 0; }
.cfg__t b { font-weight: 600; font-size: .95rem; }
.cfg__t i { font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cfg__opt.is-active .cfg__t i { color: var(--paper-ink-2); }

.cfg__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg__size {
  min-width: 52px; padding: 10px 12px; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-family: inherit;
  font-size: .86rem; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cfg__size:hover { background: var(--bg-3); }
.cfg__size:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cfg__size.is-active { background: var(--paper); color: var(--paper-ink); border-color: var(--paper); }

.cfg__out { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 4px; }
.cfg__sum { font-family: var(--serif); font-size: 1.18rem; }
.cfg__note { font-size: .78rem; color: var(--ink-3); }
.cfg__cta { margin-top: 16px; }

@media (max-width: 900px) {
  .cfg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cfg__views img, .cfg__opt, .cfg__size { transition: none; }
}

/* ------------------------------------------------- страницы документов

   Оферта, политика, реквизиты. Текст длинный и его читают подряд, поэтому
   строка узкая, а заголовки мелкие: это документ, а не витрина. */

.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: 44px 0 14px; }
.doc h3 { font-size: 1rem; margin: 26px 0 10px; color: var(--ink-2); }
.doc p, .doc li { color: var(--ink-2); line-height: 1.75; font-size: .95rem; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc__meta {
  margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
  color: var(--ink-3); font-size: .82rem;
}

/* Таблица реквизитов: подпись — значение. */
.doc__table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.doc__table th, .doc__table td {
  text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: .92rem; font-weight: 400; vertical-align: top;
}
.doc__table th { width: 42%; color: var(--ink-3); padding-right: 20px; }
.doc__table td { color: var(--ink); }

/* Пока реквизиты не заведены, страница говорит это прямо, а не показывает
   пустое место вместо ИНН. */
.doc__warn {
  margin: 0 0 32px; padding: 16px 18px; border: 1px solid #5c4a1e;
  background: #1a1508; color: #e8d9a8; font-size: .9rem; line-height: 1.6;
}
.legal-empty { color: var(--ink-3); font-style: italic; }

/* ---------- Баннер согласия на cookie ----------

   Прижат к низу и не перекрывает содержимое целиком: баннер во весь экран
   вынуждает соглашаться не глядя, а нам нужно осмысленное согласие. */

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 18px clamp(16px, 4vw, 40px);
  background: var(--bg-2); border-top: 1px solid var(--line);
}
.cookie-bar__text { color: var(--ink-2); font-size: .86rem; line-height: 1.6; max-width: 640px; }
.cookie-bar__text a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__acts { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-bar { padding: 16px; gap: 14px; }
  .cookie-bar__acts { width: 100%; }
  .cookie-bar__acts .btn { flex: 1; white-space: normal; }
}
