/* ============================================================
   КЛИМАТ ПРО — component styles
   ============================================================ */

.app-main { min-height: 60vh; }

/* ============ HEADER ============ */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr-top { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hdr-top-in { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.hdr-top-right { display: flex; gap: 22px; align-items: center; }
.hdr-main { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.hdr-catalog { padding: 12px 18px; font-weight: 600; flex-shrink: 0; }
.hdr-search { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 0 18px; height: 48px; transition: border-color .15s, background .15s; }
.hdr-search:focus-within { border-color: var(--accent); background: var(--surface); }
.hdr-search input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.hdr-search-clr { border: 0; background: none; color: var(--muted); display: grid; place-items: center; }

/* mobile header: phone + cart + burger cluster, and persistent search row */
.hdr-mobacts { display: none; align-items: center; gap: 6px; margin-left: auto; }
.hdr-mobic { position: relative; width: 42px; height: 42px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.hdr-mobic:active { background: var(--surface-2); }
.hdr-mobic-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warm); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.hdr-msearch { display: none; position: relative; align-items: center; gap: 9px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 0 14px; height: 44px; margin: 0 var(--gutter) 10px; }
.hdr-msearch:focus-within { border-color: var(--accent); background: var(--surface); }
.hdr-msearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.search-sug-m { left: calc(-1 * var(--gutter) + 0px); }

/* live search suggestions */
.search-sug { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 8px; z-index: 80; max-height: 70vh; overflow-y: auto; animation: fadeUp .16s ease both; }
.search-sug-sec + .search-sug-sec { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.search-sug-h { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); padding: 8px 12px 4px; }
.search-sug-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 0; background: none; border-radius: var(--r-md); cursor: pointer; text-align: left; transition: background .12s; }
.search-sug-item:hover, .search-sug-item:focus-visible { background: var(--accent-tint); }
.search-sug-thumb { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-3); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.search-sug-name { display: block; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-sug-all { width: 100%; margin-top: 4px; padding: 11px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--accent); font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border-radius: 0 0 var(--r-md) var(--r-md); }
.search-sug-all:hover { background: var(--accent-tint); }
.hdr-actions { display: flex; gap: 4px; }
.hdr-action { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: var(--ink-2); font-size: 11px; padding: 6px 10px; border-radius: var(--r-sm); transition: color .15s, background .15s; }
.hdr-action:hover { color: var(--accent); background: var(--accent-tint); }
.hdr-action-lbl { white-space: nowrap; }
.hdr-badge { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--warm); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.hdr-burger { display: none; }
.hdr-nav-wrap { border-top: 1px solid var(--line); }
.hdr-nav { display: flex; gap: 6px; height: 50px; align-items: center; }
.hdr-nav-item { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 9px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.hdr-nav-item:hover { background: var(--accent-tint); color: var(--accent); }

/* ============ MOBILE MENU ============ */
.mm-overlay { position: fixed; inset: 0; background: rgba(8,20,28,.5); z-index: 60; animation: fadeUp .2s; }
.mm-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 86vw); background: var(--surface); padding: 18px; overflow-y: auto; box-shadow: var(--sh-lg); }
.mm-section { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin: 18px 0 8px; }
.mm-search { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-pill); margin-bottom: 6px; }
.mm-search:focus-within { border-color: var(--accent); background: var(--surface); }
.mm-search > svg { color: var(--muted); flex-shrink: 0; }
.mm-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 15px; color: var(--ink); padding: 13px 0; }
.mm-search input::placeholder { color: var(--muted-2); }
.mm-search button { flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mm-link { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 13px 12px; border-radius: var(--r-sm); color: var(--ink); font-size: 15px; font-weight: 500; text-align: left; }
.mm-link:hover { background: var(--accent-tint); color: var(--accent); }

/* ============ BOTTOM NAV ============ */
.botnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.botnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 9px 0 8px; font-size: 10.5px; color: var(--muted); }
.botnav-item.active { color: var(--accent); }

/* ============ FOOTER ============ */
.ft { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 40px; }
.ft-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.ft-contact-main { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft-phone { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ft-msgr { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.ft-msgr-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; color: #fff; }
.ft-tg { background: #2AABEE; }
.ft-max { background: var(--accent); }
.ft-contact-where { display: flex; flex-direction: column; gap: 16px; }
.ft-where-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.ft-where-row > svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.ft-col-head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0 0 4px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); text-align: left; }
.ft-col-head > svg { display: none; color: var(--muted); transition: transform .2s; }
.ft-col-body { display: flex; flex-direction: column; gap: 11px; margin-top: 12px; }
.ft-link { background: none; border: 0; color: var(--muted); font-size: 14px; text-align: left; padding: 0; cursor: pointer; }
.ft-link:hover { color: var(--accent); }
.ft-pay-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ft-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ft-pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-pay-badge { padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); }
.ft-social { display: flex; gap: 10px; }
.ft-social-ic { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.ft-social-ic:hover { border-color: var(--accent); color: var(--accent); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ============ COMPARE BAR ============ */
.cmpbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 44; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(14,26,36,.1); }
.cmpbar-in { display: flex; justify-content: space-between; align-items: center; height: 68px; gap: 14px; }

/* ============ TOASTS ============ */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; box-shadow: var(--sh-lg); animation: fadeUp .25s; }
.toast.warn { background: var(--warm); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 78% -10%, var(--accent-soft), transparent 60%),
  radial-gradient(700px 500px at 110% 60%, var(--brand-100), transparent 55%); }
[data-dark="true"] .hero-bg { opacity: .5; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding-block: clamp(34px, 5vw, 64px); }
.hero-copy .display { margin: 18px 0 16px; }
.hero-copy .lead { max-width: 480px; }
.hero-chip { background: var(--surface); }
.hero-cta { display: flex; gap: 14px; margin: 26px 0 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-editorial .hero-in { grid-template-columns: 1fr; text-align: center; place-items: center; }
.hero-editorial .hero-copy .lead { margin-inline: auto; }
.hero-editorial .hero-cta, .hero-editorial .hero-stats { justify-content: center; }

/* ============ HERO CALC ============ */
.herocalc { padding: 26px; }
.herocalc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.herocalc-res { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface-2); border-radius: var(--r-md); padding: 14px 16px; margin: 18px 0 16px; }
.herocalc-badge { background: var(--accent); color: #fff; padding: 7px 13px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.btn-link { background: none; border: 0; color: var(--accent); font-weight: 600; font-size: 13.5px; padding: 10px 0 0; width: 100%; }
.hc-band { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: center; background: var(--accent-tint); border-radius: var(--r-xl); padding: clamp(24px,4vw,48px); }
.hc-band-copy .h2 { margin: 8px 0 12px; }

/* range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--surface-3); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: var(--sh-brand); border: 3px solid var(--surface); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--surface); }

/* dual-handle price range */
.price-pill { background: var(--surface-3); border-radius: var(--r-sm); padding: 5px 11px; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.dualrange { position: relative; height: 26px; display: flex; align-items: center; }
.dualrange-track { position: absolute; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--surface-3); }
.dualrange-fill { position: absolute; height: 6px; border-radius: 3px; background: var(--accent); }
.dualrange input[type=range] { position: absolute; left: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 26px; }
.dualrange input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); cursor: pointer; box-shadow: var(--sh-sm); }
.dualrange input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); cursor: pointer; }
.dualrange input[type=range]::-webkit-slider-runnable-track { background: none; }

/* segmented */
.seg { display: flex; background: var(--surface-2); border-radius: var(--r-sm); padding: 4px; gap: 4px; }
.seg-btn { flex: 1; border: 0; background: none; padding: 10px 8px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all .15s; }
.seg-btn.active { background: var(--surface); color: var(--accent); font-weight: 600; box-shadow: var(--sh-sm); }

/* ============ TRUST STRIP ============ */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -28px; position: relative; z-index: 2; }
.trust-item { display: flex; gap: 13px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-sm); }
.trust-item strong { display: block; font-size: 14.5px; }
.trust-item .small { display: block; }
.trust-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }

/* ============ CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; text-align: left; background: var(--surface); cursor: pointer; align-items: flex-start; }
.cat-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--accent); }
.cat-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.cat-name { font-weight: 700; font-size: 15px; }
.cat-arrow { position: absolute; top: 18px; right: 16px; color: var(--muted-2); opacity: 0; transition: opacity .2s, transform .2s; }
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(3px); color: var(--accent); }

/* ============ SEASON BANNER ============ */
.season-banner { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(30px,5vw,56px); background: linear-gradient(120deg, var(--brand-700), var(--brand-500)); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.season-banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.season-copy { position: relative; z-index: 1; }
.season-copy .h1 { margin: 16px 0 12px; }
.season-art { position: relative; z-index: 1; flex-shrink: 0; }
.season-sale { width: 150px; height: 150px; border-radius: 50%; background: var(--warm); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(232,115,44,.4); text-align: center; line-height: 1.1; }
.season-sale .tnum { font-size: 40px; font-weight: 800; display: block; }
@media (max-width: 760px){ .season-art { display: none; } }

/* ============ REVIEWS ============ */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-card { padding: 24px; }
.rev-card p { line-height: 1.55; }
.rev-foot { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.rev-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }

/* ============ CTA BAND ============ */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px,4vw,40px); background: var(--surface); flex-wrap: wrap; }
.cta-band .h2 { margin-bottom: 6px; }

/* ============ PRODUCT CARD ============ */
.pcard { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; position: relative; }
.pcard:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: var(--accent); }
.pcard-media { position: relative; background: var(--surface-2); }
.pcard-media .imgslot { border-radius: 0; }
.pcard-disc { position: absolute; top: 12px; right: 12px; background: var(--sale); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 9px; border-radius: var(--r-xs); z-index: 2; }
.pcard-role { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badges-abs { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card-quick { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 3; opacity: 0; transform: translateX(8px); transition: all .2s; }
.pcard:hover .card-quick { opacity: 1; transform: none; }
.pcard-disc + .card-quick { top: 48px; }
.card-qbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--sh-sm); transition: all .15s; }
.card-qbtn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.card-qbtn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: var(--pad-card); flex: 1; }
.pcard-brand { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.pcard-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.pcard-meta { margin-top: -2px; }
.feat-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.feat-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); background: var(--surface-2); padding: 5px 9px; border-radius: var(--r-pill); font-weight: 500; }
.pcard-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price-now { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.price-old { font-size: 13.5px; color: var(--muted-2); text-decoration: line-through; }
.price-save { font-size: 12px; color: var(--eco); font-weight: 600; }
.btn-cart { width: 46px; height: 46px; border-radius: 13px; border: 0; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; transition: all .15s; }
.btn-cart:hover { background: var(--accent); color: #fff; box-shadow: var(--sh-brand); }

/* cardstyle variants */
[data-cardstyle="classic"] .card-quick { position: static; flex-direction: row; opacity: 1; transform: none; justify-content: flex-end; padding: 0 var(--pad-card); margin-top: 10px; }
[data-cardstyle="classic"] .pcard-disc + .card-quick { top: auto; }
[data-cardstyle="minimal"] .pcard { border-color: transparent; box-shadow: none; background: none; }
[data-cardstyle="minimal"] .pcard-media { border-radius: var(--r-md); overflow: hidden; }
[data-cardstyle="minimal"] .pcard-media .imgslot { border-radius: var(--r-md); }
[data-cardstyle="minimal"] .pcard-body { padding-inline: 2px; }
[data-cardstyle="minimal"] .pcard-foot { border-top: 0; }
[data-cardstyle="minimal"] .pcard:hover { transform: translateY(-3px); box-shadow: none; border-color: transparent; }
[data-cardstyle="minimal"] .feat-dots { display: none; }

/* ============ MODAL / QUICK VIEW ============ */
.modal-overlay { position: fixed; inset: 0; background: rgba(8,20,28,.55); backdrop-filter: blur(3px); z-index: 70; display: grid; place-items: center; padding: 20px; animation: fadeUp .2s; }
.modal { position: relative; background: var(--surface); border-radius: var(--r-xl); width: 100%; max-width: 880px; max-height: 90vh; overflow: hidden; box-shadow: var(--sh-lg); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { padding: 26px; background: var(--surface-2); }
.qv-media .imgslot { border-radius: var(--r-md); }
.qv-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
.qv-thumb { aspect-ratio: 1; border-radius: 10px; }
.qv-info { padding: 30px; overflow-y: auto; max-height: 90vh; }
.qv-specs { margin: 18px 0; display: flex; flex-direction: column; gap: 2px; }
.qv-buy { border-top: 1px solid var(--line); padding-top: 18px; }
.specrow { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; font-size: 14px; }
.specrow-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.on-fav { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }

/* ============ CATALOG ============ */
.catalog-head { padding: 22px 0 8px; }
.crumbs button { background: none; border: 0; color: inherit; padding: 0; }
.crumbs button:hover { color: var(--accent); }
.catalog-head .h1 { margin: 8px 0 4px; }
.catalog-layout { display: grid; grid-template-columns: 268px 1fr; gap: 30px; max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 60px; align-items: start; }
.catalog-aside { position: sticky; top: calc(var(--header-h) + 76px); max-height: calc(100vh - var(--header-h) - 96px); overflow-y: auto; padding-right: 6px; }
.fgroup { border-bottom: 1px solid var(--line); padding: 6px 0; }
.fgroup-head { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; padding: 12px 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.fgroup-body { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.fcheck input { display: none; }
.fcheck-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; flex-shrink: 0; transition: all .15s; }
.fcheck input:checked + .fcheck-box { background: var(--accent); border-color: var(--accent); color: #fff; }
.montage-opt input:checked + .fcheck-box, .addon input:checked + .fcheck-box { background: var(--accent); border-color: var(--accent); color: #fff; }
.fcheck:hover .fcheck-lbl { color: var(--accent); }
.aside-help { margin-top: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--accent-tint); border-color: transparent; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.catalog-filter-btn { display: none; }
.tbadge { background: var(--accent); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; display: inline-grid; place-items: center; }
.catalog-sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.select-sm { width: auto; padding: 9px 12px; font-size: 14px; }
.applied { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* ============ SMART SEARCH (умный поиск) ============ */
.smartbar { background: linear-gradient(135deg, var(--accent-tint), var(--surface)); border: 1.5px solid var(--accent-soft); border-radius: var(--r-lg); padding: 14px; margin-bottom: 18px; }
.smartbar-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 4px 6px 4px 14px; transition: border-color .15s, box-shadow .15s; }
.smartbar-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.smartbar-spark { color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.smartbar-input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); font-family: inherit; padding: 10px 0; }
.smartbar-input::placeholder { color: var(--muted-2); }
.smartbar-go { flex-shrink: 0; border-radius: var(--r-pill); }
.smartbar-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 4px 2px; }
.smartbar-examples { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.smart-eg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: all .15s; font-family: inherit; }
.smart-eg:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.smartbar-understood { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.smart-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; background: var(--accent); color: var(--on-accent); }
.smart-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.smart-chip-price { background: var(--warm); }
.smart-chip-stock { background: var(--eco); }
.smart-chip-noise { background: var(--brand-500); }
.fcheck-stock { padding: 10px 12px; margin-bottom: 6px; background: var(--accent-tint); border-radius: var(--r-md); font-weight: 600; color: var(--ink); }
.search-sug-thumb-smart { background: var(--accent); color: var(--on-accent); }
.search-sug-smart { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: var(--accent-tint); border-radius: var(--r-md); cursor: pointer; margin-bottom: 4px; transition: background .15s; }
.search-sug-smart:hover { background: var(--accent-soft); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 50px 30px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(8,20,28,.5); z-index: 65; animation: fadeUp .2s; }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 90vw); background: var(--surface); padding: 18px; overflow-y: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-foot { position: sticky; bottom: 0; background: var(--surface); display: flex; gap: 10px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); }

/* ============ PRODUCT PAGE ============ */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 16px var(--gutter) 0; }
.pg-gallery { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.pg-main { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.pg-main .imgslot { border-radius: 0; }
.pg-fav { position: absolute; top: 16px; right: 16px; z-index: 3; }
.pg-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.pg-thumb { aspect-ratio: 1; border-radius: 12px; border: 2px solid transparent; cursor: pointer; }
.pg-thumb.active { border-color: var(--accent); }
.pg-keyspecs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0; }
.pg-shortdesc { margin: 18px 0 0; line-height: 1.6; }
.keyspec { display: flex; flex-direction: column; gap: 3px; padding: 14px; background: var(--surface-2); border-radius: var(--r-md); }
.keyspec strong { font-size: 15px; }
.pg-buy { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pg-buy-variants { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; margin-top: 2px; border-top: 1px solid var(--line); }
.pg-buy-variants .capsw { margin: 0; }
.pg-buy-variants .pwadvice { margin: 0; }
.montage-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .15s; }
.montage-opt.on { border-color: var(--accent); background: var(--accent-tint); }
.montage-opt input { display: none; }

/* promo + installment + addons */
.input-sm { padding: 10px 12px; font-size: 14px; }
.promo { margin-top: 14px; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { flex: 1; }
.promo-applied { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--eco-soft); border-radius: var(--r-md); }
.promo-remove { margin-left: auto; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.plan { margin-top: 14px; }
.plan-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--surface-2); border-radius: var(--r-md); padding: 4px; }
.plan-opt { border: 0; background: none; padding: 9px 4px; border-radius: calc(var(--r-md) - 4px); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.plan-opt.on { background: var(--surface); color: var(--accent); box-shadow: var(--sh-sm); }
.plan-info { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .15s; }
.addon.on { border-color: var(--accent); background: var(--accent-tint); }
.addon input { display: none; }
.addon-tag { display: inline-block; background: var(--warm); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: middle; text-transform: uppercase; letter-spacing: .03em; }
.pg-total { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-pay { display: flex; flex-direction: column; gap: 6px; }
.pg-pay span { display: flex; align-items: center; gap: 7px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tab.active { color: var(--accent); border-color: var(--accent); }
.tab-body { padding: 26px 0; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; max-width: 860px; }
.prose p { margin-bottom: 14px; line-height: 1.6; }
.prose-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.prose-list li { display: flex; align-items: center; gap: 10px; }

/* gallery hover-zoom + hint */
.pg-main { overflow: hidden; }
.pg-main .imgslot, .pg-main image-slot { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.pg-main:hover .imgslot { transform: scale(1.12); }
.pg-zoom-hint { position: absolute; bottom: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); padding: 6px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); opacity: 0; transition: opacity .2s; pointer-events: none; }
.pg-main:hover .pg-zoom-hint { opacity: 1; }
.pg-thumb { padding: 0; overflow: hidden; background: var(--surface-2); }

/* комплектация */
.inbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; }
.inbox-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 500; }
.inbox-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--eco-soft); color: var(--eco); display: grid; place-items: center; flex-shrink: 0; }

/* reviews block */
.rev-block { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.rev-summary { padding: 24px; text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.rev-avg { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.rev-summary .rating { justify-content: center; margin-top: 8px; }
.rev-bars { display: flex; flex-direction: column; gap: 7px; margin: 18px 0; }
.rev-bar-row { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; }
.rev-bar-row > span:first-child { display: inline-flex; align-items: center; gap: 2px; justify-content: flex-end; }
.rev-bar { height: 7px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.rev-bar i { display: block; height: 100%; background: var(--star, #F5A623); background: #F5A623; border-radius: 4px; transition: width .5s; }
.rev-recommend { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.rev-list { display: flex; flex-direction: column; gap: 14px; }
.rev-list .rev-card { padding: 20px 22px; }
.rev-actions { margin-top: 14px; }
.rev-helpful { background: none; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.rev-helpful:hover { border-color: var(--accent); color: var(--accent); }

/* mobile sticky buy bar */
.pg-stickybuy { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 44; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(14,26,36,.12); padding: 12px 16px; gap: 12px; align-items: center; }
.pg-stickybuy-call { flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--r-md); background: var(--eco-soft); color: var(--eco); display: grid; place-items: center; }
.pg-stickybuy-call:active { background: var(--eco); color: #fff; }

/* recommended — accessories/consumables */
.addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.addon-card-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.addon-card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.addon-card-name { font-size: 15px; line-height: 1.25; }
.addon-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.addon-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon-svc { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; transition: transform .15s, box-shadow .15s; min-width: 0; }
.addon-svc > div { min-width: 0; }
.addon-svc strong, .addon-svc .muted { overflow: hidden; text-overflow: ellipsis; }
.addon-svc:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.addon-svc-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.addon-svc-go { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; font-size: 13px; white-space: nowrap; }

/* ============ CALCULATOR ============ */
.calc-hero { background: linear-gradient(125deg, var(--brand-800), var(--brand-600)); padding: clamp(36px,5vw,70px) 0 clamp(40px,5vw,80px); }
.calc-hero .display { margin: 14px 0 14px; }
.calc-layout { display: grid; grid-template-columns: 1fr 420px; gap: 30px; max-width: var(--maxw); margin: -50px auto 0; padding: 0 var(--gutter); align-items: start; }
.calc-form { padding: 30px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.calc-row strong { display: block; } .calc-row .small { display: block; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.stepper button:hover { color: var(--accent); }
.stepper span { min-width: 40px; text-align: center; font-weight: 700; }
.calc-result { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; }
.calc-gauge { padding: 26px; text-align: center; }
.calc-big { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1; margin: 10px 0 2px; }
.calc-big span { font-size: 26px; }
.calc-btu { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.calc-bars { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.calc-bar { display: grid; grid-template-columns: 80px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.calc-bar .bar { height: 8px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.calc-bar .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .4s; }
.calc-bar b { text-align: right; }

/* ============ CART ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 16px; padding: 16px; }
.cart-thumb { width: 120px; flex-shrink: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; }
.cart-info { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cart-name { font-size: 16px; font-weight: 600; cursor: pointer; margin: 2px 0; }
.cart-name:hover { color: var(--accent); }
.cart-del { background: none; border: 0; color: var(--muted-2); padding: 4px; }
.cart-del:hover { color: var(--sale); }
.cart-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; }
.cart-summary .h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; }
.cart-guar { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.cart-guar span { display: flex; align-items: center; gap: 8px; }
.co-thumb { width: 50px; height: 50px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.co-thumb .imgslot { border-radius: 0; }

/* ============ CHECKOUT ============ */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 20px; }
.step { flex: 1; display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.step.active { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.step.done { color: var(--eco); }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 13px; }
.step.active .step-num { background: var(--accent); color: #fff; }
.step.done .step-num { background: var(--eco); color: #fff; }
.checkout-card { padding: 26px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .15s; }
.radio-card.on { border-color: var(--accent); background: var(--accent-tint); }
.radio-card input { display: none; }
.radio-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; }
.radio-card.on .radio-dot { border-color: var(--accent); }
.radio-card.on .radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.ok-circle { width: 76px; height: 76px; border-radius: 50%; background: var(--eco-soft); color: var(--eco); display: grid; place-items: center; }

/* ============ COMPARE ============ */
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.cmp-table th, .cmp-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cmp-rowlabel { color: var(--muted); font-weight: 500; width: 150px; position: sticky; left: 0; background: var(--bg); }
.cmp-prodhead { position: relative; vertical-align: top; background: var(--surface); border-bottom: 2px solid var(--line); width: 220px; }
.cmp-del { position: absolute; top: 6px; right: 6px; background: var(--surface-2); border: 0; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); }
.cmp-del:hover { background: var(--sale-soft); color: var(--sale); }
.cmp-thumb { border-radius: var(--r-md); overflow: hidden; cursor: pointer; }
.cmp-table tbody tr:hover { background: var(--surface-2); }
.cmp-diff td:not(.cmp-rowlabel) { background: var(--accent-tint); font-weight: 600; }

/* ============ SERVICES ============ */
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.svc-card { position: relative; padding: 24px; display: flex; flex-direction: column; }
.svc-card.popular { border-color: var(--accent); box-shadow: var(--sh-md); }
.svc-pop { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); }
.svc-card .h3 { margin-bottom: 10px; }
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.proc-step { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.proc-num { position: absolute; top: 18px; right: 20px; font-size: 38px; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.proc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.proc-step strong { display: block; margin-bottom: 6px; font-size: 16px; }
.svc-form { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-form .input { flex: 1; min-width: 160px; }

/* ============ SERVICE DETAIL PAGES ============ */
.svc-hero { background: linear-gradient(125deg, var(--brand-800), var(--brand-600)); padding: clamp(30px,4vw,56px) 0 clamp(40px,5vw,64px); }
.svc-hero-in { margin-top: 18px; }
.svc-hero-meta { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.svc-hero-meta > div { display: flex; flex-direction: column; gap: 3px; }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.svc-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-incl-item { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 500; font-size: 14px; }
.svc-incl-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--eco-soft); color: var(--eco); display: grid; place-items: center; flex-shrink: 0; }
.svc-bookcard { padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.svc-bookcard-row { display: flex; align-items: center; gap: 10px; }
.svc-tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc-tier { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.svc-tier.popular { border-color: var(--accent); box-shadow: var(--sh-md); }
.svc-tier-price { line-height: 1.2; }
.svc-tier-feats { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.svc-tier-feat { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.svc-signs { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc-sign { padding: 24px; }
.svc-sign-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; }
.svc-sign strong { display: block; margin-bottom: 6px; }
.svc-other-grid, .svc-pages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.svc-other { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.svc-other:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.svc-other-ic, .svc-page-ic, .home-svc-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--surface-2); flex-shrink: 0; }
.svc-page-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; text-align: left; transition: transform .15s, box-shadow .15s; }
.svc-page-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.svc-page-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; font-size: 13.5px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: none; border: 0; font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; color: var(--ink); }
.faq-a { padding: 0 22px 20px; line-height: 1.6; }

/* home services + b2b */
.home-svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.home-svc-card { display: flex; align-items: center; gap: 14px; padding: 20px; cursor: pointer; text-align: left; transition: transform .15s, box-shadow .15s; }
.home-svc-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.home-svc-price { display: inline-block; margin-top: 6px; color: var(--accent); font-weight: 700; }
.home-b2b { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(28px,4vw,48px); background: linear-gradient(120deg, var(--brand-800), var(--brand-600)); flex-wrap: wrap; position: relative; overflow: hidden; }
.home-b2b::before { content: ""; position: absolute; right: -40px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); }
.home-b2b-copy { position: relative; z-index: 1; flex: 1; min-width: 280px; }
.home-b2b-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-b2b-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: #fff; padding: 7px 13px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.home-b2b-stats { position: relative; z-index: 1; display: flex; gap: 30px; }
.home-b2b-stats > div { display: flex; flex-direction: column; gap: 4px; }

/* services -> b2b teaser */
.b2b-teaser { display: flex; align-items: center; gap: 20px; padding: 24px 28px; cursor: pointer; transition: transform .15s, box-shadow .15s; width: 100%; text-align: left; background: var(--surface); }
.b2b-teaser:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.b2b-teaser-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }

/* ============ B2B PAGE ============ */
.b2b-hero { background: linear-gradient(125deg, #0b2233, var(--brand-700)); padding: clamp(30px,4vw,56px) 0 clamp(40px,5vw,72px); }
.b2b-hero-in { margin-top: 18px; }
.b2b-hero-stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.b2b-hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.b2b-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.b2b-card { padding: 26px; }
.b2b-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.b2b-card strong { display: block; margin-bottom: 6px; font-size: 17px; }
.b2b-seg { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: clamp(24px,4vw,40px); }
.b2b-seg-list { display: flex; flex-wrap: wrap; gap: 10px; }
.b2b-seg-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 500; font-size: 14px; }
.b2b-seg-img { border-radius: var(--r-lg); overflow: hidden; }
.b2b-form-band { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: clamp(28px,4vw,48px); background: linear-gradient(125deg, var(--brand-800), var(--brand-600)); align-items: center; }
.b2b-form-copy { color: #fff; }
.b2b-form-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.b2b-form-contacts a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.b2b-form { background: var(--surface); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.b2b-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============ MODAL / BOOKING ============ */
.modal-overlay { position: fixed; inset: 0; background: rgba(8,20,28,.55); backdrop-filter: blur(3px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeUp .2s ease both; }
.modal { background: var(--surface); border-radius: var(--r-xl); width: 100%; max-width: 540px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--sh-lg); animation: modalIn .25s cubic-bezier(.22,.61,.36,1) both; }
@keyframes modalIn { from { transform: translateY(20px) scale(.97); opacity: 0; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.booking-steps { display: flex; gap: 6px; padding: 14px 24px 0; }
.bstep { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted-2); flex: 1; }
.bstep-num { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); color: var(--muted); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.bstep.active { color: var(--ink); } .bstep.active .bstep-num { background: var(--accent); color: #fff; }
.bstep.done .bstep-num { background: var(--eco); color: #fff; }
.bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.bk-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: all .15s; }
.bk-day:hover { border-color: var(--accent); }
.bk-day.on { border-color: var(--accent); background: var(--accent-tint); }
.bk-day.weekend .bk-day-n { color: var(--warm); }
.bk-day-w { color: var(--muted); text-transform: lowercase; }
.bk-day-n { font-size: 18px; font-weight: 700; }
.bk-day-m { color: var(--muted); }
.bk-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bk-slot { position: relative; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14.5px; transition: all .15s; }
.bk-slot:hover:not(:disabled) { border-color: var(--accent); }
.bk-slot.on { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.bk-slot:disabled { opacity: .5; cursor: not-allowed; }
.bk-slot-busy { display: block; font-size: 11px; color: var(--warm); font-weight: 500; margin-top: 2px; }
.bk-summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--accent-tint); border-radius: var(--r-md); }

/* ============ CHAT WIDGET ============ */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--sh-lg); cursor: pointer; transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab.hidden { display: none; }
.chat-fab-dot { position: absolute; top: 12px; right: 12px; width: 11px; height: 11px; border-radius: 50%; background: var(--warm); border: 2px solid var(--accent); }
.chat-win { position: fixed; right: 22px; bottom: 22px; z-index: 86; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 44px)); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); display: flex; flex-direction: column; overflow: hidden; animation: modalIn .25s cubic-bezier(.22,.61,.36,1) both; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--brand-700), var(--brand-500)); color: #fff; }
.chat-head-ava { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
.chat-head .btn-icon { color: #fff; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.85); }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #5BE39A; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-msg.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.chat-quick { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chat-chip { align-self: flex-start; background: var(--surface); border: 1px solid var(--accent); color: var(--accent); padding: 9px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s; text-align: left; }
.chat-chip:hover { background: var(--accent-tint); }
.chat-typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: chatBlink 1.2s infinite both; }
.chat-typing i:nth-child(2) { animation-delay: .2s; } .chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }
.chat-actions { padding: 10px 14px 0; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 11px 16px; font-size: 14px; outline: none; background: var(--surface-2); color: var(--ink); }
.chat-input input:focus { border-color: var(--accent); background: var(--surface); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.chat-send:disabled { opacity: .4; cursor: default; }

/* ============ ACCOUNT ============ */
.acc-head { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 22px; }
.acc-ava { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.acc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.acc-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.acc-navitem { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); background: none; border: 0; color: var(--ink-2); font-size: 15px; font-weight: 500; text-align: left; }
.acc-navitem:hover { background: var(--surface); }
.acc-navitem.active { background: var(--accent); color: #fff; }
.acc-count { margin-left: auto; background: var(--surface-3); color: var(--ink-2); min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.acc-navitem.active .acc-count { background: rgba(255,255,255,.25); color: #fff; }
.order { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.order-active { border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); box-shadow: var(--sh-sm); }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; width: 100%; }
.order-items { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.order-detail { display: flex; flex-direction: column; gap: 14px; animation: fadeUp .2s ease both; }
.order-meta { display: flex; flex-direction: column; gap: 8px; }
.order-meta-row { display: flex; justify-content: space-between; gap: 14px; }

/* order tracker timeline */
.tracker { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px 0 2px; }
.tracker-line { position: absolute; top: 21px; left: 10%; right: 10%; height: 3px; background: var(--surface-3); border-radius: 2px; }
.tracker-line i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .5s cubic-bezier(.22,.61,.36,1); }
.tracker-step { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; position: relative; z-index: 1; }
.tracker-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2.5px solid var(--surface-3); color: var(--muted-2); transition: all .2s; }
.tracker-step.done .tracker-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.tracker-step.active .tracker-dot { background: var(--surface); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.tracker-step.active .tracker-dot { animation: trackerPulse 2s ease-in-out infinite; }
@keyframes trackerPulse { 0%,100% { box-shadow: 0 0 0 4px var(--accent-tint); } 50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--accent) 12%, transparent); } }
.tracker-lbl { color: var(--muted); line-height: 1.2; }
.tracker-step.done .tracker-lbl, .tracker-step.active .tracker-lbl { color: var(--ink); font-weight: 600; }
.tracker-eta { font-size: 11px; color: var(--accent); font-weight: 600; max-width: 90px; line-height: 1.2; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px){
  /* switch header to burger before the desktop row outgrows the viewport */
  .hdr-top, .hdr-catalog, .hdr-search, .hdr-actions, .hdr-nav-wrap { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-mobacts { display: flex; }
  .hdr-msearch { display: flex; }
  .hdr-main { gap: 14px; height: 60px; }
  /* on mobile only the compact top bar (logo + phone + cart + burger) stays stuck;
     the search row scrolls away */
  .hdr { position: static; }
  .hdr-main { position: sticky; top: 0; z-index: 41; background: var(--surface); border-bottom: 1px solid var(--line); }
  .hdr-msearch { position: relative; z-index: 39; }
  .botnav { display: flex; }
  .app-main { padding-bottom: 64px; }
  .cmpbar { bottom: 60px; }
  /* service-upsell strip must compress on tablet */
  .addon-svc-grid { grid-template-columns: 1fr 1fr; }
  .addon-grid { grid-template-columns: 1fr 1fr 1fr; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px){
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-side { max-width: 440px; }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
  .ft-contact { grid-template-columns: 1fr; gap: 26px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 992px){
  .hdr-top, .hdr-catalog, .hdr-search, .hdr-actions, .hdr-nav-wrap { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-main { gap: 14px; }
  .botnav { display: flex; }
  .app-main { padding-bottom: 64px; }
  .cmpbar { bottom: 60px; }
  .catalog-layout, .product-top, .cart-layout, .checkout-layout, .acc-layout, .calc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-detail-grid, .b2b-form-band, .b2b-seg, .home-b2b { grid-template-columns: 1fr; }
  .svc-tier-grid, .svc-signs, .svc-other-grid, .svc-pages-grid, .b2b-grid, .home-svc-grid { grid-template-columns: 1fr 1fr; }
  .addon-grid { grid-template-columns: 1fr 1fr; }
  .addon-svc-grid { grid-template-columns: 1fr; }
  .svc-bookcard { position: static; }
  .home-b2b-stats { gap: 24px; }
  .chat-win { right: 12px; bottom: 12px; height: min(560px, calc(100vh - 80px)); }
  .chat-fab { right: 16px; bottom: 74px; }
  .catalog-aside { display: none; }
  .catalog-filter-btn { display: inline-flex; }
  .pg-gallery, .cart-summary, .calc-result, .acc-nav, .catalog-aside { position: static; }
  .acc-nav { flex-direction: row; overflow-x: auto; }
  .calc-layout { margin-top: -30px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .svc-grid, .proc-grid { grid-template-columns: 1fr 1fr; }
  .qv-grid { grid-template-columns: 1fr; }
  .qv-media { display: none; }
  .specs-grid { grid-template-columns: 1fr; }
  .hc-band { grid-template-columns: 1fr; }
  .rev-block { grid-template-columns: 1fr; }
  .rev-summary { position: static; }
  .inbox-grid { grid-template-columns: 1fr 1fr; }
  .pg-stickybuy { display: flex; bottom: 60px; }
  .pg-info { padding-bottom: 8px; }
  /* lift chat FAB above the floating compare bar when it's visible */
  body:has(.cmpbar) .chat-fab { bottom: 140px; }
  body:has(.cmpbar) .app-main { padding-bottom: 140px; }
  /* when the mobile sticky buy-bar is present, lift the chat FAB above it,
     hide the redundant floating compare bar, and pad content so nothing hides behind it */
  body:has(.pg-stickybuy) .chat-fab { bottom: 152px; }
  body:has(.pg-stickybuy) .cmpbar { display: none; }
  body:has(.pg-stickybuy) .app-main { padding-bottom: 150px; }
}
@media (max-width: 560px){
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .svc-grid, .proc-grid { grid-template-columns: 1fr; }
  .svc-tier-grid, .svc-signs, .svc-other-grid, .svc-pages-grid, .b2b-grid, .home-svc-grid, .svc-incl, .b2b-form-row, .bk-slots { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .svc-hero-meta { gap: 24px; }
  .booking-steps .bstep span:not(.bstep-num) { display: none; }
  .bk-day { padding: 8px 2px; }
  .bk-day-n { font-size: 16px; }
  .hero-stats { gap: 22px; }
  .steps { flex-direction: column; }
  .cart-item { flex-direction: column; }
  .cart-thumb { width: 100%; height: 160px; }
  /* compact mobile product cards: drop feature chips, always-show fav heart, tighten */
  .pcard-body { gap: 5px; padding: 11px; }
  .pcard .feat-dots { display: none; }
  .pcard-title { font-size: 14px; }
  .pcard-meta { font-size: 12px; }
  .pcard-stock { font-size: 12px; }
  .pcard-foot { margin-top: auto; padding-top: 10px; }
  .price-now { font-size: 18px; }
  .btn-cart { width: 40px; height: 40px; }
  .pcard .card-quick { opacity: 1; transform: none; top: 10px; right: 10px; }
  .pcard-disc + .card-quick { top: 44px; }
  .pcard .card-qbtn { width: 34px; height: 34px; }
  .pcard .card-qbtn:nth-child(2), .pcard .card-qbtn:nth-child(3) { display: none; }
  /* ===== touch targets: min 44px on phones ===== */
  .hdr-mobic { width: 44px; height: 44px; }
  .hdr-msearch { height: 48px; }
  .hdr-msearch input { align-self: stretch; }
  .seg-btn, .plan-opt { min-height: 44px; }
  .pcard .card-qbtn { width: 40px; height: 40px; }
  .btn-cart { width: 44px; height: 44px; }
  /* fix discounted card: keep price on one line, old price below, cart aligned */
  .pcard-foot { align-items: center; gap: 8px; }
  .pcard-foot .price-block { min-width: 0; flex: 1; }
  .pcard-foot .price-block .row { flex-direction: column; align-items: flex-start; gap: 0; }
  .price-now { white-space: nowrap; font-size: 17px; }
  .price-old { font-size: 12.5px; }
  .ft-msgr-btn { min-height: 44px; }
  .ft-social-ic { width: 44px; height: 44px; }
  .btn-icon { min-width: 44px; min-height: 44px; }
  .chip, .rev-sit-chip, .qa-helpful, .rev-helpful, .smart-eg { min-height: 38px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr; gap: 0; }
  .ft-col { border-bottom: 1px solid var(--line); }
  .ft-col-head { padding: 16px 0; }
  .ft-col-head > svg { display: block; }
  .ft-col.open .ft-col-head > svg { transform: rotate(180deg); }
  .ft-col-body { display: none; margin-top: 0; padding-bottom: 16px; }
  .ft-col.open .ft-col-body { display: flex; }
  .ft-pay-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft-phone { font-size: 24px; }
  .pg-keyspecs { grid-template-columns: 1fr 1fr; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
