/* Каталог: категория, поиск, корзина */

/* шапка категории */
.chero{position:relative;isolation:isolate;padding:26px 48px 32px;background:var(--dark);color:#fff;overflow:hidden;border-radius:var(--r2);margin-top:24px}
.chero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,22,31,.92) 0,rgba(14,22,31,.7) 42%,rgba(14,22,31,.15) 75%)}
.chero-in{position:relative}
.chero .crumbs ol{color:rgba(255,255,255,.72)}
.chero .crumbs [aria-current]{color:#fff}
.chero h1{margin-top:18px;font-size:42px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.chero .lead{max-width:680px;margin-top:16px;font-size:15.5px;line-height:1.56;color:#D5DCE3}
.chero-tag{position:absolute;top:84px;right:0;font:500 13px/2.1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#C9D1DA}
.chero-perks{display:grid;grid-template-columns:repeat(4,max-content);gap:16px 64px;margin-top:28px}
.chero-perks li{display:flex;align-items:center;gap:16px;font-size:13.5px;color:#AEB8C3}
.chero-perks .ico{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:var(--r);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.chero-perks .ic{width:24px;height:24px;color:#fff;stroke-width:1.4}
.chero-perks b{display:block;margin-bottom:3px;font-size:15px;font-weight:500;color:#fff}

/* подкатегории */
.subs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:24px}
.subs a{display:flex;align-items:center;gap:14px;min-width:0;height:92px;padding:0 14px 0 16px;border-radius:var(--r2);background:var(--soft3);transition:background-color .2s}
.subs a:hover{background:var(--soft2)}
.subs a:hover b,.subs a:hover small .ic{color:var(--acc)}
.subs-img{flex:none;width:100px;height:64px;padding:4px;object-fit:contain;border:1px solid var(--line2);border-radius:8px;background:#fff}
.subs a>span{min-width:0}
.subs b{display:block;overflow:hidden;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;transition:color .2s}
.subs small{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:13px;color:var(--mute)}
.subs small .ic{width:18px;height:18px;color:var(--ink)}

/* раскладка каталога */
.catalog{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px;align-items:start;margin-top:40px}
.side{display:flex;flex-direction:column;gap:20px}
.filters{border-radius:var(--r2);background:var(--soft3);overflow:hidden}
.f-head{display:flex;align-items:center;justify-content:space-between;height:54px;padding:0 20px;background:#F1F3F5}
.f-head b{font-size:17px;font-weight:700}
.f-head a{font-size:13.5px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line);transition:color .2s}
.f-head a:hover{color:var(--acc);text-decoration-color:currentColor}
.f-close{display:none}
.fg{padding:0 20px;border-top:1px solid var(--line2)}
.f-head+.fg{border-top:0}
.fg summary{display:flex;align-items:center;justify-content:space-between;height:52px;font-size:15px;font-weight:700;cursor:pointer;list-style:none;transition:color .2s}
.fg summary::-webkit-details-marker{display:none}
.fg summary:hover{color:var(--acc)}
.fg summary .ic{width:20px;height:20px;transition:transform .2s}
.fg[open] summary .ic{transform:rotate(180deg)}
.fg[open]{padding-bottom:14px}
.chk{display:flex;align-items:center;gap:12px;min-height:35px;font-size:14.5px;color:var(--ink2);cursor:pointer}
.chk input{position:absolute;opacity:0;pointer-events:none}
.chk i{flex:none;width:20px;height:20px;border:1.5px solid #C5CBD3;border-radius:4px;background:#fff;transition:background .15s,border-color .15s}
.chk input:checked+i{border-color:var(--acc);background:var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat}
.chk input:focus-visible+i{outline:2px solid var(--acc);outline-offset:2px}
.chk:hover i{border-color:var(--acc)}
.chk small{margin-left:-2px;font-size:12.5px;color:var(--mute2)}
.range-num{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.range-num input{width:100%;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r);background:#F5F7F9;font-size:14px;color:var(--ink2);-moz-appearance:textfield}
.range-num input::-webkit-inner-spin-button{-webkit-appearance:none}
.range-num input:focus{outline:0;border-color:var(--acc);background:#fff}
.range-bar{position:relative;height:28px;margin:10px 9px 0}
.range-bar::before{content:"";position:absolute;left:0;right:0;top:12px;height:4px;border-radius:2px;background:linear-gradient(90deg,var(--line) var(--a,0%),var(--acc) var(--a,0%),var(--acc) var(--b,100%),var(--line) var(--b,100%))}
.range-bar input{position:absolute;left:-9px;width:calc(100% + 18px);top:0;height:28px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.range-bar input::-webkit-slider-thumb{width:18px;height:18px;border-radius:50%;background:var(--acc);border:0;pointer-events:auto;cursor:grab;-webkit-appearance:none}
.range-bar input::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--acc);border:0;pointer-events:auto;cursor:grab}
.range-bar input::-moz-range-track{background:none}
.f-apply{display:none}
.help{padding:24px 22px 26px;border-radius:var(--r2);background:#F2F5F8}
.help b{font-size:15.5px;font-weight:700}
.help p{margin-top:10px;font-size:13.5px;line-height:1.6;color:var(--mute)}
.help .btn{height:52px;margin-top:22px;font-size:14px;font-weight:500}
.help .btn .ic{width:22px;height:22px}

/* панель над списком */
.toolbar{display:flex;align-items:center;gap:20px;min-height:52px}
.f-open{display:none}
.found{font-size:15.5px;font-weight:600;white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-left:16px}
.chips a{display:inline-flex;align-items:center;gap:10px;height:36px;padding:0 14px;border-radius:var(--r);background:#F5F8F9;font-size:13.5px;color:var(--ink2);transition:background-color .2s,color .2s}
.chips a .ic{width:14px;height:14px;stroke-width:2}
.chips a:hover{background:var(--soft2)}
.chips .reset{padding:0;background:none;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.chips .reset:hover{background:none;color:var(--acc)}
.views{display:flex;gap:4px;margin-left:auto}
.views button{display:grid;place-items:center;width:44px;height:42px;border-radius:var(--r);color:var(--mute);transition:background-color .2s,color .2s}
.views button[aria-pressed=true]{background:#EDEFF3;color:var(--ink)}
.views .ic{width:21px;height:21px}
.sort{position:relative;flex:none;width:220px}
.sort select,.sort .ui-sel{width:100%;height:44px;padding:0 40px 0 16px;border:1px solid var(--line);border-radius:var(--r);background:#fff;font-size:13.5px;-webkit-appearance:none;appearance:none;cursor:pointer}
.sort .ic{position:absolute;right:16px;top:50%;width:18px;height:18px;margin-top:-9px;pointer-events:none;stroke-width:2}

/* сетка товаров */
.listing{min-width:0;transition:opacity .15s}
.listing.busy{opacity:.45;pointer-events:none}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px;margin-top:22px}
.grid .tags{top:26px;left:26px}
.grid .tag{height:22px;padding:0 8px;border-radius:4px;font-size:11.5px}
.grid .card-img{aspect-ratio:3/2;margin:16px 16px 0}
.grid .card-body{padding:14px 16px 16px}
.grid .kind{font-size:12px}
.grid .card-name{margin-top:4px;font-size:15px;font-weight:500}
.grid .note{margin-top:4px;font-size:13px}
.grid .price{margin-top:0;padding-top:16px}
.grid .price b{font-size:20px;font-weight:700}
.grid .price .ask{font-size:17px}
.grid .price s{font-size:14px}
.grid .card-btns{gap:8px;margin-top:12px;min-height:84px}
.grid .card-btns .btn{height:40px;font-size:13.5px}
.grid .card-btns .soft{height:36px;font-size:13px}
.grid .card-btns .line{border-width:2px;color:var(--ink);font-size:13.5px}

/* вид списком */
.grid.as-list{grid-template-columns:1fr;gap:16px}
.as-list .card{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center}
.as-list .card-img{margin:44px 24px 20px}
.as-list .card-body{display:grid;grid-template-columns:1fr 240px;grid-template-rows:auto auto 1fr;column-gap:32px;padding:24px 28px 24px 8px}
.as-list .kind,.as-list .card-name,.as-list .note{grid-column:1}
.as-list .price{grid-column:2;grid-row:1/3;padding-top:0}
.as-list .card-btns{grid-column:2;grid-row:3}

/* баннер для бизнеса внутри сетки */
.offer{position:relative;isolation:isolate;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:40px;min-height:220px;padding:0 24px 0 32px;border-radius:var(--r2);overflow:hidden;color:#fff;background:var(--dark);min-width:0;margin:4px 0}
.offer::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(20,33,46,.95) 0,rgba(20,33,46,.75) 38%,rgba(20,33,46,.2) 70%)}
.offer-main{min-width:0}
.offer-main>b{font-size:23px;font-weight:700;letter-spacing:-.01em}
.offer-main p{max-width:500px;margin-top:12px;font-size:15px;line-height:1.5;color:#D0D7DE}
.offer .btns{margin-top:22px}
.offer .btn.big{height:48px;padding:0 30px}
.offer-list{display:flex;flex-direction:column;gap:16px;padding:20px 26px;border-radius:var(--r2);background:rgba(21,32,43,.6);font-size:14px;color:#E1E6EB}
.offer-list li{display:flex;align-items:center;gap:14px}
.offer-list .ic{width:22px;height:22px;color:var(--acc)}

.empty{margin-top:27px;padding:48px 40px;border-radius:var(--r2);background:var(--soft3)}
.empty b{font-size:22px}
.empty p{max-width:560px;margin-top:10px;color:var(--mute)}
.empty .btns{margin-top:22px}

/* пагинация */
.pager{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:36px}
.pager a,.pager span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:var(--r);font-weight:500;transition:background-color .2s,color .2s}
.pager a{background:var(--soft)}
.pager a:hover{background:var(--soft2)}
.pager .on{background:var(--acc);color:#fff}
.pager .ic{width:20px;height:20px}

/* о серии, видео и вопросы */
.about{display:grid;grid-template-columns:minmax(0,760px) minmax(0,1fr);gap:44px;align-items:start}
.about-media{position:relative;isolation:isolate;height:430px;border-radius:var(--r2);overflow:hidden;background:var(--dark);color:#fff}
.about-media::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(10,16,23,.75),rgba(10,16,23,0) 55%)}
.about-media .play{position:absolute;left:50%;top:34%;display:grid;place-items:center;width:80px;height:80px;margin-left:-40px;border-radius:50%;background:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff}
.about-media .play .ic{width:30px;height:30px;fill:currentColor;stroke:none;margin-left:4px}
.about-media p{position:absolute;left:36px;bottom:36px;right:36px}
.about-media b{display:block;font-size:23px;font-weight:600;line-height:1.3}
.about-media p span{display:flex;align-items:center;gap:12px;margin-top:22px;font-size:16px}
.about-media p span .ic{width:20px;height:20px}
.about-text h2{max-width:620px;font-size:23px;font-weight:700;line-height:1.4}
.about-text .text{margin-top:10px;font-size:15.5px;line-height:1.65;color:var(--mute)}
.about-text .btns{align-items:center;gap:44px;margin-top:22px}
.about-text .btn{width:220px;height:48px;font-weight:500}
.about-text .link{font-size:14.5px;font-weight:600;transition:color .2s}
.about-text .link:hover{color:var(--acc)}
.faq{margin-top:22px;border-bottom:1px solid var(--line2)}
.faq details{border-top:1px solid var(--line2)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:6px 0;font-size:14.5px;color:var(--ink2);cursor:pointer;list-style:none;transition:color .2s}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--acc)}
.faq summary .ic{width:20px;height:20px;stroke-width:2;transition:transform .2s}
.faq details[open] summary .ic{transform:rotate(45deg)}
.faq-a{padding:0 40px 16px 0;font-size:14px;line-height:1.65;color:var(--mute)}

/* популярные категории */
.pops{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pops a{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;height:132px;padding:0 20px 0 22px;border-radius:var(--r2);background:var(--soft);overflow:hidden}
.pops b{display:block;font-size:15.5px;font-weight:600;line-height:1.3;transition:color .2s}
.pops a>span{flex:1;min-width:0}
.pops small{display:block;max-width:180px;margin-top:10px;font-size:13px;line-height:1.5;color:var(--mute)}
.pops-img{flex:none;width:100px;height:84px;margin-right:30px;padding:4px;object-fit:contain;border:1px solid var(--line2);border-radius:var(--r);background:#fff}
.pops .go{position:absolute;right:16px;bottom:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.7);transition:background-color .2s,color .2s}
.pops .go .ic{width:18px;height:18px;stroke-width:2}
.pops a:hover b{color:var(--acc)}
.pops a:hover .go{background:var(--acc);color:#fff}

/* поиск */
.found-line{margin-top:26px;font-size:17px;font-weight:600}
.grid.n5{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:18px}

/* корзина */
.basket{display:grid;grid-template-columns:1fr 440px;gap:40px;align-items:start;margin-top:30px}
.lines{border-top:1px solid var(--line2)}
.bitem{display:grid;grid-template-columns:110px minmax(0,1fr) 130px 250px 140px 40px;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid var(--line2)}
.line-img{display:block;height:98px;border:1px solid var(--line2);border-radius:var(--r);background:#fff;overflow:hidden}
.line-img .pimg{width:100%;height:100%;object-fit:contain}
.line-name a{font-size:15.5px;font-weight:500}
.line-name a:hover{color:var(--acc)}
.line-name small{display:block;margin-top:4px;font-size:14px;color:var(--mute)}
.line-qty{display:flex;align-items:center;justify-content:space-between;height:48px;border:1px solid var(--line);border-radius:var(--r)}
.line-qty button{display:grid;place-items:center;width:44px;height:100%}
.line-qty button:hover{color:var(--acc)}
.line-qty .ic{width:18px;height:18px;stroke-width:2}
.line-qty span{font-weight:600}
.line-sum{font-size:18px;text-align:right}
.line-sum small{display:block;font-size:13px;font-weight:400;color:var(--mute)}
.line-pay label{position:relative;display:block}
.line-pay select,.line-pay .ui-sel{width:100%;height:44px;padding:0 34px 0 12px;border:1px solid var(--line);border-radius:var(--r);background:#fff;font-size:13px;color:var(--ink2);-webkit-appearance:none;appearance:none;cursor:pointer;transition:border-color .2s}
.line-pay select:hover,.line-pay select:focus{border-color:var(--acc);outline:0}
.line-pay .ic{position:absolute;right:10px;top:50%;width:16px;height:16px;margin-top:-8px;pointer-events:none}
.line-del{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--mute2)}
.line-del:hover{background:var(--soft);color:var(--red)}
.checkout{position:sticky;top:20px;display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:var(--r2);background:var(--soft3)}
.checkout-title{font-size:20px}
.checkout-sum{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line);color:var(--mute)}
.checkout-sum b{font-size:24px;color:var(--ink)}
.checkout .pays-pick{margin:0}
.checkout .pay-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.checkout legend{margin-bottom:6px;font-size:13px;color:var(--mute)}
.checkout-note{font-size:13px;color:var(--mute)}


/* ================= адаптив ================= */
@media (max-width:1480px){
  .chero-perks{grid-template-columns:repeat(2,max-content);gap:16px 60px}
  .subs{display:flex;overflow-x:auto;scrollbar-width:none}
  .subs::-webkit-scrollbar{display:none}
  .subs a{flex:0 0 300px}
  .grid.n5{grid-template-columns:repeat(4,minmax(0,1fr))}
  .about{grid-template-columns:1fr 1fr}
}
@media (max-width:1280px){
  .chero-tag{display:none}
  .catalog{grid-template-columns:280px minmax(0,1fr);gap:24px}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .offer{flex-wrap:wrap;padding:30px}
  .pops{grid-template-columns:repeat(2,1fr);gap:16px}
  .basket{grid-template-columns:1fr}
  .checkout{position:static}
}
@media (max-width:1024px){
  .catalog{grid-template-columns:1fr}
  .side{position:fixed;left:0;top:0;bottom:0;z-index:120;width:min(380px,90vw);padding:0 0 20px;overflow:auto;background:#fff;transform:translateX(-102%);transition:transform .25s;box-shadow:var(--sh2)}
  .show-filters .side{transform:none}
  .show-filters::after{content:"";position:fixed;inset:0;z-index:110;background:rgba(13,20,28,.5)}
  .filters{border-radius:0}
  .f-head{position:sticky;top:0;z-index:2}
  .f-close{display:grid;place-items:center;width:36px;height:36px;margin-left:12px}
  .f-apply{display:flex;margin:10px 20px 0;width:calc(100% - 40px)}
  .help{margin:0 20px}
  .f-open{display:inline-flex;height:48px}
  .f-open small{display:grid;place-items:center;min-width:22px;height:22px;border-radius:11px;background:var(--acc);color:#fff;font-size:12px}
  .offer-list{display:none}
  .about{grid-template-columns:1fr}
  .about-media{height:360px}
  .grid.n5{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:768px){
  .chero{padding:18px 20px 24px}
  .chero h1{margin-top:14px;font-size:28px}
  .chero .lead{font-size:15px}
  .chero .lead br{display:none}
  .chero-perks{grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
  .chero-perks li{gap:12px;font-size:13px}
  .chero-perks .ico{width:42px;height:42px}
  .chero-perks .ic{width:22px;height:22px}
  .chero-perks b{font-size:14.5px}
  .subs{gap:12px;margin-top:20px}
  .subs a{flex-basis:240px;height:86px;padding:0 14px}
  .subs-img{width:80px;height:56px}
  .subs b{font-size:15px}
  .catalog{margin-top:24px}
  .toolbar{flex-wrap:wrap;gap:12px}
  .found{order:-1;width:100%;font-size:16px}
  .chips{order:5;width:100%;margin:0;gap:8px}
  .chips a{height:36px;font-size:13.5px}
  .views{display:none}
  .sort{flex:1;width:auto}
  .sort select,.sort .ui-sel{height:48px}
  .grid,.grid.n5{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
  .grid .tags{top:12px;left:12px}
  .grid .tag{height:22px;font-size:11.5px;padding:0 8px}
  .grid .card-img{margin:38px 12px 0}
  .grid .card-body{padding:10px 12px 12px}
  .grid .card-name{font-size:15px}
  .grid .note{font-size:13px}
  .grid .price{padding-top:12px}
  .grid .price b{font-size:19px}
  .grid .price s{font-size:13px}
  .grid .price .ask{font-size:16px}
  .grid .card-btns .btn{height:40px;font-size:14px;padding:0 10px}
  .grid .card-btns .soft{height:36px;font-size:12.5px}
  .as-list .card{display:flex}
  .as-list .card-body{display:flex;padding:10px 12px 12px}
  .offer{padding:24px 20px}
  .offer-main{min-width:0}
  .offer-main>b{font-size:21px}
  .offer-main p{font-size:15px}
  .offer .btn.big{height:48px;padding:0 22px}
  .about-media{height:260px}
  .about-media p{left:22px;bottom:22px}
  .about-media b{font-size:21px}
  .about-text h2{font-size:22px}
  .about-text .text{font-size:15.5px}
  .about-text .btns{gap:16px}
  .pops{grid-template-columns:1fr}
  .bitem{grid-template-columns:80px 1fr auto;grid-template-areas:"img name del" "img pay pay" "img qty sum";gap:10px 14px}
  .line-pay{grid-area:pay}
  .line-img{grid-area:img;height:64px}
  .line-name{grid-area:name}
  .line-name a{font-size:15px}
  .line-qty{grid-area:qty;width:130px;height:40px}
  .line-sum{grid-area:sum;font-size:17px}
  .bitem>form:last-child{grid-area:del}
  .checkout{padding:22px 18px}
}
@media (max-width:420px){
  .grid .card-btns .soft .ic{display:none}
  .chero-perks{grid-template-columns:1fr}
}
/* ================= телефон: компактно, как в приложении ================= */
@media (max-width:768px){
  .chero{margin-top:10px;padding:14px 16px 16px}
  .chero .crumbs ol{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none;font-size:12.5px}
  .chero .crumbs ol::-webkit-scrollbar{display:none}
  .chero h1{margin-top:10px;font-size:22px;line-height:1.2}
  .chero .lead{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:8px;font-size:13px;line-height:1.5}
  .chero .lead br{display:none}
  .chero-perks{display:flex;gap:8px;margin:14px -16px 0;padding:0 16px;overflow-x:auto;scrollbar-width:none}
  .chero-perks::-webkit-scrollbar{display:none}
  .chero-perks li{flex:none;gap:6px;padding:6px 12px 6px 6px;border-radius:var(--r);background:rgba(255,255,255,.08);font-size:0}
  .chero-perks .ico{width:28px;height:28px;border:0;background:none}
  .chero-perks .ic{width:19px;height:19px}
  .chero-perks b{margin:0;font-size:12.5px;white-space:nowrap}
  .subs{gap:8px;margin-top:10px}
  .subs a{flex:0 0 auto;max-width:230px;height:56px;gap:10px;padding:0 14px 0 8px}
  .subs-img{width:56px;height:40px}
  .subs b{font-size:13.5px}
  .subs small{gap:6px;margin-top:2px;font-size:11.5px}
  .subs small .ic{display:none}
  .catalog{margin-top:16px}
  .toolbar{gap:8px;min-height:0}
  .found{font-size:14px}
  .f-open,.sort select,.sort .ui-sel{height:40px}
  .f-open{padding:0 14px;font-size:13px}
  .sort select,.sort .ui-sel{font-size:13px}
  .chips a{height:32px;padding:0 10px;font-size:12.5px}
  .grid,.grid.n5{gap:8px;margin-top:12px}
  .grid .tags{top:14px;left:14px;right:14px;gap:3px}
  .grid .tag{height:18px;padding:0 6px;font-size:10px}
  .grid .card-img{margin:10px 10px 0}
  .grid .card-body,.grid .card.cat .card-body{padding:8px 10px 10px}
  .grid .kind{font-size:11px}
  .grid .card-name{margin-top:2px;font-size:13.5px;line-height:1.3}
  .grid .note{display:none}
  .grid .price,.grid .card.cat .price{padding-top:10px}
  .grid .price b{font-size:16px}
  .grid .price s{font-size:12px}
  .grid .price .ask{font-size:14px}
  .grid .card-btns{min-height:0;margin-top:8px}
  .grid .card-btns .btn{height:36px;padding:0 8px;font-size:13px}
  .grid .card-btns .soft{display:none}
  .grid .card-btns .line{border-width:1.5px}
  .offer{min-height:0;padding:20px 16px}
  .offer-main>b{font-size:18px}
  .offer-main p{margin-top:8px;font-size:13.5px}
  .offer .btns{display:grid;gap:8px;width:100%;margin-top:14px}
  .offer .btn.big{width:100%;height:44px;padding:0 12px;font-size:13.5px}
  .pager{margin-top:20px}
  .pager a,.pager span{min-width:38px;height:38px}
  .about{gap:16px}
  .about-media{height:200px}
  .about-media .play{width:56px;height:56px;margin-left:-28px}
  .about-media p{left:16px;right:16px;bottom:16px}
  .about-media b{font-size:17px}
  .about-media p span{margin-top:8px;font-size:13.5px}
  .about-text h2{font-size:19px;line-height:1.3}
  .about-text .text{font-size:14px;line-height:1.6}
  .about-text .btns{gap:16px}
  .about-text .btn{width:auto;height:44px;padding:0 18px}
  .pops{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pops a{flex-direction:column;align-items:flex-start;gap:6px;height:auto;min-height:0;padding:12px}
  .pops b{font-size:13.5px}
  .pops small{display:none}
  .pops-img{order:-1;width:100%;height:72px;margin:0}
  .pops .go{right:8px;bottom:8px;width:28px;height:28px}
  .empty{margin-top:12px;padding:22px 16px}
  .empty b{font-size:18px}
  .empty p{font-size:13.5px}
  .empty .btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
  .empty .btn{width:100%;padding:0 8px}
  .line-pay select,.line-pay .ui-sel{height:38px;font-size:12px}
  .faq summary{font-size:14px}
  .faq-a{padding-right:0;font-size:13.5px}
  .bitem{grid-template-columns:64px minmax(0,1fr) auto;gap:8px 12px;padding:12px 0}
  .line-img{height:52px}
  .line-name a{font-size:14px}
  .line-qty{width:112px;height:38px}
  .line-sum{font-size:15px}
  .checkout{gap:10px;padding:18px 16px}
}

/* страница услуги / направления для бизнеса */
.svc-hero{padding-bottom:40px}
.svc-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.svc-btns .ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);color:#fff}
.svc-btns .ghost:hover{background:rgba(255,255,255,.16)}
.svc-btns .ghost .ic{width:20px;height:20px}
.svc-body>.blk-h:first-child,.svc-first{margin-top:0}
.svc-body>*+*{margin-top:28px}
.svc-body>.blk-h{margin-top:48px}
.svc-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.svc-links a{display:flex;align-items:center;gap:16px;height:100%;padding:20px 22px;border:1px solid var(--line2);border-radius:var(--r2);background:#fff;transition:border-color .2s,box-shadow .2s}
.svc-links a:hover{border-color:transparent;box-shadow:var(--sh2)}
.svc-links a>span{display:flex;flex-direction:column;gap:6px;flex:1}
.svc-links b{font-size:16px}
.svc-links small{font-size:13.5px;line-height:1.5;color:var(--mute)}
.svc-links .ic{flex:none;width:20px;height:20px;color:var(--acc)}
@media (max-width:768px){
  .svc-hero{padding-bottom:22px}
  .svc-btns{margin-top:18px}
  .svc-btns .btn{flex:1 1 100%}
  .svc-body>.blk-h{margin-top:32px}
  .svc-links a{padding:16px}
}
/* шапка раздела: картинка 4:1, техника справа - при любой ширине держим правый край */
.chero{min-height:230px}
.chero>.bg{object-position:right center}
@media (max-width:768px){.chero{min-height:0}}
.subs-ic{display:grid;place-items:center;color:#9AA4AF}
.subs-ic .ic{width:30px;height:30px}

/* шапка информационной страницы (как у разделов и услуг) */
.pg-hero{padding-bottom:40px}
.pg-hero.pg-hero-sm{min-height:0;padding-bottom:30px}
.pg-hero .btn .mi{width:22px;height:22px}
.pg-body>*:first-child{margin-top:0}
.pg-body>*+*{margin-top:28px}
.pg-body>.blk-h{margin-top:52px}
.pg-body>.blk-h+*{margin-top:20px}
.pg-doc{margin-top:8px}
.pg-doc .prose{margin-top:24px}
@media (max-width:768px){
  .pg-hero{padding-bottom:22px}
  .pg-body>.blk-h{margin-top:34px}
  .pg-body>*+*{margin-top:18px}
}
@media (max-width:768px){
  /* шапка страницы/услуги на телефоне: одна главная кнопка (Telegram есть в нижней панели), текст над картинкой читается */
  .svc-btns{margin-top:14px}
  .svc-btns .btn{height:46px}
  .svc-btns .btn.ghost{display:none}
  .pg-hero .lead,.svc-hero .lead{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
}
@media (max-width:768px){.pg-hero::after,.svc-hero::after{background:linear-gradient(180deg,rgba(14,22,31,.82) 0,rgba(14,22,31,.7) 60%,rgba(14,22,31,.55))}}

/* страница «Заказ принят» */
.done{margin-top:6px;margin-bottom:60px}
.done-head{display:flex;align-items:flex-start;gap:22px;padding:30px 34px;border-radius:var(--r2);background:var(--soft3)}
.done-ic{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--green);color:#fff}
.done-ic .ic{width:30px;height:30px;stroke-width:2.4}
.done-head h1{margin:0 0 8px;font-size:32px;line-height:1.2}
.done-head p{max-width:760px;margin:0;color:var(--ink2);font-size:16px}
.done-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:start;margin-top:28px}
.done-side{display:flex;flex-direction:column;gap:20px}
.done-box{padding:24px 26px;border:1px solid var(--line2);border-radius:var(--r2);background:#fff}
.done-box h2{display:flex;align-items:baseline;gap:10px;margin:0 0 16px;font-size:19px}
.done-box h2 small{font-size:14px;font-weight:400;color:var(--mute)}
.done-lines{border-top:1px solid var(--line2)}
.done-line{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line2)}
.done-line .line-img{grid-area:auto;height:76px}
.done-name a,.done-name span{font-weight:500}
.done-name a:hover{color:var(--acc)}
.done-name small{display:block;margin-top:4px;font-size:13.5px;color:var(--mute)}
.done-line>b{font-size:17px;white-space:nowrap}
.done-total{display:flex;align-items:baseline;justify-content:space-between;margin:18px 0 0}
.done-total span{color:var(--mute)}
.done-total b{font-size:26px}
.done-note{margin:10px 0 0;font-size:13px;color:var(--mute)}
.done-dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 14px;margin:0}
.done-dl dt{color:var(--mute)}
.done-dl dd{margin:0;overflow-wrap:anywhere}
.done-dl .pre{white-space:pre-wrap}
.done-steps{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;counter-reset:st}
.done-steps li{position:relative;padding-left:42px;color:var(--mute);font-size:14px;counter-increment:st}
.done-steps li::before{content:counter(st);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#FFF1E2;color:var(--acc);font-weight:700;font-size:14px}
.done-steps b{display:block;margin-bottom:2px;color:var(--ink)}
.done-help p:first-child{margin:0 0 12px;font-weight:600}
.done-help .btns{display:flex;flex-wrap:wrap;gap:10px}
.done-more{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
@media (max-width:1100px){.done-grid{grid-template-columns:1fr}}
@media (max-width:700px){
  .done-head{flex-direction:column;gap:14px;padding:22px 18px}
  .done-ic{width:46px;height:46px}
  .done-head h1{font-size:24px}
  .done-head p{font-size:15px}
  .done-box{padding:18px 16px}
  .done-line{grid-template-columns:64px minmax(0,1fr);gap:12px}
  .done-line .line-img{grid-area:auto;height:56px}
  .done-line>b{grid-column:2;font-size:15px}
  .done-help .btns .btn{width:100%}
}

/* подборки раздела - ссылки на SEO-страницы фильтров */
.seo-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px}
.seo-tags b{margin-right:4px;font-size:14px;font-weight:600}
.seo-tags a,.seo-tags span{display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid var(--line);border-radius:17px;font-size:13.5px;color:var(--ink2);white-space:nowrap;transition:border-color .2s,color .2s}
.seo-tags a:hover{border-color:var(--acc);color:var(--acc)}
.seo-tags .on{border-color:var(--acc);background:#FFF6EE;color:var(--acc)}
@media (max-width:768px){
  .seo-tags{flex-wrap:nowrap;margin-top:16px;overflow-x:auto;scrollbar-width:none}
  .seo-tags::-webkit-scrollbar{display:none}
  .seo-tags a,.seo-tags span{flex:none;height:32px;font-size:13px}
}

/* список способа оплаты в корзине - по правому краю строки товара */
.line-pay .ui-list{left:auto;right:0}
