/* RIO FIORE · Minimal — вариант 4. Чёрно-белый интерфейс, цвет только в фотографиях.
   Токены — из DATA.concept.palette; шрифты — Prata (знак, акценты) и Inter (всё остальное). */

:root {
  --bg: #FFFFFF;
  --surface: #F4F4F4;
  --photo: #ECEAE7;
  --text: #000000;
  --muted: #6F6F6F;
  --line: #E2E2E2;
  --line-strong: #000000;
  --inv-bg: #000000;
  --inv-text: #FFFFFF;
  --sale: #B0001E;
  --error: #B0001E;
  --focus: #000000;

  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-display: 'Prata', 'Times New Roman', serif;

  --g: 16px;              /* поле страницы */
  --hh: 56px;             /* высота шапки */
  --cw: 100vw;            /* ширина без полосы прокрутки (уточняет app.js) */
  /* знак RIOFIORE (3,805 : 1) — SVG высотой 1.367em: при --wm-big его ширина 5.2em = вся строка, но не выше 26vh —
     на широком экране знак остаётся в пустой верхней трети кадра и не ложится на модель; --wm-small — в шапке */
  --wm-big: clamp(48px, min(calc((var(--cw) - 2 * var(--g)) / 5.2), 19vh), 400px);
  --wm-small: 17.5px;
  --t: 260ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sw-safe: 210px;       /* место под плашку «Демо-концепция» слева внизу */
  --sec: 56px;            /* шаг между секциями главной и служебных страниц */
}
@media (min-width: 768px) {
  :root { --g: 24px; --hh: 64px; --wm-small: 20.5px; --sec: 96px; }
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh, 56px) + 8px); scroll-padding-bottom: 72px; }
/* переключатель вариантов висит внизу слева: поля формы не прокручиваются под него */
input, select, textarea, button, summary { scroll-margin-bottom: 72px; }
html.snap { scroll-snap-type: y proximity; scroll-padding-top: 0; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 13px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11' 1, 'ss01' 0;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: #000; color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 300; background: #000; color: #fff; padding: 10px 14px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.skip:focus { top: 8px; }

/* ---------- типографика ---------- */
.lbl, .btn, .tlink, .hd__txt, .crumbs, .chip, .k {
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35;
}
.k { color: var(--muted); }
/* служебные счётчики и ссылки рядом с метками — тем же капсом, а не строчными */
.phead__count, .pdp__row .ulink, .pdp__fit .ulink { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
.pdp__fit .ulink { color: var(--text); }
.ui-title { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.prose { font-size: 13px; line-height: 1.6; max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.price { font-size: 12px; font-weight: 400; letter-spacing: .02em; white-space: nowrap; }
.price__old { color: var(--muted); text-decoration: line-through; margin-right: 8px; }
.price__new { color: var(--sale); }
.price__off { color: var(--sale); margin-left: 8px; }

/* ссылки-подписи: подчёркивание проявляется/исчезает */
.tlink { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .tlink:hover { background-size: 0 1px; background-position: 100% 100%; } }
.ulink { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .ulink:hover { text-decoration-color: transparent; } }

/* ---------- кнопки и поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border: 1px solid #000; background: #000; color: #fff; transition: background var(--t), color var(--t), opacity var(--t); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #fff; color: #000; } }
.btn--ghost { background: #fff; color: #000; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: #000; color: #fff; } }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.icon-btn svg, .ico { width: 20px; height: 20px; flex: none; }

.field { display: block; position: relative; }
.field__label { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.field input, .field textarea, .line-input {
  width: 100%; border: 0; border-bottom: 1px solid #000; background: transparent; padding: 10px 0 9px; font-size: 14px; line-height: 1.4; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 44px; }
.field input::placeholder, .field textarea::placeholder, .line-input::placeholder { color: #9a9a9a; }
.field input:focus, .field textarea:focus, .line-input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 8px; }
.field.is-error input, .field.is-error textarea { border-bottom-color: var(--error); }
.field__err { display: block; min-height: 0; color: var(--error); font-size: 11px; margin-top: 4px; }
.field__err:empty { display: none; }

/* радио/чекбокс — квадрат, без скруглений */
.opt { position: relative; display: grid; grid-template-columns: 16px 1fr auto; gap: 4px 14px; align-items: start; padding: 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--t); }
.opt + .opt { margin-top: -1px; }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: #000; z-index: 1; } }
.opt input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; left: 16px; top: 17px; }
.opt__box { width: 16px; height: 16px; border: 1px solid #000; margin-top: 0; display: grid; place-items: center; }
.opt__box::after { content: ''; width: 8px; height: 8px; background: #000; transform: scale(0); transition: transform 160ms var(--ease); }
.opt input:checked ~ .opt__box::after { transform: scale(1); }
.opt input:focus-visible ~ .opt__box { outline: 1px solid #000; outline-offset: 3px; }
.opt:has(input:checked) { border-color: #000; z-index: 2; }
/* у радио маркер круглый — так его читают как «один из», чекбокс остаётся квадратом */
.opt input[type="radio"] ~ .opt__box, .opt input[type="radio"] ~ .opt__box::after { border-radius: 50%; }
fieldset { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
legend { padding: 0; }
.opt__name { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.opt__note { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.opt__side { font-size: 12px; text-align: right; white-space: nowrap; }
.check { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 12px; line-height: 1.5; position: relative; }
.check input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.check .opt__box { margin-top: 1px; }
.check input:checked ~ .opt__box::after { transform: scale(1); }
.check input:focus-visible ~ .opt__box { outline: 1px solid #000; outline-offset: 3px; }

/* аккордеон */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; cursor: pointer; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .pm { position: relative; width: 11px; height: 11px; flex: none; }
.acc > summary .pm::before, .acc > summary .pm::after { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 1px; background: currentColor; transition: transform var(--t) var(--ease); }
.acc > summary .pm::after { transform: rotate(90deg); }
.acc[open] > summary .pm::after { transform: rotate(0); }
.acc__body { padding: 0 0 22px; font-size: 13px; line-height: 1.6; }
.acc__body h4 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin: 16px 0 6px; }
.acc__body h4:first-child { margin-top: 0; }
.acc__body ul li { position: relative; padding-left: 14px; }
.acc__body ul li::before { content: ''; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: currentColor; }
.acc__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; }
.acc__body dt { color: var(--muted); }

/* ---------- шапка ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hh); color: var(--text); transition: background var(--t), color var(--t), border-color var(--t); background: var(--bg); border-bottom: 1px solid var(--line); }
.hd__bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 var(--g); }
.hd__menu { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: -10px; padding: 0 10px; }
.hd__menu .ico { display: none; }
.wm { position: absolute; left: calc(var(--g) + 76px); top: calc((var(--hh) - var(--wm-small) * 1.367) / 2); font-size: var(--wm-small); line-height: 0; transition: font-size 380ms var(--ease), top 380ms var(--ease), left 380ms var(--ease); }
.wm svg, .search__wm svg { display: block; height: 1.367em; width: auto; aspect-ratio: 362.9 / 95.37; }
.hd__nav { display: flex; align-items: center; gap: 28px; }
/* огромный логотип на главной лежит под кнопками шапки, а не перехватывает их клики */
.hd__menu, .hd__nav { position: relative; z-index: 2; }
.hd__nav a, .hd__nav button { display: inline-flex; align-items: center; gap: 6px; height: 40px; }
.hd__cart { gap: 0 !important; }
.hd__cart .ico { margin-right: 6px; }
.hd__search { min-width: 168px; justify-content: flex-start; border-bottom: 1px solid currentColor; height: 28px !important; padding-bottom: 2px; }
.hd__nav .ico { display: none; }
.hd__count { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .hd a:hover .hd__txt { opacity: .55; } }
.hd__txt { transition: opacity var(--t); }
/* главная: прозрачная шапка и огромный знак над героем */
.hd--home { background: transparent; border-bottom-color: transparent; }
.hd--home.hd--ink-white { color: #fff; }
.hd--home.hd--big .wm { font-size: var(--wm-big); left: var(--g); top: calc(var(--hh) + 12px); }
/* огромный знак кликается только буквами и чертами — пустое между ними не закрывает героя */
.hd--home.hd--big .wm { pointer-events: none; }
.hd--home.hd--big .wm path { pointer-events: auto; }
/* пока знак огромный, линия поиска не должна резать буквы */
.hd--home.hd--big .hd__search { border-bottom-color: transparent; }
.hd--home.hd--solid { background: var(--bg); border-bottom-color: var(--line); color: var(--text); }

@media (max-width: 767px) {
  .hd__menu { width: 44px; margin-left: -12px; justify-content: center; padding: 0; }
  .hd__menu .ico { display: block; }
  .hd__menu .hd__txt { display: none; }
  .wm { left: calc(var(--g) + 36px); }
  .hd__nav { gap: 0; margin-right: -10px; }
  .hd__nav .hd__txt, .hd__help { display: none !important; }
  .hd__nav .ico { display: block; }
  .hd__nav a { width: 40px; justify-content: center; }
  .hd__search { min-width: 0; border-bottom: 0; height: 40px !important; padding: 0; }
  .hd__cart { position: relative; }
  .hd__cart .hd__count { position: absolute; left: 0; right: 0; top: 15px; text-align: center; font-size: 9px; font-weight: 600; line-height: 1; }
  .hd__cart .hd__paren { display: none; }
}

/* ---------- шторки ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(255, 255, 255, .72); opacity: 0; transition: opacity var(--t) var(--ease); }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(480px, 100%); background: var(--bg); display: flex; flex-direction: column; transition: transform 300ms var(--ease), visibility 0s linear 300ms; visibility: hidden; }
.drawer.is-open { visibility: visible; transition: transform 300ms var(--ease), visibility 0s; }
.drawer--left { left: 0; transform: translateX(-100%); border-right: 1px solid var(--line); }
.drawer--right { right: 0; transform: translateX(100%); border-left: 1px solid var(--line); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--hh); padding: 0 var(--g); flex: none; }
.drawer__title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.drawer__close { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-right: -8px; padding: 0 8px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.drawer__close .ico { width: 16px; height: 16px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--g) 24px; }
.drawer__foot { flex: none; padding: 16px var(--g) 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
/* плашка демо-переключателя прячется сама, пока открыта шторка (aria-modal), — отдельный отступ под неё не нужен */

/* меню */
.menu__tabs { display: flex; gap: 24px; padding: 8px 0 28px; }
.menu__tab { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 6px 0; color: var(--muted); border-bottom: 1px solid transparent; }
.menu__tab[aria-selected="true"] { color: var(--text); border-bottom-color: currentColor; }
.menu__list li a { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 20px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; transition: opacity var(--t); }
.menu__list li a sup { font-size: 10px; color: var(--muted); letter-spacing: 0; top: -.9em; position: relative; }
@media (hover: hover) and (pointer: fine) { .menu__list:hover li a { opacity: .4; } }
.menu__list li a:focus-visible { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .menu__list li a:hover { opacity: 1; } }
.menu__list li a.is-accent { color: var(--sale); }
.menu__service { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.menu__service a { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 6px 0; }
@media (hover: hover) and (pointer: fine) { .menu__service a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.menu__contact { margin-top: 24px; font-size: 12px; color: var(--muted); padding-bottom: 56px; }
.menu__contact a { color: var(--text); }

/* мини-корзина */
.mc__item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 4px 0 20px; border-bottom: 1px solid var(--line); }
.mc__img { aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.mc__img img { width: 100%; height: 100%; object-fit: cover; }
.mc__name { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }
.mc__meta { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mc__sum { display: flex; justify-content: space-between; padding: 18px 0 6px; font-size: 12px; }
.free { margin: 10px 0 4px; }
.free__txt { font-size: 12px; }
.free__bar { height: 2px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.mc__more { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.mc__more > .lbl { display: block; margin-bottom: 12px; }
.mc__more .grid { row-gap: 18px; }
.free__bar i { position: absolute; inset: 0 auto 0 0; background: #000; transition: width 400ms var(--ease); }

/* ---------- поиск ---------- */
.search { position: fixed; inset: 0; z-index: 95; background: var(--bg); display: flex; flex-direction: column; opacity: 0; transition: opacity 220ms var(--ease), visibility 0s linear 220ms; visibility: hidden; }
.search.is-open { opacity: 1; visibility: visible; transition: opacity 220ms var(--ease), visibility 0s; }
.search__top { display: flex; align-items: center; justify-content: space-between; height: var(--hh); padding: 0 var(--g); flex: none; }
.search__wm { font-size: var(--wm-small); line-height: 0; }
.search__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 72px; }
.sbox { padding: 4vh var(--g) 0; }
.sbox__form { display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid #000; }
.sbox__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0 12px; font-size: clamp(26px, 4.4vw, 56px); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; border-radius: 0; -webkit-appearance: none; appearance: none; }
.sbox__input::placeholder { color: #c4c4c4; }
.sbox__input:focus-visible { outline: none; }
.sbox__form:focus-within { border-bottom-width: 2px; margin-bottom: -1px; }
.spage .sbox { padding-top: 40px; padding-bottom: 24px; }
.spage .sbox__sec .grid, .spage .sbox__sec .row { max-width: 100%; }
.sbox__input::-webkit-search-cancel-button { display: none; }
.sbox__clear { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 0 0 18px; }
.sbox__hint { margin-top: 10px; color: var(--muted); font-size: 12px; }
.sbox__sec { margin-top: 40px; }
.sbox__sec > .lbl { display: block; margin-bottom: 14px; }
.sbox__pop { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.sbox__pop a { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; transition: opacity var(--t); }
@media (hover: hover) and (pointer: fine) { .sbox__pop:hover a { opacity: .4; } }
@media (hover: hover) and (pointer: fine) { .sbox__pop a:hover { opacity: 1; } }
.sbox__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.sbox__cats { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 20px; }
.sbox__empty { font-size: 14px; }
mark { background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- страница, крошки ---------- */
.page { padding-top: var(--hh); min-height: 60vh; }
.wrap { padding-left: var(--g); padding-right: var(--g); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 6px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #b5b5b5; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--text); } }
.crumbs [aria-current] { color: var(--text); }
/* крошка не рвётся посередине: длинное название — многоточием */
.crumbs li { white-space: nowrap; max-width: 100%; }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.phead { padding: 28px var(--g) 0; }
.phead__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.phead__title { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.phead__count { color: var(--muted); }
.phead__desc { margin-top: 12px; max-width: 58ch; color: var(--text); font-size: 13px; }
.phead__season { margin-left: 6px; color: var(--muted); font-weight: 400; }
.ed-head { padding: 56px var(--g) 0; }
.ed-head__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 8.4vw, 132px); letter-spacing: -.035em; line-height: .9; }
.ed-head__lead { margin-top: 22px; max-width: 46ch; font-size: 14px; line-height: 1.55; }
.camp__head { padding-bottom: 48px; }
.sec { padding: var(--sec) var(--g) 0; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }

/* ---------- карточки и сетка ---------- */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); column-gap: 2px; row-gap: 32px; }
.card { position: relative; min-width: 0; }
.card__m { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__alt { opacity: 0; transition: opacity 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card__media:hover .card__alt { opacity: 1; }
}
.card__fav { position: absolute; top: 4px; right: 4px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: #000; }
.card__fav .ico { width: 18px; height: 18px; }
.card__fav[aria-pressed="true"] .ico path { fill: currentColor; }
.card__quick { position: absolute; right: 4px; bottom: 4px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: #000; opacity: 0; transition: opacity var(--t); }
.card__quick .ico { width: 16px; height: 16px; }
.card__quick:focus-visible, .card.is-picking .card__quick { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .card:hover .card__quick { opacity: 1; } }
@media (hover: none) { .card__quick { opacity: 1; } }
.card__sizes { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(255, 255, 255, .96); padding: 12px 12px 10px; opacity: 0; transform: translateY(8px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); pointer-events: none; }
.card.is-picking .card__sizes { opacity: 1; transform: none; pointer-events: auto; }
.card__sizes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card__sizes-list { display: flex; flex-wrap: wrap; gap: 2px; }
.card__sizes-list button { min-width: 34px; height: 32px; padding: 0 6px; border: 1px solid var(--line); font-size: 12px; background: #fff; transition: border-color var(--t), background var(--t), color var(--t); }
@media (hover: hover) and (pointer: fine) { .card__sizes-list button:hover { border-color: #000; } }
.card__sizes-list button[disabled] { color: #b9b9b9; text-decoration: line-through; pointer-events: none; }
.card__sizes-x { width: 28px; height: 28px; display: grid; place-items: center; margin: -6px -6px 0 0; }
.card__sizes-x .ico { width: 14px; height: 14px; }
.card__info { padding: 10px 10px 0; display: grid; gap: 3px; }
.card__flags { display: flex; flex-wrap: wrap; gap: 0 10px; min-height: 16px; line-height: 16px; }
.card__flag { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card__flag--sale { color: var(--sale); }
.card__name { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em; /* всегда две строки: цены в ряду стоят на одной линии */ }
@media (hover: hover) and (pointer: fine) { .card__name:hover { text-decoration: underline; text-underline-offset: 2px; } }
.card__colors { display: flex; gap: 6px; margin-top: 4px; align-items: center; }
.card__colors a, .card__colors span { width: 10px; height: 10px; display: block; border: 1px solid rgba(0, 0, 0, .14); }
/* свотч маленький, а зона нажатия — 40×40 */
.card__colors a { position: relative; }
.card__colors a::after { content: ''; position: absolute; left: 50%; top: 50%; width: 32px; height: 40px; transform: translate(-50%, -50%); }
.card__colors .is-cur { outline: 1px solid #000; outline-offset: 2px; }
.card__toast { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #000; color: #fff; text-align: center; padding: 10px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; animation: toast 1.6s var(--ease) forwards; }
@keyframes toast { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
/* плотность 6: только цена */
.grid[data-cols="6"] .card__name, .grid[data-cols="6"] .card__colors, .grid[data-cols="6"] .card__flags { display: none; }
.grid[data-cols="6"] .card__fav { transform: scale(.85); top: 0; right: 0; }
/* в поиске название нужно, чтобы узнать вещь: показываем его и при шести в ряд */
.sbox .grid[data-cols="6"] .card__name { display: -webkit-box; font-size: 10px; }
.grid[data-cols="1"] .card__info { padding: 12px 10px 0; }
/* лента-строка (похожие, недавно смотрели, новинки на телефоне) */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 6); column-gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }

/* ---------- главная ---------- */
.home { padding-top: 0; }
.slide { position: relative; height: 100vh; height: 100svh; min-height: 520px; scroll-snap-align: start; overflow: hidden; background: var(--photo); }
.slide__pic, .slide__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__media { position: absolute; inset: 0; overflow: hidden; }
/* подпись кадра и «На фото» — одной строкой по низу кадра: слева заголовок, справа модель на фото */
.slide__foot { position: absolute; left: var(--g); right: var(--g); bottom: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.slide--ink-white .slide__foot { color: #fff; }
.slide__title { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 10px; }
.slide__k { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.slide__shop { text-align: right; max-width: 340px; font-size: 11px; line-height: 1.45; }
.slide__shop .k { color: inherit; opacity: .7; display: block; margin-bottom: 2px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.slide__shop a { display: block; }
.slide__pn, .slide__pp { display: block; }
.slide__pn { text-wrap: balance; }
.slide__pp { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .slide__shop a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; transition: opacity var(--t); }
.dots a { display: block; width: 14px; height: 14px; position: relative; }
.dots a::after { content: ''; position: absolute; left: 6px; top: 2px; width: 2px; height: 10px; background: currentColor; opacity: .25; transition: opacity var(--t), height var(--t), top var(--t); }
.dots a[aria-current]::after { opacity: 1; height: 14px; top: 0; }
.dots.is-off { opacity: 0; pointer-events: none; }

.tri { scroll-snap-align: start; padding: calc(var(--hh) + 24px) 0 0; }
.tri__head { padding: 0 var(--g) 16px; display: flex; justify-content: space-between; align-items: baseline; }
.tri__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2px; }
.tri__item { display: block; }
.tri__img { aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; max-height: calc(100vh - var(--hh) - 120px); width: 100%; }
.tri__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .tri__item:hover .tri__img img { opacity: .9; } }
/* подпись каждого кадра — с одинаковым полем от его краёв (поле страницы) */
.tri__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px var(--g) 0; font-size: 11px; }
.tri__name { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .tri__item:hover .tri__name { text-decoration: underline; text-underline-offset: 3px; } }

.detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; scroll-snap-align: start; margin-top: var(--sec); }
.detail__img { position: relative; background: var(--photo); overflow: hidden; min-height: 100%; }
.detail__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail__txt { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 7vw, 120px); }
.detail__num { font-family: var(--f-display); font-weight: 400; font-size: clamp(88px, 13vw, 210px); letter-spacing: -.045em; line-height: .82; margin: 40px 0 34px; white-space: nowrap; }
.detail__txt .prose { max-width: 38ch; }
.detail__price { margin-top: 22px; display: flex; gap: 14px; align-items: baseline; }
.detail__cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.colx { padding: var(--sec) var(--g) 0; position: relative; }
.colx__list { border-top: 1px solid #000; }
.colx__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 0 16px; position: relative; }
.colx__name { font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 72px); letter-spacing: -.03em; line-height: 1; transition: transform 350ms var(--ease); }
.colx__meta { text-align: right; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; line-height: 1.5; }
.colx__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .colx__item:hover .colx__name { transform: translateX(14px); }
}
.colx__peek { position: absolute; z-index: 5; width: 220px; aspect-ratio: 3 / 4; background: var(--photo); pointer-events: none; opacity: 0; transition: opacity 200ms var(--ease); overflow: hidden; }
.colx__peek.is-on { opacity: 1; }
.colx__peek img { width: 100%; height: 100%; object-fit: cover; }

.svc { margin-top: var(--sec); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc a { padding: 22px var(--g); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; border-left: 1px solid var(--line); transition: background var(--t); }
.svc a:first-child { border-left: 0; }
@media (hover: hover) and (pointer: fine) { .svc a:hover { background: var(--surface); } }

/* ---------- подвал ---------- */
.ft { margin-top: 120px; border-top: 1px solid var(--line); padding: 56px var(--g) 88px; }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px; }
.ft__news p { color: var(--muted); max-width: 36ch; margin: 10px 0 18px; font-size: 12px; }
.ft__form { display: flex; gap: 0; max-width: 380px; }
.ft__form .line-input { font-size: 13px; }
.ft__form button { flex: none; border-bottom: 1px solid #000; padding: 0 0 0 14px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .ft__form button:hover { opacity: .55; } }
.ft__consent { font-size: 11px; color: var(--muted); max-width: 44ch; margin-top: 12px; line-height: 1.5; }
.ft__ok { margin-top: 12px; font-size: 12px; }
.ft__col h3 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.ft__col li a { display: inline-block; padding: 3px 0; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .ft__col li a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ft__contact { font-size: 12px; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) { .ft__contact a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ft__pay { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.ft__bottom { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .ft__bottom a:hover { color: var(--text); } }
.ft__soc { color: var(--muted); }

/* ---------- каталог ---------- */
.chips { display: flex; gap: 2px 22px; overflow-x: auto; scrollbar-width: none; padding: 22px var(--g) 0; white-space: nowrap; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 6px 0; color: var(--muted); border-bottom: 1px solid transparent; flex: none; transition: color var(--t); }
@media (hover: hover) and (pointer: fine) { .chip:hover { color: var(--text); } }
.chip[aria-current] { color: var(--text); border-bottom-color: currentColor; }
.chip.is-accent { color: var(--sale); }
.tools { position: sticky; top: var(--hh); z-index: 20; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--g); margin-top: 14px; border-bottom: 1px solid var(--line); }
.tools__l, .tools__r { display: flex; align-items: center; gap: 22px; }
.tools button { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; height: 32px; display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .tools button:hover { opacity: .55; } }
.dens { display: flex; align-items: center; gap: 2px; }
.dens__l { margin-right: 8px; color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.dens button { width: 40px; height: 40px; justify-content: center; color: #b5b5b5; }
.dens button[aria-pressed="true"] { color: #000; }
@media (hover: hover) and (pointer: fine) { .dens button:hover { opacity: 1; color: #000; } }
.dens svg { width: 18px; height: 14px; }
.dens [data-d="m"] { display: none; }
.sortbox { position: relative; }
.sortbox__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #000; min-width: 210px; padding: 8px 0; z-index: 30; }
.sortbox__menu button { display: flex; width: 100%; padding: 0 16px; height: 36px; justify-content: space-between; }
.sortbox__menu button[aria-checked="true"]::after { content: ''; width: 6px; height: 6px; background: #000; }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px var(--g) 0; }
.active-f button { display: inline-flex; gap: 8px; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .active-f button:hover { border-color: #000; } }
.active-f .ico { width: 10px; height: 10px; }
.active-f .reset { border: 0; text-decoration: underline; text-underline-offset: 3px; }
.cgrid { padding: 22px var(--g) 0; }
.more { display: grid; justify-items: center; gap: 14px; padding: 56px var(--g) 0; }
.more__bar { width: 180px; height: 1px; background: var(--line); position: relative; }
.more__bar i { position: absolute; inset: 0 auto 0 0; background: #000; }
.empty { padding: 72px var(--g) 0; max-width: 560px; }
.empty__title { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.empty p { margin: 10px 0 24px; color: var(--muted); }

/* фильтры в шторке */
.fgroup { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.fgroup:first-child { border-top: 0; padding-top: 4px; }
.fgroup__t { display: flex; justify-content: space-between; margin-bottom: 12px; }
.flist button { display: flex; justify-content: space-between; width: 100%; padding: 6px 0; font-size: 13px; text-align: left; color: var(--text); }
.flist button sup { color: var(--muted); font-size: 11px; top: 0; }
.flist button[aria-pressed="true"] { font-weight: 600; }
.flist button[aria-pressed="true"]::after { content: ''; width: 6px; height: 6px; background: #000; align-self: center; margin-left: auto; margin-right: 0; }
.flist button[aria-pressed="true"] sup { display: none; }
.flist button[disabled] { color: #bdbdbd; pointer-events: none; }
.fsw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.fsw button { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12px; text-align: left; }
.fsw i { width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.fsw button[aria-pressed="true"] i { outline: 1px solid #000; outline-offset: 2px; }
.fsw button[aria-pressed="true"] { font-weight: 600; }
.fsw button[disabled] { color: #bdbdbd; pointer-events: none; }
.fsw button[disabled] i { opacity: .4; }
.fsize { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.fsize button { height: 40px; border: 1px solid var(--line); font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 2px; }
.fsize button sup { top: -.5em; font-size: 9px; color: var(--muted); }
.fsize button[aria-pressed="true"] sup { color: rgba(255, 255, 255, .7); }
.fsize button[disabled] { color: #c2c2c2; pointer-events: none; }
.fsize button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
@media (hover: hover) and (pointer: fine) { .fsize button:hover { border-color: #000; } }
.fnote { margin-top: 8px; color: var(--muted); font-size: 11px; }

/* ---------- карточка товара ---------- */
.pdp { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(340px, 400px); gap: 0 clamp(24px, 4vw, 72px); padding: 24px var(--g) 0; align-items: start; }
.pdp__rail { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 6px; }
.pdp__rail button { display: block; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; opacity: .45; transition: opacity var(--t); outline-offset: 2px; }
.pdp__rail button[aria-current="true"] { opacity: 1; outline: 1px solid #000; }
@media (hover: hover) and (pointer: fine) { .pdp__rail button:hover { opacity: 1; } }
.pdp__rail img { width: 100%; height: 100%; object-fit: cover; }
.gal { position: relative; }
.gal__track { display: grid; gap: 2px; }
/* лента: кадры на всю ширину колонки, 3:4 */
.gal__item { width: 100%; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; position: relative; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gal__count { display: none; }
.gal__nav { display: none; }
.pdp__panel { position: sticky; top: calc(var(--hh) + 24px); padding-bottom: 24px; }
.pdp__crumbs { margin-bottom: 26px; }
.pdp__flags { display: flex; gap: 12px; margin-bottom: 10px; }
.pdp__flags .lbl { color: var(--muted); }
.pdp__flags .is-sale { color: var(--sale); }
.pdp__title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pdp__fav--top { display: none; }
.pdp__h1 { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }
.pdp__price { margin-top: 8px; font-size: 13px; }
.pdp__desc { margin-top: 18px; font-size: 13px; line-height: 1.6; }
.pdp__block { margin-top: 26px; }
.pdp__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.pdp__row .lbl b { font-weight: 500; color: var(--muted); }
.colors { display: flex; gap: 4px; }
.colors a { width: 46px; aspect-ratio: 3 / 4; background: var(--photo); position: relative; overflow: hidden; display: block; }
.colors a img { width: 100%; height: 100%; object-fit: cover; }
.colors a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); }
.colors a[aria-current] { outline: 1px solid #000; outline-offset: 2px; }
.sizes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; transition: outline-color var(--t); outline: 1px solid transparent; outline-offset: 4px; }
.sizes button { height: 44px; border: 1px solid var(--line); font-size: 13px; background: #fff; transition: border-color 160ms, background 160ms, color 160ms; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .sizes button:hover { border-color: #000; } }
.sizes button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.sizes button[disabled] { color: #c2c2c2; background: linear-gradient(to top right, transparent calc(50% - .5px), #d9d9d9 calc(50% - .5px), #d9d9d9 calc(50% + .5px), transparent calc(50% + .5px)); cursor: not-allowed; }
.sizes.is-alert { outline-color: var(--error); animation: nudge 360ms var(--ease); }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pdp__fit { margin-top: 10px; font-size: 12px; color: var(--muted); }
.pdp__hint { margin-top: 10px; color: var(--error); font-size: 12px; font-weight: 500; }
.pdp__hint:empty { display: none; }
.pdp__notify { margin-top: 8px; font-size: 12px; }
.pdp__notify > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.pdp__notify > summary::-webkit-details-marker { display: none; }
.pdp__notify > summary::after { content: '+'; text-decoration: none; display: inline-block; }
.pdp__notify[open] > summary::after { content: '−'; }
.pdp__notify form { display: flex; margin-top: 10px; }
.pdp__notify form button { border-bottom: 1px solid #000; padding-left: 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.pdp__actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 44px; gap: 2px; }
.pdp__add { width: 100%; }
.pdp__fav { width: 44px; height: 44px; border: 1px solid #000; display: grid; place-items: center; transition: background var(--t), color var(--t); }
.pdp__fav .ico { width: 18px; height: 18px; }
.pdp__fav[aria-pressed="true"] .ico path { fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .pdp__fav:hover { background: #000; color: #fff; } }
.pdp__perks { margin-top: 16px; display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.pdp__acc { margin-top: 26px; }
.rev { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 24px 72px; }
.rev__score { font-family: var(--f-display); font-size: 72px; line-height: .9; letter-spacing: -.03em; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; color: #000; }
.stars svg { width: 11px; height: 11px; }
.fitscale { margin-top: 26px; }
.fitscale__bar { position: relative; height: 1px; background: #000; margin: 18px 0 8px; }
.fitscale__bar i { position: absolute; top: -4px; width: 9px; height: 9px; background: #000; transform: translateX(-50%); }
.fitscale__lbls { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.rev__list { display: grid; gap: 0; }
.rev__item { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 6px 32px; }
.rev__item:last-child { border-bottom: 1px solid var(--line); }
.rev__who { font-size: 12px; }
.rev__who span { display: block; color: var(--muted); }
.rev__text { font-size: 13px; line-height: 1.6; max-width: 70ch; }
.rev__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.rev__none { color: var(--muted); }
.rev__shown { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 34ch; }

/* шторка размеров */
.sf__lead { font-size: 13px; margin-bottom: 22px; }
.sf__steps { display: grid; gap: 14px; counter-reset: st; }
.sf__steps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 12px; line-height: 1.55; counter-increment: st; }
.sf__steps li::before { content: counter(st); font-family: var(--f-display); font-size: 18px; line-height: 1; }
.sf__fig { margin: 22px 0 6px; border: 1px solid var(--line); }
.sf__fig svg { display: block; width: 100%; height: auto; }
.sf__form { display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.sf__form .field { flex: 1; }
.sf__res { margin-top: 18px; min-height: 20px; }
.sf__res-big { font-family: var(--f-display); font-size: 40px; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.sf__res p { font-size: 13px; }
.sf__res .btn { margin-top: 14px; }
.sizetable { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.sizetable th { text-align: left; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 0; border-bottom: 1px solid #000; }
.sizetable td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sizetable tr.is-hit td { font-weight: 600; }
.sizetable tr.is-hit td:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #000; margin: 0 8px 1px -14px; }

/* ---------- корзина и оформление ---------- */
.ctabs { display: flex; gap: 26px; padding: 30px var(--g) 0; }
.ctabs a { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.ctabs a[aria-current] { color: var(--text); border-bottom-color: currentColor; }
.phead .ctabs { padding-left: 0; padding-right: 0; }
.steps { display: flex; gap: 22px; padding: 22px var(--g) 0; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #b5b5b5; }
.steps .is-on { color: var(--text); }
.steps .is-done { color: var(--muted); }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px clamp(32px, 6vw, 96px); padding: 30px var(--g) 0; align-items: start; }
.cline { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.cline__img { aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__name { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .cline__name:hover { text-decoration: underline; text-underline-offset: 3px; } }
.cline__meta { margin-top: 8px; display: grid; gap: 1px; font-size: 12px; color: var(--muted); }
.cline__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 36px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: var(--surface); } }
.qty .ico { width: 12px; height: 12px; }
.qty output { min-width: 28px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.cline__rm { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .cline__rm:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; } }
.cline__sum { text-align: right; font-size: 12px; }
.sum { position: sticky; top: calc(var(--hh) + 24px); }
.sum__box { border: 1px solid #000; padding: 22px; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12px; }
.sum__row--total { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.sum__dol { margin-top: 6px; font-size: 11px; color: var(--muted); }
.sum__box .btn { margin-top: 18px; }
.sum__note { margin-top: 14px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.sum__lines { display: grid; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum__line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: start; font-size: 11px; line-height: 1.4; }
.sum__line .cline__img { width: 44px; }
.sum__line b { font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.sum__line span { color: var(--muted); display: block; }
.cart--co { grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); }
.co { max-width: 680px; }
.co__back { margin-bottom: 26px; }
.co__sec { margin-bottom: 44px; }
.co__sec > h2 { display: flex; gap: 12px; align-items: baseline; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.co__sec > h2 span { font-family: var(--f-display); font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.co__grid .span2 { grid-column: 1 / -1; }
.co__fields-after { margin-top: 22px; display: grid; gap: 22px; }
.co__demo { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.co__agree { margin-top: 24px; }
.co__submit { margin-top: 22px; }
.ok { padding: 64px var(--g) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 32vw); gap: 48px; align-items: start; }
.ok__main { max-width: 760px; }
.ok__pic { margin: 0; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.ok__pic img { width: 100%; height: 100%; object-fit: cover; }
.ok__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8vw, 112px); letter-spacing: -.035em; line-height: .9; }
.ok__num { margin-top: 28px; display: flex; gap: 14px; align-items: baseline; }
.ok__num b { font-size: 18px; font-weight: 500; letter-spacing: .04em; }
.ok__text { margin-top: 16px; max-width: 52ch; }
.ok__lines { margin-top: 32px; display: flex; gap: 2px; flex-wrap: wrap; }
.ok__lines .cline__img { width: 88px; }
.ok__demo { margin-top: 26px; color: var(--muted); font-size: 12px; }
.ok .btn { margin-top: 30px; }

/* ---------- редакционные страницы ---------- */
.look-full { margin-top: 2px; }
.look-full picture { position: relative; display: block; height: calc(100vh - var(--hh)); height: calc(100svh - var(--hh)); min-height: 480px; background: var(--photo); overflow: hidden; }
/* обувь стоит внизу кадра — режем сверху, не по носкам */
.look-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.look-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }
.look { position: relative; }
.look__img { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--hh)); width: 100%; background: var(--photo); overflow: hidden; }
.look__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.look__cap { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px var(--g) 30px; font-size: 12px; line-height: 1.5; }
.look__n { font-family: var(--f-display); font-size: 20px; line-height: 1; }
/* список «На фото» — узкой колонкой: цена стоит рядом с названием, а не у дальнего края кадра */
.look__shop { max-width: 520px; }
.look__shop a { display: flex; justify-content: space-between; gap: 18px; padding: 1px 0; }
.look__shop a span:last-child { flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.look__shop a span:first-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color var(--t); }
@media (hover: hover) and (pointer: fine) { .look__shop a:hover span:first-child { text-decoration-color: currentColor; } }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 2px; }
.ccard__img { aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; display: block; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; }
.ccard__body { padding: 12px 18px 0 0; }
.ccard__body h3 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.ccard__body p { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__body .tlink { margin-top: 10px; }

.help { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px clamp(32px, 7vw, 120px); padding: 48px var(--g) 0; align-items: start; }
.help__nav { position: sticky; top: calc(var(--hh) + 32px); display: grid; gap: 2px; }
.help__nav a { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 5px 0 5px 14px; color: var(--muted); position: relative; }
.help__nav a::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: currentColor; opacity: 0; }
.help__nav a.is-on { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .help__nav a:hover { color: var(--text); } }
.help__nav a.is-on::before { opacity: 1; }
.hsec { scroll-margin-top: calc(var(--hh) + 24px); padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); max-width: 760px; }
.hsec:last-child { border-bottom: 0; }
.hsec > h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1; margin-bottom: 22px; }
.hsec__list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.hsec__list li:first-child { border-top: 0; padding-top: 0; }
.hsec .tlink { margin-top: 16px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contacts dl { display: grid; gap: 14px; }
.contacts dt { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.contacts dd { font-size: 14px; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .contacts dd a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.map { border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }
.map text { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.map figcaption { padding: 10px 12px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }

.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #000; margin: 56px var(--g) 0; }
.about-facts div { padding: 18px 18px 0 0; }
.about-facts dt { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.about-facts dd { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.02em; line-height: 1.1; margin-top: 10px; }
.about-pic { margin-top: 72px; position: relative; aspect-ratio: 16 / 9; background: var(--photo); overflow: hidden; }
.about-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 6vw, 96px); padding: 72px var(--g) 0; }
.about-text p { font-size: 15px; line-height: 1.6; max-width: 52ch; }
.about-pr { padding: 96px var(--g) 0; }
.about-pr ul { border-top: 1px solid #000; }
.about-pr li { padding: 16px 0 14px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(24px, 3.4vw, 48px); letter-spacing: -.025em; line-height: 1.05; }
.about-cta { padding: 48px var(--g) 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

.sg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 7vw, 120px); padding: 48px var(--g) 0; align-items: start; }
.sg__card { border: 1px solid #000; padding: 28px; }
.sg__how .sf__fig { max-width: 520px; }
.sg__table { padding: 72px var(--g) 0; max-width: 820px; }
.sg__note { margin-top: 16px; color: var(--muted); font-size: 12px; max-width: 70ch; }

.zoom { position: fixed; inset: 0; z-index: 120; background: #fff; overflow: auto; cursor: zoom-out; opacity: 0; transition: opacity 220ms var(--ease); }
.zoom.is-open { opacity: 1; }
.zoom img { width: 100%; max-width: 1400px; margin: 0 auto; }
.zoom__x { position: fixed; top: 12px; right: 12px; z-index: 2; background: #fff; }

/* ---------- планшет / телефон ---------- */
@media (max-width: 1099px) {
  .ft__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft__news { grid-column: 1 / -1; }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
  .pdp__rail { display: none; }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-auto-columns: calc((100% - 6px) / 4); }
}
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; padding: 0; }
  .gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 2px; justify-items: initial; }
  .gal__track::-webkit-scrollbar { display: none; }
  .gal__item { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .gal__item img { cursor: default; }
  .gal__count { display: block; position: absolute; right: var(--g); bottom: 14px; font-size: 11px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
  .pdp__panel { position: static; padding: 22px var(--g) 0; }
  .pdp__crumbs { margin-bottom: 18px; }
  .cart { grid-template-columns: 1fr; }
  .sum { position: static; }
  .help { grid-template-columns: 1fr; padding-top: 28px; }
  .help__nav { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; }
  .help__nav a { padding-left: 0; }
  .help__nav a::before { display: none; }
  .sg { grid-template-columns: 1fr; }
  .ok { grid-template-columns: 1fr; }
  .ok__pic { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .gal__item { flex-basis: calc(50% - 1px); }
}
@media (max-width: 767px) {
  .tools { padding: 6px var(--g); }
  .tools__r { gap: 14px; }
  .dens__l { display: none; }
  .dens [data-d="d"] { display: none; }
  .dens [data-d="m"] { display: inline-flex; }
  .tools .lbl-long { display: none; }
  .grid { row-gap: 26px; }
  .card__info { padding: 8px 8px 0; }
  .row { grid-auto-columns: 46%; }
  .nw .nw__grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--g)); }
  .nw .nw__grid::-webkit-scrollbar { display: none; }
  .nw .nw__grid > * { scroll-snap-align: start; }
  .dots { display: none; }
  .tri { padding-top: calc(var(--hh) + 16px); }
  .tri__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 2px; padding-right: var(--g); }
  .tri__row::-webkit-scrollbar { display: none; }
  .tri__item { flex: 0 0 82%; scroll-snap-align: start; }
  .tri__item:first-child { margin-left: 0; }
  .tri__cap { padding-top: 10px; }
  .tri__img { max-height: none; }
  .detail { grid-template-columns: 1fr; min-height: 0; }
  .detail__img { aspect-ratio: 4 / 5; min-height: 0; }
  .detail__txt { padding: 28px var(--g) 0; }
  .detail__num { font-size: 104px; margin: 30px 0 22px; }
  .colx__item { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
  .colx__thumb { display: block; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
  .colx__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .colx__meta { text-align: left; grid-column: 2; margin-top: -8px; }
  .colx__name { font-size: 30px; }
  .colx__peek { display: none; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc a:nth-child(3) { border-left: 0; }
  .svc a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ft { margin-top: 88px; padding-top: 40px; padding-bottom: 96px; }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .ft__contact-col { grid-column: 1 / -1; }
  .ft__bottom { flex-direction: column; }
  .pdp__actions { grid-template-columns: 1fr 44px; }
  /* липкая полоса «Добавить»: сплошной белый фон, линия сверху; под развёрнутой плашкой демо — отступ снизу,
     под свёрнутой (34×34 слева) — отступ слева */
  .pdp__actions.is-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; background: #fff; border-top: 1px solid #000; padding: 8px 12px 12px; grid-template-columns: 1fr; }
  .pdp__actions.is-bar .pdp__fav { display: none; }
  /* место под плашку демо — по её же переменным: развёрнута — снизу, свёрнута в кружок — слева */
  .pdp__actions.is-bar { padding-bottom: max(12px, var(--rs-sw-h, 0px)); }
  html.rs-sw-min .pdp__actions.is-bar { padding-bottom: 12px; padding-left: max(12px, var(--rs-sw-w, 0px)); }
  .pdp__fav--top { display: grid; flex: none; width: 40px; height: 40px; border: 0; margin: -10px -10px 0 0; }
  .rev { grid-template-columns: 1fr; }
  .rev__item { grid-template-columns: 1fr; }
  .cline { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .cline__sum { grid-column: 2; text-align: left; margin-top: -8px; }
  .co__grid { grid-template-columns: 1fr; }
  .look-pair { grid-template-columns: 1fr; }
  .look-full picture { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hh)); }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .about-facts div { padding-bottom: 18px; }
  .about-pic { aspect-ratio: 4 / 5; }
  .about-text { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .ed-head { padding-top: 36px; }
  .sg__card { padding: 20px; }
  .cols4 { gap: 26px 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
}
@media print { .hd, .ft, .dots { display: none; } .page { padding-top: 0; } }

/* ===== Круг правок 2 ===== */
/* главная: подпись кадра и «На фото» — полосой под кадром до 899 px (на планшете 768 текст ложился на обувь) */
@media (max-width: 899px) {
  /* телефон и планшет: кадр сверху, подпись — белой полосой под ним (текст не ложится на обувь);
     снизу полоса держит место под плашку демо-переключателя */
  .slide { display: flex; flex-direction: column; background: var(--bg); }
  .slide__media { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; background: var(--photo); }
  .slide__foot { position: static; flex: none; display: block; color: var(--text); background: var(--bg);
    padding: 14px var(--g) calc(14px + var(--rs-sw-h, 0px)); }
  .slide--ink-white .slide__foot { color: var(--text); }
  .slide__cap { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: end; }
  .slide__k { grid-column: 1; opacity: 1; color: var(--muted); }
  .slide__title { grid-column: 1; margin: 3px 0 0; }
  .slide__cap .tlink { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .slide__shop { max-width: none; text-align: left; display: flex; align-items: first baseline; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .slide__shop .k { flex: none; margin: 0; opacity: 1; color: var(--muted); }
  .slide__shop a { flex: 1 1 auto; min-width: 0; display: flex; align-items: first baseline; justify-content: space-between; gap: 12px; }
  .slide__pn { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
  .slide__pp { flex: none; }
}

/* программный фокус (заголовок оформления заказа, блок «Заказ принят») — без контура: он нужен
   экранному диктору, а не клавиатуре; для элементов с tabindex="-1" Tab не доходит, контур только мешает */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

/* 320–400 px (проверка при закрытии): длинные слова в названиях («металлизированной») переносятся, а не вылезают за карточку */
@media (max-width: 400px) { .card__name { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; } }
