/* =========================================================
   Стройчас — дизайн-система
   Жёлтый сигнальный + графит. Шрифт Onest.
   ========================================================= */

:root {
  --y: #FFD100;
  --y-600: #F5C400;
  --y-700: #E0B000;
  --y-100: #FFF6CC;
  --y-50: #FFFBEA;
  --ink: #121417;
  --ink-2: #2A2E35;
  --ink-3: #464B55;
  --muted: #6B7180;
  --muted-2: #9AA0AC;
  --line: #E6E8EC;
  --line-2: #EFF0F3;
  --bg: #F3F4F6;
  --card: #FFFFFF;
  --green: #12A150;
  --green-50: #E7F6EE;
  --red: #E5372B;
  --red-50: #FDECEA;
  --blue: #2F6BFF;
  --blue-50: #EAF0FF;
  --violet: #7A5AF8;
  --orange: #F57C00;
  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(18, 20, 23, .05);
  --sh-2: 0 2px 6px rgba(18, 20, 23, .05), 0 10px 24px rgba(18, 20, 23, .06);
  --sh-3: 0 12px 40px rgba(18, 20, 23, .14);
  --container: 1360px;
  --header-h: 76px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font: 400 15px/1.5 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(22px, 2.2vw, 28px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--y); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.i { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page { padding: 20px 0 64px; min-height: 60vh; }
.section { margin-top: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { display: flex; align-items: center; gap: 10px; }
.section-head .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.section-head .more:hover { color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.grow { flex: 1; }
.card { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.card--flat { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: var(--r); font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: background .15s, transform .1s, box-shadow .15s, color .15s; user-select: none;
  background: var(--line-2); color: var(--ink);
}
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--line); }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--y); color: var(--ink); }
.btn--primary:hover { background: var(--y-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { background: var(--line-2); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--line-2); }
.btn--danger { background: var(--red-50); color: var(--red); }
.btn--danger:hover { background: #FAD7D3; }
.btn--green { background: var(--green); color: #fff; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn--xs { --h: 30px; padding: 0 10px; font-size: 13px; border-radius: var(--r-xs); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--icon { width: var(--h); padding: 0; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--blue); font-weight: 500; }
.link:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > label, .label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; font-size: 15px;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23464B55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: #D3D6DC; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 20, 23, .06); }
.input--sm, .select--sm { height: 38px; border-radius: 10px; font-size: 14px; }
.field-error { color: var(--red); font-size: 13px; margin-top: 4px; }
.has-error .input, .has-error .select { border-color: var(--red); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

.check, .field > label.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.35; padding: 4px 0; margin: 0; font-size: inherit; font-weight: 500; color: inherit; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CDD1D8; flex: none; display: grid; place-items: center;
  transition: background .15s, border-color .15s; background: #fff;
}
.check .box::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .box { background: var(--y); border-color: var(--y); }
.check input:checked + .box::after { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.check .cnt { margin-left: auto; color: var(--muted-2); font-size: 13px; }
.check.consent-check, .field > label.check.consent-check { font-size: 12.5px; font-weight: 400; color: var(--muted); margin: 10px 0 14px; line-height: 1.45; }
.consent-check a { color: var(--ink-3); text-decoration: underline; }
.consent-check .box { margin-top: 1px; }

/* Cookie-баннер */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--ink); color: #D6D9DF; box-shadow: var(--sh-3); font-size: 13.5px; line-height: 1.45; animation: toastIn .3s var(--ease); }
.cookie-bar a { color: var(--y); text-decoration: underline; }
.cookie-bar .actions { display: flex; gap: 8px; flex: none; }
.cookie-bar .btn--ghost { color: #fff; }
.cookie-bar .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 720px) {
  .cookie-bar { flex-direction: column; align-items: stretch; bottom: 72px; left: 8px; right: 8px; padding: 14px 16px; }
  .cookie-bar .actions .btn { flex: 1; }
}
.check--radio .box { border-radius: 50%; }
.check--radio .box::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--ink); transform: none; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 42px; height: 24px; border-radius: 99px; background: #D5D8DE; position: relative; transition: background .15s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(18px); }

.opt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.opt-card { position: relative; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; }
.opt-card .body {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: #fff; transition: border-color .15s, background .15s; height: 100%;
}
.opt-card .body .i { width: 22px; height: 22px; margin-top: 1px; color: var(--ink-3); }
.opt-card b { display: block; font-weight: 600; }
.opt-card small { color: var(--muted); font-size: 13px; }
.opt-card .price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.opt-card input:checked + .body { border-color: var(--ink); background: var(--y-50); }
.opt-card input:disabled + .body { opacity: .5; cursor: not-allowed; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 7px;
  font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--line-2); color: var(--ink-3);
}
.badge .i { width: 13px; height: 13px; }
.badge--yellow { background: var(--y); color: var(--ink); }
.badge--dark { background: var(--ink); color: #fff; }
.badge--red, .badge--sale { background: var(--red); color: #fff; }
.badge--green { background: var(--green-50); color: #0B7A3C; }
.badge--blue { background: var(--blue-50); color: #1F4FD1; }
.badge--violet { background: #F0EBFF; color: #5B3CD6; }
.badge--amber { background: #FFF3D6; color: #9A6200; }
.badge--orange { background: #FFE9D6; color: #B25300; }
.badge--gray { background: var(--line-2); color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .cnt { color: var(--muted-2); font-size: 12px; }
.chip .i { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips--scroll::-webkit-scrollbar { display: none; }

/* ---------- Alerts / flash ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--blue-50); color: #17357F; margin-bottom: 16px; }
.alert .i { margin-top: 1px; }
.alert--success { background: var(--green-50); color: #0B6B37; }
.alert--error { background: var(--red-50); color: #9B1C13; }
.alert--warn { background: var(--y-100); color: #6B5200; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--ink); color: #C9CCD3; font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 24px; height: 36px; }
.topbar a:hover { color: #fff; }
.topbar .city { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
.topbar .city .i { width: 15px; height: 15px; color: var(--y); }
.topbar .promo { display: inline-flex; align-items: center; gap: 6px; color: var(--y); font-weight: 500; }
.topbar .promo .i { width: 14px; height: 14px; }
.topbar nav { display: flex; gap: 20px; margin-left: auto; }
.topbar .phone { color: #fff; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 20, 23, .08); }
.header__main { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 42px; height: 42px; }
.logo__text { font-weight: 800; font-size: 25px; letter-spacing: -.045em; line-height: 1; }
.logo__text span { color: var(--muted); }
.logo__tag { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 3px; }

.catalog-btn { --h: 50px; padding: 0 20px 0 16px; border-radius: 14px; font-weight: 700; }
.catalog-btn .burger { width: 20px; height: 14px; position: relative; }
.catalog-btn .burger span, .catalog-btn .burger::before, .catalog-btn .burger::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease);
}
.catalog-btn .burger::before { top: 0; }
.catalog-btn .burger span { top: 6px; }
.catalog-btn .burger::after { top: 12px; }
.catalog-btn.is-open .burger::before { top: 6px; transform: rotate(45deg); }
.catalog-btn.is-open .burger span { opacity: 0; }
.catalog-btn.is-open .burger::after { top: 6px; transform: rotate(-45deg); }

.search { position: relative; flex: 1; min-width: 0; }
.search form { display: flex; height: 50px; border: 2px solid var(--y); border-radius: 14px; background: #fff; overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 15px; background: transparent; }
.search input:focus { outline: none; }
.search button { width: 56px; background: var(--y); display: grid; place-items: center; }
.search button:hover { background: var(--y-600); }
.search button .i { width: 22px; height: 22px; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto;
}
.suggest__group { padding: 8px 10px 4px; font-size: 12px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.suggest__item:hover, .suggest__item.is-active { background: var(--bg); }
.suggest__item .thumb { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; overflow: hidden; }
.suggest__item .thumb .i { width: 24px; height: 24px; color: rgba(18, 20, 23, .55); }
.suggest__item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.suggest__item .name { flex: 1; font-size: 14px; line-height: 1.3; }
.suggest__item .name mark { background: none; font-weight: 700; color: inherit; }
.suggest__item .price { font-weight: 700; white-space: nowrap; }
.suggest__all { display: block; text-align: center; padding: 10px; font-weight: 600; color: var(--blue); }

.hactions { display: flex; align-items: center; gap: 4px; flex: none; }
.haction {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 64px; height: 56px; padding: 0 8px; border-radius: 14px; font-size: 12px; font-weight: 500; color: var(--ink-3); transition: background .15s, color .15s;
}
.haction:hover { background: var(--bg); color: var(--ink); }
.haction .i { width: 24px; height: 24px; color: var(--ink); }
.haction .cnt {
  position: absolute; top: 4px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.haction .cnt:empty, .haction .cnt[data-count="0"] { display: none; }
.haction--cart { background: var(--ink); color: #fff; min-width: 120px; flex-direction: row; gap: 10px; padding: 0 16px; }
.haction--cart:hover { background: var(--ink-2); color: #fff; }
.haction--cart .i { color: #fff; }
.haction--cart .cnt { top: 6px; left: 30px; border-color: var(--ink); background: var(--y); color: var(--ink); }
.haction--cart .sum { font-size: 14px; font-weight: 700; line-height: 1.1; text-align: left; }
.haction--cart .sum small { display: block; font-size: 11px; font-weight: 500; opacity: .65; }

.catnav { border-top: 1px solid var(--line-2); }
.catnav .container { display: flex; gap: 4px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.catnav .container::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.catnav a:hover { background: var(--bg); color: var(--ink); }
.catnav a.hot { color: var(--red); font-weight: 600; }
.catnav a.hot .i { width: 16px; height: 16px; }
.catnav a.express { background: var(--y-100); color: var(--ink); font-weight: 600; }
.catnav a.express .i { width: 16px; height: 16px; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 24px 48px rgba(18, 20, 23, .12);
  border-top: 1px solid var(--line); z-index: 55; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega .container { display: grid; grid-template-columns: 320px 1fr; min-height: 480px; max-height: calc(100vh - 140px); }
.mega__roots { border-right: 1px solid var(--line-2); padding: 16px 12px 16px 0; overflow: auto; }
.mega__root { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.mega__root .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mega__root .ic .i { width: 22px; height: 22px; }
.mega__root .chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted-2); }
.mega__root:hover, .mega__root.is-active { background: var(--bg); }
.mega__panel { padding: 24px 32px; overflow: auto; display: none; }
.mega__panel.is-active { display: block; }
.mega__panel h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.mega__panel h3 a:hover { text-decoration: underline; }
.mega__subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mega__sub { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.mega__sub:hover { border-color: var(--line); box-shadow: var(--sh-2); }
.mega__sub .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.mega__sub .ic .i { width: 24px; height: 24px; color: rgba(18, 20, 23, .6); }
.mega__sub b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.mega__sub small { color: var(--muted); font-size: 12.5px; }
.mega__promo { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.overlay { position: fixed; inset: 0; background: rgba(18, 20, 23, .4); z-index: 45; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.overlay.is-open { opacity: 1; visibility: visible; }

/* Mobile tabbar */
.tabbar { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; margin-top: 4px; }
.hero__main {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 44px 48px; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
}
.hero__main::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 85% 110%, rgba(255, 209, 0, .35), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px);
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(255, 209, 0, .14); color: var(--y); font-weight: 600; font-size: 13px; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(255, 209, 0, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 209, 0, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 209, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 209, 0, 0); } }
.hero h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; margin: 18px 0 16px; max-width: 640px; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--y); }
.hero__sub { color: #B8BCC6; font-size: 17px; max-width: 520px; margin: 0; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.hero__stat span { color: #9DA2AD; font-size: 13px; }
.hero__truck { position: absolute; right: -18px; bottom: 22px; width: 37%; max-width: 360px; z-index: -1; opacity: .95; pointer-events: none; }
@media (max-width: 1360px) { .hero__truck { display: none; } }
.hero--solo { grid-template-columns: 1fr; }
.hero--solo .hero__truck { display: block; width: 32%; max-width: 420px; right: 24px; }
@media (max-width: 900px) { .hero--solo .hero__truck { display: none; } }
.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.banner {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  border-radius: var(--r-xl); padding: 26px 28px; min-height: 200px; background: var(--y); color: var(--ink); isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.banner:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.banner__label { align-self: flex-start; }
.banner h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 80%; }
.banner p { margin: 6px 0 0; font-size: 14px; opacity: .8; max-width: 75%; }
.banner__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.banner__btn .i { width: 16px; height: 16px; transition: transform .2s; }
.banner:hover .banner__btn .i { transform: translateX(3px); }
.banner__icon { position: absolute; right: -14px; bottom: -14px; width: 150px; height: 150px; opacity: .16; z-index: -1; }
.banner__icon .i { width: 100%; height: 100%; stroke-width: 1.4; }
.banner--dark { background: var(--ink); color: #fff; }
.banner--dark .banner__label { background: var(--y); color: var(--ink); }
.banner--blue { background: #2F6BFF; color: #fff; }
.banner--green { background: #19A35A; color: #fff; }
.banner--red { background: var(--red); color: #fff; }
.banner--light { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.banner--yellow .banner__label { background: var(--ink); color: #fff; }
.banner--blue .banner__label, .banner--green .banner__label, .banner--red .banner__label { background: rgba(255, 255, 255, .2); color: #fff; }
.banner--dark .banner__icon, .banner--blue .banner__icon, .banner--green .banner__icon { opacity: .22; }

/* Features row */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.feature { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-1); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--y-100); display: grid; place-items: center; flex: none; }
.feature .ic .i { width: 24px; height: 24px; }
.feature b { display: block; font-size: 15px; }
.feature span { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1280px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1 / 1.02;
  padding: 16px; border-radius: var(--r-lg); background: var(--c, #EEE); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cat b { font-size: 15px; font-weight: 700; line-height: 1.2; position: relative; z-index: 1; }
.cat small { display: block; font-size: 12px; color: rgba(18, 20, 23, .55); margin-top: 4px; font-weight: 500; }
.cat .i { position: absolute; right: -6px; bottom: -6px; width: 62%; height: auto; aspect-ratio: 1; color: rgba(18, 20, 23, .78); stroke-width: 1.25; transition: transform .3s var(--ease); }
.cat:hover .i { transform: rotate(-6deg) scale(1.06); }
.cat--all { background: var(--ink); color: #fff; }
.cat--all small { color: rgba(255, 255, 255, .6); }
.cat--all .i { color: var(--y); }

/* Разделы на главной */
.roots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.root-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; }
.root-card__head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--c); transition: filter .15s; }
.root-card__head:hover { filter: brightness(.97); }
.root-card__head .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .7); display: grid; place-items: center; flex: none; }
.root-card__head .ic .i { width: 30px; height: 30px; }
.root-card__head b { display: block; font-size: 16px; line-height: 1.2; }
.root-card__head small { color: rgba(18, 20, 23, .6); font-size: 12.5px; }
.root-card ul { list-style: none; padding: 10px 16px 16px; display: grid; gap: 2px; }
.root-card li a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-3); }
.root-card li a:hover { color: var(--ink); text-decoration: underline; }

/* Зоны доставки */
.zone-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.zone-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.zone-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 6px; }
.zone-card b { font-size: 15px; }
.zone-card .eta { color: var(--muted); font-size: 13.5px; }
.zone-card .price { font-size: 20px; font-weight: 800; margin-top: auto; padding-top: 6px; }
.zone-card--free { background: var(--y); }
.zone-card--free .ic { background: rgba(255, 255, 255, .6); }
.zone-card--free .eta { color: var(--ink-3); }

/* Курьер докупит по дороге (корзина, оформление) */
.extra-box { margin-top: 16px; padding: 20px 24px; border-radius: var(--r-xl); background: var(--y-50); border: 1.5px dashed var(--y-700); }
.extra-box h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 6px; }
.extra-box h3 .i { width: 22px; height: 22px; }
.extra-box p { color: var(--ink-3); font-size: 14px; margin: 0 0 12px; }
.extra-box .textarea { background: #fff; }
.extra-box .saved { font-size: 12.5px; color: var(--green); margin-top: 6px; min-height: 18px; }

/* ---------- Product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 60px) / 6)); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: -4px -2px 0; }
.prow::-webkit-scrollbar { display: none; }
.prow > * { scroll-snap-align: start; }
.carousel { position: relative; }
.carousel__nav { position: absolute; top: 34%; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); display: grid; place-items: center; z-index: 2; transition: opacity .2s; }
.carousel__nav--prev { left: -18px; }
.carousel__nav--next { right: -18px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }

.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: 10px 10px 14px;
  transition: box-shadow .2s, transform .2s var(--ease); min-width: 0;
}
.pcard:hover { box-shadow: var(--sh-2); }
.pcard__img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--c, var(--bg)); display: grid; place-items: center; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pcard__img .i { width: 52%; height: 52%; color: rgba(18, 20, 23, .62); stroke-width: 1.15; transition: transform .35s var(--ease); }
.pcard:hover .pcard__img .i { transform: scale(1.06); }
.pcard__img .brand-mark { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(18, 20, 23, .45); }
.pcard__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.pcard__tools { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.tool-btn {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center;
  color: var(--ink-3); transition: color .15s, background .15s, transform .15s; backdrop-filter: blur(4px);
}
.tool-btn .i { width: 18px; height: 18px; }
.tool-btn:hover { color: var(--ink); background: #fff; transform: scale(1.06); }
.tool-btn.is-active { color: var(--red); }
.tool-btn.is-active .i { fill: currentColor; }
.tool-btn[data-compare].is-active { color: var(--blue); }
.tool-btn[data-compare].is-active .i { fill: none; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 4px 0; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.price__now.is-sale { color: var(--red); }
.price__unit { font-size: 13px; color: var(--muted); font-weight: 500; }
.price__old { font-size: 13.5px; color: var(--muted-2); text-decoration: line-through; }
.pcard__name { font-size: 14px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.8em; }
.pcard__name:hover { color: var(--ink); }
.pcard__name::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.pcard__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pcard__meta .rating { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); font-weight: 600; }
.pcard__meta .rating .i { width: 14px; height: 14px; color: #FFB300; fill: #FFB300; }
.pcard__seller { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.pcard__seller .i { width: 14px; height: 14px; color: var(--green); }
.pcard__eta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.pcard__eta .i { width: 14px; height: 14px; color: var(--y-700); fill: var(--y); stroke: var(--ink); stroke-width: 1.5; }
.pcard__buy { margin-top: auto; padding-top: 10px; position: relative; z-index: 1; }
.pcard__buy .btn { width: 100%; }
.pcard.is-out .pcard__img { opacity: .6; }

.qty { display: flex; align-items: center; height: 46px; border-radius: var(--r); background: var(--y); overflow: hidden; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; flex: none; transition: background .15s; }
.qty button:hover { background: var(--y-600); }
.qty button .i { width: 18px; height: 18px; }
.qty input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }
.qty input { text-align: right; padding: 0 5px 0 0; }
.qty .u { flex: 1; font-size: 13px; font-weight: 500; color: var(--ink-3); pointer-events: none; text-align: left; white-space: nowrap; }
.qty--light { background: var(--bg); }
.qty--light button:hover { background: var(--line); }
.qty--sm { height: 38px; border-radius: 10px; }
.qty--sm button { width: 36px; }

.stars { display: inline-flex; gap: 2px; }
.star { width: 15px; height: 15px; background: #E3E5E9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center / contain no-repeat; }
.star--full { background: #FFB300; }
.star--half { background: linear-gradient(90deg, #FFB300 50%, #E3E5E9 50%); }
.stars--lg .star { width: 20px; height: 20px; }

/* ---------- How it works / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.step::before { counter-increment: step; content: counter(step); position: absolute; right: 20px; top: 14px; font-size: 64px; font-weight: 800; color: var(--line-2); line-height: 1; letter-spacing: -.05em; }
.step .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--y); display: grid; place-items: center; margin-bottom: 16px; position: relative; }
.step .ic .i { width: 26px; height: 26px; }
.step h3 { font-size: 17px; margin-bottom: 6px; position: relative; }
.step p { color: var(--muted); font-size: 14px; margin: 0; position: relative; }

/* Fleet */
.fleet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.vehicle { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 6px; }
.vehicle .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 6px; }
.vehicle b { font-size: 15px; }
.vehicle .spec { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.vehicle .spec span { display: inline-flex; align-items: center; gap: 4px; }
.vehicle .spec .i { width: 14px; height: 14px; }
.vehicle .from { margin-top: auto; padding-top: 8px; font-weight: 700; }
.vehicle p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.35; }

/* B2B band */
.band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  border-radius: var(--r-xl); background: var(--y); padding: 44px 48px; isolation: isolate;
}
.band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(18, 20, 23, .06); z-index: -1; }
.band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.band p { font-size: 16px; margin: 12px 0 0; max-width: 520px; color: var(--ink-2); }
.band ul { list-style: none; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: center; font-weight: 600; background: rgba(255, 255, 255, .55); padding: 12px 16px; border-radius: 14px; }
.band li .i { width: 20px; height: 20px; }
.band--dark { background: var(--ink); color: #fff; }
.band--dark p { color: #B8BCC6; }
.band--dark li { background: rgba(255, 255, 255, .06); }
.band--dark li .i { color: var(--y); }
.band--dark::after { border-color: rgba(255, 209, 0, .1); }

/* Calculators teaser */
.calc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calc-tile { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s var(--ease); }
.calc-tile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.calc-tile .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--bg)); }
.calc-tile .ic .i { width: 28px; height: 28px; }
.calc-tile b { font-size: 16px; }
.calc-tile span { color: var(--muted); font-size: 13.5px; }

/* Sellers */
.sellers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.seller-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .2s; }
.seller-card:hover { box-shadow: var(--sh-2); }
.seller-card .ava { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.seller-card .ava--own { background: var(--y); color: var(--ink); }
.seller-card b { display: flex; align-items: center; gap: 6px; }
.seller-card b .i { width: 16px; height: 16px; color: var(--green); }
.seller-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.4; }

/* SEO block */
.seo { background: #fff; border-radius: var(--r-xl); padding: 32px 40px; color: var(--ink-3); font-size: 14.5px; line-height: 1.65; }
.seo h2 { color: var(--ink); margin-bottom: 14px; font-size: 22px; }
.seo p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; color: var(--muted-2); }
.page-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-title .cnt { color: var(--muted-2); font-size: 16px; font-weight: 500; }

/* ---------- Catalog ---------- */
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 24px; }
.subcat { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); transition: box-shadow .2s; }
.subcat:hover { box-shadow: var(--sh-2); }
.subcat .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--c); }
.subcat .ic .i { width: 26px; height: 26px; color: rgba(18, 20, 23, .62); }
.subcat b { font-size: 14px; font-weight: 600; line-height: 1.25; display: block; }
.subcat small { color: var(--muted); font-size: 12.5px; }

.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); background: #fff; border-radius: var(--r-lg); padding: 8px 20px 20px; box-shadow: var(--sh-1); max-height: calc(100vh - var(--header-h) - 80px); overflow: auto; scrollbar-width: thin; }
.filters__head { display: none; }
.fgroup { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup__title { display: flex; justify-content: space-between; align-items: center; width: 100%; font-weight: 700; font-size: 15px; padding: 2px 0; }
.fgroup__title .i { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.fgroup.is-collapsed .fgroup__title .i { transform: rotate(-90deg); }
.fgroup.is-collapsed .fgroup__body { display: none; }
.fgroup__body { padding-top: 10px; }
.fgroup__list { max-height: 228px; overflow: auto; scrollbar-width: thin; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range .input { height: 40px; font-size: 14px; border-radius: 10px; }
.filters .actions { display: grid; gap: 8px; margin-top: 16px; }
.toggles { display: grid; gap: 10px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .sort { display: flex; gap: 4px; flex-wrap: wrap; }
.toolbar .sort a { height: 34px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.toolbar .sort a:hover { background: #fff; }
.toolbar .sort a.is-active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.toolbar .filter-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13px; }
.active-filters a .i { width: 14px; height: 14px; }
.active-filters a.reset { background: transparent; color: var(--ink-3); text-decoration: underline; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; background: #fff; }
.pagination a:hover { background: var(--line); }
.pagination .is-active { background: var(--ink); color: #fff; }
.pagination .gap { background: transparent; }

.empty { text-align: center; padding: 64px 24px; background: #fff; border-radius: var(--r-xl); }
.empty .ic { width: 88px; height: 88px; border-radius: 50%; background: var(--y-100); display: grid; place-items: center; margin: 0 auto 18px; }
.empty .ic .i { width: 40px; height: 40px; }
.empty h2 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) 360px; gap: 24px; align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; position: sticky; top: calc(var(--header-h) + 60px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery__thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--c, #fff); border: 2px solid transparent; display: grid; place-items: center; }
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb .i { width: 60%; height: 60%; color: rgba(18, 20, 23, .6); }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden; background: var(--c, #fff); display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main > .i { width: 56%; height: 56%; color: rgba(18, 20, 23, .62); stroke-width: 1.05; }
.gallery__main .pcard__badges { left: 16px; top: 16px; }
.gallery--single { grid-template-columns: 1fr; }

.pinfo h1 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 12px; }
.pinfo__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.pinfo__meta a { color: var(--ink-3); }
.pinfo__meta a:hover { color: var(--ink); text-decoration: underline; }
.pinfo__meta .rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.pinfo__meta button { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); }
.pinfo__meta button .i { width: 17px; height: 17px; }
.pinfo__meta button.is-active { color: var(--red); }
.pinfo__meta button.is-active .i { fill: currentColor; }
.pinfo__meta button[data-compare].is-active { color: var(--blue); }
.pinfo__meta button[data-compare].is-active .i { fill: none; }
.specs-short { display: grid; gap: 8px; margin-bottom: 20px; }
.spec-row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.spec-row span { color: var(--muted); white-space: nowrap; }
.spec-row::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted #D3D6DC; transform: translateY(-4px); min-width: 20px; }
.spec-row b { order: 2; font-weight: 500; text-align: right; }
.pinfo .short { color: var(--ink-3); font-size: 14.5px; }

.buybox { position: sticky; top: calc(var(--header-h) + 60px); background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 16px; }
.buybox .price__now { font-size: 34px; letter-spacing: -.035em; }
.buybox .price__old { font-size: 16px; }
.buybox__sale { display: flex; gap: 8px; align-items: center; }
.buybox__stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.buybox__stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.buybox__stock.is-low .dot { background: var(--orange); }
.buybox__stock.is-out .dot { background: var(--red); }
.buybox__row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.buybox__total { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.buybox__total b { color: var(--ink); }
.delivery-info { display: grid; gap: 2px; border-radius: var(--r); background: var(--bg); padding: 4px; }
.delivery-info > div { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; }
.delivery-info .i { width: 22px; height: 22px; flex: none; }
.delivery-info b { display: block; font-size: 14px; }
.delivery-info span { font-size: 12.5px; color: var(--muted); }
.delivery-info .express .i { color: var(--ink); fill: var(--y); }
.seller-box { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-2); }
.seller-box .ava { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--y); font-weight: 800; display: grid; place-items: center; flex: none; }
.seller-box .ava--own { background: var(--y); color: var(--ink); }
.seller-box b { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.seller-box b .i { width: 16px; height: 16px; color: var(--green); }
.seller-box small { color: var(--muted); font-size: 12.5px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { position: relative; height: 48px; padding: 0 16px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--ink); }
.tabs .is-active { color: var(--ink); }
.tabs .is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--y); }
.tabs sup { font-size: 12px; color: var(--muted-2); margin-left: 2px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.prose { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.prose h2 { margin: 32px 0 14px; }
.prose h3 { margin: 24px 0 10px; }
.prose a { color: var(--blue); }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.specs { width: 100%; max-width: 820px; border-collapse: collapse; }
.specs td { padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 45%; padding-right: 16px; }

.reviews { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.reviews__sum { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); position: sticky; top: calc(var(--header-h) + 60px); }
.reviews__avg { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.reviews__bars { display: grid; gap: 6px; margin: 18px 0; }
.reviews__bar { display: grid; grid-template-columns: 14px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.reviews__bar .track { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.reviews__bar .track i { display: block; height: 100%; background: #FFB300; border-radius: 3px; }
.review { background: #fff; border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--sh-1); margin-bottom: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--y-100); display: grid; place-items: center; font-weight: 700; }
.review__head small { color: var(--muted); display: block; font-size: 12.5px; }
.review dl { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.review dt { font-weight: 600; font-size: 13px; color: var(--muted); }
.review dd { margin: 0; }
.review-form { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); margin-bottom: 16px; }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-input input { display: none; }
.rate-input label { width: 32px; height: 32px; cursor: pointer; background: #E3E5E9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background .1s; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { background: #FFB300; }

/* Mobile sticky buy bar */
.buybar { display: none; }

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.cart__list { background: #fff; border-radius: var(--r-xl); padding: 8px 24px; box-shadow: var(--sh-1); }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px 130px 36px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cline:last-child { border-bottom: 0; }
.cline__img { width: 96px; height: 96px; border-radius: 14px; background: var(--c, var(--bg)); display: grid; place-items: center; overflow: hidden; }
.cline__img img { width: 100%; height: 100%; object-fit: contain; }
.cline__img .i { width: 56%; height: 56%; color: rgba(18, 20, 23, .6); }
.cline__name { font-weight: 500; line-height: 1.35; display: block; margin-bottom: 6px; }
.cline__name:hover { color: var(--blue); }
.cline__meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.cline__sum { text-align: right; }
.cline__sum b { font-size: 18px; font-weight: 800; display: block; }
.cline__sum small { color: var(--muted); font-size: 12.5px; }
.cline__del { color: var(--muted-2); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.cline__del:hover { background: var(--red-50); color: var(--red); }
.summary { position: sticky; top: calc(var(--header-h) + 60px); background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-2); }
.summary h3 { font-size: 20px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 6px 0; }
.summary__row span { color: var(--muted); }
.summary__row.is-discount b { color: var(--green); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 18px; margin-top: 8px; border-top: 1px solid var(--line-2); }
.summary__total span { font-weight: 600; font-size: 16px; }
.summary__total b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.promo-form { display: flex; gap: 8px; margin: 14px 0; }
.promo-form .input { height: 44px; text-transform: uppercase; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--green-50); color: #0B6B37; font-size: 14px; margin: 14px 0; }
.free-progress { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--y-50); font-size: 13.5px; }
.free-progress .bar { height: 6px; border-radius: 3px; background: var(--y-100); margin-top: 8px; overflow: hidden; }
.free-progress .bar i { display: block; height: 100%; background: var(--y-600); border-radius: 3px; }
.vehicle-hint { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 13.5px; margin-bottom: 14px; }
.vehicle-hint .i { width: 26px; height: 26px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.co-block { background: #fff; border-radius: var(--r-xl); padding: 24px 28px; box-shadow: var(--sh-1); margin-bottom: 16px; }
.co-block__title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-block__title .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; flex: none; }
.co-block__title h2 { font-size: 20px; }
.addr-input { position: relative; }
.addr-input .input { padding-left: 44px; height: 52px; font-size: 15.5px; }
.addr-input > .i { position: absolute; left: 14px; top: 16px; color: var(--muted); }
.map { height: 320px; border-radius: var(--r); overflow: hidden; background: var(--bg); margin-top: 12px; position: relative; }
.map__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.addr-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.addr-status .i { width: 18px; height: 18px; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; min-width: 92px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.day b { display: block; font-size: 14px; }
.day small { color: var(--muted); font-size: 12.5px; }
.day.is-active { border-color: var(--ink); background: var(--y-50); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: block; text-align: center; padding: 11px 8px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.slot input:checked + span { border-color: var(--ink); background: var(--y-50); }
.slot input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.express-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--ink); color: #fff; margin-bottom: 14px; cursor: pointer; }
.express-card .i { width: 28px; height: 28px; color: var(--y); fill: var(--y); }
.express-card b { display: block; }
.express-card small { color: #B8BCC6; }
.express-card .switch { margin-left: auto; }
.express-card .switch input:checked + .track { background: var(--y); }
.express-card .switch input:checked + .track::after { background: var(--ink); }
.express-card.is-disabled { opacity: .6; cursor: not-allowed; }
.co-items { display: grid; gap: 10px; max-height: 260px; overflow: auto; margin-bottom: 14px; scrollbar-width: thin; }
.co-item { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.co-item .thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--c, var(--bg)); display: grid; place-items: center; flex: none; overflow: hidden; }
.co-item .thumb .i { width: 26px; height: 26px; color: rgba(18, 20, 23, .6); }
.co-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-item .nm { flex: 1; line-height: 1.3; color: var(--ink-3); }
.co-item b { white-space: nowrap; }
.delivery-breakdown { background: var(--bg); border-radius: 14px; padding: 12px 14px; margin: 8px 0; font-size: 13.5px; }
.delivery-breakdown .summary__row { padding: 3px 0; font-size: 13.5px; }
.legal { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.legal a { text-decoration: underline; }

/* Success */
.success { max-width: 720px; margin: 24px auto; text-align: center; }
.success__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s var(--ease); }
.success__icon .i { width: 48px; height: 48px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-nav { background: #fff; border-radius: var(--r-xl); padding: 12px; box-shadow: var(--sh-1); position: sticky; top: calc(var(--header-h) + 60px); }
.acc-nav__user { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.acc-nav__user .ava { width: 48px; height: 48px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.acc-nav__user b { display: block; }
.acc-nav__user small { color: var(--muted); }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 12px; font-weight: 500; color: var(--ink-3); text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--bg); color: var(--ink); }
.acc-nav a.is-active { background: var(--y-100); color: var(--ink); font-weight: 600; }
.acc-nav .cnt { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.order-card { display: block; background: #fff; border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--sh-1); margin-bottom: 12px; transition: box-shadow .2s; }
.order-card:hover { box-shadow: var(--sh-2); }
.order-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card__head b { font-size: 17px; }
.order-card__thumbs { display: flex; gap: 8px; margin-top: 14px; }
.order-card__thumbs .thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--c, var(--bg)); display: grid; place-items: center; overflow: hidden; }
.order-card__thumbs .thumb .i { width: 30px; height: 30px; color: rgba(18, 20, 23, .6); }
.order-card__thumbs .more { width: 56px; height: 56px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-weight: 600; color: var(--muted); }
.order-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.order-card__foot b { color: var(--ink); font-size: 17px; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 8px 0 4px; }
.timeline::before { content: ''; position: absolute; left: 16px; right: 16px; top: 15px; height: 3px; background: var(--line); }
.timeline__bar { position: absolute; left: 16px; top: 15px; height: 3px; background: var(--green); transition: width .4s; }
.timeline__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); text-align: center; flex: 1; }
.timeline__step .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; z-index: 1; }
.timeline__step .dot .i { width: 16px; height: 16px; }
.timeline__step.is-done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline__step.is-current .dot { border-color: var(--green); color: var(--green); }
.timeline__step.is-done, .timeline__step.is-current { color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.compare { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 14px; min-width: 220px; }
.compare th { position: sticky; left: 0; background: #fff; color: var(--muted); font-weight: 500; min-width: 180px; z-index: 1; }
.compare tr.is-diff td { background: var(--y-50); }
.compare .pcard { padding: 0; box-shadow: none; }

/* ---------- Calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.calc__result { position: sticky; top: calc(var(--header-h) + 60px); background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 28px; }
.calc__result h3 { font-size: 15px; color: #9DA2AD; font-weight: 500; margin-bottom: 6px; }
.calc__big { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.calc__big small { font-size: 18px; font-weight: 600; color: #B8BCC6; margin-left: 4px; }
.calc__lines { margin: 18px 0; display: grid; gap: 8px; font-size: 14px; }
.calc__lines div { display: flex; justify-content: space-between; gap: 12px; color: #B8BCC6; }
.calc__lines b { color: #fff; white-space: nowrap; }
.calc__product { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.calc__product .select { background-color: #fff; color: var(--ink); }

/* ---------- Static pages ---------- */
.page-hero { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 48px; margin-bottom: 24px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 90% 120%, rgba(255, 209, 0, .3), transparent 60%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; max-width: 760px; }
.page-hero p { color: #B8BCC6; font-size: 17px; max-width: 640px; margin: 14px 0 0; }
.page-hero .hero__cta { margin-top: 24px; }
.page-hero--yellow { background: var(--y); color: var(--ink); }
.page-hero--yellow p { color: var(--ink-2); }
.page-hero--yellow::before { background: repeating-linear-gradient(-45deg, rgba(18, 20, 23, .03) 0 14px, transparent 14px 28px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--y-100); display: grid; place-items: center; margin-bottom: 14px; }
.info-card .ic .i { width: 24px; height: 24px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.table th { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; background: #FAFAFB; }
.table-wrap { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: auto; }
.faq details { background: #fff; border-radius: var(--r); padding: 0 20px; margin-bottom: 8px; box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-3); padding-bottom: 18px; margin: 0; }
.stat-big b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.stat-big span { color: var(--muted); }

/* ---------- Modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(18, 20, 23, .5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-3); transform: translateY(12px) scale(.98); transition: transform .25s var(--ease); max-height: calc(100vh - 32px); overflow: auto; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.modal__close:hover { background: var(--bg); color: var(--ink); }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.modal .lead { color: var(--muted); margin-bottom: 20px; }
.code-inputs { display: flex; gap: 10px; justify-content: center; margin: 8px 0 16px; }
.code-inputs input { width: 56px; height: 64px; text-align: center; font-size: 26px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 14px; }
.code-inputs input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 20, 23, .06); }
.demo-code { background: var(--y-100); border-radius: 12px; padding: 10px 14px; font-size: 14px; text-align: center; margin-bottom: 14px; }
.demo-code b { font-size: 18px; letter-spacing: .2em; }
/* вход звонком от клиента */
.callcheck-offer { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--y-100); font-size: 14px; text-align: center; }
.callcheck-number { font-size: 22px; letter-spacing: .02em; gap: 10px; margin: 6px 0 14px; }
.callcheck-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.spinner-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--y); animation: ccPulse 1s ease-in-out infinite; }
@keyframes ccPulse { 50% { transform: scale(.5); opacity: .5; } }

.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--sh-3); animation: toastIn .3s var(--ease); pointer-events: auto; font-size: 14.5px; }
.toast .i { width: 22px; height: 22px; color: var(--y); }
.toast a { margin-left: auto; color: var(--y); font-weight: 600; white-space: nowrap; }
.toast--error .i { color: #FF8A80; }
.toast.is-hiding { animation: toastOut .25s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #A9AEB8; margin-top: 64px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding: 56px 0 40px; }
.footer .logo__text { color: #fff; }
.footer .logo__text span { color: #6B7180; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__phone { display: block; color: #fff; font-size: 22px; font-weight: 700; margin: 18px 0 4px; letter-spacing: -.02em; }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a { height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 13px; }
.footer__social a:hover { background: rgba(255, 255, 255, .14); }
.footer__social .i { width: 16px; height: 16px; }
.footer__pay { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer__pay span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 12px; color: #D6D9DF; }
.footer__pay .i { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7C8290; }
.footer__bottom a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .roots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 1fr) 340px; }
  .product .pinfo { grid-column: 1 / -1; grid-row: 2; }
  .fleet { grid-template-columns: repeat(3, 1fr); }
  .sellers { grid-template-columns: repeat(3, 1fr); }
  .prow { grid-auto-columns: minmax(210px, calc((100% - 48px) / 5)); }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .calc-tiles { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); max-height: none; border-radius: 0 var(--r-xl) var(--r-xl) 0; z-index: 90;
    transform: translateX(-105%); transition: transform .3s var(--ease); padding-top: 0;
  }
  .filters.is-open { transform: none; box-shadow: var(--sh-3); }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0; z-index: 1; border-bottom: 1px solid var(--line-2); }
  .filters__head b { font-size: 20px; }
  .filters .actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0 4px; }
  .toolbar .filter-btn { display: inline-flex; }
  .cart, .checkout, .calc { grid-template-columns: 1fr; }
  .summary, .calc__result { position: static; }
  .band { grid-template-columns: 1fr; padding: 36px; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__sum { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .haction--cart .sum { display: none; }
  .haction--cart { min-width: 56px; padding: 0 12px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar nav a:not(.phone) { display: none; }
  .topbar .promo { display: none; }
  .header__main { gap: 10px; }
  .hactions .haction:not(.haction--cart):not(.haction--user) { display: none; }
  .logo__tag { display: none; }
  .catalog-btn span.txt { display: none; }
  .catalog-btn { padding: 0 14px; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .buybox { position: static; }
  .account { grid-template-columns: 1fr; }
  .acc-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .acc-nav__user { display: none; }
  .acc-nav a, .acc-nav button { white-space: nowrap; width: auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .mega .container { grid-template-columns: 1fr; }
  .mega__panel { display: none !important; }
  .mega__roots { border: 0; padding-right: 0; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header__main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .haction { min-width: 52px; height: 48px; font-size: 11px; }
  .hero__eyebrow { font-size: 11.5px; height: auto; padding: 6px 10px; }
  .hero__cta { gap: 8px; margin-top: 20px; }
  .hero__cta .btn { --h: 48px; flex: 1 1 auto; font-size: 14.5px; padding: 0 16px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero__stat span { font-size: 11.5px; line-height: 1.3; display: block; }
  .logo img { width: 36px; height: 36px; }
  .logo__text { font-size: 22px; }
  .search { order: 3; flex-basis: 100%; }
  .search form { height: 46px; }
  .catalog-btn { display: none; }
  .hactions { margin-left: auto; }
  .catnav { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 500; color: var(--muted); padding: 4px 0; }
  .tabbar a .i { width: 24px; height: 24px; }
  .tabbar a.is-active { color: var(--ink); }
  .tabbar a.is-active .i { color: var(--ink); }
  .tabbar .cnt { position: absolute; top: 0; left: calc(50% + 4px); min-width: 17px; height: 17px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
  .tabbar .cnt[data-count="0"] { display: none; }
  .hero__main { padding: 28px 22px; min-height: 0; border-radius: var(--r-lg); }
  .hero h1 { font-size: 30px; margin: 14px 0 12px; }
  .hero__sub { font-size: 15px; }
  .hero__truck { display: none; }
  .hero__stats { gap: 20px; margin-top: 24px; }
  .hero__stat b { font-size: 17px; }
  .hero__side { grid-template-columns: 1fr; }
  .banner { min-height: 160px; border-radius: var(--r-lg); padding: 22px; }
  .banner h3 { font-size: 20px; }
  .features { grid-template-columns: 1fr; gap: 8px; }
  .section { margin-top: 36px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .roots { grid-template-columns: 1fr; gap: 8px; }
  .root-card ul { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .extra-box { padding: 16px; border-radius: var(--r-lg); }
  .cat { padding: 12px; border-radius: var(--r); }
  .cat b { font-size: 13px; }
  .cat small { display: none; }
  .pgrid, .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .prow { grid-auto-columns: 46%; gap: 8px; }
  .carousel__nav { display: none; }
  .pcard { padding: 6px 6px 10px; border-radius: var(--r); }
  .pcard__img { border-radius: 10px; }
  .pcard__body { padding: 8px 2px 0; gap: 4px; }
  .price__now { font-size: 17px; }
  .pcard__name { font-size: 13px; }
  .pcard__seller, .pcard__eta { display: none; }
  .qty, .pcard__buy .btn { height: 40px; --h: 40px; }
  .qty button { width: 38px; }
  .steps, .calc-tiles, .fleet { grid-template-columns: 1fr 1fr; gap: 8px; }
  .step { padding: 18px; }
  .sellers { grid-template-columns: 1fr 1fr; }
  .band { padding: 28px 22px; border-radius: var(--r-lg); }
  .seo { padding: 24px 20px; }
  .subcats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .subcat { padding: 8px; }
  .subcat .ic { width: 40px; height: 40px; }
  .toolbar .sort { display: none; }
  .toolbar .sort-select { display: block !important; }
  .cart__list { padding: 4px 16px; border-radius: var(--r-lg); }
  .cline { grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 12px; }
  .cline__img { width: 72px; height: 72px; grid-row: span 2; }
  .cline__qty { grid-column: 2; }
  .cline__sum { grid-column: 2; text-align: left; grid-row: 3; }
  .cline__del { grid-column: 3; grid-row: 1; }
  .co-block { padding: 20px 16px; border-radius: var(--r-lg); }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .buybar {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 55;
    background: #fff; padding: 10px 16px; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18, 20, 23, .06);
  }
  .buybar .price__now { font-size: 20px; }
  .buybar .grow > * { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 22px; border-radius: var(--r-lg); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 40px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .timeline__step span { font-size: 11px; }
  .modal__box { padding: 24px 20px; }
  .code-inputs input { width: 52px; height: 58px; }
  .toasts { bottom: 76px; }
  .reviews__avg { font-size: 40px; }
}
.sort-select { display: none; }
