/* ============================================================
   ХимЛаб — Дизайн-система «Индустриальный чертёж»
   Палитра: графит + техно-зелёный + янтарь
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  /* Базовые */
  --graphite-900: #1C2126;   /* фон тёмных секций, текст */
  --graphite-800: #262C33;
  --graphite-700: #333A42;
  --graphite-500: #5A636D;   /* вторичный текст */
  --graphite-300: #A8B0B8;   /* border, muted */
  --graphite-100: #E6E9EC;   /* линии, разделители */
  --graphite-50:  #F4F6F7;   /* фон секций */

  /* Акценты */
  --green-600: #2F7047;      /* hover */
  --green-500: #3E8E5A;      /* основной — техно-зелёный */
  --green-100: #E3F1E9;      /* мягкий фон */
  --amber-500: #E0A526;      /* янтарь — цена/акцент */
  --amber-100: #FBF1D9;

  /* Служебные */
  --white: #FFFFFF;
  --danger: #C0392B;
  --success: #3E8E5A;

  /* Семантика */
  --bg: var(--white);
  --bg-alt: var(--graphite-50);
  --bg-dark: var(--graphite-900);
  --text: var(--graphite-900);
  --text-muted: var(--graphite-500);
  --border: var(--graphite-100);
  --brand: var(--green-500);
  --brand-hover: var(--green-600);
  --amber-700: #96690D;      /* янтарь для текста: 4,86:1 на белом */
  --price: var(--amber-700);

  /* Радиусы */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(28,33,38,.06), 0 1px 3px rgba(28,33,38,.08);
  --shadow-md: 0 4px 12px rgba(28,33,38,.10);
  --shadow-lg: 0 12px 32px rgba(28,33,38,.14);

  /* Типографика */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Сетка */
  --container: 1200px;
  --gap: 24px;
  --space: 16px;

  /* Чертёжная сетка (декор) */
  --blueprint: linear-gradient(rgba(62,142,90,.04) 1px, transparent 1px),
               linear-gradient(90deg, rgba(62,142,90,.04) 1px, transparent 1px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-hover); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* ---------- Focus (a11y) ---------- */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Типографика утилиты ---------- */
.h1 { font-size: clamp(28px, 5vw, 44px); }
.h2 { font-size: clamp(24px, 4vw, 34px); margin-inline: auto; max-width: 1150px;}
.h3 { font-size: clamp(19px, 3vw, 24px); }
.lead { font-size: 18px; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--graphite-300); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--amber { background: var(--amber-500); color: var(--graphite-900); }
.btn--amber:hover { background: #cc9420; color: var(--graphite-900); }
.btn--ghost { background: transparent; color: var(--brand); padding-left: 0; padding-right: 0; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 18px; }

/* ---------- Секции ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark .h1,
.section--dark .h2,
.section--dark .h3 { color: #fff; }
.section--dark .muted { color: var(--graphite-300); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Карточка товара ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-100);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    var(--blueprint),
    var(--graphite-50);
  background-size: 20px 20px, 20px 20px, cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card__media img { max-height: 100%; width: auto; }
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  background: var(--green-100);
  color: var(--green-600);
}
.product-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card__brand { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.product-card__title { font-size: 17px; font-weight: 700; margin: 0; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--brand); }
.product-card__spec { font-size: 14px; color: var(--text-muted); }
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__price { font-size: 22px; font-weight: 800; color: var(--price); font-family: var(--font-mono); }
.product-card__price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding: 16px 0; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.breadcrumbs li::after { content: "/"; color: var(--graphite-300); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.faq__q:hover { color: var(--brand); }
.faq__icon { flex: 0 0 auto; transition: transform .2s ease; color: var(--brand); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--text-muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--blueprint);
  background-size: 32px 32px;
  opacity: .5;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(28,33,38,.6); backdrop-filter: blur(2px); }
.modal__dialog {
  position: relative;
  max-width: 460px;
  margin: 8vh auto 0;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none; background: var(--graphite-50); border-radius: var(--r-sm);
  cursor: pointer; font-size: 20px; line-height: 1; color: var(--text-muted);
}
.modal__close:hover { background: var(--graphite-100); color: var(--text); }
.modal__contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.modal__contact-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); }
.modal__contact-row:hover { border-color: var(--brand); }
.modal__contact-label { font-size: 13px; color: var(--text-muted); }
.modal__contact-value { font-size: 18px; font-weight: 700; }

/* ---------- Баннер 18+ ---------- */
.age-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--graphite-900); color: #fff;
  padding: 16px 20px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.age-banner__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.age-banner p { margin: 0; font-size: 14px; }

/* ---------- Утилиты ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--green-100); color: var(--green-600); }
.tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 32px 24px; }
}
@media (max-width: 520px) {
  .grid--4, .grid--3, .grid--2, .grid--auto { grid-template-columns: 1fr; }
  .btn--block-mobile { width: 100%; }
}
/* ==================== COMPONENTS (дописано) ==================== */

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container, 1200px); margin-inline: auto; padding-inline: 20px; }
main { display: block; min-height: 50vh; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white, #fff); border-bottom: 1px solid var(--border); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo__img { display: block; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 18px; color: var(--brand); }
.logo__tag { font-size: 12px; color: var(--text-muted); }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav__link { padding: 8px 14px; border-radius: var(--r-sm, 8px); text-decoration: none; color: var(--text); font-weight: 500; transition: background .15s, color .15s; }
.nav__link:hover { background: var(--graphite-50, #f5f6f7); color: var(--brand); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.header-phone { text-decoration: none; color: var(--text); font-weight: 600; white-space: nowrap; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--r-sm, 8px); background: var(--white,#fff); color: var(--text); cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.icon-btn:hover { border-color: var(--brand); background: var(--graphite-50,#f5f6f7); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--amber-500, var(--amber)); border-radius: 999px; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.burger { display: none; }

/* ---------- Buttons (доп. размеры) ---------- */
.btn--lg { padding: 14px 28px; font-size: 17px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--amber { background: var(--amber-500, var(--amber)); color: var(--graphite-900); border: none; }
.btn--amber:hover { filter: brightness(.94); }

/* ---------- Hero / CTA ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-muted); max-width: 60ch; }
.cta { padding: 56px 0; background: var(--bg-alt, var(--graphite-50)); border-radius: var(--r-lg, 16px); text-align: center; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-block { padding: 56px 0; }
.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-md, 12px); overflow: hidden; background: var(--white,#fff); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; font-size: 16px; font-weight: 600; text-align: left; background: none; border: none; cursor: pointer; color: var(--text); }
.faq__icon { flex: none; transition: transform .2s; }
.faq__item[aria-expanded="true"] .faq__icon, .faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 18px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 16px 0; margin: 0; font-size: 14px; }
.breadcrumbs li { display: flex; gap: 8px; align-items: center; color: var(--text-muted); }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { margin-top: 80px; background: var(--bg-dark, var(--graphite-900)); color: var(--graphite-100, #e9ebee); padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer__logo, .logo--footer .logo__name { color: #fff; }
.footer__about { color: var(--graphite-300, #b7bcc4); line-height: 1.7; margin-top: 16px; max-width: 40ch; }
.footer__col h3 { font-size: 15px; color: #fff; margin: 0 0 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--graphite-300, #b7bcc4); text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 10px; color: var(--graphite-300,#b7bcc4); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; color: var(--graphite-500,#8b929c); }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100%; background: #fff; padding: 24px; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__close { align-self: flex-end; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--text); }
.mobile-menu__link { padding: 12px 8px; text-decoration: none; color: var(--text); font-weight: 500; border-radius: var(--r-sm,8px); }
.mobile-menu__link:hover { background: var(--graphite-50,#f5f6f7); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.5); }
.modal.is-open { display: grid; }
.modal__panel, .modal > div { background: #fff; border-radius: var(--r-lg,16px); padding: 32px; max-width: 480px; width: 100%; position: relative; }
.modal__close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--text-muted); }
.modal__contacts { display: grid; gap: 16px; margin-top: 20px; }
.modal__contact-row { display: grid; gap: 4px; }
.modal__contact-label { font-size: 13px; color: var(--text-muted); }
.modal__contact-value { font-size: 16px; font-weight: 600; color: var(--text); }
.modal__contact-value a { color: var(--brand); text-decoration: none; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-md,12px); overflow: hidden; background: #fff; transition: box-shadow .18s, transform .18s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__media { aspect-ratio: 4/3; background: var(--graphite-50,#f5f6f7); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: 16px; font-weight: 600; margin: 0; color: var(--text); }
.card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.card__price { font-size: 18px; font-weight: 700; color: var(--price, var(--text)); }
.card__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge--hit { background: var(--amber-100); color: var(--amber-700); }
.badge--new { background: var(--green-100); color: var(--green-600,var(--green-500)); }
.badge--stock { background: var(--green-100); color: var(--green-600,var(--green-500)); }
.card__badges > * { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .burger { display: inline-grid; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
/* === Алиас для breadcrumbs-хелпера (он выдаёт .crumbs) === */
.crumbs { padding: 16px 0; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.crumbs li::after { content: "/"; color: var(--graphite-300); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ============================================================
   HOME — секции главной страницы
   Токены: --brand, --graphite-*, --amber-*, --r-*, --shadow-*
   ============================================================ */

/* ---------- Модификаторы секций ---------- */
.section--muted { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__title { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; line-height: 1.15; margin: 0 0 12px; color: var(--text); }
.section__sub { font-size: 17px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.section__foot { margin-top: 40px; display: flex; justify-content: center; }
.container--narrow { max-width: 760px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  /*background:
    var(--blueprint, none),
    linear-gradient(180deg, var(--graphite-50) 0%, var(--white) 100%);*/
  background: var(--blueprint, none), linear-gradient(180deg, #D7D8D8 0%, var(--white) 100%);
  /*background-size: 32px 32px, cover;*/
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--green-100);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero__title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.08; margin: 0 0 18px; color: var(--text); }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); margin: 0 0 28px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  list-style: none; padding: 0; margin: 0;
}
.hero__trust li { display: flex; flex-direction: column; gap: 2px; }
.hero__trust strong { font-size: 15px; color: var(--text); }
.hero__trust span { font-size: 13px; color: var(--text-muted); }

/* Статы */
.hero__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat__num { display: block; font-family: var(--font-mono); font-size: 24px; font-weight: 800; color: var(--brand); }
.stat__label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Сетки главной ---------- */
.grid--cats { grid-template-columns: repeat(4, 1fr); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--adv { grid-template-columns: repeat(4, 1fr); }

/* ---------- Карточка марки ---------- */
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  height: 100%;
}
.cat-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card__grade { align-self: flex-start; }
.cat-card__title { font-size: 20px; font-weight: 800; margin: 4px 0 0; color: var(--text); }
.cat-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; }
.cat-card__meta { display: grid; gap: 6px; margin: 6px 0; }
.cat-card__meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 4px 0; border-top: 1px dashed var(--border); }
.cat-card__meta dt { color: var(--text-muted); }
.cat-card__meta dd { margin: 0; font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.cat-card__link { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: 4px; }
.cat-card:hover .cat-card__link { color: var(--brand-hover); }

/* ---------- Фикс размера media в товаре ---------- */
.product-card__media { aspect-ratio: 1 / 1; max-height: 260px; }

/* ---------- Преимущества ---------- */
.adv {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  padding: 24px;
}
.adv__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.adv p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------- Шаги ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  list-style: none; padding: 0; margin: 0; counter-reset: none;
}
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 28px 24px; position: relative;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-mono); font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
}
.step__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------- FAQ (details/summary) ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.faq__q {
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-weight: 600; font-size: 16px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: none; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ---------- CTA (тёмный, перекрываем светлый дубль) ---------- */
.cta {
  padding: 56px 0;
  background: var(--graphite-900);
  border-radius: 0;
  text-align: center;
  color: #fff;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0; color: #fff; }
.cta__text p { color: var(--graphite-300); font-size: 17px; margin: 8px 0 0; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta__note { font-size: 13px; color: var(--graphite-500); margin-top: 20px; }
/* На тёмном фоне outline-кнопка должна быть светлой */
.cta .btn--outline { border-color: var(--graphite-700); color: #fff; }
.cta .btn--outline:hover { border-color: var(--brand); background: rgba(255,255,255,.06); }

/* ---------- Empty state ---------- */
.empty { padding: 40px; text-align: center; color: var(--text-muted); background: var(--bg-alt); border-radius: var(--r-md); }

/* ---------- Алиас для breadcrumbs-хелпера (.crumbs) ---------- */
.crumbs { padding: 16px 0; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.crumbs li::after { content: "/"; color: var(--graphite-300); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ============================================================
   HOME — Адаптив
   ============================================================ */
@media (max-width: 1024px) {
  .grid--cats { grid-template-columns: repeat(2, 1fr); }
  .grid--adv  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .grid--cats, .grid--adv, .hero__stats { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .hero__trust { gap: 14px 20px; }
}
/* ---------- Бейдж корзины ---------- */
.cart-count { position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px;
  background:var(--brand); color:#fff; font-size:11px; font-weight:700; line-height:18px;
  text-align:center; border-radius:100px; }
.cart-count.is-empty, .cart-count[data-count="0"] { display:none; }
.icon-btn { position:relative; }

/* ---------- Тост ---------- */
.cart-toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px);
  background:var(--graphite-900); color:#fff; padding:14px 20px; border-radius:var(--r-md);
  box-shadow:var(--shadow-lg); font-size:14px; opacity:0; pointer-events:none; transition:.25s; z-index:1000; }
.cart-toast.is-visible { opacity:1; transform:translate(-50%,0); pointer-events:auto; }
.cart-toast a { color:var(--green-100); font-weight:600; margin-left:8px; }
.js-add-to-cart.is-added { background:var(--green-600); }

/* ---------- Корзина ---------- */
.cart-list { list-style:none; padding:0; margin:0 0 24px; }
.cart-item { display:grid; grid-template-columns:1fr auto auto auto; align-items:center; gap:16px;
  padding:16px 0; border-bottom:1px solid var(--border); }
.cart-item__info { display:flex; flex-direction:column; gap:2px; }
.cart-item__name { font-weight:600; }
.cart-item__price { font-size:13px; color:var(--text-muted); }
.cart-item__sum { font-family:var(--font-mono); font-weight:700; color:var(--price); min-width:90px; text-align:right; }
.cart-item__del { border:0; background:none; color:var(--graphite-300); font-size:16px; cursor:pointer; padding:6px; }
.cart-item__del:hover { color:var(--danger); }
.cart-item__qty { display:flex; align-items:center; border:1px solid var(--border); border-radius:var(--r-sm); overflow:hidden; }
.qty-btn { width:32px; height:36px; border:0; background:var(--bg-alt); cursor:pointer; font-size:16px; color:var(--text); }
.qty-btn:hover { background:var(--green-100); color:var(--brand); }
.qty-input { width:48px; height:36px; border:0; text-align:center; font-size:15px; -moz-appearance:textfield; }
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.cart-summary { background:var(--bg-alt); border-radius:var(--r-md); padding:20px 24px; margin-bottom:32px; }
.cart-summary__row { display:flex; justify-content:space-between; padding:6px 0; }
.cart-summary__row--total { font-size:20px; font-weight:800; border-top:1px solid var(--border); margin-top:6px; padding-top:12px; }
.cart-summary__row--total strong { color:var(--price); font-family:var(--font-mono); }
.cart-summary__note { font-size:13px; color:var(--text-muted); margin:12px 0 0; }

/* ---------- Форма ---------- */
.cart-form__title { font-size:22px; margin:0 0 20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field--full { grid-column:1 / -1; }
.field > span { font-size:14px; font-weight:600; color:var(--text); }
.field b { color:var(--danger); }
.field input, .field textarea { border:1px solid var(--border); border-radius:var(--r-sm); padding:11px 14px; font:inherit; background:var(--white); }
.field input:focus, .field textarea:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--green-100); }
.field--check { flex-direction:row; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-muted); margin-bottom:20px; }
.field--check input { margin-top:2px; }
.cart-form__err { color:var(--danger); font-size:14px; margin-top:12px; }
.cart-success { text-align:center; padding:48px 24px; }
.cart-success h2 { color:var(--brand); }

@media (max-width:560px){
  .form-grid { grid-template-columns:1fr; }
  .cart-item { grid-template-columns:1fr auto; grid-template-areas:"info del" "qty sum"; }
  .cart-item__info{grid-area:info;} .cart-item__del{grid-area:del;}
  .cart-item__qty{grid-area:qty;} .cart-item__sum{grid-area:sum; text-align:left;}
}
/* ==================== КОРЗИНА / ЗАКАЗ ==================== */
.cart-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;background:var(--brand,#2e7d32);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;border-radius:100px}
.cart-count.is-empty,.cart-count[data-count="0"]{display:none}
.icon-btn{position:relative}

.cart-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#1f2937;color:#fff;padding:14px 20px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:1000;max-width:90vw}
.cart-toast.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.cart-toast a{color:#86efac;font-weight:600;margin-left:8px;white-space:nowrap}
.js-add-to-cart.is-added{background:#16a34a;border-color:#16a34a}

.cart-list{list-style:none;padding:0;margin:0 0 24px}
.cart-item{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e5e7eb}
.cart-item__info{display:flex;flex-direction:column;gap:2px;min-width:0}
.cart-item__name{font-weight:600}
.cart-item__price{font-size:13px;color:#6b7280}
.cart-item__sum{font-weight:700;color:var(--price,#2e7d32);min-width:90px;text-align:right}
.cart-item__del{border:0;background:none;color:#9ca3af;font-size:16px;cursor:pointer;padding:6px;line-height:1}
.cart-item__del:hover{color:#dc2626}
.cart-item__qty{display:flex;align-items:center;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
.qty-btn{width:32px;height:36px;border:0;background:#f3f4f6;cursor:pointer;font-size:16px;color:#111}
.qty-btn:hover{background:#dcfce7;color:var(--brand,#2e7d32)}
.qty-input{width:48px;height:36px;border:0;text-align:center;font-size:15px;-moz-appearance:textfield}
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cart-summary{background:#f9fafb;border-radius:12px;padding:20px 24px;margin-bottom:32px}
.cart-summary__row{display:flex;justify-content:space-between;padding:6px 0}
.cart-summary__row--total{font-size:20px;font-weight:800;border-top:1px solid #e5e7eb;margin-top:6px;padding-top:12px}
.cart-summary__row--total strong{color:var(--price,#2e7d32)}
.cart-summary__note{font-size:13px;color:#6b7280;margin:12px 0 0}

.cart-form__title{font-size:22px;margin:0 0 20px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.field{display:flex;flex-direction:column;gap:6px}
.field--full{grid-column:1/-1}
.field>span{font-size:14px;font-weight:600;color:#111}
.field b{color:#dc2626}
.field input,.field textarea{border:1px solid #d1d5db;border-radius:8px;padding:11px 14px;font:inherit;background:#fff;width:100%}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--brand,#2e7d32);box-shadow:0 0 0 3px #dcfce7}
.field--check{flex-direction:row;align-items:flex-start;gap:10px;font-size:14px;color:#6b7280;margin-bottom:20px}
.field--check input{margin-top:2px;width:auto}
.cart-form__err{color:#dc2626;font-size:14px;margin-top:12px}
.cart-success{text-align:center;padding:48px 24px}
.cart-success h2{color:var(--brand,#2e7d32)}
.empty{text-align:center;padding:48px 24px}
.empty p{color:#6b7280;margin-bottom:20px}

@media (max-width:560px){
  .form-grid{grid-template-columns:1fr}
  .cart-item{grid-template-columns:1fr auto;grid-template-areas:"info del" "qty sum";gap:8px 16px}
  .cart-item__info{grid-area:info}.cart-item__del{grid-area:del}
  .cart-item__qty{grid-area:qty}.cart-item__sum{grid-area:sum;text-align:right}
}

/* ==================== КОРЗИНА · строки товаров (.cart-row) ==================== */
.cart-list{list-style:none;padding:0;margin:0 0 24px}
.cart-row{
  display:grid;
  grid-template-columns:96px 1fr auto auto auto;
  align-items:center;
  gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--border,#e5e7eb);
}
.cart-row__media{
  width:96px;height:96px;flex:none;
  background:var(--bg-alt,#f3f4f6);
  border:1px solid var(--border,#e5e7eb);
  border-radius:var(--r-sm,8px);
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.cart-row__media img{width:100%;height:100%;object-fit:contain;padding:8px}
.cart-row__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.cart-row__name{font-size:16px;font-weight:700;margin:0;color:var(--text,#111)}
.cart-row__spec{font-size:13px;color:var(--text-muted,#6b7280)}
.cart-row__qty{
  display:flex;align-items:center;
  border:1px solid var(--border,#e5e7eb);
  border-radius:var(--r-sm,8px);overflow:hidden;
}
.cart-row__price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:120px}
.cart-row__unit{font-size:13px;color:var(--text-muted,#6b7280)}
.cart-row__sum{font-family:var(--font-mono,monospace);font-weight:700;font-size:16px;color:var(--price,#2e7d32)}
.cart-row__del{
  border:0;background:none;color:var(--graphite-300,#9ca3af);
  font-size:18px;cursor:pointer;padding:6px;line-height:1;transition:.15s;
}
.cart-row__del:hover{color:var(--danger,#dc2626)}

@media (max-width:600px){
  .cart-row{
    grid-template-columns:72px 1fr auto;
    grid-template-areas:
      "media info del"
      "media qty  price";
    row-gap:10px;
  }
  .cart-row__media{grid-area:media;width:72px;height:72px}
  .cart-row__info{grid-area:info}
  .cart-row__del{grid-area:del;align-self:start}
  .cart-row__qty{grid-area:qty}
  .cart-row__price{grid-area:price;align-items:flex-end;align-self:center}
}

/* ==================== КОРЗИНА · кнопки действий (.cart-act) ==================== */
.cart-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:16px;
}
.cart-act{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:12px 16px;
  border:2px solid var(--graphite-300,#d1d5db);
  border-radius:var(--r-sm,8px);
  background:#fff;
  color:var(--text,#111);
  text-align:left;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease, transform .05s ease;
  font-family:var(--font);
}
.cart-act:hover{border-color:var(--brand,#2e7d32)}
.cart-act:active{transform:translateY(1px)}
.cart-act:focus-visible{outline:2px solid var(--brand,#2e7d32);outline-offset:2px}

.cart-act__ico{
  flex:none;
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  font-size:18px;line-height:1;
  background:var(--bg-alt,#f3f4f6);
  color:var(--brand,#2e7d32);
}
.cart-act__txt{
  display:flex;flex-direction:column;gap:2px;
  min-width:0;line-height:1.25;
}
.cart-act__txt small{
  font-size:12px;color:var(--text-muted,#6b7280);
}
.cart-act__txt b{
  font-size:15px;font-weight:700;color:var(--text,#111);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* Главное действие — e-mail: зелёная заливка */
.cart-act--email{
  background:var(--brand,#2e7d32);
  border-color:var(--brand,#2e7d32);
  color:#fff;
}
.cart-act--email:hover{background:var(--brand-hover,#256628);border-color:var(--brand-hover,#256628)}
.cart-act--email .cart-act__ico{background:rgba(255,255,255,.18);color:#fff}
.cart-act--email .cart-act__txt small{color:rgba(255,255,255,.85)}
.cart-act--email .cart-act__txt b{color:#fff}

/* Telegram — фирменный акцент через иконку */
.cart-act--tg .cart-act__ico{background:#e7f2fb;color:#0088cc}
.cart-act--tg:hover{border-color:#0088cc}

/* Очистить — приглушённая текстовая кнопка */
.cart-clear{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:14px;
  border:0;background:none;
  color:var(--text-muted,#6b7280);
  font-size:14px;cursor:pointer;
  padding:6px 0;
  transition:color .15s ease;
  font-family:var(--font);
}
.cart-clear:hover{color:var(--danger,#dc2626)}
.cart-clear:focus-visible{outline:2px solid var(--danger,#dc2626);outline-offset:2px;border-radius:4px}

/* ==================== КОРЗИНА · каркас страницы ==================== */
.cart-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 380px;
  gap:32px;
  align-items:start;
}
.cart-items{min-width:0}

.cart-side{position:sticky;top:24px}
.cart-side__box{
  background:#fff;
  border:1px solid var(--graphite-300,#e5e7eb);
  border-radius:var(--r-md,12px);
  padding:24px;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}
.cart-side__row{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;padding:6px 0;font-size:15px;
}
.cart-side__row span{color:var(--text-muted,#6b7280)}
.cart-side__row strong{font-weight:700;color:var(--text,#111)}
.cart-side__sep{
  border:0;border-top:1px solid var(--graphite-300,#e5e7eb);
  margin:14px 0;
}
.cart-side__total{
  display:flex;justify-content:space-between;align-items:baseline;
  gap:12px;margin-bottom:4px;
}
.cart-side__total span{font-size:15px;color:var(--text,#111)}
.cart-side__total strong{font-size:24px;font-weight:800;color:var(--brand,#2e7d32)}
.cart-side__hint{
  margin:10px 0;padding:10px 12px;
  background:var(--amber-50,#fff8e6);
  border:1px solid var(--amber-500,#e0a020);
  border-radius:var(--r-sm,8px);
  font-size:13px;color:var(--graphite-900,#1f2937);
}
.cart-note{
  margin-top:20px;font-size:13px;line-height:1.5;
  color:var(--text-muted,#6b7280);
}
.cart-note p{margin:0 0 8px}
.cart-note p:last-child{margin:0}

@media (max-width:900px){
  .cart-grid{grid-template-columns:1fr}
  .cart-side{position:static}
}

/* ============================================================
   КАТАЛОГ / КАТЕГОРИИ / ТОВАР — секции (доб. к базовой системе)
   ============================================================ */

/* Заголовок категории/каталога */
.cat-head { max-width: 820px; margin-bottom: 32px; }
.cat-head__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.cat-head__lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Характеристики марки */
.cat-specs {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}
.cat-specs .stat { padding: 16px 12px; }
.cat-specs .stat__num { font-size: 18px; line-height: 1.25; }

/* Фильтр по объёму */
.vol-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.vol-filter__chip {
  font: inherit; cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
  background: var(--white); color: var(--text);
  border: 1px solid var(--graphite-300);
  transition: background .15s, border-color .15s, color .15s;
}
.vol-filter__chip:hover { border-color: var(--brand); color: var(--brand); }
.vol-filter__chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.vol-filter__chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Пустое состояние */
.empty-state {
  text-align: center; padding: 48px 24px;
  background: var(--bg-alt); border: 1px dashed var(--graphite-300);
  border-radius: var(--r-lg);
}
.empty-state__title { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.empty-state__text { color: var(--text-muted); margin: 0 0 16px; }

/* SEO-текст под сеткой */
.seo-text { max-width: 760px; margin: 40px 0 0; color: var(--text-muted); line-height: 1.7; }
.seo-text p { margin: 0 0 12px; }

/* Теги-модификаторы (база .tag уже есть) */
.tag--ok    { color: var(--success); }
.tag--muted { color: var(--text-muted); }
.product__meta .tag,
.cat-card .tag {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 999px; color: var(--text);
}
.product__meta .tag--ok    { background: var(--green-100); border-color: var(--green-100); color: var(--green-600); }
.product__meta .tag--muted { background: var(--bg-alt); color: var(--text-muted); }

/* ---------- Карточка товара ---------- */
.product { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; align-items: start; }
.product__figure {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--graphite-50), var(--green-100));
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.product__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product__vol { font-family: var(--font-mono, monospace); font-size: 48px; font-weight: 700; color: var(--graphite-700); }
.product__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--amber-500); color: var(--graphite-900);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.product__title { font-size: clamp(24px, 3vw, 34px); margin: 0 0 16px; line-height: 1.2; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product__lead { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; }
.product__buy {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 20px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 24px;
}
.product__price { font-size: 32px; font-weight: 700; color: var(--price); line-height: 1; }
.product__price--request { font-size: 22px; color: var(--text); }
.product__specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.product__specs li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.product__specs li span { color: var(--text-muted); }
.product__specs li b { color: var(--text); text-align: right; }

/* ---------- Витрина каталога ---------- */
.grid--cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-bottom: 8px; }
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 8px 24px rgba(28,33,38,.10); }
.cat-card__name { font-size: 20px; font-weight: 700; }
.cat-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.cat-card__go { color: var(--brand); font-weight: 600; font-size: 14px; }

/* Псевдо-ссылки */
.pseudo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pseudo-link {
  padding: 10px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--graphite-300);
  color: var(--text); text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.pseudo-link:hover { background: var(--green-100); border-color: var(--brand); color: var(--brand-hover); }

/* Заголовок секции (если ещё нет) */
.section__title { font-size: clamp(22px, 3vw, 28px); margin: 0 0 24px; }

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product__figure { max-width: 320px; }
  .product__buy { flex-direction: column; align-items: stretch; }
  .product__buy .btn { width: 100%; }
  .cat-specs { grid-template-columns: 1fr 1fr; }
}

/* ==================== ИНФОСТРАНИЦЫ ==================== */
.info-hero { padding: 56px 0 40px; }
.info-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.info-hero__title { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; margin: 0 0 20px; }
.info-hero__title em { font-style: italic; color: var(--graphite-700); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.info-hero__text { font-size: 17px; color: var(--text-muted); line-height: 1.65; max-width: 52ch; margin: 0 0 28px; }
.info-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.info-facts { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-md); }
.info-facts__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--graphite-800); border-radius: var(--r-md); color: #fff; margin-bottom: 24px; }
.info-facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.info-facts__num { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.info-facts__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

.info-section { padding: 56px 0; }
.info-section__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.info-section__eyebrow b { color: var(--brand); font-weight: 600; }
.info-section__title { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.15; margin: 0 0 36px; }

.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icards--2 { grid-template-columns: repeat(2, 1fr); }
.icard { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px 26px; transition: box-shadow .18s, transform .18s; }
.icard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.icard__ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--brand); margin-bottom: 18px; }
.icard__title { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.icard__text { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.icard__text b { color: var(--text); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.step__title { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.step__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.tariff { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.tariff__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.tariff__text { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.tariff__text b { color: var(--brand); font-weight: 700; }

.callout { display: flex; gap: 16px; background: var(--graphite-50); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 24px; margin-top: 36px; }
.callout__ic { flex: none; color: var(--brand); }
.callout p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }
.callout p b { color: var(--text); }
.callout--warn { border-color: var(--amber-500); background: var(--amber-100); }
.callout--warn .callout__ic { color: var(--amber-500); }

.contact-bar { text-align: center; padding: 48px 0 8px; }
.contact-bar__text { font-size: 16px; color: var(--text-muted); max-width: 60ch; margin: 0 auto 24px; line-height: 1.6; }
.contact-bar__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.deflist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deflist__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; }
.deflist__term { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.deflist__desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 36px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }

@media (max-width: 900px) {
  .info-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .icards, .steps, .deflist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .icards, .steps, .deflist, .icards--2, .info-facts__grid { grid-template-columns: 1fr; }
}

/* ===== Legal pages + map + link ===== */
.container--narrow{max-width:820px}
.legal{padding:56px 0 72px}
.legal__title{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:8px 0 12px}
.legal__meta{color:var(--muted,#7a8290);font-size:14px;margin-bottom:32px}
.legal h2{font-size:clamp(19px,2.2vw,24px);margin:36px 0 12px;line-height:1.25}
.legal p{margin:0 0 14px;line-height:1.7;color:var(--ink,#1c2430)}
.legal ul{margin:0 0 16px;padding-left:22px}
.legal li{margin:0 0 8px;line-height:1.6}
.legal a.link,a.link{color:var(--green,#1e9e5a);text-decoration:underline;text-underline-offset:2px}
.legal a.link:hover,a.link:hover{opacity:.8}
.legal__back{margin-top:40px;padding-top:24px;border-top:1px solid var(--line,#e6e9ee)}
.map-wrap{border-radius:16px;overflow:hidden}
.map-wrap iframe{display:block;width:100%}

.cart-total__old{ text-decoration:line-through; color:#94a3b8; font-weight:500; font-size:.82em; margin-right:.35em; }
.cart-total__new{ color:#16a34a; font-weight:700; }
[data-cart-discount].is-active{ background:#dcfce7; border-color:#16a34a; color:#166534; }
/* Корзина: скидка — зачёркнутая старая цена + активная плашка */
.cart-total__old{ text-decoration:line-through; color:#94a3b8; font-weight:500; font-size:.82em; margin-right:.35em; }
.cart-total__new{ color:#16a34a; font-weight:700; }
[data-cart-discount].is-active{ background:#dcfce7; border-color:#16a34a; color:#166534; }

/* ===== Skip-link (a11y): скрыт до фокуса ===== */
.skip-link,
a[href="#main"],
a[href="#content"]{
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--green-600, #2e7d32);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus,
a[href="#main"]:focus,
a[href="#content"]:focus{
  left: 0;
  outline: 2px solid #fff;
  outline-offset: -4px;
}


/* ===== Fix: крошки хелпера (.crumbs) — выравнивание по контейнеру ===== */
.crumbs{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 20px;
  box-sizing: border-box;
}

/* Другие марки: усиление карточек на сером фоне секции --alt */
.section--alt .cat-card {
  border-color: var(--graphite-300);
  box-shadow: 0 2px 8px rgba(28,33,38,.07);
}
.section--alt .cat-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(28,33,38,.10);
}

/* FAQ: видимый фокус для клавиатурной навигации (a11y) */
.faq__q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--r-md, 12px);
}

/* ============================================================
   CATEGORY PAGE — fixes & modern blocks (2024)
   ============================================================ */

/* --- FAQ: fix обрезки ответа --- */
.faq__item { overflow: visible; }
.faq__a { padding: 2px 22px 20px !important; }

/* --- Общая иконка-плашка --- */
.ico-chip{
  flex:none; display:grid; place-items:center;
}

/* ── Header: иконки и телефон (полировка) ── */
.ico{width:22px;height:22px;display:block}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;color:inherit;background:transparent;border:0;cursor:pointer;transition:background .15s ease,color .15s ease}
.icon-btn:hover{background:rgba(0,0,0,.05)}
.icon-btn:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.header__phone{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;color:inherit;text-decoration:none;font-weight:600;white-space:nowrap;transition:background .15s ease}
.header__phone:hover{background:rgba(0,0,0,.05)}
.header__phone .ico{width:20px;height:20px}
.cart-btn{position:relative}
.cart-count{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#e11d2a;color:#fff;font-size:11px;font-weight:700;line-height:16px;text-align:center;display:none}
.cart-count[data-count]:not([data-count="0"]):not([data-count=""]){display:block}
.mobile-menu__phone{margin-top:12px;font-weight:700;font-size:18px;color:inherit;text-decoration:none}
@media (max-width:768px){.header__phone-num{display:none}.header__phone{padding:0;width:42px;height:42px;justify-content:center}}

/* ── Header icons FIX (высокая специфичность, перекрываем старое) ── */
.header .header__actions{display:flex;align-items:center;gap:6px}
.header .header__actions svg,
.header .header__actions .ico{width:22px!important;height:22px!important;max-width:22px;max-height:22px;flex:0 0 auto}
.header .header__phone{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;color:var(--color-primary,#0a8a4a);text-decoration:none;font-weight:600;line-height:1;white-space:nowrap}
.header .header__phone .ico{width:18px!important;height:18px!important}
.header .header__phone-num{white-space:nowrap;font-size:15px}
.header .icon-btn{width:42px;height:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:0;background:transparent;cursor:pointer;color:inherit}
.header .icon-btn:hover{background:rgba(0,0,0,.05)}
@media (max-width:900px){.header .header__phone-num{display:none}.header .header__phone{padding:0;width:42px;justify-content:center}}

/* ==== HEADER FIX (переносы меню + корзина + телефон) ==== */
.header__row{gap:20px}
.nav{gap:2px}
.nav__link{white-space:nowrap;padding:8px 12px}

/* телефон: иконка + номер в одну строку, ничего не переносится */
.header-phone{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 10px;border-radius:10px;transition:background .15s}
.header-phone:hover{background:var(--graphite-50,#f5f6f7);color:var(--brand)}
.header-phone svg{width:18px!important;height:18px!important;flex:0 0 auto;color:var(--brand)}
.header-phone .header__phone-num{font-weight:600}

/* корзина: современный бейдж-счётчик */
.cart-btn .cart-count{
  position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;
  display:none;align-items:center;justify-content:center;
  background:var(--brand,#2e9e5b);color:#fff;font-size:11px;font-weight:700;line-height:1;
  border-radius:999px;box-shadow:0 0 0 2px #fff;box-sizing:border-box
}
.cart-btn .cart-count[data-count]:not([data-count="0"]):not([data-count=""]){display:inline-flex}
.header .header__actions .cart-btn svg{color:var(--text)}
.header .header__actions .cart-btn:hover svg{color:var(--brand)}

/* чуть плотнее на средних экранах, чтобы меню не сжималось */
@media (max-width:1180px){
  .header__row{gap:14px}
  .nav__link{padding:8px 9px;font-size:15px}
  .header-phone .header__phone-num{display:none}
}

/* ==== HEADER FIX v2: жёстко запретить перенос в меню ==== */
.header .nav{flex-wrap:nowrap}
.header .nav__link,
.header .nav a{white-space:nowrap!important;word-break:normal!important;max-width:none!important}


/* ===== Age gate v3 (нижняя строка) ===== */
#ageGate.age-gate{
  position:fixed !important;
  left:0 !important; right:0 !important; bottom:0 !important;
  top:auto !important;
  width:100% !important;
  z-index:2147483000 !important;
  background:#1b1f24;
  color:#fff;
  box-shadow:0 -6px 24px rgba(0,0,0,.35);
  padding:14px 20px;
  margin:0;
}
#ageGate.age-gate[hidden]{display:none !important;}
#ageGate .age-gate__inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;gap:20px;
  flex-wrap:wrap;justify-content:space-between;
}
#ageGate .age-gate__text{margin:0;font-size:14px;line-height:1.5;color:#cdd3da;max-width:760px;}
#ageGate .age-gate__text strong{color:#fff;margin-right:6px;}
#ageGate .age-gate__actions{display:flex;gap:10px;flex-shrink:0;}
#ageGate .age-gate__btn{
  border:0;border-radius:8px;padding:11px 20px;
  font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;
  transition:background .15s,color .15s;
}
#ageGate .age-gate__yes{background:#2e9d5b;color:#fff;}
#ageGate .age-gate__yes:hover{background:#268a4f;}
#ageGate .age-gate__no{background:transparent;color:#cdd3da;border:1px solid #4a525c;}
#ageGate .age-gate__no:hover{background:#2a2f36;color:#fff;}
@media (max-width:640px){
  #ageGate .age-gate__actions{width:100%;}
  #ageGate .age-gate__btn{flex:1;}
}

/* ===== ОТЗЫВЫ ===== */
.reviews__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 20px;margin-bottom:8px}
.reviews__title{margin:0}
.reviews__agg{display:flex;align-items:center;gap:8px;margin:0}
.reviews__score{font-size:18px;font-weight:700;line-height:1}
.reviews__count{color:#6b7280;font-size:15px}
.reviews__note{margin:0 0 20px;color:#6b7280;font-size:15px}
.reviews{width:100%}
.reviews__list{list-style:none;margin:20px 0 0;padding:0;width:100%;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.review{min-width:0}
.reviews__more{margin:24px 0 0}

.stars{display:inline-flex;gap:2px;line-height:1;white-space:nowrap}
.star{color:#d6d9de;font-size:17px}
.star--on{color:#f5a623}
.star--half{background:linear-gradient(90deg,#f5a623 50%,#d6d9de 50%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.stars--sm .star{font-size:15px}

.review{display:flex;flex-direction:column;gap:10px;padding:20px;
  background:#fff;border:1px solid #e5e7eb;border-radius:12px}
.review__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.review__author{margin:0;font-weight:600}
.review__meta{margin:2px 0 0;color:#6b7280;font-size:14px;line-height:1.35}
.review__title{margin:0;font-size:16px;line-height:1.35}
.review__text{margin:0;color:#374151;line-height:1.6}
.review__bottom{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;
  margin:auto 0 0;padding-top:6px;font-size:14px}
.review__date{color:#9ca3af}
.review__verified{display:inline-flex;align-items:center;gap:5px;color:#15803d;font-weight:500}
.review__check{flex:none}

@media (max-width:640px){
  .review{padding:16px}
  .review__top{flex-direction:column;gap:8px}
  .reviews__more-num{display:none}
}

/* ── Связанные товары: фиксируем ширину трека, чтобы 2 карточки не были узкими ── */
.related-grid .grid--products{
  grid-template-columns:repeat(auto-fill,minmax(260px,340px));
  justify-content:start;
}

/* ── Отзыв о другом объёме марки ── */
.review__scope{margin:0 0 10px}
.review__scope-link{display:inline-block;padding:3px 10px;border:1px solid var(--border);border-radius:999px;font-size:12px;line-height:1.5;color:var(--text-muted);text-decoration:none;transition:.15s}
.review__scope-link:hover,.review__scope-link:focus-visible{border-color:var(--brand);color:var(--brand)}

/* === product-blocks: pnav / pblock / specs / cards / tariffs / doclist === */
.pblock{scroll-margin-top:96px}
.pblock__title{margin:0 0 12px}
.pblock__sub{margin:32px 0 12px;font-size:1.125rem}
.pblock__lead{max-width:68ch;margin:0 0 24px;color:var(--muted,#5b6472)}
.pblock__note{margin:20px 0 0;padding:12px 16px;border-left:3px solid var(--accent,#2f6f4e);
  background:var(--surface-2,#f5f7f9);border-radius:0 8px 8px 0;font-size:.9375rem;color:var(--muted,#5b6472)}
.pblock__links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:24px 0 0}

.pnav{border-block:1px solid var(--border,#e3e7ec);background:var(--surface,#fff)}
.pnav__list{display:flex;gap:4px;margin:0;padding:0;list-style:none;overflow-x:auto;
  scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pnav__list::-webkit-scrollbar{display:none}
.pnav__link{display:block;padding:14px 16px;white-space:nowrap;text-decoration:none;
  color:var(--muted,#5b6472);border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.pnav__link:hover,.pnav__link:focus-visible{color:var(--fg,#111827);border-bottom-color:var(--accent,#2f6f4e)}

.specs__table{width:100%;border-collapse:collapse}
.specs__table th,.specs__table td{padding:12px 16px;text-align:left;vertical-align:top;
  border-bottom:1px solid var(--border,#e3e7ec)}
.specs__table th{width:52%;font-weight:400;color:var(--muted,#5b6472)}
.specs__table td{font-weight:600;font-variant-numeric:tabular-nums}
.specs__table tr:last-child th,.specs__table tr:last-child td{border-bottom:0}
.specs__unit{font-weight:400;color:var(--muted,#5b6472)}
.specs__note{margin:16px 0 0;font-size:.875rem;color:var(--muted,#5b6472)}

.cards{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.cards--2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.cards--3,.cards--4{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card{padding:20px;border:1px solid var(--border,#e3e7ec);border-radius:12px;background:var(--surface,#fff)}
.card__title{margin:0 0 8px;font-size:1rem;font-weight:600}
.card__text{margin:0;font-size:.9375rem;line-height:1.55;color:var(--muted,#5b6472)}

.tariffs{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.tariff{padding:20px;border:1px solid var(--border,#e3e7ec);border-radius:12px}
.tariff__zone{margin:0 0 12px;font-size:.9375rem;font-weight:600}
.tariff__list{margin:0;padding:0;list-style:none;display:grid;gap:8px;font-size:.9375rem}
.tariff__list li{padding-left:18px;position:relative;color:var(--muted,#5b6472)}
.tariff__list li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;
  border-radius:50%;background:var(--accent,#2f6f4e)}

.doclist{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.doclist__item{display:grid;gap:4px;padding:16px 20px;border:1px solid var(--border,#e3e7ec);border-radius:10px}
.doclist__name{font-weight:600}
.doclist__desc{font-size:.9375rem;color:var(--muted,#5b6472)}

@media (max-width:640px){
  .specs__table th,.specs__table td{display:block;padding:8px 0;border-bottom:0}
  .specs__table th{width:auto;padding-bottom:2px;font-size:.875rem}
  .specs__table tr{display:block;padding:10px 0;border-bottom:1px solid var(--border,#e3e7ec)}
  .pblock{scroll-margin-top:72px}
}

/* Условия продажи (карточка товара) */
.pnotice{margin-top:24px;padding:20px 24px;border:1px solid var(--line,#dfe3e8);
  border-left:4px solid var(--accent,#1f6feb);border-radius:8px;background:var(--bg-soft,#f7f9fb)}
.pnotice__title{margin:0 0 8px;font-size:1.0625rem;line-height:1.3}
.pnotice__text{margin:0 0 12px;color:var(--text,#1a1d21)}
.pnotice__list{margin:0;padding-left:20px;display:grid;gap:6px}
.pnotice__list li{line-height:1.5}
@media (max-width:600px){.pnotice{padding:16px}}

/* ===== RHYTHM-V2-START ===== */
:root{
  --s-ink:#0f172a;
  --s-muted:#57626e;
  --s-line:#e3e8ee;
  --s-line-soft:#eef2f6;
  --s-surface:#fff;
  --s-surface-alt:#f5f8fb;
  --s-accent:#0d5bd1;      /* один цвет — вся акцентная система */
  --s-accent-2:#4aa3ff;
  --s-accent-soft:#e9f1fe;
  --s-shadow:0 1px 2px rgba(15,23,42,.05), 0 6px 18px rgba(15,23,42,.05);
}

/* 1. Ритм: воздух между блоками больше, чем внутри блока */
.section{position:relative;padding-block:clamp(44px,6.5vw,80px)}
.section > .container > * + *{margin-top:18px}

/* 3. Якорь заголовка: акцентная полоса с градиентом */
.pblock__title{
  position:relative;padding-top:16px;margin:0 0 6px;
  font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.2;
  letter-spacing:-.015em;color:var(--s-ink);
}
.pblock__title::before{
  content:"";position:absolute;top:0;left:0;width:46px;height:4px;border-radius:2px;
  background:linear-gradient(90deg,var(--s-accent),var(--s-accent-2));
}
.pblock__lead{max-width:68ch;color:var(--s-muted);font-size:1.0625rem;line-height:1.6}

/* 4. Карточки: контраст с любым фоном секции */
.cards{display:grid;gap:16px;list-style:none;padding:0;margin-top:24px}
.cards--4{grid-template-columns:repeat(auto-fit,minmax(228px,1fr))}
.card{
  background:var(--s-surface);border:1px solid var(--s-line);
  border-radius:12px;padding:20px 20px 22px;box-shadow:var(--s-shadow);
}
main > .section:nth-of-type(odd) .card{background:var(--s-surface-alt);box-shadow:none}
.card__title{margin:0 0 8px;font-size:1.0625rem;line-height:1.3;color:var(--s-ink)}
.card__text{margin:0;color:var(--s-muted);line-height:1.55}

/* 5. Таблица характеристик: зебра + читаемая колонка значений */
.section table{width:100%;border-collapse:collapse;background:var(--s-surface);
  border:1px solid var(--s-line);border-radius:12px;overflow:hidden}
.section table th,.section table td{
  padding:12px 16px;text-align:left;vertical-align:top;
  border-bottom:1px solid var(--s-line-soft);line-height:1.45}
.section table tr:last-child th,.section table tr:last-child td{border-bottom:0}
.section table th{font-weight:500;color:var(--s-muted);width:56%}
.section table td{color:var(--s-ink);font-variant-numeric:tabular-nums}
.section table tbody tr:nth-child(odd){background:rgba(15,23,42,.022)}

/* 6. Условия продажи */
.pnotice{
  margin-top:28px;padding:22px 24px;border:1px solid var(--s-line);
  border-left:4px solid var(--s-accent);border-radius:12px;
  background:linear-gradient(180deg,var(--s-accent-soft),var(--s-surface) 70%);
}
.pnotice__title{margin:0 0 8px;font-size:1.0625rem;color:var(--s-ink)}
.pnotice__text{margin:0 0 12px;color:var(--s-ink)}
.pnotice__list{margin:0;padding-left:20px;display:grid;gap:7px;color:var(--s-muted)}

/* 7. FAQ */
.section details{
  background:var(--s-surface);border:1px solid var(--s-line);
  border-radius:10px;margin-top:10px}
.section details[open]{border-color:var(--s-accent);box-shadow:var(--s-shadow)}
.section summary{
  cursor:pointer;padding:15px 48px 15px 18px;font-weight:600;
  color:var(--s-ink);position:relative;list-style:none}
.section summary::-webkit-details-marker{display:none}
.section summary::after{
  content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;
  border-right:2px solid var(--s-accent);border-bottom:2px solid var(--s-accent);
  transform:translateY(-70%) rotate(45deg);transition:transform .18s}
.section details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.section details > *:not(summary){padding:0 18px 16px;margin:0;color:var(--s-muted);line-height:1.6}

/* 8. Доступность */
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--s-accent);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media (max-width:600px){.pnotice{padding:18px}.section table th,.section table td{padding:11px 12px}}
/* ===== RHYTHM-V2-END ===== */

/* ===== RHYTHM-V3-START ===== */
/* Чередование на ВАШИХ классах, без nth-of-type */
.section{background:var(--s-surface)}
.section--muted{background:var(--s-surface-alt)}
.reviews{background:var(--s-surface-alt);padding-block:clamp(44px,6.5vw,80px);position:relative}

/* Градиентная линия-разделитель между соседними плоскостями */
.section + .section--muted::before,
.section--muted + .section::before,
.section + .reviews::before,
.reviews + .section::before{
  content:"";position:absolute;inset-inline:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--s-line) 12%,var(--s-line) 88%,transparent);
}
.section--muted .card{background:var(--s-surface);box-shadow:var(--s-shadow)}
.section .card{background:var(--s-surface);border-color:var(--s-line)}

/* FAQ: убираем дубль-стрелку, стилизуем родную иконку */
.faq summary::after,.faq-block summary::after,.faq__q::after{display:none!important}
.faq__item{background:var(--s-surface);border:1px solid var(--s-line);
  border-radius:10px;margin-top:10px;transition:border-color .18s,box-shadow .18s}
.faq__item[open]{border-color:var(--s-accent);box-shadow:var(--s-shadow)}
.faq__q{cursor:pointer;padding:15px 18px;font-weight:600;color:var(--s-ink);
  display:flex;align-items:center;gap:12px;list-style:none}
.faq__q::-webkit-details-marker{display:none}
.faq__icon{margin-left:auto;flex:0 0 auto;color:var(--s-accent);transition:transform .18s}
.faq__item[open] .faq__icon{transform:rotate(180deg)}
.faq__a{padding:0 18px 16px;color:var(--s-muted);line-height:1.6}

/* CTA — точка конверсии, максимальный контраст на странице */
.cta{margin-top:32px;padding:clamp(24px,4vw,36px);border-radius:16px;
  background:linear-gradient(135deg,#0b2f6b,#0d5bd1 55%,#1a76e8);
  color:#fff;box-shadow:0 10px 30px rgba(13,91,209,.22)}
.cta :is(h2,h3,.h2){color:#fff;margin:0 0 8px}
.cta :is(h2,h3,.h2)::before{display:none}
.cta p{color:rgba(255,255,255,.88);margin:0 0 18px;max-width:60ch}
.cta__actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.cta .btn--primary{background:#fff;color:#0b2f6b;border-color:#fff}
.cta .btn--primary:hover{background:#eaf1fd}
.cta .btn--outline{border-color:rgba(255,255,255,.6);color:#fff;background:transparent}
.cta .btn--outline:hover{background:rgba(255,255,255,.12);border-color:#fff}

/* Кнопки: состояния */
.btn{transition:transform .12s,box-shadow .18s,background-color .18s}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn--primary{box-shadow:0 2px 8px rgba(13,91,209,.25)}
.btn--amber{box-shadow:0 2px 10px rgba(217,138,10,.3)}

/* Мелочи иерархии */
.eyebrow{display:inline-block;font-size:.8125rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--s-accent);margin-bottom:8px}
.crumbs{font-size:.875rem;color:var(--s-muted);padding-block:14px}
.crumbs a{color:var(--s-muted);text-decoration:none;border-bottom:1px solid var(--s-line)}
.crumbs a:hover{color:var(--s-accent);border-color:currentColor}
.doclist__item{display:flex;flex-direction:column;gap:4px;padding:14px 0;
  border-bottom:1px solid var(--s-line-soft)}
.doclist__name{font-weight:600;color:var(--s-ink)}
.doclist__desc{color:var(--s-muted);font-size:.9375rem}
/* ===== RHYTHM-V3-END ===== */

/* ===== POLISH-V4-START ===== */
/* Единый акцент — брендовый зелёный. Янтарь остаётся за ценой и главным CTA. */
:root{
  --s-accent:#1f8a4c;
  --s-accent-2:#3fb873;
  --s-accent-soft:#ecf7f0;
  --s-cta-1:#0e3a26;
  --s-cta-2:#1f8a4c;
  --s-cta-3:#28a760;
}

/* 5. Ритм: убираем двойные отступы */
.section{padding-block:clamp(40px,5vw,64px)}
.section > .container > *:first-child{margin-top:0}
.faq-block,.reviews__inner{margin-block:0}
.pblock__title{margin-bottom:4px}

/* 3. FAQ во всю ширину контента */
.faq{max-width:none;margin-inline:0}
.faq-block > .h2{position:relative;padding-top:16px;margin:0 0 20px}
.faq-block > .h2::before{content:"";position:absolute;top:0;left:0;width:46px;height:4px;
  border-radius:2px;background:linear-gradient(90deg,var(--s-accent),var(--s-accent-2))}
.faq__q{padding-block:16px}
.faq__q > span{flex:1 1 auto}

/* 2+4. CTA в брендовой гамме */
.cta{background:linear-gradient(135deg,var(--s-cta-1),var(--s-cta-2) 55%,var(--s-cta-3));
  box-shadow:0 10px 30px rgba(15,58,38,.22);text-align:center}
.cta .eyebrow{color:rgba(255,255,255,.72)}
.cta :is(h2,h3,.h2){font-size:clamp(1.5rem,3vw,2rem);line-height:1.25;letter-spacing:-.02em}
.cta p{margin-inline:auto}
.cta__actions{justify-content:center}
.cta .btn--amber{background:#e8a417;color:#2a1a00;border-color:#e8a417}
.cta .btn--amber:hover{background:#f4b431}

/* Отзывы — тот же якорь заголовка */
.reviews h2{position:relative;padding-top:16px}
.reviews h2::before{content:"";position:absolute;top:0;left:0;width:46px;height:4px;
  border-radius:2px;background:linear-gradient(90deg,var(--s-accent),var(--s-accent-2))}

/* 6. Подвал: читаемый контраст */
.footer{background:#1b1f24;color:#c7cdd4}
.footer__col-title{color:#fff}
.footer a{color:#d6dce3;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer__contacts,.footer__about{color:#b6bec7}
.footer__phone{color:#fff;font-weight:600;font-size:1.0625rem}
.footer__legal,.footer__bottom{color:#8b949e;font-size:.875rem}

/* 7. Липкое якорное меню */
.tabs,.anchors,.product-nav{position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--s-line)}
.tabs a,.anchors a,.product-nav a{position:relative;padding-block:14px;
  color:var(--s-muted);text-decoration:none;transition:color .15s}
.tabs a:hover,.anchors a:hover,.product-nav a:hover{color:var(--s-ink)}
.tabs a.is-active,.anchors a.is-active,.product-nav a.is-active{color:var(--s-accent);font-weight:600}
.tabs a.is-active::after,.anchors a.is-active::after,.product-nav a.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--s-accent)}
:target{scroll-margin-top:72px}
/* ===== POLISH-V4-END ===== */

/* ===== POLISH-V5-START ===== */
/* Двойные паддинги: секция + внутренний блок давали провалы 120-190px */
.section .faq-block,.faq-block.section{padding-block:0}
.section .reviews,.reviews.section{padding-block:0}
.reviews{padding-block:0}
.section > .container > .faq-block:first-child,
.section > .container > *:first-child{margin-top:0}
.section > .container > *:last-child{margin-bottom:0}

/* Подвал: контраст на всех потомках, а не только на двух классах */
.footer{background:#1b1f24;color:#c2c9d1}
.footer p,.footer li,.footer span,.footer address,.footer div{color:#c2c9d1}
.footer__about,.footer__about p{color:#aab3bd}
.footer .footer__legal,.footer .footer__bottom,
.footer .footer__bottom *{color:#98a1ab}
.footer__col-title{color:#fff;font-weight:600;letter-spacing:.01em}
.footer a{color:#dfe5eb}
.footer a:hover,.footer a:focus-visible{color:#fff}
.footer__phone,.footer__phone a{color:#fff!important;font-weight:600;font-size:1.0625rem}
/* разделитель между склеенными правовыми ссылками */
.footer__legal a + a::before{content:"·";margin:0 8px;color:#5c6670}
.footer .btn--outline{border-color:#4a545e;color:#fff}
.footer .btn--outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}

/* CTA: чуть глубже, меньше «кислоты» в градиенте */
.cta{background:linear-gradient(135deg,#0b3020,#1a7a44 58%,#22945a)}

/* Липкое меню без backdrop-filter (не ломает fixed-потомков) */
:target,[id]{scroll-margin-top:80px}
/* ===== POLISH-V5-END ===== */

/* ===== POLISH-V6-START ===== */
:root{--header-h:72px}

/* Утилита была использована в разметке, но отсутствовала в CSS */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Якорное меню товара — реальный класс .pnav, под шапкой */
.pnav{position:sticky;top:var(--header-h);z-index:90;
  background:#fff;border-bottom:1px solid var(--s-line);
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.pnav::-webkit-scrollbar{display:none}
.pnav .container{display:flex;gap:24px;flex-wrap:nowrap}
.pnav a{position:relative;white-space:nowrap;padding-block:14px;
  color:var(--s-muted);text-decoration:none;transition:color .15s}
.pnav a:hover{color:var(--s-ink)}
.pnav a.is-active{color:var(--s-accent);font-weight:600}
.pnav a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;
  height:2px;background:var(--s-accent);border-radius:2px}

/* Якорь не должен уезжать под две липкие полосы */
[id]{scroll-margin-top:calc(var(--header-h) + 60px)}
@media (max-width:768px){:root{--header-h:56px}}
/* ===== POLISH-V6-END ===== */

/* ── Подпись НДС и цена за литр ─────────────────────────── */
.price-vat{
  display:block;
  margin:.25rem 0 0;
  font-size:.8125rem;
  line-height:1.35;
  font-weight:400;
  color:var(--muted,#6b7280);
  letter-spacing:.01em;
}
.product-card__price .price-vat{
  margin-top:.1rem;
  font-size:.75rem;
}
.product-card__price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.15;
}

/* ── Итоги корзины: НДС ─────────────────────────────────── */
.cart-side__val{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.2;
}
.cart-side__note{
  margin-top:.15rem;
  font-size:.75rem;
  font-weight:400;
  color:var(--muted,#6b7280);
}
.cart-side__hint{
  margin:.65rem 0 0;
  padding:.6rem .75rem;
  font-size:.8125rem;
  line-height:1.4;
  color:var(--muted,#4b5563);
  background:rgba(0,0,0,.035);
  border-radius:8px;
}

/* Инлайновая подпись НДС у цены */
.price-vat-i{font-size:.75em;font-weight:400;color:var(--muted,#6b7280);white-space:nowrap}
/* На тёмных подложках серый нечитаем — осветляем */
.delivery__bar-price .price-vat-i,
.cat-head .price-vat-i,
[class*="--dark"] .price-vat-i{color:rgba(255,255,255,.78)}
