:root{
  --primary:#0b6c64;--primary-2:#119488;--primary-dark:#064d48;
  --bg:#f3f7f6;--surface:#fff;--surface-2:#f8fbfa;--ink:#142421;
  --muted:#667874;--line:#dbe8e5;--success:#168e5b;--danger:#d64b46;
  --warning:#b46b17;--shadow:0 18px 55px rgba(16,53,48,.10);
  --shadow-soft:0 8px 28px rgba(16,53,48,.07);--radius:22px;--header:76px;
}
html[data-theme="dark"]{
  --bg:#0d1715;--surface:#14221f;--surface-2:#182925;--ink:#edf8f5;
  --muted:#9db0ab;--line:#2a3e39;--shadow:0 20px 60px rgba(0,0,0,.28);
  --shadow-soft:0 8px 28px rgba(0,0,0,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Manrope,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);transition:background .25s,color .25s}
body.modal-open{overflow:hidden}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{width:min(1240px,calc(100% - 32px));margin:auto}
.topbar{background:#073f3a;color:#dff6f2;font-size:12px;padding:8px 0}
.topbar-inner{display:flex;justify-content:space-between;gap:18px}
.site-header{position:sticky;top:0;z-index:60;border-bottom:1px solid color-mix(in srgb,var(--line) 85%,transparent);background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(18px)}
.header-inner{height:var(--header);display:flex;align-items:center;gap:28px}
.logo{font-weight:800;font-size:22px;letter-spacing:-.8px;color:var(--primary)}
.logo span{color:var(--primary-2)}
.nav{display:flex;gap:24px;font-size:14px;font-weight:700;color:var(--muted)}
.nav a:hover{color:var(--primary-2)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:11px}
.phone{font-weight:800;color:var(--primary)}
.header-cta,.primary-btn,.submit-btn{border:0;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-radius:13px;padding:12px 17px;font-weight:800;box-shadow:0 8px 20px rgba(11,108,100,.22);transition:.2s}
.header-cta:hover,.primary-btn:hover,.submit-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(11,108,100,.27)}
.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);font-size:20px}
.hero{padding:34px 0 24px}
.hero-card{position:relative;overflow:hidden;min-height:450px;border-radius:34px;padding:62px 58px;background:
 radial-gradient(circle at 85% 20%,rgba(98,244,218,.25),transparent 28%),
 linear-gradient(125deg,#063e39,#0b7167 62%,#12a293);color:#fff;box-shadow:var(--shadow)}
.hero-copy{position:relative;z-index:2;max-width:710px}
.eyebrow,.section-kicker{display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:1.2px;font-weight:800}
.eyebrow{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2)}
.section-kicker{color:var(--primary-2)}
.hero h1{font-size:clamp(40px,5vw,66px);line-height:1.01;letter-spacing:-2.4px;margin:20px 0 16px;max-width:760px}
.hero p{font-size:18px;line-height:1.65;color:#d7f1ed;max-width:660px}
.hero-actions{display:flex;gap:12px;margin-top:28px}
.secondary-btn,.secondary-action,.tool-btn,.ghost-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:13px;padding:11px 15px;font-weight:800}
.hero-phone{color:#fff;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.10)}
.hero-points{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:26px;font-size:13px;font-weight:700;color:#e1f8f3}
.hero-points span:before{content:"✓";color:#9ff6df;margin-right:7px}
.hero-orbit{position:absolute;right:70px;top:70px;width:330px;height:300px;opacity:.95}
.orbit-card{position:absolute;width:96px;height:96px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.13);backdrop-filter:blur(9px);border-radius:28px;display:grid;place-items:center;font-size:22px;font-weight:800;box-shadow:0 18px 40px rgba(0,0,0,.12)}
.orbit-one{right:18px;top:4px;animation:float 5s ease-in-out infinite}
.orbit-two{left:20px;top:116px;animation:float 6.2s ease-in-out infinite reverse}
.orbit-three{right:30px;bottom:3px;animation:float 5.7s ease-in-out infinite .5s}
@keyframes float{50%{transform:translateY(-13px) rotate(2deg)}}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-25px;position:relative;z-index:3}
.trust-card{padding:19px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-soft)}
.trust-card b{display:block;font-size:14px;margin-bottom:4px}.trust-card span{font-size:12px;line-height:1.5;color:var(--muted)}
.catalog-section{padding:44px 0 74px}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:18px}
.catalog-heading h2,.contacts-section h2{font-size:clamp(30px,4vw,43px);letter-spacing:-1.5px;margin:7px 0}
.catalog-heading p,.contacts-section p{color:var(--muted);margin:0;max-width:650px;line-height:1.65}
.catalog-heading-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.counter{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:4px;border-radius:999px;background:var(--primary);color:#fff;font-size:11px}
.quick-chips{display:flex;gap:8px;overflow:auto;padding:8px 0 13px;scrollbar-width:none}
.chip{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:9px 13px;font-size:13px;font-weight:800;white-space:nowrap}
.chip.active{background:var(--primary);border-color:var(--primary);color:#fff}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;min-height:0;margin-bottom:14px}
.active-filter{border:1px solid color-mix(in srgb,var(--primary) 25%,var(--line));background:color-mix(in srgb,var(--primary) 9%,var(--surface));color:var(--primary);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}
.active-filter span{margin-left:5px;font-size:15px}
.catalog-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:24px;align-items:start}
.filters{position:sticky;top:calc(var(--header) + 18px);border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:21px;box-shadow:var(--shadow-soft);max-height:calc(100vh - var(--header) - 36px);overflow:auto}
.filters-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.filters-head h3{margin:4px 0 0;font-size:21px}.close-filters{display:none;border:0;background:none;color:var(--ink);font-size:28px}
.field{margin-bottom:16px}.field label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;color:var(--muted)}
.field input[type=search],.field select{width:100%;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:12px;padding:11px 12px;outline:0}
.field input:focus,.field select:focus{border-color:var(--primary-2);box-shadow:0 0 0 3px rgba(17,148,136,.12)}
.field input[type=range]{width:100%;accent-color:var(--primary)}
.range-values{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:var(--muted)}
.checkbox-row{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;margin:2px 0 18px}
.checkbox-row input{width:18px;height:18px;accent-color:var(--primary)}
.reset-btn{width:100%;border:1px solid var(--line);background:var(--surface-2);color:var(--primary);border-radius:12px;padding:11px;font-weight:800}
.listbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
.result-count{font-size:14px;color:var(--muted)}.sort{border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:10px 12px}
.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.product-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:22px;padding:14px;transition:transform .22s,box-shadow .22s,border-color .22s;overflow:hidden}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--primary-2) 35%,var(--line))}
.product-image{position:relative;aspect-ratio:4/3;border-radius:17px;overflow:hidden;background:linear-gradient(145deg,var(--surface-2),color-mix(in srgb,var(--primary) 7%,var(--surface)))}
.product-image img{width:100%;height:100%;object-fit:contain;padding:9px;transition:transform .35s}
.product-card:hover .product-image img{transform:scale(1.04)}
.card-badges{position:absolute;left:10px;top:10px;display:flex;gap:6px;flex-wrap:wrap;z-index:2}
.badge{padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 5px 14px rgba(0,0,0,.08);font-size:10px;font-weight:800}
.badge.stock{color:var(--success)}.badge.out{color:var(--danger)}
.card-icon-actions{position:absolute;right:9px;top:9px;z-index:3;display:grid;gap:7px}
.circle-action{width:35px;height:35px;border:1px solid color-mix(in srgb,var(--line) 70%,transparent);background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--ink);border-radius:50%;font-size:17px;display:grid;place-items:center}
.circle-action.active{background:var(--primary);border-color:var(--primary);color:#fff}
.card-brand{margin-top:13px;font-size:10px;font-weight:800;color:var(--primary-2);text-transform:uppercase;letter-spacing:.9px}
.product-card h3{font-size:15px;line-height:1.4;margin:5px 0 7px;min-height:42px}
.card-meta{font-size:12px;color:var(--muted);margin-bottom:10px}
.card-features{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:13px}
.feature-tag{font-size:10px;font-weight:700;color:var(--muted);background:var(--surface-2);border:1px solid var(--line);padding:5px 7px;border-radius:8px}
.card-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:11px}
.old-price{font-size:11px;color:var(--muted);text-decoration:line-through;min-height:16px}.card-price{font-size:21px;font-weight:800;letter-spacing:-.5px}
.card-buttons{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.details-btn{border:0;background:var(--primary);color:#fff;border-radius:12px;padding:10px;font-weight:800}
.compare-btn{width:42px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:12px;font-size:18px}
.compare-btn.active{background:var(--primary-2);border-color:var(--primary-2);color:#fff}
.catalog-status{grid-column:1/-1;padding:44px;border:1px solid var(--line);background:var(--surface);border-radius:20px;text-align:center;color:var(--muted)}
.catalog-status.error{color:var(--danger)}
.skeleton{height:420px;border-radius:22px;background:linear-gradient(100deg,var(--surface) 20%,var(--surface-2) 38%,var(--surface) 56%);background-size:200% 100%;animation:skeleton 1.25s infinite}
@keyframes skeleton{to{background-position:-200% 0}}
.pagination{display:flex;justify-content:center;gap:7px;margin-top:27px;align-items:center}
.page-btn{min-width:39px;height:39px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:11px;font-weight:800}
.page-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.page-btn:disabled{opacity:.4}
.contacts-section{padding:64px 0;background:linear-gradient(150deg,color-mix(in srgb,var(--primary) 8%,var(--surface)),var(--surface))}
.contacts-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center}
.contact-cards{display:grid;gap:11px}.contact-card{display:flex;flex-direction:column;padding:19px;border:1px solid var(--line);background:var(--surface);border-radius:17px;box-shadow:var(--shadow-soft)}
.contact-card small{color:var(--muted);margin-bottom:5px}.contact-card b{font-size:15px}
footer{padding:48px 0 24px;background:#083e39;color:#dff5f1}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.4fr;gap:40px}.footer-grid>div{display:flex;flex-direction:column;gap:9px}.footer-grid p,.footer-grid span,.footer-grid a:not(.logo){font-size:13px;color:#bedbd5}.copyright{margin-top:35px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#9fc6bf}
.mobile-overlay{display:none}
.compare-bar{position:fixed;left:50%;bottom:18px;z-index:70;transform:translate(-50%,130%);width:min(780px,calc(100% - 28px));display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(18px);box-shadow:var(--shadow);transition:.28s}
.compare-bar.show{transform:translate(-50%,0)}.compare-bar>div:first-child{min-width:0}.compare-bar b{display:block}.compare-bar span{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compare-bar-actions{display:flex;gap:8px}.compact{padding:10px 14px}
.modal-overlay{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(3,20,18,.68);backdrop-filter:blur(6px)}
.modal-overlay.active{display:flex}
.product-modal,.compare-modal{position:relative;width:min(1120px,100%);max-height:94vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:29px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.compare-modal{width:min(1240px,100%)}
.modal-close{position:absolute;right:16px;top:14px;z-index:6;width:41px;height:41px;border:0;border-radius:50%;background:var(--surface-2);color:var(--ink);font-size:25px}
.product-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:34px}
.gallery-main{position:relative;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:var(--surface-2);cursor:zoom-in}
.gallery-main img{width:100%;height:100%;object-fit:contain;padding:13px}
.gallery-nav{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:11px;pointer-events:none}.gallery-btn{pointer-events:auto;width:40px;height:40px;border:0;border-radius:50%;background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--ink);font-size:23px}
.gallery-thumbs{display:flex;gap:8px;overflow:auto;margin-top:9px}.gallery-thumb{width:72px;height:57px;border:2px solid transparent;border-radius:10px;background:var(--surface-2);padding:3px}.gallery-thumb.active{border-color:var(--primary)}.gallery-thumb img{width:100%;height:100%;object-fit:contain}
.product-brand{font-size:11px;color:var(--primary-2);font-weight:800;text-transform:uppercase;letter-spacing:1px}
.product-summary h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:7px 48px 8px 0}
.product-meta{font-size:13px;color:var(--muted);line-height:1.65}.stock-pill{display:inline-block;margin:4px 0 13px;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--success) 12%,var(--surface));color:var(--success);font-size:11px;font-weight:800}.stock-pill.out{background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger)}
.product-prices{display:flex;align-items:end;gap:12px;margin:5px 0 14px}.product-prices strong{font-size:32px;letter-spacing:-1px}.product-prices span{font-size:14px;color:var(--muted);text-decoration:line-through;padding-bottom:4px}
.key-benefits{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:17px}.key-benefit{padding:7px 10px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line);font-size:11px;font-weight:700}
.product-actions{display:flex;gap:9px}.secondary-action{background:var(--surface-2)}
.product-description{margin-top:17px;color:var(--muted);font-size:13px;line-height:1.7}.product-description p{margin:0 0 8px}
.product-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-top:28px}.tab{border:0;background:none;color:var(--muted);padding:13px 15px;font-weight:800;border-bottom:3px solid transparent}.tab.active{color:var(--primary);border-color:var(--primary)}
.tab-panel{display:none;padding-top:20px}.tab-panel.active{display:block}
.spec-group{margin-bottom:20px}.spec-group h4{margin:0 0 7px;font-size:14px}.spec-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.spec-row span:last-child{text-align:right;font-weight:700}
.order-form{max-width:720px}.order-product{padding:12px;border-radius:12px;background:var(--surface-2);font-size:13px;font-weight:800}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-form label{display:block;font-size:12px;font-weight:800;color:var(--muted);margin-bottom:12px}.order-form input,.order-form textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:12px;padding:12px;outline:0}.order-form input:focus,.order-form textarea:focus{border-color:var(--primary-2);box-shadow:0 0 0 3px rgba(17,148,136,.12)}
.submit-btn{min-width:190px}.submit-btn:disabled{opacity:.65;cursor:not-allowed}.form-message{font-size:12px;font-weight:700}.form-message.success{color:var(--success)}.form-message.error{color:var(--danger)}.honeypot{position:absolute!important;left:-9999px!important}
.compare-title h2{margin:6px 0;font-size:31px}.compare-title p{color:var(--muted);margin:0 0 20px}.compare-scroll{overflow:auto}.compare-table{min-width:800px;border-collapse:separate;border-spacing:0;width:100%}.compare-table th,.compare-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px;text-align:left;vertical-align:top;font-size:12px}.compare-table th{background:var(--surface-2);position:sticky;top:0;z-index:2}.compare-table th:first-child,.compare-table td:first-child{position:sticky;left:0;z-index:3;background:var(--surface)}.compare-product img{width:130px;height:100px;object-fit:contain;margin:auto}.compare-product b{display:block;margin-top:8px;font-size:13px}.remove-compare{border:0;background:none;color:var(--danger);font-weight:800;padding:5px 0}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}.reveal.visible{opacity:1;transform:none}
@media(max-width:1050px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-orbit{opacity:.35;right:0}.nav{display:none}.contacts-grid{grid-template-columns:1fr}.trust-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
  :root{--header:64px}.wrap{width:min(100% - 22px,1240px)}.topbar{display:none}.header-inner{gap:10px}.phone,.header-cta{display:none}.header-actions{gap:5px}.hero{padding-top:16px}.hero-card{min-height:0;padding:38px 23px;border-radius:25px}.hero h1{font-size:39px;letter-spacing:-1.5px}.hero p{font-size:15px}.hero-orbit{display:none}.hero-actions{flex-direction:column}.hero-actions a{text-align:center}.hero-points{display:grid;gap:8px}.trust-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.trust-card{padding:13px}.catalog-heading{align-items:flex-start;flex-direction:column}.catalog-heading-actions{width:100%;justify-content:flex-start}.catalog-heading h2{font-size:31px}.catalog-layout{grid-template-columns:1fr}.filters{position:fixed;z-index:120;left:0;top:0;bottom:0;width:min(370px,92vw);max-height:none;border-radius:0 24px 24px 0;transform:translateX(-105%);transition:.27s;overflow:auto}.filters.open{transform:translateX(0)}.close-filters{display:block}.mobile-overlay.show{display:block;position:fixed;inset:0;z-index:110;background:rgba(2,18,16,.58);backdrop-filter:blur(3px)}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:17px;padding:10px}.product-card h3{font-size:13px;min-height:54px}.card-features{display:none}.card-price{font-size:17px}.details-btn{font-size:12px}.compare-btn{width:38px}.listbar{align-items:flex-start;flex-direction:column}.sort{width:100%}.product-modal,.compare-modal{padding:18px;border-radius:22px}.product-layout{grid-template-columns:1fr}.product-summary h2{font-size:23px}.product-actions{flex-direction:column}.form-grid{grid-template-columns:1fr}.spec-row{grid-template-columns:1fr;gap:3px}.spec-row span:last-child{text-align:left}.compare-bar{bottom:10px;align-items:flex-start}.compare-bar-actions{flex-direction:column}.contacts-section{padding:48px 0}.footer-grid{grid-template-columns:1fr}.catalog-heading-actions .tool-btn{flex:1}.theme-toggle{display:grid}
}
@media(max-width:430px){.products-grid{grid-template-columns:1fr}.trust-grid{grid-template-columns:1fr}.compare-bar{display:block}.compare-bar-actions{flex-direction:row;margin-top:10px}.compare-bar-actions button{flex:1}}


/* ===== V3.2 additions ===== */
html,body{max-width:100%;overflow-x:hidden}
.messenger-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);transition:transform .2s,box-shadow .2s,border-color .2s}
.messenger-logo svg{width:22px;height:22px;fill:currentColor}
.messenger-logo:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft);border-color:var(--primary-2)}
.telegram-logo{color:#229ED9}.max-logo{color:#7356ff}
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.breadcrumbs a{color:var(--primary);font-weight:700}.modal-breadcrumbs{margin:0 48px 16px 0}
.feedback-section{padding:12px 0 70px}
.feedback-shell{position:relative;overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;gap:42px;align-items:center;padding:38px;border:1px solid var(--line);border-radius:28px;background:
radial-gradient(circle at 12% 15%,color-mix(in srgb,var(--primary-2) 18%,transparent),transparent 32%),
linear-gradient(145deg,var(--surface),var(--surface-2));box-shadow:var(--shadow)}
.feedback-shell:after{content:"";position:absolute;width:220px;height:220px;border:46px solid color-mix(in srgb,var(--primary) 7%,transparent);border-radius:50%;right:-80px;bottom:-110px;pointer-events:none}
.feedback-copy,.feedback-form{position:relative;z-index:1}
.feedback-copy h2{font-size:clamp(31px,4vw,46px);letter-spacing:-1.4px;margin:7px 0 12px}
.feedback-copy p{color:var(--muted);line-height:1.7;max-width:520px}
.feedback-points{display:grid;gap:9px;margin-top:20px}.feedback-points span{font-size:13px;font-weight:700}.feedback-points span:before{content:"✓";margin-right:8px;color:var(--success)}
.feedback-form{padding:22px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:var(--shadow-soft)}
.contacts-grid-v32{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:stretch}
.contacts-intro{min-width:0}.contact-map{margin-top:22px;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-soft);background:var(--surface)}
.contact-map iframe{display:block;width:100%;height:320px;border:0}
.contacts-grid-v32 .contact-cards{align-content:center}
.buy-icon-btn{width:42px;border:1px solid var(--line);background:var(--surface-2);color:var(--primary);border-radius:12px;font-size:18px;display:grid;place-items:center}
.buy-icon-btn:hover{background:var(--primary);border-color:var(--primary);color:#fff}
.card-buttons{grid-template-columns:1fr auto auto}
.reset-btn[hidden]{display:none!important}
.compare-table{table-layout:fixed;min-width:0;width:100%}
.compare-table th:first-child,.compare-table td:first-child{width:190px;max-width:190px}
.compare-table th:not(:first-child),.compare-table td:not(:first-child){width:auto;min-width:0;word-break:break-word;overflow-wrap:anywhere}
.compare-product{height:190px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0}
.compare-product img{width:120px;height:95px;flex:0 0 95px}
.compare-product b{width:100%;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center;line-height:1.45}
.compare-table td{line-height:1.55}
.compare-table td:not(:first-child){max-height:180px;overflow:hidden}
.product-modal,.compare-modal{max-width:calc(100vw - 24px)}
.product-layout,.product-summary,.product-gallery,.tab-panel,.spec-group,.spec-row{min-width:0}
.product-summary h2,.product-description,.spec-row span{overflow-wrap:anywhere;word-break:break-word}
.article-page{padding:54px 0 80px}.article-page h1{font-size:clamp(38px,6vw,64px);letter-spacing:-2px}.article-page h2{margin-top:34px}.article-page p,.article-page li{line-height:1.8;color:var(--muted)}
.not-found{min-height:70vh;display:grid;place-items:center;text-align:center}.not-found-card{max-width:620px;padding:50px 30px}.not-found-code{font-size:90px;font-weight:800;color:var(--primary);line-height:1}
.mobile-compare-cards{display:none}

@media(max-width:760px){
  .messenger-logo{width:39px;height:39px}
  .feedback-shell{grid-template-columns:1fr;padding:24px 17px;gap:22px;border-radius:22px}
  .feedback-form{padding:16px}
  .contacts-grid-v32{grid-template-columns:1fr}
  .contact-map iframe{height:300px}
  .modal-breadcrumbs{margin-right:45px}
  .product-modal,.compare-modal{width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:16px;overflow-x:hidden}
  .product-layout{width:100%;overflow:hidden}
  .gallery-main{width:100%;max-width:100%}
  .product-tabs{overflow-x:auto;max-width:100%}
  .tab{white-space:nowrap}
  .spec-row{display:block;width:100%;padding:11px 0}
  .spec-row span{display:block;max-width:100%}
  .spec-row span:first-child{font-size:11px;color:var(--muted);margin-bottom:5px}
  .compare-scroll{overflow:visible}
  .compare-table{display:none}
  .mobile-compare-cards{display:grid;gap:14px}
  .mobile-compare-card{border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:14px}
  .mobile-compare-card-head{display:grid;grid-template-columns:78px 1fr;gap:12px;align-items:center;margin-bottom:12px}
  .mobile-compare-card-head img{width:78px;height:66px;object-fit:contain}
  .mobile-compare-card-head b{font-size:13px;line-height:1.4}
  .mobile-compare-row{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-top:1px solid var(--line);font-size:12px}
  .mobile-compare-row span:first-child{color:var(--muted)}
  .mobile-compare-row span:last-child{text-align:right;font-weight:700;overflow-wrap:anywhere}
}

.messenger-logo img{width:24px;height:24px;object-fit:contain;display:block}
.admin-link{opacity:.65}


/* ===== Release 1.1: mobile header and navigation ===== */
.header-actions{
  align-self:stretch;
  align-items:center;
}
.theme-toggle,.messenger-logo{
  flex:0 0 auto;
  align-self:center;
  margin:0;
  vertical-align:middle;
}
.theme-toggle{
  display:grid;
  place-items:center;
  line-height:1;
  padding:0;
}
.theme-toggle .theme-icon{
  display:block;
  line-height:1;
  transform:none;
}
.messenger-logo img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}
.mobile-bottom-nav{display:none}

@media(max-width:1050px){
  body{padding-bottom:76px}
  .site-header{top:0}
  .header-inner{
    min-height:64px;
    height:64px;
    align-items:center;
  }
  .header-actions{
    height:64px;
    align-self:auto;
    align-items:center;
  }
  .theme-toggle,.messenger-logo{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:13px;
  }
  .theme-toggle .theme-icon{
    font-size:20px;
  }
  .mobile-bottom-nav{
    position:fixed;
    z-index:95;
    left:10px;
    right:10px;
    bottom:10px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    padding:7px;
    border:1px solid var(--line);
    border-radius:18px;
    background:color-mix(in srgb,var(--surface) 94%,transparent);
    box-shadow:var(--shadow);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .mobile-bottom-nav a{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-height:53px;
    padding:5px 2px;
    border-radius:12px;
    color:var(--muted);
    font-size:9px;
    line-height:1.15;
    font-weight:800;
    text-align:center;
  }
  .mobile-bottom-nav a:active{
    background:color-mix(in srgb,var(--primary) 10%,var(--surface));
    color:var(--primary);
  }
  .mobile-nav-icon{
    display:grid;
    place-items:center;
    height:21px;
    font-size:19px;
    line-height:1;
    color:var(--ink);
  }
}

@media(max-width:520px){
  .header-inner{gap:7px}
  .logo{font-size:18px;white-space:nowrap}
  .header-actions{margin-left:auto;gap:5px}
  .theme-toggle,.messenger-logo{
    width:40px;
    height:40px;
    min-width:40px;
  }
  .messenger-logo img{width:23px;height:23px}
}

@media(max-width:390px){
  .wrap{width:min(100% - 16px,1240px)}
  .header-inner{gap:4px}
  .logo{font-size:16px;letter-spacing:-.55px}
  .theme-toggle,.messenger-logo{
    width:37px;
    height:37px;
    min-width:37px;
    border-radius:11px;
  }
  .header-actions{gap:3px}
  .mobile-bottom-nav{left:6px;right:6px;bottom:6px;padding:5px}
  .mobile-bottom-nav a{font-size:8px}
}


/* ===== Release 1.2: mobile nav icons and scroll behavior ===== */
.mobile-bottom-nav{
  transition:transform .24s ease,opacity .2s ease;
  will-change:transform,opacity;
}
.mobile-bottom-nav.is-hidden{
  transform:translateY(calc(100% + 24px));
  opacity:0;
  pointer-events:none;
}
.mobile-nav-icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
}
.mobile-nav-icon svg{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mobile-bottom-nav a:first-child .mobile-nav-icon svg circle{
  fill:currentColor;
  stroke:none;
}
@media(max-width:390px){
  .mobile-nav-icon{width:22px;height:22px}
  .mobile-nav-icon svg{width:20px;height:20px}
}


/* ===== Release 1.2.2: reliable mobile nav hiding ===== */
.mobile-bottom-nav{
  transform:translate3d(0,0,0);
  -webkit-transform:translate3d(0,0,0);
}
.mobile-bottom-nav.is-hidden{
  transform:translate3d(0,calc(100% + 34px),0)!important;
  -webkit-transform:translate3d(0,calc(100% + 34px),0)!important;
  opacity:0!important;
  visibility:hidden;
  pointer-events:none!important;
}


/* ===== Privacy, consent and cookie controls ===== */
.privacy-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:12px;line-height:1.45;color:var(--muted);cursor:pointer}
.privacy-consent input{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:var(--primary)}
.privacy-consent a,.footer-legal-links a,.cookie-banner a{color:var(--primary);text-decoration:underline;text-underline-offset:2px}
.footer-legal-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px}
.footer-link-button{padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.cookie-banner[hidden]{display:none!important}
.cookie-banner{position:fixed;z-index:1000;left:16px;right:16px;bottom:16px}
.cookie-banner-inner{width:min(100%,980px);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 22px 60px rgba(15,39,37,.22);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.cookie-banner-copy strong{display:block;margin-bottom:5px;color:var(--ink);font-size:15px}
.cookie-banner-copy p{max-width:680px;margin:0 0 4px;color:var(--muted);font-size:13px;line-height:1.5}
.cookie-banner-copy a{font-size:12px}
.cookie-banner-actions{display:flex;flex-shrink:0;gap:9px}
.cookie-primary,.cookie-secondary{min-height:42px;padding:0 16px;border-radius:12px;font:800 12px Manrope,sans-serif;cursor:pointer}
.cookie-primary{border:1px solid var(--primary);background:var(--primary);color:#fff}
.cookie-secondary{border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.external-map-placeholder{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px;text-align:center;border:1px solid var(--line);border-radius:inherit;background:var(--surface-2)}
.external-map-placeholder span{max-width:440px;color:var(--muted);font-size:13px;line-height:1.5}
.external-map iframe[hidden]{display:none}
.legal-page{min-height:100vh;background:var(--bg)}
.legal-main{padding:54px 0 80px}
.legal-card{width:min(100%,900px);margin:0 auto;padding:clamp(24px,5vw,56px);border:1px solid var(--line);border-radius:28px;background:var(--surface);box-shadow:var(--shadow)}
.legal-card h1{margin:10px 0 12px;font-size:clamp(30px,5vw,50px);line-height:1.08}
.legal-card h2{margin:34px 0 10px;font-size:21px}
.legal-card p,.legal-card li{color:var(--muted);line-height:1.75}
.legal-card ul{padding-left:22px}
.legal-meta{margin-bottom:28px;color:var(--muted);font-size:13px}
.legal-contact{margin-top:32px;padding:18px;border-radius:16px;background:var(--surface-2)}
@media(max-width:760px){
  .cookie-banner{left:8px;right:8px;bottom:82px}
  .cookie-banner-inner{align-items:stretch;flex-direction:column;gap:14px;padding:16px}
  .cookie-banner-actions{display:grid;grid-template-columns:1fr}
  .footer-legal-links{justify-content:flex-start}
  .copyright{align-items:flex-start;flex-direction:column;gap:10px}
}


/* Исправление отображения Яндекс Карты после согласия */
.external-map iframe{
  display:block;
  width:100%;
  opacity:0;
  transition:opacity .35s ease;
}
.external-map iframe.loaded{
  opacity:1;
}
.external-map-placeholder[hidden]{
  display:none!important;
}
