@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/montserrat-cyrillic-300-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/montserrat-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* ==========================================================
   Авторазбор на Литейной — светлая тема, белый + салатовый
   ========================================================== */
:root {
  --bg: #f3f4f1;
  --card: #ffffff;
  --ink: #131512;
  --ink-2: #2a2d29;
  --muted: #6c7169;
  --muted-2: #9a9f97;
  --line: #e5e7e2;
  --line-2: #d6d9d2;
  --accent: #c8f03c;
  --accent-h: #b8e324;
  --accent-soft: #f2fbd6;
  --accent-ink: #4d6b00;
  --dark: #161815;
  --red: #e5484d;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --sh: 0 1px 2px rgba(19,21,18,.04), 0 8px 24px -12px rgba(19,21,18,.12);
  --sh-lg: 0 24px 60px -20px rgba(19,21,18,.25);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w: 1280px;
  --gut: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
.i { flex: none; display: inline-block; vertical-align: middle; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }

/* ── typography ─────────────────────────────── */
.h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 300; letter-spacing: -.025em; }
.h1 b, .h2 b, .h3 b { font-weight: 600; }
.h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; font-weight: 300; letter-spacing: -.02em; }
.h2--lg { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 300; letter-spacing: -.015em; }
.kicker { font-size: 13px; font-weight: 600; color: var(--accent-ink); letter-spacing: .01em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.panel__t { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }
.linklike { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); transition: color .15s; }
.linklike:hover { color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose--lg { font-size: 17px; line-height: 1.65; }
.prose h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.prose a, .legal a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* ── buttons ───────────────────────────────── */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .18s, color .18s, transform .18s, border-color .18s; border: 1.5px solid transparent; }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { --h: 56px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-h); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c2f2b; }
.btn--line { border-color: var(--line-2); background: var(--card); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.ico-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg); transition: background .18s, color .18s; flex: none; }
.ico-btn:hover { background: var(--line); }
.ico-btn--line { background: var(--card); border: 1.5px solid var(--line); }
.ico-btn--line:hover { border-color: var(--ink); background: var(--card); }
.ico-btn--accent { background: var(--accent); }
.ico-btn--accent:hover { background: var(--accent-h); }
.ico-btn--wa { color: #1aa34a; }
.cnt { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--ink); font: 700 11px/18px var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.round-ico { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg); flex: none; }
.round-ico--lg { width: 64px; height: 64px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s; }
.chip small { color: var(--muted-2); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on small { color: rgba(255,255,255,.6); }
.chip--x { background: var(--accent-soft); border-color: transparent; }
.chip--x:hover { border-color: var(--accent-ink); }
.badge { display: inline-block; font: 700 10px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; padding: 6px 8px; border-radius: 8px; background: #fff; color: var(--ink); font-style: normal; }
.badge--orig { background: var(--accent); }
.badge--new { background: var(--ink); color: #fff; }
.badge--order { background: #fff3d6; }

/* ── header ────────────────────────────────── */
/* шапка: тёмная закреплённая плашка с логотипом по центру + светлая строка разделов,
   которая прячется при прокрутке вниз и появляется при прокрутке вверх */
.hd { position: sticky; top: 0; z-index: 40; }
.hd__bar { position: relative; z-index: 2; background: var(--dark); color: #fff; }
.hd__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 76px; }
.hd__l, .hd__r { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hd__r { justify-content: flex-end; gap: 20px; }
.hd__burger, .hd__msearch { display: none; }
.hd__logo { display: block; justify-self: center; }
.hd__logo img { display: block; height: 42px; width: auto; }
.hd__search { flex: 1; position: relative; max-width: 300px; min-width: 0; }
.hd__search input { width: 100%; height: 42px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: #fff; padding: 0 48px 0 18px; font-size: 13.5px; outline: none; transition: border-color .2s, background .2s; }
.hd__search input::placeholder { color: rgba(255,255,255,.45); }
.hd__search input:focus { border-color: var(--accent); background: rgba(255,255,255,.12); }
.hd__search-btn { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.hd__contact { text-align: right; line-height: 1.2; white-space: nowrap; }
.hd__phone { font-weight: 500; font-size: 16px; letter-spacing: 0; color: #fff; }
.hd__hours { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 3px; }
.hd__acts { display: flex; gap: 8px; }
.hd__bar .ico-btn { background: rgba(255,255,255,.08); color: #fff; }
.hd__bar .ico-btn:hover { background: rgba(255,255,255,.16); }
.hd__bar .ico-btn--wa { color: #4ade80; }
.hd__bar .cnt { box-shadow: 0 0 0 2px var(--dark); }
.hd__nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 1; background: #fff; border-bottom: 1px solid var(--line); transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s; }
.hd.is-collapsed .hd__nav { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.hd.is-collapsed .hd__bar { box-shadow: 0 8px 24px -12px rgba(0,0,0,.35); }
.hd-spacer { height: 54px; }
.hd__nav-in { display: flex; align-items: center; gap: 22px; height: 54px; }
.hd__links, .hd__info { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.hd__links a, .hd__info a { color: var(--ink-2); transition: color .15s; white-space: nowrap; }
.hd__links a:hover, .hd__info a:hover { color: var(--accent-ink); }
.hd__info { margin-left: auto; }
.mega__panel { color: var(--ink); }
.ft__logo { display: inline-block; }
.ft__logo img { height: 34px; width: auto; display: block; }
.mega { position: relative; }
.mega__panel { position: absolute; left: 0; top: calc(100% + 10px); width: min(900px, calc(100vw - 48px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 20px; display: grid; grid-template-columns: 1fr 260px; gap: 20px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 50; }
.mega.is-open .mega__panel { opacity: 1; visibility: visible; transform: none; }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega__item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .15s; }
.mega__item:hover { background: var(--bg); }
.mega__item b { display: block; font-size: 14px; font-weight: 600; }
.mega__item small { color: var(--muted); font-size: 12px; }
.mega__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; }
.mega__item:hover .mega__ico { background: var(--accent); }
.mega__side { border-left: 1px solid var(--line); padding: 6px 0 6px 22px; display: flex; flex-direction: column; gap: 10px; }
.mega__h { font-size: 11.5px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.mega__brands { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.mega__brands a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); transition: color .15s; }
.mega__brands a:hover { color: var(--accent-ink); }
.mega__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mega__more:hover { color: var(--accent-ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 20px; padding-bottom: 4px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--muted-2); }
.crumbs b { color: var(--ink); font-weight: 600; }

/* ── hero (bento) ──────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 380px; grid-template-rows: 1fr auto; gap: 12px; padding-top: 20px; }
.hero__main { grid-row: span 2; position: relative; border-radius: var(--r-xl); overflow: visible; color: #fff; padding: 36px 40px 24px; min-height: 0; display: flex; flex-direction: column; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, #3a3f36 0%, #1b1d1a 45%, #0f100e 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,9,.82) 0%, rgba(10,11,9,.45) 55%, rgba(10,11,9,.15) 100%), linear-gradient(0deg, rgba(10,11,9,.6) 0%, transparent 40%); }
.hero__main::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background-image: linear-gradient(rgba(200,240,60,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(200,240,60,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 80% 30%, #000, transparent); }
.hero__kicker { font-size: 13px; font-weight: 600; }
.hero__kicker span { color: var(--accent); }
.hero__h { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; margin-top: 14px; }
.hero__h b { font-weight: 600; }
.hero__line { display: inline-block; width: .9em; height: 4px; background: #fff; vertical-align: middle; margin-right: .2em; border-radius: 2px; }
.hero__p { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 15px; max-width: 540px; }
.hero__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pick { margin-top: auto; padding-top: 24px; }
.pick { background: none; }
.pick__h { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.pick__h b { color: #fff; font-weight: 600; }
.pick__row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); border-radius: 22px; padding: 14px; }
.pick__f > span { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin: 0 0 6px 4px; }
.pick__f select { width: 100%; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: #fff; padding: 0 36px 0 14px; appearance: none; font-size: 14px; outline: none; }
.pick__f select:focus { border-color: var(--accent); }
.pick__f select option { color: var(--ink); }
.pick__f select:disabled { opacity: .55; }
.pick__go { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transition: background .15s; }
.pick__go span { display: none; }
.pick__go:hover { background: var(--accent-h); }
.hero__side { border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.hero__side--accent { background: var(--accent); min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s; }
.hero__side--accent:hover { transform: translateY(-2px); }
.hero__s-kicker { font-size: 13px; font-weight: 700; background: var(--ink); color: var(--accent); padding: 5px 10px; border-radius: 999px; }
.hero__s-h { font-size: 27px; line-height: 1.12; font-weight: 300; letter-spacing: -.02em; margin-top: 18px; max-width: 290px; }
.hero__s-h b { font-weight: 600; }
.hero__s-p { font-size: 14px; margin: 12px 0 20px; max-width: 250px; color: #2b3520; }
.hero__s-art { position: absolute; right: -24px; bottom: -40px; color: rgba(19,21,18,.12); }
.hero__s-art .i { width: 210px; height: 210px; }
.hero__s-art .i { stroke-width: 1; }
.hero__side--light { background: #fff; display: flex; flex-direction: column; gap: 12px; }
.hero__s-h2 { font-size: 20px; line-height: 1.2; font-weight: 300; letter-spacing: -.01em; margin-top: 6px; }
.hero__s-h2 b { font-weight: 600; }
.hero__s-p2 { font-size: 13px; color: var(--muted); }
.hero__s-p2 b { color: var(--ink); font-weight: 600; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 22px 24px; }
.stat b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.stat--accent { background: var(--accent); }
.stat--accent span { color: var(--ink-2); }

/* sections */
.sec { padding-top: 88px; }
.sec--flat { padding-top: 24px; }
.sec--tint { background: #fff; margin-top: 88px; padding: 72px 0; }
.sec--tint .pc { background: var(--bg); }
.sec--tint .pc__img { background: #fff; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.sec__sub { color: var(--muted); margin-top: 10px; max-width: 560px; font-size: 14.5px; }
.sec__head--center .sec__sub { margin-inline: auto; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: background-color .4s ease, color .4s ease, transform .3s ease, box-shadow .3s ease; overflow: hidden; min-width: 0; }
.cat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 40px; }
.cat__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.cat__go { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: background-color .4s ease, color .4s ease, transform .4s ease; }
.cat__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--bg); transition: background-color .4s ease; }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.cat__media--own { background: none; overflow: visible; }
.cat__media--own img { object-fit: contain; padding: 4px; }
.cat__ico { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); transition: color .4s ease; }
.cat__ico .i { stroke-width: 1.2; }
.cat__bottom { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.cat__bottom small { color: var(--muted); font-size: 13px; line-height: 1.4; transition: color .4s ease; }
.cat__n { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; background: var(--bg); padding: 5px 10px; border-radius: 999px; transition: background-color .4s ease, color .4s ease; }
/* наведение: плитка становится чёрной */
@media (hover: hover) {
  .cat:hover { background: var(--dark); color: #fff; transform: translateY(-3px); box-shadow: var(--sh-lg); }
  .cat:hover .cat__go { background: var(--accent); color: var(--ink); transform: rotate(45deg); }
  .cat:hover .cat__n { background: rgba(255,255,255,.1); color: #fff; }
  .cat:hover .cat__bottom small { color: rgba(255,255,255,.6); }
  .cat:hover .cat__media:not(.cat__media--own) { background: rgba(255,255,255,.06); }
  .cat:hover .cat__ico { color: rgba(255,255,255,.18); }
  .cat:hover .cat__media img { transform: scale(1.05); }
}
.cat:focus-visible { background: var(--dark); color: #fff; }
.cats-all-wrap { display: flex; justify-content: center; margin-top: 20px; }
.cats-all { display: inline-flex; align-items: center; gap: 20px; background: var(--accent); border-radius: 999px; padding: 20px 20px 20px 34px; font-size: 17px; transition: background-color .25s, transform .25s, box-shadow .25s; }
.cats-all:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(140, 180, 20, .6); }
.cats-all b { font-weight: 700; }
.cats-all__go { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; overflow: hidden; flex: none; }
.cats-all__go .i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.6,0,.3,1); }
.cats-all__go .i + .i { transform: translate(-250%, -50%); }
.cats-all:hover .cats-all__go .i:first-child { transform: translate(150%, -50%); }
.cats-all:hover .cats-all__go .i + .i { transform: translate(-50%, -50%); }

/* donors */
.donors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.donor { position: relative; background: #fff; border-radius: var(--r-md); padding: 20px 20px 16px; display: flex; flex-direction: column; min-height: 150px; transition: background-color .25s, transform .25s; }
.donor:hover { background: var(--accent); transform: translateY(-2px); }
.donor__b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.donor__m { font-size: 15px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.donor__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.donor__n { font-size: 13px; font-weight: 500; color: var(--muted); }
.donor:hover .donor__n { color: var(--ink-2); }
.donor__go { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: background-color .25s, color .25s, transform .3s; }
.donor:hover .donor__go { background: var(--ink); color: var(--accent); transform: rotate(45deg); }

/* product card */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.pc { position: relative; background: #fff; border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; min-width: 0; }
.pc:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.pc__img { position: relative; display: block; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--bg); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pc:hover .pc__img img { transform: scale(1.04); }
.pc__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.pc__nph { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; background: rgba(19,21,18,.6); color: #fff; padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.pc__fav { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 3; transition: color .15s, background .15s; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pc__fav:hover { color: var(--red); }
.is-fav .pc__fav, [data-fav].is-on { color: var(--red); }
.is-fav .pc__fav svg, [data-fav].is-on svg { fill: currentColor; }
.pc__body { padding: 12px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.pc__car { font-size: 12px; font-weight: 700; color: var(--accent-ink); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__t { font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc__t a:hover { color: var(--accent-ink); }
.pc__meta { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__foot { margin-top: auto; padding-top: 14px; }
.pc__price { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.pc__btns { display: flex; gap: 6px; }
.pc__add { flex: 1; }
.pc__add.is-in { background: var(--accent); color: var(--ink); }
.pc .ico-btn { width: 38px; height: 38px; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted-2); }
img.lz { opacity: 0; transition: opacity .3s; }
img.lz.is-loaded { opacity: 1; }
.gal__track img:not(.is-loaded) { display: none; }
.gal__t:not(.is-ready) { display: none; }
.gal__t img { opacity: 1; }
.pc__img img.is-gone { display: none; }
img.is-broken { opacity: 0; }

/* rails */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.car-nav { display: flex; gap: 8px; }

/* vykup */
.vk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #fff; border-radius: var(--r-xl); padding: 12px; }
.vk__media { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; background: #161815; color: #fff; padding: 40px; display: flex; flex-direction: column; min-height: 560px; }
.vk__bg { position: absolute; inset: 14% 0 0; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); } /* фото опущено ниже, сверху тёмный фон блока */
.vk__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.vk__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,9,.88) 0%, rgba(10,11,9,.55) 45%, rgba(10,11,9,.92) 100%); }
.vk__h { font-size: 34px; line-height: 1.1; font-weight: 300; letter-spacing: -.02em; margin-bottom: 26px; }
.vk__h b { font-weight: 600; }
.vk__list { display: flex; flex-direction: column; gap: 14px; }
.vk__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.92); }
.vk__list .i { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.vk__facts { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vk__facts p { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.vk__facts b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.vk__facts span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.vk__form { padding: 32px 30px 30px; display: flex; flex-direction: column; }
.vk__fh { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.vk__fs { font-size: 14px; color: var(--muted); margin: 8px 0 22px; line-height: 1.45; }
.vk__fs a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vk__call { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--bg); transition: background .2s; }
.vk__call:hover { background: var(--accent-soft); }
.vk__call-i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; flex: none; }
.vk__call small { display: block; font-size: 12px; color: var(--muted); }
.vk__call b { font-size: 16px; font-weight: 700; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .i { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field i, .check i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23131512' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-err input, .field.is-err select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 6px; flex: none; margin: 0; display: grid; place-items: center; background: #fff; transition: .15s; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
.check.is-err input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.consents { display: flex; flex-direction: column; gap: 10px; }
.form__note { font-size: 12px; color: var(--muted); line-height: 1.45; }
.form__err { color: var(--red); font-size: 13px; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 12px; }
.hint--big { font-size: 15px; color: var(--ink-2); background: var(--accent-soft); padding: 18px 20px; border-radius: var(--r-md); margin-top: 16px; }

/* brands */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.brand { background: #fff; border-radius: var(--r-md); height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background .2s; }
.brand b { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #4c514a; transition: color .2s; }
.brand small { font-size: 11.5px; color: var(--muted-2); }
.brand:hover { background: var(--accent); }
.brand:hover b { color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.step { background: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.step__n { font-size: 13px; font-weight: 700; color: var(--muted-2); margin-bottom: 14px; }
.step b { font-size: 18px; letter-spacing: -.01em; }
.step p { font-size: 13.5px; color: var(--muted); }
.step--accent { background: var(--accent); }
.step--accent .step__n, .step--accent p { color: var(--ink-2); }

/* panels / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split--tight { gap: 32px; }
.panel { background: #fff; border-radius: var(--r-xl); padding: 32px; }
.panel .h3 { margin-bottom: 20px; }
.tk { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tk span { padding: 9px 14px; border-radius: 12px; background: var(--bg); font-weight: 700; font-size: 13px; }
.facts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; font-size: 14px; }
.facts li { display: flex; gap: 10px; align-items: center; }
.addr { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--bg); margin-bottom: 8px; transition: background .2s; }
.addr:hover { background: var(--accent-soft); }
.addr .round-ico { background: #fff; }
.addr > span:nth-child(2) { flex: 1; }
.addr b { display: block; font-size: 15px; }
.addr small { color: var(--muted); font-size: 13px; }
.addr__hours { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #fff; border-radius: var(--r-md); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-weight: 600; font-size: 15.5px; position: relative; transition: background .2s; }
.faq summary:hover { background: #fafaf8; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: transform .35s ease, background .25s; }
.faq details.is-open .faq__chev { transform: rotate(180deg); background: var(--accent); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 64px 22px 24px; color: var(--muted); font-size: 14.5px; max-width: 900px; }
.faq-cta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 18px 18px 18px 26px; font-size: 15px; }
.faq-cta b { font-weight: 700; margin-right: 6px; }
.info-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.info-line > p { padding: 0 22px; }
.info-line b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.info-line a:hover { color: var(--ink); }

/* footer */
.ft { margin-top: 88px; background: #fff; padding: 40px 0 28px; }
.ft__cta { background: var(--accent); border-radius: var(--r-xl); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.ft__cta-h { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ft__cta-p { font-size: 14px; color: #2e3a12; margin-top: 4px; max-width: 560px; }
.ft__cta .btn--accent { background: var(--ink); color: #fff; }
.ft__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.ft__brand .ft__logo + p, .ft__brand p { font-size: 13.5px; color: var(--muted); margin: 16px 0; max-width: 300px; }
.ft__phone { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ft__mail { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.ft__brand .ft__hours { margin: 4px 0 16px; }
.ft__soc { display: flex; gap: 8px; }
.ft__h { font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.ft ul li + li { margin-top: 8px; }
.ft ul a { font-size: 14px; color: var(--muted); transition: color .15s; }
.ft ul a:hover { color: var(--ink); }
.ft__addr { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.ft__addr b { display: block; color: var(--ink); font-weight: 600; }
.ft__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12.5px; color: var(--muted); justify-content: space-between; }
.ft__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ft__bottom ul li + li { margin: 0; }
.ft__bottom ul a, .ft__bottom .linklike { font-size: 12.5px; }
.ft__note { width: 100%; color: var(--muted-2); }

/* listing */
.cat-head { padding-top: 14px; padding-bottom: 8px; }
.cat-head__sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.cat-head .chips { margin-top: 20px; }
.listing { display: grid; grid-template-columns: 290px 1fr; gap: 20px; padding-top: 20px; align-items: start; }
.filters { position: sticky; top: calc(var(--hd-h, 130px) + 14px); max-height: calc(100vh - var(--hd-h, 130px) - 28px); transition: top .35s; overflow-y: auto; background: #fff; border-radius: var(--r-lg); scrollbar-width: thin; }
.filters__form { padding: 22px; }
.filters__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__hd b { font-size: 17px; }
.filters__x { display: none; }
.fg { border: 0; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.fg__h { padding: 0; width: 100%; }
.fg__h button { width: 100%; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; padding: 4px 0; }
.fg__h .i { transition: transform .2s; }
.fg[data-collapsed] .fg__body { display: none; }
.fg[data-collapsed] .fg__h .i { transform: rotate(-90deg); }
.fg__body { padding-top: 10px; }
.fg__search { width: 100%; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 12px; font-size: 13px; margin-bottom: 8px; outline: none; }
.fg__search:focus { border-color: var(--ink); }
.fg__list li.is-more { display: none; }
.fg.is-all .fg__list li.is-more { display: block; }
.fg.is-searching .fg__list li { display: none; }
.fg.is-searching .fg__list li.is-match { display: block; }
.check--row { align-items: center; padding: 5px 0; font-size: 14px; }
.check--row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check--row small { color: var(--muted-2); font-size: 12px; }
.fg__more { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; margin-top: 8px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12.5px; font-weight: 500; transition: background .2s; }
.fg__more:hover { background: var(--accent-h); }
.range__track { position: relative; height: 24px; margin: 4px 8px 12px; }
.range__track::before, .range__track i { content: ""; position: absolute; top: 10px; height: 4px; border-radius: 2px; }
.range__track::before { left: 0; right: 0; background: var(--line); }
.range__track i { background: var(--ink); left: var(--a, 0%); right: calc(100% - var(--b, 100%)); }
.range__track input { position: absolute; left: -8px; right: -8px; width: calc(100% + 16px); top: 0; height: 24px; margin: 0; appearance: none; background: none; pointer-events: none; }
.range__track input::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); pointer-events: auto; cursor: grab; }
.range__track input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); pointer-events: auto; cursor: grab; }
.range__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range__inputs label { display: flex; align-items: center; gap: 6px; height: 42px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; }
.range__inputs label:focus-within { border-color: var(--ink); }
.range__inputs span { font-size: 12px; color: var(--muted); }
.range__inputs input { border: 0; outline: none; width: 100%; font-size: 14px; background: none; min-width: 0; }
.filters__acts { position: sticky; bottom: -22px; background: #fff; padding: 14px 0 22px; margin-bottom: -22px; display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.results { min-width: 0; }
.results__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.results__filt { display: none; }
.results__count { font-size: 14px; color: var(--muted); }
.sort { margin-left: auto; }
.sort select { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23131512' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; padding: 0 38px 0 16px; font-size: 13.5px; font-weight: 600; outline: none; cursor: pointer; }
.active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.empty { background: #fff; border-radius: var(--r-xl); padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty p { color: var(--muted); max-width: 460px; }
.empty__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager__a { min-width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; font-size: 14px; transition: background .15s; padding: 0 6px; }
.pager__a:hover { background: var(--line); }
.pager__a.is-on { background: var(--ink); color: #fff; }
.pager__dots { align-self: center; color: var(--muted); padding: 0 4px; }
.seo-txt { margin-top: 48px; background: #fff; border-radius: var(--r-lg); padding: 28px; color: var(--muted); font-size: 14px; }
.seo-txt .h3 { color: var(--ink); margin-bottom: 10px; font-size: 19px; font-weight: 600; }

/* product page */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 20px; padding-top: 16px; align-items: start; }
.gal { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; min-width: 0; }
.gal:not(:has(.gal__t.is-ready)) { grid-template-columns: minmax(0, 1fr); }
.gal:not(:has(.gal__t.is-ready)) .gal__thumbs { display: none; }
.gal__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; scrollbar-width: none; }
.gal__t { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: #fff; border: 2px solid transparent; flex: none; transition: border-color .15s; }
.gal__t img { width: 100%; height: 100%; object-fit: cover; }
.gal__t.is-on { border-color: var(--ink); }
.gal__main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; aspect-ratio: 4/3; min-width: 0; }
.gal__main .pc__badges { left: 16px; top: 16px; }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; background: #fff; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.gal__nav--l { left: 14px; } .gal__nav--r { right: 14px; }
.gal__cnt { position: absolute; right: 16px; bottom: 16px; background: rgba(19,21,18,.65); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.noimg--lg { aspect-ratio: 4/3; }
.buy { background: #fff; border-radius: var(--r-xl); padding: 30px; position: sticky; top: calc(var(--hd-h, 130px) + 14px); display: flex; flex-direction: column; gap: 14px; transition: top .35s; }
.buy__meta { font-size: 12.5px; color: var(--muted); }
.copy { font-size: 12.5px; color: var(--ink); font-weight: 600; border-bottom: 1px dashed var(--muted-2); }
.buy__h { font-size: 27px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.buy__car { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; background: var(--accent-soft); padding: 10px 14px; border-radius: 14px; align-self: flex-start; transition: background .15s; }
.buy__car:hover { background: var(--accent); }
.buy__price { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-top: 6px; }
.buy__stock { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.buy__stock i { width: 8px; height: 8px; border-radius: 50%; background: #3cb44a; box-shadow: 0 0 0 3px rgba(60,180,74,.15); }
.buy__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.buy__btns .is-in { background: var(--ink); color: #fff; }
.buy__links { display: flex; gap: 20px; justify-content: center; padding: 4px 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 8px; background: var(--bg); padding: 12px; border-radius: 14px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ptabs { margin-top: 20px; }
.ptabs__nav { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.ptabs__nav button { height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ptabs__nav button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ptabs__panel { background: #fff; border-radius: var(--r-xl); padding: 32px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.specs--2 { grid-template-columns: 1fr 1fr; }
.specs div { display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.specs dt { color: var(--muted); flex: none; }
.specs dd { font-weight: 600; text-align: right; word-break: break-word; }
.mbuy { display: none; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; padding-top: 20px; align-items: start; }
.checkout__main { display: flex; flex-direction: column; gap: 12px; }
.box { background: #fff; border-radius: var(--r-xl); padding: 28px; }
.box__h { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; margin-bottom: 20px; letter-spacing: -.01em; }
.box__h small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.box__n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.box .form__row { margin-bottom: 12px; }
.box--sticky { position: sticky; top: calc(var(--hd-h, 130px) + 14px); transition: top .35s; display: flex; flex-direction: column; gap: 16px; }
.box--sticky .box__h { margin-bottom: 0; }
.cart-list { display: flex; flex-direction: column; }
.ci { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ci:first-child { border-top: 0; padding-top: 0; }
.ci__img { width: 88px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--bg); }
.ci__img img { width: 100%; height: 100%; object-fit: cover; }
.ci__t { font-weight: 600; font-size: 14px; line-height: 1.35; }
.ci__t:hover { color: var(--accent-ink); }
.ci__m { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ci__p { font-weight: 700; font-size: 16px; white-space: nowrap; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt:hover { border-color: var(--line-2); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__ico { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; }
.opt:has(input:checked) .opt__ico { background: var(--accent); }
.opt b { display: block; font-size: 14px; }
.opt small { color: var(--muted); font-size: 12px; }
.opts--4 .opt { flex-direction: column; text-align: center; padding: 16px 10px; gap: 8px; }
.opts--4 .opt b { font-size: 13px; }
.sum div { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px dashed var(--line-2); }
.sum dt { color: var(--muted); }
.sum dd { font-weight: 600; }
.sum__total { border: 0 !important; padding-top: 14px !important; }
.sum__total dt { color: var(--ink); font-weight: 700; font-size: 16px; }
.sum__total dd { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

/* pages */
.page-head { padding-top: 24px; padding-bottom: 12px; max-width: 900px; margin-left: 0; }
.page-head__sub { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 680px; }
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.about .prose { background: #fff; border-radius: var(--r-xl); padding: 36px; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__stats .stat { padding: 28px 24px; }
.cards3, .cards4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cards4 { grid-template-columns: repeat(4, 1fr); }
.icard { background: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
a.icard:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.icard .round-ico { background: var(--accent); margin-bottom: 14px; }
.icard b { font-size: 17px; letter-spacing: -.01em; }
.icard p { font-size: 14px; color: var(--muted); }
.dl-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.dl-list span { color: var(--muted); text-align: right; }
.contacts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.big-phone { font-size: 30px; font-weight: 600; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.contacts__btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.contacts .muted + .muted { margin-top: 8px; font-size: 14px; }
.panel--map .h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.map { aspect-ratio: 4/3; border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 8px; font-size: 13px; color: var(--muted); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map.is-loaded { padding: 0; }
.brand-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bl { background: #fff; border-radius: var(--r-lg); padding: 22px; }
.bl__h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bl__h b { font-size: 20px; letter-spacing: -.01em; }
.bl__h small { color: var(--muted); font-size: 13px; margin-right: auto; }
.bl__h:hover b { color: var(--accent-ink); }
.bl .chip { height: 32px; font-size: 12.5px; }
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.smap > div { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.smap .h3 { margin-bottom: 14px; font-weight: 600; font-size: 18px; }
.smap li + li { margin-top: 8px; }
.smap a { color: var(--muted); font-size: 14px; }
.smap a:hover { color: var(--ink); }
.legal { background: #fff; border-radius: var(--r-xl); padding: 40px; max-width: 920px; font-size: 15px; line-height: 1.65; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; letter-spacing: -.01em; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal p + p { margin-top: 10px; }
.nf { text-align: center; padding-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nf__code { font-size: 120px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--accent); -webkit-text-stroke: 2px var(--ink); }
.nf p { color: var(--muted); }
.nf__search { display: flex; gap: 8px; width: 100%; max-width: 480px; margin-top: 8px; }
.nf__search input { flex: 1; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-2); padding: 0 20px; outline: none; }

/* modals, drawer, toast, cookie */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; background: rgba(19,21,18,.45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal__box { position: relative; background: #fff; border-radius: var(--r-xl); padding: 34px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; animation: pop .25s cubic-bezier(.2,.8,.3,1.1); }
.modal__box--done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.modal__x { position: absolute; top: 16px; right: 16px; }
.modal__h { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; padding-right: 40px; }
.modal__box--done .modal__h { padding: 0; }
.modal__p { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.modal__acts { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.modal__acts .btn { flex: 1; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.mini { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 16px; padding: 10px; margin-bottom: 16px; }
.mini img { width: 64px; height: 50px; border-radius: 10px; object-fit: cover; flex: none; }
.mini b { display: block; font-size: 13.5px; line-height: 1.3; }
.mini span { font-size: 15px; font-weight: 700; }
.ck-opts { display: flex; flex-direction: column; gap: 8px; }
.ck-opt { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px; border-radius: 16px; background: var(--bg); cursor: pointer; }
.ck-opt b { display: block; font-size: 14px; }
.ck-opt small { font-size: 12.5px; color: var(--muted); }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(18px); background: var(--accent); }
.switch:disabled { opacity: .6; cursor: default; }
.ckbar { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 520px; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-lg); font-size: 13px; color: var(--muted); animation: pop .3s; }
.ckbar b { color: var(--ink); }
.ckbar a { text-decoration: underline; }
.ckbar__acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.drawer { place-items: stretch start; padding: 0; }
.drawer__box { background: #fff; width: min(380px, 88vw); height: 100%; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; animation: slide .25s; }
.drawer__hd { display: flex; justify-content: space-between; align-items: center; }
.drawer__hd b { font-size: 18px; font-weight: 500; }
.drawer__search { display: flex; gap: 6px; position: relative; }
.sugg--drawer { width: 100%; top: calc(100% + 6px); max-height: calc(100vh - 160px); box-shadow: 0 12px 40px -12px rgba(0,0,0,.3); border: 1px solid var(--line); }
.drawer__search input { flex: 1; height: 44px; border-radius: 999px; border: 0; background: var(--bg); padding: 0 16px; outline: none; }
.drawer__h { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.drawer__list a { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-weight: 400; font-size: 15.5px; border-bottom: 1px solid var(--line); transition: color .2s, padding .25s; }
.drawer__list a:active { color: var(--accent-ink); padding-left: 4px; }
.drawer__list li:last-child a { border-bottom: 0; }
.drawer__list small { margin-left: auto; color: var(--muted-2); font-weight: 400; font-size: 13px; }
.drawer__h { margin-top: 10px; }
.drawer__contact { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; padding-bottom: env(safe-area-inset-bottom); }
.drawer__phone { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.drawer__contact p { font-size: 13px; color: var(--muted); }
.drawer__wa { align-self: flex-start; margin-top: 6px; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; font-size: 14px; display: flex; align-items: center; gap: 14px; box-shadow: var(--sh-lg); animation: up .25s; max-width: calc(100vw - 32px); }
.toast a { color: var(--accent); font-weight: 700; white-space: nowrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes slide { from { transform: translateX(-100%); } }
@keyframes up { from { opacity: 0; transform: translate(-50%, 12px); } }
body.no-scroll { overflow: hidden; }
.is-loading { position: relative; pointer-events: none; opacity: .7; }

/* ── responsive ───────────────────────────── */
@media (max-width: 1200px) {
  .hd__links li:nth-child(n+6) { display: none; }
  .hd__contact { display: none; }
  .hd__search { max-width: 220px; }
  .hero { grid-template-columns: 1fr 320px; }
  .rail { grid-auto-columns: calc((100% - 24px) / 3); }
  .brands { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1024px) {
  :root { --gut: 20px; }
  .hd__links { display: none; }
  .hd__search { display: none; }
  .hd__info { margin-left: auto; }
  .hd__logo img { height: 36px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__main { grid-column: span 2; grid-row: auto; min-height: 560px; }
  .hero__side--accent { min-height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .donors { grid-template-columns: repeat(3, 1fr); }
  .grid, .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 110; max-height: none; border-radius: 0; transform: translateX(-100%); transition: transform .25s; width: min(400px, 100vw); }
  .filters.is-open { transform: none; box-shadow: var(--sh-lg); }
  .filters__x, .results__filt { display: inline-grid; }
  .results__filt { display: inline-flex; }
  
  .prod { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .box--sticky { position: static; }
  .faq-cta { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .info-line { grid-template-columns: 1fr; gap: 14px; }
  .info-line > p { padding: 0 4px; }
  .faq summary { padding: 18px 56px 18px 18px; font-size: 14.5px; }
  .faq__a p { padding: 0 18px 18px; }
  .faq__chev { right: 14px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .info-line { grid-template-columns: repeat(3, 1fr); }
  .vk { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .contacts .panel:first-child { grid-column: span 2; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 14.5px; }
  .hd__top { height: 60px; gap: 8px; grid-template-columns: auto 1fr auto; }
  .hd__burger { display: inline-grid; }
  .hd__l .mega { display: none; }
  .hd__logo img { height: 26px; }
  .hd__r { gap: 4px; }
  .hd__acts { gap: 4px; }
  .hd__acts .ico-btn { width: 38px; height: 38px; }
  .hd__acts .ico-btn--wa { display: none; }
  .hd__msearch { display: inline-grid; }
  .hd__nav, .hd-spacer { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .hero__main { grid-column: auto; padding: 28px 20px 20px; min-height: 0; border-radius: 24px; }
  .hero__h { font-size: 38px; }
  .hero__h br { display: none; }
  .hero__line { display: none; }
  .pick__row { grid-template-columns: 1fr; padding: 12px; }
  .pick__go { width: 100%; border-radius: 14px; display: flex; justify-content: center; gap: 8px; font-weight: 700; }
  .pick__go span { display: inline; }
  .hero__side { border-radius: 24px; padding: 22px; }
  .hero__side--accent { min-height: 0; }
  .hero__s-h { font-size: 23px; }
  .stats { gap: 8px; }
  .stat { padding: 16px; border-radius: 18px; }
  .stat b { font-size: 22px; }
  .sec { padding-top: 56px; }
  .sec--tint { margin-top: 56px; padding: 48px 0; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .sec__head--center { align-items: center; }
  .cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat { padding: 12px; gap: 10px; border-radius: 18px; }
  .cat__top { min-height: 34px; }
  .cat__name { font-size: 14px; hyphens: auto; overflow-wrap: anywhere; }
  .cat__go { width: 30px; height: 30px; }
  .cat__media { border-radius: 12px; }
  .cat__bottom small { display: none; }
  .cats-all { padding: 14px 14px 14px 22px; font-size: 15px; }
  .donors { grid-template-columns: 1fr 1fr; gap: 8px; }
  .donor { padding: 14px 14px 12px; min-height: 120px; }
  .donor__b { font-size: 19px; }
  .donor__m { font-size: 13px; }
  .donor__go { width: 30px; height: 30px; }
  .grid, .grid--4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pc { padding: 6px; border-radius: 18px; }
  .pc__img { border-radius: 13px; }
  .pc__body { padding: 10px 6px 6px; }
  .pc__t { font-size: 13px; }
  .pc__price { font-size: 17px; margin-bottom: 10px; }
  .pc__fav { width: 32px; height: 32px; top: 12px; right: 12px; }
  .pc__meta { display: none; }
  .pc .btn--sm { --h: 36px; padding: 0 10px; font-size: 12.5px; }
  .pc .ico-btn { width: 36px; height: 36px; }
  .rail { grid-auto-columns: 62%; gap: 8px; }
  .car-nav { display: none; }
  .vk { padding: 8px; border-radius: 24px; }
  .vk__media, .vk__form { padding: 22px; }
  .vk__media { min-height: 0; }
  .vk__bg { top: 8%; }
  .vk__h { font-size: 26px; }
  .vk__fh { font-size: 21px; }
  .vk__facts { grid-template-columns: 1fr; }
  .vk__facts p { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; }
  .vk__facts b { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand { height: 64px; }
  .brand b { font-size: 12.5px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step__n { margin-bottom: 10px; }
  .split { grid-template-columns: 1fr; }
  .panel { padding: 22px; border-radius: 24px; }
  .ft { margin-top: 56px; padding-top: 20px; }
  .ft__cta { flex-direction: column; align-items: flex-start; padding: 24px; margin-bottom: 32px; }
  .ft__cta-h { font-size: 20px; }
  .ft__grid { grid-template-columns: 1fr; gap: 24px; }
  .ft__bottom { flex-direction: column; }
  .results__bar { flex-wrap: wrap; gap: 10px; }
  .results__count { order: 3; width: 100%; }
  .sort { margin-left: auto; }
  .gal { grid-template-columns: minmax(0, 1fr); }
  .gal__thumbs { display: none; }
  .gal__main { border-radius: 22px; }
  .gal__nav { display: none; }
  .buy { padding: 20px; border-radius: 24px; }
  .buy__h { font-size: 22px; }
  .buy__price { font-size: 30px; }
  .buy__btns { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .ptabs__panel { padding: 20px; border-radius: 22px; }
  .specs, .specs--2 { grid-template-columns: 1fr; }
  .specs div { flex-direction: column; gap: 2px; }
  .specs dd { text-align: left; }
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
  .mbuy p { flex: 1; min-width: 0; line-height: 1.2; }
  .mbuy b { font-size: 19px; display: block; }
  .mbuy small { font-size: 11.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body:has(.mbuy) .ft { padding-bottom: 90px; }
  body:has(.mbuy) .toast { bottom: 90px; }
  .box { padding: 20px; border-radius: 24px; }
  .ci { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .ci__img { width: 64px; height: 50px; }
  .ci__p { grid-column: 2; font-size: 15px; }
  .ci .ico-btn { grid-row: 1; grid-column: 3; }
  .opts, .opts--4 { grid-template-columns: 1fr 1fr; }
  .opt { padding: 12px; gap: 10px; }
  .opt__ico { display: none; }
  .opts--4 .opt__ico { display: grid; }
  .contacts { grid-template-columns: 1fr; }
  .contacts .panel:first-child { grid-column: auto; }
  .big-phone { font-size: 24px; }
  .cards3, .cards4, .brand-list, .smap { grid-template-columns: 1fr; }
  .legal { padding: 22px; border-radius: 22px; font-size: 14.5px; }
  .about .prose { padding: 22px; }
  .modal { place-items: end center; padding: 0; }
  .modal__box { border-radius: 24px 24px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; }
  .modal__h { font-size: 22px; }
  .ckbar { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .ckbar .btn { flex: 1; }
  .nf__code { font-size: 88px; }
}

/* hero на всю ширину */
.hero--full { grid-template-columns: 1fr; position: relative; z-index: 5; }
.hero--full .hero__main { grid-row: auto; min-height: 560px; padding: 44px 48px 28px; }
.hero--full .hero__h { max-width: 760px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__facts li { font-size: 13px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero__facts b { color: #fff; font-weight: 700; }
.hero--full .pick { display: grid; grid-template-columns: minmax(0, 1fr) 240px; grid-template-rows: auto 1fr; column-gap: 12px; }
.hero--full .pick__h { grid-column: 1 / -1; }
.pick__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 0 24px; border-radius: 22px; background: var(--accent); color: var(--ink); transition: background-color .25s, transform .25s; }
.pick__all:hover { background: var(--accent-h); transform: translateY(-2px); }
.pick__all b { display: block; font-size: 18px; font-weight: 600; white-space: nowrap; }
.pick__all small { display: block; font-size: 12.5px; color: #3b4a10; margin-top: 2px; }
.pick__all-go { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; overflow: hidden; flex: none; }
.pick__all-go .i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.6,0,.3,1); }
.pick__all-go .i + .i { transform: translate(-250%, -50%); }
.pick__all:hover .pick__all-go .i:first-child { transform: translate(150%, -50%); }
.pick__all:hover .pick__all-go .i + .i { transform: translate(-50%, -50%); }

/* ключевые направления */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.dir { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 460px; padding: 32px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; font: inherit; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease; }
.dir:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.dir--dark { background: linear-gradient(160deg, #2a2d28 0%, #121311 70%); color: #fff; }
.dir--light { background: linear-gradient(160deg, #e9eae6 0%, #cfd2cb 100%); color: var(--ink); }
.dir--accent { background: linear-gradient(160deg, #d6f55c 0%, #b9e324 100%); color: var(--ink); }
.dir__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease; }
.dir:has(.dir__bg)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ov) 0%, transparent 42%); }
.dir--dark { --ov: rgba(10,11,9,.55); }
.dir--light { --ov: rgba(240,241,238,.6); }
.dir--accent { --ov: rgba(210,245,90,.45); }
.dir:hover .dir__bg { transform: scale(1.05); }
/* «Каталог запчастей»: деталь целиком в рамке, по размеру как фото в соседних карточках */
.dir--dark:has(.dir__bg) { background: #141414; }
.dir--dark .dir__bg { transform: scale(var(--s, .8)); transform-origin: 50% 100%; -webkit-mask-image: radial-gradient(ellipse 70% 66% at 50% 60%, #000 55%, transparent 97%); mask-image: radial-gradient(ellipse 70% 66% at 50% 60%, #000 55%, transparent 97%); }
.dir--dark:hover .dir__bg { transform: scale(.82); } /* лёгкое приближение, без скачка */
.dir__art { position: absolute; right: -30px; bottom: -40px; z-index: -1; opacity: .14; transition: transform .6s ease; }
.dir__art .i { stroke-width: .8; }
.dir:hover .dir__art { transform: scale(1.06) rotate(-3deg); }
.dir__title { font-size: clamp(26px, 2.3vw, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.dir__h { margin-top: 12px; font-size: 16px; line-height: 1.4; font-weight: 400; opacity: .78; max-width: 280px; }
.dir__h b { font-weight: 600; }
.dir__go { position: absolute; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .35s ease, background .35s; box-shadow: 0 6px 18px -6px rgba(0,0,0,.25); }
.dir--light .dir__go { background: var(--ink); color: #fff; }
.dir--accent .dir__go { background: var(--ink); color: var(--accent); }
.dir:hover .dir__go { transform: rotate(45deg); }

/* полоса со складами и часами */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.strip__item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-lg); padding: 16px 18px; transition: background .2s; }
a.strip__item:hover { background: var(--accent-soft); }
.strip__item b { display: block; font-size: 14.5px; }
.strip__item small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 1024px) {
  .dirs { grid-template-columns: 1fr 1fr; }
  .dir--accent { grid-column: span 2; min-height: 300px; }
  .hero--full .pick { grid-template-columns: 1fr; row-gap: 10px; }
  .pick__all { height: 64px; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero--full .hero__main { min-height: 0; padding: 28px 20px 20px; }
  .hero__facts li { font-size: 12px; padding: 6px 11px; }
  .dirs { grid-template-columns: 1fr; gap: 8px; }
  .dir, .dir--accent { grid-column: auto; min-height: 240px; padding: 22px; border-radius: 24px; }
  .dir__title { font-size: 25px; }
  .dir__h { font-size: 14.5px; margin-top: 8px; max-width: 240px; }
  .dir__go { width: 44px; height: 44px; right: 18px; bottom: 18px; }
  .dir__art .i { width: 150px; height: 150px; }
  .strip { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr 1fr; }
}


/* стрелка-уголок у выпадающих пунктов */
.chev { display: inline-grid; place-items: center; transition: transform .25s ease; }
.chev .i { stroke-width: 2; }
.mega__btn { gap: 6px; padding: 0 16px 0 20px; }
.mega.is-open .mega__btn .chev { transform: rotate(180deg); }

/* выпадающие подкатегории в строке разделов */
.navdd { position: relative; }
.navdd__a { display: inline-flex; align-items: center; gap: 4px; height: 54px; }
.navdd__a .chev { color: var(--muted-2); }
.navdd:hover .navdd__a .chev, .navdd:focus-within .navdd__a .chev { transform: rotate(180deg); color: var(--ink); }
.navdd__panel { position: absolute; left: -18px; top: 100%; min-width: 360px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.navdd:hover .navdd__panel, .navdd:focus-within .navdd__panel { opacity: 1; visibility: visible; transform: none; }
.navdd__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.navdd__list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 14px; color: var(--ink-2); transition: background .15s; }
.navdd__list a:hover { background: var(--bg); color: var(--ink); }
.navdd__list small { color: var(--muted-2); font-size: 12px; }
.navdd__all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: 13.5px; transition: background-color .25s, color .25s; }
.navdd__all:hover, .hd__links .navdd__all:hover { background: var(--ink); color: #fff; }

/* подсказки поиска */
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sugg { position: absolute; left: 0; top: calc(100% + 8px); width: 560px; max-width: calc(100vw - 32px); background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 10px; z-index: 70; display: flex; flex-direction: column; max-height: min(640px, calc(100vh - 110px)); }
.sugg[hidden] { display: none; }
.sugg__scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; scrollbar-width: thin; margin-right: -4px; padding-right: 4px; }
.sugg__more { text-align: center; color: var(--muted); font-size: 12.5px; padding: 10px; }
.sugg__h { font-size: 11.5px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px 4px; }
.sugg__link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 14px; }
.sugg__link b { font-weight: 600; }
.sugg__link small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.sugg__prod { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; }
.sugg__img { width: 52px; height: 40px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.sugg__img img { width: 100%; height: 100%; object-fit: cover; }
.sugg__t { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sugg__t small { display: block; color: var(--accent-ink); font-size: 11.5px; font-weight: 600; }
.sugg__p { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sugg__link:hover, .sugg__prod:hover, .sugg [aria-selected="true"] { background: var(--bg); }
.sugg__all { flex: none; display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--accent); font-weight: 700; font-size: 13.5px; }
.sugg__all:hover, .sugg__all[aria-selected="true"] { background: var(--accent-h); }
.sugg__empty { padding: 16px 10px; color: var(--muted); font-size: 14px; }
.sugg mark { background: none; color: inherit; font-weight: 700; }


/* разделители: отдельные элементы с отступом вместо символов */
.pc__meta span + span, .buy__meta > span + span { margin-left: 12px; }
.cats-all__n { margin-left: 8px; opacity: .7; }
.navdd__all small { margin-left: 6px; font-size: 12.5px; opacity: .65; font-weight: 600; }
.sugg__n { margin-left: 4px; color: var(--muted); }
.fcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 10px; background: var(--accent); font-style: normal; font-size: 11.5px; font-weight: 700; }

/* свои выпадающие списки */
.csel { position: relative; width: 100%; }
.csel > select, .csel > select:disabled { position: absolute !important; inset: 0; opacity: 0 !important; pointer-events: none; visibility: hidden; }
.csel__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.csel__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel__chev { display: grid; place-items: center; flex: none; transition: transform .25s ease; }
.csel.is-open .csel__chev { transform: rotate(180deg); }
.csel__btn:disabled { cursor: default; opacity: .55; }
.csel__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80; min-width: 200px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 16px; box-shadow: var(--sh-lg); padding: 6px; scrollbar-width: thin; animation: cselIn .16s ease; }
@keyframes cselIn { from { opacity: 0; transform: translateY(-4px); } }
.csel__opt { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.csel__opt.is-hl { background: var(--bg); color: var(--ink); }
.csel__opt.is-sel { font-weight: 600; color: var(--ink); }
.csel__opt.is-sel::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); flex: none; }
.csel__opt.is-dis { opacity: .4; pointer-events: none; }
/* вид кнопки в разных местах */
.pick .csel__list { z-index: 90; }
.pick__f .csel__btn { height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.35); color: #fff; padding: 0 14px; font-size: 14px; }
.pick__f .csel__btn:hover:not(:disabled), .pick__f .csel.is-open .csel__btn { border-color: var(--accent); }
.pick__f .csel__btn.is-placeholder { color: rgba(255,255,255,.75); }
.sort .csel { width: auto; }
.sort .csel__btn { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px 0 16px; font-size: 13.5px; font-weight: 600; min-width: 190px; }
.sort .csel__btn:hover, .sort .csel.is-open .csel__btn { border-color: var(--ink); }
.sort .csel__list { left: auto; right: 0; }
.field .csel__btn { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px 0 16px; font-size: 15px; }
.field .csel__btn:hover, .field .csel.is-open .csel__btn { border-color: var(--ink); }



/* ===== Планшеты (iPad mini и подобные, 761–1024 px): шапка как на телефоне, контент шире ===== */
@media (max-width: 1024px) {
  .hd__top { height: 68px; gap: 12px; grid-template-columns: 1fr auto 1fr; }
  .hd__burger, .hd__msearch { display: inline-grid; }
  .hd__l .mega { display: none; }
  .hd__nav, .hd-spacer { display: none; }
  .hd__bar .ico-btn { background: transparent; width: 42px; height: 42px; border-radius: 12px; }
  .hd__bar .ico-btn:hover { background: rgba(255,255,255,.08); }
  .hd__bar .ico-btn .i { width: 22px; height: 22px; }
  .hd__bar .cnt { top: 2px; right: 1px; }
  .hd__acts { gap: 2px; }
  .hd__bar { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
  .hd.is-collapsed .hd__bar { transform: translateY(-100%); box-shadow: none; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  /* три направления в один ряд, как на компьютере: фото вертикальные, поэтому карточки тоже вертикальные */
  .dirs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dir, .dir--accent { grid-column: auto; min-height: 400px; padding: 22px; border-radius: 26px; }
  .dir__title { font-size: 22px; }
  .dir__h { font-size: 13.5px; margin-top: 8px; max-width: 100%; }
  .dir__go { width: 44px; height: 44px; right: 16px; bottom: 16px; }
  .dir__art .i { width: 150px; height: 150px; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat { padding: 14px; gap: 10px; }
  .cat__name { font-size: 15px; }
  .cat__go { width: 30px; height: 30px; }
  .cat__bottom small { display: none; }
  .donors { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .donor { padding: 16px 16px 14px; min-height: 130px; }
  .donor__b { font-size: 19px; }
  .vk__media { min-height: 440px; }
  .contacts__btns .btn { flex: 1; }
}

/* ===== Мобильная версия: читаемость ===== */
@media (max-width: 760px) {
  body { line-height: 1.55; -webkit-text-size-adjust: 100%; }
  .sec__sub, .page-head__sub { font-size: 14.5px; line-height: 1.55; }
  .h2 { font-size: 26px; }
  .page-head .h1 { font-size: 30px; }
  /* шапка прячется при прокрутке вниз и появляется при прокрутке вверх — больше места для чтения */
  .hd__bar { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
  .hd.is-collapsed .hd__bar { transform: translateY(-100%); box-shadow: none; }
  /* направления: компактные карточки вместо высоких */
  .dir, .dir--accent { min-height: 176px; padding: 20px; }
  .dir__title { font-size: 23px; }
  .dir__art .i { width: 120px; height: 120px; }
  .dir__art { right: -18px; bottom: -26px; }
  /* разделы каталога: название целиком, без обрезки слов */
  .cat__go { display: none; }
  .cat__top { min-height: 0; }
  .cat__name { font-size: 14px; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
  /* как купить */
  .info-line { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .info-line > p { padding: 0 4px; }
  .step { padding: 18px; }
  /* карточка товара */
  .buy .btn { white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 50px; padding: 10px 18px; }
  .perks li { font-size: 12px; padding: 10px; }
  /* контакты */
  .contacts { grid-template-columns: 1fr; }
  .contacts .panel:first-child { grid-column: auto; }
  .contacts__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .contacts__btns .btn { width: 100%; padding: 0 12px; }
  /* подвал: ссылки в две колонки, меньше прокрутки */
  .ft__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .ft__grid > .ft__brand, .ft__grid > :last-child { grid-column: 1 / -1; }
  .ft__grid li a { display: inline-block; padding: 3px 0; }
  /* модалки — снизу, как нативный лист */
  .modal { place-items: end center; padding: 0; }
  .modal__box { width: 100%; max-width: none; padding: 26px 20px; max-height: 92vh; overflow-y: auto; border-radius: 26px 26px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); animation: sheetUp .38s cubic-bezier(.2,.8,.2,1); }
}
@keyframes sheetUp { from { transform: translateY(100%); } }

/* ===== Анимации ===== */
/* появление блоков при прокрутке (классы ставит app.js, без JS всё видно сразу) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
/* первый экран */
@keyframes rvUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes heroZoom { from { transform: scale(1.08); } }
.hero__main > :not(.hero__bg), .page-head > * { animation: rvUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__main > :nth-child(2), .page-head > :nth-child(1) { animation-delay: .05s; }
.hero__main > :nth-child(3), .page-head > :nth-child(2) { animation-delay: .15s; }
.hero__main > :nth-child(4), .page-head > :nth-child(3) { animation-delay: .25s; }
.hero__main > :nth-child(5) { animation-delay: .35s; }
.hero__bg img { animation: heroZoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
/* меню: пункты выезжают по очереди */
.drawer__box > * { animation: rvUp .45s cubic-bezier(.2,.7,.2,1) both; }
.drawer__box > :nth-child(2) { animation-delay: .04s; } .drawer__box > :nth-child(3) { animation-delay: .08s; }
.drawer__box > :nth-child(4) { animation-delay: .12s; } .drawer__box > :nth-child(n+5) { animation-delay: .16s; }
/* отклик на касание на телефонах */
@media (hover: none) {
  .btn, .ico-btn, .pc, .cat, .donor, .dir, .chip, .pick__all, .cats-all, .vk__call, .faq summary { -webkit-tap-highlight-color: transparent; }
  .btn:active, .ico-btn:active, .chip:active, .pick__all:active, .cats-all:active, .vk__call:active { transform: scale(.96); transition: transform .12s; }
  .pc:active, .cat:active, .donor:active, .dir:active { transform: scale(.98); transition: transform .15s; }
}


/* ===== Мобильная версия, правки 2 ===== */
@media (max-width: 760px) {
  /* иконки шапки без кружков, одного размера */
  .hd__bar .ico-btn { background: transparent; width: 40px; height: 40px; border-radius: 12px; }
  .hd__bar .ico-btn:hover { background: transparent; }
  .hd__bar .ico-btn .i { width: 22px; height: 22px; }
  .hd__bar .cnt { top: 2px; right: 1px; }
  .hd__acts { gap: 0; }
  /* направления с фото: фото внизу карточки, текст сверху не перекрывается */
  .dir:has(.dir__bg) { min-height: 290px; }
  .dir .dir__bg, .dir--dark .dir__bg { inset: auto 0 0 0; height: 68%; object-fit: cover; object-position: center 65%; transform: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .dir:hover .dir__bg, .dir--dark:hover .dir__bg { transform: none; }
  .dir:has(.dir__bg)::before { display: none; }
  .dir__h { max-width: 100%; }
}

/* ===== Фото на весь экран ===== */
.gal__track img.is-loaded { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 200; background: #0b0c0a; display: flex; flex-direction: column; animation: fade .25s; touch-action: pan-x pinch-zoom; }
.lb[hidden] { display: none; }
.lb__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; animation: lbIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes lbIn { from { transform: scale(.94); opacity: 0; } }
.lb__x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; background: rgba(255,255,255,.12); color: #fff; }
.lb__x:hover { background: rgba(255,255,255,.22); }
.lb__cnt { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); color: #fff; font-size: 13px; background: rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; }
.lb__nav--l { left: 16px; } .lb__nav--r { right: 16px; }
@media (hover: none) { .lb__nav { display: none; } }

@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
