/* Витрина. Оформление меняется по сезону: html[data-season] переопределяет цвета. Шрифт Inter (OFL) лежит в /static/fonts. */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #171412; --ink-2: #4b443e; --muted: #7d756d; --line: #e5dccf; --bg: #f4eee6; --surface: #fffdf9; --tile: #ebe1d3;
  --accent: #c2410c; --accent-soft: #f6dccb; --panel-a: #efdcc4; --panel-b: #dba273; --good: #15803d; --warn: #b45309; --bad: #b91c1c;
  --r: 20px; --r-sm: 12px; --wrap: 1280px; --gut: clamp(16px, 3.4vw, 40px);
  --shadow: 0 1px 2px rgb(23 20 18 / .05), 0 14px 32px -18px rgb(23 20 18 / .28);
  --font: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head-h: 68px;
}
html[data-season='winter'] { --bg: #edf1f6; --surface: #fbfdff; --line: #d8e0ea; --tile: #dfe7f0; --accent: #1d4ed8; --accent-soft: #d9e4fb; --panel-a: #dbe7f4; --panel-b: #8fb0d3; --ink: #10151b; --ink-2: #404a56; --muted: #6b7684; }
html[data-season='spring'] { --bg: #f1f4ea; --surface: #fcfdf8; --line: #dde3cf; --tile: #e3e9d3; --accent: #4d7c0f; --accent-soft: #dfecc6; --panel-a: #e3eecb; --panel-b: #a9cf7b; --ink: #131811; --ink-2: #444c3d; --muted: #737b6a; }
html[data-season='summer'] { --bg: #fbf3e3; --surface: #fffdf7; --line: #ecdfc3; --tile: #f4e6c6; --accent: #d6245f; --accent-soft: #fbd9e4; --panel-a: #ffe8b5; --panel-b: #ff9f8a; --ink: #1a1512; --ink-2: #51463e; --muted: #85786c; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; transition: background .4s; }
body.no-scroll { overflow: hidden; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.link:hover { color: var(--accent); border-color: currentColor; }
.link--center { justify-content: center; width: 100%; margin-top: 14px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; height: 46px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; letter-spacing: -.005em; transition: background .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; position: relative; transition: background .2s; }
.iconbtn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.iconbtn .ic { width: 22px; height: 22px; }

/* ---------- Шапка ---------- */
.announce { background: var(--ink); color: #f6efe6; font-size: 13px; }
.announce__in { display: flex; justify-content: center; gap: 28px; padding-block: 9px; }
.announce__in .ic { color: var(--panel-b); margin-right: 4px; }
.head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.head__in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.head__burger { display: none; margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; font-size: 22px; }
.logo__mark { width: 30px; height: 30px; fill: var(--ink); stroke: none; }
.logo__sole { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav__link { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav__link:hover, .nav__link.is-active { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.nav__link--soon { opacity: .55; cursor: default; }
.nav__link--soon small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 6px; font-weight: 700; }
.head__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cartbtn__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cartbtn__n.is-empty { display: none; }
.cartbtn__n.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.5); } }

/* Поиск-панель */
.search { border-top: 1px solid var(--line); background: var(--surface); padding-block: 18px 26px; box-shadow: 0 30px 40px -30px rgb(23 20 18 / .3); max-height: calc(100vh - var(--head-h) - 20px); overflow: auto; }
.search[hidden] { display: none; }
.search__form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search__form > .ic { width: 26px; height: 26px; color: var(--muted); }
.search__input { flex: 1; border: 0; background: transparent; font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: -.02em; outline: none; min-width: 0; }
.search__input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); font-weight: 500; }
.search__out { margin-top: 18px; }
.sug { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.sug__brands h5, .sug__title { margin: 0 0 10px; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sug__brands a { display: flex; justify-content: space-between; padding: 8px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.sug__brands a span { color: var(--muted); font-weight: 500; }
.sug__list { display: grid; gap: 4px; }
.sug__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-sm); transition: background .15s; }
.sug__item:hover, .sug__item.is-hover { background: var(--tile); }
.sug__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--tile); mix-blend-mode: multiply; }
.sug__item b { display: block; font-weight: 650; letter-spacing: -.01em; }
.sug__item small { color: var(--muted); }
.sug__item i { font-style: normal; font-weight: 700; }
.sug__all { margin-top: 10px; }
.sug__empty { padding: 20px 0; color: var(--muted); }
.sug__hint { color: var(--muted); }
.sug__hint .chiplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sug__hint .chiplist a { padding: 8px 14px; border-radius: 999px; background: var(--tile); font-weight: 600; font-size: 14px; }

/* ---------- Главная: hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 13px; margin: 0 0 20px; }
.chip--ok { background: #dcfce7; color: #166534; }
.hero__title { font-size: clamp(38px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin-bottom: 22px; }
.hero__text { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero__search { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 999px; padding: 7px 7px 7px 20px; box-shadow: var(--shadow); max-width: 560px; border: 1px solid var(--line); }
.hero__search > .ic { color: var(--muted); width: 22px; height: 22px; }
.hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; outline: none; padding: 10px 0; }
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero__quick a { padding: 6px 13px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); font-weight: 600; transition: background .2s, color .2s; }
.hero__quick a:hover { background: var(--ink); color: #fff; }
.hero__stage { position: relative; aspect-ratio: 1 / 0.96; border-radius: 36px; background: linear-gradient(135deg, var(--panel-a), var(--panel-b)); overflow: hidden; isolation: isolate; }
.stage__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 30% 25%, rgb(255 255 255 / .55), transparent 70%), radial-gradient(40% 40% at 85% 90%, rgb(255 255 255 / .25), transparent 70%); }
.stage__item { position: absolute; display: block; }
.stage__item img { width: 100%; height: auto; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
/* У JPEG нет прозрачности, поэтому drop-shadow дал бы тень от всего прямоугольника: рисуем мягкую тень-эллипс под обувью */
.stage__item::before { content: ''; position: absolute; left: 12%; right: 12%; bottom: 14%; height: 14%; background: radial-gradient(ellipse at center, rgb(40 20 0 / .34), transparent 68%); filter: blur(7px); }
/* Без z-index/transform/opacity у самой ссылки: иначе multiply не видит фон панели и вокруг фото остаётся белый прямоугольник */
.stage__item--1 { left: 6%; top: 16%; width: 66%; }
.stage__item--1 img { transform: rotate(-7deg); }
.stage__item--2 { right: -4%; top: -2%; width: 44%; }
.stage__item--2 img { transform: rotate(9deg); }
.stage__item--3 { right: 2%; bottom: -3%; width: 46%; }
.stage__item--3 img { transform: rotate(-4deg); }
.stage__item:hover img { transform: rotate(-3deg) scale(1.04); }
.stage__tag { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; white-space: nowrap; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .86); backdrop-filter: blur(8px); font-size: 13px; box-shadow: 0 6px 20px rgb(0 0 0 / .1); opacity: 0; transition: opacity .25s; }
.stage__tag b { font-weight: 650; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; }
.stage__tag i { font-style: normal; font-weight: 750; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; }
.stage__item--1 .stage__tag { opacity: 1; bottom: -6%; }
.stage__item:hover .stage__tag { opacity: 1; }
.stage__item--2 .stage__tag, .stage__item--3 .stage__tag { display: none; }

/* ---------- UTP ---------- */
.usp { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; }
.usp__item + .usp__item { border-left: 1px solid var(--line); }
.usp__item .ic { width: 28px; height: 28px; color: var(--accent); }
.usp__item b { display: block; font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.usp__item span { font-size: 13px; color: var(--muted); }

/* ---------- Блоки ---------- */
.block { padding-block: clamp(36px, 5vw, 72px) 0; }
.block--tight { padding-top: clamp(24px, 3vw, 40px); }
.block:last-of-type { padding-bottom: clamp(48px, 6vw, 88px); }
.block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.block__head .eyebrow { margin-bottom: 8px; }

/* ---------- Карточки товара ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; }
.grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; position: relative; }
.card__media { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--tile); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2%; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.06); }
@media (hover: hover) { .card:hover .card__img--alt { opacity: 1; } .card:hover .card__img:not(.card__img--alt) { opacity: 0; } .card:hover .card__img--alt { transform: scale(1.03); } }
.card.is-out .card__media { opacity: .6; }
.card__body { padding: 14px 4px 0; }
.card__meta { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card__title { font-size: 17px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 2px; text-wrap: pretty; }
.card__color { font-size: 14px; color: var(--ink-2); }
.card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; }
.price { font-weight: 750; font-size: 17px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price--lg { font-size: 32px; letter-spacing: -.035em; }
.card__sizes { font-size: 12.5px; color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface); }
.badge--dark { background: var(--ink); color: #fff; }
.badge--accent { background: var(--accent); color: #fff; }
.badge--warn { background: #fde8c8; color: #8a4a05; }
.badge--muted { background: rgb(255 255 255 / .75); color: var(--muted); }

/* ---------- Подбор пары ---------- */
.finder { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: linear-gradient(135deg, var(--panel-a), var(--panel-b)); align-items: center; }
.finder__copy h2 { margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 46px); }
.finder__copy p { color: color-mix(in srgb, var(--ink) 75%, transparent); max-width: 26em; margin: 0; }
.finder__copy .eyebrow { color: var(--ink); }
.finder__form { background: var(--surface); border-radius: 24px; padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 18px; box-shadow: 0 30px 50px -30px rgb(0 0 0 / .35); }
.finder__row { border: 0; padding: 0; margin: 0; min-width: 0; }
.finder__row legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 650; color: var(--muted); }
.finder__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finder__row--split label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; color: var(--muted); }
select, .field input, .field textarea { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 15px; color: var(--ink); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d756d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
select:focus, .field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 14px; border: 1.5px solid transparent; transition: all .15s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg--sm span { padding: 7px 14px; font-size: 13.5px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { cursor: pointer; position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; transition: all .15s; white-space: nowrap; }
.size:hover span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size.is-off span, .size input:disabled + span { color: color-mix(in srgb, var(--muted) 70%, transparent); background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--line) 70%, transparent) 6px 7px); border-style: dashed; cursor: not-allowed; }

/* ---------- Плитки категорий ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--r); background: var(--tile); overflow: hidden; aspect-ratio: 1; display: block; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 2% 4% 16% 4%; width: 92%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.07) rotate(-2deg); }
.tile--1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; background: linear-gradient(135deg, var(--panel-a), var(--panel-b)); }
.tile--1 img { inset: 8% 8% 18% 8%; }
.tile__t { position: absolute; left: 18px; bottom: 16px; display: grid; }
.tile__t b { font-size: 19px; font-weight: 750; letter-spacing: -.025em; }
.tile--1 .tile__t b { font-size: 30px; }
.tile__t i { font-style: normal; font-size: 13px; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.tile__go { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .2s, transform .3s; }
.tile:hover .tile__go { background: var(--accent); transform: rotate(45deg); }

/* ---------- Бренды ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands__item { display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.brands__item b { font-size: 18px; font-weight: 750; letter-spacing: -.03em; }
.brands__item span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.brands__item:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.brands__item:hover span { color: #c9bfb3; }

/* ---------- Плашка «скоро» ---------- */
.teaser { display: flex; align-items: center; gap: 28px; padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--ink); color: #f6efe6; position: relative; overflow: hidden; }
.teaser::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 60%, transparent), transparent 70%); }
.teaser__ic { width: 72px; height: 72px; border-radius: 22px; background: rgb(255 255 255 / .1); display: grid; place-items: center; flex: none; }
.teaser__ic .ic { width: 34px; height: 34px; }
.teaser h3 { font-size: 26px; margin-bottom: 6px; }
.teaser p:last-child { margin: 0; color: #c9bfb3; }
.teaser .eyebrow { color: var(--panel-b); }

/* ---------- Каталог ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-block: 22px 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 16px; height: 16px; }
.crumbs span { color: var(--ink); font-weight: 600; }
.catalog { padding-bottom: 80px; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 6px 0 20px; flex-wrap: wrap; }
.catalog__head h1 { font-size: clamp(30px, 3.6vw, 46px); }
.catalog__head p { margin: 8px 0 0; }
.catalog__tools { display: flex; align-items: center; gap: 12px; }
.sort label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.sort select { width: auto; height: 40px; font-weight: 600; color: var(--ink); border-radius: 999px; padding-left: 16px; }
.filters-open { display: none; }
.dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; }
.fchips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.fchip .ic { width: 16px; height: 16px; opacity: .7; }
.fchip:hover { background: var(--accent); }
.fchips__reset { font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.catalog__cols { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--head-h) + 16px); max-height: calc(100vh - var(--head-h) - 32px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.filters__top { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 4px; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; cursor: pointer; letter-spacing: -.01em; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ''; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d756d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.fgroup[open] summary::after { transform: rotate(180deg); }
.fgroup__body { padding-bottom: 16px; display: grid; gap: 2px; }
.fgroup__body.sizes { display: flex; gap: 6px; }
.fgroup__body.sizes .size span { min-width: 44px; height: 40px; font-size: 14px; }
.fgroup__body--scroll { max-height: 290px; overflow: auto; scrollbar-width: thin; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 15px; }
.check input { appearance: none; width: 19px; height: 19px; border: 1.5px solid #b9ae9f; border-radius: 6px; background: var(--surface); display: grid; place-items: center; margin: 0; flex: none; transition: all .15s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check span { flex: 1; }
.check i { font-style: normal; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.check--solo { padding-block: 16px; }
.check--consent { align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.check--consent input { margin-top: 2px; }
.check--consent a { text-decoration: underline; }
.price-range { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price-range input { height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); outline: none; width: 100%; }
.price-range input:focus { border-color: var(--ink); }
.filters__actions { display: grid; gap: 8px; padding-block: 14px; position: sticky; bottom: 0; background: var(--bg); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pager__n, .pager__arrow { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 8px; border-radius: 50%; font-weight: 650; font-variant-numeric: tabular-nums; transition: background .15s; }
.pager__n:hover, .pager__arrow:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.pager__n.is-current { background: var(--ink); color: #fff; }
.pager__gap { color: var(--muted); padding: 0 4px; }
.empty { text-align: center; padding-block: clamp(48px, 8vw, 110px); max-width: 640px; margin-inline: auto; }
.empty p { color: var(--ink-2); }
.empty .eyebrow { justify-content: center; }
.empty .brands { justify-content: center; margin-bottom: 24px; }

/* ---------- Карточка модели ---------- */
.pdp { padding-bottom: 80px; }
.pdp__cols { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 12px; }
.gallery { position: sticky; top: calc(var(--head-h) + 20px); }
.gallery__main { aspect-ratio: 1; border-radius: 28px; background: var(--tile); overflow: hidden; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 1%; mix-blend-mode: multiply; transition: opacity .2s; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumb { flex: none; width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 16px; background: var(--tile); overflow: hidden; transition: border-color .15s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; mix-blend-mode: multiply; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--ink); }
.buy__meta { font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.buy__title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 6px; text-wrap: balance; }
.buy__color { font-size: 18px; color: var(--ink-2); margin-bottom: 18px; }
.buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 26px; }
.stockline { font-size: 14px; font-weight: 600; color: var(--bad); }
.stockline.is-in { color: var(--good); }
.stockline.is-in::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.buy__sizes-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.sizes--pdp { margin-bottom: 22px; }
.sizes--pdp .size span { min-width: 58px; height: 52px; font-size: 16px; }
.perks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--ink-2); }
.perks .ic { width: 24px; height: 24px; color: var(--accent); }
.perks b { color: var(--ink); }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--muted); }
.acc[open] summary::after { content: '−'; }
.acc__body { padding-bottom: 18px; color: var(--ink-2); font-size: 15px; }
.acc__body p { margin-bottom: .6em; }
.acc__body a { text-decoration: underline; }
.buy__sku { margin-top: 18px; font-size: 13px; }

/* ---------- Корзина / оформление ---------- */
.cartpage, .checkout, .orderpage { padding-bottom: 90px; }
.cartpage h1, .checkout h1 { margin: 18px 0 28px; }
.cartpage h1 .muted { font-size: 18px; font-weight: 500; letter-spacing: 0; margin-left: 10px; }
.cartpage__cols, .orderpage__cols, .checkout__cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cartlist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cartline { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto auto; gap: 8px 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cartline--static { grid-template-columns: 96px minmax(0, 1fr) auto; }
.cartline__img { width: 112px; aspect-ratio: 1; border-radius: 16px; background: var(--tile); overflow: hidden; display: block; }
.cartline--static .cartline__img { width: 96px; }
.cartline__img img { width: 100%; height: 100%; object-fit: contain; padding: 2%; mix-blend-mode: multiply; }
.cartline__title { font-weight: 700; font-size: 17px; letter-spacing: -.015em; line-height: 1.25; display: block; }
.cartline__info p { margin: 2px 0 0; font-size: 14px; }
.cartline__size { color: var(--ink-2); }
.cartline__sum { text-align: right; min-width: 110px; }
.cartline__sum b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.cartline__sum span { font-size: 12.5px; }
.cartline.is-out .cartline__img { opacity: .5; }
.warn { color: var(--warn); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty__b { width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; }
.qty__b:hover:not([disabled]) { background: var(--tile); }
.qty__b[disabled] { opacity: .3; cursor: default; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.summary--sticky, .summary { position: sticky; top: calc(var(--head-h) + 20px); }
.summary h2 { font-size: 22px; margin-bottom: 18px; letter-spacing: -.02em; }
.sumrows { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin: 0 0 20px; font-size: 15px; }
.sumrows dt { color: var(--ink-2); }
.sumrows dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.sumrows dd.muted { font-weight: 500; font-size: 13.5px; }
.sumrows__total { font-size: 21px !important; font-weight: 800 !important; color: var(--ink) !important; padding-top: 12px; border-top: 1px solid var(--line); letter-spacing: -.02em; }
.freebar { margin-bottom: 20px; font-size: 14px; }
.freebar p { margin-bottom: 8px; }
.freebar p .ic { color: var(--good); margin-right: 4px; }
.freebar > svg { width: 100%; height: 6px; display: block; }
.freebar__bg { fill: var(--tile); }
.freebar__fg { fill: var(--accent); }
.summary__note { font-size: 13px; text-align: center; margin: 14px 0 0; }
.mini { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; max-height: 280px; overflow: auto; }
.mini li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini img { width: 56px; height: 56px; border-radius: 12px; background: var(--tile); object-fit: contain; padding: 1px; mix-blend-mode: multiply; }
.mini b { display: block; font-weight: 650; line-height: 1.25; }
.mini span { color: var(--muted); font-size: 12.5px; }
.mini i { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.step { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.step__n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.field__l { font-size: 13.5px; }
.field[hidden], [data-field-address][hidden], [data-field-tcpoint][hidden] { display: none; }
.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.option:hover { border-color: #b9ae9f; }
.option input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b9ae9f; margin: 0; display: grid; place-items: center; transition: all .15s; }
.option input:checked { border: 6px solid var(--ink); }
.option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
.option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.option__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; }
.option__t b { display: block; font-weight: 700; letter-spacing: -.01em; }
.option__t small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; margin-top: 2px; }
.option__p { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.options--2 .option { grid-template-columns: auto auto 1fr; }
.deliv { margin-top: 18px; padding: 20px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px dashed var(--line); }
.deliv[hidden] { display: none; }
.deliv__label { font-weight: 700; margin-bottom: 12px; }
.point { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.point + .point { border-top: 1px solid var(--line); }
.point input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; }
.point small { display: block; color: var(--muted); font-size: 13.5px; }
.hint { font-size: 13.5px; color: var(--warn); font-weight: 600; margin: 10px 0 0; }
.hint[hidden] { display: none; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 22px; font-weight: 600; }
.alert--err { background: #fde8e8; color: #8a1c1c; }
.alert--ok { background: #dcfce7; color: #14532d; }
.orderpage__head { margin: 18px 0 28px; }
.orderpage__head h1 { margin-bottom: 6px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 36px; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.steps li span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; position: relative; z-index: 1; }
.steps li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done span { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.is-done::before { background: var(--ink); }
.steps li.is-now span { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); background: var(--accent); border-color: var(--accent); }
.facts { display: grid; gap: 4px; margin: 0 0 18px; font-size: 14.5px; }
.facts dt { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; margin-top: 10px; }
.facts dd { margin: 0; font-weight: 550; }

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 1000px; padding-bottom: 90px; }
.prose h1 { margin: 12px 0 32px; }
.prose h2 { margin: 44px 0 16px; font-size: 28px; }
.plain { padding-left: 1.2em; }
.plain li { margin-bottom: 8px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.infocard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.infocard__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.infocard h3 { margin-bottom: 6px; font-size: 20px; }
.infocard p { color: var(--ink-2); font-size: 14.5px; }
.infocard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.infocard dt { color: var(--muted); }
.infocard dd { margin: 0; font-weight: 600; }

/* ---------- Подвал ---------- */
.foot { background: var(--ink); color: #d9d0c5; margin-top: 40px; padding-top: 56px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 650; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__lead { max-width: 28em; margin-top: 14px; color: #a99f93; font-size: 15px; }
.logo--foot { color: #fff; }
.foot__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.foot__contacts .ic { margin-top: 3px; color: var(--panel-b); }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 13px; color: #8f857a; }

/* ---------- Прочее ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-inline: auto; display: flex; gap: 16px; align-items: center; padding: 14px 14px 14px 20px; border-radius: 20px; background: var(--ink); color: #f1e9de; font-size: 14px; box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie .btn { background: #fff; color: var(--ink); }
.toast { position: fixed; top: 84px; right: 20px; z-index: 95; width: min(360px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 24px 50px -16px rgb(0 0 0 / .35); animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.toast[hidden] { display: none; }
.toast--err { border-color: #e9b4b4; background: #fff4f4; }
.toast__row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.toast img { width: 64px; height: 64px; border-radius: 12px; background: var(--tile); object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.toast b { display: block; font-size: 14px; line-height: 1.25; }
.toast small { color: var(--muted); }
.toast__actions { display: flex; gap: 8px; margin-top: 12px; }
.toast__actions .btn { flex: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartpage__cols, .orderpage__cols, .checkout__cols { grid-template-columns: minmax(0, 1fr) 340px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --head-h: 60px; }
  .head__burger { display: inline-grid; }
  .head .nav { display: none; }
  .announce__sep { display: none; }
  .hero__in, .finder, .pdp__cols, .cartpage__cols, .orderpage__cols, .checkout__cols { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { order: -1; aspect-ratio: 1 / .8; }
  .usp__grid { grid-template-columns: 1fr 1fr; }
  .usp__item:nth-child(3) { border-left: 0; }
  .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--1 { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .catalog__cols { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 80; max-height: none; background: var(--bg); padding: 0 var(--gut) 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__top { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; position: sticky; top: 0; background: var(--bg); z-index: 1; font-size: 18px; }
  .gallery, .summary, .summary--sticky { position: static; }
  .sug { grid-template-columns: 1fr; gap: 14px; }
  .sug__brands { display: flex; flex-wrap: wrap; gap: 8px; }
  .sug__brands h5 { width: 100%; margin: 0; }
  .sug__brands a { border: 0; background: var(--tile); border-radius: 999px; padding: 8px 14px; gap: 8px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .steps li:nth-child(4)::before { display: none; }
  .cartline { grid-template-columns: 88px minmax(0, 1fr) auto; }
  .cartline__img { width: 88px; }
  .cartline .qty { grid-column: 2; justify-self: start; }
  .cartline__sum { grid-column: 3; grid-row: 1; }
  .cartline > form:last-child { grid-column: 3; grid-row: 2; justify-self: end; }
}
@media (min-width: 721px) { .grid--rail > :nth-child(n + 9) { display: none; } }
@media (max-width: 720px) {
  .catalog__tools { width: 100%; justify-content: space-between; gap: 8px; }
  .sort__t { display: none; }
  .sort select { max-width: 200px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .grid--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); gap: 12px; scrollbar-width: none; }
  .grid--rail::-webkit-scrollbar { display: none; }
  .grid--rail > .card { flex: 0 0 62%; scroll-snap-align: start; }
  .card__title { font-size: 15px; }
  .price { font-size: 15.5px; }
  .card__sizes { display: none; }
  .card__media { border-radius: 16px; }
  .hero__search { padding-left: 16px; }
  .hero__search .btn { padding: 0 18px; }
  .fields, .options--2 { grid-template-columns: 1fr; }
  .option { grid-template-columns: auto 1fr auto; }
  .option__ic { display: none; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .finder__row--split { grid-template-columns: 1fr; }
  .teaser { flex-direction: column; align-items: flex-start; }
  .block__head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .price--lg { font-size: 28px; }
  .stage__item--1 { left: 4%; top: 18%; width: 72%; }
  .sizes--pdp .size span { min-width: 52px; height: 48px; }
  .toast { top: auto; bottom: 14px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Подсказки под полем на главной */
.hero__search { position: relative; }
.sug-pop { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: 0 30px 60px -20px rgb(23 20 18 / .4); }
.sug-pop[hidden] { display: none; }
.sug-pop .sug { display: block; }
.sug-pop .sug__hint p { margin: 0; }

/* ---------- Скидки ---------- */
.price--sale { color: var(--accent); }
.price-old { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.price-old--lg { font-size: 20px; margin-left: 0; }
.card__price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0; }
.badge--sale { background: var(--accent); color: #fff; }
.chip.chip--sale { margin: 0; padding: 4px 11px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 750; }
.nav__link--hot { color: var(--accent); }
.nav__link--hot:hover { background: var(--accent-soft); color: var(--accent); }
.saleinfo { display: flex; align-items: center; gap: 8px; margin: -12px 0 20px; font-size: 14px; font-weight: 600; color: var(--accent); }
.check--sale span { font-weight: 650; color: var(--accent); }
@media (max-width: 720px) {
  .price-old { font-size: 12.5px; margin-left: 6px; }
  .price-old--lg { font-size: 17px; }
}

/* Расчёт доставки по API: подсказка города и выбор пункта выдачи */
.field--suggest { position: relative; }
.suggest { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 32px -14px rgba(0, 0, 0, .3); max-height: 280px; overflow: auto; }
.suggest[hidden] { display: none; }
.suggest__i { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 9px 12px; border: 0; background: transparent; border-radius: 8px; text-align: left; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.suggest__i:hover, .suggest__i:focus-visible { background: var(--accent-soft); outline: 0; }
.suggest__i small { color: var(--muted); font-size: 13px; font-weight: 500; }
.pvz { display: grid; gap: 8px; }
.pvz[hidden] { display: none; }
.pvz__list { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); }
.pvz__list .hint { padding: 10px 0; margin: 0; }
.hint--info { color: var(--ink-2); }

/* Боковая панель (меню на телефоне): отдельный слой поверх страницы, не внутри шапки с размытием фона */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s linear .35s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(18 14 10 / .58); opacity: 0; transition: opacity .3s ease; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); padding: calc(14px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom)); box-shadow: 28px 0 70px rgb(0 0 0 / .32); transform: translateX(-104%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav .nav__link { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-radius: 0; border-bottom: 1px solid var(--line); background: none; font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.drawer__nav .nav__link:hover, .drawer__nav .nav__link:focus-visible { background: none; color: var(--accent); }
.drawer__nav .nav__link--soon { opacity: .5; }
.drawer__badge { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.drawer__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.drawer__foot p { margin: 0; }
.drawer__phone { font-size: 20px; font-weight: 750; color: var(--ink); }
html.nav-open { overflow: hidden; }
@media (min-width: 901px) { .drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer__scrim, .drawer__panel { transition: none; } }

/* Оплата на странице заказа: СБП, реквизиты, карта */
.payboxes { display: grid; gap: 18px; margin: 0 0 30px; }
.paybox { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 22px 54px -36px rgb(0 0 0 / .4); }
.paybox__h { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.paybox__h h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.paybox__h p { margin: 2px 0 0; }
.paybox__ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.paybox__ic .ic { width: 24px; height: 24px; }
.paybox__sbp { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.paybox__qr { width: 224px; height: 224px; background: #fff; border-radius: 18px; padding: 10px; border: 1px solid var(--line); }
.paybox__qr svg { width: 100%; height: 100%; display: block; }
.paybox__steps { margin: 0 0 20px; padding-left: 20px; color: var(--ink-2); display: grid; gap: 9px; }
.paybox__note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.reqs { display: grid; margin: 0; }
.reqs__row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.reqs__row:first-child { border-top: 0; }
.reqs dt { color: var(--muted); font-size: 14px; }
.reqs dd { margin: 0; font-weight: 650; word-break: break-word; font-variant-numeric: tabular-nums; }
.copy { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.copy:hover { border-color: var(--ink-2); }
.copy:active { transform: scale(.94); }
.copy.is-done { background: var(--good); border-color: var(--good); color: #fff; }
@media (max-width: 700px) {
  .paybox__sbp { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .paybox__qr { width: min(250px, 72vw); height: min(250px, 72vw); }
  .paybox__how { width: 100%; }
  .paybox__how .btn { width: 100%; justify-content: center; }
  .reqs__row { grid-template-columns: minmax(0, 1fr) auto; }
  .reqs dt { grid-column: 1 / -1; }
}
