/* НПП Химреактив — стили сайта (по макету) */
:root{
  --ink:#0F2236; --navy:#17375E; --text:#33475C; --muted:#4A5A6C; --soft:#6B7B8C;
  --line:#DDE3EA; --line2:#EDF1F5; --bg2:#F3F5F8; --ph:#EEF2F6;
  --amber:#F5A623; --amber-soft:#FFF6E5; --on-dark:#C3CFDC; --on-dark2:#E1E8F0;
  --r:14px; --wrap:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.5;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy)}a:hover{color:var(--ink)}
h1,h2,h3{margin:0;line-height:1.15;font-weight:800}
p{margin:0}
.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}
.nl{text-decoration:none}

/* кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-weight:700;font-size:17px;padding:14px 22px;border-radius:10px;text-decoration:none;min-height:48px;border:2px solid transparent;cursor:pointer;line-height:1.2;text-align:center}
.btn-amber{background:var(--amber);color:var(--ink);font-weight:800}.btn-amber:hover{background:#E59A1A;color:var(--ink)}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:var(--ink);color:#fff}
.btn-line{background:#fff;color:var(--navy);border-color:var(--navy)}.btn-line:hover{background:var(--bg2)}
.btn-lg{font-size:17px;padding:16px 24px;min-height:52px}
.btn[disabled]{background:#4A5A6C;color:#D6DEE8;cursor:not-allowed;border-color:transparent}
.ico{width:20px;height:20px;flex:none}

/* верхняя полоса */
.topbar{background:var(--ink);color:#D6DEE8;font-size:14px}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:6px 24px;align-items:center;justify-content:space-between;padding-top:8px;padding-bottom:8px}
.topbar .info{display:flex;flex-wrap:wrap;gap:6px 24px}
.lang{display:flex;gap:6px;align-items:center;font-weight:700}
.lang .cur{color:#fff}.lang a{color:var(--amber);text-decoration:none}.lang .sep{opacity:.5}
.lang-light .cur{color:var(--ink)}.lang-light a{color:var(--navy)}

/* шапка */
.header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:40}
.header .wrap{display:flex;gap:16px 28px;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.logo{display:flex;flex-direction:column;text-decoration:none;color:var(--ink)}
.logo b{font-weight:800;font-size:23px;letter-spacing:.5px;line-height:1.1}
.logo span{font-size:13px;color:var(--muted)}
.nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-weight:600;font-size:15px}
.nav a{text-decoration:none}
.hphone{display:flex;flex-direction:column;align-items:flex-end}
.hphone a{font-weight:800;font-size:20px;text-decoration:none;color:var(--ink)}
.hphone span{font-size:13px;color:var(--muted);white-space:nowrap}
.hright{display:flex;gap:14px;align-items:center}
.burger,.mcall{display:none;width:44px;height:44px;border-radius:10px;align-items:center;justify-content:center;flex:none}
.burger{border:1px solid var(--line);background:#fff;cursor:pointer}
.mcall{background:var(--navy)}

/* мобильное меню */
.mnav{position:fixed;inset:0;z-index:80;background:rgba(15,34,54,.5);display:none}
.mnav.open{display:block}
.mnav .panel{background:#fff;width:min(340px,88vw);height:100%;overflow:auto;padding:16px 20px 32px;display:flex;flex-direction:column;gap:6px}
.mnav .panel a{padding:12px 0;border-bottom:1px solid var(--line2);text-decoration:none;font-weight:700;color:var(--ink)}
.mnav .panel a.sub{font-weight:500;padding-left:14px;color:var(--text)}
.mnav .x{align-self:flex-end;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:22px;cursor:pointer}

/* первый экран */
.hero{background:linear-gradient(90deg,rgba(15,34,54,.92) 0%,rgba(15,34,54,.78) 55%,rgba(15,34,54,.45) 100%),url(/assets/img/hero.jpg) center/cover no-repeat;color:#fff}
.hero .wrap{display:flex;flex-wrap:wrap;gap:40px;align-items:stretch;padding-top:88px;padding-bottom:88px}
.hero-main{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px;justify-content:center}
.badge{display:inline-flex;align-self:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600}
.hero h1{font-size:52px;letter-spacing:-.5px}
.hero p{font-size:19px;color:var(--on-dark2);max-width:620px}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.checks{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:15px;color:var(--on-dark2)}
.pricecard{flex:1 1 380px;min-width:0;background:#fff;color:var(--ink);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px;box-shadow:0 12px 32px rgba(0,0,0,.25)}
.pricecard .head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.pricecard h2{font-size:20px}
.pricecard small{font-size:13px;color:var(--muted)}
.plist a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line2);text-decoration:none;color:var(--ink)}
.plist a span:first-child{font-weight:600}.plist a span:last-child{font-weight:800;white-space:nowrap}

/* полосы и секции */
.sec{padding:72px 0}.sec-gray{background:var(--bg2)}.sec-dark{background:var(--ink);color:#fff}
.sec-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-end;margin-bottom:32px}
.sec h2{font-size:36px}
.sec-head span{color:var(--muted)}
.adv{border-bottom:1px solid var(--line)}
.adv .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;padding-top:32px;padding-bottom:32px}
.adv b{display:block;font-size:28px;font-weight:800;color:var(--navy)}.adv span{color:var(--text)}

/* каталог */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--ink);background:#fff;transition:box-shadow .15s,border-color .15s}
.card:hover{border-color:#C7D0DA;box-shadow:0 8px 24px rgba(15,34,54,.08);color:var(--ink)}
.card .ph{height:190px;background:#fff;display:flex;align-items:center;justify-content:center;padding:14px;border-bottom:1px solid var(--line2)}
.card .ph img{max-height:100%;width:auto;object-fit:contain}
.card .body{padding:18px;display:flex;flex-direction:column;gap:6px;flex-grow:1}
.card .name{font-size:18px;font-weight:800;line-height:1.25}
.card .desc{font-size:14px;color:var(--muted)}
.card .foot{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.card .price{font-weight:800;font-size:17px;color:var(--navy)}
.card .more{font-weight:700;font-size:14px}
.tag{display:inline-block;font-size:12px;font-weight:700;border-radius:6px;padding:2px 8px;background:var(--amber-soft);color:#7A4D00}

/* отгрузка */
.ship{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.ship div{background:#fff;border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:8px}
.ship b{font-size:18px}.ship span{color:var(--muted)}

/* прайс-блок */
.price-split{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.price-split .txt{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:16px}
.price-split .txt p{font-size:17px;color:var(--text)}
.tbox{flex:999 1 520px;min-width:0;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r)}
.tbl{width:100%;border-collapse:collapse;font-size:15px;min-width:480px}
.tbl th{background:var(--ink);color:#fff;text-align:left;padding:13px 16px;font-weight:700}
.tbl td{padding:11px 16px;border-top:1px solid var(--line2);vertical-align:top}
.tbl td.p{font-weight:800;color:var(--navy);white-space:nowrap}
.tbl td.m{color:var(--muted)}
.tbl tr.grp td{background:var(--bg2);font-weight:800;padding-top:14px}
.tbl tr.grp a{text-decoration:none;color:var(--ink)}

/* шаги */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.steps div{display:flex;flex-direction:column;gap:8px}
.steps i{width:40px;height:40px;border-radius:50%;background:var(--amber);color:var(--ink);font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center}
.steps b{font-size:18px}.steps span{color:var(--on-dark)}

/* доставка */
.dcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.dcards div{border:1px solid var(--line);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:6px}
.dcards b{font-size:18px}.dcards span{color:var(--text)}.dcards strong{color:var(--navy)}

/* формы */
.lead{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.lead .txt{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:14px}
.lead .txt p{font-size:17px;color:var(--text)}
.lead .bigphone{font-weight:800;font-size:24px;text-decoration:none;color:var(--ink)}
.form{flex:1 1 420px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:16px}
.form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.form input,.form select,.form textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid #C7D0DA;border-radius:8px;min-height:48px;background:#fff;color:var(--ink);width:100%}
.form textarea{min-height:84px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
.form .note{font-size:13px;color:var(--muted)}
.form .msg{font-size:15px;font-weight:600}
.form .msg.ok{color:#1F6B3A}.form .msg.err{color:#B42318}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* подвал */
.footer{background:var(--ink);color:var(--on-dark);font-size:15px;padding-bottom:24px}
.footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px;padding-top:56px;padding-bottom:32px}
.footer .cols>div{display:flex;flex-direction:column;gap:6px}
.footer b{color:#fff}
.footer a{color:var(--on-dark);text-decoration:none}.footer a:hover{color:#fff}
.footer .big{color:#fff;font-weight:800;font-size:18px}
.footer .copy{border-top:1px solid #24405F;padding-top:16px;font-size:13px}

/* хлебные крошки, страницы */
.crumbs{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px;padding:24px 0 0}
.crumbs a{text-decoration:none}
.page-h{padding:12px 0 8px}
.page-h h1{font-size:40px}
.page-h p{color:var(--text);font-size:17px;margin-top:10px;max-width:820px}
.prose{max-width:820px;font-size:17px;color:var(--text)}
.prose h2{font-size:24px;color:var(--ink);margin:28px 0 10px}
.prose p,.prose ul{margin:0 0 12px}
.prose li{margin:4px 0}
.subcats{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px}
.subcats a{border:1px solid var(--line);border-radius:999px;padding:8px 16px;text-decoration:none;font-weight:600;font-size:15px;min-height:40px;display:inline-flex;align-items:center}
.subcats a:hover{border-color:var(--navy)}

/* карточка товара */
.prod{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;padding:24px 0 56px}
.gal{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:12px}
.gal .main{aspect-ratio:1/1;border:1px solid var(--line2);border-radius:16px;display:flex;align-items:center;justify-content:center;padding:24px;background:#fff}
.gal .main img{max-height:100%;width:auto;object-fit:contain}
.thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.thumbs button{aspect-ratio:1/1;border:2px solid var(--line2);border-radius:10px;background:#fff;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.thumbs button[aria-pressed=true]{border-color:var(--navy)}
.thumbs img{max-height:100%;width:auto;object-fit:contain}
.buy{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
.buy h1{font-size:40px}
.buy .lead-p{color:var(--text);font-size:17px}
.stds{display:flex;flex-wrap:wrap;gap:8px}
.stds a{font-weight:700;font-size:15px;padding:10px 20px;min-height:44px;border-radius:999px;text-decoration:none;border:2px solid #C7D0DA;color:var(--navy);display:inline-flex;align-items:center}
.stds a[aria-current=page]{background:var(--navy);color:#fff;border-color:var(--navy)}
.rows{border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.rows .rh,.rows .r{display:grid;grid-template-columns:minmax(0,1fr) 130px 156px;gap:12px;padding:12px 16px;align-items:center}
.rows .rh{background:var(--bg2);font-size:13px;font-weight:700;color:var(--muted)}
.rows .rh span:last-child{text-align:right}
.rows .r{border-top:1px solid var(--line2)}
.rows .r b{display:block}.rows .r small{font-size:13px;color:var(--muted)}
.rows .r .p{font-weight:800;color:var(--navy)}
.rows .r.off{color:var(--soft)}.rows .r.off .p{color:var(--soft);font-weight:600}
.qty{display:flex;justify-content:flex-end;align-items:center;gap:6px}
.qty button{width:44px;height:44px;border-radius:8px;border:1px solid #C7D0DA;background:#fff;font:inherit;font-size:20px;font-weight:700;color:var(--ink);cursor:pointer}
.qty button:hover{border-color:var(--navy)}
.qty output{min-width:52px;text-align:center;font-weight:800;font-size:15px}
.note-amber{background:var(--amber-soft);border:1px solid #F5D08A;border-radius:10px;padding:12px 16px;font-size:15px}
.bens{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;font-size:15px;color:var(--text)}
.info{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.info>div{background:#fff;border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:10px}
.info h2{font-size:20px}
.kv{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line2);padding-bottom:8px}
.kv span:first-child{color:var(--muted)}.kv span:last-child{font-weight:700;text-align:right}

/* панель заявки */
.obar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--ink);color:#fff;box-shadow:0 -4px 16px rgba(15,34,54,.18);transform:translateY(110%);transition:transform .2s}
.obar.show{transform:none}
.obar .wrap{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between;padding-top:12px;padding-bottom:12px}
.obar .sum{display:flex;flex-direction:column}
.obar .sum small{font-size:14px;color:var(--on-dark)}.obar .sum b{font-size:22px}
.obar .hint{font-size:15px;color:#F5D08A}
body.has-obar{padding-bottom:84px}

/* модальные окна */
.modal{position:fixed;inset:0;z-index:90;background:rgba(15,34,54,.6);display:none;align-items:center;justify-content:center;padding:16px}
.modal.open{display:flex}
.modal .box{background:#fff;border-radius:16px;width:min(560px,100%);max-height:92vh;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;position:relative}
.modal .box h2{font-size:24px;padding-right:44px}
.modal .x{position:absolute;top:14px;right:14px;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:22px;cursor:pointer}
.modal .form{border:0;padding:0}
.olines{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px}
.oline{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--line2);font-size:15px}
.oline:first-child{border-top:0}
.oline .rm{border:0;background:none;color:var(--muted);text-decoration:underline;cursor:pointer;font:inherit;font-size:13px;padding:0}
.ototal{display:flex;justify-content:space-between;font-size:20px;font-weight:800}

/* языковая плашка и мобильная кнопка звонка */
.langbar{background:var(--amber-soft);border-bottom:1px solid #F5D08A;font-size:15px;display:none}
.langbar.show{display:block}
.langbar .wrap{display:flex;gap:12px;align-items:center;justify-content:center;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.langbar button{border:0;background:none;font:inherit;color:var(--muted);cursor:pointer;text-decoration:underline}
.callbar{display:none}

/* печать прайса */
@media print{
  .topbar,.header,.footer,.obar,.callbar,.langbar,.noprint,.crumbs{display:none!important}
  body{font-size:11pt}
  .tbl{min-width:0;font-size:10pt}.tbl th{background:#fff;color:#000;border-bottom:2px solid #000}
  .tbox{border:0;overflow:visible}
  .print-head{display:flex!important}
}
.print-head{display:none;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #000;padding-bottom:8px;margin-bottom:12px}

/* адаптив */
@media (max-width:1100px){.nav{display:none}.burger{display:inline-flex}.header .wrap{gap:12px}}
@media (max-width:720px){
  .wrap{padding:0 16px}
  .topbar .info span:last-child{display:none}
  .hphone,.hright .btn{display:none}
  .mcall{display:inline-flex}
  .logo{align-items:center;text-align:center}.logo b{font-size:18px}.logo span{font-size:11px}
  .hero .wrap{padding-top:32px;padding-bottom:32px;gap:24px}
  .hero h1{font-size:30px}.hero p{font-size:16px}
  .hero .btn{width:100%}
  .sec{padding:44px 0}.sec h2{font-size:26px}.sec-head{margin-bottom:20px}
  .adv b{font-size:22px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .card .ph{height:130px;padding:8px}.card .body{padding:12px}.card .name{font-size:15px}.card .desc{display:none}.card .more{display:none}.card .price{font-size:14px}
  .page-h h1,.buy h1{font-size:28px}
  .rows .rh,.rows .r{grid-template-columns:minmax(0,1fr) auto;padding:12px}
  .rows .rh span:nth-child(2){display:none}
  .rows .r .p{grid-column:1;font-size:15px}
  .rows .r .qty{grid-column:2;grid-row:1 / span 2}
  .callbar{display:grid;grid-template-columns:2fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fff;border-top:1px solid var(--line);padding:10px 12px;box-shadow:0 -4px 16px rgba(15,34,54,.12)}
  .callbar a{min-height:52px}
  body{padding-bottom:76px}
  body.has-obar .callbar{display:none}
  .obar .wrap{padding-top:10px;padding-bottom:10px}
  .obar .btn{flex:1 1 100%}
  .modal{align-items:flex-end;padding:0}.modal .box{border-radius:16px 16px 0 0;max-height:94vh}
}

/* FAQ */
.faq{max-width:860px}
.faq details{border:1px solid var(--line,#E3E8EF);border-radius:14px;background:#fff;margin:0 0 10px;overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:18px 52px 18px 20px;font-weight:700;font-size:17px;position:relative;color:var(--ink,#0F2236)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:600;color:var(--amber,#F5A623);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.faq details>div,.faq details>p{padding:0 20px 18px;color:#46566A;line-height:1.6;margin:0}
@media(max-width:720px){.faq summary{font-size:15.5px;padding:15px 46px 15px 16px}.faq details>div,.faq details>p{padding:0 16px 15px}}
@media(max-width:720px){.gal .main{aspect-ratio:4/3;max-height:320px;padding:14px}}

.rows .r .p small.opt{display:block;font-size:12.5px;font-weight:700;color:#B26A00;margin-top:2px;white-space:nowrap}
.obar .optok{color:#1E7B3A}
.tbl .optm{display:none}
@media(max-width:720px){.tbl{min-width:0}.tbl th:nth-child(3),.tbl td.po,.tbl th:nth-child(4),.tbl td:nth-child(4){display:none}.tbl .optm{display:block;font-size:12.5px;color:#B26A00;font-weight:700;white-space:nowrap;margin-top:2px}}
/* студийные фото на светло-сером фоне — растворяем фон в белой карточке */
.card .ph img,.gal .main img,.gal button img{mix-blend-mode:multiply}
.rows .r .p small.opt{white-space:normal;font-size:12px;line-height:1.3}

/* Галерея-попап */
.lb{position:fixed;inset:0;z-index:200;background:rgba(10,20,34,.92);display:none;align-items:center;justify-content:center;padding:56px 70px 24px}
.lb.open{display:flex}
.lb figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}
.lb img{max-width:min(92vw,1000px);max-height:calc(100vh - 120px);object-fit:contain;background:#fff;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.lb figcaption{color:#fff;font-size:15px;margin-top:12px;text-align:center}
.lb .lb-cnt{opacity:.6;margin-left:8px}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;width:52px;height:52px;font-size:34px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lb button:hover{background:rgba(255,255,255,.25)}
.lb .lb-x{top:14px;right:14px;font-size:30px}
.lb .lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lb .lb-next{right:14px;top:50%;transform:translateY(-50%)}
.lb.single .lb-prev,.lb.single .lb-next{display:none}
@media(max-width:720px){.lb{padding:56px 8px 16px}.lb img{max-width:96vw;max-height:calc(100vh - 140px)}.lb .lb-prev,.lb .lb-next{top:auto;bottom:14px;transform:none;width:46px;height:46px}.lb figcaption{margin-bottom:56px}}

/* Фикс: фото в галерее не выходит за рамку (Safari/iOS); двойной тап не увеличивает страницу */
html{touch-action:manipulation}
button,a,input,select,textarea,label,.qty{touch-action:manipulation}
.gal .main{position:relative;overflow:hidden}
.gal .main img{position:absolute;top:24px;left:24px;width:calc(100% - 48px);height:calc(100% - 48px);max-width:none;max-height:none;object-fit:contain}
.thumbs button{position:relative;overflow:hidden}
.thumbs img{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 12px);max-width:none;max-height:none;object-fit:contain}
@media(max-width:720px){.gal .main{aspect-ratio:auto;height:300px;max-height:none}.gal .main img{top:14px;left:14px;width:calc(100% - 28px);height:calc(100% - 28px)}}

/* Редактирование количества в заявке */
.oline{align-items:flex-start}
.ol-l{min-width:0;flex:1}
.ol-n{font-weight:700;text-decoration:none;color:var(--ink)}
.ol-s{color:var(--muted);font-size:14px;margin:2px 0 8px}
.ol-q{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ol-q button:not(.rm){width:36px;height:36px;border-radius:8px;border:1px solid #C7D0DA;background:#fff;font:inherit;font-size:18px;font-weight:700;color:var(--ink);cursor:pointer}
.ol-q input{width:72px;height:36px;border:1px solid #C7D0DA;border-radius:8px;text-align:center;font:inherit;font-weight:700;font-size:16px;-moz-appearance:textfield}
.ol-q input::-webkit-outer-spin-button,.ol-q input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ol-q span{color:var(--muted);font-size:14px;margin-right:6px}
.ol-sum{white-space:nowrap;padding-top:2px}
