/* Osnaga — общая дизайн-система макетов. Компоненты одинаковы во всех вариантах (HIG: системность),
   характер варианта — токены (:root в b.css, c.css, d.css, e.css) и фирменные приёмы там же.
   Правила: тач-цели ≥ 44 px; кольцо фокуса ≥ 3:1 на любом фоне (двойное: тёмное + светлый ореол);
   рамки полей и чипов ≥ 3:1; прозрачность и анимации — с prefers-reduced-motion. */

:root {
  --bg: #f5f5f7; --surface: #fff; --surface-2: #f0f1f3; --ink: #16181d; --ink-2: #4b5160; --line: #e3e5ea; --ctl: #858b96;
  --accent: #0a64d8; --on-accent: #fff; --accent-2: #0852b3; --brand: #16181d; --on-brand: #fff;
  --ok: #1d7a3e; --ok-bg: #e6f4ea; --warn: #8a5300; --warn-bg: #fdf1dc; --err: #b3261e; --err-bg: #fcebea;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-btn: 12px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --sh-2: 0 4px 12px rgba(16, 24, 40, .08), 0 12px 32px rgba(16, 24, 40, .08);
  --sh-3: 0 24px 60px rgba(16, 24, 40, .18);
  --font: system-ui, sans-serif; --font-head: var(--font); --head-w: 700; --head-track: -.015em;
  --focus: #0b1220; --halo: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1); --t: .2s;
  --wrap: 1280px; --gut: 28px;
  --z-sticky: 20; --z-drop: 30; --z-float: 40; --z-sheet: 60; --z-toast: 70;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--font-head); font-weight: var(--head-w); letter-spacing: var(--head-track); text-wrap: balance; }
p, li { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::placeholder { color: var(--ink-2); opacity: 1; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 4px var(--halo); border-radius: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
.vh { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r-btn); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; box-shadow: none; }
.i { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.i--s { width: 16px; height: 16px; vertical-align: -3px; }
[hidden] { display: none !important; }

/* ---------- кнопки: один акцент — только покупка (HIG: prominent — для самого вероятного действия) ---------- */
.btn-pri, .btn-sec, .btn-ter, .btn-eq { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-btn); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color var(--t), border-color var(--t), transform .12s var(--ease), box-shadow var(--t); white-space: nowrap; }
.btn-pri { background: var(--accent); color: var(--on-accent); border: 0; }
.btn-pri:hover { background: var(--accent-2); }
.btn-sec { background: transparent; color: var(--ink); border: 1.5px solid var(--ctl); }
.btn-sec:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-ter { background: transparent; color: var(--ink); border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 0 12px; }
.btn-ter:hover { background: var(--surface-2); }
.btn-eq { flex: 1; background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-eq:hover { background: var(--surface-2); }
.btn-pri:active, .btn-sec:active, .btn-eq:active, .pc__btn:active, .hd__ibtn:active { transform: scale(.97); }
.btn-pri[disabled] { opacity: .45; cursor: not-allowed; }
.lnk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.lnk:hover { color: var(--ink); text-decoration: underline; }
.lnk[aria-pressed="true"] { color: var(--err); }
.lnk[aria-pressed="true"] .i { fill: currentColor; }

/* статусы: не только цветом — иконка + текст */
.stk { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.st-yes { color: var(--ok); } .st-low { color: var(--warn); } .st-no { color: var(--err); }
.badge-excl { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 6px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.stars { color: #8a5c00; letter-spacing: 1px; }
.stars__off { color: #5b6270; }
.stars__n { color: var(--ink-2); font-size: 14px; }
.note-src { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }

/* ---------- шапка ---------- */
.hd { position: relative; z-index: var(--z-sticky); background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.hd__util { background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.hd__util .wrap { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.hd__utl { display: flex; gap: 4px; }
.hd__utl a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; border-radius: 8px; text-decoration: none; }
.hd__utl a:hover { color: var(--ink); background: var(--surface); }
.hd__utl a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 -2px 0 var(--brand); }
.hd__hours { margin-left: auto; }
.lang { display: inline-flex; padding: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl); }
.lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 700; }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }
.hd__main { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 34px; height: 34px; color: var(--brand); }
.logo__word { font: 700 24px/1 var(--font-head); letter-spacing: -.02em; }
.hd__search { position: relative; flex: 1; display: flex; max-width: 520px; margin-left: 12px; }
.hd__search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 48px 0 16px; border: 1.5px solid var(--ctl); border-radius: var(--r-btn); background: var(--surface); }
.hd__search input:focus { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 4px var(--halo); border-color: var(--ink); }
.hd__sbtn { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 10px; color: var(--ink-2); }
.hd__cl { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hd__cl > a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--r-btn); text-decoration: none; white-space: nowrap; }
.hd__cl > a:hover { background: var(--surface-2); }
.hc__phone { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.hc__exp { box-shadow: inset 0 0 0 1.5px var(--ctl); font-weight: 700; margin-left: 4px; }
.hc__cb { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.hd__ibtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn); border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--ink); flex: none; }
.hd__ibtn:hover { background: var(--surface-2); }
.hd__ibtn[aria-current="page"] { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--brand); }
.hd__ibtn b { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 11px; display: grid; place-items: center; }
.hd__cart b { background: var(--accent); color: var(--on-accent); }
.hd__stog, .hd__burger, .hd__row2, .hd__fav--m, .hd__mnav { display: none; }
.nav-t { position: absolute; opacity: 0; pointer-events: none; }
.hd__nav { border-top: 1px solid var(--line); }
.hd__nav .wrap { display: flex; align-items: center; gap: 2px; min-height: 52px; }
.hd__nav .wrap > a, .more__b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-weight: 600; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.hd__nav .wrap > a:hover, .more__b:hover, .more__b[aria-expanded="true"] { background: var(--surface-2); }
.hd__navfit { background: var(--brand) !important; color: var(--on-brand); margin-right: 8px; }
.hd__navcar { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; margin-left: auto; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-weight: 700; text-decoration: none; }
.hd__navcar + .hd__hours { margin-left: 8px; }
.hd__excl { margin-left: auto; }
.more { position: relative; }
.more__l { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: var(--z-drop); margin: 0; padding: 6px; list-style: none; min-width: 300px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-3); }
.more:hover .more__l, .more:focus-within .more__l, .more__b[aria-expanded="true"] + .more__l { display: block; }
.more__l a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; }
.more__l a:hover { background: var(--surface-2); }

/* подсказки поиска (BL-03) */
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: var(--z-drop); max-height: 72vh; overflow: auto; padding: 8px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-3); }
.sugg h3 { margin: 8px 8px 4px; font: 700 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.sugg__it { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px; border-radius: 10px; text-decoration: none; }
.sugg__it[aria-selected="true"], .sugg__it:hover { background: var(--surface-2); }
.sugg__it img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.sugg__it span { flex: 1; min-width: 0; }
.sugg__it small { display: block; color: var(--ink-2); font-size: 13px; }
.sugg__it b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sugg__hint { margin: 6px 8px; padding: 8px 10px; border-radius: 10px; background: var(--ok-bg); font-size: 13px; }
.sugg__all { display: flex; justify-content: center; min-height: 44px; align-items: center; font-weight: 700; }

/* ---------- заголовки страниц, крошки ---------- */
.crumbs ol { display: flex; gap: 2px; list-style: none; margin: 0; padding: 12px 0 0; font-size: 14px; color: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.crumbs li { display: flex; align-items: center; white-space: nowrap; }
.crumbs li + li::before { content: "›"; margin: 0 4px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; text-decoration: none; border-radius: 6px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.lp { padding: 12px 0 20px; }
.lp h1 { font-size: clamp(26px, 2.6vw, 36px); }
.lp__p { max-width: 70ch; margin: 10px 0 0; color: var(--ink-2); font-size: 17px; }
.lp--gen { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; }
.lp--gen h1 span { font-size: inherit; color: inherit; }
.lp--gen img { border-radius: var(--r-md); }
.step { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink); font-size: 14px; font-weight: 700; }
.pg-h { font-size: clamp(26px, 2.6vw, 34px); margin: 14px 0 24px; }
.sec { padding-top: 48px; }
.sec--first { padding-top: 28px; }
.lp__n { margin: 8px 0 0; font-weight: 600; }
.sec__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 18px; }
.sec__h h2, .sec__t { font-size: clamp(21px, 2vw, 26px); }
.sec__t { margin-bottom: 16px; }
.sec__t small { color: var(--ink-2); font-size: .7em; font-weight: 600; }
.sec__more { margin-left: auto; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.longtext > * { max-width: none; }
.longtext h2 { font-size: 22px; margin-bottom: 12px; }
.longtext p { margin: 0 0 12px; color: var(--ink-2); }
.longtext b { color: var(--ink); }
.about p { max-width: none; color: var(--ink-2); }
.also { margin: 20px 0 0; color: var(--ink-2); }
.also a { color: var(--ink); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.tags a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 600; }
.tags a:hover, .tags a[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }
.tags small { color: var(--ink-2); font-weight: 600; }
.gennav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: thin; }
.gennav a { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 4px 14px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; font-weight: 600; white-space: nowrap; line-height: 1.2; }
.gennav small { color: var(--ink-2); font-weight: 500; }

/* ---------- плитки: подкатегории, поколения, марки, модели ---------- */
.subcats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 12px; padding: 0; }
.subcats a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; min-height: 56px; padding: 8px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; }
.subcats a:hover { box-shadow: var(--sh-2); }
.subcats .i { grid-row: span 2; width: 26px; height: 26px; color: var(--brand); }
.subcats__n { font-weight: 700; } .subcats__c { color: var(--ink-2); font-size: 13px; }
.gens { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; list-style: none; margin: 8px 0 0; padding: 0; }
.gens a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; transition: box-shadow var(--t), transform var(--t) var(--ease); }
.gens a:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.gens a[aria-current] { box-shadow: 0 0 0 2px var(--brand), var(--sh-1); }
.gens img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gens__n { padding: 12px 16px 0; font-weight: 700; font-size: 17px; }
.gens__y { padding: 0 16px; color: var(--ink-2); }
.gens__c { margin-top: auto; padding: 4px 16px 14px; color: var(--ink-2); font-size: 14px; }
.gens--sm { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.gens img.gens__logo { object-fit: contain; padding: 14% 30%; background: var(--surface-2); }
.pgens { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.pgens a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; }
.pgens img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pgens b { padding: 10px 12px 0; }
.pgens__y { padding: 2px 12px 0; color: var(--ink-2); font-size: 14px; }
.pgens__c { margin-top: auto; padding: 8px 12px 12px; color: var(--ink-2); font-size: 14px; }
.gens > li, .pgens > li, .gchips > li, .bgrid > li, .mgrid > li, .ectiles > li, .tasks > li, .elogos > li { display: flex; }
.gens > li > a, .pgens > li > a, .gchips > li > a, .bgrid > li > a, .mgrid > li > a, .ectiles > li > a, .tasks > li > a, .elogos > li > a { flex: 1; width: 100%; height: auto; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; list-style: none; margin: 8px 0 0; padding: 0; }
.bgrid a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; font-weight: 600; }
.bgrid a:hover { box-shadow: var(--sh-2); }
.bgrid img { width: 30px; height: 30px; object-fit: contain; }
.bgrid small { margin-left: auto; color: var(--ink-2); font-weight: 500; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; list-style: none; margin: 8px 0 0; padding: 0; }
.mgrid a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; min-height: 72px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; }
.mgrid a:hover { box-shadow: var(--sh-2); }
.mgrid a.is-hl { box-shadow: 0 0 0 2px var(--brand), var(--sh-1); }
.mgrid b { font-size: 18px; } .mgrid span { grid-column: 1; color: var(--ink-2); font-size: 14px; } .mgrid .i { grid-row: 1 / 3; grid-column: 2; }
.sec__note { margin: 0 0 14px; color: var(--ink-2); }

/* ---------- эксперт ---------- */
.ava { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 15px var(--font-head); }
.ava--lg { width: 56px; height: 56px; } .ava--xl { width: 88px; height: 88px; font-size: 26px; }
.xp__in { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.xp__who { display: flex; align-items: center; gap: 10px; }
.xp__who p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.xp__who p span { color: var(--ink-2); font-size: 13px; }
.xp h2 { font-size: 19px; }
.xp ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 15px; }
.xp li { display: flex; gap: 8px; padding: 2px 0; }
.xp li .i { color: var(--ok); margin-top: 3px; }
.xp__cl { display: flex; flex-direction: column; gap: 4px; }
.xc__phone, .xc__vb, .xc__tg, .xc__exp, .xc__cb, .fc__phone, .fc__vb, .fc__tg, .fc__exp, .fc__cb { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--r-btn); text-decoration: none; font-weight: 600; }
.xc__phone, .fc__phone { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.xc__vb:hover, .xc__tg:hover, .xc__cb:hover, .xc__phone:hover { background: var(--surface-2); }
.xc__exp, .fc__exp { justify-content: center; box-shadow: inset 0 0 0 1.5px var(--ink); margin-top: 4px; }
.xc__exp:hover { background: var(--surface-2); }
.xc__cb, .fc__cb { color: var(--ink-2); }
.xps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 20px 0 0; padding: 14px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.xps > p { flex: 1; min-width: 240px; margin: 0; }
.xps__cl { display: flex; flex-wrap: wrap; gap: 4px; }
.xps__cl .xc__exp { margin: 0; }

/* ---------- списки товаров ---------- */
.lst { display: grid; gap: 24px; align-items: start; }
.lst--side { grid-template-columns: 260px minmax(0, 1fr); }
.lst--side.lst--rail { grid-template-columns: 250px minmax(0, 1fr) 280px; }
.lst--bar { grid-template-columns: minmax(0, 1fr) 290px; }
.lst--drawer { grid-template-columns: minmax(0, 1fr); }
.lst__side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 12px; }
.lst > .xp, .lst__side > .xp { position: sticky; top: 12px; }
.tb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.tb__n { margin: 0; font-weight: 700; }
.refine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-left: auto; }
.refine__chk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.refine__sort { display: inline-flex; align-items: center; gap: 8px; }
.refine__sort span { color: var(--ink-2); font-size: 14px; }
select { min-height: 44px; padding: 0 36px 0 12px; border: 1.5px solid var(--ctl); border-radius: 10px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23444' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.flt { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 6px 16px 16px; }
.flt fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 12px 0; min-width: 0; }
.flt legend { float: none; display: block; width: 100%; padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.flt label { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.flt small { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.flt__range { display: flex; gap: 8px; }
.flt__range input, .fld input, .fld textarea, .fld select, .promo input, .trk input, .sbig input, .ft__subrow input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--ctl); border-radius: 10px; background: var(--surface); }
.flt__range input { padding: 0 8px; font-size: 14px; }
.fld textarea { padding: 12px 14px; min-height: 96px; }
.flt__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; margin-bottom: 6px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 600; }
.flt__link:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.flt__go { margin-top: 14px; min-height: 48px; border: 0; border-radius: var(--r-btn); background: var(--ink); color: var(--bg); font-weight: 700; cursor: pointer; }
.hf .flt { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; background: none; box-shadow: none; margin-bottom: 12px; }
.hf .flt > fieldset { padding: 0; border: 0; }
.hf__g { position: relative; }
.hf__g summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); font-weight: 600; cursor: pointer; }
.hf__g summary::-webkit-details-marker { display: none; }
.hf__g summary::after { content: "▾"; font-size: 12px; color: var(--ink-2); }
.hf__g[open] summary { box-shadow: inset 0 0 0 2px var(--ink); }
.hf__g fieldset { position: absolute; top: calc(100% + 6px); left: 0; z-index: var(--z-drop); min-width: 260px; margin: 0; padding: 10px 14px; border: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-3); }
.hf .flt__go { margin: 0; padding: 0 16px; }
.fbtn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; }
.fbtn--always { display: inline-flex; }
.fsheet__h { display: none; }
.fsheet--drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-sheet); width: min(400px, 100%); overflow: auto; padding: 0 16px 24px; background: var(--surface); box-shadow: var(--sh-3); transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.fsheet--drawer:target, .fsheet--drawer.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); box-shadow: 0 0 0 100vmax rgba(10, 14, 20, .45); }
.fsheet--drawer .fsheet__h { display: flex; position: sticky; top: 0; z-index: 1; align-items: center; justify-content: space-between; margin: 0 -16px 8px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fsheet--drawer .flt { box-shadow: none; padding: 0; }
.fsheet__x { display: inline-grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-btn); background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lst--side:not(.lst--rail) .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rows { display: flex; flex-direction: column; gap: 12px; }

/* плитка товара */
.pc { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; transition: box-shadow var(--t), transform var(--t) var(--ease); }
.pc:hover { box-shadow: var(--sh-2); }
.pc__img { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pc__ph { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: #2b2e35; color: #fff; font-size: 12px; font-weight: 600; }
.pc__fav { position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: var(--sh-1); }
.pc__fav[aria-pressed="true"] { color: var(--err); }
.pc__fav[aria-pressed="true"] .i { fill: currentColor; }
.pc__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pc__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; min-height: 22px; }
.pc__cat { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; position: relative; z-index: 1; }
.pc__name { font: 600 16px/1.3 var(--font); letter-spacing: 0; }
.pc__name a { text-decoration: none; }
.pc__name a::after { content: ""; position: absolute; inset: 0; }
.pc__name a:hover { text-decoration: underline; }
.pc__meta { margin: 0; font-size: 14px; color: var(--ink-2); }
.pc__fit { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ok); }
.pc__rate { margin: 0; font-size: 13px; } .pc__rate span { color: var(--ink-2); }
.pc__stock { margin: 0; }
.pc__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pc--row .pc__buy { flex-wrap: wrap; justify-content: flex-end; }
.pc--row .pc__cmp { flex: 1 0 100%; justify-content: flex-end; margin-top: 0; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__now { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price__old { font-size: 13px; color: var(--ink-2); }
.pc__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; }
.pc__btn:hover { background: var(--accent-2); }
.pc__btn--alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pc__cmp { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; cursor: pointer; }
.pc--out .pc__img img { opacity: .55; filter: grayscale(.6); }
.pc--row { flex-direction: row; }
.pc--row .pc__img { width: 180px; flex: none; aspect-ratio: auto; display: flex; align-items: center; }
.pc--row .pc__img img { height: auto; aspect-ratio: 1; }
.pc--row .pc__body { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.pc--row .pc__body > * { flex-basis: 100%; }
.pc--row .pc__buy { flex-basis: auto; margin-left: auto; margin-top: 0; }
.pc--row .pc__name { font-size: 18px; }

/* пагинация */
.pg ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 28px 0 0; padding: 0; }
.pg a, .pg__gap { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 700; }
.pg a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.pg__cur { background: var(--ink) !important; color: var(--bg); box-shadow: none !important; }
.pg__next { display: inline-flex !important; gap: 6px; }
.pg__gap { background: none; box-shadow: none; }
.slices { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.slices a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 600; }
.slices a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.slices a[aria-current="page"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.slices a[aria-current="page"] small { color: var(--bg); }
.slices small { color: var(--ink-2); }
.slices--bar { position: sticky; top: 0; z-index: 5; margin: 0 0 16px; padding: 8px 0; background: var(--bg); }
.slices--bar .slices { flex-wrap: nowrap; overflow-x: auto; margin: 0; scrollbar-width: none; }
.slices--bar .slices::-webkit-scrollbar { display: none; }

/* ---------- карточка ---------- */
.pp { display: grid; gap: 20px 40px; margin-top: 16px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "g t" "g b"; align-items: start; }
.pp--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "t g" "b g"; }
.pp--guide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) 280px; grid-template-areas: "g t s" "g b s"; }
.pp__t { grid-area: t; } .pp__g { grid-area: g; position: sticky; top: 12px; } .pp__b { grid-area: b; } .pp__s { grid-area: s; }
.ttl h1 { font-size: clamp(24px, 2.2vw, 32px); }
.ttl__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; font-size: 14px; }
.ttl__sub a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.ttl__sku { color: var(--ink-2); }
.fitline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--ok-bg); font-size: 15px; }
.fitline > .i { color: var(--ok); }
.fitline a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.gal { position: relative; }
.gal__track { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track > li { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.gal__track img { width: 100%; height: 100%; object-fit: contain; }
.gal__vid button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0f1115; cursor: pointer; }
.gal__vid img { opacity: .55; }
.gal__vid .i { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 18px; border-radius: 50%; background: #fff; color: #0f1115; }
.gal__vid span { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-weight: 700; }
.gal__count { position: absolute; top: 12px; left: 12px; margin: 0; padding: 2px 10px; border-radius: 10px; background: #2b2e35; color: #fff; font-size: 13px; font-weight: 600; }
.gal__thumbs { display: flex; gap: 8px; list-style: none; margin: 10px 0 0; padding: 0; overflow-x: auto; }
.gal__thumbs a { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.gal__thumbs a[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gal__tv { background: #0f1115 !important; color: #fff; }
.gal__note { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.buy { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.buy__now { font-size: clamp(30px, 3vw, 38px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.opts { margin: 16px 0 4px; }
.opts__g { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.opts__g legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.opts__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opts__it { position: relative; }
.opts__it input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts__it > span { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 16px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); cursor: pointer; line-height: 1.25; }
.opts__it small { color: var(--ink-2); font-size: 12px; }
.opts__ok { display: none; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.opts__it input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.opts__it input:checked + span .opts__ok { display: block; }
.opts__it input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--halo); }
.opts__sku { margin: 0; color: var(--ink-2); font-size: 13px; }
.buy__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.buy__cta { flex: 1 1 220px; min-height: 56px; font-size: 18px; }
.buy__alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.buy__alt a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 180px; min-height: 48px; padding: 0 14px; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 700; }
.buy__alt a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.buy__phone { font-variant-numeric: tabular-nums; }
.buy__minor { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; }
.buy__oos > p { display: flex; gap: 10px; margin: 14px 0 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--err-bg); }
.buy__oos > p .i { color: var(--err); margin-top: 2px; }
.buy__oos .btn-pri { width: 100%; min-height: 56px; }
.buy__oos .btn-sec { width: 100%; margin-top: 8px; }
.terms { margin-top: 12px; padding: 4px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.terms p { display: flex; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.terms p:last-child { border: 0; }
.terms b { color: var(--ink); }
.terms .i { color: var(--ink); margin-top: 2px; }
.pp__s { padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); position: sticky; top: 12px; }
.pp__s h2 { font-size: 18px; margin-bottom: 8px; }
.pp__s ul { list-style: none; margin: 0; padding: 0; }
.pp__s li { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pp__s li:last-child { border: 0; }
.pp__s .i { color: var(--ok); margin-top: 3px; }
.anchors { position: sticky; top: 0; z-index: var(--z-sticky); display: flex; gap: 4px; margin: 32px 0 0; padding: 6px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow-x: auto; border-bottom: 1px solid var(--line); }
.anchors a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.anchors a:hover, .anchors a.is-on { background: var(--surface); box-shadow: var(--sh-1); }
.anchors span { color: var(--ink-2); font-weight: 500; }
.duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.fit, .gift { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.fit h2, .gift h2, .rel h2, .desc h2, .spec h2, .rv h2, .qa h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.fit h2 .i { color: var(--ok); } .gift h2 .i { color: var(--brand); }
.fit h3 { font-size: 15px; margin: 14px 0 6px; }
.fit ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.gift__card { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; margin-top: 14px; padding: 10px; border-radius: var(--r-md); background: var(--surface-2); text-decoration: none; min-height: 80px; }
.gift__card img { background: #fff; border-radius: 10px; }
.gift__card span { display: flex; flex-direction: column; } .gift__card small { color: var(--ink-2); }
.rel { padding-top: 40px; }
.rel h2 { margin-bottom: 16px; }
.rel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rel__all a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.rel__gens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.rel__gens a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; }
.rel__gens span { display: flex; flex-direction: column; padding: 10px 14px 14px; color: var(--ink-2); font-size: 14px; }
.rel__gens b { color: var(--ink); font-size: 15px; }
.rel--swap { margin-top: 24px; padding: 24px; border-radius: var(--r-lg); background: var(--err-bg); }
.rel--swap .rel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.phub a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-weight: 600; background: var(--surface); }
.pp2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding-top: 32px; }
.desc p { margin: 0 0 14px; max-width: 70ch; }
.desc h3 { font-size: 18px; margin: 22px 0 8px; }
.desc figure { margin: 18px 0; max-width: 560px; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1); }
.desc figcaption { padding: 10px 14px; color: var(--ink-2); font-size: 14px; }
.spec { position: sticky; top: 64px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 12px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; font-size: 15px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border: 0; }
.specs th { width: 42%; color: var(--ink-2); font-weight: 500; }
.spec__src { color: var(--ink-2); font-size: 13px; }
.pp3 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.rv__head, .qa__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rv__empty { margin: 0; color: var(--ink-2); }
.rv + .qa { margin-top: 32px; }
.rv__head h2 span, .qa__head h2 span { color: var(--ink-2); font-weight: 600; font-size: .75em; }
.rv__filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.rv__filters a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--ctl); text-decoration: none; font-size: 14px; font-weight: 600; }
.rv__filters a[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }
.rv__list, .qa__list { display: grid; gap: 12px; }
.rv__item, .qa__item { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.rv__item header, .qa__item header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv__item time, .qa__item time { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.rv__item p { margin: 6px 0 0; }
.rv__bought { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700; }
.rv__media { display: flex; gap: 8px; margin-top: 10px; }
.rv__m { position: relative; display: grid; place-items: center; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.rv__m img { width: 100%; height: 100%; object-fit: contain; }
.rv__m--video { background: #0f1115; color: #fff; }
.rv__m--video span { position: absolute; bottom: 4px; right: 6px; font-size: 11px; }
.qa__q { margin: 6px 0 8px; font-weight: 600; }
.qa__a { padding: 10px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 15px; }
.qa__a b { display: inline-flex; align-items: center; gap: 6px; }
.qa__a p { margin: 4px 0 0; }
.form-box { margin-top: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.form-box summary { display: flex; align-items: center; min-height: 52px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.form { display: grid; gap: 14px; padding: 0 18px 18px; }
.dlg .form { padding: 0; }
.form__note { margin: 0; color: var(--ink-2); font-size: 14px; }
.form__ok { margin: 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--ok-bg); font-weight: 600; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld > label { display: block; font-weight: 700; font-size: 14px; }
.fld__h { margin: 0; font-size: 13px; color: var(--ink-2); }
.fld__err { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--err); }
.fld__err::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--err); color: #fff; font-size: 12px; font-weight: 800; }
input[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 1px var(--err); }
.req { color: var(--err); font-weight: 700; }
.opt { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.rate-in, .chips-in { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.rate-in legend, .chips-in legend { float: none; width: 100%; padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.rate-in label, .chips-in label { position: relative; }
.rate-in input, .chips-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-in span, .chips-in span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--ctl); cursor: pointer; font-weight: 600; background: var(--surface); }
.rate-in input:checked + span, .chips-in input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface-2); }
.rate-in input:focus-visible + span, .chips-in input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.sbar { display: none; }

/* ---------- корзина и оформление ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 420px); gap: 28px; align-items: start; }
.two .cart__it { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img info" "qty sum" "rm rm"; gap: 10px 12px; }
.two .cart__img { grid-area: img; } .two .cart__info { grid-area: info; min-width: 0; } .two .cart__qty { grid-area: qty; justify-self: start; } .two .cart__sum { grid-area: sum; align-self: center; } .two .cart__rm { grid-area: rm; justify-self: start; }
.two .cart__name { display: block; line-height: 1.35; }
.cart__list, .mini__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart__it { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 120px auto; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.cart__it--gift { box-shadow: inset 0 0 0 2px var(--ok-bg), var(--sh-1); }
.cart__img img { background: #fff; border-radius: 12px; }
.cart__info { display: flex; flex-direction: column; gap: 2px; }
.cart__name { font-weight: 700; text-decoration: none; }
.cart__opt { color: var(--ink-2); font-size: 14px; }
.cart__edit { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.cart__gift { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: 14px; }
.cart__qty { display: flex; align-items: center; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--ctl); }
.cart__qty button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.cart__qty button:hover { background: var(--surface-2); }
.cart__qty input { width: 44px; height: 44px; border: 0; background: none; text-align: center; font-weight: 700; }
.cart__qty > span { padding: 0 12px; color: var(--ink-2); min-height: 44px; display: grid; place-items: center; }
.cart__sum { font-weight: 800; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.cart__rm { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--r-btn); background: none; color: var(--ink-2); font-weight: 600; cursor: pointer; }
.cart__rm:hover { background: var(--err-bg); color: var(--err); }
.cart__empty { padding: 36px 24px; border-radius: var(--r-lg); background: var(--surface); text-align: center; box-shadow: var(--sh-1); }
.cart__empty p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 700; }
.cart__empty a { display: inline-flex; align-items: center; min-height: 44px; }
.mini__it { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-md); background: var(--surface); font-size: 14px; }
.mini__img img { background: #fff; border-radius: 8px; }
.mini__info { display: flex; flex-direction: column; } .mini__name { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; } .mini__opt { color: var(--ink-2); font-size: 12px; }
.mini__qty, .mini__edit, .mini__gift, .mini__rm, .mini__empty { display: none !important; }
.mini__sum { font-weight: 800; }
.mini__list { margin-bottom: 14px; }
.sum { position: sticky; top: 12px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2); }
.sum h2 { font-size: 20px; margin-bottom: 8px; }
.sum dl { margin: 0; } .sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sum dd { margin: 0; text-align: right; color: var(--ink-2); }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; }
.sum__total b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sum__go { width: 100%; min-height: 56px; font-size: 18px; }
.sum__fine { color: var(--ink-2); font-size: 13px; }
.sum__exp { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum__exp p { margin: 0 0 4px; color: var(--ink-2); font-size: 14px; }
.sum__exp a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.promo { margin: 14px 0 0; }
.promo label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.promo__row { display: flex; gap: 8px; }
.promo__msg { margin: 6px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.promo__msg.is-ok { color: var(--ok); } .promo__msg.is-err { color: var(--err); }
.co { display: grid; gap: 16px; }
.co__lead { margin: 0; color: var(--ink-2); }
.co__errs { padding: 14px 18px; border-radius: var(--r-lg); border: 2px solid var(--err); background: var(--err-bg); }
.co__errs h2 { font-size: 18px; margin-bottom: 6px; }
.co__errs ul { margin: 0; padding-left: 20px; }
.co__errs a { display: inline-flex; min-height: 36px; align-items: center; font-weight: 600; }
.co__step { border: 0; margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); min-width: 0; }
.co__step > legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px; font: var(--head-w) 20px/1.2 var(--font-head); }
.co__step > legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 15px; }
.co__grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co__addr { display: contents; }
.co__ntf { margin: 16px 0 4px; }
.co__chk { display: flex !important; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; cursor: pointer; font-weight: 500 !important; }
.co__radios { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.co__radios--pay { grid-template-columns: 1fr 1fr; }
.co__radios label { display: flex; gap: 10px; align-items: center; min-height: 64px; padding: 12px 14px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--ctl); cursor: pointer; background: var(--surface); }
.pay__mark { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.pay__mark svg { width: 22px; height: 22px; display: block; }
.pay__mark--np { background: #e11d2e; }
.pay__mark--card { background: #1d1d1f; }
.pay__mark--p24 { background: #5a9e2f; }
.pay__mark--privat { background: #6aa32a; }
.pay__mark--mono { background: #111; }
.co__radios label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface-2); }
.co__radios input { margin-top: 2px; }
.co__radios span { display: flex; flex-direction: column; } .co__radios small { color: var(--ink-2); font-size: 13px; }
.co__note { margin: 0; color: var(--ink-2); font-size: 13px; }
.co__comment, .co__consent { padding: 18px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.co__done { padding: 26px; border-radius: var(--r-lg); background: var(--ok-bg); }
.co__done h2 { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.co__done h2 .i { color: var(--ok); width: 28px; height: 28px; }
.co__fiscal { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); }

/* ---------- окна ---------- */
.dlg { border: 0; padding: 0; border-radius: var(--r-lg); max-width: 760px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); }
.dlg--s { max-width: 460px; }
.dlg::backdrop { background: rgba(10, 14, 20, .5); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .22s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg__in { padding: 0 22px 22px; }
.dlg__in > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 12px; }
.dlg__in > header h2 { font-size: 22px; }
.dlg__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; }
.dlg__brands, .dlg__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.dlg__brands a, .dlg__cats a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--r-md); background: var(--surface-2); text-decoration: none; font-weight: 600; }
.dlg__brands img { width: 24px; height: 24px; object-fit: contain; }
.dlg__brands small, .dlg__cats small { margin-left: auto; color: var(--ink-2); font-weight: 500; }
.dlg__foot { margin: 14px 0 0; } .dlg__foot a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.dlg__video { display: grid; place-items: center; aspect-ratio: 16/9; border-radius: var(--r-md); background: #0f1115; color: #fff; text-align: center; padding: 20px; }
.dlg__video .i { display: block; margin: 0 auto 10px; width: 48px; height: 48px; }
.dlg [data-lightbox-img] { max-height: 76vh; margin: 0 auto; object-fit: contain; background: #fff; border-radius: var(--r-md); }
.dlg .btn-pri { width: 100%; }

/* ---------- cookie, сравнение, уведомления ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: var(--z-float); width: min(440px, calc(100% - 32px)); padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-3); }
.ck h2 { font-size: 17px; margin-bottom: 4px; }
.ck p { margin: 0; font-size: 14px; color: var(--ink-2); }
.ck p a { color: var(--ink); font-weight: 600; }
.ck__b { display: flex; gap: 8px; margin-top: 12px; }
.ck__set fieldset { border: 0; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ck__set label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ck__set .btn-eq { width: 100%; }
.cmpf { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-float); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 26px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; box-shadow: var(--sh-3); }
.cmpf b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 4px; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 12px 12px 12px 18px; border-radius: var(--r-lg); background: var(--ink); color: var(--bg); box-shadow: var(--sh-3); animation: toast-in .25s var(--ease); }
.toast a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); background: var(--bg); color: var(--ink); font-weight: 700; text-decoration: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- подвал ---------- */
.ft { margin-top: 72px; background: var(--brand); color: var(--on-brand); padding-top: 40px; --focus: #fff; --halo: #000; }
.ft a { color: inherit; }
.ft__top { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent); }
.ft__brand p { margin: 12px 0 0; opacity: .88; max-width: 42ch; }
.ft .logo { color: var(--on-brand); } .ft .logo__mark { color: currentColor; }
.ft__cl { display: flex; flex-direction: column; }
.ft__cl a:hover { background: color-mix(in srgb, var(--on-brand) 12%, transparent); }
.fc__exp { box-shadow: inset 0 0 0 1.5px var(--on-brand) !important; }
.ft__sub h2 { font-size: 18px; } .ft__sub p { margin: 6px 0 12px; opacity: .88; font-size: 14px; }
.ft__subrow { display: flex; gap: 8px; }
.ft__subrow input { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.ft .btn-sec { color: var(--on-brand); border-color: var(--on-brand); }
.ft .btn-sec:hover { background: color-mix(in srgb, var(--on-brand) 14%, transparent); }
.ft .form__ok { color: var(--ink); }
.ft__cols { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 32px; padding: 32px 0; }
.ft h2 { font-size: 15px; margin-bottom: 10px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft__cols a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; opacity: .92; }
.ft__cols a:hover { opacity: 1; text-decoration: underline; }
.ft__b ul { columns: 3; column-gap: 20px; }
.ft__b img { width: 16px; height: 16px; filter: invert(1); opacity: .85; }
.ft__bot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 0 28px; border-top: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent); font-size: 14px; opacity: .95; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.ft .lang { margin-left: auto; background: transparent; box-shadow: inset 0 0 0 1px var(--on-brand); }
.ft .lang a[aria-current] { background: var(--on-brand); color: var(--brand); }

/* ---------- новые экраны ---------- */
.sbig { margin: 16px 0 8px; } .sbig label { display: block; font-weight: 700; margin-bottom: 6px; }
.sbig__row { display: flex; gap: 8px; max-width: 720px; }
.sbig__row input { font-size: 18px; }
.sr__fix { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--ok-bg); max-width: 720px; }
.empty { margin: 24px 0; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); max-width: 760px; }
.empty ul { color: var(--ink-2); padding-left: 20px; }
.empty__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.empty h3 { margin-top: 18px; font-size: 17px; }
.cmp__diff { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; font-weight: 600; cursor: pointer; }
.cmp__wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp tbody th { color: var(--ink-2); font-weight: 500; width: 20%; }
.cmp thead th { vertical-align: bottom; }
.cmp thead a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; font-weight: 700; }
.cmp thead img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 12px; }
.cmp.is-diff tr[data-same] { display: none; }
.trk { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.trk__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.trk__res { margin-top: 20px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.trk__res h2 { font-size: 22px; }
.trk__steps { list-style: none; margin: 16px 0; padding: 0; }
.trk__steps li { display: flex; gap: 12px; padding: 10px 0; color: var(--ink-2); }
.trk__steps li.is-done { color: var(--ink); } .trk__steps li.is-done .i { color: var(--ok); }
.trk__steps span { display: flex; flex-direction: column; } .trk__steps small { color: var(--ink-2); }
.trk__np { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); }
.trk__res a { font-weight: 700; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; counter-reset: h; margin: 0 0 20px; padding: 0; }
.howto li { counter-increment: h; display: flex; flex-direction: column; padding: 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); }
.howto li::before { content: counter(h); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; }
.howto span { color: var(--ink-2); font-size: 14px; }
.legal section { padding: 12px 0; }
.legal section h2 { font-size: 20px; }
.legal section p { color: var(--ink-2); max-width: none; }
.wrap:not(.narrow) .lp__p { max-width: none; }
.toc { padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.toc h2 { font-size: 16px; } .toc ol { margin: 8px 0 0; padding-left: 20px; } .toc a { display: inline-flex; min-height: 36px; align-items: center; }
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.arts a { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto; align-content: start; column-gap: 14px; row-gap: 4px; height: 100%; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; }
.arts a:hover { box-shadow: var(--sh-2); }
.arts img { grid-row: span 3; width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 12px; }
.arts__t { font-weight: 700; line-height: 1.3; } .arts__l { color: var(--ink-2); font-size: 14px; margin-top: 4px; } .arts__m { align-self: end; color: var(--ink-2); font-size: 13px; margin-top: 6px; }
.arts--big a { grid-template-columns: 1fr; grid-template-rows: auto; align-content: start; gap: 0; }
.arts--big img { grid-row: auto; width: 100%; height: 168px; object-fit: contain; margin: 0 0 12px; background: var(--bg); }
.arts--big .arts__l { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art h2 { margin: 28px 0 10px; font-size: 22px; } .art p, .art .lp__p { max-width: none; }
.art__meta { color: var(--ink-2); font-size: 14px; }
.art__hero { margin: 24px 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); max-width: 720px; }
.art__hero img { width: 100%; height: 320px; object-fit: contain; }
.art__hero--s { max-width: 280px; }
.art__hero--s img { width: 100%; height: 200px; object-fit: contain; }
.art__card { margin: 16px 0; }
.inst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 12px; align-items: start; }
.inst__map { padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); position: sticky; top: 12px; }
.inst__map svg { width: 100%; }
.inst__ua { fill: var(--surface-2); stroke: var(--ctl); stroke-width: .6; }
.inst__pin circle { fill: var(--brand); } .inst__pin text { font-size: 4px; font-weight: 700; fill: var(--ink); }
.inst__map p { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; }
.inst__list section { margin-bottom: 18px; } .inst__list h2 { font-size: 20px; margin-bottom: 8px; }
.inst__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inst__list li { display: flex; flex-direction: column; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); }
.inst__list li span { color: var(--ink-2); font-size: 14px; } .inst__list li small { color: var(--ok); font-weight: 600; }
.stub { padding: 64px 0 96px; max-width: 760px; }
.stub__k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.stub code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; overflow-wrap: anywhere; }

/* ---------- адаптив: планшет ---------- */
@media (max-width: 1180px) {
  .hc__cb, .hd__hours { display: none; }
  .hc__exp span { display: none; }
  .hc__exp { padding: 0; }
  .grid--4, .lst--side:not(.lst--rail) .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lst--side.lst--rail { grid-template-columns: 240px minmax(0, 1fr); }
  .lst--side.lst--rail > .xp { display: none; }
  .pp--guide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "g t" "g b" "s s"; }
  .rel__grid, .rel__gens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arts { grid-template-columns: 1fr 1fr; }
}

/* ---------- адаптив: телефон (≤ 900) ---------- */
@media (max-width: 900px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .hd__util { display: none; }
  .hd__main { min-height: 56px; gap: 0; padding-top: 4px; padding-bottom: 4px; }
  .logo { margin-right: auto; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__word { font-size: 19px; }
  .hd__search { display: none; position: absolute; left: 0; right: 0; top: 100%; max-width: none; margin: 0; padding: 8px var(--gut); background: var(--surface); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); z-index: var(--z-drop); }
  .hd.is-search .hd__search { display: flex; }
  .hd__search .hd__sbtn { right: calc(var(--gut) + 2px); top: 10px; bottom: 10px; }
  .hd__stog, .hd__burger--m { display: inline-grid; }
  .hd__main > .hd__burger { display: none; }
  .hd__row2 .hd__burger { flex: none; box-shadow: inset 0 0 0 1.5px var(--ctl); border-radius: var(--r-btn); }
  .hd__cl { margin: 0; gap: 0; }
  .hd__cl > a { padding: 0; min-width: 44px; }
  .hc__phone span, .hc__exp, .hc__cb { display: none !important; }
  .hd__main > .hd__fav { display: none; }
  .hd__row2 { display: flex; align-items: center; gap: 8px; padding-top: 2px; padding-bottom: 8px; }
  .hd__fit, .hd__exp, .hd__mycar { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r-btn); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .hd__fit { background: var(--brand); color: var(--on-brand); flex: 1 1 auto; min-width: 0; padding: 0 10px; }
  .hd__fit span { overflow: hidden; text-overflow: ellipsis; }
  .hd__exp { box-shadow: inset 0 0 0 1.5px var(--ctl); flex: none; padding: 0 12px; }
  .hd__row2 .hd__fav { flex: none; }
  /* D: полоса эксперта на телефоне — после товаров, чтобы первый экран был товарным */
  .lst__main { display: flex; flex-direction: column; }
  .lst__main > * { order: 5; }
  .lst__main > .tb, .lst__main > .fsheet { order: 1; }
  .lst__main > .grid, .lst__main > .rows { order: 2; }
  .lst__main > .xps { order: 3; margin-top: 16px; }
  .lst__main > .pg { order: 4; }
  .hd__mycar { display: none; }
  .hd__fav--m { display: inline-grid; }
  .hd__nav { display: none; border-top: 1px solid var(--line); max-height: calc(100dvh - 120px); overflow: auto; }
  .nav-t:checked ~ .hd__nav { display: block; }
  .hd__nav .wrap { flex-direction: column; align-items: stretch; padding-top: 8px; padding-bottom: 16px; }
  .hd__nav .wrap > a { min-height: 48px; }
  .hd__navfit { margin: 0 0 4px; } .hd__navcar { margin: 0 0 4px; }
  .more__b { display: none; }
  .more__l { display: block; position: static; box-shadow: none; padding: 0; min-width: 0; background: none; }
  .more__l a { min-height: 48px; }
  .hd__excl { margin-left: 0; }
  .hd__mnav { display: flex; flex-direction: column; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .hd__mnav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; text-decoration: none; font-weight: 600; }
  .hd__mnav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); box-shadow: inset 3px 0 0 var(--brand); }
  .hd__mnav .lang { align-self: flex-start; margin: 8px 12px; }
  .crumbs ol { padding-top: 6px; }
  .crumbs a { min-height: 44px; }
  .lp { padding: 4px 0 12px; }
  .lp h1 { font-size: 23px; }
  .lp__p { font-size: 15px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lp__p.is-open { -webkit-line-clamp: unset; display: block; }
  .lp--gen { grid-template-columns: 1fr 104px; gap: 12px; }
  .lp--gen h1 { font-size: 21px; }
  .gennav { display: none; }
  .subcats { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 8px; }
  .subcats a { min-height: 48px; white-space: nowrap; padding: 4px 14px; }
  .slices { flex-wrap: nowrap; overflow-x: auto; }
  .slices a { white-space: nowrap; }
  .sec { padding-top: 36px; }
  .sec--first { padding-top: 16px; }
  .lst, .lst--side, .lst--side.lst--rail, .lst--bar { grid-template-columns: minmax(0, 1fr); }
  .lst__side { position: static; order: 2; }
  .lst > .xp, .lst__side > .xp { position: static; }
  .lst--bar > .xp { order: 3; }
  .lst--side.lst--rail > .xp { display: block; order: 3; }
  /* одна строка: счётчик · фильтры · сортировка; «в наявності» живёт в листе фильтров */
  .tb { flex-wrap: nowrap; margin-bottom: 10px; gap: 8px; }
  .tb__n { flex: none; font-size: 14px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
  .tb .fbtn { order: 2; flex: none; padding: 0 14px; }
  .refine { order: 3; margin-left: 0; flex: 1; min-width: 0; gap: 8px; }
  .refine__chk { display: none; }
  .refine__sort { flex: 1; min-width: 0; } .refine__sort span { display: none; }
  .refine__sort select { width: 100%; min-width: 0; font-size: 15px; }
  .fbtn { display: inline-flex; }
  .fsheet, .fsheet--drawer { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: var(--z-sheet); max-height: 86dvh; overflow: auto; overscroll-behavior: contain; padding: 0 16px 24px; background: var(--surface); border-radius: 20px 20px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .fsheet:target, .fsheet.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); box-shadow: 0 0 0 100vmax rgba(10, 14, 20, .5); }
  .fsheet__h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -16px 8px; padding: 18px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .fsheet__h::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--ctl); }
  .fsheet .flt { box-shadow: none; padding: 0; }
  .fsheet .hf .flt { flex-direction: column; align-items: stretch; }
  .fsheet .hf__g summary { display: none; }
  .fsheet .hf__g > fieldset { display: block !important; position: static; box-shadow: none; padding: 8px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .fsheet .hf__g:not([open]) > fieldset { display: block; }
  body.sheet-open { overflow: hidden; }
  .grid, .grid--3, .grid--4, .lst--side:not(.lst--rail) .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc { border-radius: var(--r-md); }
  .pc__body { padding: 10px 12px 12px; gap: 3px; }
  .pc__name { font-size: 14px; }
  .pc__meta, .pc__fit { font-size: 12px; }
  .price__now { font-size: 17px; }
  /* мобильная плитка: цена сразу под названием, кнопка внизу */
  .pc:not(.pc--row) .pc__buy { display: contents; }
  .pc:not(.pc--row) .pc__top { order: 0; min-height: 0; } .pc:not(.pc--row) .pc__name { order: 1; }
  .pc:not(.pc--row) .price { order: 2; } .pc:not(.pc--row) .pc__meta { order: 3; } .pc:not(.pc--row) .pc__fit { order: 4; }
  .pc:not(.pc--row) .pc__rate { order: 5; } .pc:not(.pc--row) .pc__stock { order: 6; }
  .pc:not(.pc--row) .pc__btn { order: 9; margin-top: auto; } .pc:not(.pc--row) .pc__cmp { order: 10; }
  .pc:not(.pc--row) .pc__stock + .pc__buy .pc__btn, .pc:not(.pc--row) .pc__btn { margin-top: 8px; }
  .pc__top:empty { display: none; }
  .pc--row .pc__buy { flex-direction: column; align-items: stretch; }
  .pc__btn { width: 100%; }
  .pc__fav { top: 4px; right: 4px; }
  .pc--row .pc__img { width: 112px; }
  .pc--row .pc__body { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .pc--row .pc__body > * { flex-basis: auto; }
  .pc--row .pc__buy { margin-left: 0; }
  .pc--row .pc__name { font-size: 15px; }
  .gens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gens__n { font-size: 15px; padding: 10px 12px 0; } .gens__y, .gens__c { padding-left: 12px; padding-right: 12px; font-size: 13px; }
  .pgens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp, .pp--reverse, .pp--guide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "g" "b" "s"; gap: 14px; }
  .pp__g { position: static; margin: 0 calc(var(--gut) * -1); }
  .gal__track { border-radius: 0; }
  .gal__thumbs { padding: 0 var(--gut); }
  .gal__note { padding: 0 var(--gut); }
  .ttl h1 { font-size: 22px; }
  .pp__s { position: static; }
  .buy { padding: 16px; }
  .anchors { margin-top: 20px; }
  .duo, .pp2, .pp3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .spec { position: static; }
  .rel__grid, .rel--swap .rel__grid, .rel__gens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rel--swap { padding: 16px; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); border-radius: 0; }
  .sbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -8px 24px rgba(10, 14, 20, .12); transition: transform .28s var(--ease); }
  .sbar.is-js { transform: translateY(110%); }
  .sbar.is-js.is-on { transform: none; }
  .sbar__in { display: flex; align-items: center; gap: 10px; }
  .sbar__t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
  .sbar__n { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sbar__p { font-size: 20px; font-weight: 800; }
  .sbar__cta { min-height: 48px; }
  .sbar__ex { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--ctl); color: var(--ink); flex: none; }
  .scr-cardA .ft, .scr-cardB .ft, .scr-oos .ft { padding-bottom: 84px; }
  body.has-sbar .cmpf, body.has-sbar .ck { bottom: 88px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .cart__it { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img info" "qty sum" "rm rm"; gap: 10px 12px; }
  .cart__img { grid-area: img; } .cart__info { grid-area: info; } .cart__qty { grid-area: qty; justify-self: start; } .cart__sum { grid-area: sum; align-self: center; } .cart__rm { grid-area: rm; justify-self: start; }
  .sum { position: static; }
  .co__grid, .co__radios, .trk__row, .howto { grid-template-columns: minmax(0, 1fr); }
  .co__step { padding: 18px; }
  .dlg__brands, .dlg__cats { grid-template-columns: 1fr 1fr; }
  .ck { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 12px 14px; }
  .ck p { font-size: 13px; }
  .cmpf { right: 8px; bottom: 8px; }
  .ft { padding-top: 28px; }
  .ft__top, .ft__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ft__b ul { columns: 2; }
  .ft__cols a { min-height: 44px; }
  .arts { grid-template-columns: minmax(0, 1fr); }
  .inst { grid-template-columns: minmax(0, 1fr); }
  .inst__map { position: static; }
  .lp--gen img { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* тач-цели ≥44: звёзды-ссылка в заголовке, оглавление юрстраниц, ссылки согласия */
.ttl__sub > a { display: inline-flex; align-items: center; min-height: 44px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
.co__legal { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 4px 0 0 34px; }
.co__legal a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.legal__other a { display: inline-flex; align-items: center; min-height: 44px; }
/* пока открыт cookie-баннер, плашка сравнения не спорит с ним за угол экрана */
body.ck-on .cmpf { display: none; }
/* чекбокс согласия внутри .fld не наследует ширину текстовых полей */
.fld input[type=checkbox], .fld input[type=radio] { width: 22px; height: 22px; min-height: 0; flex: none; padding: 0; border: 0; }
/* вложенный fieldset не встаёт рядом с плавающей легендой шага */
.co__step > legend ~ * { clear: both; }
/* 901–1199: меню в одну строку без переполнения */
@media (min-width: 901px) and (max-width: 1199px) {
  .hd__nav .wrap > a, .more__b { padding: 0 8px; font-size: 15px; }
  .hd__navfit { margin-right: 4px; }
  .hc__cb { display: none; }
}
/* строковая плитка: название не уходит под сердечко */
.pc--row .pc__name, .pc--row .pc__top { padding-right: 44px; }
.pc--row .pc__name { overflow-wrap: anywhere; }

/* страница марки: логотип марки рядом с заголовком */
.lp--brand { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.lp__logo { width: 56px; height: 56px; padding: 8px; border-radius: 14px; background: var(--surface); box-shadow: var(--sh-1); object-fit: contain; }
@media (max-width: 900px) { .lp--brand { gap: 12px; } .lp__logo { width: 44px; height: 44px; padding: 6px; } }
/* узкий телефон: «Підбір по авто» целиком — у кнопки эксперта убираем иконку, сжимаем отступы */
@media (max-width: 430px) {
  .hd__row2 { gap: 6px; }
  .hd__exp .i { display: none; }
  .hd__exp { padding: 0 10px; }
  .hd__fit { padding: 0 8px; gap: 5px; letter-spacing: -.01em; }
}
@media (max-width: 374px) { .hd__fit, .hd__exp { font-size: 13px; } .hd__exp { padding: 0 8px; } }
.crumbs a { min-width: 44px; justify-content: center; }
/* комплектации (BL-22): сочетания, которых нет у выбранных значений, — пунктир и приглушённый текст (контраст ≥ 4.5) */
.opts__it.is-na > span { box-shadow: inset 0 0 0 1.5px var(--ctl); border: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--surface-2) 6px 7px), var(--surface); color: var(--ink-2); }
.opts__it.is-na b { font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1px; }
.opts__na { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.opts__row { flex-wrap: wrap; }
.price__from { display: inline-block; margin-right: 6px; font-size: .62em; font-weight: 400; letter-spacing: .04em; line-height: 1; color: var(--ink-2); vertical-align: .32em; }
/* E: выбранное авто в шапке (BL-24) */
.hd__car { border-top: 1px solid var(--line); background: var(--surface-2); }
.hd__car .wrap { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.hd__car-l { color: var(--ink-2); }
.hd__car-n { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hd__car-x { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 4px; font-weight: 600; color: var(--ink); }
/* панель категорий поколения (BL-24): чипы с числом товаров, активный выделен; на телефоне — горизонтальная прокрутка */
.gtabs { position: sticky; top: 0; z-index: 5; margin: 0 0 16px; padding: 8px 0; background: var(--bg); }
.gtabs ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.gtabs ul::-webkit-scrollbar { display: none; }
.gtabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ctl); color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
/* «Усе на <покоління>» не уезжает при прокрутке: возврат к поколению всегда в одно нажатие (BL-24) */
.gtabs li:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); padding-right: 8px; margin-right: -8px; }
.gtabs a small { color: var(--ink-2); font-weight: 600; }
.gtabs a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }
.gtabs a[aria-current] small { color: var(--bg); }
.gtabs a:not([aria-current]):hover { box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 900px) { .gtabs, .slices--bar { margin: 0 calc(var(--gut) * -1) 12px; padding: 6px var(--gut); } .gtabs a, .slices--bar a { padding: 0 14px; font-size: 14px; } }
/* «Магнітоли»: две дочерние полки (BL-23) */
.mag2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.mag2__it { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); min-height: 120px; }
.mag2__it .i { grid-row: span 3; width: 32px; height: 32px; color: var(--accent); }
.mag2__it b { font-size: 19px; } .mag2__it span { color: var(--ink-2); } .mag2__it small { color: var(--ink-2); font-weight: 600; margin-top: 6px; }
.mag2__it:hover { box-shadow: 0 0 0 2px var(--accent), var(--sh-2); }
@media (max-width: 900px) { .mag2 { grid-template-columns: minmax(0, 1fr); } }
.gtabs__u:first-of-type, .gtabs li:not(.gtabs__u) + .gtabs__u { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
