/* ==========================================================================
   Дрова-Про — единый премиум-стиль сети. Без фреймворков, без CDN.
   Палитра города прилетает инлайн в <head> (--bg, --bg-alt, --sand, --line,
   --ink, --ink-soft, --accent, --deep, --amber, --danger, --ok, --max-a/b).
   ========================================================================== */

/* ---------- Шрифты ---------- */

/* Manrope — вариативный шрифт (OFL), кириллица + латиница */
/* [hidden] всегда прячет элемент — даже если класс задаёт display.
   Без этого правила модалка заявки, оверлей, куки-бар и бейджи корзины
   показывались поверх страницы на всех браузерах. */
[hidden] { display: none !important; }

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Manrope.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: 200 800;
  font-display: swap;
  src: url('fonts/ManropeLatin.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- База ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--sand); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--deep); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.devbar {
  background: var(--amber); color: #231A1C; font-size: 13px; text-align: center;
  padding: 6px 16px;
}
.devbar code { background: rgba(0,0,0,.12); padding: 1px 6px; border-radius: 4px; }

/* ---------- Слои и сетка ---------- */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }

.section { padding: 72px 0; }
.section--tight { padding: 40px 0 64px; }
.section--tight.section--tight { padding: 28px 0 56px; }

.altwrap { background: transparent; }
.altwrap--alt { background: var(--bg-alt); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tar { text-align: right; }
.muted { color: var(--ink-soft); }

/* ---------- Типографика ---------- */

.h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.h2 small { font-size: .55em; font-weight: 700; color: var(--ink-soft); vertical-align: middle; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.sec-head { margin-bottom: 34px; }
.sec-head .kicker { margin-bottom: 10px; }
.sec-head .h2 { max-width: 720px; }
.sec-lead { margin-top: 12px; max-width: 680px; color: var(--ink-soft); font-size: 17px; }
.sec-more { margin-top: 30px; }

.prose { font-size: 17px; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 26px 0 10px; letter-spacing: -.01em; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.prose ol { list-style: decimal; padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose b { font-weight: 700; }
.prose--legal { font-size: 15.5px; color: var(--ink-soft); }
.prose--legal h2 { color: var(--ink); margin-top: 22px; }
.citynote {
  background: var(--sand); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink);
}

/* ---------- Иконки ---------- */

.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; flex: none; }
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 28px; height: 28px; }
.is-fill { fill: currentColor; stroke: none; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn--primary:hover { background: var(--deep); color: #fff; box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--accent) 75%, transparent); }

.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { color: var(--bg); opacity: .9; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); }

.btn--max {
  background: linear-gradient(120deg, var(--max-a), var(--max-b));
  color: #fff; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--max-a) 60%, transparent);
}
.btn--max:hover { color: #fff; filter: brightness(1.06); }
.btn--max img { width: 18px; height: 18px; border-radius: 4px; }

.btn--lg { padding: 17px 30px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; }

.linkbtn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
  padding: 7px 10px; border-radius: 9px; transition: all .18s ease;
}
.linkbtn:hover { background: var(--bg-alt); color: var(--accent); }
.linkbtn[aria-pressed="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ---------- Поля и формы ---------- */

.form .field { display: block; margin-bottom: 16px; }
.field__l { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field__i {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field__i::placeholder { color: color-mix(in srgb, var(--ink-soft) 65%, transparent); }
.field__i:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.field__i--area { min-height: 96px; resize: vertical; }
.field__i:user-invalid { border-color: var(--danger); }
.field--onfill .field__i { border-color: var(--ok); }
.field--onfill .field__l { color: var(--ok); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin: 14px 0; cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check a { color: var(--accent); }
.check--onfill { color: var(--ok); }

.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; opacity: 0; }

.form__t { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.form__note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.form__ps { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.fgroup { margin-bottom: 26px; }
.fgroup__t { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.fslots { border: 0; padding: 0; margin: 0 0 10px; }
.fslots legend { padding: 0 0 8px; }

.quiz__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- Хлебные крошки ---------- */

.crumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Шапка страницы ---------- */

.page-head { padding: 26px 0 8px; text-align: center; }
.page-head--band { background: linear-gradient(180deg, var(--bg-alt), transparent); padding-bottom: 26px; }
.page-head--product { text-align: left; padding-top: 22px; }
.page-h1 {
  font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em; max-width: 900px; margin: 10px auto 0;
}
.page-head--product .page-h1 { margin-left: 0; max-width: 860px; }
.page-lead { max-width: 760px; margin: 16px auto 0; color: var(--ink-soft); font-size: 17px; }
.page-head--product .page-lead { margin-left: 0; }
.page-head .kicker { margin-bottom: 4px; }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.anchor-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--bg); transition: all .18s ease;
}
.anchor-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ---------- Топбар и шапка ---------- */

.topbar { background: var(--ink); color: color-mix(in srgb, var(--bg) 85%, transparent); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__l { font-weight: 500; }
.topbar__r { display: flex; gap: 20px; }
.topbar__r a { color: inherit; opacity: .85; }
.topbar__r a:hover { opacity: 1; color: var(--bg); }

.header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { display: grid; place-items: center; }
.logo__t { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); display: block; line-height: 1.05; }
.logo__sub { font-size: 11.5px; color: var(--ink-soft); display: block; line-height: 1.3; max-width: 190px; }
.logo--foot .logo__t { color: var(--bg); }

.citybtn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 14px; border-radius: 11px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 700; font-size: 14px; color: var(--ink);
  transition: all .18s ease;
}
.citybtn:hover { border-color: var(--accent); color: var(--accent); }
.citybtn .ic-s { transition: transform .2s ease; }
.citybtn[aria-expanded="true"] .ic-s { transform: rotate(180deg); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 11px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: all .18s ease;
}
.nav__link:hover { background: var(--bg-alt); color: var(--accent); }
.nav__link .ic { width: 17px; height: 17px; opacity: .7; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 95;
  width: min(920px, 92vw);
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -25px rgba(20, 12, 10, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mega__in { display: grid; grid-template-columns: 1.25fr .8fr .8fr .95fr; gap: 6px; padding: 22px; }
.mega__col { min-width: 0; }
.mega__col--cta {
  background: var(--ink); border-radius: 14px; padding: 18px; color: var(--bg);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center;
}
.mega__col--cta .kicker { color: var(--amber); }
.mega__col--cta .kicker::before { background: var(--amber); }
.mega__h { font-weight: 800; font-size: 17px; line-height: 1.3; }
.mega__a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 12px; border-radius: 11px; transition: background .16s ease;
}
.mega__a:hover { background: var(--bg-alt); }
.mega__a--sm { padding: 7px 12px; }
.mega__t { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.mega__a:hover .mega__t { color: var(--accent); }
.mega__d { font-size: 12.5px; color: var(--ink-soft); }

.utils { display: flex; align-items: center; gap: 6px; flex: none; }

.head-phone { text-align: right; margin-right: 6px; text-decoration: none; }
.head-phone b { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.head-phone:hover b { color: var(--accent); }
.head-phone__hint { font-size: 11px; color: var(--ink-soft); display: block; }
.head-phone--foot b { color: var(--bg); font-size: 18px; }
.head-phone--foot:hover b { color: var(--amber); }

.iconbtn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg);
  color: var(--ink); transition: all .18s ease;
}
.iconbtn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.iconbtn--s { width: 34px; height: 34px; border-radius: 10px; }
.iconbtn--max { border: 0; background: linear-gradient(120deg, var(--max-a), var(--max-b)); }
.iconbtn--max:hover { filter: brightness(1.08); }
.iconbtn--max img { width: 22px; height: 22px; border-radius: 5px; }
.iconbtn--cart { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.iconbtn--cart:hover { color: var(--amber); }
.iconbtn__badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 999px;
  border: 2px solid var(--bg);
}
.burger { display: none; }

/* ---------- Дроверы (шторки) и оверлей ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s ease;
}
.overlay.is-on { opacity: 1; }

[data-drawer] {
  position: fixed; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column;
  transition: transform .32s cubic-bezier(.32, .72, .28, 1);
  box-shadow: -20px 0 60px -30px rgba(20,12,10,.4);
}
.mdrawer { top: 0; right: 0; bottom: 0; width: min(400px, 92vw); transform: translateX(105%); border-radius: 22px 0 0 22px; }
.mdrawer.is-on { transform: translateX(0); }
.cdrawer { top: 0; left: 0; bottom: 0; width: min(520px, 94vw); transform: translateX(-105%); border-radius: 0 22px 22px 0; }
.cdrawer.is-on { transform: translateX(0); }

.cdrawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line); flex: none;
}
.cdrawer__head .h2 { font-size: 20px; }

/* ── Мобильное меню: премиальная шторка ── */
.mmenu__head {
  align-items: flex-start;
  padding: 15px 16px 13px;
  background:
    radial-gradient(130% 100px at 90% -20%, rgba(209,102,39,.16), transparent 70%),
    linear-gradient(180deg, rgba(24,20,16,.04), transparent);
  border-bottom: 1px solid var(--line);
}
.mmenu__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mmenu__mono {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  background: linear-gradient(140deg, #c25e24, #d16627 55%, #8a3d17);
  color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .4px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 7px 16px -8px rgba(178,85,31,.85);
}
.mmenu__bt { display: grid; gap: 2px; min-width: 0; }
.mmenu__bt b { font-size: 17px; letter-spacing: .2px; }
.mmenu__bt span { font-size: 11.5px; color: var(--ink-soft); }
.mmenu__x { flex: none; width: 40px; height: 40px; }
.mmenu__body {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 14px 13px 26px; flex: 1;
  scrollbar-width: none;
}
.mmenu__body::-webkit-scrollbar { display: none; }

.mmenu__city {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 12px 14px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(209,102,39,.12), rgba(209,102,39,.04));
  border: 1.5px solid rgba(209,102,39,.38); border-radius: 14px;
  color: var(--ink); text-align: left;
  transition: background .16s ease, border-color .16s ease;
}
.mmenu__city .ic:first-child { color: var(--accent); }
.mmenu__city b { font-size: 15px; }
.mmenu__city-note { font-size: 11.5px; color: var(--ink-soft); margin-left: auto; white-space: nowrap; }
.mmenu__city .ic-s { color: var(--ink-soft); }
.mmenu__city:active { background: rgba(209,102,39,.18); }

.mmenu__cta { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 11px; }
.mmenu__call {
  display: flex; align-items: center; gap: 11px; padding: 10px 14px; min-width: 0;
  background: linear-gradient(135deg, var(--accent), #b4551f); color: #fff;
  border-radius: 14px; box-shadow: 0 9px 20px -11px rgba(178,85,31,.95);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mmenu__call:active { transform: scale(.98); box-shadow: 0 4px 12px -8px rgba(178,85,31,.95); }
.mmenu__call .ic { color: #fff; flex: none; }
.mmenu__call span { display: grid; line-height: 1.3; min-width: 0; }
.mmenu__call b { font-size: 16px; letter-spacing: .2px; white-space: nowrap; }
.mmenu__call i { font-style: normal; font-size: 10.5px; opacity: .88; white-space: nowrap; }
.mmenu__max {
  display: grid; place-items: center; gap: 3px; padding: 7px 13px;
  background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 14px;
  color: var(--ink); font-weight: 800; font-size: 11.5px;
  transition: background .16s ease, border-color .16s ease;
}
.mmenu__max img { border-radius: 6px; }
.mmenu__max:active { background: var(--line); }

.mmenu__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.mmenu__chip {
  position: relative; display: grid; justify-items: center; gap: 4px;
  padding: 10px 4px 9px; background: var(--bg-alt);
  border: 1.5px solid var(--line); border-radius: 14px;
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  transition: background .16s ease, border-color .16s ease;
}
.mmenu__chip .ic { color: var(--accent); }
.mmenu__chip:active { background: var(--line); }
.mmenu__chip .iconbtn__badge { top: -7px; right: 8px; border-color: var(--bg); }

.mmenu__label {
  margin: 0 0 8px; padding: 0 4px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-soft);
}
.mnav { display: grid; gap: 3px; margin-bottom: 18px; }
.mnav__a {
  display: flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 7px 10px 7px 8px;
  border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
  transition: background .16s ease, border-color .16s ease;
}
.mnav__a:active { background: var(--bg-alt); }
.mnav__ic {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--bg-alt); border-radius: 11px; color: var(--accent);
  transition: background .16s ease, color .16s ease;
}
.mnav__a em {
  font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--bg-alt); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  margin-left: auto;
}
.mnav__a .mnav__chev { margin-left: auto; color: var(--ink-soft); opacity: .55; }
.mnav__a.is-on {
  background: linear-gradient(90deg, rgba(209,102,39,.13), rgba(209,102,39,.03));
  border-color: rgba(209,102,39,.32); color: var(--ink);
}
.mnav__a.is-on .mnav__ic {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 14px -8px rgba(178,85,31,.9);
}
.mmenu__foot { padding: 11px 20px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mmenu__foot p { margin: 0; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

.cdrawer__body { overflow-y: auto; padding: 18px 20px 24px; flex: 1; }
.cdrawer__search { position: relative; margin-bottom: 16px; }
.cdrawer__search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.cdrawer__search input {
  width: 100%; padding: 13px 16px 13px 44px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-alt);
}
.cdrawer__search input:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.cdrawer__hint { font-size: 13px; color: var(--ink-soft); margin: 14px 0 8px; }
.cdrawer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.ccell {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 13px; border: 1.5px solid var(--line);
  background: var(--bg); text-decoration: none; transition: all .16s ease;
}
.ccell:hover { border-color: var(--accent); transform: translateY(-1px); }
.ccell__img { width: 34px; height: 34px; border-radius: 9px; background: var(--sand); object-fit: cover; flex: none; }
.ccell__t { font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.25; }
.ccell--main { grid-column: 1 / -1; background: var(--ink); border-color: var(--ink); }
.ccell--main .ccell__t { color: var(--bg); }
.ccell__cur { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }
.ccell--main .ccell__cur { color: var(--amber); }
.cdrawer__empty { padding: 26px 4px; text-align: center; color: var(--ink-soft); font-size: 14.5px; }
.cdrawer__group { margin-top: 10px; }

/* ---------- Футер ---------- */

.footer { background: var(--ink); color: color-mix(in srgb, var(--bg) 80%, transparent); margin-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 30px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer__col a { color: inherit; text-decoration: none; }
.footer__col a:hover { color: var(--amber); }
.footer__col .kicker { color: var(--amber); margin-bottom: 8px; }
.footer__col .kicker::before { background: var(--amber); }
.footer__about { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer__mail { font-size: 13.5px; opacity: .8; }
.footer__col--about { gap: 14px; }
.footer__neighbors { padding: 0 24px 22px; }
.footer__nei { font-size: 13.5px; line-height: 2; opacity: .85; margin-top: 10px; }
.footer__nei a { color: inherit; }
.footer__nei a:hover { color: var(--amber); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding: 18px 24px 26px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; opacity: .75;
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--amber); }
.footer__note { max-width: 420px; }

/* ---------- Модалка, тосты, куки ---------- */

.modal {
  position: fixed; inset: 0; z-index: 260;
  display: grid; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal__box {
  position: relative; width: min(460px, 100%);
  background: var(--bg); border-radius: 20px; padding: 30px 28px 26px;
  box-shadow: 0 40px 80px -30px rgba(15, 10, 8, .5);
  animation: modalIn .28s cubic-bezier(.32, .72, .28, 1);
}
.modal__box .kicker { margin-bottom: 6px; }
.modal__h { font-size: 24px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 18px; }
.modal__x { position: absolute; top: 14px; right: 14px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.toast-root {
  position: fixed; z-index: 280; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--ink); color: var(--bg);
  padding: 13px 18px; border-radius: 13px; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(15, 10, 8, .5);
  animation: toastIn .3s cubic-bezier(.32, .72, .28, 1);
}
.toast .ic { color: var(--amber); }
.toast--ok .ic { color: #7BD79A; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: all .25s ease; }

.cookiebar {
  position: fixed; z-index: 140; left: 18px; bottom: 18px;
  width: min(380px, calc(100vw - 36px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  padding: 15px 18px; border-radius: 15px; font-size: 13px;
  box-shadow: 0 22px 44px -20px rgba(15, 10, 8, .5);
  animation: toastIn .3s ease;
}
.cookiebar a { color: var(--amber); }

/* ---------- Стики-бар и наверх ---------- */

.stickybar {
  position: fixed; z-index: 100; left: 50%; transform: translateX(-50%);
  bottom: 14px; display: none; gap: 4px;
  background: var(--ink); border-radius: 16px; padding: 6px;
  box-shadow: 0 20px 44px -18px rgba(15, 10, 8, .55);
}
.stickybar__b {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 74px; padding: 8px 12px; border-radius: 12px;
  color: var(--bg); font-size: 11px; font-weight: 700; text-decoration: none;
}
.stickybar__b .ic { width: 20px; height: 20px; color: var(--amber); }
.stickybar__b:hover { background: rgba(255, 255, 255, .08); color: var(--bg); }
.stickybar__b .iconbtn__badge { border-color: var(--ink); }

.totop {
  position: fixed; z-index: 100; right: 18px; bottom: 18px;
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--line); color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(15, 10, 8, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Герой ---------- */

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); }
.hero__slider { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) brightness(.6); transform: scale(1.06); }
.hero__slide.is-on img { animation: heroZoom 7.5s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 55%, color-mix(in srgb, var(--ink) 25%, transparent) 100%),
    linear-gradient(0deg, var(--ink) -10%, transparent 45%);
}
.hero__embers { position: absolute; inset: 0; pointer-events: none; }
.hero__embers i {
  position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 999px;
  background: var(--amber); opacity: 0;
  animation: ember linear infinite;
}
@keyframes ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  8% { opacity: .85; }
  60% { opacity: .5; }
  100% { transform: translate(var(--dx), -92vh) scale(.35); opacity: 0; }
}

.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 84px 24px 96px; }
.hero__text { max-width: 640px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--bg);
}
.hero__chip img { width: 18px; height: 18px; border-radius: 4px; }
.hero__h {
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; line-height: 1.08;
  letter-spacing: -.025em; margin: 18px 0 0; color: #fff;
}
.hero__lead { margin-top: 16px; font-size: clamp(15.5px, 1.5vw, 18.5px); color: color-mix(in srgb, var(--bg) 85%, transparent); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__metrics { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.hero__metrics div b { display: block; font-size: 21px; font-weight: 800; color: var(--amber); }
.hero__metrics div span { font-size: 12.5px; color: color-mix(in srgb, var(--bg) 70%, transparent); }

.hero__card {
  position: relative; z-index: 2;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  color: var(--ink); border-radius: 20px; padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.hero__crest { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hero__crest img { width: 42px; height: 42px; }
.hero__h-small { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink-soft); }
.hero__dots { display: flex; align-items: center; gap: 7px; margin: 14px 0 6px; }
.hero__dot { width: 26px; height: 4px; border-radius: 999px; background: var(--line); transition: background .25s ease, width .25s ease; }
.hero__dot.is-on { background: var(--accent); width: 38px; }
.hero__nav {
  width: 36px; height: 36px; border-radius: 11px; margin-left: auto;
  border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-soft);
  transition: all .18s ease; background: var(--bg);
}
.hero__nav:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.hero .price--xl { font-size: 34px; }

/* ---------- Секции главной ---------- */

.promos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promo {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 22px; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.promo:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(20, 12, 10, .28); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.promo__ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); color: var(--accent);
}
.promo__ic .ic { width: 24px; height: 24px; }
.promo__t { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.promo__d { font-size: 14px; color: var(--ink-soft); flex: 1; }
.promo__a { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.promo__a .ic { transition: transform .2s ease; }
.promo:hover .promo__a .ic { transform: translateX(3px); }

.tasks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.task {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; transition: all .22s ease;
}
.task:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -22px rgba(20, 12, 10, .26); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.task__img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.task__t { font-size: 17px; font-weight: 800; }
.task__d { font-size: 14px; color: var(--ink-soft); margin: 5px 0 10px; }
.task__p { font-weight: 800; color: var(--accent); font-size: 15px; }

/* ---------- Квиз ---------- */

.quiz__card {
  background: var(--ink); color: var(--bg); border-radius: 24px;
  padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden;
}
.quiz__card::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--amber) 25%, transparent), transparent 70%);
  border-radius: 999px; pointer-events: none;
}
.quiz__head { position: relative; z-index: 2; max-width: 640px; }
.quiz__head .kicker { color: var(--amber); }
.quiz__head .kicker::before { background: var(--amber); }
.quiz__h { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #fff; letter-spacing: -.02em; margin-top: 8px; }
.quiz__lead { margin-top: 10px; color: color-mix(in srgb, var(--bg) 80%, transparent); font-size: 16px; }
.quiz__prog { position: relative; z-index: 2; display: flex; gap: 8px; margin: 26px 0 18px; padding: 0; list-style: none; counter-reset: qstep; }
.quiz__prog li { flex: 1; min-width: 0; }
.quiz__prog li i { display: block; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .25s ease; }
.quiz__prog li.is-on i { background: var(--amber); }
.quiz__prog li b { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); transition: color .25s ease; }
.quiz__prog li.is-on b { color: #fff; }
.quiz__body { position: relative; z-index: 2; }
.quiz__step { display: none; }
.quiz__step.is-on { display: block; animation: qStep .3s ease; }
@keyframes qStep { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz__opts--sm { grid-template-columns: repeat(4, 1fr); }
.qopt {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 15px 16px; color: var(--bg); text-align: left;
  font-weight: 700; font-size: 15px; transition: all .18s ease; cursor: pointer;
}
.qopt img { width: 100%; height: 92px; object-fit: cover; border-radius: 9px; margin-bottom: 4px; }
.qopt small { font-weight: 500; font-size: 12.5px; opacity: .75; }
.qopt:hover { border-color: var(--amber); background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.qopt.is-on { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 18%, transparent); }
.qopt--chip { flex-direction: row; align-items: center; }
.quiz__range { width: 100%; margin: 18px 0 8px; accent-color: var(--amber); height: 28px; }
.quiz__vol { font-size: 26px; font-weight: 800; color: var(--amber); }
.quiz__nav { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.quiz__card .btn--ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 32%, transparent); }
.quiz__card .btn--ghost:hover { color: #fff; border-color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.quiz__nav--mid { justify-content: space-between; }
.quiz__sum { margin: 8px 0 0; font-size: 14.5px; color: color-mix(in srgb, var(--bg) 80%, transparent); }
.quiz__ok { text-align: center; max-width: 520px; margin: 0 auto; }
.quiz__ok .ic { width: 54px; height: 54px; color: var(--amber); margin: 0 auto 14px; }

/* ---------- Шоукас / карточки товаров ---------- */

.p-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
/* Страница товара: галерея + карточка покупки — две колонки */
.product-sec .p-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 22px; }
.p-grid > *, .tasks__grid > *, .conds__grid > *, .promos__grid > *, .gallery, .buybox { min-width: 0; }
.task > *, .notes li { min-width: 0; }
.notes li { align-items: baseline; }

.pcard {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -28px rgba(20, 12, 10, .32); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pcard__media { position: relative; }
.pcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--bg);
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.pcard__badge--hit { background: var(--amber); color: var(--ink); }
.pcard__badge--disc { background: var(--danger); color: #fff; }
.pcard__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px); color: var(--ink);
  transition: all .18s ease;
}
.pcard__fav:hover { color: var(--danger); transform: scale(1.06); }
.pcard__fav[aria-pressed="true"] { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--bg)); }
.pcard__qview {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 11px; border-radius: 11px;
  background: color-mix(in srgb, var(--ink) 90%, transparent); color: var(--bg);
  font-weight: 700; font-size: 13.5px; text-align: center;
  opacity: 0; transform: translateY(8px); transition: all .22s ease;
}
.pcard:hover .pcard__qview, .pcard__qview:focus-visible { opacity: 1; transform: none; }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.pcard__t { font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.pcard__t a { color: var(--ink); }
.pcard__t a:hover { color: var(--accent); }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__specs span {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
}
.pcard__meter { display: flex; align-items: center; gap: 10px; }
.pcard__meter-t { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.meter { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--accent)); transition: width 1.2s cubic-bezier(.22, .68, .32, 1); }
.meter--xs { max-width: 90px; flex: none; }
.pcard__avail { font-size: 12.5px; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.pcard__avail .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.dot--ok { background: var(--ok); }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pcard__price { display: flex; flex-direction: column; line-height: 1.15; }
.price { font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.price--xl { font-size: 30px; font-weight: 800; }
.price-old { color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.pcard__unit { font-size: 12.5px; color: var(--ink-soft); }
.pcard__buy { display: flex; gap: 7px; align-items: center; }

/* ---------- Рейтинг и сравнение ---------- */

.rating__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.rating__meters { display: grid; gap: 14px; }
.rm { display: grid; grid-template-columns: 130px 1fr 74px; gap: 14px; align-items: center; font-size: 14.5px; }
.rm__l { font-weight: 700; }
.rating__rows .pcard__price b { font-size: 15px; font-weight: 800; }

/* ---------- Условия / качество / цены ---------- */

.conds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cond {
  display: flex; gap: 15px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--bg);
  transition: all .2s ease;
}
.cond:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-2px); }
.cond__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--accent); display: grid; place-items: center; flex: none; }
.cond__t { font-weight: 800; font-size: 16.5px; margin-bottom: 4px; }
.cond__d { font-size: 14px; color: var(--ink-soft); }

.quality__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: q; }
.qstep { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; transition: all .2s ease; }
.qstep:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(20, 12, 10, .26); }
.qstep__n { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.qstep__img { border-radius: 12px; margin: 14px 0; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.qstep__t { font-weight: 800; font-size: 16.5px; margin: 8px 0 6px; }
.qstep__d { font-size: 14px; color: var(--ink-soft); }

.sprice__table { width: 100%; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); background: var(--bg-alt); font-weight: 800; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 700; }
.table--cmp tbody td { vertical-align: top; }
.table--cmp .pcard__t { font-size: 15px; }

/* ---------- Доставка ---------- */

.hdel__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hdel__img { border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(20, 12, 10, .4); }
.hdel__list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 15.5px; }
.hdel__list .ic { color: var(--ok); margin-top: 3px; }
.hdel__nei { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: st; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; }
.step__n { font-size: 13px; font-weight: 800; color: var(--accent); }
.step__t { font-weight: 800; font-size: 16px; margin: 8px 0 6px; }
.step__d { font-size: 13.5px; color: var(--ink-soft); }

.zones { margin-top: 44px; }
.zones__note { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Фичи / работы / истории / отзывы ---------- */

.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: all .2s ease; }
.feat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.feat__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--sand); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feat__t { font-weight: 800; font-size: 16px; margin-bottom: 5px; }
.feat__d { font-size: 13.5px; color: var(--ink-soft); }

.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wcard { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: all .22s ease; }
.wcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(20, 12, 10, .3); }
.wcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wcard__meta { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px 0; }
.wcard__t { font-weight: 800; font-size: 16px; padding: 4px 18px 0; }
.wcard__d { font-size: 13px; color: var(--ink-soft); padding: 6px 18px 16px; }

.stories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; position: relative; }
.story::before { content: '«'; position: absolute; top: 6px; right: 18px; font-size: 54px; font-weight: 800; color: var(--sand); line-height: 1; }
.story__t { font-size: 14.5px; color: var(--ink); }
.stories__revs { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.revcard { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.revcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.revcard__name { font-weight: 800; font-size: 14.5px; }
.revcard__stars { display: inline-flex; gap: 2px; color: var(--amber); }
.revcard__text { font-size: 14.5px; color: var(--ink); flex: 1; }
.revcard__meta { font-size: 12.5px; color: var(--ink-soft); }
.revcard--big { padding: 26px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq__item { background: var(--bg); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: border-color .2s ease; }
.faq__item:has(.faq__btn[aria-expanded="true"]) { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 17px 20px; text-align: left;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq__btn:hover { color: var(--accent); }
.faq__btn .ic { color: var(--ink-soft); transition: transform .25s ease; }
.faq__btn[aria-expanded="true"] .ic { transform: rotate(180deg); color: var(--accent); }
.faq__a { padding: 0 20px; }
.faq__a-in { padding: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- SEO и финал ---------- */

.seo__in { max-width: 900px; margin: 0 auto; columns: 2; column-gap: 44px; font-size: 14.5px; color: var(--ink-soft); }
.seo__in p { margin-bottom: 13px; break-inside: avoid; }
.seo__h { column-span: all; font-size: 22px; margin-bottom: 16px; }

.final { position: relative; background: var(--ink); color: var(--bg); overflow: hidden; }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; filter: saturate(.85); }
.final__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, color-mix(in srgb, var(--ink) 55%, transparent)); }
.final__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: 84px 24px; }
.final__text .kicker { color: var(--amber); }
.final__text .kicker::before { background: var(--amber); }
.final__h { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.12; margin-top: 10px; }
.final__lead { margin-top: 14px; color: color-mix(in srgb, var(--bg) 82%, transparent); font-size: 16.5px; max-width: 480px; }
.final__ticks { margin-top: 24px; display: grid; gap: 10px; }
.final__ticks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.final__ticks .ic { color: var(--amber); }
.final__form { background: var(--bg); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.final__form-t { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.final__form .form__note { text-align: left; }

/* ---------- Каталог ---------- */

.catalog__bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 26px 0 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips__l { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; align-self: center; margin-right: 2px; }
.chip {
  padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.catalog__bar-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.sortbox select {
  padding: 10px 14px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg); font-weight: 700; font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.catalog__count { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }

.catalog__empty {
  text-align: center; padding: 60px 20px; color: var(--ink-soft);
  border: 1.5px dashed var(--line); border-radius: 18px;
}

/* Дровник-конфигуратор */
.woodshed {
  margin-top: 56px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(20px, 3.5vw, 38px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 4vw, 54px); align-items: center;
}
.woodshed__h { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.015em; }
.woodshed__lead { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.woodshed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.woodshed__f label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.woodshed__f input {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 700;
}
.woodshed__f input:focus { outline: none; border-color: var(--accent); }
.woodshed__vis { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.woodshed__out { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.woodshed__out b { color: var(--ink); font-size: 18px; }
.woodshed__note { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Карточка товара ---------- */

.gallery { position: relative; }
.gallery__main { border-radius: 20px; overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--bg); font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; padding: 7px 12px; border-radius: 999px;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gallery__th { border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; transition: border-color .18s ease; }
.gallery__th img { aspect-ratio: 4/3; object-fit: cover; }
.gallery__th:hover, .gallery__th.is-on { border-color: var(--accent); }

.buybox { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.buybox__rate { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.buybox__rate .revcard__stars { color: var(--amber); }
.buybox h1 { font-size: clamp(23px, 2.6vw, 32px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin: 8px 0 10px; }
.buybox__avail { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ok); font-weight: 700; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; flex-wrap: wrap; }
.buybox__disc { font-size: 13px; font-weight: 800; color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); padding: 4px 10px; border-radius: 999px; }
.buybox__sub { font-size: 13px; color: var(--ink-soft); }
.buybox__qtyrow { display: flex; gap: 12px; align-items: center; margin: 20px 0 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty__b { width: 44px; height: 46px; display: grid; place-items: center; color: var(--ink-soft); transition: all .15s ease; }
.qty__b:hover { background: var(--bg-alt); color: var(--accent); }
.qty__i { width: 74px; text-align: center; border: 0; font-weight: 800; font-size: 16px; background: transparent; }
.qty__i:focus { outline: none; }
.buybox__unit { font-size: 13.5px; color: var(--ink-soft); }
.buybox__sum { font-size: 15px; color: var(--ink-soft); }
.buybox__sum b { font-size: 22px; color: var(--ink); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.slots .chip { font-size: 12.5px; padding: 8px 13px; }
.buybox__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buybox .linkbtns { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.guarantees { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 9px; }
.guarantees li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.guarantees .ic { color: var(--ok); margin-top: 2px; }

.tabs { margin-top: 54px; }
.tabs__list { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
  padding: 13px 20px; font-weight: 700; font-size: 15px; color: var(--ink-soft);
  border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap;
  transition: all .18s ease;
}
.tabs__list button:hover { color: var(--accent); }
.tabs__list button.is-on { color: var(--accent); border-bottom-color: var(--accent); }
.tabs__p { padding: 26px 2px 0; }
.tabs__p.is-on { animation: qStep .3s ease; }

.pfaq { margin-top: 56px; }
.pfaq .faq { margin: 0; }

.related { margin-top: 60px; }
.related .p-grid { margin-top: 26px; }

.buyfloat {
  position: fixed; z-index: 110; left: 0; right: 0; bottom: 0;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(105%); transition: transform .3s cubic-bezier(.32, .72, .28, 1);
}
.buyfloat.is-on { transform: none; }
.buyfloat__in { display: flex; align-items: center; gap: 18px; padding: 12px 24px; }
.buyfloat__t { font-weight: 800; font-size: 15px; }
.buyfloat__p { margin-left: auto; text-align: right; line-height: 1.2; }
.buyfloat__p .price { font-size: 22px; }

/* ---------- Услуги ---------- */

.svcblock { margin-bottom: 54px; scroll-margin-top: 110px; }
.svcblock__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.svcblock__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--sand); color: var(--accent); display: grid; place-items: center; }
.svcblock__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scard {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; text-decoration: none; color: var(--ink);
  transition: all .2s ease;
}
.scard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 20px 40px -22px rgba(20, 12, 10, .28); }
.scard__cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.scard__t { font-weight: 800; font-size: 15px; line-height: 1.35; }
.scard:hover .scard__t { color: var(--accent); }
.scard__p { font-weight: 800; font-size: 14.5px; color: var(--accent); }
.scard__p.muted { color: var(--ink-soft); font-weight: 600; font-size: 13px; }
.scard__sh { font-size: 12.5px; color: var(--ink-soft); flex: 1; }
.scard__a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--accent); }
.scard__a .ic { transition: transform .2s ease; }
.scard:hover .scard__a .ic { transform: translateX(3px); }

.s-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin-top: 10px; }
.s-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.s-buybox { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-align: center; }
.s-buybox__l { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.s-buybox__p { margin: 10px 0 18px; }
.s-buybox__p b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.s-buybox__p span { font-size: 13.5px; color: var(--ink-soft); }
.s-buybox__n { margin-top: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.s-buybox .btn { margin-bottom: 9px; }
.s-side__links { background: var(--bg-alt); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; }
.s-side__links a { font-size: 14px; font-weight: 600; color: var(--ink); }
.s-side__links a:hover { color: var(--accent); }

/* ---------- Страничные блоки ---------- */

.leadbox {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
}
.leadbox__text .h2 { margin-bottom: 10px; }
.leadbox__text p { color: var(--ink-soft); font-size: 15.5px; }

.notes { margin: 22px auto 0; max-width: 860px; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.notes li { display: flex; gap: 9px; }
.notes li::before { content: '—'; color: var(--accent); font-weight: 800; }

.akcii__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.akcard {
  position: relative; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.akcard::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--sand), transparent 70%); border-radius: 999px;
}
.akcard__ic { position: relative; width: 52px; height: 52px; border-radius: 15px; background: var(--sand); color: var(--accent); display: grid; place-items: center; }
.akcard__t { position: relative; font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.akcard__d { position: relative; font-size: 15px; color: var(--ink-soft); }
.akcard__fine { position: relative; font-size: 12.5px; color: var(--ink-soft); background: var(--bg-alt); border-radius: 9px; padding: 8px 12px; }
.akcard__cta { position: relative; display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.akcii__ps { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--ink-soft); }

.about__story { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.about__img img { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(20, 12, 10, .4); }
.about__counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.counter { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; text-align: center; }
.counter b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.counter span { font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 8px; }
.about__principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.principle { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.principle__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--sand); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.principle__t { font-weight: 800; font-size: 16.5px; margin-bottom: 6px; }
.principle__d { font-size: 13.5px; color: var(--ink-soft); }
.req { margin-top: 56px; }
.req__short { margin-top: 20px; background: var(--bg-alt); border-radius: 16px; padding: 18px 22px; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 6px; }

.contacts__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.contacts__cards { display: grid; gap: 12px; }
.ccard2 {
  display: flex; gap: 15px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 17px;
  padding: 19px 22px; text-decoration: none; color: var(--ink);
  transition: all .2s ease;
}
.ccard2:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ccard2--static:hover { transform: none; }
.ccard2__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--sand); color: var(--accent); display: grid; place-items: center; flex: none; }
.ccard2--max .ccard2__ic { background: linear-gradient(120deg, var(--max-a), var(--max-b)); }
.ccard2__t b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.ccard2__t small { font-size: 13px; color: var(--ink-soft); }
.contacts__form { position: sticky; top: 100px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

.citycard {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 20px; text-decoration: none; color: var(--ink); margin-bottom: 10px;
  transition: all .2s ease;
}
.citycard:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.citycard__crest img { width: 44px; height: 44px; border-radius: 11px; background: var(--sand); object-fit: cover; }
.citycard__n { display: block; font-weight: 800; font-size: 16.5px; }
.citycard:hover .citycard__n { color: var(--accent); }
.citycard__d { display: block; font-size: 13px; color: var(--ink-soft); }
.citycard__a { color: var(--ink-soft); margin-left: auto; }
.cities__note { margin-top: 44px; }

.opt__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; }
.tier--hit { border-color: var(--accent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.tier--hit::before {
  content: 'Популярно'; position: absolute; top: -13px; left: 26px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; padding: 6px 13px; border-radius: 999px;
}
.tier__vol { font-size: 13px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.tier__t { font-size: 23px; font-weight: 800; margin: 8px 0 14px; }
.tier__list { display: grid; gap: 10px; margin-bottom: 20px; flex: 1; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.tier__list .ic { color: var(--ok); margin-top: 3px; }
.tier__p { font-weight: 800; font-size: 17px; margin-bottom: 16px; }
.opt__for, .opt__form { margin-top: 56px; }
.opt__form .leadbox { margin-top: 26px; }

.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard {
  display: flex; flex-direction: column; gap: 9px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  text-decoration: none; color: var(--ink); transition: all .22s ease;
}
.bcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(20, 12, 10, .3); }
.bcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bcard__m { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); padding: 0 20px; }
.bcard__t { font-weight: 800; font-size: 17px; line-height: 1.35; padding: 0 20px; }
.bcard:hover .bcard__t { color: var(--accent); }
.bcard__d { font-size: 13.5px; color: var(--ink-soft); padding: 0 20px; }
.bcard__a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; padding: 4px 20px 20px; }
.bcard__a .ic { transition: transform .2s ease; }
.bcard:hover .bcard__a .ic { transform: translateX(3px); }

.article__grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(26px, 4vw, 56px); align-items: start; }
.article__head { margin-bottom: 20px; }
.article__meta { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.article__t { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; margin: 10px 0 12px; }
.article__lead { font-size: 17.5px; color: var(--ink-soft); max-width: 720px; }
.article__img { border-radius: 20px; margin-bottom: 24px; }
.article__cta {
  margin-top: 36px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.article__cta p { font-weight: 700; font-size: 16px; max-width: 420px; }
.article__side { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.toc__t { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.toc__list { display: grid; gap: 9px; counter-reset: t; }
.toc__list li { counter-increment: t; font-size: 14px; }
.toc__list a { color: var(--ink); font-weight: 600; }
.toc__list a:hover { color: var(--accent); }
.toc__list li::before { content: counter(t) '.'; color: var(--accent); font-weight: 800; margin-right: 8px; }
.article__side-cards { display: grid; gap: 10px; }
.sidecard {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 17px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: all .18s ease;
}
.sidecard:hover { border-color: var(--accent); color: var(--accent); }
.sidecard--cat { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sidecard--cat:hover { color: var(--amber); }

/* ---------- Пустые состояния, сравнение, корзина ---------- */

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state__ic { width: 62px; height: 62px; margin: 0 auto 16px; color: var(--ink-soft); opacity: .5; }
.empty-state__t { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.empty-state__d { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }

.cartpage__grid, .checkout__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; margin-top: 20px; }
.cartlist { display: grid; gap: 12px; }
.citem {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px;
}
.citem img { width: 88px; height: 66px; border-radius: 10px; object-fit: cover; }
.citem__t { font-weight: 800; font-size: 15px; line-height: 1.3; }
.citem__u { font-size: 12.5px; color: var(--ink-soft); }
.citem__sum { text-align: right; }
.citem__sum .price { font-size: 17px; }
.citem__x { color: var(--ink-soft); }
.citem__x:hover { color: var(--danger); }
.cartlist--mini { gap: 9px; }
.cartlist--mini .citem { grid-template-columns: 56px 1fr; padding: 10px 12px; border-radius: 12px; }
.cartlist--mini .citem img { width: 56px; height: 42px; }
.cartlist--mini .citem__qty, .cartlist--mini .citem__sum, .cartlist--mini .citem__x { display: none; }

.cartsum { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 100px; }
.cartsum__t { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.cartsum__rows { display: grid; gap: 9px; }
.cartsum__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.cartsum__rows dd { margin: 0; font-weight: 700; color: var(--ink); }
.cartsum__total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; align-items: baseline; }
.cartsum__total dt { font-weight: 800; color: var(--ink); }
.cartsum__total dd b { font-size: 24px; letter-spacing: -.02em; }
.cartsum__note { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0; }
.cartsum .btn { margin-bottom: 9px; }
.checkout__help { margin-top: 16px; background: var(--bg-alt); border-radius: 14px; padding: 16px 18px; font-size: 13.5px; color: var(--ink-soft); }
.checkout__help a { font-weight: 800; }

/* ---------- Юридические и 404 ---------- */

.legal { padding-top: 30px; }
.legal__date { color: var(--ink-soft); font-size: 14px; margin: 10px 0 24px; }
.nf { text-align: center; padding: 90px 24px 110px; }
.nf__code {
  font-size: clamp(90px, 16vw, 170px); font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: var(--sand);
  -webkit-text-stroke: 2px var(--line);
}
.nf__t { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.nf__d { color: var(--ink-soft); margin-top: 12px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.nf__help { margin-top: 34px; font-size: 14.5px; color: var(--ink-soft); }
.nf__help a { font-weight: 800; }

/* ---------- Анимации появления ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .68, .32, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .meter i { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Адаптив. Мобильный — первый класс, без горизонтального скролла.
   ========================================================================== */

@media (max-width: 1700px) {
  /* избранное/сравнение остаются в меню-шторке и на странице «Каталог» */
  .iconbtn[data-open-hint] { display: none; }
  .nav__link { padding: 10px 8px; font-size: 14px; }
  .header__in { gap: 10px; }
  .head-phone b { font-size: 14px; }
  .logo__sub { font-size: 11.5px; }
}
@media (max-width: 1700px) and (min-width: 861px) {
  .head-phone__hint { display: none; }
}

@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: 14px; }
  .nav__link .ic { display: none; }
  .head-phone__hint { display: none; }
  .head-phone b { font-size: 14.5px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .quality__grid, .features__grid, .about__counters, .about__principles, .works__grid, .stories__grid, .svcblock__grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .mega__in { grid-template-columns: 1.2fr 1fr 1fr; }
  .mega__col--cta { display: none; }
}

@media (max-width: 1020px) {
  .hero__in { grid-template-columns: 1fr; padding: 64px 24px 76px; gap: 34px; }
  .hero__card { max-width: 460px; }
  .s-grid { grid-template-columns: 1fr; }
  .product-sec .p-grid { grid-template-columns: 1fr; }
  .s-side { position: static; }
  .about__story, .hdel__grid, .rating__row, .final__in, .contacts__grid, .cartpage__grid, .checkout__grid, .leadbox, .article__grid { grid-template-columns: 1fr; }
  .s-side, .cartsum, .article__side, .contacts__form { position: static; }
  .woodshed { grid-template-columns: 1fr; }
  .opt__tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .akcii__grid { grid-template-columns: 1fr; }
  .cdrawer__grid { grid-template-columns: repeat(2, 1fr); }
  .tasks__grid, .conds__grid { grid-template-columns: repeat(2, 1fr); }
  .promos__grid { grid-template-columns: repeat(2, 1fr); }
  .stories__revs { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Шапка на мобильном: только логотип, меню (шторка) и корзина */
  .topbar { display: none; }
  .nav { display: none; }
  .head-phone { display: none; }
  .citybtn { display: none; }
  .iconbtn--max { display: none; }
  .iconbtn[data-open-hint] { display: none; }
  .burger { display: inline-grid; }
  .header__in { gap: 10px; justify-content: space-between; }
  .header { position: sticky; top: 0; z-index: 210; }
  .logo__sub { display: none; }
  .citybtn__t { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stickybar { display: flex; }
  .totop { bottom: 86px; right: 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-top: 42px; }
  .footer__col--about { grid-column: 1 / -1; }
  .footer__about { max-width: 560px; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__opts--sm { grid-template-columns: repeat(2, 1fr); }
  .seo__in { columns: 1; }
  .contacts__cards { grid-template-columns: 1fr; }
  .about__counters { grid-template-columns: repeat(2, 1fr); }
  .anchors { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
  .anchors { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 12px; max-width: 100%; }
  .anchors::-webkit-scrollbar { display: none; }
  .anchor-chip { flex: none; }
  .catalog__bar-r { margin-left: 0; width: 100%; justify-content: space-between; }
  .buyfloat__in { gap: 10px; }
  .buyfloat__t { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section--tight { padding: 24px 0 40px; }
  .p-grid, .grid--3, .grid-3 { grid-template-columns: 1fr; }
  .tasks__grid, .conds__grid, .promos__grid, .quality__grid, .features__grid, .works__grid, .stories__grid, .blog__grid, .svcblock__grid, .about__principles { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; }
  .about__counters { grid-template-columns: 1fr 1fr; gap: 12px; }
  .counter { padding: 20px 14px; }
  .quiz__grid2 { grid-template-columns: 1fr; }
  .rm { grid-template-columns: 96px 1fr 64px; gap: 10px; font-size: 13.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .hero__cta .btn { width: 100%; }
  .hero__metrics { gap: 8px 18px; }
  .buybox__cta { grid-template-columns: 1fr; }
  .buybox__qtyrow { flex-wrap: wrap; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .cdrawer { width: 100vw; border-radius: 0; }
  .mdrawer { width: min(360px, 94vw); }
  .cdrawer__grid { grid-template-columns: 1fr; }
  .page-head--band { padding-bottom: 18px; }
  .pcard__qview { display: none; }
  .pcard:hover { transform: none; }
  .woodshed__grid { grid-template-columns: 1fr; }
  .crumbs { font-size: 12.5px; }
  .table { min-width: 480px; }
  .table--price { min-width: 620px; }
  .cookiebar { left: 10px; right: 10px; bottom: 78px; width: auto; }
  .toast-root { bottom: 78px; }
  .article__cta { flex-direction: column; align-items: flex-start; }
  .final__in, .hero__in { padding-left: 16px; padding-right: 16px; }
  .totop { display: none; }
  .stickybar { left: 10px; right: 10px; width: auto; transform: none; justify-content: space-around; }
  .stickybar__b { min-width: 0; flex: 1; }
}

@media (max-width: 400px) {
  .iconbtn { width: 38px; height: 38px; }
  .iconbtn--max { display: none; }
  .citybtn { padding: 9px 10px; }
  .logo__t { font-size: 17px; }
}

/* Печать */
@media print {
  .topbar, .header, .footer, .stickybar, .totop, .cookiebar, .buyfloat, .modal, .toast-root, .devbar, .overlay, [data-drawer] { display: none !important; }
  body { background: #fff; color: #000; }
  .hero__in { padding: 20px 0; }
}

/* ==========================================================================
   Достилка: блоки, найденные CSS-аудитом (stock, rating-rows, мелочи)
   ========================================================================== */

/* Склад-карточка в герое (правая колонка) */
.stock {
  position: relative; z-index: 2;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  color: var(--ink); border-radius: 20px; padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  align-self: center;
}
.stock__upd { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.stock__h { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 6px 0 14px; }
.stock__list { display: grid; gap: 9px; }
.stock__list li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: center; }
.stock__list img { width: 44px; height: 34px; border-radius: 8px; object-fit: cover; }
.stock__list a { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.stock__list a:hover { color: var(--accent); }
.stock__p { font-size: 13px; font-weight: 800; white-space: nowrap; }
.stock__a { font-size: 12px; font-weight: 700; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.stock__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }

/* Сравнение пород (главная): строки-карточки */
.rating__rows { display: grid; gap: 14px; }
.rating__name { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.rating__name a { color: var(--ink); }
.rating__name a:hover { color: var(--accent); }
.rating__price { margin-top: 12px; font-weight: 800; font-size: 15.5px; color: var(--accent); }

/* Мелкие пробелы аудита */
.cond__a { color: var(--accent); transition: transform .2s ease; }
.cond:hover .cond__a { transform: translateX(3px); }
.feat__n { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.faqpage__ps { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.works__cta { margin-top: 40px; }
.citycard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crumbs__in { padding: 0 24px; }
.sec-head__h { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.sec-head__lead { margin-top: 12px; max-width: 680px; color: var(--ink-soft); font-size: 17px; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stories2 { margin-top: 50px; }

@media (max-width: 1020px) { .reviews__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .stock { padding: 18px; }
  .stock__list li { grid-template-columns: 40px 1fr auto; }
  .stock__a { display: none; }
}
