/* ============================================================================
 * site.css — дизайн-токены и общие компоненты. Без фреймворков.
 * ========================================================================= */

/* Self-hosted variable fonts: no request to Google Fonts at runtime. */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/static/fonts/montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/static/fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/static/fonts/open-sans-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/static/fonts/open-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    --bg:         #ffffff;
    --bg-soft:    #f4f4f6;
    --bg-card:    #f1f1f1;
    --bg-dark:    #1f2128;
    --bg-darker:  #14161c;

    --text:       #1a1a1a;
    --text-dim:   #454547;
    --text-mute:  #8a93a6;
    --text-on-dark: #ffffff;
    --border:     #e6eaf0;
    --border-strong: #d3d8e0;

    --primary:        #7b1e2c;
    --primary-hover:  #5d1421;
    --primary-soft:   #f3e5e7;
    /* CTA (Call-to-Action) — кнопки «Купить», «Оставить заявку» и пр.
       Изолировано от --primary, чтобы менять цвет действий не задевая бренд. */
    --cta:            #1f7a3a;
    --cta-hover:      #155726;

    --accent:         #ff8562;
    --accent-new:     #24d366;
    --accent-yellow:  #f5a623;
    --accent-purple:  #5b21b6;

    --tg:        #4a73ea;
    --wa:        #24d366;
    --max-c:     #ff7f00;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    --container:  1280px;
    --shadow-card: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lift: 0 8px 24px rgba(0,0,0,0.10);

    --header-h:  88px;
    --topbar-h:  36px;

    --slider-padding-desktop: 100px;
    --slider-padding-mobile: 15px;

    /* ---- fluid scaling tokens — плавность между планшетом и 4К/ultrawide ----
       Шкала рассчитана для viewport 480px → 1920px. Дальше — заморожена на max
       (чтобы 4К с системным zoom 150% не выдавал гигантских заголовков). */
    --container-fluid-max: 1600px;                          /* потолок ширины контента на ultrawide */
    --side-pad-fluid:      clamp(15px, 5vw, 120px);          /* плавный боковой padding, замена 100px */
    --fs-hero:             clamp(28px, 2.5vw + 16px, 64px);  /* .hero__title (был 56px) */
    --fs-h1:               clamp(22px, 1.3vw + 16px, 40px);  /* h1, .p-info__title, .info-body h1 */
    --fs-h2:               clamp(20px, 0.9vw + 16px, 32px);  /* h2, .section__title, .business-card h2 */
    --fs-h3:               clamp(18px, 0.5vw + 16px, 24px);  /* подзаголовки 24-26px */
}

/* ----------------------- reset ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text);
    font-weight: 700;
    margin: 0 0 0.5em;
    line-height: 1.2;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; }

/* ----------------------- top warning bar (legacy fallback) ----------------------- */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    line-height: var(--topbar-h);
    text-align: center;
    padding: 0 16px;
    overflow: hidden;
}
.top-bar a { color: #fff; text-decoration: underline; }
.top-bar.gray { background: #e9eaee; color: var(--text-dim); }

/* ----------------------- info-cards banner (rotating top) ----------------------- */
/* Используется на ВСЕХ страницах вместо статичной top-bar — чтобы при навигации
   между страницами цвет плашки совпадал (без резкого «прыжка» цвета). */
.panda-info-cards {
    --ic-text-color: #fff;
    --ic-card-padding: 8px 24px;
    --ic-card-padding-mobile: 7px 16px;
    --ic-font-size: 12px;
    --ic-font-size-mobile: 11px;
    --ic-fade-duration: 0.5s;

    width: 100%;
    background: #009ce6; /* стартовый bg — потом JS меняет на текущий слайд */
    overflow: hidden;
    box-sizing: border-box;
    font-family: var(--font-head);
    min-height: 32px;
}
.panda-info-cards *,
.panda-info-cards *::before,
.panda-info-cards *::after { box-sizing: border-box; }

.ic-container { width: 100%; margin: 0 auto; padding: 0; }
.ic-layout { position: relative; }
.ic-viewport {
    position: relative;
    overflow: hidden;
    transition: background-color var(--ic-fade-duration) ease;
    min-height: 32px;
}
.ic-track {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}
.ic-card {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ic-card-padding);
    color: var(--ic-text-color) !important;
    text-decoration: none !important;
    cursor: default;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ic-fade-duration) ease,
                visibility var(--ic-fade-duration) ease;
    z-index: 1;
}
.ic-card.ic-active { opacity: 1; visibility: visible; z-index: 2; }
.ic-card[href] { cursor: pointer; }
.ic-card[href]:hover .ic-card-text { text-decoration: underline !important; }
.ic-card-text {
    font-size: var(--ic-font-size);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    max-width: 100%;
    color: var(--ic-text-color) !important;
}
.ic-link-icon {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.8;
    transition: transform .2s ease, opacity .2s ease;
}
.ic-card[href]:hover .ic-link-icon { transform: translateX(3px); opacity: 1; }
@media (max-width: 980px) {
    .ic-card { padding: var(--ic-card-padding-mobile); min-height: 28px; }
    .ic-card-text { font-size: var(--ic-font-size-mobile); }
}

/* ----------------------- header ----------------------- */
.site-header {
    position: relative;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.site-header__row {
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}
/* nav-wrap занимает середину строки и центрирует ссылки — так
   Каталог/О магазине/Гарантии/Оплата/Контакты оказываются строго
   над категориями pill-nav. */
.site-header__nav-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.site-header__logo {
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.site-header__logo-image {
    display: block;
    width: 150px;
    height: auto;
}
.site-header__logo-text {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--text);
    line-height: 1;
    white-space: nowrap;
}
.site-header__logo-accent {
    color: var(--primary);
    font-weight: 600;
    margin-left: 2px;
}
.site-header__nav {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-header__nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}
.site-header__nav a:hover { color: var(--primary); text-decoration: none; }
.site-header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
    line-height: 1.2;
    font-size: 13px;
}
.site-header__email {
    color: var(--text-dim);
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
}
.site-header__email:hover { color: var(--primary); text-decoration: none; }
.site-header__phone {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
}
.site-header__phone:hover { color: var(--primary); text-decoration: none; }
.site-header__callback {
    font-size: 11px;
    color: var(--primary);
    text-decoration: underline;
    text-decoration-style: dotted;
}
.site-header__callback:hover { text-decoration: none; }

.site-header__socials-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.site-header__socials-note {
    font-size: 11px;
    color: var(--text-mute);
    white-space: nowrap;
}
.site-header__socials {
    display: flex;
    align-items: center;
    gap: 6px;
}
.soc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: filter .15s ease, transform .15s ease;
}
.soc-pill:hover { filter: brightness(1.08); transform: translateY(-1px); }
.soc-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.soc-pill img { width: 14px; height: 14px; object-fit: contain; }
.soc-pill--tg { background: #009ce6; }
.soc-pill--max { background: linear-gradient(135deg, #7b3bcf 0%, #ff5a8a 100%); }
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-header__actions .icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    padding: 0;
    cursor: pointer;
}
.site-header__actions .icon-btn:hover { background: #ebeef3; }
.site-header__actions .icon-btn img { width: 16px; height: 16px; }
.site-header__actions .cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: #d93535;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

/* Mobile/tablet — упрощение header'а */
@media (max-width: 1180px) {
    .site-header__contacts { gap: 10px; }
    .site-header__phone-note { display: none; }
    .site-header__socials .soc-pill span { display: none; }
    .soc-pill { padding: 6px; width: 28px; height: 28px; justify-content: center; }
}
@media (max-width: 980px) {
    .site-header__nav,
    .site-header__contacts { display: none; }
    .site-header__row { padding: 10px 16px; gap: 12px; }
}

/* ----------------------- pill nav ----------------------- */
/* Тёмные закруглённые пилюли, sticky к верхней кромке. Два состояния:
   - Top: непрозрачные тёмные #44474a
   - Sticky (body.is-scrolled): полупрозрачные с blur'ом
   Переключение классов — site.js → initStickyPillNav. */
.pill-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    padding: 16px 0;
    transition: padding .25s ease;
}
.pill-nav__row {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--slider-padding-desktop, 100px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
}
.pill-nav__group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: #44474a;
    border-radius: 50px;
    transition: background .25s ease, backdrop-filter .25s ease;
}
.pill-nav__group--icons {
    gap: 8px;
    padding: 6px 14px;
}
body.is-scrolled .pill-nav { padding: 10px 0; }
body.is-scrolled .pill-nav__group {
    background: rgba(68,71,74,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.pill-nav__item {
    background: transparent;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 50px;
    transition: background .15s, color .15s;
}
.pill-nav__item:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}
.pill-nav__item.is-active,
.pill-nav__item--lead {
    background: #fff;
    color: #1a1a1a;
}
.pill-nav__spacer { flex: 1; }
.pill-nav__icon {
    width: 62px;
    height: 38px;
    border: 1px solid #44474a;
    border-radius: 30px;
    background: #fff;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: border-color .25s ease, transform .15s ease;
}
.pill-nav__icon:hover {
    background: #fff;
    transform: translateY(-1px);
}
.pill-nav__icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0);
}
body.is-scrolled .pill-nav__icon { border-color: transparent; }
.pill-nav__icon .cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #d93535;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}
.cart-count[hidden] { display: none !important; }

/* ----------------------- Search overlay ----------------------- */
/* Полноэкранный модал поиска, открывается по #searchBtn.
   Реализация: server/lib/render-layout.js → renderSearchOverlay(),
   JS — initSearch в site.js. */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: flex-start;
    justify-content: center;
}
.search-overlay.is-open { display: flex; }
.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.search-overlay__panel {
    position: relative;
    background: #fff;
    width: min(640px, 92vw);
    max-height: 86vh;
    margin-top: 80px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}
.search-form__icon {
    display: inline-flex;
    color: #7a8089;
    flex-shrink: 0;
}
.search-form__input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    color: #1a1a1a;
    padding: 6px 4px;
}
.search-form__input::placeholder { color: #a0a4a8; }
.search-form__close {
    border: 0;
    background: transparent;
    color: #7a8089;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    border-radius: 50%;
    transition: background 0.15s ease-in-out;
}
.search-form__close:hover { background: #f0f0f0; color: #000; }

.search-results {
    overflow-y: auto;
    max-height: 70vh;
    padding: 8px 0;
}
.search-results__hint,
.search-results__empty {
    padding: 20px 16px;
    color: #888;
    font-size: 14px;
    text-align: center;
}
.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease-in-out;
}
.search-result:hover { background: #f7f7f7; }
.search-result__media {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-result__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.search-result__body {
    flex: 1;
    min-width: 0;
}
.search-result__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.search-result__price {
    font-size: 13px;
    color: #7a8089;
    margin-top: 2px;
}

@media (max-width: 720px) {
    .search-overlay__panel {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .search-form__input { font-size: 16px; }
    .search-results { max-height: none; flex: 1; }
}

/* Pulse-анимация при добавлении товара в корзину. Класс .cart-pulse
   навешивается из updateCartBadge() в site.js при росте total. */
@keyframes cartPulse {
    0%   { transform: scale(1);   }
    25%  { transform: scale(1.35); }
    50%  { transform: scale(0.95); }
    75%  { transform: scale(1.15); }
    100% { transform: scale(1);   }
}
.cart-pulse { animation: cartPulse 0.7s ease-in-out; }
@media (max-width: 980px) {
    .pill-nav__row {
        padding: 0 var(--slider-padding-mobile, 15px);
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
        overflow: hidden;
    }
    .pill-nav__group--main {
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }
    .pill-nav__group--main::-webkit-scrollbar { display: none; }
    .pill-nav__spacer { display: none; }
    .pill-nav__group--icons { flex: 0 0 auto; }
}
@media (max-width: 720px) {
    .pill-nav__row { gap: 6px; }
    .pill-nav__item { padding: 6px 12px; font-size: 13px; }
}

/* ----------------------- pill-nav LOGO + mobile-icons ----------------------- */
/* На десктопе LOGO + кнопки burger/call живут в DOM, но скрыты — на мобилке
   они становятся главной шапкой. */
.pill-nav__logo {
    display: none;
    text-decoration: none;
    color: #fff;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.06em;
    align-items: center;
    padding: 0 12px;
    white-space: nowrap;
}
.pill-nav__logo-image {
    display: block;
    width: 110px;
    height: auto;
}
/* Два span'а под текст логотипа — на разных breakpoints можно показывать
   разные надписи через CSS без JS. */
.pill-nav__logo-text--mobile { display: none; }
@media (max-width: 720px) {
    .pill-nav__logo-text--desktop { display: none; }
    .pill-nav__logo-text--mobile  { display: inline; }
}
.pill-nav__icon--call { display: none; }

/* На мобилке: шапка скрыта, pill-nav становится одной тёмной пилюлей
   с LOGO (слева) + 📞 + ⌕ + 🛒 (справа). Категории скрыты — доступны
   через нижний bottom-bar. */
@media (max-width: 720px) {
    .site-header { display: none !important; }
    .pill-nav { padding: 10px 0; }
    .pill-nav__row {
        padding: 0 12px;
        gap: 0;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        /* Единая пилюля с заметной прозрачностью + frosted-glass —
           «слипание» между call и search раньше было из-за плотного
           #44474a; теперь rgba+blur, фон страницы просвечивает. */
        background: rgba(68,71,74,0.55);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-radius: 28px;
        max-width: calc(100% - 24px);
        margin: 0 12px;
        min-height: 48px;
        padding-right: 6px;
    }
    body.is-scrolled .pill-nav__row {
        background: rgba(68,71,74,0.4);
    }
    /* LOGO и группа иконок снова внутри одной общей пилюли —
       никаких своих фонов. !important чтобы перебить
       body.is-scrolled .pill-nav__group {background: rgba…} который
       применяется и на мобиле. */
    .pill-nav__logo { background: transparent !important; }
    .pill-nav__group,
    .pill-nav__group--icons,
    body.is-scrolled .pill-nav__group,
    body.is-scrolled .pill-nav__group--icons {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0;
    }
    .pill-nav__group--main { display: none; }
    .pill-nav__spacer { display: none; }
    .pill-nav__group--icons {
        gap: 4px;
        padding: 0;
        margin-left: auto;
    }
    .pill-nav__logo {
        display: inline-flex;
        padding: 0 10px;
        min-width: 0;
        overflow: hidden;
        flex-shrink: 1;
    }
    /* Инверсный wordmark не должен растягиваться на весь исходный SVG
       viewBox, иначе при узком экране он визуально обрезается справа. */
    .pill-nav__logo-image { width: 104px; max-width: 100%; }
    .pill-nav__icon--call { display: inline-flex; }
    .pill-nav__icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: #fff;
        color: #1a1a1a;
        flex-shrink: 0;
    }
    body.is-scrolled .pill-nav__icon { border-color: transparent; }
    .pill-nav__icon--cart { display: none; }
}

/* ----------------------- container ----------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------- breadcrumbs ----------------------- */
.breadcrumbs {
    font-size: 13px;
    color: var(--text-mute);
    margin: 18px 0 8px;
}
.breadcrumbs a { color: var(--text-mute); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs__sep { margin: 0 4px; }

/* ----------------------- hero ----------------------- */
.hero { margin: 24px 0 40px; }
.hero__slide {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1280 / 480;
    background: linear-gradient(135deg, #182027, #2a3441);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 64px;
}
.hero__slide img.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20,28,40,.72) 0%, rgba(20,28,40,.45) 35%, rgba(20,28,40,0) 70%);
    z-index: 0;
    pointer-events: none;
}
.hero__overlay { position: relative; z-index: 1; max-width: 560px; }
.hero__title {
    font-size: var(--fs-hero);
    line-height: 1;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -1px;
}
.hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,.85);
    margin-bottom: 24px;
}
.hero__cta {
    display: inline-block;
    background: #fff;
    color: var(--text);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}
.hero__cta:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ----------------------- section ----------------------- */
.section { margin: 56px 0; }
.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.section__title { font-size: var(--fs-h2); margin: 0; }
.section__link { color: var(--text-dim); font-size: 14px; font-weight: 500; }

/* ----------------------- popular row ----------------------- */
.popular-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.popular-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    color: var(--text);
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s ease;
    text-decoration: none;
}
.popular-card:hover { box-shadow: var(--shadow-card); text-decoration: none; }
.popular-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    display: block;
}
.popular-card__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.popular-card__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* ----------------------- catalog grid ----------------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cat-tile {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .15s ease;
}
.cat-tile:hover { box-shadow: var(--shadow-card); }
.cat-tile__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    margin: 0 0 10px;
}
.cat-tile__title-link { color: inherit; text-decoration: none; }
.cat-tile__title-link:hover { color: var(--primary); }
.cat-tile__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}
.cat-tile__list a { color: var(--text-dim); text-decoration: none; }
.cat-tile__list a:hover { color: var(--primary); }
.cat-tile__more {
    margin-top: auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding-top: 12px;
    text-decoration: none;
}
.cat-tile__more::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.cat-tile__img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 130px;
    height: 130px;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
}

/* ----------------------- product card ----------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.product-card__media {
    /* Белый фон, чтобы прозрачные PNG не превращались в бежевый прямоугольник
       (раньше был --bg-soft и фотки без фона выглядели "подкрашенными"). */
    background: #fff;
    border-radius: var(--radius-sm);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 12px;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 4px;
    min-height: 2.6em;
}
.product-card__title a { color: var(--text); }
/* SKU скрыт от покупателей: оставляем в DOM (для микроразметки/JS),
   но визуально не показываем. Если потребуется снова — убрать display:none. */
.product-card__sku { display: none; }
/* «В наличии» скрыт от покупателей. Оставлено в DOM на случай если
   потребуется снова показать (для статуса pre-order или out-of-stock). */
.product-card__status { display: none; }
.product-card__price {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 4px;
}
.product-card__price--request {
    font-size: 17px;
    color: var(--primary);
}
.product-card__price-old {
    font-size: 13px;
    color: var(--text-mute);
    text-decoration: line-through;
    margin-bottom: 10px;
    min-height: 18px; /* зарезервировано всегда чтобы карточки выровнялись по высоте даже когда old_price нет */
}
.product-card__variant {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text);
    background: #fff;
    margin-bottom: 10px;
}
.product-card__cta { display: flex; gap: 8px; margin-top: auto; }

/* ----------------------- badges ----------------------- */
.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.product-card__badges .badge { position: static; }
.badge--top { background: var(--accent); }
.badge--new { background: var(--accent-new); }
.badge--sale { background: var(--primary); }

/* ----------------------- buttons ----------------------- */
/* HTML-атрибут [hidden] должен скрывать .btn — без этого правила
   .btn { display: inline-flex } перекрывает user-agent [hidden]{display:none}.
   Без него «Показать ещё» оставалась видимой даже после loadBtn.hidden=true.
   Распространяем на любой компонент с собственным display: — иначе невидимые
   overlay-контейнеры (.mobile-call-sheet, .search-overlay, etc.) растягиваются
   inset:0 и перехватывают клики на странице. */
[hidden] { display: none !important; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); color: #fff; }
.btn--secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--bg-soft); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #3d61d4; color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1eb858; color: #fff; }
.btn--max { background: var(--max-c); color: #fff; }
.btn--max:hover { background: #e87000; color: #fff; }
.btn--small { padding: 7px 14px; font-size: 12px; }
.btn--large { padding: 14px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ----------------------- consult ----------------------- */
.consult {
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 0;
    padding: 48px 56px;
    position: relative;
}
.consult__title { font-size: var(--fs-h2); color: #fff; margin: 0 0 12px; }
.consult__sub { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.consult__form { display: flex; gap: 8px; flex-wrap: wrap; }
.consult__form input {
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}
.consult__bg {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 480px;
    z-index: 0;
    opacity: 0.85;
}

/* ----------------------- B2B card ----------------------- */
.business-card {
    background: var(--accent-purple);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 56px 0;
}
.business-card h2 { color: #fff; font-size: var(--fs-h2); }
.business-card__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

/* ----------------------- services ----------------------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 28px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.service-card h3 { font-size: 22px; margin: 0; }
.service-card__icon {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 64px; height: 64px;
    opacity: 0.6;
}

/* ----------------------- benefits ----------------------- */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 56px 0;
}
.benefit { text-align: center; padding: 16px; }
.benefit__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    object-fit: contain;
}
.benefit__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 6px;
}
.benefit__sub { font-size: 13px; color: var(--text-dim); }

/* ----------------------- marquee ----------------------- */
.marquee {
    background: var(--primary);
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    margin: 32px 0;
}
.marquee__track {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}
.marquee__track span { padding: 0 32px; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ----------------------- 4 серые карточки преимуществ ----------------------- */
/* Используются и на главной, и на странице товара. */
.home-benefits {
    margin: 40px auto 56px;
}
.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.home-benefit {
    position: relative;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.home-benefit:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.home-benefit__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    z-index: 2;
}
.home-benefit__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: .85;
}
.home-benefit__title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.25;
    max-width: 70%;
}
.home-benefit__sub {
    color: var(--text-dim, #555);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    z-index: 2;
}
@media (max-width: 980px) {
    .home-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .home-benefits__grid { grid-template-columns: 1fr; }
}

/* ----------------------- решения для бизнеса (2 карточки) ----------------------- */
/* Раскрытие на всю ширину контейнера, чтобы выравнивалось с benefits/tabs. */
.home-business { margin: 56px auto 40px; }
.home-business__title {
    font-family: var(--font-head);
    font-size: var(--fs-h2);
    font-weight: 700;
    margin: 0 0 24px;
    text-align: left;
}
.home-business__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.biz-card {
    position: relative;
    background: #f1f1f1;
    border-radius: 14px;
    overflow: hidden;
    padding: 24px 26px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.biz-card--bg {
    background-size: cover;
    background-position: center;
    color: #fff;
}
.biz-card--bg .biz-card__title { color: #fff; }
.biz-card__body {
    position: relative;
    z-index: 2;
    max-width: 80%;
}
.biz-card__title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text);
    line-height: 1.2;
}
.biz-card__sub {
    color: var(--text-dim, #555);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.biz-card__cta {
    align-self: flex-start;
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 18px;
    position: relative;
    z-index: 3;
    transition: background .15s, color .15s;
}
.biz-card__cta--light { background: #fff; color: var(--text); }
.biz-card__cta--light:hover { background: #f0f0f0; color: var(--text); text-decoration: none; }
.biz-card__cta--gray  { background: #939393; color: #fff; }
.biz-card__cta--gray:hover  { background: #6f6f6f; color: #fff; text-decoration: none; }
.biz-card__img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    max-height: 60%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 980px) {
    .home-business__grid { grid-template-columns: 1fr; }
    .biz-card { min-height: 220px; }
}

/* ----------------------- footer ----------------------- */
.site-footer {
    background: var(--bg-darker);
    color: #c9ccd1;
    padding: 56px 0 24px;
    margin-top: 80px;
}
.site-footer__logo { display: inline-block; text-decoration: none; }
.site-footer__logo-image {
    display: block;
    width: 170px;
    height: auto;
}
.site-footer__logo-text {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 24px;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.site-footer h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
}
.site-footer__col a,
.site-footer__col span {
    display: block;
    color: #c9ccd1;
    font-size: 13px;
    padding: 4px 0;
}
.site-footer__col a:hover { color: #fff; text-decoration: none; }
.site-footer__social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.site-footer__social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.site-footer__social img { width: 18px; height: 18px; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-mute);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ----------------------- megamenu ----------------------- */
.megamenu-trigger { position: relative; }
.megamenu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-lift);
    z-index: 80;
    display: none;
}
.megamenu.is-open { display: block; }
.megamenu__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: var(--container);
    margin: 0 auto;
}
.megamenu__tile {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.megamenu__tile:hover {
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
}
.megamenu__tile img {
    position: absolute;
    top: 12px; right: 12px; bottom: 30px; left: 12px;
    width: calc(100% - 24px);
    height: auto;
    object-fit: contain;
    margin: auto;
}

/* ----------------------- mobile bottom bar ----------------------- */
/* По эталону: плавающая серая пилюля внизу с 5 пунктами
   (Главная / Каталог / Корзина / WhatsApp / Telegram). */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 10px; left: 12px; right: 12px;
    background: rgba(160,162,165,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px;
    padding: 8px 6px;
    z-index: 90;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.mobile-bar__row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2px;
}
.mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    gap: 4px;
    padding: 4px 2px;
    min-width: 0;
}
.mobile-bar a img { width: 24px; height: 24px; object-fit: contain; }

/* Корзина в mobile-bar — обёртка для badge поверх иконки */
.mobile-bar__cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}
.mobile-bar__cart-icon .cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #d93535;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid rgba(160,162,165,1);
    line-height: 1;
}
/* WA и TG иконки — цветные круги (как на эталоне) */
.mobile-bar a[href*="wa.me"] img,
.mobile-bar a[href*="t.me"] img,
.mobile-bar .mobile-bar__call img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 5px;
    background: #fff;
}
.mobile-bar a[href*="wa.me"] img { background: #25d366; }
.mobile-bar a[href*="t.me"] img { background: #009ce6; }
.mobile-bar .mobile-bar__call img { background: #1f7a3a; }
/* Если PNG-иконки телефона нет — рисуем CSS-эмодзи в подложке. */
.mobile-bar .mobile-bar__call img[style*="display: none"] + ::before,
.mobile-bar .mobile-bar__call img[style*="display:none"] {
    content: "📞";
}

/* ------------------- mobile call sheet ------------------- */
/* Bottom-sheet с двумя кнопками: tel: и заказ обратного звонка.
   Открывается из mobile-bar (#mobileCallBtn). Логика — site.js → initMobileCallSheet. */
.mobile-call-sheet {
    position: fixed; inset: 0; z-index: 2300;
    display: flex; flex-direction: column; justify-content: flex-end;
    opacity: 0;
    transition: opacity .18s ease-out;
}
.mobile-call-sheet.is-open { opacity: 1; }
.mobile-call-sheet__bg {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(2px);
}
.mobile-call-sheet__card {
    position: relative;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 22px 20px 28px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .18);
    transform: translateY(100%);
    transition: transform .25s cubic-bezier(.2,.7,.3,1);
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0));
}
.mobile-call-sheet.is-open .mobile-call-sheet__card { transform: translateY(0); }
.mobile-call-sheet__title {
    margin: 0 0 16px;
    font-family: var(--font-head, inherit);
    font-size: 18px; font-weight: 700;
    color: var(--text, #1a1a1a);
    text-align: center;
}
.mobile-call-sheet__close {
    position: absolute; top: 10px; right: 10px;
    width: 38px; height: 38px;
    background: transparent; border: 0;
    color: var(--text-dim, #888);
    font-size: 22px; cursor: pointer;
    border-radius: 10px;
}
.mobile-call-sheet__close:hover { background: rgba(0,0,0,.05); }
.mobile-call-sheet__btn {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; padding: 14px 16px;
    border: 0; border-radius: 14px;
    font-family: inherit; font-size: 15px;
    cursor: pointer; text-decoration: none;
    text-align: center;
    transition: background .15s, transform .08s;
    gap: 4px;
}
.mobile-call-sheet__btn:active { transform: scale(.99); }
.mobile-call-sheet__btn--primary {
    background: var(--cta, #1f7a3a); color: #fff;
    box-shadow: 0 4px 12px rgba(31, 122, 58, .25);
}
.mobile-call-sheet__btn--primary:hover { background: #186230; }
.mobile-call-sheet__btn--ghost {
    background: #f3eee6; color: #2a2024;
    border: 1.5px solid #e6d9c2;
}
.mobile-call-sheet__btn--ghost:hover { background: #ece4d6; }
.mobile-call-sheet__btn-label { font-weight: 600; font-size: 15px; line-height: 1.2; }
.mobile-call-sheet__btn-sub { font-size: 13px; opacity: .85; font-weight: 400; }
.mobile-call-sheet__or {
    display: flex; align-items: center; gap: 10px;
    margin: 14px 0;
    color: var(--text-dim, #999);
    font-size: 12px; font-weight: 600;
    letter-spacing: 1.5px;
}
.mobile-call-sheet__or::before,
.mobile-call-sheet__or::after {
    content: ""; flex: 1; height: 1px; background: rgba(0,0,0,.1);
}
@media (max-width: 720px) {
    .mobile-bar { display: block; }
    /* Резервируем место под нижний bar. background-clip: padding-box —
       padding-зона у body раньше была белой («странная полоска»);
       background-color уходит только под content-area, а padding-зона
       пробрасывает фон <html> (тёмный = цвет футера). */
    body {
        padding-bottom: 80px;
        background-clip: padding-box;
    }
    html { background: var(--bg-darker); }
}

/* ----------------------- info-page ----------------------- */
.info-body {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 56px;
    margin: 24px 0 56px;
    box-shadow: var(--shadow-card);
    max-width: 920px;
}
.info-body h1 { font-size: var(--fs-h1); margin-bottom: 24px; }
.info-body h2 { font-size: 22px; margin: 28px 0 12px; }
.info-body ul li { margin-bottom: 6px; }

/* ----------------------- responsive ----------------------- */
@media (max-width: 1024px) {
    h1 { font-size: 28px; }
    .hero__title { font-size: 36px; }
    .hero__slide { padding: 0 32px; aspect-ratio: 4/3; }
    .popular-row { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .consult { grid-template-columns: 1fr; padding: 32px; }
    .consult__bg { display: none; }
    .business-card { grid-template-columns: 1fr; padding: 32px; }
    .services { grid-template-columns: 1fr; }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-header__nav { display: none; }
    .megamenu__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .site-header__row { padding: 10px 16px; gap: 12px; }
    .site-header__contacts { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { padding: 12px; }
    .product-card__title { font-size: 13px; }
    .product-card__price { font-size: 17px; }
    .hero { margin: 12px 0 24px; }
    .hero__title { font-size: 26px; }
    .hero__subtitle { font-size: 14px; }
    .section { margin: 32px 0; }
    .section__title { font-size: 22px; }
    .info-body { padding: 24px 20px; }
    .megamenu__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ========================================================================== */
/* Lead intake — honeypot field + consult-form status message                */
/* ========================================================================== */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

.consult__status {
    grid-column: 1 / -1;
    padding: 10px 14px;
    margin-top: 6px;
    border-radius: var(--radius-sm, 6px);
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}
