/* rsk.market — витрина. Вариант 2 «лёгкий» (макеты Main2, Category2, Product2, QuickView, *Mobile2) */
:root{
  --ink:#1B1F27; --muted:#5B6370; --line:#E8EBF0; --bg2:#F5F7FA; --ph:#B8BFCA; --ph2:#A3ABB8; --bd2:#C3C9D2;
  --accent:#1F6BE8; --accent-soft:color-mix(in srgb,#1F6BE8 8%,#FFFFFF); --navy:#12163A; --navy-line:#2B3160;
  --sale:#D0342C; --in:#1B7A3E; --remote:#8A5A00; --order:#5B6370;
  --jost:Jost,Inter,system-ui,sans-serif; --inter:Inter,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --wrap:1360px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#FFFFFF;color:var(--ink);font-family:var(--inter);font-size:15px;line-height:1.5}
a{color:var(--ink);text-decoration:none}a:hover{color:var(--accent)}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:var(--ink)}
h1,h2,h3{margin:0;font-weight:300;font-family:var(--jost)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted)}
.ic{flex:none;display:block}
[hidden]{display:none!important}

/* --- кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:24px;border:0;background:var(--accent);color:#fff;font-size:15px;font-weight:500;white-space:nowrap;transition:filter .15s}
.btn:hover{color:#fff;filter:brightness(1.08)}
.btn-lg{height:56px;padding:0 32px;border-radius:28px;font-size:17px}
.btn-md{height:52px;padding:0 32px;border-radius:26px}
.btn-line{background:#fff;color:var(--ink);border:1px solid var(--accent)}
.btn-line:hover{color:var(--accent);filter:none}
.btn-grey{background:#fff;color:var(--ink);border:1px solid var(--bd2)}
.btn-grey:hover{color:var(--ink);filter:none;border-color:var(--muted)}
.btn-soft{background:var(--bg2);color:var(--ink)}
.btn-soft:hover{color:var(--accent);filter:none}
.btn-block{width:100%}
.btn-ghost-w{height:34px;padding:0 16px;border-radius:17px;border:1px solid rgba(255,255,255,.6);background:transparent;color:#fff;font-size:13px}
.circle{width:48px;height:48px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:#fff;position:relative}
.badge-n{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--accent);color:#fff;font-size:11px;font-weight:600;line-height:20px;text-align:center}
.link{font-size:14px;font-weight:500;color:var(--accent)}

/* --- верхняя полоса */
.top{background:var(--navy);color:#C9CED6;font-size:13px}
.top .wrap{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.top a{color:#C9CED6}.top a:hover{color:#fff}
.top-l,.top-r{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center}
.top-r{gap:8px 24px}
.top .phone{font-family:var(--jost);font-size:17px;font-weight:500;letter-spacing:.02em;color:#fff}
.city{display:flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#fff;font-weight:500;position:relative}
.city-menu{position:absolute;top:28px;left:0;z-index:60;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(18,22,58,.18);padding:8px;min-width:200px}
.city-menu button{display:block;width:100%;text-align:left;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:14px}
.city-menu button:hover{background:var(--bg2)}

/* --- шапка */
.head{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;padding-top:22px}
.logo img{height:40px;width:auto}
.btn-catalog{height:52px;padding:0 26px;border-radius:26px}
.search{flex:1 1 360px;min-width:0;position:relative}
.search-box{display:flex;align-items:center;gap:12px;height:52px;padding:0 8px 0 22px;border-radius:26px;background:var(--bg2)}
.search-box input{flex:1;min-width:0;border:0;outline:0;padding:0;font-size:15px;background:transparent}
.search-box input::-webkit-search-cancel-button{display:none}
.search-box button{flex:none;height:38px;padding:0 20px;border:0;border-radius:19px;background:#fff;font-size:14px;font-weight:500}
.suggest{position:absolute;left:0;right:0;top:58px;z-index:70;background:#fff;border-radius:24px;box-shadow:0 16px 48px rgba(18,22,58,.18);padding:12px;max-height:70vh;overflow:auto}
.suggest a{display:flex;gap:12px;align-items:center;padding:8px 10px;border-radius:14px}
.suggest a:hover,.suggest a.on{background:var(--bg2);color:var(--ink)}
.suggest .s-img{flex:none;width:52px;height:52px;border-radius:10px;background:var(--bg2);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--ph)}
.suggest .s-img img{width:100%;height:100%;object-fit:contain}
.suggest .s-t{flex:1;min-width:0;font-size:14px;line-height:19px}
.suggest .s-m{font-size:12px;color:var(--muted)}
.suggest .s-p{font-family:var(--jost);font-size:16px;font-weight:500;white-space:nowrap}
.suggest .s-g{display:flex;flex-wrap:wrap;gap:6px;padding:4px 6px 10px}
.suggest .s-g a{display:inline-flex;padding:6px 12px;border-radius:16px;background:var(--bg2);font-size:13px}
.suggest .s-g a span{color:var(--muted);margin-right:4px}
.suggest .s-all{justify-content:center;font-weight:500;color:var(--accent);font-size:14px}
.head-act{display:flex;gap:10px;align-items:center}
.head-act .login{display:inline-flex;align-items:center;height:48px;padding:0 14px;font-size:14px;font-weight:500}
.cart-btn{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px;border-radius:24px;border:1px solid var(--line);font-size:14px;font-weight:500;position:relative}
.menu{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center;padding-top:18px;padding-bottom:20px;font-size:16px;font-weight:500}
.menu .sp{flex:1 1 0}
.menu .ext{display:inline-flex;align-items:center;gap:6px}

/* мега-меню каталога */
.mega{position:absolute;left:0;right:0;z-index:55;background:#fff;border-top:1px solid var(--line);box-shadow:0 24px 48px rgba(18,22,58,.12)}
.mega .wrap{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px 32px;padding-top:28px;padding-bottom:32px}
.mega h4{margin:0 0 8px;font-family:var(--jost);font-size:20px;font-weight:400}
.mega ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:14px}
.mega ul a{color:var(--muted)}.mega ul a:hover{color:var(--accent)}

/* --- мобильная шапка и нижняя панель */
.m-head{display:none}
.m-nav{display:none}
.drawer{position:fixed;inset:0;z-index:90;background:rgba(18,22,58,.45)}
.drawer-in{position:absolute;left:0;top:0;bottom:0;width:min(360px,88vw);background:#fff;overflow:auto;padding:16px}
.drawer-in .d-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.drawer details{border-bottom:1px solid var(--line)}
.drawer summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:52px;font-size:16px;font-weight:500;cursor:pointer}
.drawer summary::-webkit-details-marker{display:none}
.drawer details a{display:flex;align-items:center;min-height:40px;padding-left:12px;color:var(--muted)}
.drawer .d-links a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--line)}

/* --- баннеры */
/* баннеры (макет «Баннеры главной»): фото + текст и кнопка поверх */
.hero{position:relative;height:560px;overflow:hidden;background:var(--navy)}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none;color:#fff}
.hero-slide.on{opacity:1;pointer-events:auto}
.hs-pic{position:absolute;inset:0;display:block}
.hero-img{width:100%;height:100%;object-fit:cover;display:block}
.hs-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,22,58,.92) 0%,rgba(18,22,58,.78) 36%,rgba(18,22,58,.25) 58%,rgba(18,22,58,0) 70%)}
.hs-plain{background:#000}
.hs-text{position:absolute;left:100px;top:0;bottom:0;width:600px;display:flex;flex-direction:column;justify-content:center;gap:18px;text-align:left}
.hero-label{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#A9C2FF}
.hero .h1{margin:0;font-family:var(--jost);font-size:46px;line-height:56px;font-weight:300;letter-spacing:.03em;text-transform:uppercase;color:inherit}
.hero p{margin:0;font-size:17px;line-height:26px;color:rgba(255,255,255,.88)}
.hero .btn{margin-top:8px;align-self:flex-start;height:52px;padding:0 32px;border-radius:26px;font-size:13px;letter-spacing:.1em;text-transform:uppercase}
.hero .hs-note{margin:6px 0 0;font-size:12px;line-height:18px;color:rgba(255,255,255,.72)}
.hs-light{background:#F6F0E7;color:var(--ink)}
.hs-light .hs-pic{left:44%}
.hs-light .hs-text{width:44%;padding:0 56px 0 100px;left:0}
.hs-light .h1{font-size:40px;line-height:50px}
.hs-light p{color:var(--muted)}
.hs-light .btn{margin-top:4px}
.hs-hl{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:#fff;border:1px solid #E8E1D5;font-size:15px;line-height:21px}
.hs-hl svg{flex:none}.hs-hl b{font-weight:600}
.hero .btn-strong{height:56px;padding:0 36px;border-radius:28px;font-size:14px;font-weight:600}
.hs-icon{background:var(--navy)}
.hs-truck{position:absolute;right:120px;top:70px;width:620px;height:420px;opacity:.9}
.hs-icon .hs-text{width:640px}
.hs-chips{display:flex;flex-wrap:wrap;gap:10px}
.hs-chips span{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:18px;border:1px solid rgba(255,255,255,.35);font-size:14px}
.hs-empty{background:var(--accent-soft);color:var(--ink)}
.hs-empty .hs-text{left:0;right:0;width:auto;align-items:center;text-align:center;padding:0 24px}
.hs-empty .hero-label,.hs-empty p{color:var(--muted)}
.hs-empty .btn{align-self:center}
.hero-arr{position:absolute;top:calc(50% - 26px);z-index:3;width:52px;height:52px;border:0;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center}
.hero-arr.l{left:24px}.hero-arr.r{right:24px}
.hero-dots{position:absolute;left:0;right:0;bottom:22px;z-index:3;display:flex;justify-content:center;gap:8px}
.hero-dots button{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(18,22,58,.15);transition:width .2s}
.hero-dots button.on{width:32px;background:var(--accent);box-shadow:none}
@media (max-width:1200px) and (min-width:901px){.hs-text{left:88px;width:min(600px,52%)}.hs-light .hs-text{padding-left:88px}}

/* --- секции главной */
.sections{padding-top:72px;padding-bottom:72px;display:flex;flex-direction:column;gap:72px}
.h2{font-family:var(--jost);font-size:40px;line-height:48px;font-weight:300}
.sec-head{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:baseline;justify-content:space-between}
.cat-rows{display:flex;flex-direction:column;gap:16px}
.cat-row{display:flex;flex-wrap:wrap;gap:16px}
.cat-big{flex:1 1 480px;min-width:0;min-height:336px;border-radius:24px;background:var(--bg2);padding:32px;display:flex;flex-wrap:wrap;gap:24px}
.cat-big .t{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:10px}
.cat-big .n{font-family:var(--jost);font-size:34px;line-height:40px;font-weight:400}
.cat-big .s{font-size:15px;line-height:24px;color:var(--muted)}
.cat-big .go{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--accent)}
.cat-big .ph{flex:1 1 220px;min-width:0;min-height:200px;border-radius:16px;background:#fff;color:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden}
.cat-big .ph img{width:100%;height:100%;object-fit:cover}
.cat-tiles{flex:1 1 480px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
.cat-tile{min-width:0;min-height:160px;border-radius:24px;background:var(--bg2);padding:24px;display:flex;flex-direction:column;gap:6px}
.cat-tile .n{font-family:var(--jost);font-size:24px;line-height:30px;font-weight:400}
.cat-tile .s{font-size:14px;line-height:21px;color:var(--muted)}
.cat-tile svg{margin-top:auto;align-self:flex-end;color:var(--accent)}
.cat-geos{flex:1 1 480px;min-width:0;min-height:160px;border-radius:24px;background:#EEF2EC;padding:24px 28px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.cat-geos .pill{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:22px;background:#fff;font-size:14px;font-weight:500}
.tabs{display:flex;flex-wrap:wrap;gap:4px 44px;align-items:baseline}
.tabs button{padding:0 0 6px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-family:var(--jost);font-size:34px;line-height:42px;font-weight:300}
.tabs button.on{color:var(--ink);border-bottom-color:var(--accent)}
.trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:24px 32px}
.trust > div{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.trust svg{color:var(--accent)}
.trust .h{font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.trust .s{max-width:260px;font-size:14px;line-height:21px;color:var(--muted)}
.brands-band{background:var(--bg2)}
.brands-band .wrap{padding-top:56px;padding-bottom:56px;display:flex;flex-direction:column;gap:28px;align-items:center}
.brands-band h2{font-size:28px;line-height:36px;letter-spacing:.08em;text-transform:uppercase}
.brands-row{width:100%;display:flex;align-items:center;gap:16px}
.brands-row .arr{flex:none;width:48px;height:48px;border-radius:50%;border:1px solid var(--bd2);background:#fff;display:flex;align-items:center;justify-content:center}
.bw{flex:1;min-width:0;overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.bw.dragging{cursor:grabbing}
.bm{display:flex;width:max-content;will-change:transform}
.brand-logo-h{height:44px;width:auto;max-width:200px;object-fit:contain}
.brandlink{display:inline-flex;align-items:center;gap:8px}
.brand-logo-s{height:22px;width:auto;max-width:110px;object-fit:contain}
a.pc-brand:hover{color:var(--accent)}
/* бренд без логотипа — плашка с названием той же высоты, что логотипы */
.bm .bm-name{display:inline-flex;align-items:center;justify-content:center;height:44px;max-width:170px;padding:0 18px;border:1px solid var(--bd2);border-radius:22px;background:#fff;font-family:var(--jost);font-size:18px;line-height:1;font-weight:500;letter-spacing:.04em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bm a:hover .bm-name{border-color:var(--accent);color:var(--accent)}
/* ячейка ленты: ширина и высота одинаковые, логотипы — в родном цвете; при наведении чуть крупнее */
.bm a{flex:none;width:200px;text-align:center;white-space:nowrap;font-family:var(--jost);font-size:26px;line-height:48px;font-weight:300;color:var(--muted);display:flex;align-items:center;justify-content:center;height:64px;-webkit-user-drag:none}
.bm a > span{transition:transform .25s ease}
.bm a:hover > span{transform:scale(1.05)}
.bm-logo{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:4px 10px;border-radius:12px}
.bm-logo img{max-height:44px;max-width:160px;width:auto;pointer-events:none}
/* светлый логотип (белая надпись) — на тёмной подложке */
.bm-logo.dark,.brand-logo-wrap.dark{background:var(--navy)}
.brand-logo-wrap{display:inline-flex;align-items:center;border-radius:10px}
.brand-logo-wrap.dark{padding:6px 12px}
.brand-logo-wrap.dark.s{padding:3px 8px;border-radius:6px}
@media (prefers-reduced-motion:reduce){.hero-slide{transition:none}}
.promo2{display:flex;flex-wrap:wrap;gap:16px;padding-top:72px;padding-bottom:80px}
.promo2 > div{flex:1 1 420px;min-width:0;min-height:220px;border-radius:24px;padding:36px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;background:var(--bg2)}
.promo2 > div:first-child{background:var(--accent-soft)}
.promo2 h2{font-size:30px;line-height:36px;font-weight:400}
.promo2 p{margin:0;max-width:520px;font-size:16px;line-height:24px;color:var(--muted)}
.promo2 .btn{margin-top:auto}

/* --- плитки товаров */
/* линии между плитками — тенью у самих плиток, чтобы пустые места в последнем ряду были белыми */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:0;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.grid > .pc{box-shadow:1px 0 0 var(--line),0 1px 0 var(--line)}
.grid.g230{grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr))}
.feat{display:flex;flex-wrap:wrap;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:24px;overflow:hidden}
.feat > .pc.big{flex:2 1 420px;padding:28px;gap:10px}
/* справа от большой карточки — ровно 3 колонки; число карточек кратно 3 (без пустых клеток) */
.feat > .grid{flex:3 1 560px;border:0;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.feat > .grid > .pc{box-shadow:-1px 0 0 var(--line),0 -1px 0 var(--line)}
.pc{min-width:0;background:#fff;padding:20px;display:flex;flex-direction:column;gap:8px;position:relative}
.pc-media{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.pc.big .pc-media{aspect-ratio:auto;flex:1;min-height:380px}
.pc-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--ph);transition:opacity .2s ease}
.pc-img img{width:100%;height:100%;object-fit:contain}
/* слой кнопок поверх фото: сам нажатия не ловит (по фото — переход в карточку), видны при наведении или фокусе с клавиатуры */
.pc-act{position:absolute;inset:0;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;opacity:0;pointer-events:none;transition:opacity .2s ease}
.pc-act > *{max-width:100%;pointer-events:none}
.pc:hover .pc-act,.pc:has(:focus-visible) .pc-act{opacity:1}
.pc:hover .pc-act > *,.pc:has(:focus-visible) .pc-act > *{pointer-events:auto}
.pc:hover .pc-img,.pc:has(:focus-visible) .pc-img{opacity:.3}
.pc-act .qv{height:44px;padding:0 20px;border-radius:22px;font-size:14px}
.pc.big .pc-act .qv{height:48px;padding:0 24px;border-radius:24px}
.pc-act .pc-cmp{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:18px;background:var(--bg2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.pc-act .pc-cmp:hover{background:#E4E8EF}
.pc-act .pc-cmp.on{background:var(--accent-soft);color:var(--accent)}
.pc-act .pc-cmp-go{font-size:13px;color:var(--accent);text-decoration:underline;white-space:nowrap;background:rgba(255,255,255,.9);padding:2px 8px;border-radius:10px}
.pc-act .pc-cmp-go[hidden]{display:none}
.badge{position:absolute;left:0;top:0;padding:4px 12px;border-radius:14px;background:var(--sale);color:#fff;font-size:12px;font-weight:500;letter-spacing:.04em;z-index:2}
.badge.ink{background:var(--ink)}
.fav{position:absolute;right:-6px;top:-6px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;z-index:2}
.fav.on{color:var(--sale)}.fav.on svg{fill:currentColor}
.pc-brand{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);min-height:16px}
.pc.big .pc-brand{font-size:12px}
.pc-name{height:42px;overflow:hidden;font-size:15px;line-height:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pc.big .pc-name{height:auto;font-family:var(--jost);font-size:28px;line-height:34px;font-weight:400;-webkit-line-clamp:3}
.pc-meta{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;color:var(--muted)}
.pc-stock{display:flex;align-items:flex-start;gap:6px;min-height:36px;font-size:13px;line-height:18px}
.dot{flex:none;width:6px;height:6px;margin-top:6px;border-radius:50%;background:currentColor}
.pc-buy{margin-top:auto;padding-top:4px;display:flex;align-items:center;gap:10px}
.price{font-family:var(--jost);font-size:23px;line-height:28px;font-weight:500;white-space:nowrap}
.pc.big .price{font-size:36px;line-height:44px}
.old{flex:1;min-width:0;font-size:13px;color:var(--muted);text-decoration:line-through;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.to-cart{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;transition:filter .15s}
.to-cart:hover{filter:brightness(1.08)}
.to-cart.done{background:var(--in)}

/* --- категория */
.page{padding-top:24px;padding-bottom:80px;display:flex;flex-direction:column;gap:24px}
.crumbs{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:13px;color:var(--muted)}
.crumbs a{color:var(--muted)}.crumbs a:hover{color:var(--accent)}
.title-row{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:baseline}
.title-row h1{font-size:48px;line-height:56px}
.subcats{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.subcat{flex:none;width:150px;border-radius:20px;background:var(--bg2);padding:14px 14px 16px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.subcat .ci{width:72px;height:72px;border-radius:50%;background:#fff;color:var(--ph2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.subcat .ci img{width:100%;height:100%;object-fit:cover}
.subcat .t{font-size:14px;line-height:19px}
.subcat .n{font-size:12px;color:var(--muted)}
.layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.filters{flex:1 1 280px;max-width:320px;min-width:0;display:flex;flex-direction:column}
.results{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:20px}
.fg{padding:20px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.fg:first-child{padding-top:0}
.fg-h{height:32px;padding:0;border:0;background:transparent;font-size:13px;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left}
.fg-h svg{transition:transform .2s}
.fg.closed .fg-h svg{transform:rotate(180deg)}
.fg.closed .fg-b{display:none}
.fg-b{display:flex;flex-direction:column;gap:8px}
.chk{display:flex;align-items:center;gap:12px;min-height:30px;font-size:15px;cursor:pointer}
.chk input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--accent)}
.chk .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.chk .n{font-size:13px;color:var(--muted)}
.chk .sw{flex:none;width:16px;height:16px;border-radius:50%;border:1px solid var(--bd2)}
.chk .ad{flex:none;width:7px;height:7px;border-radius:50%}
.colors2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.chips-sel{display:flex;flex-wrap:wrap;gap:8px}
.chip-opt{position:relative}
.chip-opt input{position:absolute;opacity:0;pointer-events:none}
.chip-opt span{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:20px;border:1px solid var(--bd2);background:#fff;font-size:14px;cursor:pointer}
.chip-opt input:checked + span{border-color:var(--accent);background:var(--accent-soft)}
.chip-opt input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px}
.f-search{width:100%;height:40px;padding:0 16px;border:0;border-radius:20px;background:var(--bg2);font-size:14px}
.more-vals{border:0;background:transparent;padding:0;text-align:left;font-size:14px;font-weight:500;color:var(--accent)}
.range{position:relative;height:20px}
.range .tr{position:absolute;left:0;right:0;top:9px;height:2px;border-radius:1px;background:var(--line)}
.range .fill{position:absolute;top:9px;height:2px;background:var(--accent)}
.range input[type=range]{position:absolute;left:0;right:0;top:0;width:100%;height:20px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.range input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:18px;height:18px;border-radius:50%;border:2px solid var(--accent);background:#fff;cursor:pointer}
.range input[type=range]::-moz-range-thumb{pointer-events:auto;width:14px;height:14px;border-radius:50%;border:2px solid var(--accent);background:#fff;cursor:pointer}
.range input[type=range]::-webkit-slider-runnable-track{background:none}
.price-in{display:flex;gap:10px}
.price-in input{flex:1;min-width:0;height:44px;padding:0 16px;border:0;border-radius:22px;background:var(--bg2)}
.f-actions{display:flex;flex-direction:column;gap:10px;padding-top:20px}
.toolbar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between}
.toolbar .l{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.toolbar label{font-size:14px;color:var(--muted)}
.sel{height:44px;padding:0 36px 0 16px;border:0;border-radius:22px;background:var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6370' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;font-size:14px;-webkit-appearance:none;appearance:none}
.view-sw{display:flex;gap:8px}
.view-sw button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted);display:flex;align-items:center;justify-content:center}
.view-sw button.on{border-color:var(--accent);color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 16px;border-radius:18px;background:var(--accent-soft);font-size:14px}
.chip:hover{color:var(--ink);background:color-mix(in srgb,var(--accent) 15%,#fff)}
.more-wrap{padding-top:12px;display:flex;flex-direction:column;gap:18px;align-items:center}
.more-wrap .btn-line{width:100%;max-width:380px;height:52px;border-radius:26px}
.pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;font-size:15px}
.pager a,.pager span{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.pager a.on{background:var(--accent);color:#fff}
.pager .gap{width:28px;color:var(--muted)}
.about{border-radius:24px;background:var(--bg2);padding:36px 40px;display:flex;flex-direction:column;gap:10px}
.about h2{font-size:30px;line-height:36px}
.about .txt{max-width:900px;font-size:15px;line-height:24px;color:var(--muted)}
.empty{border-radius:24px;background:var(--bg2);padding:48px 32px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}
.empty h2{font-size:28px;line-height:34px}
/* список (вид «строками») */
.grid.list{grid-template-columns:1fr}
.grid.list .pc{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 24px}
.grid.list .pc-media{width:140px;flex:none}
.grid.list .pc-info{flex:1 1 300px;display:flex;flex-direction:column;gap:6px;min-width:0}
.grid.list .pc-buy{margin-top:0;flex:none}
.pc-info{display:contents}
.grid.list .pc-info{display:flex}
.grid.list .pc-act{display:none}

/* --- карточка товара */
.prod{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.gallery{flex:1 1 520px;min-width:0;display:flex;gap:14px;align-items:flex-start}
.thumbs{flex:none;display:flex;flex-direction:column;gap:10px;max-height:620px;overflow:auto}
.thumbs button{width:76px;height:76px;padding:0;border-radius:16px;border:1px solid var(--line);background:var(--bg2);overflow:hidden}
.thumbs button.on{border-color:var(--accent)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.main-img{position:relative;flex:1;min-width:0;aspect-ratio:1/1;border-radius:24px;background:var(--bg2);color:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden}
.main-img img{width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.main-img .fav{right:16px;top:16px;width:48px;height:48px;background:#fff;color:var(--ink)}
.main-img .fav.on{color:var(--sale)}
.main-img .cnt{position:absolute;right:14px;bottom:10px;padding:2px 10px;border-radius:12px;background:#fff;font-size:12px;color:var(--muted)}
.info{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:16px}
.info .brandline{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center;font-size:13px}
.info .brandline > a{letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.info h1{font-size:36px;line-height:42px;font-weight:400;text-wrap:pretty}
.codes{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;font-size:14px;color:var(--muted)}
.codes strong{color:var(--ink);font-weight:600}
.copy{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
.copy.done{color:var(--in)}
.variants{display:flex;flex-direction:column;gap:8px}
.variants .lbl{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.variants .lbl span{color:var(--ink)}
.swatches{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.swatch{width:40px;height:40px;padding:0;border-radius:50%;border:2px solid transparent;background:#fff;display:flex;align-items:center;justify-content:center}
.swatch span{width:28px;height:28px;border-radius:50%;border:1px solid var(--bd2)}
.swatch.on{border-color:var(--accent)}
.swatch:hover{border-color:var(--bd2)}
.opt-btn{height:40px;padding:0 18px;border-radius:20px;border:1px solid var(--bd2);background:#fff;font-size:14px;display:inline-flex;align-items:center}
.opt-btn.on{border-color:var(--accent);background:var(--accent-soft)}
.buybox{border-radius:24px;background:var(--bg2);padding:28px;display:flex;flex-direction:column;gap:18px}
.buybox .pr{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:baseline;justify-content:space-between}
.buybox .big-price{font-family:var(--jost);font-size:44px;line-height:50px;font-weight:500}
.buybox .old{flex:none;font-size:16px;margin-left:12px}
.stock-lines{display:flex;flex-direction:column;gap:10px}
.sl{display:flex;gap:10px;align-items:flex-start}
.sl .d{flex:none;width:8px;height:8px;margin-top:8px;border-radius:50%}
.sl .t{font-size:16px;font-weight:600}
.sl .s{font-size:14px;color:var(--muted)}
.buy-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.qty{flex:none;display:flex;align-items:center;height:56px;border-radius:28px;background:#fff;padding:0 4px}
.qty button{width:48px;height:48px;border:0;border-radius:50%;background:transparent;font-size:22px}
.qty input{width:40px;text-align:center;border:0;background:transparent;font-size:17px;font-weight:500;-moz-appearance:textfield}
.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.buy-row .btn{flex:1 1 180px}
.buy-row .btn-line{flex:1 1 160px;font-size:16px;font-weight:400}
.note{font-size:13px;line-height:20px;color:var(--muted)}
.deliv{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--muted)}
.deliv strong{font-weight:600;color:var(--ink)}
.ptabs{display:flex;flex-wrap:wrap;gap:4px 44px;align-items:baseline;border-bottom:1px solid var(--line)}
.ptabs button{padding:0 0 12px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:transparent;font-family:var(--jost);font-size:26px;line-height:34px;font-weight:300;color:var(--muted)}
.ptabs button.on{border-bottom-color:var(--accent);color:var(--ink)}
.specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:0 64px}
.specs > div{min-width:0;display:flex;gap:16px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.specs .k{color:var(--muted)}
.specs .v{text-align:right}
.descr{max-width:900px;font-size:15px;line-height:24px}
.descr img{height:auto}
.pblock{display:flex;flex-direction:column;gap:24px}
.docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(380px,100%),1fr));gap:12px}
.doc{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid var(--line);border-radius:18px}
.doc:hover{border-color:var(--accent);color:var(--ink)}
.doc-ic{flex:none;width:44px;height:52px;border-radius:8px;background:#FDECEA;color:var(--sale);font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center}
.doc-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:15px}
.doc-t .muted{font-size:13px}
.sticky-buy{display:none}

/* --- быстрый просмотр */
.modal{position:fixed;inset:0;z-index:100;background:rgba(18,22,58,.45);display:flex;align-items:center;justify-content:center;padding:24px}
.modal-box{position:relative;width:min(1260px,100%);max-height:calc(100vh - 48px);border-radius:28px;background:#fff;overflow:hidden;display:flex}
.modal-x{position:absolute;right:16px;top:16px;z-index:5;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.qv-main{flex:1;min-width:0;padding:30px 36px 24px;display:flex;flex-direction:column;gap:20px;overflow:auto}
.qv-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-right:48px}
.qv-body{flex:1;min-height:0;display:flex;flex-wrap:wrap;gap:36px}
.qv-gal{flex:none;width:400px;max-width:100%;display:flex;flex-direction:column;gap:14px}
.qv-img{position:relative;width:100%;aspect-ratio:1/1;border-radius:20px;background:var(--bg2);color:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden}
.qv-img img{width:100%;height:100%;object-fit:contain}
.qv-img .nav{position:absolute;top:calc(50% - 22px);width:44px;height:44px;border:0;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
.qv-img .nav.l{left:12px}.qv-img .nav.r{right:12px}
.qv-th{display:flex;gap:10px}
.qv-th button{flex:1;min-width:0;height:64px;max-width:72px;padding:0;border-radius:12px;border:1px solid var(--line);background:var(--bg2);overflow:hidden}
.qv-th button.on{border-color:var(--accent)}
.qv-th img{width:100%;height:100%;object-fit:contain}
.qv-info{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:12px}
.qv-info h2{font-size:30px;line-height:36px;font-weight:400}
.qv-buy{margin-top:auto;border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;gap:12px}
.qv-buy .qty{background:var(--bg2);height:52px}
.qv-buy .qty button{width:44px;height:44px;font-size:20px}
.qv-foot{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.qv-foot button{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border:0;border-radius:22px;background:transparent;color:var(--muted);font-size:14px}
.qv-foot button:hover{color:var(--accent)}
.qv-foot button:disabled{opacity:.35;cursor:default}
.qv-side{flex:none;width:310px;background:var(--bg2);padding:30px 16px 20px;display:flex;flex-direction:column;gap:8px;overflow:auto}
.qv-side .h{padding:0 56px 6px 8px;font-family:var(--jost);font-size:20px;line-height:26px;font-weight:500}
.qv-side a.it{border-radius:16px;border:1px solid transparent;background:transparent;padding:8px;display:flex;align-items:center;gap:12px}
.qv-side a.it:hover{background:#fff;border-color:var(--line);color:var(--ink)}
.qv-side .th{flex:none;width:64px;height:64px;border-radius:12px;background:#fff;color:var(--ph2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.qv-side .th img{width:100%;height:100%;object-fit:contain}
.qv-side .tt{max-height:36px;overflow:hidden;font-size:13px;line-height:18px}
.qv-side .pp{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.qv-side .pp b{font-family:var(--jost);font-size:16px;line-height:20px;font-weight:500}
.qv-side .pp span{font-size:12px}
.qv-loading{padding:80px;text-align:center;color:var(--muted);width:100%}

/* окна форм */
.dlg{position:relative;width:min(480px,100%);border-radius:24px;background:#fff;padding:32px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 48px);overflow:auto}
.dlg h3{font-size:28px;line-height:34px;font-weight:400;padding-right:40px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;color:var(--muted)}
.inp{height:48px;padding:0 18px;border:1px solid transparent;border-radius:24px;background:var(--bg2);font-size:15px;width:100%;outline:0}
.inp:focus{border-color:var(--accent);background:#fff}
textarea.inp{height:auto;min-height:96px;padding:12px 18px;border-radius:20px;resize:vertical}
.inp.err{border-color:var(--sale)}
.err-t{font-size:13px;color:var(--sale)}
.ok-t{font-size:15px;color:var(--in);line-height:22px}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:19px;color:var(--muted)}
.consent input{flex:none;margin-top:2px;width:18px;height:18px;accent-color:var(--accent)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* кнопка связи */
.cw{position:fixed;right:24px;bottom:24px;z-index:85;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.cw-btn{width:60px;height:60px;border-radius:50%;border:0;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(31,107,232,.35);transition:transform .15s}
.cw-btn:hover{transform:scale(1.05)}
.cw-panel{width:min(340px,calc(100vw - 32px));background:#fff;border-radius:20px;box-shadow:0 16px 48px rgba(18,22,58,.22);padding:18px}
.cw-form{display:flex;flex-direction:column;gap:10px}
.cw-form .inp{height:44px;border-radius:14px}
.cw-form textarea.inp{height:auto}
.cw-head{display:flex;justify-content:space-between;align-items:center;font-size:17px}
.cw-x{width:32px;height:32px;border:0;border-radius:50%;background:var(--bg2);display:flex;align-items:center;justify-content:center}
@media (max-width:900px){.cw{right:16px;bottom:78px}body.has-sticky .cw{bottom:146px}.cw-btn{width:52px;height:52px}}
.toast{position:fixed;left:50%;bottom:28px;z-index:120;transform:translateX(-50%);background:var(--ink);color:#fff;padding:14px 22px;border-radius:24px;font-size:14px;box-shadow:0 12px 32px rgba(0,0,0,.2);display:flex;gap:14px;align-items:center;max-width:calc(100vw - 32px)}
.toast a{color:#fff;font-weight:600;text-decoration:underline}
.lightbox{position:fixed;inset:0;z-index:110;background:rgba(18,22,58,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px 16px 16px}
.lightbox[hidden]{display:none}
.lb-stage{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
.lb-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;background:#fff;user-select:none;-webkit-user-drag:none}
.lb-nav{position:absolute;top:calc(50% - 26px);width:52px;height:52px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.lb-nav:hover{background:#fff}
.lb-nav.l{left:8px}.lb-nav.r{right:8px}
.lb-nav[hidden]{display:none}
.lb-x{position:absolute;top:12px;right:12px;z-index:2;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.lb-x:hover{background:rgba(255,255,255,.3)}
.lb-cnt{color:#fff;font-size:14px;min-height:18px}
.lb-th{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:2px;scrollbar-width:thin}
.lb-th:empty{display:none}
.lb-th button{flex:none;width:64px;height:64px;padding:0;border-radius:10px;border:2px solid transparent;background:#fff;overflow:hidden;cursor:pointer;opacity:.65}
.lb-th button.on{border-color:var(--accent);opacity:1}
.lb-th img{width:100%;height:100%;object-fit:contain}
.main-img img[data-zoom]{cursor:zoom-in}
.thumbs .thumbs-more{height:auto;min-height:40px;padding:6px 8px;border:1px dashed var(--bd2);border-radius:12px;background:#fff;font-size:12px;line-height:16px;color:var(--accent);cursor:pointer}
.lb-th .lb-more{flex:none;height:64px;padding:0 14px;border:0;border-radius:10px;background:rgba(255,255,255,.15);color:#fff;font-size:13px;cursor:pointer;white-space:nowrap}
.lb-th .lb-more:hover{background:rgba(255,255,255,.3)}
@media (max-width:720px){.lb-nav{width:40px;height:40px;top:calc(50% - 20px)}.lb-th button{width:52px;height:52px}}

/* --- корзина и оформление */
.cart-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.cart-items{flex:999 1 600px;min-width:0;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.ci-row{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;padding:20px;border-bottom:1px solid var(--line)}
.ci-row:last-child{border-bottom:0}
.ci-img{flex:none;width:96px;height:96px;border-radius:16px;background:var(--bg2);color:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden}
.ci-img img{width:100%;height:100%;object-fit:contain}
.ci-info{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:4px}
.ci-info .n{font-size:15px;line-height:21px}
.ci-row .qty{height:48px;background:var(--bg2)}
.ci-row .qty button{width:40px;height:40px;font-size:20px}
.ci-sum{flex:none;width:130px;text-align:right;font-family:var(--jost);font-size:22px;font-weight:500}
.ci-del{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
.ci-del:hover{background:var(--bg2);color:var(--sale)}
.summary{flex:1 1 320px;min-width:0;max-width:420px;border-radius:24px;background:var(--bg2);padding:28px;display:flex;flex-direction:column;gap:16px;position:sticky;top:16px}
.summary .row{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.summary .tot{font-family:var(--jost);font-size:32px;font-weight:500}
.co-form{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:28px}
.co-sec{display:flex;flex-direction:column;gap:14px}
.co-sec h2{font-size:26px;line-height:32px;font-weight:400}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:14px}
.radio-cards{display:flex;flex-direction:column;gap:10px}
.radio-card{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:20px;border:1px solid var(--line);cursor:pointer}
.radio-card input{margin-top:3px;accent-color:var(--accent);width:18px;height:18px;flex:none}
.radio-card:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.radio-card .s{font-size:13px;color:var(--muted)}
.seg{display:inline-flex;background:var(--bg2);border-radius:24px;padding:4px;gap:4px}
.seg label{position:relative}
.seg input{position:absolute;opacity:0}
.seg span{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:20px;font-size:14px;cursor:pointer}
.seg input:checked + span{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.mini-items{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow:auto}
.mini-items .it{display:flex;gap:10px;font-size:13px;line-height:18px}
.mini-items .it .q{color:var(--muted);white-space:nowrap}
.done-box{max-width:720px;margin:24px auto;border-radius:24px;background:var(--bg2);padding:48px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}
.done-box h1{font-size:40px;line-height:48px}

/* сравнение */
.cmp-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:24px}
.cmp{border-collapse:collapse;min-width:100%}
.cmp th,.cmp td{padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;font-size:14px;min-width:220px}
.cmp th{position:sticky;left:0;background:#fff;color:var(--muted);font-weight:400;min-width:180px;z-index:1}
.cmp tr.diff td{background:#FFFBEA}
.cmp .pcard{display:flex;flex-direction:column;gap:6px}
.cmp .pcard .im{width:100%;aspect-ratio:1/1;border-radius:14px;background:var(--bg2);display:flex;align-items:center;justify-content:center;color:var(--ph);overflow:hidden}
.cmp .pcard .im img{width:100%;height:100%;object-fit:contain}

/* бренды */
.letters{display:flex;flex-wrap:wrap;gap:6px}
.letters a{min-width:40px;height:40px;padding:0 10px;border-radius:20px;background:var(--bg2);display:flex;align-items:center;justify-content:center;font-weight:500}
.brand-group{display:flex;flex-direction:column;gap:12px;padding-top:12px}
.brand-group h2{font-size:32px;line-height:40px}
.brand-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 24px}
.brand-list a{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.brand-list span{color:var(--muted);font-size:13px}
.coll-list{display:flex;flex-wrap:wrap;gap:8px}
.coll-list a{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:18px;background:var(--bg2);font-size:14px}
.coll-list a[hidden]{display:none}
.coll-list a .muted{font-size:12px}
.coll-more{height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--line,#ddd);background:none;font:inherit;font-size:14px;cursor:pointer}

/* текстовые страницы */
.text{max-width:900px;font-size:16px;line-height:26px}
.text h2{font-size:28px;line-height:36px;margin:28px 0 12px}
.text h3{font-size:22px;line-height:30px;margin:24px 0 10px;font-weight:400}
.text a{color:var(--accent);text-decoration:underline}
.text ul,.text ol{padding-left:22px}
.text li{margin:4px 0}
.text table{width:100%;border-collapse:collapse;margin:12px 0 20px;font-size:15px;line-height:22px}
.text th,.text td{text-align:left;vertical-align:top;padding:12px 16px;border-bottom:1px solid var(--line)}
.text th{font-weight:500;color:var(--muted);font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.text td:first-child{width:38%}
.text h2:first-child{margin-top:0}
.loc-map{height:420px;border-radius:20px;overflow:hidden;border:1px solid var(--line);z-index:0}
@media (max-width:900px){.loc-map{height:300px}}
.places{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:16px}
.place{border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.place iframe{width:100%;height:240px;border:0;display:block;background:var(--bg2)}
.place-t{padding:16px 18px;display:flex;flex-direction:column;gap:4px;font-size:15px;line-height:22px}
.place-t .muted{font-size:14px}

/* --- подвал */
.ft{background:var(--navy);color:#D5D9DF}
.ft a{color:#D5D9DF}.ft a:hover{color:#fff}
.ft .wrap{padding-top:56px;padding-bottom:28px;display:flex;flex-direction:column;gap:40px}
.ft-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:32px}
.ft-col{min-width:0;display:flex;flex-direction:column;gap:10px;font-size:14px}
.ft-col:first-child{gap:12px;align-items:flex-start}
.ft-col .h{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8E96A3}
.ft .logo-w{height:34px;width:auto}
.ft .ph{font-family:var(--jost);font-size:24px;line-height:30px;font-weight:400;color:#fff}
.ft .btn-ghost-w{height:40px;padding:0 20px;border-radius:20px;font-size:14px;margin-top:4px}
.ft-bottom{border-top:1px solid var(--navy-line);padding-top:24px;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;font-size:13px;color:#8E96A3}
.ft-bottom a{color:#8E96A3}
.ft-bottom div{display:flex;flex-wrap:wrap;gap:8px 24px}

/* ================= телефон и планшет ================= */
@media (max-width: 1100px){
  .top-l a:not(.keep){display:none}
  .menu{gap:8px 20px;font-size:15px}
}
@media (max-width: 900px){
  body{padding-bottom:64px}
  .d-only{display:none}
  .wrap{padding:0 16px}
  .top .wrap{padding-top:8px;padding-bottom:8px}
  .top-l a,.top-r a:not(.phone),.top-r .btn-ghost-w{display:none}
  .top .phone{font-size:16px}
  .d-head-desk,.menu,.mega{display:none!important}
  .m-head{display:flex;flex-direction:column;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}
  .m-head .r1{display:flex;align-items:center;gap:8px}
  .m-head .r1 .sp{flex:1}
  .m-head .ibtn{width:44px;height:44px;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;position:relative}
  .m-head .logo img{height:30px}
  .m-head .search{flex:none}
  .m-head .search-box{height:46px;padding:0 16px;border-radius:23px;gap:10px}
  .m-head .search-box button{display:none}
  .m-head .suggest{top:52px}
  .m-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--line)}
  .m-nav a{flex:1;min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:var(--muted);position:relative}
  .m-nav a.on{color:var(--accent)}
  .m-nav .badge-n{top:6px;right:calc(50% - 22px)}
  .hero{height:620px}
  .hs-shade{background:linear-gradient(180deg,rgba(18,22,58,0) 18%,rgba(18,22,58,.82) 46%,rgba(18,22,58,.95) 100%)}
  .hs-plain .hs-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.55) 100%)}
  .hs-text{left:24px;right:24px;top:auto;bottom:44px;width:auto;gap:12px;justify-content:flex-end}
  .hero-label{font-size:11px}
  .hero .h1{font-size:28px;line-height:34px;letter-spacing:.02em}
  .hero p{font-size:14px;line-height:21px}
  .hero .btn{align-self:stretch;margin-top:4px;height:48px;border-radius:24px;font-size:12px}
  .hero .hs-note{margin:0;font-size:11px;line-height:16px}
  .hs-light .hs-pic{left:0;right:0;bottom:auto;height:230px}
  .hs-light .hs-text{top:230px;left:0;right:0;width:auto;bottom:0;padding:20px 24px 44px;justify-content:flex-start}
  .hs-light .h1{font-size:26px;line-height:32px}
  .hs-hl{font-size:13px;line-height:18px;padding:10px 12px;gap:10px}
  .hs-empty .hs-text{top:0;bottom:0;justify-content:center}
  .hero .btn-strong{height:52px;font-size:13px}
  .hs-truck{right:20px;top:24px;width:230px;height:156px}
  .hs-icon .hs-text{width:auto}
  .hs-icon .hs-chips{display:none}
  .hero-arr{display:none}
  .hero-dots{bottom:16px}
  .sections{padding-top:40px;padding-bottom:40px;gap:48px}
  .h2,.tabs button{font-size:26px;line-height:32px}
  .tabs{gap:4px 20px;overflow-x:auto;flex-wrap:nowrap}
  .tabs button{white-space:nowrap}
  .cat-big{min-height:0;padding:24px}
  .cat-big .n{font-size:28px;line-height:34px}
  .cat-big .ph{min-height:140px}
  .cat-tile{min-height:120px;padding:18px}
  .cat-tile .n{font-size:20px;line-height:26px}
  .feat > .pc.big .pc-media{min-height:240px}
  .grid,.feat > .grid{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}
  .feat > .grid > .pc:last-child:nth-child(odd){grid-column:span 2}
  .pc{padding:12px;gap:6px}
  .pc-brand{font-size:10px}
  .pc-name{height:38px;font-size:13px;line-height:19px}
  .pc-meta{font-size:11px}
  .pc-stock{font-size:12px;line-height:16px;min-height:32px}
  .dot{margin-top:5px}
  .price{font-size:18px;line-height:22px}
  .old{display:none}
  .pc-act{display:none}
  .fav{right:-10px;top:-10px;width:44px;height:44px}
  .promo2{padding-top:40px;padding-bottom:48px}
  .promo2 > div{padding:24px;min-height:0}
  .promo2 h2{font-size:24px;line-height:30px}
  .brands-band .wrap{padding-top:40px;padding-bottom:40px}
  .brands-row .arr{display:none}
  .bm a{width:150px;font-size:20px}
  .page{padding-top:8px;padding-bottom:40px;gap:14px}
  .title-row h1{font-size:34px;line-height:40px}
  .subcats{margin:0 -16px;padding:0 16px 2px;gap:8px}
  .subcat{width:auto;flex-direction:row;padding:0 16px;height:44px;border-radius:22px;white-space:nowrap}
  .subcat .ci,.subcat .n{display:none}
  .filters{position:fixed;inset:0;z-index:95;max-width:none;background:rgba(18,22,58,.45);display:none;flex-direction:column;justify-content:flex-end}
  .filters.open{display:flex}
  .filters-in{background:#fff;border-radius:24px 24px 0 0;max-height:88vh;display:flex;flex-direction:column}
  .filters-scroll{overflow:auto;padding:0 16px}
  .f-sheet-head{display:flex!important}
  .f-actions{flex-direction:row;padding:14px 16px 18px;border-top:1px solid var(--line)}
  .f-actions .btn{flex:1}
  .f-actions .btn-grey{flex:none}
  .m-tools{display:flex!important}
  .toolbar{display:none}
  .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 2px}
  .chip{white-space:nowrap;flex:none;height:40px;font-size:13px}
  .about{padding:24px}
  .about h2{font-size:24px;line-height:30px}
  .prod{gap:18px}
  .gallery{flex-direction:column-reverse;gap:10px}
  .thumbs{flex-direction:row;max-height:none;overflow-x:auto;width:100%}
  .thumbs button{flex:none;width:56px;height:56px;border-radius:12px}
  .main-img{width:100%;border-radius:22px}
  .info h1{font-size:24px;line-height:30px}
  .codes{font-size:13px}
  .buybox{padding:20px;border-radius:22px}
  .buybox .big-price{font-size:34px;line-height:40px}
  .sl .t{font-size:15px}.sl .s{font-size:13px}
  .buy-row .qty,.buy-row .btn:not(.btn-line){display:none}
  .buy-row .btn-line{height:48px}
  .ptabs{gap:4px 20px;overflow-x:auto;flex-wrap:nowrap}
  .ptabs button{font-size:20px;line-height:28px;white-space:nowrap}
  .specs > div{font-size:14px}
  .sticky-buy{display:flex;position:fixed;left:0;right:0;bottom:62px;z-index:81;background:#fff;border-top:1px solid var(--line);padding:10px 16px;gap:10px;align-items:center}
  .sticky-buy .qty{height:50px;background:var(--bg2);padding:0 3px}
  .sticky-buy .qty button{width:44px;height:44px;font-size:20px}
  .sticky-buy .qty input{width:26px;font-size:16px}
  .sticky-buy .btn{flex:1;min-width:0;height:50px;font-size:16px}
  body.has-sticky{padding-bottom:136px}
  .h-scroll{display:flex!important;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;gap:10px;background:none!important;border:0!important;border-radius:0!important}
  .h-scroll .pc{flex:none;width:170px;border:1px solid var(--line);border-radius:18px}
  .modal{padding:0;align-items:flex-end}
  .modal-box{flex-direction:column;border-radius:24px 24px 0 0;max-height:92vh;overflow:auto}
  .qv-main{padding:20px 16px;overflow:visible}
  .qv-gal{width:100%}
  .qv-side{width:100%;padding:16px}
  .dlg{border-radius:24px 24px 0 0;padding:24px 16px}
  .ci-row{padding:14px;gap:10px 14px}
  .ci-img{width:72px;height:72px}
  .ci-sum{width:auto;font-size:18px;margin-left:auto}
  .summary{max-width:none;position:static}
  .done-box{padding:28px 20px}
  .done-box h1{font-size:28px;line-height:34px}
  .ft .wrap{padding-top:40px}
}
@media (min-width: 901px){
  .f-sheet-head,.m-tools{display:none!important}
  .filters-in{display:contents}
  .filters-scroll{display:contents}
}
