/* Deskpro — витрина. Палитра и шрифт из дизайн-системы Figma. */
:root{
  --blue:#1683E0;--blue-600:#1468C2;--blue-hover:#0B5FB5;--blue-50:#E5F2FD;
  --navy:#0D3B73;--on-navy:#D6E6F7;--on-navy-muted:#A9C4E3;
  --text:#1E2A3B;--ink-600:#3B4350;--muted:#5B6B82;--slate-300:#C9CED6;--line:#E1E5EB;--line-soft:#EFF2F5;
  --bg:#F5F7FA;--white:#fff;--orange:#FF7A1A;--orange-600:#E8650A;--orange-50:#FFF0E4;
  --green:#16A34A;--red:#E5484D;
  --r-lg:16px;--r-md:12px;--r-sm:8px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
img{max-width:100%;display:block}
.ic{flex-shrink:0}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.container{max-width:1344px;margin:0 auto;padding:0 32px}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Верхняя полоса ---------- */
.topbar{background:var(--navy);color:var(--on-navy-muted);font-size:13px}
.topbar .container{display:flex;justify-content:space-between;height:40px;align-items:center;gap:20px}
.topbar nav{display:flex;gap:24px}
.topbar a:hover{color:#fff}
.topbar .right{display:flex;gap:20px;align-items:center}
.topbar .phone{color:#fff;font-weight:500}
.lang{display:flex;gap:2px;background:rgba(255,255,255,.12);border-radius:6px;padding:2px}
.lang span{padding:2px 8px;border-radius:4px;font-size:12px}
.lang .on{background:#fff;color:var(--navy);font-weight:500}

/* ---------- Шапка ---------- */
.header{background:#fff;position:relative;z-index:30}
.header-main{display:flex;align-items:center;gap:20px;height:84px}
.logo{font-weight:900;font-size:28px;letter-spacing:-.8px;color:var(--orange);line-height:1;white-space:nowrap}
.logo b{color:var(--navy);font-weight:900}
.btn-catalog{display:flex;align-items:center;gap:10px;background:var(--blue);color:#fff;height:48px;padding:0 20px;border-radius:var(--r-md);font-weight:500;font-size:16px;flex-shrink:0}
.btn-catalog:hover{background:var(--blue-hover)}
.search{flex:1;position:relative}
.search form{display:flex;height:48px;border:2px solid var(--blue);border-radius:var(--r-md);overflow:hidden;background:#fff}
.search .in{flex:1;display:flex;align-items:center;gap:10px;padding:0 16px;color:var(--muted)}
.search input{flex:1;border:0;outline:0;font-size:15px;color:var(--text);min-width:0;background:none}
.search button{background:var(--blue);color:#fff;padding:0 24px;font-weight:500}
.suggest{position:absolute;top:54px;left:0;right:0;background:#fff;border-radius:var(--r-md);box-shadow:0 12px 32px rgba(13,59,115,.16);overflow:hidden;display:none;z-index:40}
.suggest.open{display:block}
.suggest a{display:flex;justify-content:space-between;gap:16px;padding:10px 16px;border-top:1px solid var(--line-soft)}
.suggest a:first-child{border-top:0}
.suggest a:hover,.suggest a.on{background:var(--bg)}
.suggest small{display:block;color:var(--muted);font-size:12px}
.suggest .pr{font-weight:700;white-space:nowrap}
.suggest .all{justify-content:center;color:var(--blue);font-weight:500}
.hicons{display:flex;gap:4px}
.hicon{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:var(--muted);width:76px;position:relative}
.hicon:hover{color:var(--text)}
.hicon .ic{color:var(--text)}
.badge{position:absolute;top:-6px;left:44px;background:var(--orange);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 5px}
.quick{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.quick .container{display:flex;gap:8px;height:52px;align-items:center;overflow-x:auto;scrollbar-width:none}
.quick .container::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;padding:7px 14px;border-radius:20px;background:var(--bg);font-size:14px}
.chip:hover{background:var(--blue-50);color:var(--blue)}
.chip.sale{background:var(--orange-50);color:var(--orange-600);font-weight:500}

/* Мега-меню каталога */
.mega{position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 20px 40px rgba(13,59,115,.14);display:none;border-top:1px solid var(--line)}
.mega.open{display:block}
.mega .container{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-top:24px;padding-bottom:28px}
.mega h4{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;margin-bottom:8px}
.mega h4 .ic{color:var(--navy)}
.mega li{list-style:none}
.mega li a{display:block;padding:3px 0 3px 30px;color:var(--muted);font-size:14px}
.mega a:hover{color:var(--blue)}

/* ---------- Кнопки ---------- */
.btn{height:52px;padding:0 24px;border-radius:var(--r-md);font-weight:500;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;transition:background .15s}
.btn-blue{background:var(--blue);color:#fff}.btn-blue:hover{background:var(--blue-hover)}
.btn-orange{background:var(--orange);color:#fff}.btn-orange:hover{background:var(--orange-600)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff}.btn-ghost:hover{background:rgba(255,255,255,.2)}
.btn-outline{border:1.5px solid var(--line);color:var(--text);background:#fff}.btn-outline:hover{border-color:var(--blue);color:var(--blue)}
.btn-sm{height:40px;padding:0 16px;font-size:14px}
.btn-block{width:100%}
.link{color:var(--blue);font-weight:500}
.link:hover{color:var(--blue-hover)}

/* ---------- Общее ---------- */
main{padding-bottom:64px}
.section{padding-top:40px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.section-head .left{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.h1{font-size:34px;font-weight:700;letter-spacing:-.4px;line-height:1.15}
.h2{font-size:26px;font-weight:700;letter-spacing:-.2px}
.muted{color:var(--muted)}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px;padding:20px 0 12px}
.crumbs a:hover{color:var(--blue)}
.crumbs .sep{color:var(--slate-300)}
.flash{border-radius:var(--r-md);padding:12px 16px;margin-top:16px}
.flash.success{background:#E3F5EA;color:#11733A}
.flash.error{background:#FDECEC;color:#B4232A}
.flash.info{background:var(--blue-50);color:var(--blue-hover)}
.tabs{display:flex;gap:4px;background:#fff;border-radius:10px;padding:4px}
.tabs button{padding:7px 16px;border-radius:7px;font-size:14px;color:var(--muted)}
.tabs button.on{background:var(--blue-50);color:var(--blue);font-weight:500}
.empty{background:#fff;border-radius:var(--r-lg);padding:48px;text-align:center}
.empty h3{font-size:20px;margin-bottom:8px}
.empty p{color:var(--muted);margin-bottom:20px}

/* ---------- Главная ---------- */
.hero{display:flex;gap:20px;padding-top:24px}
.hero-main{flex:1;min-height:380px;border-radius:24px;background:linear-gradient(120deg,var(--navy) 0%,var(--blue-600) 100%);color:#fff;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;overflow:hidden}
.hero-main h1{font-size:40px;line-height:1.12;font-weight:700;letter-spacing:-.6px;max-width:470px}
.hero-main p{margin-top:16px;font-size:17px;color:var(--on-navy);max-width:440px}
.hero-cta{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.hero-art{width:360px;flex-shrink:0}
.hero-side{width:400px;display:flex;flex-direction:column;gap:20px;flex-shrink:0}
.promo{flex:1;border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}
.promo h3{font-size:21px;font-weight:700;line-height:1.2}
.promo p{font-size:14px;margin-top:8px}
.promo.partner{background:var(--orange-50)}
.promo.partner p{color:var(--ink-600)}
.promo.kp{background:#fff;border:1px solid var(--line)}
.promo.kp p{color:var(--muted)}
.promo .btn{align-self:flex-start;height:44px}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.benefit{display:flex;gap:14px;align-items:center;background:#fff;border-radius:14px;padding:18px 20px}
.benefit .ib{width:44px;height:44px;border-radius:10px;background:var(--blue-50);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.benefit b{display:block;font-size:15px;font-weight:500}
.benefit span{font-size:13px;color:var(--muted)}
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat{background:#fff;border-radius:14px;padding:20px;display:flex;justify-content:space-between;align-items:center;min-height:112px;gap:12px;border:1px solid transparent}
.cat:hover{border-color:var(--line)}
.cat b{font-size:16px;font-weight:500;display:block}
.cat span{font-size:13px;color:var(--muted)}
.cat .pic{width:72px;height:72px;border-radius:12px;background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--navy);flex-shrink:0}
.b2b{margin-top:48px;background:var(--navy);border-radius:24px;color:#fff;display:flex;padding:48px;gap:48px;align-items:center}
.b2b-text{flex:1}
.b2b h2{font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.4px;max-width:540px}
.b2b .lead{margin-top:14px;color:var(--on-navy-muted);font-size:16px;max-width:540px}
.b2b ul{list-style:none;margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;max-width:580px}
.b2b li{display:flex;gap:10px;align-items:center;color:var(--on-navy)}
.b2b li .ic{color:var(--orange)}
.b2b .actions{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.price-demo{width:420px;background:#fff;color:var(--text);border-radius:var(--r-lg);padding:24px;flex-shrink:0}
.price-demo .who{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.pill{background:var(--orange-50);color:var(--orange-600);font-weight:500;padding:4px 10px;border-radius:12px;font-size:12px}
.price-demo .pname{margin-top:14px;font-size:17px;font-weight:500}
.price-demo .pcodes{margin-top:6px;font-size:13px;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap}
.pd-prices{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:flex-end;justify-content:space-between}
.pd-prices .lbl{font-size:13px;color:var(--muted)}
.pd-prices .retail{font-size:16px;color:var(--muted);text-decoration:line-through}
.pd-prices .mine{font-size:30px;font-weight:700}
.pd-save{font-size:13px;color:var(--green);font-weight:500}
.brands{display:grid;grid-template-columns:repeat(8,1fr);gap:16px}
.brand{height:80px;background:#fff;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:19px;color:#8796AB}
.brand:hover{color:var(--blue)}
.news{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post{background:#fff;border-radius:14px;overflow:hidden}
.post .cover{height:160px;background:var(--blue-50);display:flex;align-items:center;justify-content:center;color:var(--blue)}
.post .body{padding:18px 20px 22px}
.post .meta{font-size:13px;color:var(--muted)}
.post h3{font-size:17px;font-weight:500;line-height:1.35;margin-top:8px}
.seo{margin-top:48px;background:#fff;border-radius:24px;padding:36px 40px;display:flex;gap:48px}
.seo h2{font-size:22px;font-weight:700;width:320px;line-height:1.25;flex-shrink:0}
.seo .txt{color:var(--muted);line-height:1.6;max-width:820px}
.seo .txt p+p{margin-top:10px}

/* ---------- Карточка товара в списке ---------- */
.products{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.card{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;border:1px solid transparent;min-width:0}
.card:hover{border-color:var(--line);box-shadow:0 8px 24px rgba(13,59,115,.06)}
.card .img{height:180px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;position:relative;color:var(--slate-300);overflow:hidden}
.card .img img{max-height:160px;object-fit:contain;mix-blend-mode:multiply}
.tag{position:absolute;top:10px;left:10px;font-size:12px;font-weight:500;padding:3px 8px;border-radius:6px;color:#fff;background:var(--blue)}
.tag.sale{background:var(--orange)}
.tag.new{background:var(--green)}
.fav{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.fav:hover{color:var(--orange)}
.card .name{margin-top:14px;font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:61px}
.card .name:hover{color:var(--blue)}
.codes{margin-top:8px;font-size:12px;color:var(--muted);display:flex;gap:4px 12px;flex-wrap:wrap}
.stock{margin-top:8px;font-size:13px;color:var(--green);display:flex;align-items:center;gap:6px}
.stock::before{content:'';width:7px;height:7px;border-radius:4px;background:currentColor}
.stock.low{color:var(--orange-600)}
.card .bottom{margin-top:auto;padding-top:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.price{font-size:20px;font-weight:700;white-space:nowrap}
.price.req{font-size:15px;font-weight:500;color:var(--muted)}
.old{font-size:13px;color:var(--muted);text-decoration:line-through;display:block;min-height:18px}
.partner-tag{font-size:11px;color:var(--orange-600);font-weight:500;display:block}
.cart-btn{width:44px;height:44px;border-radius:10px;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cart-btn:hover{background:var(--orange-600)}

/* ---------- Каталог ---------- */
.cat-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.subcats{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.subcats a{background:#fff;border:1px solid var(--line);border-radius:20px;padding:8px 16px;font-size:14px}
.subcats a:hover{border-color:var(--blue);color:var(--blue)}
.layout{display:grid;grid-template-columns:280px 1fr;gap:24px;margin-top:20px;align-items:start}
.filters{background:#fff;border-radius:var(--r-lg);padding:20px;position:sticky;top:16px}
.filters .fh{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.filters .fh b{font-size:19px}
.fgroup{padding:16px 0;border-bottom:1px solid var(--line)}
.fgroup:last-of-type{border-bottom:0}
.fgroup summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-weight:500;cursor:pointer}
.fgroup summary::-webkit-details-marker{display:none}
.fgroup summary .ic{transition:transform .15s;color:var(--muted)}
.fgroup[open] summary .ic{transform:rotate(180deg)}
.fbody{display:flex;flex-direction:column;gap:10px;margin-top:12px;max-height:280px;overflow-y:auto}
.price-in{display:flex;gap:8px}
.price-in input{width:100%;height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px}
.cb{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px}
.cb input{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0}
.cb .n{margin-left:auto;color:var(--muted);font-size:13px}
.toolbar{background:#fff;border-radius:var(--r-md);padding:10px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.toolbar .l{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.toolbar select{border:0;font-weight:500;background:none;cursor:pointer}
.active-f{display:flex;gap:8px;flex-wrap:wrap}
.active-f a{background:var(--blue-50);color:var(--blue);border-radius:16px;padding:5px 10px;font-size:13px;font-weight:500;display:inline-flex;gap:6px;align-items:center}
.views{display:flex;background:var(--bg);border-radius:8px;padding:3px;gap:2px}
.views a{padding:6px 12px;border-radius:6px;font-size:13px;color:var(--muted)}
.views a.on{background:#fff;color:var(--text);font-weight:500}
.grid4{grid-template-columns:repeat(4,1fr)}
.f-toggle{display:none}
/* Вид «список» */
.plist{display:flex;flex-direction:column;gap:12px}
.prow{background:#fff;border-radius:14px;padding:16px;display:flex;gap:20px;align-items:center}
.prow .img{width:120px;height:100px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--slate-300);flex-shrink:0}
.prow .info{flex:1;min-width:0}
.prow .name{font-size:16px;font-weight:500}
.prow .buy{display:flex;align-items:center;gap:16px;text-align:right}
/* Вид «прайс» */
.ptable{width:100%;background:#fff;border-radius:14px;border-collapse:collapse;overflow:hidden}
.ptable th{background:var(--bg);color:var(--muted);font-weight:500;font-size:12px;text-align:left;padding:10px 14px}
.ptable td{padding:10px 14px;border-top:1px solid var(--line-soft);font-size:14px}
.ptable .num{text-align:right;white-space:nowrap}
.ptable .cart-btn{width:36px;height:36px}
.pager{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:24px}
.pages{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.pages a,.pages span{min-width:40px;height:40px;border-radius:10px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:500;padding:0 10px}
.pages .cur{background:var(--blue);color:#fff}
.pages a:hover{color:var(--blue)}
.seo-block{background:#fff;border-radius:var(--r-lg);padding:28px 32px;margin-top:32px;color:var(--muted);line-height:1.6}
.seo-block h2{color:var(--text);font-size:20px;margin-bottom:10px}

/* ---------- Карточка товара ---------- */
.pd-title{font-size:28px;font-weight:700;line-height:1.25;letter-spacing:-.3px;max-width:1100px}
.pd-meta{display:flex;gap:24px;flex-wrap:wrap;align-items:center;margin-top:10px;font-size:14px}
.pd-meta span{color:var(--muted)}
.pd-meta b{font-weight:500;color:var(--text)}
.copy{color:var(--blue);display:inline-flex;gap:6px;align-items:center;font-size:14px}
.pd-top{display:grid;grid-template-columns:1fr 440px;gap:32px;margin-top:24px;align-items:start}
.gallery{display:flex;gap:16px}
.thumbs{display:flex;flex-direction:column;gap:12px}
.thumbs button{width:76px;height:76px;border-radius:10px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--slate-300);overflow:hidden;padding:4px}
.thumbs button.on{border:2px solid var(--blue)}
.thumbs img{max-height:66px;object-fit:contain}
.main-img{flex:1;background:#fff;border-radius:var(--r-lg);min-height:520px;display:flex;align-items:center;justify-content:center;position:relative;color:var(--slate-300);padding:24px}
.main-img img{max-height:480px;object-fit:contain}
.buy-col{display:flex;flex-direction:column;gap:16px}
.buybox{background:#fff;border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:16px}
.bb-price{display:flex;justify-content:space-between;align-items:flex-end}
.bb-price .lbl{font-size:13px;color:var(--muted)}
.bb-price .val{font-size:34px;font-weight:700;letter-spacing:-.5px;line-height:1.1}
.bb-price .old{font-size:15px}
.bb-icons{display:flex;gap:8px}
.bb-icons button{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--muted)}
.note-orange{background:var(--orange-50);border-radius:10px;padding:10px 12px;display:flex;gap:8px;align-items:center;font-size:13px;color:var(--ink-600)}
.note-orange .ic{color:var(--orange-600)}
.note-orange a{color:var(--orange-600);font-weight:500}
.hr{height:1px;background:var(--line)}
.stock-rows{display:flex;flex-direction:column;gap:8px;font-size:14px}
.qty-row{display:flex;gap:12px}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;height:52px}
.qty button{width:44px;height:50px;font-size:18px;color:var(--muted)}
.qty input{width:44px;border:0;text-align:center;font-weight:500;outline:0}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.delivery{background:#fff;border-radius:var(--r-lg);padding:4px 24px}
.delivery div{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.delivery div:last-child{border-bottom:0}
.delivery .ic{color:var(--blue)}
.delivery b{display:block;font-weight:500;font-size:14px}
.delivery span{font-size:13px;color:var(--muted)}
.fullname{background:#fff;border-radius:var(--r-lg);padding:18px 24px;margin-top:24px}
.fullname summary{display:flex;justify-content:space-between;cursor:pointer;font-weight:500;list-style:none}
.fullname p{margin-top:10px;color:var(--muted);font-size:14px}
.ptabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-top:32px}
.ptabs a{padding-bottom:12px;color:var(--muted);font-weight:500;font-size:16px}
.ptabs a.on{color:var(--blue);box-shadow:inset 0 -2px 0 var(--blue)}
.specs{display:grid;grid-template-columns:1fr 440px;gap:24px;margin-top:24px;align-items:start}
.spec-box{background:#fff;border-radius:var(--r-lg);padding:24px 28px}
.spec-box h3{font-size:16px;font-weight:500;margin:4px 0 8px}
.spec-box h3:not(:first-child){margin-top:22px}
.spec-row{display:grid;grid-template-columns:260px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line-soft);font-size:14px}
.spec-row span:first-child{color:var(--muted)}
.side-box{background:#fff;border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:10px}
.side-box h3{font-size:16px;font-weight:500}
.kv{display:flex;justify-content:space-between;font-size:14px}
.kv span:first-child{color:var(--muted)}
.doc{display:flex;gap:12px;align-items:center}
.doc .ib{width:36px;height:36px;border-radius:8px;background:var(--blue-50);color:var(--blue);display:flex;align-items:center;justify-content:center}
.desc{background:#fff;border-radius:var(--r-lg);padding:24px 28px;line-height:1.65;margin-top:24px}
.desc p+p{margin-top:10px}

/* ---------- Страницы ---------- */
.article{background:#fff;border-radius:var(--r-lg);padding:36px 40px;max-width:900px;line-height:1.7}
.article h1{font-size:32px;line-height:1.2;margin-bottom:16px}
.article p,.article ul,.article ol{margin-bottom:14px}
.article ul,.article ol{padding-left:22px}
.article a{color:var(--blue)}
.article .date{color:var(--muted);font-size:14px;margin-bottom:12px}

/* ---------- Подвал ---------- */
.subscribe{background:var(--blue);color:#fff}
.subscribe .container{display:flex;align-items:center;justify-content:space-between;min-height:120px;gap:32px;padding-top:20px;padding-bottom:20px}
.subscribe h3{font-size:22px;font-weight:700}
.subscribe p{color:var(--blue-50);font-size:14px;margin-top:4px}
.sub-form{display:flex;gap:10px}
.sub-form input{width:320px;height:52px;border-radius:var(--r-md);border:0;padding:0 16px;font-size:15px}
.hp{position:absolute;left:-9999px}
.footer{background:var(--navy);color:var(--on-navy-muted);padding:48px 0 28px}
.footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer h4{color:#fff;font-size:15px;font-weight:500;margin-bottom:14px}
.footer .col a{display:block;font-size:14px;margin-bottom:10px}
.footer a:hover{color:#fff}
.footer .col a.logo{font-size:26px;margin-bottom:0}
.footer .logo b{color:#fff}
.footer .phone{color:#fff;font-size:22px;font-weight:700;margin-top:18px;display:block}
.footer .small{font-size:13px;margin-top:6px;line-height:1.6}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:#fff}
.legal{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}
.legal nav{display:flex;gap:24px;flex-wrap:wrap}

/* ---------- Ошибки ---------- */
.err{text-align:center;padding:96px 16px}
.err .code{font-size:96px;font-weight:900;color:var(--blue);letter-spacing:-4px;line-height:1}
.err h1{font-size:28px;margin:12px 0 8px}
.err p{color:var(--muted);margin-bottom:24px}

/* ---------- Адаптив ---------- */
@media (max-width:1280px){
  .products{grid-template-columns:repeat(4,1fr)}
  .products .card:nth-child(5){display:none}
  .grid4{grid-template-columns:repeat(3,1fr)}
  .hero-art{display:none}
  .brands{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:1024px){
  .container{padding:0 20px}
  .topbar nav a:nth-child(n+4){display:none}
  .hero{flex-direction:column}
  .hero-side{width:auto;flex-direction:row}
  .benefits{grid-template-columns:1fr 1fr}
  .cats{grid-template-columns:repeat(3,1fr)}
  .b2b{flex-direction:column;align-items:stretch}
  .price-demo{width:auto}
  .layout{grid-template-columns:1fr}
  .filters{position:static;display:none}
  .filters.open{display:block}
  .f-toggle{display:inline-flex}
  .pd-top,.specs{grid-template-columns:1fr}
  .seo{flex-direction:column;gap:12px}
  .seo h2{width:auto}
  .footer .cols{grid-template-columns:1fr 1fr}
  .mega .container{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  body{font-size:14px}
  .container{padding:0 16px}
  .topbar .right span,.topbar nav{display:none}
  .topbar .container{justify-content:flex-end}
  .header-main{flex-wrap:wrap;height:auto;padding:12px 0;gap:12px}
  .btn-catalog span{display:none}
  .btn-catalog{padding:0 14px;order:2}
  .logo{order:1;margin-right:auto;font-size:24px}
  .hicons{order:1}
  .hicon{width:44px;font-size:0}
  .hicon:first-child{display:none}
  .badge{left:24px}
  .search{order:3;flex-basis:100%}
  .hero-main{padding:24px;min-height:0}
  .hero-main h1{font-size:28px}
  .hero-side{flex-direction:column}
  .benefits,.cats{grid-template-columns:1fr 1fr;gap:12px}
  .benefit{flex-direction:column;align-items:flex-start;padding:14px}
  .cat{flex-direction:column-reverse;align-items:flex-start;min-height:0;padding:14px}
  .cat .pic{width:44px;height:44px}
  .products,.grid4{grid-template-columns:1fr 1fr;gap:12px}
  .products .card:nth-child(5){display:flex}
  .card{padding:12px}
  .card .img{height:140px}
  .price{font-size:17px}
  .b2b{padding:24px}
  .b2b h2{font-size:24px}
  .b2b ul{grid-template-columns:1fr}
  .brands{grid-template-columns:repeat(2,1fr)}
  .news{grid-template-columns:1fr}
  .seo{padding:24px}
  .h1{font-size:26px}
  .pd-title{font-size:20px}
  .main-img{min-height:300px}
  .thumbs{display:none}
  .spec-row{grid-template-columns:1fr 1fr}
  .prow{flex-wrap:wrap}
  .ptable{display:block;overflow-x:auto}
  .subscribe .container{flex-direction:column;align-items:stretch}
  .sub-form input{width:auto;flex:1;min-width:0}
  .sub-form .btn{padding:0 16px}
  .footer .cols{grid-template-columns:1fr}
  .mega .container{grid-template-columns:1fr}
  .article{padding:24px}
}
