/* AFPARTS — стили витрины */
:root {
  --bg: #ffffff;
  --panel: #f3f5f7;
  --panel-2: #e9edf1;
  --line: #dde2e8;
  --line-strong: #c5ccd5;
  --ink: #0d1117;
  --ink-2: #3b4550;
  --ink-3: #5d6874;
  --brand: #0872b5;
  --brand-ink: #075e95;
  --brand-hi: #2bbcf2;
  --brand-wash: #e6f4fc;
  --ok: #157a3c;
  --ok-wash: #e5f4ea;
  --wait: #9a5b00;
  --wait-wash: #fdf1dc;
  --off: #8a3540;
  --off-wash: #f8e8ea;
  --night: #0a0e13;
  --night-2: #141a22;
  --night-line: #26303b;
  --night-ink: #e9eef3;
  --night-ink-2: #a6b1bd;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-pop: 0 18px 48px -12px rgba(13, 17, 23, .28), 0 2px 6px rgba(13, 17, 23, .08);
  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font); font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--brand-hi); color: var(--night); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
html { scrollbar-color: var(--line-strong) var(--panel); }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num, .sku { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-wash); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--panel-2); color: var(--ink-3); cursor: not-allowed; border-color: transparent; }
.btn.is-loading { color: transparent; position: relative; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid transparent; background: transparent; position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--panel); }
.badge {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.badge:empty, .badge[data-count="0"] { display: none; }

.link { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.topbar { background: var(--night); color: var(--night-ink-2); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }
.topbar-info { display: flex; gap: 20px; align-items: center; min-width: 0; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-info .icon { width: 15px; height: 15px; color: var(--brand-hi); }
.topbar-nav { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; height: 76px; }
.logo { display: flex; flex-direction: column; gap: 3px; flex: none; }
.logo img { height: 26px; width: auto; align-self: flex-start; }
.logo small { font-size: 11px; color: var(--ink-3); letter-spacing: .01em; }
.catalog-btn { margin-left: 12px; }
.search { position: relative; flex: 1; min-width: 0; }
.search input {
  width: 100%; height: 48px; padding: 0 48px 0 44px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.search > .icon { position: absolute; left: 14px; top: 14px; color: var(--ink-3); }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 6px; display: none; max-height: 420px; overflow: auto;
}
.search-results.open { display: block; }
.search-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 6px; }
.search-results a:hover, .search-results a.active { background: var(--panel); }
.search-results b { font-weight: 600; font-size: 14px; }
.search-results small { grid-column: 1; color: var(--ink-3); font-size: 12px; }
.search-results .stock { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.search-empty { padding: 14px 12px; color: var(--ink-3); font-size: 14px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.2; }
.header-phone a:first-child { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.header-phone button { background: none; border: 0; padding: 4px 0 0; color: var(--brand-ink); font-size: 13px; font-weight: 500; }
.header-phone button:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-actions { display: flex; gap: 4px; flex: none; }
.burger, .call-btn { display: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(13,17,23,.25); display: none; }
.mega.open { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 28px; padding-bottom: 32px; height: auto; align-items: start; }
.mega h4 { display: flex; align-items: center; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mega li a:hover { color: var(--brand-ink); }
.mega li a span { color: var(--ink-3); font-size: 13px; font-weight: 400; }

/* ---------- Stock pill ---------- */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--ok); }
.stock-order { color: var(--wait); }
.stock-out { color: var(--off); }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.hero-copy { max-width: 640px; }
/* Фото — правая часть баннера с сайта: обрезаем так, чтобы текст баннера не попадал в кадр */
.hero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: min(46vw, 640px); overflow: hidden; z-index: -1; container-type: size; }
.hero-photo img { position: absolute; right: 0; top: 50%; transform: translateY(-50%); max-width: none; width: max(248.6cqw, 202.25cqh); height: auto; filter: saturate(1.08) contrast(1.05); }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 0%, rgba(10,14,19,.6) 18%, rgba(10,14,19,0) 45%), linear-gradient(0deg, var(--night) 0%, rgba(10,14,19,0) 35%); }
.hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand-hi); }
.hero-lead { margin-top: 20px; max-width: 540px; color: var(--night-ink-2); font-size: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: var(--night-ink-2); }
.hero-facts span { display: inline-flex; gap: 8px; align-items: center; }
.hero-facts .icon { color: var(--brand-hi); width: 18px; height: 18px; }

/* Подбор по автомобилю — горизонтальная панель */
.picker {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 20px 20px 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  display: grid; grid-template-columns: minmax(220px, auto) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 14px; align-items: end;
}
.picker-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.picker h2 { font-size: 20px; font-weight: 700; }
.picker p { color: var(--ink-3); font-size: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--panel); border-radius: 10px; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; font-weight: 600; color: var(--ink-2); transition: background .25s var(--ease), color .2s, box-shadow .25s; }
.seg button .icon { width: 22px; height: 22px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13,17,23,.14); }
.field { display: block; margin-top: 14px; }
.picker .field { margin-top: 0; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.select, .input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.select:disabled { background-color: var(--panel); color: var(--ink-3); }
.select:focus, .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
.input.is-invalid { border-color: var(--off); box-shadow: 0 0 0 3px var(--off-wash); }
.field > .field-error { display: none; color: var(--off); font-size: 13px; margin-top: 6px; }
.field.has-error > .field-error { display: block; }
.picker .btn { padding: 0 28px; }
.picker-result { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); min-height: 21px; margin-top: 4px; }
.picker-result b { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--panel); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--ink-3); margin-top: 8px; max-width: 560px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
.more:hover { gap: 10px; }
.more .icon { width: 18px; height: 18px; transition: transform .2s; }

/* Category index */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.cats-col h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cats-col h3 .icon { width: 26px; height: 26px; }
.cats-col ul { list-style: none; margin: 0; padding: 0; }
.cat-row { display: grid; grid-template-columns: 1fr auto 20px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.cat-row:hover { padding-left: 8px; }
.cat-row b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cat-row small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.cat-row .count { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.cat-row .icon { color: var(--ink-3); transition: color .2s, transform .3s var(--ease); }
.cat-row:hover .icon { color: var(--brand); transform: translateX(3px); }

/* Product grid */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fit-tabs { margin: -8px 0 24px; }
.fit-tabs .num { opacity: .6; font-weight: 500; margin-left: 2px; }
.fit-more + .section { padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-more { display: flex; justify-content: center; margin-top: 32px; }
.grid-more:empty { display: none; }
.grid-more .btn { min-width: 260px; gap: 8px; }
.grid-more small { color: var(--ink-3); font-weight: 500; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s, box-shadow .3s var(--ease); }
.product:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(13,17,23,.35); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 100%, #fff 0%, var(--panel) 70%); display: grid; place-items: center; }
.product-media svg { width: 72%; height: auto; }
.product-media { overflow: hidden; }
.product-media:has(.product-photo) { background: #fff; }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product:hover .product-photo { transform: scale(1.04); }
.product-media .product-type { z-index: 1; }
.thumb { overflow: hidden; }
.thumb-photo { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product-type { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px; border-radius: 6px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); }
.product-type .icon { width: 16px; height: 16px; }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.product-fit { font-size: 12px; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .04em; }
.product-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.product-title a:hover { color: var(--brand-ink); }
.product-sku { font-size: 12px; color: var(--ink-3); word-break: break-all; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.product-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.price-ask { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.product-actions { display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
.product-actions .icon-btn { border-color: var(--line-strong); height: 40px; width: 44px; }
.product-actions .icon-btn:hover { border-color: var(--ink); background: #fff; }
.product-actions .icon-btn.in-cart { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-ink); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); grid-column: 1 / -1; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--ink-3); margin: 8px auto 20px; max-width: 440px; }

/* Deal of the day */
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--night); color: var(--night-ink); }
.deal-media { position: relative; min-height: 360px; background: radial-gradient(70% 70% at 40% 55%, #1d2a38 0%, var(--night) 75%); display: grid; place-items: center; }
.deal-media svg { width: 78%; }
.deal-media.has-photo { background: #0b1016; }
.deal-media.has-photo a { position: absolute; inset: 0; display: block; }
.deal-media.has-photo img { width: 100%; height: 100%; object-fit: contain; }
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.deal-price .price { font-size: clamp(26px, 2.4vw, 32px); color: #fff; }
.deal-price .price-ask { color: var(--night-ink); font-size: 18px; }
.deal-body { padding: 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.deal-label { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 6px; background: var(--brand-hi); color: var(--night); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.deal h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.025em; }
.deal .sku { color: var(--night-ink-2); font-size: 14px; }
.deal .stock-out { color: #ff9aa6; }
.deal-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.deal .qty { border-color: var(--night-line); }
.deal-note { font-size: 14px; color: var(--night-ink-2); }

/* Banners strip */
.banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.banner { border-radius: var(--radius-lg); overflow: hidden; display: block; background: var(--night); transition: transform .4s var(--ease); }
.banner img { width: 100%; height: auto; aspect-ratio: 900 / 445; object-fit: cover; transition: transform .6s var(--ease); }
.banner:hover img { transform: scale(1.03); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.benefit { padding: 28px 32px 8px 0; }
.benefit + .benefit { padding-left: 32px; border-left: 1px solid var(--line); }
.benefit .icon { width: 32px; height: 32px; color: var(--brand); stroke-width: 1.5; }
.benefit h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.benefit p { color: var(--ink-2); }

/* Guarantee band */
.guarantee { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.guarantee h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.guarantee > div > p { color: var(--ink-2); margin-top: 14px; max-width: 460px; }
.terms { display: grid; gap: 0; }
.term { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.term:first-child { border-top: 1px solid var(--line); }
.term-num { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.term-num small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-top: 6px; }
.term h3 { font-size: 17px; font-weight: 700; }
.term p { color: var(--ink-2); margin-top: 4px; font-size: 15px; }

/* Marketplaces */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.market { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s; }
.market:hover { border-color: var(--ink); }
.market-pic { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.market-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.market-pic.is-wide img { object-fit: contain; }
.market:hover .market-pic img { transform: scale(1.03); }
.market-name { font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.market-name small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 500; margin-top: 2px; }
.market-name .icon { color: var(--ink-3); width: 18px; height: 18px; flex: none; transition: color .2s; }
.market:hover .market-name .icon { color: var(--brand); }
.footer-markets { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.footer-markets span { flex-basis: 100%; color: var(--night-ink); font-weight: 600; }
.footer-markets a { color: var(--night-ink); text-decoration: underline; text-decoration-color: var(--night-line); text-underline-offset: 3px; }

/* About + pickup */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.about h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.about-text p { color: var(--ink-2); margin-top: 16px; max-width: 620px; font-size: 17px; }
.pickup { background: var(--night); color: var(--night-ink); border-radius: var(--radius-lg); padding: 32px; }
.pickup h3 { font-size: 22px; font-weight: 700; }
.pickup dl { margin: 20px 0 24px; display: grid; gap: 16px; }
.pickup dt { font-size: 13px; color: var(--night-ink-2); font-weight: 500; }
.pickup dd { margin: 2px 0 0; font-weight: 600; }
.pickup dd small { display: block; font-weight: 400; color: var(--night-ink-2); font-size: 14px; }
.pickup .hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; font-variant-numeric: tabular-nums; }
.pickup .btn-ghost { color: var(--night-ink); border-color: var(--night-line); }
.pickup .btn-ghost:hover { border-color: var(--night-ink); }
.pickup-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* CTA strip */
.cta { background: var(--brand-ink); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.cta h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; max-width: 640px; }
.cta p { margin-top: 8px; color: #d6eefb; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--night-ink-2); font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer .logo img { filter: invert(1); }
.footer .logo small { color: var(--night-ink-2); }
.footer h4 { color: var(--night-ink); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-phone { color: var(--night-ink); font-size: 20px; font-weight: 700; display: inline-block; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid var(--night-line); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.footer p { margin-top: 14px; max-width: 300px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 28px; padding-bottom: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 640px; font-size: 17px; }

/* Catalog layout */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 28px; }
.filter-group h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list button { width: 100%; display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 9px 12px; border-radius: 6px; border: 0; background: none; font-size: 15px; color: var(--ink-2); }
.filter-list button:hover { background: var(--panel); color: var(--ink); }
.filter-list button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-list button span { color: inherit; opacity: .6; font-variant-numeric: tabular-nums; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog-bar .count { color: var(--ink-3); font-size: 14px; }
.catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 16px; background: var(--brand-wash); color: var(--brand-ink); font-size: 13px; font-weight: 600; border: 0; }
.chip .icon { width: 16px; height: 16px; }
.filters-toggle { display: none; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 32px; }
.pdp-media { background: radial-gradient(120% 90% at 50% 100%, #fff 0%, var(--panel) 70%); border-radius: var(--radius-lg); aspect-ratio: 1 / 1; display: grid; place-items: center; border: 1px solid var(--line); position: relative; }
.pdp-media svg { width: 74%; }

/* Галерея товара */
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(13,17,23,.25); transition: opacity .2s, background .2s; }
.gallery-nav:hover { background: #fff; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.prev .icon { transform: scaleX(-1); }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 14px; background: rgba(10,14,19,.72); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.gallery-thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--panel); opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--brand); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,9,12,.94); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox.open { display: flex; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox .icon-btn { position: absolute; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.12); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev .icon { transform: scaleX(-1); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c7d0d9; font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-video { cursor: auto; background: #0a0e13; position: relative; }
.gallery-video video, .gallery-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #0a0e13; }
.video-poster { width: 100%; height: 100%; padding: 0; border: 0; background: #0a0e13 center / cover no-repeat; display: grid; place-items: center; cursor: pointer; }
.video-play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.35); transition: transform .2s; }
.video-poster:hover .video-play { transform: scale(1.06); }
.video-play .icon { width: 30px; height: 30px; fill: currentColor; stroke-width: 1; margin-left: 4px; }
.gallery-thumbs .is-video { position: relative; background: #0a0e13; }
.gallery-thumbs video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.gallery-thumbs .is-video img { object-fit: cover; }
.video-play.sm { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.video-play.sm .icon { width: 14px; height: 14px; margin-left: 2px; }
.product-video { position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; border-radius: 6px; background: rgba(10,14,19,.78); color: #fff; font-size: 12px; font-weight: 600; }
.product-video .icon { width: 14px; height: 14px; fill: currentColor; stroke-width: 1; }
@media (max-width: 760px) { .gallery-nav { display: none; } .lightbox { padding: 56px 12px; } .gallery-thumbs { grid-template-columns: repeat(4, 1fr); } }
.pdp-media .note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.pdp-info { display: grid; gap: 18px; }
.pdp-info h1 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-3); }
.buybox { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 16px; }
.buybox-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.buybox .price-ask { font-size: 22px; color: var(--ink); font-weight: 700; }
.buybox-actions { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; }
.buybox small { color: var(--ink-3); font-size: 13px; }
/* Описание товара */
.desc .desc-inner { border-top: 1px solid var(--line); padding-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 56px; }
.desc h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.025em; }
.desc-body { max-width: 72ch; }
.desc-body p { color: var(--ink-2); font-size: 17px; }
.desc-body p + p, .desc-body ul + p { margin-top: 14px; }
.desc-body ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 17px; }
.desc-body li::marker { color: var(--brand); }
@media (max-width: 980px) { .desc .desc-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; } }

.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--ink-3); font-weight: 500; width: 40%; padding-right: 16px; }
.specs td { font-variant-numeric: tabular-nums; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pdp-perks { display: grid; gap: 12px; }
.perk { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); }
.perk .icon { color: var(--brand); }
.perk b { color: var(--ink); font-weight: 600; display: block; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.aside-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 14px; }
.aside-card h3 { font-size: 18px; font-weight: 700; }
.aside-card p { color: var(--ink-2); font-size: 15px; }
.method { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method:first-of-type { border-top: 1px solid var(--line); }
.method .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-wash); color: var(--brand-ink); display: grid; place-items: center; }
.method h3 { margin: 0 0 4px; font-size: 18px; }
.method p { font-size: 16px; }
.callout { background: var(--wait-wash); border-radius: var(--radius); padding: 16px 18px; color: #5a3a00; font-size: 15px; margin-top: 20px; }

.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.contact { padding: 24px 24px 24px 0; }
.contact + .contact { padding-left: 24px; border-left: 1px solid var(--line); }
.contact dt { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.contact dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.contact dd small { display: block; font-size: 14px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.map { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10,14,19,.55); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; z-index: 90; left: 50%; top: 50%; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 28px;
  transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .25s;
}
.modal.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.modal h2 { font-size: 22px; font-weight: 700; padding-right: 40px; }
.modal-sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal form { margin-top: 8px; }
.modal .btn-block { margin-top: 20px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2); align-items: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--off-wash); color: var(--off); font-size: 14px; }
.form-error a { color: inherit; font-weight: 700; white-space: nowrap; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.check.has-error { color: var(--off); }
.success { text-align: center; padding: 16px 0 4px; }
.success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-wash); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success .ok .icon { width: 28px; height: 28px; stroke-width: 2.25; }
.success p { color: var(--ink-2); margin-top: 8px; }
.modal-product { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px; margin-top: 16px; background: var(--panel); border-radius: var(--radius); }
.modal-product .thumb { width: 64px; height: 48px; display: grid; place-items: center; background: #fff; border-radius: 6px; }
.modal-product .thumb svg { width: 52px; }
.modal-product b { font-size: 14px; font-weight: 600; line-height: 1.3; display: block; }
.modal-product small { font-size: 12px; color: var(--ink-3); }
.modal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--panel); border-radius: 10px; margin-top: 16px; }
.modal-tabs button { height: 40px; border: 0; border-radius: 7px; background: none; font-weight: 600; color: var(--ink-2); }
.modal-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13,17,23,.14); }

.drawer {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; font-weight: 700; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot small { color: var(--ink-3); font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 64px; height: 56px; display: grid; place-items: center; background: var(--panel); border-radius: 6px; }
.cart-item .thumb svg { width: 52px; }
.cart-item b { font-size: 14px; font-weight: 600; line-height: 1.3; display: block; }
.cart-item small { color: var(--ink-3); font-size: 12px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-item .qty { height: 36px; }
.cart-item .qty button { width: 32px; }
.cart-item .qty input { width: 32px; }
.remove { background: none; border: 0; color: var(--ink-3); font-size: 13px; padding: 4px; }
.remove:hover { color: var(--off); }
.cart-empty { text-align: center; padding: 56px 8px; color: var(--ink-3); }
.cart-empty .icon { width: 40px; height: 40px; margin: 0 auto 14px; stroke-width: 1.25; }
.cart-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

.mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; z-index: 90; transform: translateX(-104%); transition: transform .45s var(--ease); display: flex; flex-direction: column; overflow: auto; }
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav nav { padding: 8px 20px; }
.mobile-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 20px 0 6px; }
.mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav-foot { margin-top: auto; padding: 20px; background: var(--panel); display: grid; gap: 10px; }
.mobile-nav-foot a.phone { font-weight: 700; font-size: 18px; }

.cookie {
  position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 420px; background: var(--night); color: var(--night-ink); border-radius: var(--radius-lg);
  padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; font-size: 13px; box-shadow: var(--shadow-pop);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie.show { transform: none; }
.cookie a { text-decoration: underline; text-underline-offset: 2px; }

.toast {
  position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 16px 12px 14px; border-radius: 10px;
  display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: var(--shadow-pop); max-width: calc(100vw - 32px); visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.toast .icon { color: var(--brand-hi); }
.toast button { background: none; border: 0; color: var(--brand-hi); font-weight: 600; padding: 0 0 0 8px; }

body.locked { overflow: hidden; }

/* ---------- Entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .picker { animation: rise 1s .15s var(--ease) both; }
  .hero-photo img { animation: lightson 1.6s .1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes lightson { from { filter: brightness(.3) saturate(.5); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-phone { display: none; }
  .markets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .topbar-nav { display: none; }
  .catalog-btn .label { display: none; }
  .catalog-btn { padding: 0 14px; margin-left: 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 32px; gap: 28px; }
  .hero-photo { top: 0; bottom: auto; left: 0; width: 100%; height: 340px; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(10,14,19,.1) 0%, rgba(10,14,19,.65) 60%, var(--night) 100%); }
  .hero-copy { padding-top: 170px; }
  .picker { grid-template-columns: 1fr 1fr 1fr; }
  .picker .seg, .picker .btn { grid-column: 1 / -1; }
  .cats { grid-template-columns: 1fr; gap: 32px; }
  .deal { grid-template-columns: 1fr; }
  .deal-media { min-height: 260px; }
  .banners { grid-template-columns: 1fr 1fr; }
  .banners .banner:nth-child(3) { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .guarantee, .about, .info-grid { grid-template-columns: 1fr; gap: 32px; }
  .aside-card { position: static; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 90; inset: auto 0 0 0; background: #fff; border-radius: 16px 16px 0 0; padding: 24px 20px; max-height: 80vh; overflow: auto; transform: translateY(104%); transition: transform .45s var(--ease); box-shadow: var(--shadow-pop); }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact, .contact + .contact { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .header .wrap { height: 64px; gap: 8px; }
  .burger { display: inline-grid; margin-left: -10px; }
  .call-btn { display: inline-grid; }
  .catalog-btn { display: none; }
  .logo small { display: none; }
  .logo img { height: 20px; }
  .search { order: 5; flex-basis: 100%; }
  .header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .header-actions { margin-left: auto; }
  .header-actions .account-btn { display: none; }
  .grid, .catalog .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 12px; }
  .product-title { font-size: 14px; }
  .product-sku { display: none; }
  .product-type .label { display: none; }
  .product-type { padding: 4px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .banners { grid-template-columns: 1fr; }
  .banners .banner:nth-child(2) { display: none; }
  .deal-body { padding: 28px 20px; }
  .term { grid-template-columns: 1fr; gap: 8px; }
  .markets { grid-template-columns: 1fr 1fr; gap: 12px; }
  .market-name { font-size: 15px; padding: 12px 14px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .wrap { flex-direction: column; }
  .buybox-actions { grid-template-columns: 1fr 1fr; }
  .buybox-actions .qty { grid-column: 1 / -1; justify-self: start; }
  .cookie { right: 16px; max-width: none; }
  .map { aspect-ratio: 4 / 3; }
  .hero-photo { height: 300px; }
  .hero-copy { padding-top: 150px; }
  .picker { grid-template-columns: 1fr; }
  .hero-lead { font-size: 16px; }
  .picker { padding: 20px; }
}
@media (max-width: 400px) {
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .icon-btn { display: none; }
}
