/* ============================================================
   BAZE. Summer Sale — оформление.
   Цвета/шрифты/отступы не задаются здесь напрямую —
   только через переменные из tokens.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* Страница никогда не шире экрана: если какой-то блок случайно вылезет,
   боковой прокрутки всего сайта не появится (clip, а не hidden — иначе
   перестают работать липкие шапки и панели). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.page { max-width: var(--page); margin: 0 auto; padding: 0 var(--page-pad); }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
}

.num { font-family: var(--font-numeric); font-weight: 700; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-40);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------- Шапка ---------------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* на телефоне шапка уезжает вместе со страницей — при прокрутке
   остаётся только компактная панель (.minibar) */
@media (max-width: 759px) { .header { position: static; } }
/* Планшет: шапка закреплена и непрозрачна — контент не просвечивает
   при прокрутке (само меню настраивается ниже, после телефонных правил). */
@media (min-width: 760px) { .header { position: sticky; top: 0; background: #fff; backdrop-filter: none; } }

.header__in {
  display: flex; align-items: center; gap: clamp(14px, 3vw, 32px);
  height: clamp(64px, 6.2vw, 88px);
}

.logo {
  /* по макету логотип набран Eurofont, 28px на телефоне и 40 на десктопе */
  margin-left: -.064em;   /* поле буквы B в шрифте — чтобы чернила стояли на краю сетки */
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: clamp(32px, 26.4px + 1.35vw, 46px);
  color: var(--brand);
  line-height: 1;
  flex: none;
}

.nav { display: flex; margin-left: auto; gap: clamp(14px, 1.6vw, 30px); align-items: center; height: 100%; min-width: 0; }

.nav a {
  position: relative;
  display: flex; align-items: center; height: 100%;
  font-size: clamp(12px, 8.9px + 0.62vw, 18px); font-weight: 700; text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-60);
  transition: color .15s;
}
.nav a:hover { color: var(--ink); }

/* активный раздел: тёмный текст и оливковая черта по нижнему краю шапки */
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--brand); border-radius: 2px 2px 0 0;
}

/* --- Бургер (телефон) и иконка поиска --- */
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; margin-left: -8px; }
.burger span, .burger span::before, .burger span::after {
  content: ''; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger span { top: 19px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); flex: none; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 24px; height: 24px; }
/* Лупа рядом с крупным меню и кнопкой консультации читалась мелкой
   (заказчик, iPad 31.08): на планшете и компьютере даём ей больше
   размера и чуть плотнее обводку. */
@media (min-width: 900px) {
  .icon-btn { width: 46px; height: 46px; }
  .icon-btn svg { width: 26px; height: 26px; }
  .icon-btn svg circle, .icon-btn svg path { stroke-width: 2.2; }
}
#searchBtn { margin-left: auto; }
.nav + #searchBtn { margin-left: 0; }

/* --- Выпадающее меню «Покупателям» (компьютер) --- */
.nav__dd { position: relative; height: 100%; display: flex; align-items: center; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; height: 100%;
  font-size: clamp(12px, 8.9px + 0.62vw, 18px); font-weight: 700; text-transform: uppercase; color: var(--ink-60); white-space: nowrap; }
.nav__dd-btn svg { width: 10px; height: 6px; transition: transform .15s; }
.nav__dd:hover .nav__dd-btn, .nav__dd.is-open .nav__dd-btn { color: var(--ink); }
.nav__dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.nav__dd-menu { position: absolute; top: calc(100% - 6px); left: -12px; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 8px; display: none; z-index: 60; }
.nav__dd-menu a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 700; color: var(--ink); }
.nav__dd-menu a:hover { background: var(--bg-soft); }
/* Список подборок: под названием акции — скидка и срок, как в
   выдвижном меню. Пункты чуть выше обычных из-за второй строки. */
.nav__dd-menu--cols { min-width: 268px; }
.nav__dd-menu--cols a { padding: 9px 14px; line-height: 1.25; }
.nav__dd-menu--cols small { display: block; margin-top: 2px; font-size: 12.5px;
                            font-weight: 500; color: var(--ink-60); }
.nav__dd-menu--cols a:hover small { color: var(--ink-60); }
.nav__dd.is-open .nav__dd-menu { display: block; }
@media (hover: hover) { .nav__dd:hover .nav__dd-menu { display: block; } }

/* --- Строка поиска под шапкой --- */
.searchbar { border-top: 1px solid var(--line); background: #fff; }
.searchbar__in { display: flex; gap: 8px; align-items: center; padding: 10px 0; }
.searchbar input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 16px; font-size: 16px; }
.searchbar__go { border: 0; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 11px 18px; font-weight: 700; cursor: pointer; }
.searchbar__close { border: 0; background: none; font-size: 18px; cursor: pointer; padding: 8px; color: var(--ink-60); }
.search-inline { display: flex; gap: 8px; margin: var(--s-4) 0 var(--s-6); }
.search-inline input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 12px 16px; font-size: 16px; }

/* --- Выезжающее меню (телефон) --- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 22, .45); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 380px); background: #fff; overflow-y: auto;
  padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: var(--s-5);
  animation: drawerIn .22s ease-out; box-shadow: 8px 0 40px rgba(0,0,0,.2); }
@keyframes drawerIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.drawer__head .logo { font-size: 30px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--surface); font-size: 20px; font-weight: 700; text-transform: uppercase; }
.drawer__nav a small { display: block; font-size: 12px; font-weight: 500; text-transform: none; color: var(--ink-60); margin-top: 2px; }
.drawer__nav a.is-active { color: var(--brand); }
.drawer__group { display: flex; flex-direction: column; gap: 2px; }
.drawer__group .eyebrow { margin-bottom: 8px; }
.drawer__group a { padding: 10px 0; font-size: 16px; font-weight: 700; }
.drawer__note { font-size: 13px; color: var(--ink-60); }
body.drawer-open { overflow: hidden; }

/* --- Нижняя панель (телефон) --- */
.tabbar { display: none; }
@media (max-width: 759px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(12px); border-top: 1px solid var(--surface);
    padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 58px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--ink-60); letter-spacing: .02em; }
  .tabbar a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-active { color: var(--brand); }
  /* ключевая подборка вместо «В наличии» (04.11.2026): название длиннее — в одну строку, без разрядки */
  .tabbar a.tabbar__key span { white-space: nowrap; letter-spacing: 0; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.no-tabbar { padding-bottom: 0; }
  body.no-tabbar .tabbar { display: none; }
  .footer { padding-bottom: var(--s-5); }
}
@media (max-width: 380px) {
  .tabbar a.tabbar__key span { font-size: 9px; }   /* 360–380 px: не вплотную к «Избранному» */
}

/* --- Телефон и планшет: шапка компактная, разделы в меню ---
   Порог 1100px (а не 760): полный ряд меню занимает ~1230px, и на
   iPad — и в книжной, и в альбомной ориентации — шапка вылезала за
   экран: кнопка консультации уезжала вбок, весь сайт скроллился
   вправо-влево. До 1100px разделы живут в выдвижном меню. */
@media (max-width: 1099px) {
  .burger { display: block; }
  .nav { display: none; }
  .header__in { gap: 8px; height: 60px; }
  .logo { font-size: 28px; }
  #searchBtn { margin-left: auto; }
}

/* iPad в альбомной: показываем то же меню, что на компьютере — по
   просьбе дизайнера шапка на планшете должна выглядеть как десктопная.
   Чтобы всё поместилось, отступы теснее, кегль чуть меньше, а у кнопки
   консультации остаётся самолётик без подписи. */
@media (min-width: 900px) and (max-width: 1099px) {
  .burger { display: none; }
  .nav { display: flex; gap: 13px; }
  .nav a, .nav__dd-btn { font-size: 13px; letter-spacing: 0; }
  .header__in { height: 68px; gap: 10px; }
  .logo { font-size: 30px; }
  .nav__cta { padding: 10px; }
  .nav__cta span { display: none; }
  .nav__cta svg { width: 17px; height: 17px; }
}

/* Узкий десктоп: меню помещается, но впритык — сжимаем отступы
   и оставляем у кнопки один самолётик. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav { gap: 16px; }
  .nav__cta { padding: 10px; }
  .nav__cta span { display: none; }
  .nav__cta svg { width: 17px; height: 17px; }
}

/* --- Бренды на главной: строка с прокруткой --- */
/* Полоса брендов — воздух сверху и снизу одинаковый: раньше
   отрицательный отступ съедал верхний, и кнопки прилипали к тёмному
   первому экрану. Начало ряда — по левому краю контента, вровень с
   заголовками страницы. */
.brandrow-wrap { margin-top: 0; }
.brandrow { display: flex; gap: 8px; overflow-x: auto; padding: var(--s-5) 0;
            scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.brandrow::-webkit-scrollbar { display: none; }
.brandrow .brand-chip { flex: none; }
.center { text-align: center; padding: 0 0 var(--s-7); margin-top: calc(-1 * var(--s-6)); }
.section-head__sub { flex: 1 1 100%; font-size: 14px; color: var(--ink-60); margin-top: -4px; }

/* --- Карточка товара: сроки и доверие у цены --- */
.info__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.ichip { font-size: 12px; color: var(--ink-60); background: var(--bg-soft); border-radius: var(--r-pill); padding: 6px 11px; line-height: 1.2; }
.ichip b { color: var(--ink); font-family: var(--font-numeric); font-weight: 700; margin-right: 4px; }
/* Шкала температуры (04.11.2026, макет Насти): между сроками доставки и размерами,
   на компьютере — примерно половина ширины блока, на телефоне шире, чтобы читались цифры. */
.tscale { width: 50%; min-width: 260px; margin-top: var(--s-5); }
.tscale__svg { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .tscale { width: min(100%, 340px); } }
.stickybuy__size { color: var(--ink-60); font-family: var(--font-body); font-weight: 700; font-size: 13px; display: block; }

/* --- Оформление: шаги, группы, липкая кнопка --- */
.steps { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: flex; gap: 6px; align-items: center; }
.steps li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink-40); }
.steps li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-numeric); font-size: 11px; }
.steps li.is-now { color: var(--ink); } .steps li.is-now i { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.is-done { color: var(--brand); } .steps li.is-done i { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps li + li::before { content: ''; width: 18px; height: 1px; background: var(--line); margin-right: 6px; }
/* Узкие Android (360): шаги «Контакты — Проверка — Telegram» и длинное слово
   «ПОНРАВИТЬСЯ» не помещались и страница ездила вбок на 13–18 px. */
@media (max-width: 380px) {
  .steps { gap: 4px; }
  .steps li { gap: 4px; font-size: 11px; }
  .steps li + li::before { width: 10px; margin-right: 4px; }
  .related .h-display { font-size: 26px; }
}
.form__sec { margin-top: var(--s-3); }
.form__sec h3 { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ink-60); letter-spacing: .04em; }
.form__more { border-top: 1px solid var(--surface); padding-top: var(--s-3); }
.form__more summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--ink-60); border-bottom: 2px solid var(--ink-60); transform: rotate(45deg); margin-right: 4px; }
.form__more[open] summary::after { transform: rotate(-135deg); }
.form__more > .field { margin-top: var(--s-3); }
@media (max-width: 759px) {
  .form-actions--sticky { position: sticky; bottom: 0; background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); padding: var(--s-3) 0 var(--s-4); margin-top: var(--s-2); z-index: 5; }
}

/* сквозная кнопка консультации — на каждом экране */
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  background: var(--brand); color: #fff;
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: clamp(11px, 2.6vw, 13px); font-weight: 700; text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s;
}
.nav__cta:hover { background: var(--brand-dark); }
.nav__cta svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
@media (max-width: 460px) {
  .nav__cta { padding: 10px; }
  .nav__cta span { display: none; }        /* на узких экранах — только самолётик */
  .nav__cta svg { width: 17px; height: 17px; }
}

/* ---------------- Кнопки ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }

.btn--light { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); }

.btn--onDark { background: var(--on-dark); color: var(--ink); }
.btn--onDark:hover { background: #fff; }

.btn--onDarkGhost { background: transparent; color: var(--on-dark); border-color: rgba(244,244,242,.34); }
.btn--onDarkGhost:hover { border-color: var(--on-dark); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 12px; }
.btn--lg { padding: 17px 32px; font-size: 15px; }

.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--surface); color: var(--ink-40);
  border-color: transparent; cursor: not-allowed;
}

/* ---------------- Главный экран ---------------- */

.hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-8) 0 var(--s-7);
  position: relative;
  overflow: hidden;
}

/* Первый экран: на десктопе почти во всю высоту, витрина пары справа */
.hero--brand { padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 80px); }
@media (min-width: 1024px) {
  .hero--brand { display: flex; align-items: center; min-height: min(560px, calc(100vh - 200px)); }
  .hero--brand > .page { width: 100%; }
}

/* контент героя всегда выше фоновых свечений */
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
/* Колонка сетки не должна распираться «натуральной» шириной фото
   (1200px): без min-width:0 карточка витрины выходила за экран
   телефона — плашка «Пара недели» уезжала за правый край. */
.hero__grid > * { min-width: 0; }
.hero::after, .hero--brand::before { z-index: 0; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

/* карточка-витрина избранной пары */
.hero__feat-wrap { position: relative; }

.hero__feat-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-3);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.hero__feat-head span:first-child { color: var(--brand-light); }
.hero__feat-head #hfCount { font-family: var(--font-numeric); color: rgba(244,244,242,.55); }

.hero__feat {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 30px);
  color: var(--ink);
  touch-action: pan-y;            /* горизонтальный жест — наш, вертикальный листает страницу */
  transition: box-shadow .26s ease;
}
.hero__feat:hover { box-shadow: 0 18px 48px rgba(0, 0, 0, .35); }
/* Расцветки в витрине сменяются без перехода — по решению заказчика
   (31.08): просто следующая пара вместо текущей, раз в три секунды. */

/* стрелки листания */
.hf-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: color .15s, border-color .15s, transform .15s;
  z-index: 2;
}
.hf-arr svg { width: 11px; height: 15px; }
.hf-arr:hover { color: var(--brand); border-color: var(--brand); }
.hf-arr--l { left: -13px; }
.hf-arr--r { right: -13px; }
.hf-arr:active { transform: translateY(-50%) scale(.92); }
.hero__feat img {
  width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 1.18 / 1; object-fit: contain;
}
/* «Пара недели» — плашка в левом верхнем углу белой карточки */
.hero__feat--week { padding-top: clamp(52px, 8vw, 66px); }
.hf-badge {
  position: absolute; left: clamp(14px, 2.4vw, 22px); top: clamp(14px, 2.4vw, 22px);
  display: inline-flex; align-items: baseline; gap: 7px;
  background: var(--brand); color: #fff;
  border-radius: 999px; padding: 7px 14px;
  font-family: var(--font-numeric);   /* весь текст плашки одним шрифтом (правка Насти) */
  font-size: clamp(11px, 2.6vw, 13px); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.hf-badge b { font-size: 1.15em; }
/* цена витрины — тот же вид, что в карточках каталога */
.hf-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: 7px; }
.hf-price .price__now {
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(16px, 4vw, 22px); color: var(--brand);
  white-space: nowrap;                 /* «от» не отрывается от числа */
}
.hf-price .price__old { font-size: clamp(12px, 2.8vw, 15px); }
.hero__feat-meta { margin-top: var(--s-3); }
.hero__feat-meta b { display: block; font-size: clamp(16px, 3.8vw, 22px); font-weight: 700; }
/* только прямая подпись расцветки — блоком; спаны внутри цены остаются строчными */
.hero__feat-meta > span { display: block; font-size: clamp(12px, 3vw, 15px); color: var(--ink-60); margin-top: 2px; }
.hero__feat-meta i {
  display: block; font-style: normal; margin-top: 7px;
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(16px, 4vw, 22px); color: var(--brand);
}
.hero__feat-dots {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  margin-top: var(--s-2);
}
/* Точка — 8px, но нажимается вся область 20×20: рисуем её в ::before,
   а кнопке даём поля. Пальцем попасть по голым 8px нельзя. */
.hero__feat-dots button {
  position: relative; width: 20px; height: 20px;
  border: 0; padding: 0; background: none; cursor: pointer;
}
.hero__feat-dots button::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(244,244,242,.35);
  transition: background .2s, width .2s;
}
.hero__feat-dots button.is-on::before { background: var(--brand-light); width: 20px; border-radius: 4px; }
/* Когда расцветок много (вся модель пары недели — 20+), ряд точек на
   телефоне не помещается и не читается: остаются счётчик «N / M»,
   свайп и стрелки. На широких экранах точки видны как раньше. */
@media (max-width: 759px) {
  .hero__feat-dots.dots--many { display: none; }
}

.hero--brand::before {
  content: '';
  position: absolute; left: -12%; bottom: -55%;
  width: 44%; aspect-ratio: 1;
  background: var(--brand);
  border-radius: 50%;
  filter: blur(120px);
  opacity: .22;
  pointer-events: none;
}

/* У крупной «B» свой боковой просвет внутри буквы: при кегле 150px это
   почти 10px, у заголовка — полтора. Поэтому логотип стоял правее
   подписи. Сдвигаем его на эту разницу — видимые края букв логотипа и
   заголовка встают на одну вертикаль (правка Насти, 31.08). */
.hero__logo {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: clamp(64px, 15.4vw, 150px);
  line-height: .9;
  color: #fff;
  margin: 0 0 0 -.05em;
}
.hero__logo span { color: var(--brand-light); }

.hero__tag {
  margin-top: var(--s-3);
  font-size: clamp(14px, 3.5vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--surface);
}

/* Преимущества — одной колонкой сверху вниз на любом экране: раньше на
   широких они разъезжались в три столбца и читались как таблица. */
.hero__feats {
  list-style: none; margin: var(--s-6) 0 0; padding: 0;
  display: grid; gap: 12px;
}
.hero__feats li {
  position: relative; padding-left: 22px;
  font-size: clamp(14px, 3.6vw, 18px);
  line-height: 1.4;
  color: rgba(244,244,242,.82);
  text-wrap: balance;             /* строка не рвётся на неудачном слове */
}
.hero__feats li::before {
  content: ''; position: absolute; left: 2px; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-light);
}

/* мягкое фирменное свечение в углу тёмного блока */
.hero::after {
  content: '';
  position: absolute; right: -18%; top: -40%;
  width: 58%; aspect-ratio: 1;
  background: var(--brand);
  border-radius: 50%;
  filter: blur(110px);
  opacity: .38;
  pointer-events: none;
}

.hero__in { position: relative; z-index: 1; max-width: 820px; }

/* Сроки акции над заголовком */
.hero__dates {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: clamp(20px, 6vw, 32px);
  line-height: 1;
  color: var(--brand-light);
  margin-bottom: var(--s-4);
}

.hero__title {
  /* 54px при ширине 402 и 100px при 1440; первая формула держит
     заголовок в ширину экрана на совсем узких телефонах */
  font-size: clamp(38px, min(14.84vw - 5.9px, 36.2px + 4.43vw), 100px);
  color: #fff;
}

.hero__sub {
  margin: var(--s-5) 0 0;
  /* В макете подзаголовок набран капителью. Браузер не умеет строить
     её для этого шрифта, поэтому берём верхний регистр и уменьшаем
     кегль до высоты капители (~0.87 от исходных 16/28px). */
  font-size: clamp(14px, 9.9px + 1vw, 24px);
  text-transform: uppercase;
  color: var(--surface);
  max-width: 30em;
  white-space: pre-line;
}

.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(244,244,242,.28);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: rgba(244,244,242,.86);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light); }

.hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Цифры под тёмным блоком, на белом --- */
.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-6) var(--s-4);
  padding: clamp(28px, 5vw, 48px) var(--page-pad) clamp(24px, 4vw, 36px);
}

/* Раскладка главной из десктопного макета: тёмный блок прижат к левому
   краю экрана и занимает ~64% ширины, статистика — колонкой справа */
@media (min-width: 1024px) {
  .hometop { display: grid; grid-template-columns: 63.75% 1fr; column-gap: 63px; align-items: start; }
  .hometop .stats {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 0 var(--page-pad) 0 0;
  }
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 12.25px + 1.93vw, 40px);
  color: var(--ink);
  line-height: 1; margin-bottom: 7px;
}
.stat span {
  font-size: clamp(12px, 8.9px + 0.77vw, 20px); font-weight: 700;
  color: var(--ink); text-transform: uppercase;
}

/* денежная цифра — единственная в статистике набрана Eurofont и оливковым */
.stat--price b { font-family: var(--font-numeric); color: var(--brand); }

/* --- Строка брендов: ненавязчиво, частью композиции --- */
.brands-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-3) clamp(18px, 4.5vw, 40px);
  padding: 0 var(--page-pad) clamp(28px, 5vw, 44px);
  border-bottom: 1px solid var(--line);
}
.brands-row span {
  font-family: var(--font-display);
  font-size: clamp(11px, 2.6vw, 15px); text-transform: uppercase;
  color: #BFBFBD;
  transition: color .2s;
}
.brands-row:hover span { color: var(--ink-60); }

/* --- Блок о магазине --- */
.about { padding: clamp(40px, 7vw, 72px) var(--page-pad) clamp(48px, 8vw, 88px); }
.about__logo {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: clamp(26px, 6vw, 40px);
  color: var(--brand); line-height: 1; margin-bottom: var(--s-2);
}
.about__title {
  font-size: clamp(16px, 14.45px + 0.39vw, 20px); font-weight: 700;
  text-transform: uppercase; margin-bottom: var(--s-4);
}
.about ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.about li { position: relative; padding-left: 22px; font-size: clamp(14px, 3.4vw, 17px); }
.about li::before {
  content: ''; position: absolute; left: 2px; top: .5em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}

/* ---------------- Панель каталога ---------------- */

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  padding: var(--s-7) 0 var(--s-4);
}
.section-head h2 { font-size: clamp(30px, 19.93px + 2.5vw, 56px); }

/* «Смотреть каталог ›» на главной */
.cat-link {
  display: flex; align-items: center; gap: clamp(10px, 2.4vw, 24px);
  padding: var(--s-7) 0 var(--s-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 12.25px + 1.93vw, 40px);
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.cat-link svg { width: clamp(14px, 3.4vw, 23px); height: auto; flex: none; }
.section-head__count { font-size: 13px; color: var(--ink-60); }

/* Панель каталога (бренды, поиск, фильтры) прокручивается вместе со
   страницей: закреплённой сверху остаётся только шапка сайта — иначе
   на планшете два «прилипших» ряда съедали пол-экрана. */
.toolbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: var(--s-3) 0;
  margin-bottom: var(--s-5);
}
/* Бренды: на телефоне — одна прокручиваемая строка, на компьютере переносятся */
.toolbar__in {
  display: flex; align-items: center;
  gap: var(--s-2) var(--s-3);
  flex-wrap: wrap;
}

.brands {
  display: none;                          /* на телефоне бренды не занимают место */
  gap: 6px;
}
@media (min-width: 760px) {
  .brands { display: flex; flex-wrap: wrap; flex: 1 1 auto; order: 1; }
}

/* На телефоне и планшете панель каталога (бренды, поиск, фильтры) не
   липнет: сверху остаётся только основная шапка сайта. Липкой панель
   становится с 900px — там она под шапкой и не съедает экран. */
/* телефон: компактная строка — два аккуратных фильтра рядом, поиск под ними */
@media (max-width: 759px) {
  .toolbar { padding: var(--s-2) 0; }
  .toolbar__in { gap: 8px; }
  .toolbar__selects { display: flex; flex: 1 1 100%; gap: 8px; order: 1; }
  .toolbar__selects .sort { flex: 1 1 50%; min-width: 0; }
  .toolbar__in .search { order: 2; flex: 1 1 100%; }
}

.brand-chip {
  flex: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  color: var(--ink-60);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
@media (min-width: 760px) {
  .brand-chip { padding: 8px 16px; }
}
.brand-chip:hover { border-color: var(--ink-40); color: var(--ink); }
.brand-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Размер, цена и сортировка — одной группой; на телефоне прокручиваются строкой */
.toolbar__selects {
  display: flex; flex-wrap: nowrap; gap: 6px; flex: 1 1 100%;
  max-width: 100%;
  order: 1;
  min-width: 0;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--page-pad)); padding: 0 var(--page-pad);
}
.toolbar__selects::-webkit-scrollbar { display: none; }
.toolbar__selects .sort { flex: none; }
/* Телефон: два фильтра поровну в одну строку. Правило «пополам» уже было
   в блоке выше, но это общее правило стояло ниже и перебивало его — второй
   фильтр («Популярные») уезжал за край экрана и обрезался. */
@media (max-width: 759px) {
  .toolbar__selects { overflow: visible; margin: 0; padding: 0; }
  .toolbar__selects .sort { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 760px) {
  .toolbar__selects { order: 2; flex: 0 1 auto; flex-wrap: wrap; overflow: visible; margin: 0 0 0 auto; padding: 0; }
}

.sort {
  flex: 0 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 32px 8px 14px;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  background: var(--bg) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236E7075' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none;
  cursor: pointer; color: var(--ink);
}

@media (min-width: 760px) {
  .sort { padding: 9px 34px 9px 16px; }
}

/* Выбранный размер видно сразу, не вчитываясь в список */
.sort.is-on {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FFFFFF' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------------- Сетка товаров ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* minmax: длинное слово в карточке не распирает колонку за край экрана */
  gap: var(--s-4) var(--s-3);
  padding-bottom: var(--s-8);
}
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; cursor: pointer; }
/* цены во всех карточках на одних линиях: строка старой цены есть всегда */
.price--row { margin-top: auto; padding-top: 4px; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price--row .price__old { font-size: clamp(12px, 10px + 0.5vw, 15px); }
/* слово «от» перед ценой: текстовый шрифт, небольшой ровный зазор */
/* «от» — часть действующей цены: тот же шрифт, вес и цвет, только
   кегль меньше. Раньше слово было тоньше и бледнее, из-за чего цена
   со скидкой и без выглядели по-разному (правка Насти, 31.08). */
.pfrom { font-family: inherit; font-weight: inherit; color: inherit;
         font-size: .72em; margin-right: .3em; opacity: 1; }
.card__model, .card__color { flex: 0 0 auto; }

.card__media {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--grey);
  border-radius: var(--r-md);
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 10px;
}
.card__media img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media img { transition: transform .35s ease; }

.ph {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: var(--bg-soft);
}
.ph__mark { font-family: var(--font-numeric); font-weight: 700; font-size: 20px; color: var(--surface); }
.ph__note { font-size: 10px; text-transform: uppercase; color: var(--ink-40); }

/* Значок скидки на фото карточки. Правки Ульяны 11.11: на 25–30 % меньше,
   ниже и легче — скидку видно, но с фото пары она не спорит; выгоду и так
   показывают зачёркнутая и новая цена. Фирменный оливковый, полупрозрачный. */
.badge {
  position: absolute; top: 7px; left: 7px;
  background: rgba(100, 112, 45, .86); color: #fff;
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(9px, 6.9px + 0.36vw, 12px); line-height: 1.1; letter-spacing: -.02em;
  padding: 3px 8px 2px; border-radius: var(--r-pill);
}
/* «последняя пара» — вниз, чтобы не сталкивалась со скидкой на узких карточках */
.badge--last {
  top: auto; bottom: 10px;
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 10px; text-transform: uppercase;
}

.card__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-40); }
.card__model { font-size: clamp(14px, 11.68px + 0.58vw, 20px); font-weight: 700; margin: 3px 0 1px; line-height: 1.25; }
.card__color { font-size: clamp(11.5px, 9px + 0.58vw, 16px); color: var(--ink); margin-bottom: var(--s-2); }

.price { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.price__old {
  /* по макету старая цена того же кегля, но обычного веса */
  font-family: var(--font-numeric); font-weight: 400;
  font-size: clamp(14px, 11.68px + 0.58vw, 20px);
  color: var(--grey); text-decoration: line-through;
}
.price__now {
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(14px, 11.68px + 0.58vw, 20px);
  color: var(--brand);
}

.howlist { counter-reset: hl; list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: 10px; }
.howlist li { counter-increment: hl; position: relative; padding-left: 38px; font-size: clamp(15px, 3.8vw, 18px); font-weight: 700; }
.howlist li::before { content: counter(hl); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--font-numeric); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.notebox { background: var(--bg-soft); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; line-height: 1.6; margin: 0 0 var(--s-5); }
.notebox b { color: var(--brand); }

.card__meta { margin-top: 4px; font-size: 11px; color: var(--ink-60); display: flex; align-items: center; gap: 6px; }
.card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grey); display: inline-block; }
.card__dot--ok { background: #3b9b4a; }
.card__more { position: absolute; right: 6px; bottom: 6px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 700;
  text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-pill); border: 1px solid var(--surface); }
@media (min-width: 1024px) { .brandrow .brand-chip { padding: 12px 22px; font-size: 15px; } .brandrow { gap: 10px; } }

.card__sizes {
  padding: 0 10px 9px;
  font-size: clamp(11.5px, 9px + 0.58vw, 16px);
  color: var(--grey); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__sizes b { color: var(--ink); font-weight: 700; }

/* --- Полоса «не нашли свою пару» --- */

.more {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(24px, 5vw, 40px);
  margin: 0 0 clamp(40px, 7vw, 72px);
}
.more__text { flex: 1 1 300px; }
.more__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 5vw, 30px);
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--s-3);
}
.more p {
  margin: 0;
  font-size: clamp(14px, 3.4vw, 16px);
  line-height: 1.55;
  color: rgba(244, 244, 242, .72);
  max-width: 46em;
}
.more__btn { flex: none; }
@media (max-width: 560px) { .more__btn { width: 100%; } }

/* строка под размерами в карточке */
.sizes__more {
  display: block;
  margin-top: var(--s-4);
  padding: 13px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  font-size: 13px; line-height: 1.5;
  color: var(--ink-60);
  transition: border-color .15s, color .15s;
}
.sizes__more b { color: var(--ink); font-weight: 700; }
.sizes__more:hover { border-color: var(--brand); color: var(--ink); }

.empty {
  padding: var(--s-8) 0;
  text-align: center;
  color: var(--ink-60);
}
.empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 0 0 var(--s-2); }

/* ---------------- Карточка товара ---------------- */

.crumbs { padding: var(--s-4) 0; font-size: clamp(11px, 9px + 0.58vw, 14px); font-weight: 700; text-transform: uppercase; color: var(--grey); }
.crumbs a { display: inline-block; padding: 6px 0; margin: -6px 0; }  /* тап-зона не меньше 22px */
.crumbs a:hover { color: var(--ink); }

.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-bottom: var(--s-8); }
/* полоса миниатюр не должна распирать страницу: ей можно ужиматься и прокручиваться */
.gallery, .gallery__thumbs, .info { min-width: 0; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-7); align-items: start; }
}

.gallery__main {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

/* Фотография листается пальцем: горизонтальный жест наш, вертикальный
   по-прежнему прокручивает страницу. */
.gallery__main.is-swipeable { touch-action: pan-y; overflow: hidden; }
.gallery__main.is-swipeable img { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .gallery__main.is-swipeable img { transition: opacity .2s ease !important; transform: none !important; }
}
.gallery__thumbs { display: flex; gap: var(--s-2); margin-top: var(--s-2); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs .gallery__thumb { flex: none; }
@media (min-width: 900px) { .gallery__thumbs { flex-wrap: wrap; overflow: visible; } }
.gallery__thumb {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-soft);
  overflow: hidden; cursor: pointer; padding: 0;
}
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) { .info { position: sticky; top: 88px; } }

.info__brand { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink-40); }
.info__model {
  /* по макету название модели набрано Avenir Bold в обычном регистре, не Druk */
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.1;
  font-size: clamp(26px, 20.58px + 1.35vw, 40px);
  margin: var(--s-2) 0 var(--s-1);
}
.info__color { font-size: 16px; color: var(--ink); }

.priceblock {
  display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap;
  margin: var(--s-5) 0 var(--s-2);
}
.priceblock__old {
  font-family: var(--font-numeric); font-weight: 400;
  font-size: clamp(20px, 17.68px + 0.58vw, 26px);
  color: var(--grey); text-decoration: line-through;
}
.priceblock__now {
  /* по макету обе цены одного кегля — различаются весом и цветом */
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(20px, 17.68px + 0.58vw, 26px);
  color: var(--brand);
}
.priceblock__pct {
  font-family: var(--font-numeric); font-weight: 700; font-size: 13px;
  background: var(--brand); color: #fff;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.priceblock__save { font-size: 13px; color: var(--brand); font-weight: 700; }

.sizes { margin-top: var(--s-5); }
.sizes__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-3); }
.sizes__hint { font-size: 12px; color: var(--ink-60); min-height: 1.2em; }

.sizes__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.size {
  min-width: 62px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 11px 14px;
  /* по макету размеры набраны Avenir, а не Eurofont */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  color: var(--grey);
  text-transform: uppercase;
  cursor: pointer;
  transition: all .12s;
}
.size:hover { border-color: var(--ink); color: var(--ink); }
.size.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
/* телефон: компактная сетка 5 в ряд — вся линейка видна без длинной прокрутки */
@media (max-width: 759px) {
  .sizes__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .size { min-width: 0; padding: 0 4px; height: 44px; font-size: 16px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
}
.size:disabled { color: var(--ink-40); background: var(--bg-soft); border-color: transparent; cursor: not-allowed; text-decoration: line-through; }

.buy { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.buy__note { font-size: 12px; color: var(--ink-60); text-align: center; }

.facts { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.fact { border-bottom: 1px solid var(--line); }
.fact__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  padding: var(--s-4) 0; text-align: left;
  font-weight: 700; font-size: 14px; text-transform: uppercase;
}
/* шеврон вниз: сразу понятно, что блок раскрывается */
.fact__q::after {
  content: ''; flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.fact.is-open .fact__q::after { transform: rotate(-135deg) translate(-3px, -3px); }
.fact__a { display: none; padding: 0 0 var(--s-4); font-size: 14px; color: var(--ink-60); line-height: 1.6; }
.fact.is-open .fact__a { display: block; }
.fact__a p { margin: 0 0 var(--s-2); }
.fact__a p:last-child { margin: 0; }

/* ---------------- Размерная сетка ---------------- */

.sizetable__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.sizetable {
  width: 100%;
  border-collapse: collapse;
  /* цифры набраны основным шрифтом: в плотной таблице он спокойнее
     и ровнее широкого Eurofont. Моноширинные цифры держат колонки. */
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.sizetable th {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--ink-40);
  text-align: left;
  padding: 0 var(--s-4) 7px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sizetable td {
  padding: 6px var(--s-4) 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-60);
  white-space: nowrap;
}
.sizetable tbody tr:last-child td { border-bottom: 0; }

/* размер, доступный к заказу, — просто жирным, без подписи сбоку */
.sizetable tr.is-here td { color: var(--ink); font-weight: 700; }
.sizetable__note {
  margin: var(--s-3) 0 0;
  font-size: 12px; line-height: 1.6;
  color: var(--ink-40);
}

.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: var(--s-3) var(--page-pad);
  display: flex; align-items: center; gap: var(--s-3);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom));
}
.stickybuy__price { font-family: var(--font-numeric); font-weight: 700; font-size: 18px; flex: none; }
/* Главная кнопка панели: раньше «Выберите размер» не помещалась и уходила
   за правый край (на 390 точках — на 30 px). min-width: 0 даёт кнопке ужаться,
   шрифт чуть меньше обычного, чтобы текст влезал и на узких Android. */
.stickybuy .btn { flex: 1; min-width: 0; }
.stickybuy #buyMob {
  height: 48px; padding: 0 14px; font-size: 14px;
  overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .stickybuy { gap: 8px; }
  .stickybuy #buyMob { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 370px) {
  .stickybuy #buyMob { padding: 0 6px; font-size: 12.5px; }   /* 360: «Выберите размер» влезает целиком, без многоточия */
}
@media (min-width: 900px) { .stickybuy { display: none; } }

/* ---------------- Формы ---------------- */

.narrow { max-width: 720px; margin: 0 auto; padding-bottom: var(--s-8); }

.summary {
  display: flex; gap: var(--s-4);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: var(--s-4);
  margin-bottom: var(--s-6);
}
.summary__media {
  width: 96px; height: 96px; flex: none;
  border-radius: var(--r-sm); overflow: hidden; position: relative;
  background: var(--surface);
}
.summary__media img { width: 100%; height: 100%; object-fit: cover; }
.summary__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-40); }
.summary__model { font-weight: 700; font-size: 15px; margin: 2px 0; }
.summary__meta { font-size: 13px; color: var(--ink-60); }
.summary__price { margin-top: var(--s-2); }

.form { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form--2 { grid-template-columns: 1fr 1fr; } }
.field--wide { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 6px;
}
.field label .req { color: var(--brand); }

.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  padding: 13px 15px;
  font-size: 15px;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: #B3402F; }
.field__err { display: none; font-size: 12px; color: #B3402F; margin-top: 5px; }
.field.has-error .field__err { display: block; }
.field__hint { font-size: 12px; color: var(--ink-40); margin-top: 5px; }

/* --- Поля ввода на телефоне ---
   Safari на iPhone сам приближает страницу, если у поля шрифт меньше 16 px:
   клиент нажимал «Имя» — и всё увеличивалось. 16 px только на сенсорных
   экранах, на компьютере поля остаются как были. */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  select,
  textarea,
  .field textarea { font-size: 16px; }
  /* фильтры каталога и наличия: шрифт 16, поля чуть уже — чтобы подписи влезали */
  select.sort { font-size: 16px; padding-left: 12px; padding-right: 28px; background-position: right 11px center; letter-spacing: -.01em; }
}

/* --- Фото размерной бирки в форме заказа --- */
.tagbox__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 12px 18px;
  border: 1px solid var(--ink); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.tagbox__btn b { font-weight: 700; }
.tagbox__btn svg { flex: none; color: var(--brand); }
.tagbox__btn:hover { background: var(--bg-soft); }
.tagbox__btn:focus-visible, .tagbox__act:focus-visible, .tagbox__x:focus-visible, .tagbox__where:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.tagbox[hidden], .tagbox__btn[hidden], .tagbox__prev[hidden], .tagbox__help[hidden] { display: none; }

.tagbox__prev {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 12px;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft);
}
.tagbox__thumb {
  grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--ink-40);
}
.tagbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tagbox__info { display: contents; font-size: 14px; }
.tagbox__info b { grid-column: 2; align-self: end; font-size: 14px; font-weight: 700; }
.tagbox__bar { grid-column: 2; align-self: start; display: block; height: 4px; border-radius: 2px; background: var(--surface); overflow: hidden; }
.tagbox__bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 2px; transition: width .2s; }
/* статус — отдельной строкой во всю ширину: в узкой колонке он ломался по слову */
.tagbox__state { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; color: #6E6E6E; }
.tagbox__prev.is-error { border-color: #B3402F; }
.tagbox__prev.is-error .tagbox__state { color: #B3402F; }
.tagbox__prev.is-error .tagbox__bar { visibility: hidden; }
.tagbox__act {
  grid-column: 3; grid-row: 1 / span 2; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.tagbox__x {
  grid-column: 4; grid-row: 1 / span 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: none; color: var(--ink); font-size: 16px; cursor: pointer;
}
.tagbox__hint { margin-top: 8px; color: #6E6E6E; }
.tagbox__where {
  border: 0; background: none; padding: 6px 0; font: inherit; font-weight: 700;
  color: var(--brand); text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.tagbox__help {
  margin-top: 8px; padding: 12px; border-radius: var(--r-md); background: var(--bg-soft);
  font-size: 13px; line-height: 1.45; color: var(--ink);
}
.tagbox__help p { margin: 8px 0 0; }
.tagbox__pic { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; color: var(--ink); font-family: var(--font-numeric); }
.field .tagbox__cm { margin-top: var(--s-4); }
.field.tagbox #footCm { max-width: 220px; }

/* --- Подсказка городов --- */
.field--city { position: relative; }
.ac {
  position: absolute; z-index: 40; left: 0; right: 0; top: 100%;
  margin: 4px 0 0; padding: 4px; list-style: none;
  max-height: 264px; overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}
.ac[hidden] { display: none; }
.ac li {
  padding: 10px 12px;
  font-size: 15px;
  border-radius: calc(var(--r-md) - 4px);
  cursor: pointer;
}
.ac li.is-active, .ac li:hover { background: var(--bg-soft); }

.form-actions { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }

/* ---------------- Итоговый экран ---------------- */

.review { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-5); }
.review__row { display: flex; gap: var(--s-4); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); font-size: 14px; }
.review__row:last-child { border-bottom: 0; }
.review__k { flex: none; width: 130px; color: var(--ink-60); font-size: 13px; }
.review__v { font-weight: 700; word-break: break-word; }
@media (max-width: 520px) {
  .review__row { flex-direction: column; gap: 2px; }
  .review__k { width: auto; }
}

/* --- Способ получения ---
   Селекторы с .field, иначе общий стиль подписи поля (.field label)
   перебивает их: это тоже <label>, только внутри поля. */
.field .radios { display: grid; gap: 8px; }

.field .radio {
  position: relative;   /* прячем невидимый кружок внутри плашки: без этого
                           он (width:100%) считался от всей страницы и
                           вылезал за экран телефона, раздувая ширину */
  display: flex; align-items: flex-start; gap: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  margin: 0;
  font-size: 15px; font-weight: 500; text-transform: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.field .radio[hidden] { display: none; }
.field .radio:hover { border-color: var(--ink-40); }
.field .radio.is-on { border-color: var(--ink); background: var(--bg-soft); }
.field .radio input { position: absolute; opacity: 0; pointer-events: none; }

.field .radio__dot {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  border: 1px solid var(--ink-40); border-radius: 50%;
  position: relative; transition: border-color .15s;
}
.field .radio.is-on .radio__dot { border-color: var(--brand); border-width: 2px; }
.field .radio.is-on .radio__dot::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--brand);
}
.field .radio b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.field .radio i {
  display: block; font-style: normal; font-weight: 500;
  font-size: 12.5px; color: var(--ink-60); margin-top: 3px;
}

/* запасной путь доставки — сознательно неброская ссылка, не карточка */
.alt-link {
  margin-top: 8px;
  border: 0; background: none; padding: 0;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-60);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.alt-link:hover { color: var(--ink); }

/* остался один вариант — это уже не выбор, рамка не нужна */
.field .is-single .radio { border-color: transparent; background: none; padding: 4px 0; }

/* --- Другие расцветки в карточке --- */
.cways { margin-top: var(--s-4); }
.cways__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cway {
  display: block; width: 56px; height: 56px;
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #fff;
  transition: border-color .15s, transform .15s;
}
.cway:hover { border-color: var(--ink); transform: translateY(-2px); }
.cway img { width: 100%; height: 100%; object-fit: cover; }

/* --- Рейтинг в карточке товара --- */
.info__rate { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-3); }
.info__rate .dunk { width: 20px; }
.info__rate a { font-size: 13px; font-weight: 700; color: var(--ink-60); text-decoration: underline; }
.info__rate a:hover { color: var(--ink); }

.prodrev { margin-top: var(--s-7); border-top: 1px solid var(--line); }
.prodrev__sum { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.prodrev__sum b { font-family: var(--font-numeric); font-size: clamp(28px, 6vw, 40px); line-height: 1; }
.prodrev__sum .dunk { width: 24px; }
.prodrev__sum span { color: var(--ink-60); font-size: 14px; }
.prodrev__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin: var(--s-5) 0 var(--s-6); }

/* --- Мягкое появление блоков --- */
/* Появление блоков при прокрутке — тот же характер, что у первого экрана:
   плавно, но точно, без раскачки */
.rv { opacity: 0; transform: translateY(18px);
      transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* --- Подарочные сертификаты --- */
.cert-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); min-height: 0; }
.cert-form { margin-top: var(--s-6); }
/* предпросмотр сертификата (макет 23.11.2026) */
.cert-prev { margin: var(--s-6) 0 0; }
.cert-prev canvas { display: block; width: 100%; height: auto; aspect-ratio: 2480 / 1748; background: #fff;
  border: 1px solid rgba(46,48,52,.12); border-radius: 10px; box-shadow: 0 10px 40px rgba(46,48,52,.08); }
.cert-prev figcaption { margin-top: 8px; font-size: 13px; color: var(--c-mut, #7b7e84); }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.num-big { font-family: var(--font-numeric); font-weight: 700; font-size: clamp(18px, 4.4vw, 24px); color: var(--brand); }

.cert-msg__box {
  white-space: pre-wrap; font: inherit; font-size: 14px; line-height: 1.55;
  text-align: left; background: #f4f4f2; border-radius: var(--r-md);
  padding: 14px 16px; margin: 0 0 var(--s-2); overflow-x: auto;
}
.cert-msg { text-align: left; margin: var(--s-2) 0; }
.cert-msg summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.cert-msg pre { white-space: pre-wrap; font: inherit; font-size: 14px; line-height: 1.5; background: var(--paper-2, #f4f4f2); border-radius: var(--r-md); padding: 14px 16px; margin: var(--s-2) 0 0; }

.cert-band {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  flex-wrap: wrap;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 36px) clamp(22px, 4vw, 40px);
  margin: var(--s-6) 0;
  position: relative; overflow: hidden;
}
.cert-band::after {
  content: ''; position: absolute; right: -10%; top: -60%; width: 40%; aspect-ratio: 1;
  background: var(--brand); border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none;
}
.cert-band > * { position: relative; z-index: 1; }
.cert-band__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--brand-light); }
.cert-band__title { font-family: var(--font-display); font-size: clamp(22px, 4.5vw, 34px); text-transform: uppercase; color: #fff; margin: 6px 0 8px; }
.cert-band p { margin: 0; color: rgba(244,244,242,.8); max-width: 38em; }

/* --- «Как это работает» --- */
.howit { padding-bottom: clamp(32px, 6vw, 64px); }
.howit__grid { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .howit__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.howit__n {
  font-family: var(--font-numeric); font-weight: 700;
  font-size: clamp(15px, 3.6vw, 20px); color: var(--brand);
  margin-bottom: var(--s-2);
}
.howit__step h3 { font-size: clamp(15px, 3.6vw, 18px); font-weight: 700; margin: 0 0 var(--s-2); }
.howit__step p { margin: 0; font-size: clamp(14px, 3.4vw, 16px); color: var(--ink-60); }
.howit__link {
  display: inline-block; margin-top: var(--s-5);
  font-size: 14px; font-weight: 700; color: var(--brand);
}

/* --- Отзывы --- */
.rev-grid { display: grid; gap: var(--s-4); padding-bottom: var(--s-7); }
@media (min-width: 860px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-grid--one { grid-template-columns: 1fr; padding-bottom: 0; }

.rev {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-4) var(--s-4) var(--s-3);
}
.rev__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.rev__head b { font-size: 15px; }
.rev__model { font-size: 12px; color: var(--ink-60); margin-top: 2px; }
.rev__text { margin: var(--s-2) 0 0; font-size: 14px; line-height: 1.55; }

/* оценка данками */
.dunks { display: inline-flex; gap: 4px; }
.dunk { display: inline-flex; width: 26px; }
.dunk svg { width: 100%; height: auto; }
.dunk svg .body { fill: none; stroke: var(--grey); stroke-width: 1.4; stroke-linejoin: round; }
.dunk svg .lace { fill: none; stroke: var(--grey); stroke-width: 1.2; stroke-linecap: round; }
.dunk.is-on svg .body { fill: var(--brand); stroke: var(--brand); }
.dunk.is-on svg .lace { stroke: #fff; }
.dunks--pick .dunk { width: 34px; cursor: pointer; }
.dunks--pick.is-err .dunk svg path { stroke: #B3402F; }

.rev-form {
  margin-top: var(--s-7); border-top: 1px solid var(--line); padding-top: var(--s-5);
}
.rev-form h3 { margin: 0 0 var(--s-4); font-size: 18px; font-weight: 700; }
.rev-form textarea { min-height: 110px; }

/* --- Раздел «Под заказ» --- */

/* две обязательные строки под ценой «от» — не прячутся */
.pfrom-note {
  font-size: 13px; line-height: 1.5;
  color: var(--ink-60);
  margin: 4px 0 0;
}
.info__art { font-size: 12px; color: var(--ink-60); margin-top: 4px; }

/* поиск в каталоге */
.search {
  flex: 1 1 100%;
  order: 3;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 14px;
  background: var(--bg);
}
.search:focus { outline: none; border-color: var(--ink); }
@media (min-width: 760px) { .search { flex: 0 1 260px; order: 2; margin-left: auto; } }
@media (min-width: 760px) { .toolbar__selects { margin-left: 0; } }

/* подбор по длине стопы */
.foot { margin-top: var(--s-4); }
.foot label {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; color: var(--ink-60); margin-bottom: 6px;
}
.foot__row { display: flex; align-items: center; gap: var(--s-3); }
.foot input {
  width: 96px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 14px; font-size: 15px; background: var(--bg);
}
.foot input:focus { outline: none; border-color: var(--ink); }
.foot__res { font-size: 14px; font-weight: 700; color: var(--brand); }

/* чекбокс проверки размера */
.field .check {
  position: relative;   /* та же ловушка, что у .radio */
  display: flex; align-items: flex-start; gap: 11px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 13px 15px; margin: 0; cursor: pointer;
  font-size: 15px; font-weight: 500;
  letter-spacing: normal; text-transform: none; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.field .check.is-on { border-color: var(--ink); background: var(--bg-soft); }
.field .check input { position: absolute; opacity: 0; pointer-events: none; }
.field .check__box {
  flex: none; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid var(--ink-40); border-radius: 5px; position: relative;
}
.field .check.is-on .check__box { border-color: var(--brand); background: var(--brand); }
.field .check.is-on .check__box::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* блок-инструкция на экране «готово» */
.warnbox {
  text-align: left;
  border-left: 4px solid var(--brand);
  background: var(--bg-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-3) var(--s-4);
  margin: 0 0 var(--s-4);
  font-size: 14px; line-height: 1.55;
}
.small-note { font-size: 13px; color: var(--ink-60); }
.small-note a { font-weight: 700; color: var(--brand); text-decoration: underline; }

/* --- Разбивка суммы над итогом --- */
.sum {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-3);
}
.sum__row { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; }
.sum__row span { font-size: 14px; color: var(--ink-60); }
.sum__row b { font-family: var(--font-numeric); font-size: 15px; font-weight: 700; }

.total {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--ink); color: #fff;
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
}
.total span { font-size: 13px; text-transform: uppercase; color: rgba(244,244,242,.6); }
.total b { font-family: var(--font-numeric); font-size: 26px; }

.tg-note { font-size: 13px; color: var(--ink-60); text-align: center; margin-top: var(--s-3); line-height: 1.6; }

.done {
  text-align: center;
  /* только сверху и снизу: боковые поля страницы (.page) не обнуляем — иначе кнопки «Готово» шли вплотную к краям телефона (16.11.2026) */
  padding-top: var(--s-8); padding-bottom: var(--s-8);
}
.done .form-actions + .small-note { margin-top: var(--s-3); }
.done__mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin: 0 auto var(--s-5);
}
.done h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 var(--s-3); }
.done p { color: var(--ink-60); max-width: 34em; margin: 0 auto var(--s-5); }

/* ---------------- Подвал ---------------- */

.footer {
  background: var(--ink); color: rgba(244,244,242,.7);
  padding: var(--s-7) 0 var(--s-6);
  margin-top: var(--s-6);
}
.footer__in { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .footer__in { grid-template-columns: 1.7fr 1fr 1fr; } }
.footer .logo { color: var(--brand-light); font-size: 26px; margin-bottom: var(--s-3); }
.footer h4 { font-size: 12px; text-transform: uppercase; color: rgba(244,244,242,.45); margin: 0 0 var(--s-3); font-weight: 700; }
.footer p, .footer li { font-size: 13px; line-height: 1.7; margin: 0; }
.footer p + p { margin-top: var(--s-3); }
.footer p b { color: var(--on-dark); font-weight: 700; }
.footer > .footer__in > div:first-child { max-width: 42em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid rgba(244,244,242,.14);
  font-size: 12px; color: rgba(244,244,242,.4);
  display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
}

/* ---------------- Просмотр фото во весь экран ---------------- */

.gallery__main { cursor: zoom-in; }

.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(46, 48, 52, .72);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 7px 13px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  pointer-events: none;
  opacity: 0; transition: opacity .18s;
}
.gallery__main:hover .gallery__zoom { opacity: 1; }
@media (hover: none) { .gallery__zoom { opacity: 1; } }

.lb {
  position: fixed; inset: 0; z-index: 200;
  background: #141517;
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  opacity: 0;
  /* закрытый просмотр должен исчезать целиком, а не оставаться прозрачным слоем
     поверх страницы: иначе он перехватывает нажатия (и «Сохранить фото» на iPhone) */
  visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.lb.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .18s ease; }

.lb__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding: max(12px, env(safe-area-inset-top)) 16px 12px;
  flex: none;
  color: rgba(244, 244, 242, .85);
}
.lb__count { font-family: var(--font-numeric); font-weight: 700; font-size: 13px; }
.lb__tools { display: flex; gap: var(--s-2); }

.lb__btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(244, 244, 242, .22);
  background: transparent; color: var(--on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1; cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.lb__btn:hover { background: rgba(244, 244, 242, .12); border-color: rgba(244, 244, 242, .5); }
.lb__btn:disabled { opacity: .3; cursor: default; }

/* Скрытая функция для менеджеров: удержать «+» 3 секунды — сохранить все фото карусели.
   Пока палец на кнопке, вокруг неё заполняется кольцо; когда оно замкнулось — можно отпускать. */
.lb__btn[data-act="in"] {
  position: relative;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}
.lb__btn.is-holding::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(var(--brand-light) var(--hold, 0deg), rgba(244, 244, 242, .14) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  pointer-events: none;
}
.lb__btn.is-armed, .lb__btn.is-armed:hover { background: var(--brand-light); border-color: var(--brand-light); color: #fff; }

.lb__note {
  position: absolute; z-index: 3;
  top: calc(max(12px, env(safe-area-inset-top)) + 54px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: #2E3034; color: #fff;
  border: 1px solid rgba(244, 244, 242, .18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center;
}
.lb__note[hidden] { display: none; }
.lb__note button {
  flex: none; border: 0; border-radius: var(--r-pill);
  padding: 8px 14px; background: var(--brand-light); color: #fff;
  font: inherit; font-size: 13px; cursor: pointer;
}

.lb__stage { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lb__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  -webkit-user-drag: none;
}
.lb__stage.is-zoomed { cursor: grab; }
.lb__stage.is-zoomed:active { cursor: grabbing; }

.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(244, 244, 242, .12);
  color: var(--on-dark); font-size: 22px; line-height: 1;
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
  transition: background .15s;
}
.lb__nav:hover { background: rgba(244, 244, 242, .26); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
@media (hover: hover) and (min-width: 700px) { .lb__nav { display: flex; } }

.lb__thumbs {
  flex: none; display: flex; gap: var(--s-2);
  justify-content: center; flex-wrap: nowrap; overflow-x: auto;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  scrollbar-width: none;
}
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb {
  flex: none; width: 52px; height: 52px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  overflow: hidden; padding: 0; cursor: pointer;
  background: rgba(244, 244, 242, .08);
  opacity: .5; transition: opacity .15s, border-color .15s;
}
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb.is-active { opacity: 1; border-color: var(--brand-light); }
.lb__thumb:hover { opacity: 1; }

.lb__hint { text-align: center; font-size: 11px; color: rgba(244,244,242,.38); padding-bottom: 8px; }
@media (max-width: 699px) { .lb__hint { display: none; } }

body.lb-open { overflow: hidden; }

/* ---------------- Служебное ---------------- */

.preview-bar {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 7px var(--page-pad);
}

.has-stickybuy { padding-bottom: 84px; }
@media (min-width: 900px) { .has-stickybuy { padding-bottom: 0; } }

/* ---------- Подборки и акции ---------- */

/* плашка акции под ценой: что за подборка и какая скидка */
.salebar {
  display: block; margin: 10px 0 2px;
  background: #f4f6e8; border: 1px solid #dfe4c8; border-radius: 12px;
  padding: 10px 14px; font-size: 13.5px; line-height: 1.45;
  color: var(--ink); text-decoration: none;
}
.salebar b { color: var(--brand, #64702D); }
.salebar span { white-space: nowrap; font-weight: 700; color: var(--brand, #64702D); }
.salebar:hover { border-color: var(--brand, #64702D); }

/* баннер подборки: главная и каталог */
.colban-wrap { margin-top: 14px; }

/* Полоса акций над каталогом: половина — одна подборка, половина — другая.
   «Пара недели» фирменная оливковая, сезонные подборки — чёрные. */
.colbar {
  display: grid; gap: 8px; margin: 10px 0 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.colbar:has(> :only-child) { grid-template-columns: 1fr; }   /* одна акция — во всю ширину */
.colbar__item {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  border-radius: 14px; padding: 12px 16px;
  color: #fff; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.colbar__item.is-week { background: var(--brand); }
.colbar__item.is-dark { background: var(--ink); }
.colbar__item:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.colbar__text { flex: 1; min-width: 0; }
.colbar__text b {
  display: block; font-size: 15px; line-height: 1.25; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.colbar__text i {
  display: block; font-style: normal; font-size: 12px; line-height: 1.35;
  opacity: .8; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.colbar__pct {
  flex: 0 0 auto; background: #fff; border-radius: 999px;
  padding: 5px 11px; font-size: 14px; font-weight: 800;
  font-family: var(--font-numeric);
}
.colbar__item.is-week .colbar__pct { color: var(--brand); }
.colbar__item.is-dark .colbar__pct { color: var(--ink); }

/* телефон: две компактные половинки в строке. Белую пилюлю убираем —
   она съедала место, и название обрезалось; процент идёт той же строкой. */
@media (max-width: 759px) {
  .colbar { gap: 7px; }
  .colbar__item { padding: 10px 12px; gap: 6px; border-radius: 12px; }
  .colbar__text i { display: none; }
  .colbar__text b { font-size: 13px; letter-spacing: 0; }
  .colbar__pct {
    background: none; padding: 0; font-size: 13px; font-weight: 800;
    color: inherit; opacity: .92;
  }
  .colbar__item.is-week .colbar__pct,
  .colbar__item.is-dark .colbar__pct { color: #fff; }
}

/* старый одиночный баннер — остался для главной без обложки */
.colban {
  display: flex; align-items: center; gap: 14px;
  background: var(--brand); color: #fff; text-decoration: none;
  border-radius: 16px; padding: 16px 18px; margin: 10px 0;
}
.colban__body { flex: 1; min-width: 0; }
.colban__title { display: block; font-size: 17px; letter-spacing: .01em; }
.colban__sub { display: block; font-size: 13px; opacity: .85; margin-top: 3px; }
.colban__pct {
  background: #fff; color: var(--brand);
  font-weight: 800; font-size: 16px; padding: 6px 12px; border-radius: 999px;
  flex: 0 0 auto;
}
.colban__go { font-weight: 700; font-size: 14px; white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 560px) { .colban__go { display: none; } }

/* страница подборки */
.colhero { background: var(--wash, #F4F2EC); padding: 26px 0 22px; margin-bottom: 16px; }

/* обложка во весь экран: фото на всю ширину и высоту, текст поверх.
   Шапка сайта липкая и остаётся видна, поэтому вычитаем её высоту. */
.colhero--full {
  position: relative; overflow: hidden; padding: 0; margin-bottom: 16px;
  min-height: calc(100svh - 94px);
  display: flex; align-items: flex-start;
}
@media (min-width: 900px) { .colhero--full { min-height: calc(100svh - 108px); } }
.colhero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
/* лёгкая световая вуаль сверху — чтобы текст читался на любой обложке */
.colhero--full::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(244,242,236,.82), rgba(244,242,236,.35) 42%, rgba(244,242,236,0) 68%);
}
.colhero__overlay { position: relative; z-index: 2; width: 100%; padding-top: 26px; padding-bottom: 90px; }
@media (max-width: 899px) {
  .colhero--tall::before { display: none; }
  .colhero--tall .colhero__bg { object-position: center bottom; }
}
@media (min-width: 900px) {
  .colhero--wide { align-items: center; }
  .colhero--wide::before { display: none; }
  .colhero--wide .colhero__overlay { padding-top: 0; padding-bottom: 0; max-width: none; }
  .colhero--wide .colhero__text { max-width: 46%; }
  .colhero--wide .colhero__desc { max-width: none; }
}
.colhero__down {
  position: absolute; left: 50%; translate: -50% 0; bottom: 18px; z-index: 2;   /* translate — чтобы анимации transform не сбивали центровку */
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.colhero__down span { color: var(--brand); }
.colhero__desc { max-width: 640px; margin: 10px 0 0; color: var(--ink-60, #6b6b6b); line-height: 1.55; }
.colhero--full .colhero__desc { color: var(--ink); opacity: .78; }
/* Условия акции — текстом прямо на обложке, с тонкой линией-акцентом.
   Белая коробка на фотографии резала глаз; оформление одинаковое
   на телефоне, планшете и компьютере. */
.colhero__deal {
  display: block; max-width: 44ch; margin-top: 14px;
  background: none; border: 0; border-left: 2px solid var(--brand, #64702D);
  border-radius: 0; padding: 2px 0 2px 12px;
  font-size: 14px; line-height: 1.5; color: var(--ink); opacity: .9;
}
.colhero__deal b { color: var(--brand, #64702D); font-size: 15px; }
@media (max-width: 899px) {
  .colhero__deal { max-width: none; font-size: 13.5px; }
}
.colhero__foot { margin: 22px 0 34px; text-align: center; }

/* Обложка-панель подборки — «Зима 2026» по макету Насти (02.11.2026).
   Заменила осеннюю (16–19.10). Фон — от белого к цвету снега с фото;
   край снимка уходит в тот же цвет ступенчатой полосой (по макету: 70px
   снизу до 1199px, 200px слева от 1200px) — стыка фото и фона не видно.
   Цвета сезона — переменные ниже: для следующей подборки меняются они и фото.
   До 1199px — фото сверху, текст ниже; от 1200px — текст слева, фото справа
   (53 % ширины). Та же разметка у карточки на главной (.homepanel) — поэтому
   переход между ними идёт без подмены (см. vt-panel). */
.colpanel, .homepanel {
  --cp-white: #FFFFFF;
  --cp-snow: #CFD7E2;              /* цвет снега с фото: конец градиента и край снимка */
  --cp-accent: #64702D;            /* кнопка — оливковый сайта */
  --cp-accent-hover: #4F5A22;
  /* ход полосы от цвета снега к прозрачности — значения из макета */
  --cp-fade: #000 0%, rgba(0,0,0,.9) 10%, rgba(0,0,0,.72) 22%, rgba(0,0,0,.52) 36%,
             rgba(0,0,0,.34) 50%, rgba(0,0,0,.2) 64%, rgba(0,0,0,.1) 78%, rgba(0,0,0,.03) 91%, transparent 100%;
  --cp-ph-h: 292px;                /* высота фото до 1199px; градиент под текстом начинается ровно под ним */
  /* кадрирование фото на телефоне: сетка ниш на снимке «Зимы» стоит на 43px
     правее его центра (пары — 271…1096 из 1280), при 81 % шесть пар ровно
     по центру кадра на любой ширине телефона; для фото другого сезона — подобрать */
  --cp-pos-phone: 81% 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  color: var(--ink); font-family: 'Avenir Next W1G', sans-serif; font-weight: 500;
}
/* фон — отдельный слой: при переходе с главной он переезжает целиком.
   Под фото — цвет снега, под текстом — снег → белый сверху вниз */
.cp-bg {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: linear-gradient(180deg, var(--cp-snow), var(--cp-white)) 0 var(--cp-ph-h) / 100% calc(100% - var(--cp-ph-h)) no-repeat,
              var(--cp-snow);
}
.colpanel__text, .homepanel__text { position: relative; z-index: 2; }
.colpanel { margin-bottom: 16px; }
.cp-ph { position: relative; z-index: 1; overflow: hidden; }
.colpanel__photo { order: -1; flex: none; width: 100%; height: var(--cp-ph-h); }
.cp-ph img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity .8s ease;
}
.cp-ph.is-loaded img { opacity: 1; }   /* фото проявляется целиком, когда загружено (bzImgIn) */
/* полоса цвета снега по нижнему краю фото */
.cp-ph::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 1;
  background: var(--cp-snow); pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, var(--cp-fade)); mask-image: linear-gradient(0deg, var(--cp-fade));
}
.colpanel__text { display: flex; flex-direction: column; padding: 20px 24px 32px; }
.colpanel__label {
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 14px; font-weight: 500; line-height: 1.3; text-transform: uppercase;
}
.colpanel__label span { margin-left: .3em; }
.colpanel__title {
  margin: 18px 0 0; font-family: 'Druk Wide Cyr', sans-serif; font-weight: 700;
  font-size: 32px; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere;
}
.colpanel__desc { margin: 20px 0 0; max-width: 52ch; font-size: 14px; line-height: 1.4; letter-spacing: -.01em; }
.colpanel .colhero__deal { margin-top: 16px; }
.colpanel__btn {
  margin-top: 28px; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 48px; border: 0; border-radius: 999px;
  background: var(--cp-accent); color: #fff; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; text-transform: uppercase;
  transition: background .2s;
}
.colpanel__btn:hover { background: var(--cp-accent-hover); }
.colpanel__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* карточка подборки на главной — та же обложка в уменьшенном формате */
.homepanel { margin: 18px 0 6px; border-radius: 20px; text-decoration: none; }
.homepanel__photo { order: -1; flex: none; height: var(--cp-ph-h); border-radius: 20px 20px 0 0; }
.homepanel__photo .cp-img { transition: opacity .8s ease, scale 1.2s cubic-bezier(.16, 1, .3, 1); }
.homepanel:hover .cp-ph img { scale: 1.03; }
.homepanel__text { display: flex; flex-direction: column; padding: 16px 20px 22px; }
.homepanel__title {
  margin: 12px 0 0; font-family: 'Druk Wide Cyr', sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere;
}
.homepanel__desc {
  margin: 12px 0 0; max-width: 52ch; font-size: 14px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.homepanel__btn { margin-top: 18px; height: 46px; font-size: 14px; }
.homepanel:hover .homepanel__btn { background: var(--cp-accent-hover); }
.homepanel__count { margin-top: 10px; font-size: 12px; color: var(--ink); opacity: .6; text-align: center; }

/* телефон: кадр в пропорции макета (390 × 292) — у карточки и у страницы
   одна пропорция, поэтому при переходе снимок не перекадрируется */
@media (max-width: 599px) {
  .colpanel { --cp-ph-h: calc(100vw / 1.336); }
  .homepanel { --cp-ph-h: calc((100vw - 2 * var(--page-pad)) / 1.336); }
  .cp-ph img { object-position: var(--cp-pos-phone); }   /* пары по центру (замечание владельца 02.11) */
}
/* планшет: раскладка телефона, фото выше (макет это разрешает) — кадр близок
   к пропорции снимка, чтобы все шесть пар в нишах оставались видны;
   кнопка не во всю ширину */
@media (min-width: 600px) and (max-width: 1199px) {
  .colpanel { --cp-ph-h: clamp(360px, calc(100vw / 1.6), 600px); }
  .homepanel { --cp-ph-h: clamp(300px, calc((100vw - 2 * var(--page-pad)) / 1.75), 460px); }
  .colpanel__text { padding: 28px 32px 40px; }
  .homepanel__text { padding-left: 32px; padding-right: 32px; }
  .colpanel__btn, .homepanel__btn { max-width: 360px; }
  .homepanel__count { text-align: left; }
  .colpanel__label { font-size: 16px; }
  .colpanel__title { font-size: 44px; }
  .homepanel__title { font-size: 30px; }
}
/* компьютер: текст слева на градиенте белый → снег, фото справа */
@media (min-width: 1200px) {
  .colpanel, .homepanel { flex-direction: row; }
  .cp-bg { background: linear-gradient(90deg, var(--cp-white) 0%, var(--cp-snow) 47%); }  /* 47 % = до края фото */
  .cp-ph::after {
    top: 0; right: auto; width: 200px; height: auto;
    -webkit-mask-image: linear-gradient(90deg, var(--cp-fade)); mask-image: linear-gradient(90deg, var(--cp-fade));
  }
  .cp-ph img { object-position: 100% 50%; }
  /* высота по макету — 560 при 1440; на других ширинах растёт вместе с фото,
     чтобы кадр сохранял пропорцию макета и ряды пар не обрезались */
  .colpanel { min-height: clamp(480px, calc(53vw / 1.363), 640px); }
  .colpanel__photo { order: 0; flex: 0 0 53%; width: auto; height: auto; align-self: stretch; }
  /* левое поле текста: 72 по макету; на экранах шире 1440 — по сетке сайта,
     чтобы текст обложки стоял на одной линии с логотипом и каталогом */
  .colpanel { --cp-pad-l: max(min(72px, 5vw), calc((100vw - 1440px) / 2 + 72px)); }
  .colpanel__text { flex: 1 1 0; min-width: 0; padding: 56px min(72px, 5vw) 56px var(--cp-pad-l); justify-content: center; }
  /* метка — в левом верхнем углу, в строке высотой 43 от верха 56 (при 1440;
     на ноутбуке блок ниже — и отступы сжимаются в той же пропорции) */
  .colpanel__text > .colpanel__label {
    position: absolute; top: clamp(40px, 3.89vw, 56px); left: var(--cp-pad-l);
    height: 2.15em; font-size: 20px;   /* 43px; в em — та же пропорция, что у метки карточки */
  }
  .colpanel__title { margin-top: 0; font-size: min(60px, 4.17vw); line-height: 1; white-space: nowrap; }
  .colpanel__btn { margin-top: clamp(40px, 4.17vw, 60px); width: 224px; height: 40px; font-size: 17px; }

  /* карточка — та же обложка в масштабе: кадр фото в пропорции страницы
     (1,363), поэтому при переходе снимок не перекадрируется и не двоится */
  .homepanel { min-height: clamp(400px, calc(min(100vw - 2 * var(--page-pad), 1320px) * .53 / 1.363), 513px); }
  .homepanel__photo { order: 0; flex: 0 0 53%; height: auto; align-self: stretch; border-radius: 0 20px 20px 0; }
  .homepanel__text { flex: 1 1 0; min-width: 0; padding: 40px 56px; justify-content: center; }
  .homepanel .colpanel__label { font-size: 16px; height: 2.15em; }
  .homepanel__title { margin-top: 18px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; white-space: nowrap; }
  .homepanel__btn { width: 224px; height: 40px; margin-top: 32px; font-size: 15px; }
  .homepanel__count { text-align: left; }
}

@media (min-width: 1800px) { .homepanel { min-height: 445px; } }   /* обложка там 640 в высоту — пропорция кадра шире */

/* подпись и заголовок — по размеру текста, а не во всю колонку: тогда при
   переходе с главной у старой и новой надписи одна пропорция и они
   перетекают одна в другую без «двоения» */
.colpanel__label, .colpanel__title, .homepanel__title { align-self: flex-start; max-width: 100%; }

/* обычный заход на страницу подборки: текст поднимается ступенями */
@media (prefers-reduced-motion: no-preference) {
  .colpanel__text > * { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) both; }
  .colpanel__text > :nth-child(1) { animation-delay: .2s; }
  .colpanel__text > :nth-child(2) { animation-delay: .32s; }
  .colpanel__text > :nth-child(3) { animation-delay: .44s; }
  .colpanel__text > :nth-child(4) { animation-delay: .56s; }
  .colpanel__text > :nth-child(5) { animation-delay: .68s; }
}
/* пришли с главной переходом: подпись, заголовок и кнопка уже переехали,
   своего вступления у них нет; описание проступает следом */
body.cp-morphed .colpanel__text > * { animation: none; }
body.cp-morphed .colpanel__desc, body.cp-morphed .colpanel .colhero__deal {
  animation: diveText .7s cubic-bezier(.16, 1, .3, 1) .55s both;
}
body.cp-morphed .cp-ph img { transition: none; }

/* «Провал» карточки главной в страницу подборки (app.js, vt-panel).
   Общие предметы — фон, фото, подпись, заголовок, кнопка — переезжают
   на свои места одной мягкой кривой, с небольшим разбегом по времени;
   главная вокруг уходит вглубь от карточки и растворяется, страница
   подборки проступает следом. */
html.vt-panel::view-transition-group(*) {
  animation-duration: .95s; animation-timing-function: cubic-bezier(.22, .8, .2, 1);
}
html.vt-panel::view-transition-group(cp-photo) { animation-duration: 1.05s; }
html.vt-panel::view-transition-group(cp-label) { animation-delay: .03s; }
html.vt-panel::view-transition-group(cp-btn)   { animation-delay: .06s; }
html.vt-panel::view-transition-group(site-header) { animation-duration: .5s; }
/* фон тянется по рамке (градиент не боится растяжения), фото — кадрируется */
html.vt-panel::view-transition-old(cp-bg), html.vt-panel::view-transition-new(cp-bg) { width: 100%; height: 100%; }
html.vt-panel::view-transition-old(cp-photo), html.vt-panel::view-transition-new(cp-photo) {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
/* смена «было → стало» внутри предмета: старый и новый снимок
   растворяются один в другом с одинаковым ходом — сумма всегда целая,
   поэтому плашка кнопки и фон не бледнеют посередине, меняется только
   надпись («подборку» → «пары») */
html.vt-panel::view-transition-old(cp-bg), html.vt-panel::view-transition-new(cp-bg),
html.vt-panel::view-transition-old(cp-label), html.vt-panel::view-transition-new(cp-label),
html.vt-panel::view-transition-old(cp-title), html.vt-panel::view-transition-new(cp-title),
html.vt-panel::view-transition-old(cp-btn), html.vt-panel::view-transition-new(cp-btn) {
  animation-duration: .55s; animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
/* фото в карточке и на странице скадрировано чуть по-разному — меняем
   снимок быстро, в самом начале пути, чтобы не было «двойной экспозиции» */
html.vt-panel::view-transition-old(cp-photo), html.vt-panel::view-transition-new(cp-photo) {
  animation-duration: .28s; animation-timing-function: ease-out;
}
/* описание, число пар и плашка скидки — тоже отдельные предметы перехода:
   иначе фон обложки (cp-bg, летит поверх страницы) закрывал их на всё время
   перехода — в начале они пропадали, в конце «выскакивали». Старые гаснут
   сразу, новые проступают сами (diveText на элементе) */
html.vt-panel::view-transition-old(cp-desc), html.vt-panel::view-transition-old(cp-count) {
  animation: cpFadeOut .2s ease-out both;
}
html.vt-panel::view-transition-new(cp-desc), html.vt-panel::view-transition-new(cp-deal) { animation: none; }
@keyframes cpFadeOut { to { opacity: 0; } }
/* надпись кнопки («подборку» → «пары») меняется по очереди: старая гаснет,
   новая проступает — две надписи не накладываются; плашка кнопки (cp-btn)
   летит отдельно и остаётся цельной */
html.vt-panel::view-transition-old(cp-btn-t) { animation: cpFadeOut .16s ease-out both; }
html.vt-panel::view-transition-new(cp-btn-t) { animation: diveText .3s ease-out .12s both; }
/* главная уходит вглубь и растворяется; страница подборки проступает,
   когда главной уже не видно, — две страницы не накладываются */
html.vt-panel::view-transition-old(root) {
  animation: vtDiveOut .45s cubic-bezier(.4, 0, .2, 1) both;
  transform-origin: var(--vt-ox, 50%) var(--vt-oy, 50%);
}
html.vt-panel::view-transition-new(root) { animation: vtDiveIn .6s cubic-bezier(.2, .8, .2, 1) .42s both; }
@keyframes vtDiveOut { to { opacity: 0; transform: scale(1.05); } }
@keyframes vtDiveIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .cp-ph img { transition: none; } }

/* полоса предпросмотра акций — видна только тому, кто его включил */
.previewbar {
  position: fixed; right: 12px; bottom: 88px; z-index: 60;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  max-width: calc(100vw - 24px);
  background: #2E3034; color: #fff; border-radius: 12px;
  padding: 10px 14px; font-size: 12.5px; line-height: 1.35;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.previewbar b { font-size: 13px; }
.previewbar span { opacity: .75; }
.previewbar a { color: #C6D45F; font-weight: 700; text-decoration: none; }
@media (min-width: 900px) { .previewbar { bottom: 16px; } }

/* пометка «ещё не стартовала» на странице подборки в предпросмотре */
.colhero__soon {
  display: inline-block; margin-bottom: 10px;
  background: #2E3034; color: #fff; border-radius: 999px;
  padding: 5px 12px; font-size: 12.5px; font-weight: 700;
}


/* пункт подборки в навигации шапки */
.nav__promo b { color: var(--brand); font-weight: 800; }

/* компактная панель на телефоне: появляется при прокрутке */
.minibar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
  display: none; align-items: center; gap: 4px;
  height: 50px; padding: 0 8px;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .22s ease;
}
.minibar.is-on { transform: translateY(0); }
/* Компактная панель нужна только там, где шапка уезжает со страницей,
   то есть на телефоне. На планшете закреплена сама шапка — иначе они
   дублировали бы друг друга. */
@media (max-width: 759px) { .minibar { display: flex; } }
.minibar__logo {
  flex: 1; text-align: left; font-family: var(--font-display, inherit);
  font-weight: 800; font-size: 20px; color: var(--brand); text-decoration: none;
  letter-spacing: .02em; padding-left: 6px;
}
.minibar__btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 10px;
}
.minibar__btn svg { width: 21px; height: 21px; }
.minibar__tg { color: var(--brand); }

/* подборка на главной — то же полноэкранное оформление, что у её страницы */
.homepromo {
  position: relative; display: block; overflow: hidden;
  margin: 18px 0 6px; min-height: 74svh;
  color: var(--ink); text-decoration: none;
}
.homepromo__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
.homepromo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(244,242,236,.82), rgba(244,242,236,.35) 42%, rgba(244,242,236,0) 68%);
}
.homepromo__in { position: relative; z-index: 2; padding-top: 30px; }
.homepromo__in p { margin: 10px 0 0; color: var(--ink); opacity: .78; max-width: 560px; }
.homepromo__btn { margin-top: 16px; }
@media (min-width: 900px) {
  .homepromo { min-height: 66svh; display: flex; align-items: center; }
  .homepromo::before { display: none; }
  .homepromo__in { padding-top: 0; width: 100%; }
  .homepromo__in p { max-width: 44%; }
}
@media (max-width: 899px) {
  /* высота от пропорции кадра — фото вписывается целиком на любом экране */
  .homepromo--tall { min-height: 0; aspect-ratio: 1080 / 1680; }
  .homepromo--tall::before { display: none; }
  .homepromo--tall .homepromo__bg { object-position: center bottom; }
}

/* скромная строка про наличие на главной */
.stockline {
  display: block; margin: 6px 0 4px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: 14.5px;
}
.stockline span { color: var(--brand); font-weight: 700; }
.stockline:hover { border-color: var(--brand); }

/* «Пара недели» */
.hf-week-note {
  margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.75);
}
/* Два абзаца: условия акции и приглашение написать — между ними пустая
   строка, чтобы вторая мысль читалась отдельно (правка заказчика). */
.hf-week-note p { margin: 0; }
.hf-week-note p + p { margin-top: 1em; }
.hf-week-note a { color: #C6D45F; font-weight: 700; text-decoration: none; }
.salebar--week { border-color: var(--brand); background: #eef1dd; }
.cways-note { font-size: 13px; color: var(--ink-60, #6b6b6b); margin: 6px 0 2px; }
.cways-note a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* ================= Избранное и корзина ================= */

/* сердечко в углу фото */
.heart {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: transform .15s ease, background .15s;
}
.heart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; transition: fill .15s, stroke .15s; }
.heart:hover { transform: scale(1.08); }
.heart:active { transform: scale(.94); }
.heart.is-on svg { fill: var(--brand); stroke: var(--brand); }
.heart--float { top: 12px; right: 12px; width: 42px; height: 42px; }
.heart--float svg { width: 22px; height: 22px; }
.card__media .heart { opacity: .96; }

/* значки-счётчики в шапке и нижней панели */
.icon-btn--badge { position: relative; }
.icon-btn--badge svg { width: 23px; height: 23px; }
.cnt {
  position: absolute; top: 5px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--brand); color: #fff;
  font-family: var(--font-numeric); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
  pointer-events: none;
}
.icon-btn--badge.is-active { color: var(--brand); }
.tabbar a { position: relative; }
.tabbar .cnt { top: 4px; right: calc(50% - 22px); }
@media (max-width: 460px) {
  .header__in .icon-btn--badge { width: 38px; }
  .header__in #searchBtn { width: 38px; }
}

/* всплывающее уведомление */
.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 90;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .2s ease, opacity .2s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .toast { bottom: 28px; } }

/* выбор размера без ухода со страницы */
.sheet { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center; }
.sheet__back { position: absolute; inset: 0; background: rgba(20,20,18,.45); }
.sheet__panel {
  position: relative; width: 100%; max-width: 560px;
  background: #fff; border-radius: var(--r-md) var(--r-md) 0 0;
  padding: var(--s-4) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom));
  max-height: 86vh; overflow: auto;                 /* длинная сетка — прокрутка внутри окна */
  animation: sheetUp .22s ease;
}
@keyframes sheetUp { from { transform: translateY(24px); } to { transform: none; } }
@media (min-width: 760px) {
  .sheet { align-items: center; }
  .sheet__panel { border-radius: var(--r-md); padding: var(--s-5); }
}
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.sheet__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); margin-bottom: 4px; }
.sheet__title { font-weight: 700; font-size: 17px; }
.sheet__title span { color: var(--ink-60); font-weight: 500; }
.sheet__sizes { margin-bottom: var(--s-3); }
.sheet__foot { font-size: 13px; }
.sheet__foot a { color: var(--ink-60); text-decoration: underline; text-underline-offset: 3px; }
body.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sheet__panel { animation: none; } .toast { transition: none; } }

/* страница избранного */
.favs__head { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-2); }
.favs__title { font-size: clamp(28px, 6vw, 44px); margin: 0; }
.favs__count { font-family: var(--font-numeric); font-weight: 700; color: var(--ink-60); font-size: 15px; }
.favs__lead { color: var(--ink-60); max-width: 60ch; margin: 0 0 var(--s-4); font-size: 15px; }
.favs__bar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-4); min-height: 40px; }
.favs__sel { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.favs__selcount { font-size: 13px; color: var(--ink-60); font-weight: 600; }
.favs__cartlink { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.favs__grid { margin-bottom: var(--s-6); }

.fcard { position: relative; }
.fcard__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.fcard__cart { margin-top: 10px; width: 100%; }
.fcard__check {
  position: absolute; top: 8px; left: 8px; z-index: 2; display: none;
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink-40);
}
.fcard__check::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; }
.favs__grid.is-selecting .fcard__check { display: block; }
.favs__grid.is-selecting .badge { top: 40px; }
.favs__grid.is-selecting .fcard { cursor: pointer; }
.favs__grid.is-selecting .fcard__cart { visibility: hidden; }
.fcard.is-selected .card__media { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.fcard.is-selected .fcard__check { background: var(--brand); border-color: var(--brand); }
.fcard.is-selected .fcard__check::after { opacity: 1; }
.card__dot--order { background: var(--ink-40); }

.favs__empty { padding-top: var(--s-6); }
.favs__emptyheart svg { width: 56px; height: 56px; fill: none; stroke: var(--ink-40); stroke-width: 1.4; margin-bottom: var(--s-3); }
.favs__emptybtns { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; margin-top: var(--s-5); }

/* корзина */
.cart { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-4); }
.crow { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--s-3); padding: var(--s-3); align-items: start; }
.crow + .crow { border-top: 1px solid var(--line); }
.crow__media { width: 84px; height: 84px; border-radius: var(--r-sm, 8px); overflow: hidden; background: var(--bg-soft); display: block; }
.crow__media img { width: 100%; height: 100%; object-fit: cover; }
.crow__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-40); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crow__tag { font-size: 10px; letter-spacing: .02em; padding: 2px 7px; border-radius: var(--r-pill); background: var(--accent-bg, #e4e9d1); color: var(--brand); text-transform: uppercase; }
.crow__tag--order { background: var(--bg-soft); color: var(--ink-60); }
.crow__model { display: block; font-weight: 700; font-size: 15px; margin: 2px 0; color: inherit; }
.crow__meta { font-size: 13px; color: var(--ink-60); }
.crow__size { font-size: 13px; margin-top: 6px; font-weight: 600; }
.crow__link { border: 0; background: none; padding: 0; margin-left: 6px; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-60); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.crow__link:hover { color: var(--ink); }
.crow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.crow__price { text-align: right; font-family: var(--font-numeric); font-weight: 700; font-size: 15px; display: flex; flex-direction: column; align-items: flex-end; }
.crow__price s { font-size: 12px; color: var(--ink-40); font-weight: 600; }
.crow__del { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--ink-40); font-size: 16px; cursor: pointer; }
.crow__del:hover { background: var(--bg-soft); color: var(--ink); }
.cart__links { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.cart__links a { color: var(--ink-60); }
.cart__links a:hover { color: var(--ink); }
@media (max-width: 460px) {
  .crow { grid-template-columns: 68px 1fr auto; gap: 10px; }
  .crow__media { width: 68px; height: 68px; }
}

/* список пар в оформлении */
.cartlist { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-4); }
.cartlist__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; }
.cartlist__row + .cartlist__row { border-top: 1px solid var(--line); }
.cartlist__media { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.cartlist__media img { width: 100%; height: 100%; object-fit: cover; }
.cartlist__model { font-weight: 700; font-size: 14px; }
.cartlist__meta { font-size: 12px; color: var(--ink-60); }
.cartlist__price { font-family: var(--font-numeric); font-weight: 700; font-size: 14px; white-space: nowrap; }
.h-sub { font-size: .5em; color: var(--ink-40); font-weight: 600; margin-left: .3em; vertical-align: middle; text-transform: none; }
/* скрытые элементы панели выбора в избранном */
.favs__sel[hidden], .favs__bar .btn[hidden], .favs__cartlink[hidden] { display: none !important; }

/* --- Шапка с иконками избранного и корзины ---
   Две новые иконки съели запас по ширине: на 1100–1519 пунктов меню
   больше не помещалось и «Покупателям» налезало на лупу. Ниже 1600
   «Сертификаты» уходят в выпадающее меню — там для них есть строка,
   а в шапке освобождается около 150 px. */
/* Ширина шапки ограничена шириной страницы, поэтому пять пунктов рядом
   с тремя иконками и кнопкой консультации не помещаются даже на широком
   мониторе. «Сертификаты» переезжают в «Покупателям» — первым пунктом. */
.nav > a[data-nav="certificates"] { display: none; }
/* Ключевая подборка отдельной кнопкой и рядом список «Подборки» (04.11.2026):
   в шапке пять пунктов — отступы теснее и кегль чуть меньше, иначе
   «Покупателям» наезжает на лупу. */
.nav.nav--more { gap: clamp(12px, 1.1vw, 20px); }
.nav.nav--more a, .nav.nav--more .nav__dd-btn { font-size: clamp(12px, 8.4px + 0.5vw, 16px); }
@media (min-width: 900px) and (max-width: 1099px) {
  .nav.nav--more { gap: 10px; }
  .nav.nav--more a, .nav.nav--more .nav__dd-btn { font-size: 12px; }
}
.nav__dd-menu .dd-narrow { display: block; }
@media (min-width: 1100px) and (max-width: 1439px) {
  .nav { gap: 16px; }
  .nav__cta { padding: 10px; }
  .nav__cta span { display: none; }
  .nav__cta svg { width: 17px; height: 17px; }
  .header__in { gap: 16px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .icon-btn { width: 42px; height: 42px; }
  .icon-btn svg { width: 23px; height: 23px; }
}

/* Сетка избранного: колонки строго равные. Карточка с длинной строкой
   размеров раньше распирала свою колонку, соседние сжимались, и ряд
   разъезжался. */
.favs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px)  { .favs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .favs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fcard, .fcard__link { min-width: 0; }
.fcard .card__media { flex: none; }        /* высота строго по стороне квадрата */
/* Оговорка про размер: мелко и серым, между суммой и кнопкой оформления */
.cart__note { font-size: 12.5px; line-height: 1.5; color: var(--ink-60); margin: calc(-1 * var(--s-3)) 0 var(--s-4); }

/* ================= Первый экран «Сцена» =================
   Просторное белое поле. Слева: оливковый контурный водяной знак BAZE.,
   перед ним ряд бестселлеров, внизу прежние тексты первого экрана.
   Справа: виджет «Пара недели» в новой пластике, механика прежняя.
   Параллакс — отдельным свойством translate, чтобы не спорить с
   анимациями появления (они двигают transform). */
.scene { position: relative; background: var(--bg); color: var(--ink); overflow: hidden; }
.scene__in {
  position: relative; display: flex; flex-direction: column; gap: var(--s-5);
  padding-top: var(--s-4); padding-bottom: var(--s-6);
}
@media (min-width: 1024px) {
  .scene__in {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr); align-items: stretch;
    gap: clamp(28px, 4vw, 64px);
    /* первый экран — ровно в высоту окна (не меньше 560, не больше 860):
       кнопки всегда видны без прокрутки, виджет справа ужимается под окно */
    height: min(max(560px, calc(100svh - 88px)), 860px);
    padding-top: var(--s-4); padding-bottom: var(--s-5);
  }
  /* обе колонки одной высоты: верх строки преимуществ = верх виджета,
     низ кнопок = низ виджета; внутри левой колонки блоки расставлены
     равными промежутками */
  .scene__in .scene__stage { justify-content: space-between; gap: clamp(16px, 2.2vh, 30px); }
  .scene__in .scene__side { align-items: stretch; }
  .wk { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  .wk__stage { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .wk__photo { flex: 1 1 0; min-height: 120px; }
  /* на невысоком окне пары в ряду становятся ниже, чтобы всё влезло */
  .srow__pic { max-height: 24vh; }
  .srow__item { align-items: center; }
}
.scene__main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.scene__side { position: relative; display: flex; align-items: center; min-width: 0; }

/* три преимущества — тонкая строка без плашек: значок-линия и подпись.
   Плашки с серой заливкой спорили с логотипом; теперь строка молчит,
   пока на неё не посмотришь (замечание заказчика 09.09). */
.scene__top { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px 18px;
  width: 100%; max-width: 880px; padding: 0;
  animation: sceneDown .8s cubic-bezier(.16, 1, .3, 1) both; }
/* три подписи со значками в колонку шириной меньше 740px одной строкой не
   встают — на средних экранах ставим их столбиком, а не ломаем 2+1 */
@media (min-width: 1024px) and (max-width: 1439px) { .scene__top { flex-direction: column; gap: 7px; } }
.sfact { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-60, #6b6b6b); white-space: nowrap; line-height: 1; }
.sfact svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
/* плашка «Пара недели» в виджете остаётся: там она уместна */
.spill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--bg-soft); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; }
.spill--dark { background: var(--brand); color: #fff; }
.spill--dark b { font-family: var(--font-numeric); font-weight: 700; margin-left: 2px; }
@media (max-width: 759px) {
  .spill { height: 30px; padding: 0 12px; font-size: 10.5px; }
  .scene__top { gap: 8px 18px; }
  .sfact { font-size: 10px; letter-spacing: .06em; }
}

/* сцена: логотип и под ним ряд бестселлеров — на одной оси, одной ширины */
.scene__stage { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.8vh, 30px); min-height: 260px; margin: 0; }
/* Чернила логотипа ложатся ровно на края колонки: у буквы B в шрифте поле
   64/3844 ширины набора, у точки справа 60/3844. Растягиваем знак на эти
   поля и выводим их за край — тогда всё остальное просто стоит на сетке. */
.scene__logowrap { width: 102.97%; max-width: 906px; margin: 0 -1.43% 0 -1.54%; padding: 0;
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -6px); }
.scene__logo { display: block; width: 100%; height: auto; overflow: visible;
  animation: logoBreathe 9s ease-in-out 3s infinite; }
/* подпись под логотипом — часть знака: выходит, когда буквы дорисованы,
   и «садится» по межбуквенному расстоянию. Левый край — по букве B:
   у неё в шрифте отступ 64/3844 ширины набора. */
.scene__tag { --ls: .3em; margin-top: clamp(10px, 1.6vw, 18px); padding-left: 1.5%;  /* обратно на край колонки: обёртка выведена за него на 1.54% */
  font-size: clamp(11px, 1.05vw, 14px); font-weight: 700; letter-spacing: var(--ls); text-transform: uppercase;
  color: var(--brand); white-space: nowrap;
  animation: tagIn 1.2s cubic-bezier(.16, 1, .3, 1) 1.6s both; }
@keyframes tagIn { from { opacity: 0; letter-spacing: calc(var(--ls) + .25em); transform: translateY(6px); } to { opacity: 1; letter-spacing: var(--ls); transform: none; } }
/* на телефоне подпись должна уместиться в одну строку под логотипом */
@media (max-width: 759px) { .scene__tag { --ls: .16em; font-size: 10px; margin-top: 8px; } }
@media (max-width: 359px) { .scene__tag { --ls: .1em; font-size: 9px; } }
/* буква: сначала прорисовывается контур, затем проявляется лёгкая заливка */
.scene__logo .lg { fill: var(--brand); fill-opacity: 0; stroke: var(--brand); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: logoDraw 1.5s cubic-bezier(.16, 1, .3, 1) both, logoFill .9s ease both;
  animation-delay: calc(.25s + var(--d, 0) * .16s), calc(1.35s + var(--d, 0) * .16s); }
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoFill { to { fill-opacity: .07; } }
@keyframes logoBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012); } }

.srow { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: clamp(8px, 2vw, 28px);
  width: 100%; max-width: 880px; padding: 0; }
.srow__item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0;
  animation: sceneRise .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(1.85s + var(--i, 0) * .1s); }
.srow__pic { display: block; width: 100%; aspect-ratio: 1.1; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.srow__pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.srow__item:hover .srow__pic { transform: translateY(-6px); }
.srow__cap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; min-width: 0; max-width: 100%; }
.srow__cap b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.srow__cap span { font-family: var(--font-numeric); font-size: 12px; font-weight: 700; color: var(--brand); }
.srow__cap .pfrom { font-size: .8em; margin-right: .2em; }
@keyframes sceneRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .scene__stage { margin: var(--s-3) 0; min-height: 200px; gap: 14px; }
  .scene__top, .scene__cta { padding: 0; }
  .scene__logo .lg { stroke-width: 12; }
  .srow { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 4px 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .srow::-webkit-scrollbar { display: none; }
  .srow__item { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 1023px) { .srow__item { flex: 0 0 28%; } }

.scene__cta { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; max-width: 880px; padding: 0;
  animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) 2.1s both; }
.sbtn { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; }
.sbtn--solid { background: var(--brand); color: #fff; }
.sbtn--solid:hover { background: var(--brand-dark); }
.sbtn--line { border: 1px solid rgba(46, 48, 52, .35); color: var(--ink); }
.sbtn--line:hover { border-color: var(--ink); }
@media (max-width: 759px) { .scene__cta .sbtn { flex: 1 1 auto; justify-content: center; height: 42px; padding: 0 14px; font-size: 11.5px; } }

/* виджет «Пара недели» */
.wk { width: 100%; background: #fff; border: 1px solid rgba(46, 48, 52, .12); border-radius: var(--r-lg);
  padding: var(--s-4); box-shadow: 0 24px 60px -36px rgba(46, 48, 52, .35);
  animation: sceneUp 1.1s cubic-bezier(.16, 1, .3, 1) .4s both; }
.wk__head  { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) .6s both; }
.wk__stage { animation: sceneUp .9s cubic-bezier(.16, 1, .3, 1) .72s both; }
.wk__dots  { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) .9s both; }
.wk__meta  { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) 1s both; }
.wk__note  { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) 1.1s both; }
@media (min-width: 1024px) { .wk { padding: 20px 22px 22px; } }
.wk__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.wk__count { font-family: var(--font-numeric); font-size: 12px; color: var(--grey); white-space: nowrap; }
.wk__stage { position: relative; margin: var(--s-3) calc(-1 * var(--s-2)) 0; }
.wk__photo { display: block; aspect-ratio: 1.22; overflow: hidden; }
.wk__img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .3s ease; }
.wk__img.is-swap { opacity: 0; }
.wk__arr { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 1px solid rgba(46, 48, 52, .14);
  border-radius: 50%; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; z-index: 2; transition: background .15s, color .15s, border-color .15s; }
.wk__arr svg { width: 10px; height: 13px; }
.wk__arr--l { left: 0; } .wk__arr--r { right: 0; }
.wk__arr:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk__arr:active { transform: translateY(-50%) scale(.94); }
.wk__dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin: 6px 0 var(--s-2); }
.wk__dots button { width: 5px; height: 5px; border-radius: 50%; border: 0; padding: 0; background: rgba(46, 48, 52, .18); cursor: pointer; transition: width .2s, background .2s; }
.wk__dots button.is-on { background: var(--brand); width: 16px; border-radius: 3px; }
.wk__meta b { display: block; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; }
.wk__meta > span { display: block; font-size: 13px; color: var(--grey); margin-top: 2px; }
.wk__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-family: var(--font-numeric); }
.wk__price .price__now { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; color: var(--brand); }
.wk__price .price__old { font-size: 13px; color: var(--grey); text-decoration: line-through; }
.wk__price .pfrom { font-size: .75em; margin-right: .2em; }
.wk__note { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid rgba(46, 48, 52, .1); font-size: 12px; line-height: 1.45; color: var(--grey); }
.wk__note p { margin: 0; }
.wk__note p + p { margin-top: 6px; }
.wk__note a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@keyframes sceneDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes sceneUp   { from { opacity: 0; transform: translateY(20px); }  to { opacity: 1; transform: none; } }
@keyframes sceneSide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes sceneIn   { from { opacity: 0; transform: scale(1.05); }       to { opacity: 1; transform: none; } }
@keyframes sceneFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sceneFloat  { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-.4deg); } }
@keyframes sceneMark   { from { transform: translate(-53%, -50%); } to { transform: translate(-47%, -50%); } }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene__top, .scene__bottom, .wk { animation: none !important; }
  .scene__logo .lg { stroke-dashoffset: 0; fill-opacity: .07; }
}


/* ================= Переходы между страницами =================
   Мягкое перетекание вместо рывка. Шапка снимается отдельно и стоит
   на месте. Обложка подборки с главной перетекает в обложку страницы
   подборки, затем чуть отходит вглубь, и поверх поднимается текст. */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: .22s cubic-bezier(.16, 1, .3, 1) both vtOut; }
  ::view-transition-new(root) { animation: .38s cubic-bezier(.16, 1, .3, 1) both vtIn; }
  .header { view-transition-name: site-header; }
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
  /* страница подборки: обложка чуть отходит, текст поднимается ступенями */
  .colhero--full .colhero__bg { animation: colSettle 1.6s cubic-bezier(.16, 1, .3, 1) both; }
  .colhero__text > * { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) both; }
  .colhero__text > :nth-child(1) { animation-delay: .5s; }
  .colhero__text > :nth-child(2) { animation-delay: .62s; }
  .colhero__text > :nth-child(3) { animation-delay: .74s; }
  .colhero__text > :nth-child(4) { animation-delay: .86s; }
  .colhero__down { animation: sceneUp .8s cubic-bezier(.16, 1, .3, 1) 1s both; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes colSettle { from { transform: scale(1.06); } to { transform: none; } }

/* «Провалиться» в подборку: обложка растёт до рамки будущей обложки
   страницы (под шапкой) и приближается. Вуаль сверху — та же, что у
   карточки и у страницы, чтобы кадр не менялся ни на одном шаге. */
.dive { position: fixed; z-index: 200; overflow: hidden; background: var(--ink);
  transition: top 1s cubic-bezier(.16, 1, .3, 1), left 1s cubic-bezier(.16, 1, .3, 1),
              width 1s cubic-bezier(.16, 1, .3, 1), height 1s cubic-bezier(.16, 1, .3, 1),
              border-radius 1s cubic-bezier(.16, 1, .3, 1), opacity .6s ease; }
.dive img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block;
  transform: scale(1); transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); }
.dive::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(244,242,236,.82), rgba(244,242,236,.35) 42%, rgba(244,242,236,0) 68%);
}
@media (max-width: 899px) { .dive--tall::before { display: none; } }
@media (min-width: 900px) { .dive--wide::before { display: none; } }
.dive.is-open img { transform: scale(1.14); }
.dive.is-gone { opacity: 0; }
/* пришли «провалом»: обложка страницы не делает своего вступления — её
   движение задаёт сценарий; текст ждёт, пока верхняя картинка растворится,
   и выходит только прозрачностью, без подъёма */
body.dive-arrive .colhero--full { min-height: calc(100svh - var(--dive-top, 80px)); }   /* ровно до низа экрана — под оверлеем ничего не видно */
body.dive-arrive .colhero--full .colhero__bg { animation: none; }
body.dive-arrive .colhero__text > *, body.dive-arrive .colhero__down { animation: none; opacity: 0; }
body.dive-text .colhero__text > * { animation: diveText 1s cubic-bezier(.16, 1, .3, 1) both; }
body.dive-text .colhero__text > :nth-child(1) { animation-delay: .25s; }
body.dive-text .colhero__text > :nth-child(2) { animation-delay: .37s; }
body.dive-text .colhero__text > :nth-child(3) { animation-delay: .49s; }
body.dive-text .colhero__text > :nth-child(4) { animation-delay: .61s; }
body.dive-text .colhero__down { animation: diveText 1s cubic-bezier(.16, 1, .3, 1) .8s both; }
@keyframes diveText { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Короткий путь к менеджеру (06.09.2026) ----------
   Кнопка «Спросить о паре» на карточке и в липкой панели телефона,
   «Спросить о подборке» в шапке подборки, вводная строка короткой формы. */
.btn--tg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn__ico { width: 18px; height: 18px; flex: none; }
.stickybuy__tg { flex: none !important; width: 48px; height: 48px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }   /* палец: не меньше 44 в высоту */
.stickybuy__tg .btn__ico { width: 20px; height: 20px; }
.colhero__ask { margin-top: 18px; }
.colhero__text > .colhero__ask { align-self: flex-start; }
@media (max-width: 899px) { .colhero__ask { width: 100%; } }
.form__lead { font-size: 14px; line-height: 1.5; color: var(--ink-60); margin-bottom: var(--s-2); }
.total__plus { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--ink-60); }
@media (prefers-reduced-motion: no-preference) {
  .colhero__text > :nth-child(5) { animation-delay: .98s; }
  body.dive-text .colhero__text > :nth-child(5) { animation-delay: .73s; }
}


/* Полоса «ищем менеджера» над подвалом (набор 06.10.2026) */
.vacancy { margin: 36px auto 8px; }
.vacancy__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.vacancy__text { display: grid; gap: 4px; min-width: 0; }
.vacancy__text b { font-size: 17px; }
.vacancy__text span { color: var(--muted, #6b6f6c); font-size: 14px; }
@media (max-width: 640px) { .vacancy__in { padding: 16px; } .vacancy .btn { width: 100%; justify-content: center; } }

/* ================= Акция на все пары — «11.11» (11.11.2026) =================
   Один знак на всё оформление: название акции контуром из фирменного
   Eurofont — тем же рисунком, что водяной знак BAZE. на главной. Цвета —
   только фирменные: оливковый, тёмный, светлая оливковая подложка плашек. */

/* знак акции в полосе и плашке: тонкий контур, толщина линии не зависит от размера */
.pmark { display: block; flex: 0 0 auto; width: auto; overflow: visible; }
.pmark .lg { fill: var(--brand); fill-opacity: .08; stroke: var(--brand); stroke-width: 1.5px;
  vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pmark--text { font-family: var(--font-display); font-size: 18px; line-height: 1; color: var(--brand); }
.pleft { font-family: var(--font-numeric); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --- первый экран: плашка акции по макету команды (11.11) ---
   Точно как в файле «11.11 sale» (935×429): светлая подложка #E8EADE со
   скруглением, «11.11SALE» — белые буквы Druk Wide с оливковой обводкой
   (контуры из файла дизайнера), «Скидка 11% / на все пары 11–15 ноября»
   (Avenir Next Bold), «цена на сайте уже со скидкой» (Avenir Next Medium),
   таймер (Eurofont Bold, оливковый). Тексты чёрные, как в макете.
   Все размеры — в единицах макета: --k = пикселей на единицу (плашка = 935
   единиц). На компьютере плашка — 70 % ширины левой колонки (знак примерно
   того же размера, что на референсе расположения), на телефоне — во всю
   ширину. Мелкие строки не меньше 12 px, чтобы читались на телефоне. */
/* обёртка — во всю ширину сцены, плашка в ней стоит слева */
.hsale-wrap { align-self: stretch; }
.hsale { --k: min(calc((100vw - 40px) / 935), .6px);
  width: calc(935 * var(--k)); max-width: 100%;
  padding: calc(38 * var(--k)) 0 calc(45.2 * var(--k)) calc(25 * var(--k));
  background: #E8EADE; border-radius: calc(40 * var(--k)); color: #000;
  animation: sceneUp .7s cubic-bezier(.16, 1, .3, 1) .1s both; }
/* окно 921–1023 px: ряды сцены (не шире 880 px) стоят по центру — плашку ставим на их левый край */
@media (max-width: 1023px) { .hsale-wrap > .hsale { margin-left: max(0px, calc(50% - 440px)); } }
/* Компьютер. Первый экран — ровно в высоту окна, поэтому плашке отдано всё
   свободное место между строкой преимуществ и рядом пар: обёртка тянется на
   остаток, плашка в ней сверху, свободное место под плашкой (как на
   референсе). Ширина — 70 % левой колонки: колонка = 0,5952 × окно − 74,4 px;
   с 1440 px плашка больше не растёт (.586). На невысоком окне (ноутбук с
   панелями браузера) остатка меньше — плашка уменьшается целиком, в
   пропорциях макета, ровно под него, и кнопки с виджетом «Пара недели» не
   обрезаются. 100cqh — высота остатка; вторая формула — для размера, где
   мелкие строки уже держатся на 12 px; 2 px — запас на округление.
   Браузер без такой подгонки (Safari до 16) показывает плашку по ширине,
   как раньше. */
@media (min-width: 1024px) {
  .hsale { --k: min(calc(.04456vw - .0557px), .586px); }
  .scene__in .scene__stage > .hsale-wrap { margin-bottom: auto; }
  @supports (container-type: size) {
    .hsale-wrap { flex: 1 1 0; min-height: 0; container-type: size; }
    .hsale { --k: max(.3px, min(calc(.04456vw - .0557px), .586px, calc((100cqh - 2px) / 429), calc((100cqh - 33px) / 366.6))); }
  }
}
/* рамка рисунка = внешний край обводки, поэтому без обрезки: иначе при
   округлении до пикселя браузер срезал бы край обводки с одной стороны */
.hsale__mark { display: block; width: calc(822 * var(--k)); max-width: 100%; height: auto; overflow: visible; }
.hsale__mark path { fill: #fff; stroke: var(--brand); stroke-width: 20; paint-order: stroke; }
.hsale__mark--gen { height: calc(96 * var(--k)); width: auto; overflow: visible; }   /* другая акция: название контуром Eurofont */
.hsale__deal, .hsale__note, .hsale__left { margin: 0; }
.hsale__deal { margin-top: calc(25.375 * var(--k)); padding-left: calc(10.25 * var(--k));
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  font-size: max(14px, calc(44 * var(--k))); line-height: calc(53 / 44 * 1em); }
.hsale__deal span { display: block; }
.hsale__note { margin-top: calc(3.905 * var(--k)); padding-left: calc(7 * var(--k));
  font-family: var(--font-body); font-weight: 500; font-size: max(12px, calc(24 * var(--k))); line-height: 1.3; }
.hsale__left { margin-top: calc(32.125 * var(--k)); padding-left: calc(10.25 * var(--k));
  font-family: var(--font-numeric); font-weight: 700; text-transform: uppercase;
  color: var(--brand); font-size: max(12px, calc(24 * var(--k))); line-height: 1.3; }
@media (max-width: 759px) { .scene--promo .scene__stage { gap: 10px; margin: 8px 0; } }
@media (prefers-reduced-motion: reduce) { .hsale { animation: none; } }

/* старая цена в ряду пар первого экрана */
.srow__old { font-family: var(--font-numeric); font-weight: 700; font-size: .82em; color: var(--ink-40); margin-right: .45em; }
@media (min-width: 1024px) and (max-width: 1199px) { .srow__old { display: block; margin: 0 0 1px; } }

/* --- полоса над каталогом и «В наличии» --- */
.pstrip { display: flex; align-items: center; gap: 16px; margin: 12px 0 2px; padding: 12px 18px;
  background: #f4f6e8; border: 1px solid #dfe4c8; border-radius: 14px; color: var(--ink); }
.pstrip__mark { height: 30px; }
.pstrip__body { flex: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 16px; }
.pstrip__title { font-size: 15px; line-height: 1.3; white-space: nowrap; }
.pstrip__meta { flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px;
  font-size: 13px; line-height: 1.35; color: rgba(46, 48, 52, .74); }
.pstrip__note::before { content: '·'; margin-right: 12px; }
.pstrip__left { margin-left: auto; color: var(--ink); white-space: nowrap; }
.pstrip__left .pleft { color: var(--brand); font-size: 15px; margin-left: 4px; }
@media (max-width: 899px) { .pstrip__note { display: none; } }
.pstrip + .grid { margin-top: 16px; }
@media (max-width: 759px) {
  .pstrip { gap: 11px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; }
  .pstrip__mark { height: 25px; }
  .pstrip__body { flex-direction: column; align-items: flex-start; gap: 1px; }
  .pstrip__title { font-size: 13.5px; }
  .pstrip__meta { gap: 0 10px; font-size: 11.5px; }
  .pstrip__note { display: none; }
  .pstrip__left { margin-left: 0; }
  .pstrip__left .pleft { font-size: 11.5px; }
}

/* --- плашка под ценой в карточке пары --- */
.pplate { display: flex; align-items: center; gap: 13px; margin: 10px 0 2px; padding: 11px 15px;
  background: #f4f6e8; border: 1px solid #dfe4c8; border-radius: 12px;
  font-size: 14px; line-height: 1.45; color: var(--ink); }
.pplate__text { min-width: 0; }
.pplate__text > b { display: block; color: var(--brand); }
.pplate__when { display: block; }
.pplate__left { display: block; color: var(--ink); white-space: nowrap; }
.pplate__left .pleft { color: var(--brand); margin-left: 3px; }
@media (max-width: 380px) { .pplate { padding: 10px 12px; } }

/* --- значок скидки на главном фото карточки пары (правка команды 11.11, 14:06) ---
   Тот же значок «−11%», что на карточках каталога (класс .badge: цвет,
   полупрозрачность, шрифт), но на 20 % крупнее (правка владельца 11.11):
   кегль и поля .badge × 1,2. Место — слева, по центру высоты сердечка. */
.badge--gallery { top: 33px; left: 12px; transform: translateY(-50%); z-index: 2; pointer-events: none;
  font-size: clamp(10.8px, calc(8.28px + 0.432vw), 14.4px); padding: 3.6px 9.6px 2.4px; }

/* ================= «Чёрная пятница» 27–29.11.2026 =================
   Оформление акции на все пары, пока на <html> стоит класс promo-bf (его
   ставит app.js по названию акции). Лаконично: чёрные плашки, белый текст,
   процент и таймер — светлым оливковым. Геометрия плашек — та же, что у 11.11.
   Пары «Пары недели» остаются в своём оливковом — так их видно среди остальных. */
.promo-bf { --bf: #0D0D0D; --bf-acc: #B9C76A; }
/* главная: знак «BLACK FRIDAY −10%» в поле прежнего знака (822×116 единиц) */
.promo-bf .hsale { background: var(--bf); color: #fff; }
.hsale__mark--bf text { font-family: var(--font-display); font-weight: 700; }
.hsale__mark--bf .bf-a { font-size: 56.2px; fill: #fff; }
.hsale__mark--bf .bf-b { font-size: 128.5px; fill: var(--bf-acc); }
.promo-bf .hsale__note { color: rgba(255, 255, 255, .62); }
.promo-bf .hsale__left { color: var(--bf-acc); }
/* полоса над каталогом */
.promo-bf .pstrip { background: var(--bf); border-color: var(--bf); color: #fff; }
.promo-bf .pstrip__meta { color: rgba(255, 255, 255, .68); }
.promo-bf .pstrip__left { color: #fff; }
.promo-bf .pstrip__left .pleft { color: var(--bf-acc); }
.pmark--bf { color: #fff; font-size: 13px; line-height: 1.08; text-transform: uppercase; white-space: nowrap; }
.pmark--bf br { display: none; }
@media (max-width: 759px) { .pmark--bf { font-size: 11px; } .pmark--bf br { display: inline; } }
/* плашка под ценой в карточке пары */
.promo-bf .pplate { background: var(--bf); border-color: var(--bf); color: rgba(255, 255, 255, .72); }
.promo-bf .pplate__text > b { color: #fff; }
.promo-bf .pplate__left { color: #fff; }
.promo-bf .pplate__left .pleft { color: var(--bf-acc); }
.pplate__mark { flex: 0 0 auto; font-family: var(--font-display); font-size: 13px; line-height: 1.08; text-transform: uppercase;
  color: #fff; padding-right: 13px; border-right: 1px solid rgba(255, 255, 255, .28); }
/* узкие телефоны: знак в плашке меньше, на самых узких — без него; строка таймера может переноситься */
.promo-bf .pplate__left { white-space: normal; }
@media (max-width: 480px) { .pplate__mark { font-size: 10.5px; padding-right: 10px; } .promo-bf .pplate { gap: 10px; } }
@media (max-width: 359px) { .pplate__mark { display: none; } }
/* значок скидки и цена со скидкой — чёрные */
.promo-bf .badge--promo { background: rgba(13, 13, 13, .9); }
.promo-bf .price--promo .price__now, .promo-bf .srow__cap .srow__promo { color: var(--bf); }
.promo-bf .priceblock--promo .priceblock__now { color: var(--bf); }
.promo-bf .priceblock--promo .priceblock__pct { background: var(--bf); }
.promo-bf .stickybuy__price.is-promo, .promo-bf .stickybuy__price.is-promo .stickybuy__pct { color: var(--bf); }

/* липкая панель телефона: цена со скидкой — фирменным оливковым, над ней процент */
.stickybuy__price.is-sale { color: var(--brand); line-height: 1.05; }
.stickybuy__pct { display: block; font-size: 10.5px; line-height: 1; color: var(--brand); margin-bottom: 2px; }
/* узкие телефоны (360): старая цена, новая и «−11%» в одну строку */
@media (max-width: 380px) { .priceblock { gap: 8px; } .priceblock__old { font-size: 16px; } }


/* Поле «Ник в Telegram» (16.11.2026): раскрывашка «Где найти ник?» и галочка «нет ника» */
.tghelp { margin-top: 6px; font-size: 13px; color: var(--ink-60); }
.tghelp summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.tghelp summary::-webkit-details-marker { display: none; }
.tghelp summary::after { content: ' ▾'; font-size: 11px; }
.tghelp[open] summary::after { content: ' ▴'; }
.tghelp p { margin: 6px 0 0; line-height: 1.45; }
.tgnone .check { margin: 0; }
/* кнопка «Открыть Telegram с заявкой» на экране «Готово»: на узком телефоне — в две строки, а не обрезка */
.done #reopenTg { white-space: normal; line-height: 1.25; text-align: center; }
/* «Важно: цена «от»…» между плашкой цены и кнопкой (владелец 16.11.2026) — заметно, но спокойно */
.important { margin: var(--s-3) 0; padding: 12px 14px; border-left: 3px solid var(--brand);
  background: rgba(95,107,45,.08); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.5;
  color: var(--ink); text-align: left; }
.important b { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 13px; }
.done .important { max-width: 34em; margin: 0 auto var(--s-4); }
