/* «Есть прицеп!» — дизайн по согласованному макету: navy #0B1F44 + красный #D0161E, Unbounded + Manrope */
:root{
  --navy:#0B1F44;--navy-2:#17305E;--navy-3:#2E4A7E;--red:#D0161E;--red-d:#B01218;
  --bg:#F3F5F8;--side:#DCE2EB;--line:#D9DEE7;--line-2:#DFE3EA;--chip:#EAEDF3;
  --text-2:#34405A;--muted:#56607A;--muted-2:#8A93A6;--on-navy:#C3CCDD;--on-navy-2:#A3AFC6;
  --ok-bg:#E3F2E8;--ok:#1F6B3A;--rep-bg:#FFF1D6;--rep:#7A4E00;--maj-bg:#FDE8E9;--maj:#8F1016;
  --h:'Unbounded',sans-serif;--b:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--b);background:var(--side);color:var(--navy);font-size:15px;-webkit-font-smoothing:antialiased}
a{color:var(--navy)}a:hover{color:var(--red-d)}
input,select,textarea,button{font-family:inherit}
img{max-width:100%}
.page{max-width:1440px;margin:0 auto;min-height:100vh;background:var(--bg);display:flex;flex-direction:column;box-shadow:0 0 0 1px #C9D1DD,0 0 40px rgba(11,31,68,.08)}
.px{padding-left:80px;padding-right:80px}
.h-font{font-family:var(--h);font-weight:800;letter-spacing:-.02em}
.muted{color:var(--muted)}.small{font-size:13px}
.hide{display:none!important}

/* шапка */
.hdr{height:88px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:20}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.logo__ic{width:44px;height:44px;border-radius:10px;background:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.logo__img{display:block;height:56px;width:auto}
.logo__t{font-family:var(--h);font-weight:800;font-size:22px;letter-spacing:-.02em;color:var(--navy);white-space:nowrap}
.nav{display:flex;gap:32px;font-size:16px;font-weight:600}.nav a{text-decoration:none}
.grow{flex-grow:1}
.hdr__phone{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.hdr__phone a{font-size:20px;font-weight:700;text-decoration:none;white-space:nowrap}
.hdr__phone span{font-size:13px;color:var(--muted)}
.picks-btn{height:44px;padding:0 14px;border-radius:10px;background:var(--navy);color:#fff;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:800;text-decoration:none;white-space:nowrap}
.picks-btn:hover{color:#fff;background:#06132B}
.badge{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--red);display:flex;align-items:center;justify-content:center;font-size:13px}
.ghost{height:44px;padding:0 12px;border-radius:10px;border:none;background:transparent;color:var(--muted);font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;display:flex;align-items:center;white-space:nowrap}
.staffchip{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 12px;border-radius:12px;background:var(--navy);color:#fff}
.staffchip span{display:flex;flex-direction:column;font-size:12px;line-height:1.3}.staffchip b{font-size:14px}
.staffchip form{margin:0}
.btn-dark-sm{height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--navy-3);background:var(--navy-2);color:#fff;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none;display:flex;align-items:center}
.btn-dark-sm:hover{color:#fff;background:var(--navy-3)}
.msgr{display:flex;gap:8px}
.icbtn{width:44px;height:44px;border-radius:10px;border:1px solid #C1C8D6;display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:54px;padding:0 28px;border-radius:12px;border:none;background:var(--red);color:#fff;font-weight:700;font-size:17px;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--red-d);color:#fff}
.btn--line{background:transparent;border:2px solid var(--navy);color:var(--navy)}.btn--line:hover{background:var(--navy);color:#fff}
.btn--block{width:100%}
.btn:disabled{background:#C9CFDB;cursor:not-allowed}

/* первый экран */
.hero{padding-top:72px;padding-bottom:80px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.hero__l{display:flex;flex-direction:column;gap:28px}
.pill{align-self:flex-start;padding:8px 14px;border-radius:999px;background:var(--navy);color:var(--bg);font-size:14px;font-weight:600}
.hero h1{margin:0;font-family:var(--h);font-weight:800;font-size:72px;line-height:1.02;letter-spacing:-.03em}
.hero p{margin:0;font-size:20px;line-height:1.5;color:var(--text-2);max-width:540px}
.hero__btns{display:flex;gap:12px;margin-top:8px;flex-wrap:wrap}
.hero__img{height:460px;border-radius:24px;background:var(--navy);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hero__img img{width:100%;height:100%;object-fit:cover}
.hero__tag{position:absolute;left:20px;bottom:20px;padding:10px 14px;border-radius:10px;background:#fff;font-size:14px;font-weight:700;text-decoration:none}

/* как купить */
.how{padding-bottom:72px;display:flex;flex-direction:column;gap:28px}
.sec-h{margin:0;font-family:var(--h);font-weight:800;font-size:48px;letter-spacing:-.02em}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.step{padding:28px;border-radius:20px;border:2px solid var(--navy);display:flex;flex-direction:column;gap:12px}
.step b{font-family:var(--h);font-weight:800;font-size:36px}
.step strong{font-size:20px;font-weight:800;line-height:1.25}
.step span{font-size:15px;line-height:1.5;color:var(--text-2)}
.step--red{background:var(--red);border-color:var(--red);color:#fff}.step--red span{color:#fff}

/* каталог */
.catalog{padding-top:72px;padding-bottom:72px;background:#fff;display:flex;flex-direction:column;gap:32px}
.cat-head{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap}
.cat-head__t{display:flex;flex-direction:column;gap:10px;flex-grow:1}
.seg{display:flex;padding:4px;border-radius:999px;background:var(--chip);gap:4px}
.seg a{height:40px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:800;text-decoration:none;display:flex;align-items:center;color:var(--navy)}
.seg a.on{background:var(--navy);color:#fff}
.reset{height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--navy);background:#fff;font-size:15px;font-weight:700;text-decoration:none;display:flex;align-items:center}
.cat-body{display:flex;gap:32px;align-items:flex-start}
.filters{width:260px;flex-shrink:0;display:flex;flex-direction:column;gap:18px}
.filters>details>summary{display:none}
.fdiv{padding-top:14px;border-top:1px solid var(--line);font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--muted)}
.fg{display:flex;flex-direction:column;gap:8px}
.fg__l{font-size:14px;font-weight:800}
.fg__hint{font-size:13px;color:var(--muted-2)}
.fg__o{display:flex;flex-wrap:wrap;gap:6px}
.chip{padding:8px 12px;border-radius:999px;font-size:13px;font-weight:700;background:#fff;color:var(--navy);border:1px solid #C1C8D6;text-decoration:none;white-space:nowrap}
.chip:hover{border-color:var(--navy)}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.chip.zero{opacity:.45}
.lvl1{padding-left:14px}.lvl2{padding-left:28px}
.cards{flex-grow:1;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pcard{border-radius:20px;border:1px solid var(--line-2);background:#FAFBFC;display:flex;flex-direction:column;overflow:hidden}
.pcard__img{aspect-ratio:4/3;background:var(--navy);position:relative;display:block}
.pcard__img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard__tags{position:absolute;left:10px;top:10px;right:10px;display:flex;flex-wrap:wrap;gap:4px}
.tag{padding:4px 8px;border-radius:6px;background:#fff;font-size:12px;font-weight:700;color:var(--navy)}
.tag--red{background:var(--red);color:#fff;font-weight:800}
.cond{padding:4px 8px;border-radius:6px;font-size:12px;font-weight:800}
.pcard__img .cond{position:absolute;left:10px;bottom:10px}
.cond--ok{background:var(--ok-bg);color:var(--ok)}.cond--repair{background:var(--rep-bg);color:var(--rep)}.cond--major{background:var(--maj-bg);color:var(--maj)}.cond--unknown{background:#fff;color:var(--muted)}
.pcard__b{padding:16px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.pcard h3{margin:0;font-family:var(--h);font-weight:700;font-size:16px;line-height:1.25}
.pcard h3 a{text-decoration:none}
.kv{margin:0;display:grid;grid-template-columns:76px minmax(0,1fr);row-gap:6px;column-gap:8px;font-size:13px}
.kv dt{color:var(--muted)}.kv dd{margin:0;font-weight:700}
.note{padding:8px 10px;border-radius:8px;background:#FFF4DE;color:#6B4500;font-size:12px;line-height:1.4}
.pick{height:44px;border-radius:10px;font-size:14px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:var(--red-d);border:2px solid var(--red);width:100%}
.pick.on{background:var(--red);color:#fff}
.stf{padding:12px;border-radius:10px;border:1px dashed var(--navy);background:#EEF1F7;display:flex;flex-direction:column;gap:5px;font-size:13px}
.stf__h{font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--muted)}
.stf .k{color:var(--muted)}
.stf__call{align-self:flex-start;padding:6px 10px;border-radius:8px;background:var(--red);color:#fff;font-weight:800;text-decoration:none}
.stf__call:hover{color:#fff;background:var(--red-d)}
.pcard__f{display:flex;flex-direction:column;gap:10px;margin-top:auto}
.old{font-size:13px;color:var(--muted);text-decoration:line-through}
.price{font-family:var(--h);font-weight:700;font-size:18px}
.more{height:40px;border-radius:10px;border:2px solid var(--navy);font-weight:700;font-size:14px;text-decoration:none;display:flex;align-items:center;justify-content:center}
.more:hover{background:var(--navy);color:#fff}
.empty{grid-column:1/-1;padding:40px;border-radius:20px;background:var(--bg);font-size:16px;color:var(--text-2);line-height:1.5}
.pager{grid-column:1/-1;display:flex;gap:8px;justify-content:center;margin-top:8px}
.pager a,.pager span{padding:10px 14px;border-radius:10px;border:1px solid #C1C8D6;text-decoration:none;font-weight:700}
.pager span{background:var(--navy);color:#fff;border-color:var(--navy)}

/* моя подборка */
.picks{margin-top:56px;padding:40px;border-radius:28px;background:#fff;border:2px solid var(--navy);display:flex;flex-direction:column;gap:24px}
.picks__h{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.picks__h h2{margin:0;font-family:var(--h);font-weight:800;font-size:40px;letter-spacing:-.02em}
.picks__empty{margin:0;padding:28px;border-radius:16px;background:var(--bg);font-size:16px;color:var(--text-2);line-height:1.5}
.picks__grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:32px;align-items:start}
.picks__list{display:flex;flex-direction:column;gap:10px}
.prow{display:grid;grid-template-columns:120px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:10px;border-radius:14px;background:var(--bg)}
.prow img,.prow .ph0{width:120px;height:90px;border-radius:10px;object-fit:cover;background:var(--navy)}
.prow__t{display:flex;flex-direction:column;gap:3px;min-width:0}.prow__t b{font-size:16px}.prow__t span{font-size:13px;color:var(--muted)}
.prow__p{font-family:var(--h);font-weight:700;font-size:17px;white-space:nowrap}
.btn-out{height:40px;padding:0 12px;border-radius:10px;border:1px solid #C1C8D6;background:#fff;color:var(--navy);font-size:13px;font-weight:700;cursor:pointer}
.picks__tot{display:flex;justify-content:space-between;padding:10px 6px 0;font-size:15px}.picks__tot b{font-family:var(--h);font-size:18px}
.dform{padding:24px;border-radius:18px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:12px}
.dform__t{font-size:18px;font-weight:800}
.dform__s{font-size:14px;color:var(--on-navy);line-height:1.5}
.dform label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--on-navy)}
.dform input,.dform textarea,.dform select{height:48px;padding:0 14px;border-radius:10px;border:1px solid var(--navy-3);background:var(--navy-2);color:#fff;font-size:15px}
.dform textarea{height:auto;padding:12px 14px;resize:vertical}
.dform input::placeholder,.dform textarea::placeholder{color:#8797B5}
.dform small{font-size:12px;color:var(--on-navy-2)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* заявка */
.req{margin-top:40px;padding:64px;border-radius:28px;background:var(--navy);color:var(--bg);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px}
.req h2{margin:0;font-family:var(--h);font-weight:800;font-size:44px;line-height:1.1;letter-spacing:-.02em}
.req__l{display:flex;flex-direction:column;gap:20px}
.req__l p{margin:0;font-size:18px;line-height:1.55;color:var(--on-navy)}
.req__links{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.req__a{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:14px;background:var(--navy-2);color:var(--bg);text-decoration:none;font-size:18px;font-weight:700}
.req__a:hover{color:#fff;background:var(--navy-3)}
.req__2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.req__2 .req__a{font-size:16px}
.req form{display:flex;flex-direction:column;gap:16px}
.req label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;color:var(--on-navy)}
.req input,.req select,.req textarea{height:52px;padding:0 16px;border-radius:12px;border:1px solid var(--navy-3);background:var(--navy-2);color:var(--bg);font-size:16px}
.req textarea{height:auto;padding:14px 16px;resize:vertical}
.req input::placeholder,.req textarea::placeholder{color:#8797B5}
.req small{font-size:13px;color:var(--on-navy-2)}
.sent{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:40px;border-radius:20px;background:var(--navy-2)}
.sent b{font-family:var(--h);font-weight:700;font-size:28px}.sent span{font-size:17px;color:var(--on-navy);line-height:1.5}

/* подвал */
.ftr{margin-top:80px;padding-top:48px;padding-bottom:48px;border-top:1px solid var(--line);display:flex;gap:64px;font-size:15px;flex-wrap:wrap}
.ftr__c{display:flex;flex-direction:column;gap:10px}
.ftr__c:first-child{flex-grow:1}
.ftr__brand{font-family:var(--h);font-weight:800;font-size:20px}
.ftr span,.ftr a{color:var(--muted)}

/* сообщения */
.msgs{display:flex;flex-direction:column;gap:6px;margin-top:16px}
.msg{padding:12px 16px;border-radius:12px;background:var(--ok-bg);color:var(--ok);font-weight:700}
.msg--error{background:var(--maj-bg);color:var(--maj)}.msg--warning{background:var(--rep-bg);color:var(--rep)}

/* карточка товара */
.crumbs{padding-top:24px;display:flex;gap:10px;font-size:14px;color:var(--muted);flex-wrap:wrap}.crumbs a{color:var(--muted)}
.prod{padding-top:24px;padding-bottom:48px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:40px;row-gap:24px}
.prod__gal{grid-column:span 7;display:flex;flex-direction:column;gap:12px}
.prod__main{position:relative;aspect-ratio:4/3;border-radius:20px;background:var(--navy);overflow:hidden;display:flex;align-items:center;justify-content:center}
.prod__main img{width:100%;height:100%;object-fit:cover}
.prod__th{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.prod__th button{padding:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--chip);border:1px solid var(--line)}
.prod__th button.on{border:3px solid var(--red)}
.prod__th img{width:100%;height:100%;object-fit:cover;display:block}
.prod__r{grid-column:span 5;display:flex;flex-direction:column;gap:18px}
.prod__tags{display:flex;gap:8px;flex-wrap:wrap}.prod__tags .tag,.prod__tags .cond{padding:6px 10px;border-radius:8px;font-size:13px}
.prod h1{margin:0;font-family:var(--h);font-weight:800;font-size:40px;line-height:1.1;letter-spacing:-.02em}
.prod__where{font-size:16px;color:var(--text-2)}
.prod__price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.prod__price b{font-family:var(--h);font-weight:800;font-size:36px}.prod__price s{font-size:17px;color:var(--muted)}
.buy{padding:20px;border-radius:18px;background:#fff;display:flex;flex-direction:column;gap:12px}
.buy__t{font-size:17px;font-weight:800}
.buy label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--text-2)}
.buy input{height:50px;padding:0 14px;border-radius:12px;border:1px solid #C1C8D6;background:#FAFBFC;font-size:16px}
.buy__2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.buy__2 a{height:46px;border-radius:12px;border:1px solid var(--navy);display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:15px}
.sblk{padding:20px;border-radius:18px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:14px}
.sblk__h{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--on-navy-2)}
.sblk__lk{display:flex;flex-direction:column;gap:2px}.sblk__lk span{font-size:13px;color:var(--on-navy-2)}.sblk__lk b{font-family:var(--h);font-weight:800;font-size:24px}
.sblk__m{padding:14px;border-radius:12px;background:var(--navy-2);display:flex;flex-direction:column;gap:6px}
.sblk__m span{font-size:13px;color:var(--on-navy-2)}.sblk__m b{font-size:17px}
.sblk dl{margin:0;display:grid;grid-template-columns:150px minmax(0,1fr);row-gap:8px;font-size:13px}
.sblk dt{color:var(--on-navy-2)}.sblk dd{margin:0;font-weight:700}.sblk a{color:#fff}
.sblk__btns{display:flex;gap:8px;flex-wrap:wrap}
.specs{padding-top:48px;padding-bottom:48px;background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.specs h2{margin:0 0 16px;font-family:var(--h);font-weight:800;font-size:28px}
.specs dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));font-size:15px}
.specs dt,.specs dd{padding:12px 0;border-bottom:1px solid var(--line-2);margin:0}.specs dt{color:var(--muted)}.specs dd{font-weight:700}
.specs dd.na{color:var(--muted-2)}
.specs p{margin:0 0 12px;font-size:16px;line-height:1.6;color:var(--text-2)}
.mbar{display:none}

/* вход, регистрация */
.auth{max-width:440px;margin:48px auto;background:#fff;border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:14px}
.auth h1{margin:0;font-family:var(--h);font-weight:800;font-size:26px}
.auth label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.auth input{height:48px;border:1px solid #C1C8D6;border-radius:12px;padding:0 14px;font-size:16px;width:100%}
.auth ul{margin:4px 0;padding-left:18px;font-size:12px;font-weight:400;color:var(--muted)}
.auth .err{color:var(--red-d);font-weight:700;font-size:13px}

/* адаптив */
@media (max-width:1280px){
  .px{padding-left:40px;padding-right:40px}
  .nav{gap:20px}.hdr{gap:24px}.hdr__phone{display:none}
  .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero h1{font-size:56px}
}
@media (max-width:1024px){
  .nav,.msgr{display:none}
  .hero{grid-template-columns:1fr;gap:32px;padding-top:40px;padding-bottom:48px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cat-body{flex-direction:column}
  .filters{width:100%}
  .filters>details>summary{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 16px;border-radius:12px;border:1px solid var(--navy);font-weight:800;cursor:pointer;list-style:none}
  .filters details:not([open]) .fwrap{display:none}
  .fwrap{display:flex;flex-direction:column;gap:18px;margin-top:16px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .picks__grid,.req,.specs{grid-template-columns:1fr}
  .req{padding:40px;gap:32px}
  .prod__gal,.prod__r{grid-column:1/-1}
}
@media (max-width:640px){
  body{font-size:15px}
  .px{padding-left:16px;padding-right:16px}
  .hdr{height:60px;gap:10px}
  .logo__ic{width:36px;height:36px}.logo__ic svg{width:22px;height:22px}
  .logo__t{font-size:17px}.logo__img{height:42px}
  .picks-btn{height:40px;padding:0 10px;font-size:0}.picks-btn .badge{font-size:12px}
  .ghost{font-size:0;padding:0}.ghost::after{content:"Вход";font-size:13px}
  .staffchip span{display:none}
  .hero h1{font-size:34px}.hero p{font-size:16px}.hero__img{height:240px;border-radius:18px}
  .hero__btns .btn{flex:1 1 100%;height:52px;font-size:16px}
  .sec-h{font-size:28px}
  .steps{grid-template-columns:1fr;gap:10px}.step{padding:18px;flex-direction:row;flex-wrap:wrap;gap:6px 12px;align-items:baseline}.step b{font-size:22px}.step strong{font-size:17px;flex:1}.step span{flex-basis:100%}
  .catalog{padding-top:40px;padding-bottom:40px;gap:20px}
  .cards{grid-template-columns:1fr;gap:12px}
  .picks{margin-top:32px;padding:20px;border-radius:20px}.picks__h h2{font-size:26px}
  .prow{grid-template-columns:88px minmax(0,1fr);gap:10px}.prow img,.prow .ph0{width:88px;height:66px}
  .prow__p{grid-column:2}.prow .btn-out{grid-column:1/-1}
  .req{margin-top:24px;padding:24px;border-radius:20px}.req h2{font-size:28px}
  .ftr{margin-top:40px;gap:24px;padding-bottom:96px}
  .prod h1{font-size:26px}.prod__price b{font-size:26px}.prod__th{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
  .specs{padding-top:24px;padding-bottom:24px;gap:24px}.specs h2{font-size:20px}.specs dl{grid-template-columns:140px minmax(0,1fr)}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 16px;background:#fff;border-top:1px solid var(--line);gap:10px;align-items:center}
  .mbar__p{display:flex;flex-direction:column;flex-grow:1}.mbar__p span{font-size:12px;color:var(--muted)}.mbar__p b{font-family:var(--h);font-size:16px}
  .mbar .btn{height:48px;padding:0 18px;font-size:15px}
  .sblk dl{grid-template-columns:120px minmax(0,1fr)}
}
/* партия: «В наличии N шт.» */
.pcard__img .instock{position:absolute;right:10px;bottom:10px;background:var(--red);color:#fff;font-weight:800;font-size:12.5px;padding:4px 9px;border-radius:6px}
.units{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line-2);border-radius:16px;padding:14px 16px}
.units__h{font-family:Unbounded,sans-serif;font-size:16px}
.units table{width:100%;border-collapse:collapse;font-size:14px}.units td{padding:6px 4px;border-top:1px solid var(--line-2)}
.units tr.on td{font-weight:800}.units__p{white-space:nowrap;text-align:right}
/* популярные запросы — невысокие плитки над каталогом (~⅓ высоты карточки) */
.quick{display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:12px}
.qt{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;min-height:150px;padding:14px 16px;border-radius:18px;overflow:hidden;background:var(--navy);color:#fff;text-decoration:none;isolation:isolate;transition:transform .15s,box-shadow .15s}
.qt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.85;transition:transform .3s}
.qt::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(11,31,68,.05) 15%,rgba(11,31,68,.92) 85%)}
.qt:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(11,31,68,.22)}.qt:hover img{transform:scale(1.04)}
.qt__t{font-family:Unbounded,sans-serif;font-weight:700;font-size:15px;line-height:1.2}
.qt__h{font-size:12.5px;opacity:.85}
.qt__n{font-size:13px;font-weight:700;opacity:.9}
.qt.on{outline:3px solid var(--red);outline-offset:-3px}.qt.on .qt__n{color:#fff;opacity:1}
.qt.on::before{background:linear-gradient(180deg,rgba(208,22,30,.15) 15%,rgba(11,31,68,.94) 85%)}
@media(max-width:700px){.quick{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px 4px}.qt{flex:0 0 62%;min-height:120px;scroll-snap-align:start}}
.chip__h{display:block;font-size:11.5px;font-weight:500;opacity:.7;margin-top:1px}
/* кабинет партнёра */
.phead{padding-top:40px;display:flex;flex-direction:column;gap:12px;max-width:900px}
.phead h1{font-family:Unbounded,sans-serif;font-size:clamp(26px,4vw,40px);margin:0;line-height:1.1}
.phead p{margin:0;color:var(--muted,#56607A);font-size:17px}
.pcard__img .pstat{background:rgba(11,31,68,.85);color:#fff}
.pcard__img .pstat--on{background:#1F6B3A}
/* колонка фильтров: сворачивающиеся блоки и дерево */
.fx{display:flex;flex-direction:column;gap:2px}
.fx__resetall{font-size:13px;font-weight:700;color:var(--red);margin:0 0 8px}
.fx__b{border-bottom:1px solid var(--line-2,#DFE3EA)}
.fx__b>summary,.fx__sub>summary{display:flex!important;align-items:baseline;gap:8px;padding:11px 2px;cursor:pointer;list-style:none;height:auto!important;border:0!important;border-radius:0!important}
.fx__b>summary::-webkit-details-marker,.fx__sub>summary::-webkit-details-marker,.fx__node>summary::-webkit-details-marker,.fx__more>summary::-webkit-details-marker{display:none}
.fx__t{font-size:14.5px;font-weight:800;color:var(--navy)}
.fx__sum{flex:1;min-width:0;font-size:12.5px;color:var(--red);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.fx__ar{margin-left:auto;font-size:12px;color:var(--muted,#56607A);transition:transform .15s}
.fx__b[open]>summary .fx__ar,.fx__sub[open]>summary .fx__ar{transform:rotate(180deg)}
.fx__body{padding:0 0 12px}
.fx__sub{margin-left:4px;border-top:1px dashed var(--line-2,#DFE3EA)}.fx__sub>summary .fx__t{font-size:13.5px;font-weight:700}
.fx__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.fx__kids{padding-left:36px;margin:0 0 4px}
.fx__row{display:flex;align-items:center;gap:4px;padding:3px 0;list-style:none}
.fx__node>summary{cursor:pointer}
.fx__tw{width:14px;height:14px;flex-shrink:0;position:relative;border:1.5px solid #8A94A8;border-radius:3px;box-sizing:border-box;margin-right:2px}
.fx__node>summary .fx__tw::before,.fx__node>summary .fx__tw::after{content:"";position:absolute;left:50%;top:50%;background:#56607A;transform:translate(-50%,-50%)}
.fx__node>summary .fx__tw::before{width:7px;height:1.5px}
.fx__node>summary .fx__tw::after{width:1.5px;height:7px}
.fx__node[open]>summary .fx__tw::after{display:none}
.fx__node>summary:hover .fx__tw{border-color:var(--navy)}
.fx__tw--none{border-color:transparent}

.fx__opt{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-size:14px;color:var(--navy);text-decoration:none;line-height:1.3}
.fx__opt:hover{color:var(--red)}
.fx__box{width:16px;height:16px;flex-shrink:0;border:1.5px solid #9AA3B5;border-radius:4px;background:#fff}
.fx__opt.on{font-weight:800}.fx__opt.on .fx__box{background:var(--navy);border-color:var(--navy);box-shadow:inset 0 0 0 3px #fff}
.fx__n{font-size:12.5px;color:var(--muted,#56607A);min-width:24px;text-align:right}
.fx__i.zero .fx__opt,.fx__i.zero .fx__n{opacity:.45}
.fx__more>summary{cursor:pointer;list-style:none;font-size:13px;font-weight:700;color:var(--navy);text-decoration:underline;padding:4px 0 4px 20px}
.fx__more[open]>summary{display:none}
.fx__reset{display:inline-block;font-size:12.5px;font-weight:700;color:var(--red);margin:6px 0 0 20px}
.fx__range{display:flex;align-items:center;gap:6px;margin:8px 0 0 20px}
.fx__range input{width:84px;font:inherit;font-size:13.5px;padding:6px 8px;border:1px solid #C1C8D6;border-radius:8px}
.fx__range button{font:inherit;font-size:13px;font-weight:800;padding:6px 10px;border-radius:8px;border:1px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer}
.fx__list--tree>.fx__i>.fx__node>summary .fx__opt,.fx__list--tree>.fx__i>.fx__row .fx__opt{font-weight:800}
.fx__list--tree>.fx__i>.fx__node>summary .fx__n,.fx__list--tree>.fx__i>.fx__row .fx__n{font-weight:700;color:var(--navy)}
.qt--empty{opacity:.6}.qt--empty::before{background:linear-gradient(180deg,rgba(11,31,68,.55),rgba(11,31,68,.95))}
/* слайд-шоу на главной */
.hs{position:relative;height:460px;border-radius:24px;overflow:hidden;background:var(--navy)}
.hs__s{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
.hs__s.on{opacity:1;visibility:visible}
.hs__img,.hs__img img{display:block;width:100%;height:100%}.hs__img img{object-fit:cover}
.hs__cat{position:absolute;left:20px;top:20px;background:var(--red);color:#fff;font-weight:800;font-size:13px;padding:6px 12px;border-radius:8px}
.hs__n{position:absolute;right:20px;top:20px;background:#fff;color:var(--navy);font-weight:800;font-size:13px;padding:6px 12px;border-radius:8px}
.hs__card{position:absolute;left:20px;right:20px;bottom:44px;background:rgba(255,255,255,.96);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;box-shadow:0 10px 30px rgba(11,31,68,.25)}
.hs__t a{font-family:var(--h);font-weight:800;font-size:18px;color:var(--navy);text-decoration:none}
.hs__m{font-size:14px;color:var(--text-2,#56607A)}
.hs__f{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:4px}
.hs__p{font-family:var(--h);font-size:20px;color:var(--navy)}
.hs__b{display:flex;gap:8px;align-items:center}
.hs__pick{height:38px!important;padding:0 14px!important;font-size:14px!important;width:auto!important}
.hs__more{height:38px;display:inline-flex;align-items:center;padding:0 14px;border-radius:10px;background:var(--navy);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.hs__arr{position:absolute;top:42%;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:var(--navy);font-size:26px;line-height:1;cursor:pointer;opacity:0;transition:opacity .2s}
.hs:hover .hs__arr{opacity:1}.hs__arr--l{left:14px}.hs__arr--r{right:14px}
.hs__dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:6px}
.hs__dots button{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.55);cursor:pointer}
.hs__dots button.on{background:#fff;width:22px;border-radius:4px}
@media(max-width:1024px){.hs{height:400px}}
@media(max-width:600px){.hs{height:430px}.hs__card{left:12px;right:12px}.hs__t a{font-size:16px}.hs__arr{display:none}}
@media(hover:none){.hs__arr{opacity:1}}
.fx summary,.qside summary,.fx summary::marker,.qside summary::marker{list-style:none}
.fx summary::marker,.qside summary::marker{content:""}
.fx summary::-webkit-details-marker,.qside summary::-webkit-details-marker{display:none}
/* уведомление о cookie */
.cc{position:fixed;left:16px;right:16px;bottom:16px;z-index:100;max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(11,31,68,.2);padding:14px 16px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--navy)}
.cc[hidden]{display:none}.cc a{color:var(--navy);text-decoration:underline}
.cc__b{display:flex;gap:8px;flex-wrap:wrap}.cc .btn,.cc .btn2{height:40px;padding:0 14px;font-size:14px}
.ftr__note{flex-basis:100%;margin:0;font-size:12.5px;color:var(--muted);max-width:900px}
.legal{max-width:860px;padding-top:32px;padding-bottom:40px}
.legal h1{font-family:var(--h);font-size:clamp(26px,4vw,36px);line-height:1.15;margin:0 0 8px}
.legal h2{font-size:19px;margin:28px 0 8px}.legal p,.legal li{font-size:15.5px;line-height:1.6}
.legal .meta{color:var(--muted);font-size:14px}.legal table{border-collapse:collapse;width:100%;font-size:15px}.legal td{border-bottom:1px solid var(--line);padding:8px 6px;vertical-align:top}.legal td:first-child{color:var(--muted);width:38%}
.consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.4;color:inherit;font-weight:500;cursor:pointer}
.consent input{width:18px!important;height:18px!important;flex-shrink:0;margin:1px 0 0;accent-color:var(--red)}
.consent a{color:inherit;text-decoration:underline}
.btn--ya{background:#000;color:#fff}.btn--ya::before{content:"Я";display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#FC3F1D;font-weight:800;font-size:15px}
.btn--ghost{background:#fff;color:var(--ink,#1B2333);border:1px solid #C1C8D6}
.tag--ok{background:#E3F5EA;color:#1E7A45;font-weight:700}.tag--wait{background:#F1F3F7;color:var(--muted)}
.introbar{display:flex;justify-content:flex-end;padding-top:12px}
.introtg{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:10px;border:1px solid var(--line,#D8DDE6);background:#fff;color:var(--navy,#0F1E3C);font-weight:700;font-size:14px;cursor:pointer}
.introtg:hover{border-color:var(--navy,#0F1E3C)}.introtg__a{font-size:11px}
.intro[hidden]{display:none}
/* фильтры без перезагрузки */
[data-live="cards"],[data-live="fx"]{transition:opacity .15s}
.is-loading{opacity:.55;pointer-events:none}
[data-live="fx"].is-loading{pointer-events:auto}
.fxgo{display:none}
@media (max-width:1024px){
  .filters>details[open]{position:fixed;inset:0;z-index:200;background:#fff;overflow:auto;padding:12px 16px 96px;margin:0}
  .filters>details[open]>summary{position:sticky;top:-12px;z-index:2;background:#fff;margin:-12px -16px 8px;padding:0 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;height:56px}
  .filters>details[open]>summary .fdet__x::before{content:"✕ ";}
  .filters>details[open] .fxgo{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:3;gap:10px;align-items:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(11,31,68,.08)}
  .fxgo .btn{flex:1;height:50px}
  .fxgo__reset{font-weight:700;color:var(--navy);padding:0 6px}
  html.fx-open,html.fx-open body{overflow:hidden}
}
.pbar{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px;margin:4px 0 22px;padding:14px 20px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.pbar__t{font-weight:800;color:var(--navy);margin-right:4px}
.pbar__v small{color:var(--muted);font-size:13px;margin-right:2px}.pbar__v b{font-size:19px;color:var(--navy);white-space:nowrap}
.pbar__n{color:var(--muted);font-size:13px;margin-left:auto}
@media(max-width:640px){.pbar{gap:6px 16px;padding:12px 14px}.pbar__v b{font-size:16px}.pbar__n{margin-left:0;flex-basis:100%}}

.phnote{position:absolute;left:12px;bottom:12px;right:12px;width:max-content;max-width:calc(100% - 24px);background:rgba(11,31,68,.85);color:#fff;font-size:13px;font-weight:700;padding:6px 10px;border-radius:8px}
.phnote[hidden]{display:none}
.tag--ph{background:rgba(11,31,68,.85);color:#fff}
