/* ==========================================================================
   Alo Yoga · S4Y — визуальная система витрины (ALO-001)
   Направление: «editorial movement / quiet performance».
   Тёплые минеральные нейтрали (известняк, травертин), чернила вместо чистого
   чёрного, один собственный акцент — селадон (тайская керамика): глубокий для
   действий, светлый для выделений. Одна гарнитура — Nunito Sans (ALO-002C, вместо антиквы
   Noto Serif Display и Manrope): характер набора официального сайта Alo (Proxima Nova) —
   заголовки КАПСОМ 700–800 со сжатым трекингом, подписи и кнопки КАПСОМ с разрядкой.
   Порядок: токены → база → примитивы → оболочка → секции → компоненты ALO-002 → движение.
   Медиа-запросы идут ПОСЛЕ базовых правил блока (урок on_running: одинаковая
   специфичность — побеждает нижнее).
   ========================================================================== */

:root {
  /* Поверхности */
  --paper: #EDEAE4;          /* известняк — основной фон */
  --paper-2: #F6F4F0;        /* приподнятая поверхность */
  --stone: #E2DCD2;          /* травертин — второй фон секций */
  --stone-2: #CFC7BA;        /* сильная линия */
  --line: rgba(29, 27, 25, .14);
  --line-strong: rgba(29, 27, 25, .28);

  /* Чернила */
  --ink: #1D1B19;
  --ink-2: #45403A;
  --muted: #645E57;          /* 4.9:1 на --paper */
  --on-ink: #F3F0EA;
  --on-ink-muted: #B9B2A8;   /* 7.6:1 на --ink */

  /* Акцент сервиса: селадон */
  --celadon: #2F5B4F;        /* действие; 7.3:1 с --paper-2 */
  --celadon-deep: #234539;
  --celadon-soft: #C5D2C7;
  --celadon-wash: #DCE4DB;

  /* Состояния наличия (компоненты ALO-002) */
  --ok: #2F5B4F;
  --low: #8A5A1C;
  --off: #8E3A30;
  --unknown: #645E57;

  /* Типографика */
  --sans: 'Nunito Sans', 'Alo Sans Fallback', 'Alo Sans Fallback 2', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* Роли (ALO-002C): заголовок — КАПС 800/700 со сжатым трекингом, подпись — КАПС 700 с разрядкой. */
  --track-head: -.025em;
  --track-caps: .08em;

  --fs-hero: clamp(2.35rem, 1.2rem + 5vw, 5.75rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .75rem;

  /* Ритм */
  --gutter: clamp(16px, 4vw, 56px);
  --shell: 1360px;
  --section: clamp(72px, 9vw, 152px);
  --section-tight: clamp(56px, 7vw, 112px);
  --gap: clamp(12px, 1.6vw, 24px);

  /* Форма и движение */
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 64px;

  color-scheme: light;
}

/* ---------- База ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: .005em;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol[role='list'], ul[role='list'] { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Переносы (ALO-002C). Заголовки, кнопки и короткие подписи переносятся ТОЛЬКО целыми словами:
   никаких `break-word`/`anywhere`/`break-all` и автоматических дефисов — слово, не влезающее в
   строку, лечится кеглем и шириной колонки, а не разрезанием («спрашиваю|т»). Строки
   выравниваются по длине (`balance`), у абзацев нет висячего последнего слова (`pretty`). */
h1, h2, h3, h4, .btn, .eyebrow, label, legend { overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }

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

:focus-visible { outline: 2px solid var(--celadon); outline-offset: 3px; border-radius: var(--radius); }
.section--ink :focus-visible, .finale :focus-visible { outline-color: var(--celadon-soft); }

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

.nowrap { white-space: nowrap; }

/* Атрибут hidden слабее любого класса с display (урок on_running и SHEINSHOP) — закрепляем. */
[hidden] { display: none !important; }

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

main:focus { outline: none; }

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

/* ---------- Типографские примитивы ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: var(--track-head);
  text-transform: uppercase;
  margin-top: 14px;
}

.section__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}

.footnote {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 44em;
}

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

.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 700 .875rem/1.25 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn .icon, .btn svg { flex: none; }

.btn--primary { background: var(--celadon); color: var(--paper-2); }
.btn--primary:hover { background: var(--celadon-deep); }

.btn--ghost, .btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--ink); background: rgba(29, 27, 25, .04); }

.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--sm { --btn-h: 44px; padding: 0 16px; font-size: .875rem; }
.btn--icon { padding: 0; width: var(--btn-h); }

.btn[aria-disabled='true'], .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Оболочка: шапка ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-head.is-scrolled { border-bottom-color: var(--line); background: var(--paper); }

.site-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--head-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark__name {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
}
.wordmark__place {
  position: relative;
  padding-left: 12px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.wordmark__place::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  translate: 0 -55%;
  background: var(--line-strong);
}
.wordmark--lg .wordmark__name { font-size: 2.5rem; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.site-nav a {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  display: inline-block;
  min-width: 44px;
  padding: 13px 0;
  text-align: center;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-head__actions { display: flex; align-items: center; gap: 8px; }
.site-head__cta span { display: none; }
.site-head__cta { width: 44px; padding: 0; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 .875rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.menu-btn__label { display: none; }

@media (min-width: 480px) {
  .site-head__cta { width: auto; padding: 0 16px; }
  .site-head__cta span { display: inline; }
}
@media (min-width: 768px) {
  .menu-btn__label { display: inline; }
}
@media (min-width: 1180px) {
  :root { --head-h: 76px; }
  .site-nav { display: block; }
  .menu-btn { display: none; }
}

/* ---------- Оболочка: меню (dialog) ---------- */

.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
}
.menu::backdrop { background: rgba(29, 27, 25, .45); }
.menu[open] { display: flex; flex-direction: column; animation: menu-in .35s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); border-bottom: 1px solid var(--line); }
.menu__nav { padding-top: 12px; flex: 1; }
.menu__nav ol { counter-reset: none; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: var(--track-head);
  text-transform: uppercase;
  text-decoration: none;
}
.menu__num { font: 600 .75rem var(--sans); letter-spacing: .1em; color: var(--muted); min-width: 22px; }
.menu__foot { padding-top: 28px; display: grid; gap: 16px; }
.menu__hint { color: var(--ink-2); max-width: 30em; }

@media (min-width: 768px) {
  .menu { width: min(560px, 100%); margin-left: auto; box-shadow: -24px 0 60px rgba(29, 27, 25, .12); }
  .menu[open] { animation-name: menu-side; }
  @keyframes menu-side { from { opacity: 0; transform: translateX(24px); } }
}

/* ---------- Первый экран ---------- */

.hero { padding-top: clamp(28px, 5vw, 72px); }

.hero__grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}
/* С кадрами элементы текста — прямые дети сетки (ALO-004A): расстояния между ними задают их отступы. */
.hero__grid--art { row-gap: 0; }

.hero__eyebrow { color: var(--celadon); }

.hero__title {
  margin-top: clamp(16px, 2vw, 28px);
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: initial;
}
.hero__line { display: block; }
.hero__accent {
  display: block;
  font-style: normal;
  color: var(--celadon);
  white-space: nowrap;
}

.hero__lead {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 32em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 40px);
}

.hero__note {
  margin-top: 18px;
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 36em;
}
.hero__alt { display: block; margin-top: 4px; }
.hero__alt a { color: var(--ink-2); font-weight: 600; }

/* Кадры первого экрана (ALO-004A): главный кадр + два вспомогательных — настоящие вещи каталога.
   Сетка, а не коллаж с тенями: главный кадр занимает высоту колонки двух меньших. На телефоне
   композиция стоит между заголовком и абзацем (вещь видна на первом экране), меньшие кадры —
   квадратом, чтобы кнопка осталась на первом экране; с 600 px — 4:5. */
.hero__art {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
  margin-top: clamp(20px, 3vw, 32px);
  width: 100%;
  max-width: 620px;
}
.hero__shot { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.hero__shot .look { --ratio: 1 / 1; }
.hero__shot--1 { grid-row: 1 / span 2; }
.hero__shot--1 .look { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.hero__art--2 .hero__shot--2 .look { --ratio: 2 / 3; }
.hero__art--1 { grid-template-columns: minmax(0, 1fr); }
.hero__art--1 .hero__shot--1 .look { aspect-ratio: 4 / 5; flex: none; }
.hero__tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  padding-top: 7px;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__tag-color { font-weight: 600; color: var(--muted); }
.hero__shot:hover .hero__tag-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
@media (hover: hover) {
  .hero__shot:hover .look__img { transform: scale(1.02); }
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.hero__coords { letter-spacing: var(--track-caps); text-transform: uppercase; }
/* Кадры кадрируются сверху: голова и вещь остаются в кадре при квадрате и 4:5. */
.hero__shot .look__img { object-position: 50% 18%; }
/* Телефон: подпись — только у главного кадра (у меньших имя вещи остаётся в `alt` ссылки), координаты —
   с 600 px; так кнопка «Подобрать в Telegram» остаётся на первом экране 390×844. */
@media (max-width: 599px) {
  .hero__coords { display: none; }
  .hero__lead { margin-top: 18px; }
}
@media (max-width: 479px) {
  .hero__shot:not(.hero__shot--1) .hero__tag { display: none; }
}

@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .hero__actions .btn { min-width: 220px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  /* в две колонки текст уже, а кегль ещё растёт с шириной — «из Бангкока» рвалось на 1024; строка
     не переносится (nowrap) и шириной ≈ 7 кеглей, колонка текста ≈ 0,51 ширины окна — кегль по ширине,
     иначе на 1024 строка заходила на кадры первого экрана (ALO-004A) */
  :root { --fs-hero: min(5.25rem, 7.1vw); }
}
@media (min-width: 600px) {
  .hero__shot .look { --ratio: 4 / 5; }
  .hero__art { max-width: 640px; }
}
/* Планшет в одну колонку: кадры не выше половины экрана — кнопка остаётся на первом экране. */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero__art { max-width: 540px; }
}
/* С 1024 px — две колонки: текст слева, кадры справа на всю высоту текста. Крайние дорожки `1fr`
   забирают лишнюю высоту, когда кадры выше текста, — текст остаётся по центру, а не расползается. */
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(36px, 5vw, 64px); align-items: center; }
  .hero__grid--art { grid-template-rows: 1fr repeat(5, auto) 1fr; align-items: start; }
  .hero__grid--art > :not(.hero__art) { grid-column: 1; }
  .hero__grid--art > .hero__eyebrow { grid-row: 2; }
  .hero__grid--art > .hero__title { grid-row: 3; }
  .hero__grid--art > .hero__lead { grid-row: 4; }
  .hero__grid--art > .hero__actions { grid-row: 5; }
  .hero__grid--art > .hero__note { grid-row: 6; }
  .hero__art { grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: end; margin-top: 0; }
}

/* Четыре факта процесса */
.proof {
  display: grid;
  margin-top: clamp(48px, 7vw, 104px);
  border-top: 1px solid var(--line-strong);
}
.proof__item {
  display: grid;
  /* Строки не растягиваются на высоту соседнего столбца: заголовки ряда стоят на одной линии. */
  align-content: start;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.proof__num { grid-row: span 2; font: 600 .75rem/1.9 var(--sans); letter-spacing: .1em; color: var(--muted); }
.proof__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.proof__body { font-size: var(--fs-small); color: var(--ink-2); margin-top: 4px; }

@media (min-width: 600px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 1024px) {
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .proof__item { grid-template-columns: minmax(0, 1fr); padding: 22px 24px 26px 0; border-bottom: 0; }
  .proof__item + .proof__item { padding-left: 24px; border-left: 1px solid var(--line); }
  .proof__num { grid-row: auto; margin-bottom: 18px; }
}

/* ---------- Секции ---------- */

/* Грид-элемент по умолчанию не уже своего содержимого (min-width: auto) и выдавливает
   дорожку minmax(0, …) за край страницы — найдено проверкой на 1024 px. */
.hero__grid > *, .movement > *, .sets > *, .sizing > *, .faq > *, .trust > *,
.site-foot__grid > *, .section__head--split > *, .tiles > *, .steps > * { min-width: 0; }

.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .eyebrow { color: var(--on-ink-muted); }
.section--ink .section__lead { color: var(--on-ink-muted); }

.section__head { margin-bottom: clamp(32px, 5vw, 64px); }
/* Абзац под капс-заголовком — с воздухом: у гротеска интерлиньяж плотнее, чем был у антиквы (ALO-002C). */
.section__title + .section__lead, .section__title + p { margin-top: clamp(14px, 1.6vw, 22px); }
.section__head--split { display: grid; gap: 18px; align-items: end; }
@media (min-width: 1024px) {
  .section__head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
  .section__head--split .section__lead { justify-self: end; }
}

.section__cta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.section__cta-note { font-size: var(--fs-small); color: var(--muted); max-width: 30em; }

/* Ассортимент (ALO-004A): плитка — настоящая вещь категории из каталога и ссылка в категорию.
   Сетка 2 → 3 (с 768) → 4 (с 1200) колонки; леггинсы — большая плитка 2×2; последняя плитка —
   «по запросу» (категории без моделей каталога), текстом, без фото и без цветовой плашки. */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px) var(--gap);
}
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile__link { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.tile__media { position: relative; display: flex; flex-direction: column; }
.tile__media .look { --ratio: 4 / 5; }
.tile__body { padding-top: 12px; display: grid; gap: 4px; }
.tile__title { font-family: var(--sans); font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); line-height: 1.15; letter-spacing: -.01em; }
.tile__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tile__more .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.tile__link:hover .tile__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.tile__link:hover .tile__more .icon { transform: translateX(3px); }
@media (hover: hover) {
  .tile__link:hover .look__img { transform: scale(1.025); }
}
.tile--hero { grid-column: span 2; }
.tile--hero .tile__title { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem); font-weight: 800; letter-spacing: var(--track-head); text-transform: uppercase; }
.tile--ask { grid-column: span 2; }
.tile__ask {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.tile__list { display: grid; gap: 8px; margin: 2px 0 6px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.tile__list strong { display: block; font-weight: 700; color: var(--ink); }
.tile__cta { justify-self: start; white-space: nowrap; }
.tile__ask-note { font-size: .8125rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 767px) {
  .tile--wide { grid-column: span 2; }
  .tile--wide .tile__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); align-items: end; }
  .tile--wide .tile__body { padding: 0 0 4px; }
}
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--hero { grid-row: span 2; }
  .tile--hero .tile__media { flex: 1 1 auto; }
  .tile--hero .tile__media .look { aspect-ratio: auto; flex: 1 1 auto; min-height: 360px; }
  .tile--ask { grid-column: span 1; }
}
@media (min-width: 1200px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* По движению */
.movement { display: grid; gap: clamp(28px, 4vw, 56px); }
.moves {
  display: grid;
  border-top: 1px solid var(--line-strong);
}
.moves__item { padding: 20px 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.moves__en { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.moves__name { font-family: var(--sans); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.08; letter-spacing: var(--track-head); text-transform: uppercase; }
.moves__body { color: var(--ink-2); font-size: .9375rem; max-width: 26em; }
/* Пример вещи под вид движения (ALO-004A): ссылка на модель каталога с этим тегом активности источника. */
.moves__eg { justify-self: start; margin-top: 2px; font-size: .8125rem; }

@media (min-width: 640px) {
  .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 1024px) {
  .movement { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
  .movement__head { position: sticky; top: calc(var(--head-h) + 32px); padding-right: 24px; }
  .moves { column-gap: 0; }
  .moves__item { padding: 26px 20px 30px; border-left: 1px solid var(--line); }
  .moves__item:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1280px) {
  .moves { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .moves__item:nth-child(2n + 1) { border-left: 1px solid var(--line); padding-left: 20px; }
  .moves__item:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}

/* Ткани */
.fabrics {
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.fabrics:focus-visible { outline-offset: -2px; }
.fabrics__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 78%);
  gap: var(--gap);
  padding-bottom: 8px;
}
.fabric { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Главное в карточке ткани — леггинсы этой линейки (ALO-004A), подпись «на фото» — под кадром. */
.fabric__shot { display: grid; gap: 6px; margin-bottom: 8px; color: inherit; text-decoration: none; }
.fabric__shot .look { --ratio: 4 / 5; }
.fabric__on { font-size: .75rem; line-height: 1.4; color: var(--muted); }
.fabric__shot:hover .fabric__on { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; }
@media (hover: hover) {
  .fabric__shot:hover .look__img { transform: scale(1.025); }
}
.fabric__for { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.fabric__more { justify-self: start; margin-top: 2px; }
.fabric__name { font-family: var(--sans); font-weight: 800; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); line-height: 1.05; letter-spacing: var(--track-head); text-transform: uppercase; }
.fabric__feel { font-weight: 600; font-size: .9375rem; line-height: 1.45; }
.fabric__body { color: var(--ink-2); font-size: .9375rem; }

.meter { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-block: 1px solid var(--line); font-size: .8125rem; }
.meter__label { color: var(--muted); font-weight: 600; }
.meter__bar { display: inline-flex; gap: 4px; }
.meter__bar i { display: block; width: 22px; height: 6px; background: var(--line); }
.meter__bar i.on { background: var(--ink); }
.meter__bar--unknown i { background: repeating-linear-gradient(135deg, var(--line) 0 3px, transparent 3px 6px); outline: 1px solid var(--line); outline-offset: -1px; }
.meter__value { margin-left: auto; font-weight: 700; }

.fabrics + .footnote { margin-top: 24px; }

@media (min-width: 640px) {
  .fabrics__list { grid-auto-columns: minmax(260px, 46%); }
}
@media (min-width: 1100px) {
  .fabrics { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .fabrics__list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Комплект в одном цвете */
.sets { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.swatches { margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; border: 0; min-width: 0; }
.swatches__legend { padding: 0; font-size: .9375rem; margin-bottom: 12px; }
.swatches__legend strong { font-weight: 700; }
.swatches__ru { color: var(--muted); }
.swatches__row { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 479px) {
  .sets .swatches__row { gap: 0; }
}
@media (max-width: 399px) {
  .sets .swatches__row { display: grid; grid-template-columns: repeat(4, 44px); gap: 4px 12px; }
}

.swatch { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.swatch:hover .swatch__dot { transform: scale(1.06); }
.swatch input:checked + .swatch__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--celadon); outline-offset: 5px; }

.sets__cta { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }

/* Вещи комплекта (ALO-004A): отдельные карточки пары в выбранном цвете — бра, леггинсы (+ третья вещь),
   каждая — ссылка на модель в этом цвете. Не склеенное фото: видно, что это отдельные вещи. */
.sets__art { min-width: 0; }
.sets__pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.sets__pieces--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.piece { min-width: 0; }
.piece__link { display: grid; gap: 3px; color: inherit; text-decoration: none; }
.piece__link .look { --ratio: 2 / 3; margin-bottom: 8px; }
.piece__cat { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.piece__name { font-weight: 600; font-size: clamp(.8125rem, .78rem + .2vw, .9375rem); line-height: 1.3; }
.piece__color { font-size: .75rem; color: var(--muted); }
.piece__link:hover .piece__name { text-decoration: underline; text-decoration-thickness: 1px; }
@media (hover: hover) {
  .piece__link:hover .look__img { transform: scale(1.025); }
}
.sets__hint { margin-top: 16px; font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 40em; }
/* Три вещи в ряд на узком телефоне — слишком мелко: третья уходит вниз, две первые остаются крупными. */
@media (max-width: 479px) {
  .sets__pieces--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sets__pieces--3 .piece:nth-child(3) { grid-column: span 2; }
  .sets__pieces--3 .piece:nth-child(3) .piece__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto) 1fr; column-gap: clamp(10px, 1.4vw, 18px); align-content: start; }
  .sets__pieces--3 .piece:nth-child(3) .look { grid-row: 1 / -1; margin-bottom: 0; }
  .sets__pieces--3 .piece:nth-child(3) .piece__cat { padding-top: 4px; }
}

@media (min-width: 1024px) {
  .sets { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Как это работает */
.steps { display: grid; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.step__num { font-family: var(--sans); font-weight: 300; font-size: 2.25rem; line-height: .9; color: var(--celadon); font-variant-numeric: lining-nums; }
.step__title { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.step__body p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.5;
}
.tag--us { background: var(--celadon-wash); border-color: transparent; color: var(--celadon-deep); }
.tag--chat { border-style: dashed; }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 0 0; border-top: 1px solid var(--line-strong); }
  .step__num { font-size: 3.25rem; }
}

/* Доверие (тёмная полоса) */
.trust { display: grid; gap: clamp(32px, 4vw, 56px); }
.trust__can { display: grid; gap: 0; border-top: 1px solid rgba(243, 240, 234, .2); }
.trust__can li { padding: 20px 0 22px; border-bottom: 1px solid rgba(243, 240, 234, .14); display: grid; gap: 6px; }
.trust__num { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--on-ink-muted); }
.trust__can h3 { font-family: var(--sans); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.trust__can p { color: var(--on-ink-muted); max-width: 30em; }

.trust__place {
  padding: clamp(24px, 3vw, 40px);
  background: var(--celadon-deep);
  display: grid;
  gap: 8px;
  align-content: start;
}
.trust__coords { font-size: .75rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--celadon-soft); }
.trust__city { font-family: var(--sans); font-weight: 800; font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: var(--track-head); text-transform: uppercase; }
.trust__place p:last-child { color: rgba(243, 240, 234, .86); max-width: 26em; }

.trust__cannot h3 { font: 700 .75rem var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 12px; }
.trust__cannot li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(243, 240, 234, .12); }
.trust__cannot li svg { margin-top: 4px; color: var(--on-ink-muted); }

@media (min-width: 1024px) {
  .trust { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px); }
  .trust__head { grid-column: 1 / span 8; }
  .trust__can { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); border-bottom: 1px solid rgba(243, 240, 234, .14); }
  .trust__can li { border-bottom: 0; padding: 26px 24px 30px 0; }
  .trust__place { grid-column: 1 / span 5; }
  .trust__cannot { grid-column: 7 / span 6; }
}

/* Размер */
.sizing { display: grid; gap: clamp(36px, 5vw, 72px); }
.sizing__steps { margin: clamp(24px, 3vw, 36px) 0; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.sizing__steps li { padding: 14px 0 16px 40px; border-bottom: 1px solid var(--line); position: relative; counter-increment: s; }
.sizing__steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--celadon); }
.sizing__steps h3 { font: 700 1rem/1.4 var(--sans); }
.sizing__steps p { color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }

.sizing__art { background: var(--paper-2); padding: clamp(20px, 3vw, 40px); display: grid; gap: 22px; align-content: start; border: 1px solid var(--line); }
.sizing__scale-label { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.size-scale { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--line-strong); }
.size-scale li { display: grid; place-items: center; min-height: 52px; font-weight: 700; font-size: .9375rem; letter-spacing: .04em; }
.size-scale li + li { border-left: 1px solid var(--line); }

.tape { position: relative; padding: 10px 12px 26px; background: var(--celadon-wash); }
.tape__svg { width: 100%; height: 40px; stroke: var(--celadon-deep); stroke-width: 1; }
.tape__nums { position: absolute; left: 12px; right: 12px; bottom: 6px; display: flex; justify-content: space-between; font-size: .6875rem; font-weight: 700; color: var(--celadon-deep); font-variant-numeric: tabular-nums; }

.measures li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.measures li span:first-child { font-weight: 700; }
.measures li span:last-child { color: var(--muted); text-align: right; }

@media (min-width: 1024px) {
  .sizing { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .sizing__art { margin-top: 48px; }
}

/* Вопросы */
.faq { display: grid; gap: clamp(24px, 4vw, 48px); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa:first-child { border-top: 1px solid var(--line-strong); }
.qa__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -.005em;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q .icon--plus { flex: none; transition: transform .3s var(--ease); }
.qa[open] .icon--plus { transform: rotate(45deg); }
.qa__a { padding: 0 0 22px; max-width: 42em; color: var(--ink-2); }

@media (min-width: 1024px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--head-h) + 32px); }
}

/* Финальный призыв */
.finale { background: var(--celadon-deep); color: var(--on-ink); padding-block: var(--section); }
.finale .eyebrow { color: var(--celadon-soft); }
.finale__title { margin-top: 14px; font-family: var(--sans); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; max-width: 14em; }
.finale__lead { margin: 20px 0 32px; font-size: var(--fs-lead); color: rgba(243, 240, 234, .84); max-width: 32em; }
.finale .btn--primary { background: var(--paper-2); color: var(--celadon-deep); }
.finale .btn--primary:hover { background: #fff; }
.finale .btn--ghost { color: var(--on-ink); border-color: rgba(243, 240, 234, .4); }
.finale .btn--ghost:hover { border-color: var(--on-ink); background: rgba(243, 240, 234, .06); }

/* Каналы связи */
.channels { display: flex; flex-wrap: wrap; gap: 10px; }
.channels--stack { display: grid; }
.channels--stack .btn { width: 100%; justify-content: flex-start; }
@media (max-width: 479px) {
  .channels--row { display: grid; }
  .channels--row .btn { width: 100%; }
}

/* Подвал */
.site-foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.site-foot__grid { display: grid; gap: 36px; }
.site-foot__about { margin-top: 14px; color: var(--ink-2); max-width: 28em; }
.site-foot__nav ul, .contact-list { margin-top: 12px; display: grid; gap: 2px; }
.site-foot__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; text-decoration: none; color: var(--ink-2); }
.site-foot__nav a:hover { color: var(--ink); text-decoration: underline; }
.contact-list a { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; padding: 4px 0; text-decoration: none; }
.contact-list__label { font-weight: 700; }
.contact-list__value { color: var(--muted); overflow-wrap: anywhere; }
.contact-list a:hover .contact-list__label { text-decoration: underline; }
.site-foot__legal { margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.site-foot__operator { font-size: .8125rem; color: var(--ink-2); max-width: 60em; }
.site-foot__docs ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-foot__docs a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.site-foot__docs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.site-foot__disclaimer { font-size: .8125rem; color: var(--muted); max-width: 60em; }
.site-foot__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .8125rem; color: var(--muted); }

@media (min-width: 1024px) {
  .site-foot__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--gap); }
}

/* Нижняя панель связи (только телефон) */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px -18px rgba(29, 27, 25, .3);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .4s var(--ease-out), visibility 0s linear .4s;
}
.dock.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease-out), visibility 0s; }
.dock__main { flex: 1; min-width: 0; padding-inline: 14px; white-space: nowrap; letter-spacing: .04em; }
/* Нижняя панель на узком экране: подпись «В заявку» вместо «Добавить в заявку» — не рвётся на две строки. */
.dock__short { display: none; }
@media (max-width: 459px) {
  .dock__long { display: none; }
  .dock__short { display: inline; }
}
.no-js .dock { display: none; }
@media (max-width: 767px) {
  body.has-dock .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .dock { display: none !important; }
}

/* Окно выбора cookie (ALO-RELEASE-001): только когда на площадке включена Яндекс Метрика (`part/analytics.twig`).
   Карточка у нижнего края, над содержимым; пока окно открыто, нижняя панель связи не показывается. */
.consent {
  position: fixed;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  z-index: 35;
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-inline: auto;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(29, 27, 25, .45);
}
.consent[hidden] { display: none; }
.consent--demo { position: static; margin: 0; }
.consent__title { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink); }
.consent__text { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; }
.has-consent .dock { visibility: hidden !important; }
@media (min-width: 768px) {
  .consent { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 860px; }
  .consent__actions { flex-direction: column; }
}
.site-foot__consent {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  border: 0; background: none; font: inherit; font-size: .875rem; color: var(--ink-2); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px;
}
.site-foot__consent:hover { color: var(--ink); text-decoration-color: currentColor; }

/* 404 */
.notfound__inner { display: grid; gap: 20px; justify-items: start; max-width: 760px; }
.notfound__actions { margin-top: 8px; }

/* ==========================================================================
   Компоненты ALO-002 (витрина компонентов /ui-kit): карточка, наличие, размер,
   подборка, поля формы, состояния.
   ========================================================================== */

.kit-section { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.kit-section h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); letter-spacing: var(--track-head); text-transform: uppercase; margin-bottom: 8px; }
.kit-section > .shell > p { color: var(--muted); max-width: 46em; margin-bottom: 24px; }
.kit-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kit-demo { display: inline-block; padding: 4px 10px; background: var(--celadon-wash); color: var(--celadon-deep); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kit-tokens { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kit-token { border: 1px solid var(--line); background: var(--paper-2); }
.kit-token span { display: block; height: 64px; }
.kit-token p { padding: 8px 10px; font-size: .75rem; line-height: 1.4; }
.kit-type > * + * { margin-top: 18px; }
.kit-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); }
.kit-looks > li { min-width: 0; }
.kit-looks__name { margin-top: 8px; font-size: .8125rem; color: var(--ink-2); }
.kit-looks code, .kit-map code { font-size: .75rem; color: var(--muted); }
.kit-sub { margin-top: clamp(32px, 4vw, 48px); font-family: var(--sans); font-weight: 700; font-size: 1.25rem; }
.kit-note { margin: 6px 0 16px; color: var(--muted); max-width: 46em; }
.kit-map .size-table { min-width: 560px; }
.kit-map td, .kit-map th { white-space: normal; }
@media (min-width: 768px) { .kit-looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .kit-looks { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.kit-merch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); align-items: start; }
.kit-merch .hero__shot .look, .kit-merch .tile__media .look { --ratio: 4 / 5; }
@media (min-width: 900px) { .kit-merch { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kit-label { margin-bottom: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }

/* ---------- Образ вещи: наше фото или собственный силуэт (A-015, A-008) ----------
   Силуэт — символ внешнего спрайта; стили страницы внутрь <use> не проходят, а наследуемые
   CSS-переменные проходят: --tone/--trim/--edge/--seam/--trim-seam/--look-bg задаёт сервер
   (Look::paint), при смене цвета — скрипт карточки. Переменные зарегистрированы (@property),
   поэтому смена расцветки перетекает плавно; при reduced-motion переходы гасит общее правило. */
@property --tone { syntax: '<color>'; inherits: true; initial-value: #B8B2A8; }
@property --trim { syntax: '<color>'; inherits: true; initial-value: #B8B2A8; }
@property --edge { syntax: '<color>'; inherits: true; initial-value: #5F5A53; }
@property --seam { syntax: '<color>'; inherits: true; initial-value: #77716A; }
@property --trim-seam { syntax: '<color>'; inherits: true; initial-value: #77716A; }
@property --look-bg { syntax: '<color>'; inherits: true; initial-value: #EFEBE4; }

.look {
  --sw: 1.1px;          /* контур */
  --seam-w: .8px;       /* швы */
  --stitch-w: .75px;    /* отстрочка */
  --dash: 2.4px 2px;
  --cord-w: 1.5px;
  --zip-w: 1.2px;
  --look-shadow: drop-shadow(0 8px 12px rgba(29, 27, 25, .14)) drop-shadow(0 1px 1px rgba(29, 27, 25, .1));
  position: relative;
  aspect-ratio: var(--ratio, 3 / 4);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--look-bg, var(--paper-2));
  /* мягкий свет за вещью — как съёмка на бумажном фоне, без «градиентных пятен» */
  background-image: radial-gradient(90% 70% at 50% 42%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 72%);
  color: var(--ink-2);
  transition: --tone .6s var(--ease), --trim .6s var(--ease), --edge .6s var(--ease), --seam .6s var(--ease),
    --trim-seam .6s var(--ease), --look-bg .6s var(--ease);
}
.look--pale { background-image: radial-gradient(90% 70% at 50% 42%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 72%); }
.look__art {
  /* Поле силуэта: под подписью сверху и над меткой снизу (--art-top/--art-bottom задаёт место показа) */
  position: absolute;
  top: var(--art-top, 0px);
  left: 0;
  width: 100%;
  height: calc(100% - var(--art-top, 0px) - var(--art-bottom, 0px));
  overflow: visible;
  filter: var(--look-shadow);
  transition: transform .5s var(--ease-out);
}
.look--sheen { --hi: .1; }
.look--sheen.look--dark { --hi: .045; }
.look--top { --art-top: 30px; }
.look--rib { --rib: .32; }
.look--heather .look__art { filter: url(#alo-heather) var(--look-shadow); }
.look__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 0; transition: transform .6s var(--ease-out); }
.look-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.look__top {
  position: absolute;
  top: clamp(10px, 1.2vw, 16px);
  left: clamp(10px, 1.2vw, 16px);
  right: clamp(10px, 1.2vw, 16px);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink-2);
}
.look__cap {
  position: absolute;
  left: clamp(12px, 1.4vw, 20px);
  right: clamp(12px, 1.4vw, 20px);
  bottom: clamp(12px, 1.4vw, 18px);
  display: grid;
  gap: 2px;
  color: var(--ink);
}
.look__title { font-family: var(--sans); font-weight: 700; font-size: clamp(1rem, .9rem + .45vw, 1.3rem); line-height: 1.15; }
.look__sub { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--off); }
/* Фото (ALO-002C): светло-серая подложка студийной съёмки, без «бумажного света» силуэта; подписи
   поверх кадра не кладём — цвет и название стоят в тексте карточки. */
.look--photo { background: #EEECE9; background-image: none; }
.look--photo .look__top, .look--photo .look__cap { display: none; }

/* Сетка каталога (PLP) */
.plp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px) var(--gap); }
@media (min-width: 900px) { .plp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .plp { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Карточка товара */
.card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.card__media { position: relative; }
.card__media .look { --ratio: 2 / 3; --art-top: 30px; --art-bottom: 44px; }
.card__media .look__top { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) {
  .card:hover .look__art { transform: translateY(-4px); }
  .card:hover .look__img { transform: scale(1.025); }
}
.card__flag { justify-self: start; margin-top: 2px; padding: 0; background: none; font-size: .75rem; font-weight: 600; color: var(--muted); }
.card__body { padding-top: 12px; display: grid; gap: 4px; }
.card__line { font-size: .6875rem; font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--sans); font-weight: 600; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); line-height: 1.3; letter-spacing: .005em; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.card__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 2px; font-size: .75rem; color: var(--muted); }
.card__dots { display: inline-flex; align-items: center; gap: 4px; }
.card__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.card__dots small { font-size: .75rem; color: var(--muted); line-height: 12px; margin-left: 2px; }
.card__count { white-space: nowrap; }
.card__demo { position: absolute; top: 36px; left: 10px; z-index: 2; max-width: calc(100% - 20px); }
.card:hover .card__name a { text-decoration: underline; text-decoration-thickness: 1px; }

.card--off .look { filter: saturate(.25) brightness(1.04); }
@media (max-width: 767px) {
  .card__media .look { --art-top: 28px; --art-bottom: 46px; }
}

/* Сигнал наличия у источника — не склад */
.avail { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; background: var(--paper-2); font-size: .75rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--unknown); flex: none; }
.avail--ok::before { background: var(--ok); }
.avail--low::before { background: var(--low); }
.avail--off::before { background: var(--off); }
.avail--unknown::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--unknown); }

/* Таблица размеров */
.size-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.size-table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; min-width: 420px; }
.size-table caption { text-align: left; padding: 12px 14px; font-size: .75rem; color: var(--muted); caption-side: bottom; }
.size-table th, .size-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-size: .6875rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.size-table tbody th { font-weight: 700; }

/* Подборка (корзина-заявка) */
.basket { border-top: 1px solid var(--line-strong); }
.basket__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.basket__line .look { --ratio: 3 / 4; --look-shadow: drop-shadow(0 3px 4px rgba(29, 27, 25, .14)); }
.basket__line .look__art { top: -6%; left: -10%; width: 120%; height: 112%; }
.basket__name { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.basket__meta { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.basket__remove { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink-2); font: 600 .8125rem var(--sans); text-decoration: underline; cursor: pointer; }
.basket__sum { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; }
.basket__sum span:last-child { text-align: right; color: var(--muted); font-weight: 600; }

/* Состояния */
.state { padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--line-strong); display: grid; gap: 10px; justify-items: start; }
.state h3 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; }
.state p { color: var(--ink-2); max-width: 30em; }
.skeleton .look, .skeleton__line { background: linear-gradient(100deg, var(--stone) 30%, var(--paper-2) 50%, var(--stone) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.skeleton__line { height: 12px; margin-top: 10px; }
.skeleton__line--short { width: 50%; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Поля формы. Шрифт полей не мельче 16 px — иначе iOS Safari увеличивает страницу. */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: .875rem; font-weight: 700; }
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__error { font-size: .8125rem; color: var(--off); font-weight: 600; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 112px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--celadon); box-shadow: 0 0 0 3px var(--celadon-wash); }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--off); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--celadon); }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 48px; font-weight: 700; font-size: .875rem; }
.segmented label + label span { border-left: 1px solid var(--line); }
.segmented input:checked + span { background: var(--ink); color: var(--paper-2); }
.segmented input:focus-visible + span { outline: 2px solid var(--celadon); outline-offset: -4px; }

/* ==========================================================================
   Каталог и карточка модели (ALO-002A). Компоненты — те же в /ui-kit.
   ========================================================================== */

.page-top { padding-top: clamp(12px, 2vw, 24px); }

/* Хлебные крошки: на телефоне текущий пункт не повторяем — он же заголовок страницы */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: .8125rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--stone-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); overflow-wrap: break-word; }
@media (max-width: 599px) {
  .crumbs li:last-child { display: none; }
}

/* Текстовая ссылка-действие: цель нажатия 44 px при строчном виде */
.textlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .28em;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.textlink:hover { color: var(--ink); text-decoration-color: currentColor; }
.textlink .icon { width: 16px; height: 16px; }

/* Шапка списка */
.cat-head { padding-bottom: clamp(8px, 1.4vw, 16px); }
.cat-head__grid { display: grid; gap: 28px; margin-top: clamp(8px, 1.6vw, 20px); }
.cat-head__grid > * { min-width: 0; }
.cat-head__title {
  margin-top: 14px;
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -.03em;
}
.cat-head__title em { font-style: normal; color: var(--celadon); white-space: nowrap; }
.cat-head__lead { margin-top: clamp(16px, 2vw, 24px); }

.fresh { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-size: .8125rem; color: var(--muted); }
.fresh::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); translate: 0 -1px; }
.fresh--failed { color: var(--ink-2); }
.fresh--failed::before { background: var(--low); }

.ask { display: grid; gap: 10px; justify-items: start; align-content: start; padding: clamp(20px, 2.4vw, 32px); background: var(--paper-2); border: 1px solid var(--line); }
.ask__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; letter-spacing: var(--track-head); text-transform: uppercase; }
.ask__body { color: var(--ink-2); font-size: .9375rem; max-width: 26em; }
.ask__cta { margin-top: 6px; }
@media (max-width: 599px) {
  .ask { padding: 18px 18px 20px; gap: 8px; }
  .ask__title { font-size: 1.35rem; }
  .ask__body { font-size: .875rem; }
  .ask__cta { width: 100%; }
}
@media (min-width: 1024px) {
  .cat-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap) clamp(40px, 5vw, 96px); align-items: end; }
}

/* Чипы: категории (лента) и ткань */
.cat-filters > * { min-width: 0; }
.cat-filters { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; line-height: 1.2; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper-2); }
.chip__count { font-size: .75rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-current] .chip__count { color: var(--on-ink-muted); }
.chip--sm { padding: 0 14px; border-color: var(--line); font-weight: 500; }
.chip--sm[aria-current] { background: var(--celadon-wash); border-color: var(--celadon); color: var(--celadon-deep); font-weight: 700; }
.chip--sm[aria-current] .chip__count { color: var(--celadon-deep); }
.chips--fabric { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.chips__label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
/* Лента категорий на телефоне прокручивается внутри себя, страница вбок не уезжает */
@media (max-width: 1023px) {
  .chips--scroll ul {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .chips--scroll ul::-webkit-scrollbar { display: none; }
  .chips--scroll li { flex: none; }
}

/* Группы и сетка */
.cat-body { padding-block: clamp(28px, 4vw, 56px) var(--section-tight); }
.group + .group { margin-top: clamp(56px, 7vw, 104px); }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: clamp(16px, 2vw, 28px); padding-top: 14px; border-top: 1px solid var(--line-strong); }
.group__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.05; letter-spacing: var(--track-head); text-transform: uppercase; }
.group__count { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; vertical-align: .35em; margin-left: 6px; }
.cat-empty { margin-top: 8px; }

/* Финальная полоса списка */
.cat-close { background: var(--stone); padding-block: clamp(48px, 6vw, 96px); }
.cat-close__grid { display: grid; gap: 24px; }
.cat-close__grid > * { min-width: 0; }
.cat-close__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.04; letter-spacing: var(--track-head); text-transform: uppercase; }
.cat-close__body { margin-top: 14px; color: var(--ink-2); max-width: 34em; }
@media (min-width: 1024px) {
  .cat-close__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--gap) 64px; }
  .cat-close .channels { justify-content: flex-end; }
}

/* Цена «всё включено» в рублях (A-062): число и знак не разрываются */
.price { display: grid; gap: 2px; margin-top: 6px; }
.price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.price__value { font-weight: 700; font-size: 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__note { font-size: .75rem; color: var(--muted); }
.price--page .price__value { font-family: var(--sans); font-weight: 800; font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); line-height: 1.05; letter-spacing: -.015em; }
.price--page .price__note { margin-top: 4px; font-size: .8125rem; }
.price--page { margin-top: 0; }

/* Карточка модели */
.pdp { display: grid; gap: clamp(20px, 3vw, 40px); padding-top: clamp(4px, 1vw, 12px); padding-bottom: clamp(40px, 6vw, 88px); }
.pdp > * { min-width: 0; }
.pdp__stage { position: relative; }
.pdp__look {
  --ratio: 5 / 4;
  --sw: 1.4px;
  --seam-w: 1px;
  --stitch-w: .9px;
  --dash: 3.2px 2.6px;
  --cord-w: 2px;
  --zip-w: 1.6px;
  --look-shadow: drop-shadow(0 18px 24px rgba(29, 27, 25, .15)) drop-shadow(0 2px 2px rgba(29, 27, 25, .1));
}
/* Вещь — над подписью цвета: нижняя полоса кадра остаётся под курсив с названием цвета */
.pdp__look { --art-top: 2%; --art-bottom: 12%; }
.pdp__look.look--sheen { --hi: .075; }
.pdp__look.look--sheen.look--dark { --hi: .035; }
.pdp__look .look__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.pdp__look .look__sub { margin-top: 4px; }
.pdp__demo { position: absolute; top: 40px; left: clamp(10px, 1.2vw, 16px); z-index: 2; max-width: calc(100% - 32px); }
.pdp__tone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.pdp__source { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .28em; }
.pdp__source:hover { color: var(--ink); text-decoration-color: currentColor; }

.pdp__info { display: grid; gap: 24px; align-content: start; }
.pdp__line { margin-bottom: -14px; }
.pdp__title { font-family: var(--sans); font-weight: 700; font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.pdp__buy { display: grid; gap: 14px; justify-items: start; padding: 20px 0; border-block: 1px solid var(--line); }

.notice { display: grid; gap: 6px; padding: 16px 18px; background: var(--paper-2); border-left: 3px solid var(--off); }
.notice__title { font-weight: 700; }
.notice p { font-size: .9375rem; color: var(--ink-2); }
.notice--gone { gap: 12px; padding: clamp(20px, 2.4vw, 28px); }
.notice--gone .notice__title { font-family: var(--sans); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; }

.pick { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pick__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 0; font-size: .9375rem; }
.pick__label { font-weight: 700; }
.pick__head strong { font-weight: 600; }
.pick__meta { font-size: .8125rem; color: var(--muted); }
.pick__swatches { display: flex; flex-wrap: wrap; gap: 2px; }
.pick .swatch { text-decoration: none; }
.swatch__dot { position: relative; }
.swatch[aria-current] .swatch__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.swatch:focus-visible { outline-offset: -1px; }
.swatch--gone .swatch__dot { opacity: .72; }
/* Двухцветная расцветка («Navy/White»): половина кружка — цвет отделки */
.pick .swatch__dot, .card__dots i { background: linear-gradient(135deg, var(--sw) 50%, var(--sw2, var(--sw)) 50%); }
.swatch--gone .swatch__dot::after { content: ''; position: absolute; left: calc(50% - .75px); top: -3px; bottom: -3px; width: 1.5px; background: var(--ink); transform: rotate(45deg); }

.segments { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.segments__item { flex: 1 1 auto; display: grid; place-items: center; min-height: 48px; padding: 0 14px; font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.segments__item + .segments__item { border-left: 1px solid var(--line); }
.segments__item:hover { background: rgba(29, 27, 25, .04); }
.segments__item[aria-current] { background: var(--ink); color: var(--paper-2); }

/* Размер: есть / нет на сайте бренда (штриховка, выбрать можно) / уточним (пунктир) */
.sizes { gap: 12px; }
.sizes__set { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sizes__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 6px; }
.size { position: relative; display: block; }
.size input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.size__box {
  display: grid; place-items: center; min-height: 48px;
  border: 1px solid var(--line-strong); background: var(--paper-2);
  font-weight: 700; font-size: .875rem; letter-spacing: .03em;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.size:hover .size__box { border-color: var(--ink); }
.size input:checked + .size__box { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.size input:focus-visible + .size__box { outline: 2px solid var(--celadon); outline-offset: 2px; }
.size--out .size__box { color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px), var(--paper); }
.size--out input:checked + .size__box { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(246, 244, 240, .2) 6px 7px), var(--ink-2); color: var(--paper-2); }
.size--unknown .size__box { border-style: dashed; background: transparent; color: var(--ink-2); }
.size--unknown input:checked + .size__box { border-style: solid; }
.sizes__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .75rem; color: var(--muted); }
.sizes__legend li { display: inline-flex; align-items: center; gap: 6px; }
.sizes__key { width: 16px; height: 12px; border: 1px solid var(--line-strong); background: var(--paper-2); }
.sizes__key--out { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line-strong) 3px 4px); }
.sizes__key--unknown { border-style: dashed; background: transparent; }
.sizes__status { font-size: .875rem; color: var(--ink-2); min-height: 1.6em; }
.sizes__row.is-fresh { animation: sizes-in .28s var(--ease-out); }
@keyframes sizes-in { from { opacity: .35; } }
.sizes__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: -6px; }
.sizes__apply { justify-self: start; }

.pdp__act { display: grid; gap: 12px; }
.pdp__act .channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pdp__act .channels li:first-child { grid-column: 1 / -1; }
.pdp__act .channels .btn { width: 100%; }
.pdp__act .channels li:first-child .btn { --btn-h: 56px; font-size: 1rem; }
.pdp__act-note { font-size: .875rem; color: var(--muted); max-width: 32em; }

/* Галерея выбранного цвета (ALO-002C). Телефон: лента со snap, кадр 86 % ширины — край следующего
   подсказывает, что листается; планшет — по два кадра; с 1024 px — сетка в две колонки. Кадр 2:3,
   как снимает бренд; размеры в разметке держат место до загрузки (без сдвига вёрстки). */
.gallery { position: relative; }
.gallery__track {
  position: relative;
  display: flex;
  gap: 6px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -2px; }
.gallery__slide { flex: 0 0 86%; aspect-ratio: 2 / 3; scroll-snap-align: start; background: #EEECE9; }
.gallery__slide:only-child { flex-basis: 100%; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(246, 244, 240, .9); color: var(--ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.pdp__look.is-standby { display: none; }

@media (min-width: 640px) and (max-width: 1023px) {
  .pdp__look { --ratio: 16 / 10; }
  .gallery__slide { flex-basis: calc(50% - 3px); }
}
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
  .pdp:not(.pdp--gallery) .pdp__media { position: sticky; top: calc(var(--head-h) + 20px); }
  .gallery__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .gallery__slide:only-child { grid-column: 1 / -1; }
  .gallery__count { display: none; }
  /* Образ вещи — во весь экран по высоте, но подпись цвета и ссылка на бренд остаются на первом экране */
  .pdp__look { aspect-ratio: auto; height: clamp(420px, calc(100svh - var(--head-h) - 180px), 820px); }
  .pdp__look { --art-top: 4%; --art-bottom: 11%; }
}

/* О модели и откуда данные */
.pdp-more { background: var(--paper-2); border-block: 1px solid var(--line); }
.pdp-more__grid { display: grid; gap: clamp(40px, 5vw, 72px); }
.pdp-more__grid > * { min-width: 0; }
.pdp-more__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.08; letter-spacing: var(--track-head); text-transform: uppercase; margin-bottom: clamp(16px, 2vw, 24px); }
.facts { margin: 0; border-top: 1px solid var(--line-strong); }
.facts__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.facts dd .textlink { margin-block: -12px; margin-left: 8px; font-size: .8125rem; vertical-align: middle; }
.origin { display: grid; gap: 14px; color: var(--ink-2); max-width: 36em; }
.origin__muted { font-size: .875rem; color: var(--muted); }
@media (min-width: 1024px) {
  .pdp-more__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) clamp(48px, 6vw, 112px); }
}

.related .group__head { margin-top: 0; }


/* Пункт навигации текущего раздела */
.site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { color: var(--ink); }

/* ==========================================================================
   Движение: появление при прокрутке. Без скрипта и при reduced-motion — всё видно сразу.
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Заявка (ALO-002B): ссылка в шапке, «Добавить в заявку» на карточке, «Моя заявка»,
   вещь вне каталога, форма связи, «заявка принята», текст согласия.
   Те же компоненты /ui-kit: btn, field/input, check, segmented, state, notice, look.
   ========================================================================== */

/* --- Шапка: «Заявка» с числом позиций --- */
.req-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 10px; justify-content: center;
  color: var(--ink); text-decoration: none; font: 600 .875rem var(--sans);
}
.req-link__label { display: none; }
.req-link__count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 9px; background: var(--celadon); color: var(--paper-2);
  font-size: .6875rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.req-link__count[hidden] { display: none; }
.req-link[aria-current] { color: var(--celadon); }
.req-link.is-bumped .req-link__count { animation: req-bump .45s var(--ease-out); }
@keyframes req-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (min-width: 1024px) {
  .req-link__label { display: inline; }
  .req-link__count { position: static; }
}

/* --- Карточка: «Добавить в заявку» --- */
.pdp__add { display: grid; }
.pdp__add-btn { width: 100%; }
.pdp__set { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; background: var(--celadon-wash); font-size: .9375rem; color: var(--ink); overflow-wrap: break-word; }
.pdp__set-mark { font-weight: 800; color: var(--celadon); }
.pdp__ask { display: grid; gap: 8px; padding-top: 6px; }
.pdp__ask-label { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.pdp__act .channels--quiet { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__act .channels--quiet li:first-child { grid-column: auto; }
.pdp__act .channels--quiet .btn, .pdp__act .channels--quiet li:first-child .btn { width: auto; --btn-h: 44px; font-size: .875rem; }
.channels--quiet { display: flex; flex-wrap: wrap; gap: 8px; }

.added { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; border: 1px solid var(--celadon-soft); background: var(--paper-2); }
.added--error { border-color: var(--off); }
.added--error .added__title { color: var(--off); }
.added__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; overflow-wrap: break-word; }
.added__title .icon { color: var(--celadon); }
.added__what { font-weight: 600; color: var(--ink-2); }
.added__offer { font-size: .875rem; color: var(--ink-2); }
.added__pairs { display: grid; gap: 6px; font-size: .9375rem; }
.added__cat { color: var(--muted); font-size: .8125rem; }
.added:not([hidden]) { animation: req-in .35s var(--ease-out); }
@keyframes req-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* --- «Моя заявка» --- */
.req { display: grid; gap: clamp(24px, 3vw, 40px); padding-bottom: clamp(48px, 7vw, 112px); }
.req > * { min-width: 0; }
.req__head { display: grid; gap: 10px; }
.req__title { font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.req__count { font-family: var(--sans); font-size: .4em; font-weight: 700; vertical-align: .55em; color: var(--muted); }
.req__lead { color: var(--ink-2); max-width: 36em; font-size: var(--fs-lead); }
.req__main { display: grid; gap: clamp(24px, 3vw, 36px); min-width: 0; }
.req-flash { display: flex; gap: 8px; align-items: center; justify-self: start; padding: 10px 14px; background: var(--celadon-wash); font-weight: 600; font-size: .9375rem; }
.req-flash--error { background: #F3E3DF; color: var(--off); }

.req-block + .req-block { margin-top: 12px; }
.req-block--set { padding: 0 14px; border: 1px solid var(--celadon-soft); background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box; }
.req-block__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 12px 0 2px; font-size: .875rem; color: var(--ink-2); }
.req-block__tag { font-weight: 800; color: var(--celadon); letter-spacing: .02em; }
.req-lines { border-top: 1px solid var(--line-strong); }
.req-block--set .req-lines { border-top-color: var(--line); }
.req-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 16px); }
.req-block--set .req-line:last-child { border-bottom: 0; }
.req-line:target { animation: req-flash 1.6s var(--ease-out); }
@keyframes req-flash { 0% { background: var(--celadon-wash); } 100% { background: transparent; } }
.req-line__media { align-self: start; }
.req-line__media .look { --ratio: 3 / 4; --look-shadow: drop-shadow(0 3px 4px rgba(29, 27, 25, .14)); }
.req-line__media .look--photo .look__img { object-position: 50% 22%; }
.req-line__media .look__art { top: -6%; left: -10%; width: 120%; height: 112%; }
.req-line__shot { display: block; width: 76px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stone); border: 1px solid var(--line); }
.req-line__icon { display: grid; place-items: center; width: 76px; aspect-ratio: 3 / 4; background: var(--stone); color: var(--ink-2); }
.req-line__body { display: grid; gap: 4px; min-width: 0; }
.req-line__eyebrow { font-size: .6875rem; }
.req-line__name { font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.req-line__name a { display: inline-block; padding-block: 12px; margin-block: -12px; color: inherit; text-decoration: none; }
.req-line__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.req-line__meta { font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.req-line__meta b { color: var(--ink); }
.req-line__price { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; margin-top: 2px; }
.req-line__amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.req-line__note { font-size: .8125rem; color: var(--muted); }
.req-line__comment { font-size: .875rem; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; padding-left: 10px; border-left: 2px solid var(--line); }
.req-line__state { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ok); }
.req-line__state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.req-line__state--out { color: var(--off); }
.req-line__state--out i { background: repeating-linear-gradient(135deg, currentColor 0 2px, transparent 2px 4px); border: 1px solid currentColor; }
.req-line__state--unknown { color: var(--unknown); }
.req-line__state--unknown i { background: transparent; border: 1px dashed currentColor; }
.req-line__problem { margin-top: 4px; padding: 8px 10px; background: #F3E3DF; color: var(--off); font-size: .875rem; font-weight: 600; }
.req-line--problem .req-line__media { opacity: .5; }
.req-line__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; }
.req-line__tool { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--ink-2); font: 600 .8125rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.req-line__tool:hover { color: var(--ink); }
.req-line__pick { align-items: center; min-height: 44px; font-weight: 600; font-size: .8125rem; }
.req-line__pick input { margin: 0; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.qty__btn:hover:not(:disabled) { background: rgba(29, 27, 25, .05); }
.qty__btn:disabled { color: var(--stone-2); cursor: default; }
.qty__value { min-width: 52px; text-align: center; font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }

.req-set { display: grid; gap: 10px; justify-items: start; margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--line-strong); }
.req-set__hint { font-size: .875rem; color: var(--ink-2); max-width: 34em; }

.req-sum { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.req-sum__row { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; }
.req-sum__ref { font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.req-sum__total { font-size: 1.0625rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.req-sum__note { font-size: .8125rem; color: var(--muted); max-width: 36em; }
.req-empty { justify-items: start; }

/* --- Вещь вне каталога --- */
.req-ext { scroll-margin-top: calc(var(--head-h) + 16px); }
.req-ext__box { border: 1px solid var(--line-strong); background: var(--paper-2); }
.req-ext__summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 14px; align-items: start; padding: 18px; cursor: pointer; list-style: none; }
.req-ext__summary::-webkit-details-marker { display: none; }
.req-ext__summary:focus-visible { outline: 2px solid var(--celadon); outline-offset: -2px; }
.req-ext__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--celadon-wash); color: var(--celadon); }
.req-ext__title { display: block; font-family: var(--sans); font-weight: 800; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.15; letter-spacing: var(--track-head); text-transform: uppercase; }
.req-ext__lead { display: block; margin-top: 6px; color: var(--ink-2); font-size: .9375rem; }
.req-ext__chev { padding-top: 10px; color: var(--ink-2); transition: transform .25s var(--ease); }
.req-ext__box[open] .req-ext__chev { transform: rotate(45deg); }
.req-ext__form { max-width: none; padding: 0 18px 20px; }
.req-ext__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.req-ext__qty { grid-column: 1 / -1; max-width: 120px; }
.req-ext__submit { justify-self: start; }
@media (min-width: 600px) {
  .req-ext__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 110px; }
  .req-ext__qty { grid-column: auto; max-width: none; }
}
.req-error { border-left-color: var(--off); color: var(--off); font-weight: 600; }

.shot { position: relative; display: block; cursor: pointer; }
.shot__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.shot__face { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; border: 1px dashed var(--line-strong); background: var(--paper); color: var(--ink-2); font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.shot:hover .shot__face { border-color: var(--ink-2); }
.shot__input:focus-visible + .shot__face { outline: 2px solid var(--celadon); outline-offset: 2px; }
.shot__preview { display: flex; align-items: center; gap: 14px; }
.shot__preview[hidden] { display: none; }
.shot__preview img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); background: var(--stone); }
.no-js .shot__input { position: static; opacity: 1; height: auto; padding: 10px 0; }
.no-js .shot__face { display: none; }

/* --- Форма связи --- */
.req-form { max-width: none; padding: clamp(20px, 2.4vw, 28px); background: var(--paper-2); border: 1px solid var(--line); }
.req-form__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.1; letter-spacing: var(--track-head); text-transform: uppercase; }
.req-form__lead { color: var(--ink-2); font-size: .9375rem; }
.req-form__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.req-form__set legend { margin-bottom: 6px; }
.req-form__submit { width: 100%; }
.req-form__note { font-size: .8125rem; color: var(--muted); }
.req-form [data-off] { display: none; }
.no-js .req-form [data-off] { display: grid; }
.req-preview { color: var(--muted); }
.req-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }
.req-side-empty { display: grid; gap: 12px; justify-items: start; padding: clamp(20px, 2.4vw, 28px); border: 1px dashed var(--line-strong); }
[data-once][aria-busy='true'] { opacity: .6; pointer-events: none; }

@media (min-width: 1024px) {
  .req { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .req__head { grid-column: 1 / -1; }
  .req__side { position: sticky; top: calc(var(--head-h) + 20px); }
  .req-line { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
  .req-line__shot, .req-line__icon { width: 92px; }
}

/* --- «Заявка принята» --- */
.req-done { padding-block: clamp(28px, 5vw, 80px) clamp(56px, 8vw, 128px); }
.req-done__card { display: grid; gap: 16px; justify-items: start; max-width: 680px; }
.req-done__card .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--celadon); }
.req-done__title { font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.req-done__number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--line); }
.req-done__number span { font-size: .875rem; color: var(--muted); font-weight: 600; }
.req-done__number b { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.req-done__lead { color: var(--ink-2); font-size: var(--fs-lead); max-width: 34em; }
.req-done__sub { margin-top: 10px; font-size: .8125rem; text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--muted); }
.req-done__steps { display: grid; gap: 12px; }
.req-done__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.req-done__n { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--celadon); color: var(--celadon); font-weight: 800; font-size: .875rem; }
.req-done__chat { margin-top: 8px; font-weight: 600; }
.req-done__more { margin-top: 8px; }

/* --- Правовой документ (ALO-003): оферта, политика, согласие, cookie, реквизиты --- */
.doc { display: grid; gap: 14px; max-width: 760px; padding-bottom: clamp(48px, 7vw, 112px); }
.doc__title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: var(--track-head); text-transform: uppercase; }
.doc__preview { border-left-color: var(--low); }
.doc__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink); max-width: 38em; }
.doc__p { color: var(--ink-2); max-width: 40em; }
.doc__section { display: grid; gap: 10px; padding-top: clamp(14px, 2vw, 22px); scroll-margin-top: calc(var(--head-h) + 12px); }
.doc__h { font-family: var(--sans); font-weight: 800; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase; }
.doc__list { display: grid; gap: 6px; max-width: 40em; padding-left: 1.2em; color: var(--ink-2); list-style: disc; }
.doc__list li::marker { color: var(--stone-2); }
/* Реквизиты: метка над значением на телефоне, две колонки с 600 px. Значение не рвётся посреди номера. */
.doc__dl { display: grid; border-top: 1px solid var(--line); max-width: 40em; }
.doc__row { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc__row dt { font-size: .8125rem; color: var(--muted); }
.doc__row dd { margin: 0; color: var(--ink); overflow-wrap: break-word; }
@media (min-width: 600px) {
  .doc__row { grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 16px; }
}
.doc__meta { font-size: .8125rem; color: var(--muted); }
.doc__more { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.doc__more ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.doc__more a { display: inline-flex; align-items: center; min-height: 44px; }
/* Страница документа (ALO-007, замечание владельца): колонка — по центру страницы, а не у левого края широкого контейнера;
   абзацы, вводный текст и перечни — по ширине колонки с 600 px (≈ 75–85 знаков в строке). Переносы — как везде, только целыми
   словами (A-031, без `hyphens: auto`). На телефоне (≈ 40 знаков) — по левому краю: реквизиты и ссылки на закон («ИНН 507560375785»,
   «№ 152-ФЗ») — неразрывные блоки типографа, и по ширине строка с ними разъезжается «дырами». Таблица реквизитов и строка
   редакции не выравниваются по ширине: это пары «метка — значение», а не сплошной текст. */
.doc-page { max-width: 760px; margin-inline: auto; }
.doc-page .doc { max-width: none; }
.doc-page :is(.doc__lead, .doc__p, .doc__list, .doc__dl) { max-width: none; }
@media (min-width: 600px) {
  .doc-page :is(.doc__lead, .doc__p, .doc__list li, .doc__preview p) { text-align: justify; }
}
.req-form__legal { font-size: .8125rem; color: var(--muted); }

.ask__chat { font-size: .875rem; }
.cat-close__act { display: grid; gap: 12px; justify-items: start; }
@media (prefers-reduced-motion: reduce) {
  .req-link.is-bumped .req-link__count, .added:not([hidden]), .req-line:target { animation: none; }
}

/* ==========================================================================
   Страницы выбора (BUYOUT-SEO-006): /tkani, /tkani/<линейка>, /razmery, факты модели
   Компоненты — в /ui-kit: «Коротко», сравнение линеек, карточка линейки, таблица бренда.
   ========================================================================== */
.section--paper2 { background: var(--paper-2); border-block: 1px solid var(--line); }
.guide-head { padding-bottom: clamp(32px, 4vw, 56px); }
.guide-head__eyebrow { margin-top: clamp(14px, 2vw, 24px); }
.guide-head__title {
  margin-top: 12px; max-width: 18ch;
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 1.25rem + 3.2vw, 4.25rem); line-height: 1; letter-spacing: -.03em;
}
.guide-h2 {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: var(--track-head);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.08; margin-bottom: clamp(16px, 2vw, 24px);
}
.guide-h3 { font-family: var(--sans); font-weight: 800; font-size: 1.0625rem; line-height: 1.25; margin: clamp(24px, 3vw, 36px) 0 12px; }
.guide-note { margin-top: 18px; color: var(--ink-2); font-size: .9375rem; max-width: 46em; }
.guide-note .textlink { margin-left: 4px; }
.guide-body { margin-top: 20px; color: var(--ink-2); max-width: 40em; }
.guide-cols { display: grid; gap: clamp(40px, 5vw, 72px); }
.guide-cols > * { min-width: 0; }
@media (min-width: 1024px) {
  .guide-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap) clamp(48px, 6vw, 112px); }
}

/* «Коротко»: прямой ответ под заголовком — линия цвета действия слева, текст крупнее основного. */
.answer { margin-top: clamp(18px, 2.4vw, 28px); padding: 4px 0 4px clamp(16px, 2vw, 24px); border-left: 3px solid var(--celadon); max-width: 46em; }
.answer__text { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.answer__source { margin-top: 10px; font-size: .8125rem; color: var(--muted); }

/* Сравнение линеек: таблица с 1024 px; уже — каждая линейка карточкой «метка — значение» (страница вбок не уезжает). */
.cmp { border-top: 1px solid var(--line-strong); }
.cmp__table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cmp__table th, .cmp__table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.cmp__table thead th { font-size: .6875rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cmp__table tbody th { font-weight: 800; }
.cmp__name { font-family: var(--sans); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: var(--track-head); color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.cmp__name:hover { color: var(--celadon); }
@media (max-width: 1023px) {
  .cmp__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; }
  .cmp__table tr { padding: 18px 0 8px; border-bottom: 1px solid var(--line-strong); }
  .cmp__table tbody th { padding: 0 0 8px; border: 0; }
  .cmp__table td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
  .cmp__table td:last-child { border-bottom: 0; }
  .cmp__table td::before { content: attr(data-label); font-size: .8125rem; color: var(--muted); }
}
@media (min-width: 1024px) {
  .cmp__table th:first-child { width: 12%; }
  .cmp__table td:nth-child(2) { width: 10%; }
}

/* Карточки линеек */
.line-cards { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .line-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.line-card { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.4vw, 28px); background: var(--paper); border: 1px solid var(--line); }
.line-card__meta { font-size: .8125rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.line-card__name { font-family: var(--sans); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.05; text-transform: uppercase; letter-spacing: var(--track-head); }
.line-card__name a { color: inherit; text-decoration: none; }
.line-card__name a:hover { color: var(--celadon); }
.line-card__body { color: var(--ink-2); }
.line-card__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.line-card__more { justify-self: start; }

/* Отличия и советы: имя — плотной меткой, текст — рядом */
.differs { display: grid; border-top: 1px solid var(--line-strong); }
.differs li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.differs__name { font-weight: 800; color: var(--ink); margin-right: 6px; }
.differs__name .textlink { margin-block: -12px; }

/* Как снять мерки */
.measure { display: grid; gap: 10px; counter-reset: m; }
.measure li { position: relative; padding-left: 40px; color: var(--ink-2); }
.measure li::before { counter-increment: m; content: counter(m); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .75rem; font-weight: 800; color: var(--ink); }
.measure strong { color: var(--ink); }
.guide-cols .btn { margin-top: 22px; }

/* Таблицы бренда: первая колонка закреплена, прокрутка — внутри блока */
.guide-chart + .guide-chart { margin-top: clamp(28px, 4vw, 48px); }
.guide-chart .guide-h3:first-child { margin-top: 0; }
.guide-chart .footnote { margin-top: 10px; }
.size-table--brand { min-width: 640px; }
.size-table--brand td { font-variant-numeric: tabular-nums; }
.size-table--brand tbody th, .size-table--brand thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper-2); white-space: normal; min-width: 9.5em; }
.size-table--brand tbody th { background: var(--paper-2); box-shadow: 1px 0 0 var(--line); }
.size-table--short { min-width: 0; max-width: 420px; }
.size-table-wrap:focus-visible { outline: 2px solid var(--celadon); outline-offset: 2px; }

/* Факты модели (BUYOUT-SEO-006): вводный абзац под заголовком и строка «Размер» с советом бренда */
.pdp__intro { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; max-width: 38em; }
.facts dd .facts__sub { display: block; margin-top: 4px; font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.pdp-more__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 18px; }

/* Вводный текст категории (BUYOUT-SEO-006): два абзаца слева, линейки и ссылки справа */
.cat-intro { display: grid; gap: 20px; margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(18px, 2vw, 24px); border-top: 1px solid var(--line); }
.cat-intro > * { min-width: 0; }
.cat-intro__text { display: grid; gap: 12px; color: var(--ink-2); max-width: 44em; }
.cat-intro__side { display: grid; gap: 10px; align-content: start; }
.cat-intro__side .pdp-more__links { margin-top: 4px; }
@media (min-width: 1024px) {
  .cat-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap) clamp(40px, 5vw, 96px); }
}
.cat-guide { padding-bottom: clamp(24px, 3vw, 40px); }
.site-foot__family { margin-top: 10px; font-size: .875rem; color: var(--ink-2); max-width: 30em; }
.site-foot__family .textlink { margin-block: -12px; }
.sizing__page { margin-block: 18px 6px; }
.size-table-wrap:has(.size-table--short) { max-width: 420px; }
