/* ЮТА — Юг Транс Авто. Публичный сайт. Mobile-first. */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/manrope-latin.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: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/static/fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/static/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --ink: #0d0e10;
  --ink-2: #16181c;
  --ink-3: #23262c;
  --ink-line: #2d3037;
  --gold: #d6a943;
  --gold-2: #f1d17d;
  --gold-3: #b8892a;
  --gold-soft: #fbf3df;
  --bg: #f5f4f1;
  --card: #ffffff;
  --text: #15171b;
  --muted: #6b7079;
  --line: #e7e4de;
  --line-2: #d9d5cd;
  --green: #16a34a;
  --green-soft: #e7f6ec;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --amber: #c96a0a;
  --amber-soft: #fdf0e1;
  --red: #dc2626;
  --wa: #1fa855;
  --tg: #229ed9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 17, 20, .04), 0 6px 24px rgba(16, 17, 20, .06);
  --shadow-lg: 0 12px 40px rgba(16, 17, 20, .16);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --hdr-h: 64px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 56px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; 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; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 6vw, 44px); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 4.6vw, 32px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #1a1407; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 18px rgba(214, 169, 67, .28); }
.btn-gold:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px rgba(214, 169, 67, .42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: #fff; border-color: var(--line-2); color: var(--text); }
.btn-light:hover { border-color: var(--text); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: inherit; flex: none; -webkit-tap-highlight-color: transparent; }
.icon-btn:hover { background: rgba(127,127,127,.12); }
.icon-btn-dark { background: var(--ink); color: #fff; }
.icon-btn-wa { background: var(--wa); color: #fff; }
.link-btn { border: 0; background: none; padding: 6px 0; color: var(--gold-3); font-weight: 700; font-size: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--text); white-space: nowrap; }
.link-more .ic { width: 18px; height: 18px; transition: transform .15s; }
.link-more:hover .ic { transform: translateX(3px); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #1a1407; font-size: 12px; font-weight: 800; }

/* ---------- чипы и бейджи ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .01em; background: #fff; color: var(--text); }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-in_stock { color: var(--green); }
.chip-in_transit { color: var(--blue); }
.chip-on_order { color: var(--amber); }
.chip-static.chip-in_stock { background: var(--green-soft); }
.chip-static.chip-in_transit { background: var(--blue-soft); }
.chip-static.chip-on_order { background: var(--amber-soft); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 800; background: var(--ink); color: var(--gold-2); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eyebrow-gold { color: var(--gold); }

/* ---------- поля ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea, .range input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 88px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7079' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .range input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,169,67,.2); }
.field-dark > span { color: rgba(255,255,255,.6); }
.field-dark input, .field-dark select, .field-dark textarea { background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.field-dark input::placeholder, .field-dark textarea::placeholder { color: rgba(255,255,255,.4); }
.field-dark select option { color: var(--text); }
.form-error { padding: 10px 12px; border-radius: 10px; background: #fdecec; color: var(--red); font-size: 14px; font-weight: 600; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; }
.form-done { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--green-soft); color: #14532d; }
.form-done .ic { width: 28px; height: 28px; color: var(--green); }

.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #efede8; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 38px; padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; text-align: center; }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(13, 14, 16, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: var(--hdr-h); }
.logo { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; flex: none; }
.logo-mark { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .04em; background: linear-gradient(180deg, #fbe7ad 0%, var(--gold) 55%, #a57a1f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-size: 9.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); opacity: .85; }
.hdr-nav { display: none; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.hdr-phone, .hdr-cta { display: none; }
.hdr-phone { align-items: center; gap: 8px; font-weight: 800; font-size: 16px; white-space: nowrap; }
.hdr-phone .ic { color: var(--gold); width: 18px; height: 18px; }
.hdr .icon-btn:hover { background: rgba(255,255,255,.08); }

.mnav { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ink); color: #fff; padding: 0 var(--gutter) max(20px, env(safe-area-inset-bottom)); overflow-y: auto; animation: fadeIn .18s ease; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); flex: none; }
.mnav-links { display: grid; margin: 12px 0 24px; }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--ink-line); }
.mnav-links a .ic { color: var(--gold); }
.mnav-contacts { display: grid; gap: 10px; margin-top: auto; }
.mnav-social { display: flex; gap: 18px; justify-content: center; padding: 8px 0; }
.mnav-social a { color: var(--gold-2); font-weight: 700; }
.mnav-hours { text-align: center; color: rgba(255,255,255,.5); font-size: 14px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- секции ---------- */
.section { padding: 44px 0; }
.section-tight { padding: 28px 0; }
.section-soft { background: #ecebe6; }
.section-dark { background: var(--ink); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head p.muted { margin-top: 6px; font-size: 15px; }
.sec-head-light .muted { color: rgba(255,255,255,.6); }
.sec-head > .link-more { display: none; }
.page-top { padding-top: 16px; }
.crumbs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--text); }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.crumbs-light { color: rgba(255,255,255,.55); }
.crumbs-light a:hover { color: #fff; }

/* ---------- главный экран ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .5; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,14,16,.55) 0%, rgba(13,14,16,.72) 45%, var(--ink) 100%); }
.hero-in { padding: 36px var(--gutter) 28px; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(28px, 7.4vw, 54px); line-height: 1.08; max-width: 16ch; font-weight: 700; }
.hero-sub { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.78); max-width: 56ch; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 700; }
.hero-points .ic { width: 16px; height: 16px; color: var(--gold); }
.qsearch { padding: 14px; border-radius: 20px; background: rgba(22, 24, 28, .82); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.qsearch-tabs { display: flex; gap: 4px; margin-bottom: 12px; }
.qsearch-tabs input { position: absolute; opacity: 0; }
.qsearch-tabs span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: rgba(255,255,255,.6); cursor: pointer; }
.qsearch-tabs input:checked + span { background: rgba(214,169,67,.16); color: var(--gold-2); }
.qsearch-grid { display: grid; gap: 10px; }
.qsearch .btn { align-self: end; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); }
.hero-stats div { padding: 14px 16px; background: rgba(13,14,16,.6); }
.hero-stats dt { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--gold-2); }
.hero-stats dd { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.62); }
.hero-credit { position: absolute; right: var(--gutter); top: 12px; display: none; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.5); }
.hero-credit .ic { width: 14px; height: 14px; }

/* ---------- плитки категорий ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 14px; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.78)); }
.tile:hover img { transform: scale(1.05); }
.tile-t { font-weight: 800; font-size: 16px; line-height: 1.2; }
.tile-n { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }

/* ---------- карточки ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9e7e2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.card-noimg { display: grid; place-items: center; height: 100%; color: var(--line-2); }
.card-noimg .ic { width: 48px; height: 48px; }
.card-media .chip { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.card-badges { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.card-count { position: absolute; right: 10px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; }
.card-count .ic { width: 14px; height: 14px; }
.card-dots { position: absolute; left: 10px; right: 10px; bottom: 4px; display: none; gap: 4px; }
.card-dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); }
.card-dots i.on { background: #fff; }
.card-body { display: flex; flex-direction: column; padding: 14px 16px 16px; flex: 1; }
.card-title { font-size: 18px; font-weight: 800; }
.card-title a:hover { color: var(--gold-3); }
.card-trim { font-size: 14px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-specs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-specs li { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: #f2f1ed; color: #454952; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.card-price strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.card-pnote { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-from { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card-save { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 4px 8px; border-radius: 7px; background: var(--green-soft); color: #15803d; font-size: 12px; font-weight: 800; }
.card-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.card-foot .ic { width: 16px; height: 16px; color: var(--gold-3); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

/* ---------- выгода ---------- */
.benefit { display: grid; gap: 20px; padding: 22px; border-radius: 24px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.benefit::before { content: ''; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(214,169,67,.22), transparent 65%); pointer-events: none; }
.benefit-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); margin: 12px 0 20px; }
.benefit-card { background: #fff; color: var(--text); border-radius: 18px; overflow: hidden; }
.benefit-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.benefit-rows { padding: 16px 18px 18px; display: grid; gap: 10px; }
.benefit-name { font-weight: 800; font-size: 18px; }
.benefit-name span { font-weight: 600; color: var(--muted); font-size: 14px; }
.benefit-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.benefit-row s { font-weight: 700; font-size: 16px; color: var(--muted); }
.benefit-ours { color: var(--text); font-weight: 700; }
.benefit-ours strong { font-size: 22px; font-weight: 800; }
.benefit-bar { height: 8px; border-radius: 4px; background: #eceae4; overflow: hidden; }
.benefit-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.benefit-save { font-weight: 800; color: #15803d; }

/* ---------- шаги ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { padding: 18px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); }
.step-n { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--gold); }
.steps h3 { margin: 8px 0 6px; font-size: 17px; }
.steps p { font-size: 14px; color: rgba(255,255,255,.62); }
.steps-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.steps-cta .btn { flex: 1 1 220px; }

/* ---------- отзывы ---------- */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.reviews-row > * { scroll-snap-align: start; }
.reviews-list { display: grid; gap: 12px; }
.review { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-weight: 800; font-size: 17px; flex: none; }
.review-name { font-weight: 800; }
.review-name span { font-weight: 600; color: var(--muted); }
.review-meta { font-size: 13px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; }
.review-car { justify-self: start; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--gold-soft); color: #7a5b12; }
.review-text p + p { margin-top: 8px; }
.review-reply { padding: 12px 14px; border-left: 3px solid var(--gold); background: #faf8f3; border-radius: 0 10px 10px 0; font-size: 14px; }
.review-reply-h { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.empty-card { display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.empty-big { justify-items: center; text-align: center; padding: 48px 20px; }
.empty-big > .ic { width: 56px; height: 56px; color: var(--gold); }
.empty-big p { color: var(--muted); max-width: 46ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 20px; }
.faq-wrap > div:first-child p.muted { margin: 10px 0 16px; }
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--gold-3); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: #3e424a; }

/* ---------- призыв ---------- */
.cta { display: grid; gap: 22px; padding: 24px; border-radius: 24px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(214,169,67,.2), transparent 65%); pointer-events: none; }
.cta-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); margin-top: 12px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: rgba(255,255,255,.07); font-weight: 700; font-size: 14px; }
.cta-contacts a:hover { background: rgba(255,255,255,.12); }
.cta-contacts .ic { width: 18px; height: 18px; color: var(--gold); }
.cta-form { display: grid; gap: 12px; position: relative; }
.cta-form .form-note { color: rgba(255,255,255,.5); }

/* ---------- подвал ---------- */
.ftr { background: var(--ink); color: rgba(255,255,255,.72); padding: 40px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 14px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr-brand p { margin: 14px 0; max-width: 40ch; }
.ftr h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.ftr-col { display: grid; gap: 8px; align-content: start; justify-items: start; }
.ftr-col a:hover { color: var(--gold-2); }
.ftr-phone { font-size: 18px; font-weight: 800; color: #fff; }
.ftr-contacts .btn { margin-top: 6px; }
.ftr-social { display: flex; gap: 8px; }
.ftr-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); color: var(--gold-2); }
.ftr-social a:hover { background: rgba(255,255,255,.14); }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: 13px; }
.ftr-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.ftr .muted { color: rgba(255,255,255,.42); }

/* ---------- каталог ---------- */
.cat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cat-head h1 { font-size: clamp(22px, 5.4vw, 34px); }
.cat-total { font-family: var(--font); font-size: .55em; font-weight: 700; color: var(--muted); vertical-align: middle; }
.cat-tools { display: flex; gap: 8px; width: 100%; }
.cat-tools > * { flex: 1; }
.btn-filter { gap: 8px; }
.sort { position: relative; display: block; }
.sort select { width: 100%; height: 46px; padding: 0 38px 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 700; font-size: 15px; -webkit-appearance: none; appearance: none; }
.sort .ic { position: absolute; right: 12px; top: 13px; pointer-events: none; color: var(--muted); }
.quick-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 0 var(--gutter); }
.quick-tabs::-webkit-scrollbar { display: none; }
.quick-tabs a { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.quick-tabs a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-layout { display: grid; gap: 20px; padding-bottom: 24px; }
.cat-main { min-width: 0; }

.filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.filters.is-open { transform: none; visibility: visible; }
.filters-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45); animation: fadeIn .2s; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); font-size: 18px; flex: none; }
.filters-body { overflow-y: auto; padding: 4px 20px 16px; overscroll-behavior: contain; }
.filters-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; background: #fff; }
.fgroup { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup legend { float: left; width: 100%; font-weight: 800; font-size: 15px; margin-bottom: 10px; padding: 0; }
.fgroup legend + * { clear: both; }
.fgroup-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 15px; }
.check input { position: absolute; opacity: 0; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; flex: none; transition: background .12s, border-color .12s; }
.check-box .ic { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box .ic { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--gold); }
.check-l { flex: 1; min-width: 0; }
.check-n { font-size: 13px; color: var(--muted); }
.check.is-extra { display: none; }
.fgroup.show-all .check.is-extra { display: flex; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input { min-height: 44px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.presets button { height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 700; }
.presets button:hover { border-color: var(--text); }
.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.achip { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 8px 0 12px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.achip .ic { width: 16px; height: 16px; opacity: .7; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 24px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; font-weight: 800; box-shadow: var(--shadow); }
.pager a.is-on { background: var(--ink); color: #fff; }

/* ---------- страница автомобиля ---------- */
.draft-note { padding: 10px 14px; border-radius: 10px; background: var(--amber-soft); color: #92400e; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.vp { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "title" "side" "content"; gap: 16px; padding-bottom: 24px; }
.vp-title { grid-area: title; }
.vp-gallery { grid-area: gallery; min-width: 0; margin: 0 calc(-1 * var(--gutter)); }
.vp-side { grid-area: side; min-width: 0; }
.vp-content { grid-area: content; min-width: 0; }
.vp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vp-title h1 { font-size: clamp(24px, 6vw, 38px); }
.vp-title h1 span { display: block; font-family: var(--font); font-weight: 600; font-size: .5em; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.vp-short { margin-top: 10px; font-size: 16px; color: #3e424a; }

.gal { position: relative; }
.gal-main { position: relative; background: #111; overflow: hidden; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); display: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: opacity .15s; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-nav:disabled { opacity: 0; pointer-events: none; }
.gal-counter { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 700; }
.gal-full { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(0,0,0,.6); color: #fff; }
.gal-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px var(--gutter) 2px; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs button { flex: 0 0 76px; height: 57px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #ddd; opacity: .7; transition: opacity .15s, border-color .15s; }
.gal-thumbs button.on { border-color: var(--gold); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal-empty { display: grid; place-items: center; gap: 8px; aspect-ratio: 4 / 3; background: #e9e7e2; color: var(--muted); }
.gal-empty .ic { width: 48px; height: 48px; }

.buybox { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.bb-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.bb-main { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.bb-start { font-size: 14px; color: var(--muted); margin-top: 6px; }
.bb-start strong { color: var(--text); }
.bb-market { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f6f5f1; font-size: 13px; color: var(--muted); }
.bb-market s { font-weight: 700; }
.bb-save { color: #15803d; font-weight: 800; }
.bb-avail { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; }
.bb-avail .ic { width: 24px; height: 24px; }
.bb-avail div { display: grid; }
.bb-avail strong { font-size: 15px; }
.bb-avail span { font-size: 13px; color: var(--muted); }
.bb-avail-in_stock { background: var(--green-soft); color: #166534; }
.bb-avail-in_transit { background: var(--blue-soft); color: #1e40af; }
.bb-avail-on_order { background: var(--amber-soft); color: #9a3412; }
.bb-keys { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bb-keys li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f6f5f1; min-width: 0; }
.bb-keys .ic { grid-row: span 2; color: var(--gold-3); }
.bb-keys span { font-size: 12px; color: var(--muted); }
.bb-keys strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-actions { display: grid; gap: 8px; }
.bb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bb-row .btn { padding: 0 10px; }
.bb-note { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.bb-note .ic { color: var(--gold-3); }

.vp-tabs { position: sticky; top: var(--hdr-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 8px; padding: 10px var(--gutter); background: rgba(245,244,241,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vp-tabs::-webkit-scrollbar { display: none; }
.vp-tabs a { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.vp-tabs a.on { background: var(--ink); color: #fff; }
.vp-sec { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vp-sec:last-of-type { border-bottom: 0; }
.vp-sec > h2 { font-size: clamp(20px, 4.4vw, 26px); margin-bottom: 16px; }
.prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: #2c2f35; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose a { color: var(--gold-3); text-decoration: underline; }
.narrow { max-width: 820px; }
.specs { display: grid; gap: 12px; }
.spec-group { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.spec-group h3 { font-size: 15px; margin-bottom: 8px; color: var(--gold-3); text-transform: uppercase; letter-spacing: .06em; }
.spec-group dl { margin: 0; }
.spec-group dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.spec-group dl div:last-child { border-bottom: 0; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; font-weight: 700; text-align: right; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.features .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--green); stroke-width: 2.4; }
.pc { display: grid; gap: 12px; }
.pc-col { border-radius: 16px; padding: 16px 18px; }
.pc-col h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 8px; }
.pc-col ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.pc-pros { background: var(--green-soft); }
.pc-pros h3 { color: #15803d; }
.pc-cons { background: #fdf0ef; }
.pc-cons h3 { color: #b42318; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.rv-head h2 { font-size: clamp(20px, 4.4vw, 26px); }
.rv-score { display: flex; align-items: center; gap: 10px; }
.rv-score strong { font-size: 28px; font-weight: 800; }
.rv-score .stars { font-size: 18px; }
.rv-form { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.rv-form h3 { font-size: 18px; }
.rv-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-rating input { position: absolute; opacity: 0; }
.rv-rating label { cursor: pointer; color: #d9d5cd; padding: 2px; }
.rv-rating .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.rv-rating input:checked ~ label, .rv-rating label:hover, .rv-rating label:hover ~ label { color: var(--gold); }
.rv-rating input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 6px; }
.rv-form .btn { justify-self: start; }
.rv-page { display: grid; gap: 20px; padding-bottom: 40px; }
.credits { margin-top: 20px; font-size: 13px; color: var(--muted); }
.credits summary { cursor: pointer; font-weight: 700; }
.credits ol { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 4px; }
.credits a { text-decoration: underline; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -4px 24px rgba(0,0,0,.1); transform: translateY(110%); transition: transform .25s ease; }
.mbar.is-on { transform: none; }
.mbar-price { flex: 1; min-width: 0; display: grid; }
.mbar-price strong { font-size: 18px; font-weight: 800; white-space: nowrap; }
.mbar-price span { font-size: 12px; color: var(--muted); }
.mbar .btn { min-height: 44px; padding: 0 16px; }
.page-vehicle .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

.lb { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; flex-direction: column; animation: fadeIn .18s; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); color: #fff; flex: none; }
.lb-top .icon-btn:hover { background: rgba(255,255,255,.12); }
.lb-count { font-weight: 700; }
.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-slide { flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; touch-action: pan-x pinch-zoom; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav .ic { width: 28px; height: 28px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
body.no-scroll { overflow: hidden; }
.admin-edit { position: fixed; right: 16px; top: calc(var(--hdr-h) + 12px); z-index: 55; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--ink); color: var(--gold-2); font-weight: 800; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.admin-edit .ic { width: 16px; height: 16px; }

/* ---------- модальное окно ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100%; margin: auto auto 0; overflow: visible; }
.modal::backdrop { background: rgba(8, 9, 11, .6); backdrop-filter: blur(3px); }
.modal[open] { animation: sheetUp .26s cubic-bezier(.2,.8,.2,1); }
.modal-box { position: relative; display: grid; gap: 14px; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 92dvh; overflow-y: auto; }
.modal-x { position: absolute; right: 8px; top: 8px; }
.lead-head { padding-right: 40px; }
.lead-head h2 { font-size: 22px; }
.lead-head .muted { margin-top: 8px; font-size: 14px; }
.lead-done { justify-items: center; text-align: center; padding-top: 36px; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.done-ic .ic { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- внутренние страницы ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 20px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 600px; height: 600px; right: -240px; top: -300px; background: radial-gradient(circle, rgba(214,169,67,.2), transparent 65%); pointer-events: none; }
.page-hero h1 { max-width: 20ch; }
.page-hero-text { margin-top: 16px; max-width: 64ch; color: rgba(255,255,255,.75); font-size: 16px; }
.page-hero-text p + p { margin-top: 12px; }
.feats { display: grid; gap: 12px; }
.feat { padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feat .ic { width: 32px; height: 32px; color: var(--gold-3); }
.feat h3 { margin: 12px 0 6px; }
.feat p { color: var(--muted); font-size: 15px; }
.contacts { display: grid; gap: 20px; padding: 8px var(--gutter) 48px; }
.contact-cards { display: grid; gap: 10px; align-content: start; }
.ccard { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.ccard .ic { grid-row: span 3; width: 28px; height: 28px; color: var(--gold-3); }
.ccard span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard strong { font-size: 17px; }
.ccard em { font-style: normal; font-weight: 700; }
a.ccard:hover { box-shadow: var(--shadow-lg); }
.panel { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); color: var(--text); }
.panel h2 { font-size: 22px; }
.order-hero { display: grid; gap: 24px; }
.seg-light { background: #efede8; }


/* ---------- главная: выбор категории и выдача сразу под шапкой ---------- */
.picker { padding: 14px 0 32px; }
.pk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pk-tab { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; font-size: 15px; transition: background .15s, color .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.pk-tab .ic { width: 24px; height: 24px; color: var(--gold-3); }
.pk-tab { min-width: 0; }
.pk-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 400px) { .pk-tab { gap: 6px; font-size: 14px; padding: 0 6px; } .pk-tab .ic { width: 20px; height: 20px; } .pk-tab em { padding: 1px 5px; } }
.pk-tab em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); background: #f2f1ed; border-radius: 8px; padding: 2px 7px; }
.pk-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pk-tab.on .ic { color: var(--gold); }
.pk-tab.on em { background: rgba(255,255,255,.12); color: var(--gold-2); }
.pk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 0 var(--gutter); }
.pk-chips::-webkit-scrollbar { display: none; }
.pk-chips a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 19px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.pk-chips a span { font-size: 12px; font-weight: 700; color: var(--muted); }
.pk-chips a.on { background: var(--gold-soft); border-color: var(--gold); color: #6d5010; }
.pk-chips a.on span { color: #8a6516; }
.pk-grid { transition: opacity .15s; }
.pk-grid.is-loading { opacity: .4; pointer-events: none; }
.pk-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.pk-more .btn { flex: 1 1 240px; max-width: 360px; }
a.benefit-card { display: block; transition: transform .2s; }
a.benefit-card:hover { transform: translateY(-2px); }
.benefit-copy .hero-points { margin-top: 18px; }
@media (min-width: 1000px) {
  .picker { padding: 24px 0 56px; }
  .pk-tabs { max-width: 560px; }
  .pk-tab { height: 60px; font-size: 17px; }
  .pk-chips { flex-wrap: wrap; overflow: visible; margin: 0 0 20px; padding: 0; }
}

/* ---------- телефон: компактные карточки по две в ряд ---------- */
@media (max-width: 639px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid .card { border-radius: 14px; }
  .grid .card-media .chip { left: 6px; top: 6px; height: 22px; padding: 0 7px; font-size: 11px; }
  .grid .card-badges { display: none; }
  .grid .card-count { right: 6px; bottom: 6px; height: 20px; font-size: 11px; padding: 0 6px; }
  .grid .card-body { padding: 10px 10px 12px; }
  .grid .card-title { font-size: 15px; line-height: 1.2; }
  .grid .card-trim { font-size: 12px; }
  .grid .card-specs { display: none; }
  .grid .card-price { margin-top: 8px; }
  .grid .card-price strong { font-size: 17px; }
  .grid .card-pnote { width: 100%; font-size: 11px; margin-top: -4px; }
  .grid .card-from { display: none; }
  .grid .card-save { font-size: 11px; padding: 3px 6px; margin-top: 6px; }
  .grid .card-foot { font-size: 11.5px; padding-top: 8px; gap: 4px; }
  .grid .card-foot .ic { width: 14px; height: 14px; }
  .hscroll { grid-auto-columns: 62%; }
  .hide-xs { display: none; }
}

/* ================= планшет ================= */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { min-height: 160px; }
  .hscroll { grid-auto-columns: calc(50% - 8px); }
  .reviews-row { grid-auto-columns: calc(50% - 8px); }
  .qsearch-grid { grid-template-columns: 1fr 1fr; }
  .qsearch-grid .btn { grid-column: span 2; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pc { grid-template-columns: 1fr 1fr; }
  .rv-grid { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .cat-tools { width: auto; }
  .cat-tools > * { flex: none; }
  .sort select { min-width: 220px; }
  .modal { width: min(480px, calc(100vw - 32px)); margin: auto; }
  .modal-box { border-radius: 22px; padding: 28px; }
  .modal[open] { animation: popIn .2s ease; }
  .vp-gallery { margin: 0; }
  .gal-main { border-radius: 20px; }
  .gal-thumbs { padding: 10px 0 0; }
  .gal-nav { display: grid; }
  .card-dots { display: flex; }
  .card-media[data-hover-gallery] .card-count { bottom: 14px; }
  .sec-head > .link-more { display: inline-flex; }
}
@keyframes popIn { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ================= ноутбук ================= */
@media (min-width: 1000px) {
  :root { --hdr-h: 76px; }
  body { font-size: 16px; }
  .hdr-nav { display: flex; gap: 2px; margin-left: 12px; }
  .hdr-nav a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; color: rgba(255,255,255,.78); transition: color .15s, background .15s; }
  .hdr-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .hdr-nav a.is-active { color: var(--gold-2); }
  .hdr-cta { display: inline-flex; margin-left: 8px; }
  .hdr-burger, .hdr-call { display: none; }
  .logo-mark { font-size: 28px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 40px 0; }
  .sec-head { margin-bottom: 28px; }
  .hero-in { grid-template-columns: 1.1fr 1fr; grid-template-areas: "copy search" "stats stats"; align-items: end; padding-top: 88px; padding-bottom: 40px; gap: 40px 48px; }
  .hero-copy { grid-area: copy; }
  .qsearch { grid-area: search; padding: 20px; }
  .hero-stats { grid-area: stats; }
  .hero-sub { font-size: 18px; }
  .hero-credit { display: inline-flex; }
  .qsearch-grid { grid-template-columns: 1fr 1fr; }
  .qsearch-grid .btn { grid-column: auto; }
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .tile { min-height: 220px; padding: 18px; }
  .tile-t { font-size: 17px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .benefit { grid-template-columns: 1fr 1fr; align-items: center; padding: 48px; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps li { padding: 24px; }
  .reviews-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; }
  .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .cta { grid-template-columns: 1.1fr 1fr; padding: 48px; gap: 48px; align-items: center; }
  .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: 1.3fr 1fr; }
  .order-hero { grid-template-columns: 1fr 460px; align-items: start; gap: 48px; padding-top: 12px; }
  .page-hero { padding: 28px 0 64px; }
  .rv-page { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .rv-page aside { position: sticky; top: calc(var(--hdr-h) + 16px); }

  .cat-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
  .btn-filter { display: none; }
  .filters { position: sticky; top: calc(var(--hdr-h) + 16px); max-height: calc(100vh - var(--hdr-h) - 32px); transform: none; visibility: visible; border-radius: 18px; box-shadow: var(--shadow); z-index: 1; transition: none; }
  .filters-head { display: none; }
  .filters-body { padding: 0 18px 8px; }
  .filters-foot { padding: 12px 18px; border-radius: 0 0 18px 18px; }
  .filters-backdrop { display: none !important; }
  .grid-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: calc(25% - 9px); }

  .vp { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "title side" "gallery side" "content side"; column-gap: 32px; row-gap: 20px; align-items: start; }
  .vp-side { position: sticky; top: calc(var(--hdr-h) + 16px); }
  .buybox { padding: 24px; }
  .bb-main { font-size: 36px; }
  .gal-thumbs button { flex-basis: 96px; height: 72px; }
  .vp-tabs { margin: 0 0 8px; padding: 10px 0; }
  .mbar { display: none; }
  .page-vehicle .ftr { padding-bottom: 24px; }
  .lb-nav { display: grid; }
}

@media (min-width: 1240px) {
  .grid-cat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid:not(.grid-cat) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hdr-phone { display: inline-flex; margin-right: 4px; }
}

@media (hover: hover) {
  .card:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
