/*
Theme Name: E-Bike Catalog
Theme URI: https://example.com/
Author: Client Work
Description: Custom WordPress catalog theme for electric bicycles. v2 — cool electric blue palette, Manrope/Inter typography, AJAX catalog with SSR pagination, JSON-LD SEO. v2.1 adds cookie banner, brand strip, expanded demo catalog (12 products). v2.2 — admin polish: sectioned product editor, list view with photo/price/stock columns, taxonomy filters, sortable columns, duplicate action, new-post helper. v2.3 — exact taxonomy-slug catalog filtering (no cross-category leaks), "Доставка и оплата" page template, reworked "Как выбрать" section. v2.4 — lead form gains optional E-mail and "Запрашиваемая модель" fields (prefilled on product pages), required-field markers. v2.5 — "Спасибо" page + redirect after lead (Metrika goal), quick-order "Купить в 1 клик" modal tied to a product, "Заказать"/"Подробнее" card buttons, universal YML product feed at /feed/yml/. v2.5.1 — "Вес" removed from preview card chips (kept in full spec table); preview now shows range + motor only.
Version: 2.5.1
Text Domain: e-bike-catalog
*/

/* ─────────────────────────────────────────────
   Tokens
   ───────────────────────────────────────────── */
:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #eef1f4;
    --surface-deep: #1a2230;
    --ink: #0e1116;
    --ink-soft: #1a2230;
    --muted: #5b6573;
    --muted-soft: #8b95a4;
    --line: rgba(14, 17, 22, 0.10);
    --line-strong: rgba(14, 17, 22, 0.18);
    --accent: #1b5bff;
    --accent-strong: #1346bf;
    --accent-soft: rgba(27, 91, 255, 0.10);
    --accent-tint: #9cb7ff;
    --hot: #ff5b33;
    --hot-soft: rgba(255, 91, 51, 0.12);
    --mint: #0ea773;
    --mint-soft: rgba(14, 167, 115, 0.12);
    --shadow-sm: 0 6px 18px rgba(14, 17, 22, 0.06);
    --shadow: 0 18px 60px rgba(14, 17, 22, 0.10);
    --shadow-lg: 0 28px 80px rgba(14, 17, 22, 0.14);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --container: min(1200px, calc(100vw - 40px));
    --header-height: 72px;
    --topline-height: 36px;
    --filter-sticky-top: calc(var(--header-height) + 16px);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "ss01", "cv11";
}

body, button, input, select, textarea { font: inherit; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, .display-font {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin: 0; }
h3 { font-size: 20px; line-height: 1.18; margin: 0; }

.tabular { font-variant-numeric: tabular-nums; }

.container { width: var(--container); margin: 0 auto; }

/* ─────────────────────────────────────────────
   Top utility line + sticky header
   ───────────────────────────────────────────── */
.topline {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

.utility-rail {
    min-height: var(--topline-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.utility-rail a { color: rgba(255, 255, 255, 0.92); font-weight: 600; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-row {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(27, 91, 255, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
}

.main-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover { background: var(--surface-soft); color: var(--accent); }

.main-nav__list {
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    font-weight: 700;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: -0.005em;
}

/* ─────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: 11px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.005em;
    cursor: pointer;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 22px rgba(27, 91, 255, 0.22);
}

.button:hover {
    transform: translateY(-1px);
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    box-shadow: 0 14px 30px rgba(27, 91, 255, 0.28);
}

.button--ghost,
.button--light {
    background: transparent;
    color: var(--accent);
    border-color: rgba(27, 91, 255, 0.40);
    box-shadow: none;
}

.button--ghost:hover,
.button--light:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-strong);
    box-shadow: none;
    transform: translateY(-1px);
}

.button--light { background: rgba(255, 255, 255, 0.92); }

.button--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: 0 6px 18px rgba(14, 17, 22, 0.20);
}

.button--dark:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.button--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.button--full { width: 100%; }

/* ─────────────────────────────────────────────
   Section primitives
   ───────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--compact { padding: 48px 0 24px; }
.section--soft { background: var(--surface-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .section-lead, .section--ink p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-family: "Manrope", "Inter", sans-serif;
}

.section-title {
    margin: 0;
    max-width: 820px;
    overflow-wrap: break-word;
}

.section-lead {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

@media (max-width: 720px) {
    .section-head { flex-direction: column; align-items: stretch; }
}

/* ─────────────────────────────────────────────
   Hero (photo)
   ───────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 56px 0 72px;
    background: linear-gradient(135deg, #eef1f4 0%, #dce3eb 60%, #c9d4df 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 20%, rgba(27, 91, 255, 0.16), transparent 38%),
        radial-gradient(circle at 6% 92%, rgba(255, 91, 51, 0.10), transparent 36%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.hero__copy { display: grid; gap: 22px; }

.hero__copy h1 { letter-spacing: -0.022em; }

.hero__lead {
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 580px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.hero__chip strong {
    color: var(--accent);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hero__visual {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, #ffffff 0%, #e1e8ef 70%);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    aspect-ratio: 1.1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero__visual::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 91, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero__visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    object-fit: contain;
    filter: drop-shadow(0 24px 36px rgba(14, 17, 22, 0.14));
}

.hero__panel {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 24px;
    max-width: 240px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
}

.hero__panel small {
    display: block;
    color: var(--accent-tint);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.hero__panel strong {
    display: block;
    margin-top: 6px;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

/* ─────────────────────────────────────────────
   Trust strip
   ───────────────────────────────────────────── */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 44px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.trust-strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
}

.trust-strip__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.trust-strip__icon svg { width: 20px; height: 20px; }

.trust-strip__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.trust-strip__text span {
    color: var(--muted);
    font-size: 13px;
}

/* ─────────────────────────────────────────────
   Category tiles (3 large)
   ───────────────────────────────────────────── */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.category-tile__head { position: relative; z-index: 2; }

.category-tile__head em {
    color: var(--accent);
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.category-tile__head strong {
    display: block;
    margin-top: 8px;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
}

.category-tile__head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 280px;
}

.category-tile__media {
    position: relative;
    margin-top: 18px;
    align-self: end;
    width: 70%;
    aspect-ratio: 1.4 / 1;
    background: var(--surface-soft);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.category-tile__media img {
    width: 88%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(14, 17, 22, 0.12));
}

.category-tile__cta {
    margin-top: 16px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-tile__cta::after {
    content: "→";
    transition: transform 0.18s ease;
}

.category-tile:hover .category-tile__cta::after { transform: translateX(4px); }

/* ─────────────────────────────────────────────
   Product grid + card
   ───────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-grid--shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.product-card--unavailable { opacity: 0.65; }

.product-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.15 / 1;
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.product-card__media img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.product-card__stock {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.96);
    color: var(--mint);
    border: 1px solid rgba(14, 17, 22, 0.06);
    box-shadow: 0 2px 8px rgba(14, 17, 22, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* В наличии / Под заказ / Нет — отличаются только цветом текста на белой подложке. */
.product-card__stock--out { color: var(--muted); }
.product-card__stock--preorder { color: var(--accent); }

/* Цветные бейджи поверх фото — лёгкая тень, чтобы читались на любой картинке. */
.product-card__badges .badge {
    box-shadow: 0 2px 8px rgba(14, 17, 22, 0.22);
}

.product-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card__brand {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
}

.product-card h3 a { color: var(--ink); }

.product-card h3 a:hover { color: var(--accent); }

.product-card__sub {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.product-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    background: var(--surface-soft);
}

.product-card__specs span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    font-size: 12px;
}

.product-card__specs small { color: var(--muted); font-size: 11px; }

.product-card__specs strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--sale { background: var(--hot); color: #fff; }
.badge--hit { background: var(--accent); color: #fff; }
.badge--new { background: var(--mint); color: #fff; }

.price-stack {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    color: var(--muted-soft);
    text-decoration: line-through;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.price {
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.015em;
}

.installment {
    color: var(--muted);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.installment::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.product-card__actions .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    box-shadow: none;
}

.product-card__actions .button:hover { box-shadow: 0 8px 16px rgba(27, 91, 255, 0.22); }

.product-card__fine {
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

/* ─────────────────────────────────────────────
   Catalog page
   ───────────────────────────────────────────── */
.catalog-page { padding: 36px 0 80px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumbs a { color: var(--muted); transition: color 0.18s ease; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumbs__sep { color: var(--muted-soft); }

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: end;
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, var(--ink) 0%, #1f2a3d 100%);
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.catalog-hero::before {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 91, 255, 0.32) 0%, transparent 70%);
    pointer-events: none;
}

.catalog-hero__copy { position: relative; z-index: 2; display: grid; gap: 14px; }
.catalog-hero__copy .eyebrow { color: var(--accent-tint); }
.catalog-hero__copy h1 { color: #fff; max-width: 560px; }
.catalog-hero__copy p { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 17px; max-width: 520px; }

.catalog-hero__chips {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: end;
}

.catalog-hero__chips a {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.catalog-hero__chips a:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.34); }
.catalog-hero__chips a.is-active { background: var(--accent); border-color: var(--accent); }

.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

.filter-toggle {
    display: none;
    margin-bottom: 16px;
    width: 100%;
}

.filter-panel {
    position: sticky;
    top: var(--filter-sticky-top);
    max-height: calc(100vh - var(--filter-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    scrollbar-width: thin;
}

.filter-panel::-webkit-scrollbar { width: 6px; }
.filter-panel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.filter-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.filter-panel__head strong {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.filter-panel__close {
    display: none;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.filter-group { border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }

.filter-group__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
    user-select: none;
    -webkit-user-select: none;
}
.filter-group__summary::-webkit-details-marker { display: none; }
.filter-group__summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    flex-shrink: 0;
    margin-top: -3px;
}
.filter-group[open] > .filter-group__summary::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.filter-group__summary:hover h3 { color: var(--ink); }
.filter-group__body { padding-bottom: 12px; }

.filter-group h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.14s ease;
}

.filter-option:hover { color: var(--accent); }

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--line-strong);
    border-radius: 5px;
    cursor: pointer;
    background: var(--surface);
    transition: background 0.18s ease, border-color 0.18s ease;
    flex-shrink: 0;
    position: relative;
}

.filter-option input[type="radio"] { border-radius: 50%; }

.filter-option input:checked {
    border-color: var(--accent);
    background: var(--accent);
}

.filter-option input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
}

.filter-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 50%;
}

.filter-panel__actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}

.catalog-toolbar__copy strong {
    display: block;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.catalog-toolbar__copy span {
    color: var(--muted);
    font-size: 13px;
}

.catalog-toolbar select {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 0 36px 0 14px;
    font-weight: 600;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b6573' d='M6 8.4L1.6 4l1.4-1.4L6 5.6l3-3L10.4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.catalog-empty {
    grid-column: 1 / -1;
    padding: 56px 32px;
    text-align: center;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px dashed var(--line-strong);
}

.catalog-empty h3 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.catalog-empty p { color: var(--muted); margin: 0 0 16px; }

/* Pagination */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.catalog-pagination a,
.catalog-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.catalog-pagination a:hover { border-color: var(--accent); color: var(--accent); }

.catalog-pagination .is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.catalog-pagination .is-disabled {
    color: var(--muted-soft);
    cursor: not-allowed;
    background: transparent;
    border-color: transparent;
}

.catalog-pagination__dots { background: transparent; border-color: transparent; padding: 0 6px; min-width: 0; color: var(--muted); }

/* ─────────────────────────────────────────────
   Product page
   ───────────────────────────────────────────── */
.product-page { padding: 28px 0 80px; }

.product-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: start;
    margin-top: 18px;
}

.product-gallery {
    display: grid;
    gap: 12px;
}

.product-gallery.has-thumbs {
    grid-template-columns: 80px minmax(0, 1fr);
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-gallery__thumbs button {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    transition: border-color 0.18s ease;
}

.product-gallery__thumbs button:hover { border-color: var(--accent); }
.product-gallery__thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

.product-gallery__thumbs img {
    width: 84%;
    height: 84%;
    object-fit: contain;
}

.product-gallery__main {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, #ffffff 0%, #eef1f4 100%);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
}

.product-gallery__main img {
    width: 88%;
    max-height: 90%;
    object-fit: contain;
    transition: opacity 0.16s ease;
}

.product-gallery__main img.is-swapping { opacity: 0; }

.product-info {
    position: sticky;
    top: var(--filter-sticky-top);
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
}

.product-info h1 {
    font-size: clamp(28px, 3.6vw, 40px);
    font-family: "Manrope", "Inter", sans-serif;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.product-info__brand {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.product-info__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
}

.product-info__rating span { color: var(--muted); font-weight: 500; }

.product-price-stack {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.product-price-stack .price {
    font-size: 36px;
    color: var(--ink);
}

.product-price-stack .old-price { font-size: 18px; }

.product-price-stack .badge { transform: translateY(-3px); }

.product-info__purchase {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 10px;
}

.product-info__perks {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.product-info__perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.product-info__perk-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.product-info__perk-icon svg { width: 18px; height: 18px; }

.product-info__perk strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.product-info__perk span { color: var(--muted); font-size: 13px; }

.product-info__quick-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.product-info__quick-spec {
    padding: 10px 12px;
    background: var(--surface-soft);
    border-radius: 10px;
}

.product-info__quick-spec span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.product-info__quick-spec strong {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

/* ─────────────────────────────────────────────
   Spec table (full)
   ───────────────────────────────────────────── */
.spec-table {
    margin-top: 56px;
    display: grid;
    gap: 24px;
}

.spec-table__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.spec-table__head h2 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(24px, 2.8vw, 32px);
    margin: 0;
}

.spec-table__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.spec-table__group {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.spec-table__group h3 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
}

.spec-table__row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.spec-table__row:last-child { border-bottom: 0; }

.spec-table__row dt {
    color: var(--muted);
    margin: 0;
}

.spec-table__row dd {
    color: var(--ink);
    margin: 0;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────────
   Description
   ───────────────────────────────────────────── */
.product-description {
    margin-top: 40px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}

.product-description h2 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 24px;
    margin-bottom: 14px;
}

.product-description p { color: var(--ink-soft); line-height: 1.65; }

/* ─────────────────────────────────────────────
   Related products
   ───────────────────────────────────────────── */
.related-products { margin-top: 64px; }

.related-products .product-grid { gap: 18px; }

@media (min-width: 1100px) {
    .related-products .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ─────────────────────────────────────────────
   FAQ accordion
   ───────────────────────────────────────────── */
.faq {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.faq__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.faq__item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq__question {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
    content: "+";
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.22s ease;
    line-height: 1;
}

.faq__item[open] .faq__question::after { transform: rotate(45deg); }

.faq__answer {
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.65;
}

/* ─────────────────────────────────────────────
   Manager card / consultation
   ───────────────────────────────────────────── */
.manager-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.manager-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-soft);
    border: 2px solid var(--accent);
    padding: 3px;
    display: grid;
    place-items: center;
}

.manager-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.manager-card__avatar.is-placeholder {
    color: var(--accent);
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
    font-size: 32px;
}

.manager-card__copy small {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.manager-card__copy strong {
    display: block;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 4px 0;
}

.manager-card__copy p { margin: 0; color: var(--muted); font-size: 14px; }

.manager-card__cta {
    display: grid;
    gap: 8px;
}

@media (max-width: 720px) {
    .manager-card { grid-template-columns: 80px minmax(0, 1fr); }
    .manager-card__avatar { width: 70px; height: 70px; }
    .manager-card__cta { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────────
   Lead form / consultation block
   ───────────────────────────────────────────── */
.consultation-cta {
    padding: 36px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, var(--ink) 0%, #1f2a3d 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.consultation-cta::before {
    content: "";
    position: absolute;
    right: -80px; bottom: -120px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 91, 255, 0.30) 0%, transparent 70%);
}

.consultation-cta--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
    position: relative;
}

.consultation-cta__copy { position: relative; z-index: 2; }
.consultation-cta__copy .eyebrow { color: var(--accent-tint); }
.consultation-cta__copy h2 { color: #fff; font-family: "Manrope", "Inter", sans-serif; }
.consultation-cta__copy p { color: rgba(255, 255, 255, 0.78); margin: 14px 0 0; }

.lead-form {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
}

.lead-form input,
.lead-form textarea {
    min-height: 48px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 11px;
    padding: 0 16px;
    font-family: inherit;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 0;
    border-color: var(--accent-tint);
    background: rgba(255, 255, 255, 0.14);
}

.lead-form .button { box-shadow: none; }

.lead-form__notice {
    margin: 0;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.4;
}

.lead-form__notice--ok {
    background: rgba(46, 204, 113, 0.16);
    border: 1px solid rgba(46, 204, 113, 0.45);
    color: #d6ffe7;
}

.lead-form__notice--error {
    background: rgba(231, 76, 60, 0.16);
    border: 1px solid rgba(231, 76, 60, 0.45);
    color: #ffe0db;
}

/* ─────────────────────────────────────────────
   How-to-choose / benefits
   ───────────────────────────────────────────── */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.benefit-grid article {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.benefit-grid article:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.benefit-grid__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 14px;
}

.benefit-grid__icon svg { width: 22px; height: 22px; }

.benefit-grid h3 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.benefit-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Two wide scenario cards (How-to-choose) */
.benefit-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit-grid--two article { padding: 28px; }
.benefit-grid--two p { font-size: 15px; line-height: 1.6; }

/* Promo callout under the how-to-choose cards */
.howto-note {
    margin: 28px 0 0;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Scenario picker (homepage)
   ───────────────────────────────────────────── */
.scenario-picker {
    margin-top: 36px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.scenario-picker__head { display: grid; gap: 8px; margin-bottom: 22px; }

.scenario-picker__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.scenario-picker__controls button {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.scenario-picker__controls button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.scenario-picker__controls button.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.scenario-picker__result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: var(--surface-soft);
    border-radius: var(--radius);
}

.scenario-picker__result img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: opacity 0.16s ease;
}

.scenario-picker__result img.is-swapping { opacity: 0; }

.scenario-picker__body small {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.scenario-picker__body h3 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 6px 0;
}

.scenario-picker__body p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }

@media (max-width: 720px) {
    .scenario-picker__result { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────── */
.site-footer {
    padding: 64px 0 32px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.footer-grid a:not(.brand):not(.button) {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.74);
    transition: color 0.18s ease;
}

.footer-grid a:not(.brand):not(.button):hover { color: var(--accent-tint); }

.footer-grid p, .footer-grid > div > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

.brand--footer { color: #fff; margin-bottom: 14px; }

.footer-meta {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* ─────────────────────────────────────────────
   Mobile sticky CTA
   ───────────────────────────────────────────── */
.mobile-sticky {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(14, 17, 22, 0.10);
    gap: 10px;
}

.mobile-sticky .button { flex: 1; min-height: 48px; }

/* ─────────────────────────────────────────────
   Motion reveal — pure CSS fade-in on mount.
   No IntersectionObserver — sections never stay hidden if JS is slow,
   and full-page screenshot tools (Playwright) capture them correctly.
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .hero, .product-page > .container > * {
        animation: ebc-reveal 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }
    .product-grid > *, .category-tiles > *, .trust-strip__item, .benefit-grid > article, .faq__item, .spec-table__group {
        animation: ebc-reveal-up 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
        animation-delay: calc(var(--motion-index, 0) * 60ms);
    }
}

@keyframes ebc-reveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes ebc-reveal-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────
   Mobile filter sheet
   ───────────────────────────────────────────── */
body.is-filter-open { overflow: hidden; }

@media (max-width: 980px) {
    :root { --header-height: 64px; }

    .main-nav { display: none; }
    .header-actions .button:not(.button--small) { display: none; }
    .header-phone { display: none; }

    .hero { padding: 36px 0 48px; }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero__visual { aspect-ratio: 1.3 / 1; }
    .hero__panel { left: 14px; bottom: 14px; max-width: 200px; padding: 10px 12px; }

    .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .category-tiles { grid-template-columns: 1fr; }

    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .catalog-hero {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 22px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .filter-toggle { display: inline-flex; }

    .filter-panel {
        position: fixed;
        inset: 0;
        z-index: 50;
        max-height: none;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        padding-top: 24px;
    }

    body.is-filter-open .filter-panel {
        transform: translateX(0);
        box-shadow: 0 0 60px rgba(14, 17, 22, 0.30);
    }

    .filter-panel__close { display: inline-flex; }

    .product-summary {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-info { position: static; padding: 22px; }

    .product-gallery.has-thumbs { grid-template-columns: 1fr; }

    .product-gallery__thumbs {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
    }

    .product-gallery__thumbs button { width: 70px; flex-shrink: 0; scroll-snap-align: start; }

    .spec-table__groups { grid-template-columns: 1fr; }

    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; }

    .consultation-cta { padding: 26px; }
    .consultation-cta--split { grid-template-columns: 1fr; }

    .product-info__purchase { grid-template-columns: 1fr; }

    .mobile-sticky { display: flex; }
    body { padding-bottom: 84px; }
}

@media (max-width: 560px) {
    :root { --container: min(100vw - 24px, 1180px); }

    .section { padding: 56px 0; }

    .product-grid { grid-template-columns: 1fr; }

    .trust-strip { grid-template-columns: 1fr; }

    .benefit-grid { grid-template-columns: 1fr; }

    .product-card__actions { grid-template-columns: 1fr; }

    .hero__chips { gap: 6px; }
    .hero__chip { padding: 8px 12px; font-size: 13px; }

    .price { font-size: 22px; }
    .product-price-stack .price { font-size: 30px; }

    .catalog-hero { padding: 20px; }

    .footer-grid { grid-template-columns: 1fr; }

    .utility-rail span:nth-child(2) { display: none; }
}

/* ─────────────────────────────────────────────
   Brand strip (homepage)
   ───────────────────────────────────────────── */
.brand-strip {
    margin-top: 56px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.brand-strip__title {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 18px;
    font-family: "Manrope", "Inter", sans-serif;
}

.brand-strip__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.brand-strip__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--muted);
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 700;
    text-align: center;
    transition: color 0.18s ease, background 0.18s ease;
    min-height: 76px;
    position: relative;
    overflow: hidden;
}

.brand-strip__brand:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.brand-strip__brand strong {
    display: block;
    font-size: 16px;
    color: inherit;
    line-height: 1;
}

.brand-strip__brand small {
    font-size: 11px;
    color: var(--muted-soft);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .brand-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .brand-strip { padding: 18px; }
    .brand-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ─────────────────────────────────────────────
   Cookie banner (152-ФЗ / GDPR)
   ───────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: none;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(14, 17, 22, 0.96);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(14, 17, 22, 0.36);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 720px;
    margin: 0 auto;
}

.cookie-banner.is-visible {
    display: flex;
    animation: ebc-cookie-in 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes ebc-cookie-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.cookie-banner__copy {
    flex: 1;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-banner__copy a {
    color: var(--accent-tint);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__copy a:hover { color: #fff; }

.cookie-banner button {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.18s ease;
}

.cookie-banner button:hover { background: var(--accent-strong); }

@media (max-width: 560px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        bottom: 96px;
    }
    .cookie-banner button { width: 100%; }
}

/* ─────────────────────────────────────────────
   Delivery & payment page
   ───────────────────────────────────────────── */
.delivery-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #0e1116 0%, #16203a 58%, #1b2c5a 100%);
    color: #fff;
    padding: 56px 48px;
    margin-top: 20px;
}
.delivery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(27, 91, 255, 0.40), transparent 46%),
        radial-gradient(circle at 4% 92%, rgba(255, 91, 51, 0.18), transparent 42%);
    pointer-events: none;
}
.delivery-hero > * { position: relative; z-index: 1; }
.delivery-hero .eyebrow { color: var(--accent-tint); }
.delivery-hero h1 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    margin: 8px 0 0;
    color: #fff;
}
.delivery-hero__lead {
    margin: 16px 0 0;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}
.delivery-hero__actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.delivery-hero__stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.delivery-hero__stat {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.delivery-hero__stat strong { display: block; font-size: 16px; color: #fff; font-family: "Manrope", "Inter", sans-serif; }
.delivery-hero__stat span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.66); line-height: 1.4; }

.delivery-steps {
    list-style: none;
    counter-reset: step;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.delivery-steps li {
    counter-increment: step;
    position: relative;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.delivery-steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    font-size: 16px;
    font-family: "Manrope", "Inter", sans-serif;
    margin-bottom: 14px;
}
.delivery-steps h3 { font-family: "Manrope", "Inter", sans-serif; font-size: 16px; margin: 0 0 6px; }
.delivery-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 980px) {
    .delivery-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .delivery-hero { padding: 44px 32px; }
}
@media (max-width: 560px) {
    .delivery-hero { padding: 30px 20px; }
    .delivery-hero__stats { grid-template-columns: 1fr; }
    .delivery-steps { grid-template-columns: 1fr; }
}

/* Three responsive cards (payment / service) */
.benefit-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .benefit-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefit-grid--three { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   Print (basic)
   ───────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .mobile-sticky, .filter-panel, .catalog-toolbar, .product-info__purchase { display: none; }
    body { padding-bottom: 0; }
}

/* ─────────────────────────────────────────────
   Страница «Спасибо» (page-spasibo.php)
   ───────────────────────────────────────────── */
.thankyou {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.thankyou__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--mint);
    box-shadow: 0 14px 30px rgba(14, 167, 115, 0.32);
}
.thankyou__icon svg { width: 34px; height: 34px; }
.thankyou h1 { margin: 6px 0 14px; }
.thankyou__lead { color: var(--muted); font-size: 17px; margin: 0 auto 26px; max-width: 560px; }
.thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 22px;
}
.thankyou__contact { color: var(--muted); font-size: 15px; }
.thankyou__contact a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.thankyou__hours { display: block; margin-top: 4px; font-size: 13px; color: var(--muted-soft); }

/* ─────────────────────────────────────────────
   Модалка «Купить в 1 клик» (quick-order)
   ───────────────────────────────────────────── */
.quick-order[hidden] { display: none; }
.quick-order {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.quick-order__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 17, 22, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.quick-order__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 28px 26px;
    animation: quickOrderIn 0.22s ease;
}
@keyframes quickOrderIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.quick-order__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50%;
}
.quick-order__close:hover { background: var(--surface-soft); color: var(--ink); }
.quick-order__title { margin: 4px 0 6px; font-size: 22px; }
.quick-order__product {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 14px;
}
.quick-order__product[hidden] { display: none; }
.quick-order__fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
body.is-quick-order-open { overflow: hidden; }
@media (max-width: 560px) {
    .quick-order__dialog { padding: 26px 20px 22px; }
}

/* Quick-order: форма (светлая тема — модалка на белом фоне) */
.quick-order__form { display: grid; gap: 14px; }
.quick-order__label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.quick-order__form input[type="text"],
.quick-order__form input[type="tel"] {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.quick-order__form input::placeholder { color: var(--muted-soft); font-weight: 400; }
.quick-order__form input:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.quick-order__submit { width: 100%; margin-top: 2px; }

/* Карточка каталога: кнопки в одну строку, «Купить в 1 клик» не переносится */
.product-card__actions { display: flex; flex-wrap: wrap; }
.product-card__actions .button { flex: 1 1 auto; white-space: nowrap; }
