/* Areg Tools store styles (moved unchanged from the single-file page; light theme only) */
/* Until IBM Plex Sans has loaded (slow phones), text is shown in the system font of the device, scaled so
   it takes the same width (size-adjust per weight, measured over the shop's own Russian and English texts):
   Roboto on Android, Helvetica Neue on iPhone/Mac, Arial on Windows. Then the font swap moves nothing
   (header buttons keep their rows). Latin and Cyrillic only: Armenian comes from Noto Sans Armenian. */
@font-face{font-family:"Plex Fallback Roboto";font-weight:400;src:local("Roboto"),local("Roboto-Regular");size-adjust:100.2%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Roboto";font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium");size-adjust:101.6%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Roboto";font-weight:600;src:local("Roboto Bold"),local("Roboto-Bold");size-adjust:102.4%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Helvetica";font-weight:400;src:local("Helvetica Neue"),local("HelveticaNeue");size-adjust:99.1%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Helvetica";font-weight:500;src:local("Helvetica Neue Medium"),local("HelveticaNeue-Medium");size-adjust:97.2%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Helvetica";font-weight:600;src:local("Helvetica Neue Bold"),local("HelveticaNeue-Bold");size-adjust:96.7%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Arial";font-weight:400;src:local("Arial"),local("ArialMT");size-adjust:100.4%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Arial";font-weight:500;src:local("Arial"),local("ArialMT");size-adjust:102.4%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
@font-face{font-family:"Plex Fallback Arial";font-weight:600;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:96.8%;unicode-range:U+0000-024F,U+0400-052F,U+2000-206F,U+2116}
/* The same for headings (IBM Plex Sans Condensed, Latin only): the bold system font, narrowed to the same width. */
@font-face{font-family:"Plex Cond Fallback Roboto";font-weight:600;src:local("Roboto Bold"),local("Roboto-Bold");size-adjust:92.6%;unicode-range:U+0000-024F,U+2000-206F}
@font-face{font-family:"Plex Cond Fallback Roboto";font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold");size-adjust:93.8%;unicode-range:U+0000-024F,U+2000-206F}
@font-face{font-family:"Plex Cond Fallback Helvetica";font-weight:600;src:local("Helvetica Neue Bold"),local("HelveticaNeue-Bold");size-adjust:86.9%;unicode-range:U+0000-024F,U+2000-206F}
@font-face{font-family:"Plex Cond Fallback Helvetica";font-weight:700;src:local("Helvetica Neue Bold"),local("HelveticaNeue-Bold");size-adjust:88.1%;unicode-range:U+0000-024F,U+2000-206F}
@font-face{font-family:"Plex Cond Fallback Arial";font-weight:600;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:86.7%;unicode-range:U+0000-024F,U+2000-206F}
@font-face{font-family:"Plex Cond Fallback Arial";font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:87.9%;unicode-range:U+0000-024F,U+2000-206F}
:root{
  --bg:#ECEEEA; --surface:#FFFFFF; --surface-2:#F4F5F2; --ink:#172027; --muted:#5A6770; --line:#D3D9D4;
  --tape:#DB5A30; --tape-ink:#FFFFFF;
  --tape-bg:#C24D26;   /* the orange behind white text: a shade darker, so small text keeps 4.5:1 contrast (Lighthouse) */ --link:#1C68A8; --btn:#172027; --btn-ink:#F4F5F2;
  --ok:#2C7A4B; --warn:#A96A12; --bad:#B3261E; --shadow:0 10px 30px rgba(23,32,39,.14);
  --hdr:#121A1F; --hdr-2:#1C262D; --hdr-line:#2C3942; --hdr-ink:#EEF2EF; --hdr-muted:#9EABB2;
  --f-body:"IBM Plex Sans","Plex Fallback Roboto","Plex Fallback Helvetica","Plex Fallback Arial","Noto Sans Armenian",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-disp:"IBM Plex Sans Condensed","Plex Cond Fallback Roboto","Plex Cond Fallback Helvetica","Plex Cond Fallback Arial","Noto Sans Armenian","Arial Narrow",system-ui,sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
/* Base rules the claude.ai page wrapper used to supply: no body margin, and [hidden] always hides
   (buttons such as #adminBtn have display:inline-flex, which would otherwise override it). */
html,body{margin:0}
[hidden]{display:none!important}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:15px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.mono{font-family:var(--f-mono);font-size:.82em;letter-spacing:.01em}
.num{font-variant-numeric:tabular-nums}
/* the page grows with wide screens (1320 px up to 1880 px: more cards in a row), not a fixed strip in the middle */
.wrap{max-width:clamp(1320px,94vw,1880px);margin:0 auto;padding-inline:16px}

/* header */
header.top{position:relative;z-index:20;background:var(--hdr);color:var(--hdr-ink);border-bottom:1px solid var(--hdr-line)}
.bar{display:flex;align-items:center;gap:14px;padding-block:10px;flex-wrap:wrap}
.logo{display:flex;flex-direction:column;gap:3px;text-decoration:none;color:var(--hdr-ink);flex:none;background:none;border:0;padding:0;text-align:left}
.logo b{font-family:var(--f-disp);font-weight:700;font-size:28px;line-height:.9;letter-spacing:.02em}
.logo img.logoimg{height:56px;width:auto;max-width:200px;object-fit:contain;display:block;background:#fff;border-radius:8px;padding:3px 5px}
@media (max-width:600px){.logo img.logoimg{height:46px}}
.logo b span{font-weight:600;color:var(--hdr-muted);font-size:.62em;letter-spacing:.04em;margin-left:4px}
.tape{height:7px;width:100%;background:
  repeating-linear-gradient(90deg,var(--tape-ink) 0 1px,transparent 1px 6px) bottom/100% 3px no-repeat,
  repeating-linear-gradient(90deg,var(--tape-ink) 0 1px,transparent 1px 30px) bottom/100% 6px no-repeat,var(--tape);border-radius:1px}
.search{flex:1 1 320px;display:flex;align-items:center;gap:8px;background:var(--hdr-2);border:1px solid var(--hdr-line);color:var(--hdr-ink);border-radius:8px;padding:0 12px;min-width:0}
.search input{flex:1;border:0;background:transparent;padding:11px 0;outline:none;min-width:0}
.search svg{flex:none;color:var(--hdr-muted)}
.search input::placeholder{color:var(--hdr-muted)}
.photobtn{flex:none;display:grid;place-items:center;width:38px;height:38px;margin-right:-8px;border:0;border-radius:6px;background:transparent;color:var(--hdr-muted);cursor:pointer}
.photobtn:hover,.photobtn:focus-visible{color:var(--tape);background:rgba(255,255,255,.06)}
.photohead{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:14px}
.photohead img{width:72px;height:72px;object-fit:cover;border-radius:8px;flex:none;background:var(--surface-2)}
.photohead div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.photohead span{color:var(--muted);font-size:14px}
@media (max-width:600px){.photohead{flex-wrap:wrap}.photohead img{width:56px;height:56px}.photohead .btn{flex-basis:100%}}
.photobusy{display:grid;place-items:center;padding:60px 0}
.photobusy i{width:34px;height:34px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--tape);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.photobusy i{animation-duration:2.4s}}
.search:focus-within{border-color:var(--tape)}
.hbtns{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.lang{display:flex;border:1px solid var(--hdr-line);border-radius:8px;overflow:hidden}
.lang button{border:0;background:transparent;padding:8px 9px;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--hdr-muted)}
.lang button[aria-pressed="true"]{background:var(--tape-bg);color:var(--tape-ink)}
.hbtn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:8px 11px;font-weight:500;white-space:nowrap}
.hbtn:hover{border-color:var(--muted)}
a.hbtn{text-decoration:none}
.telgrp{display:flex;align-items:stretch}.telgrp span{display:flex;align-items:center;padding:0 10px;border:1px solid var(--line);border-right:0;border-radius:8px 0 0 8px;background:var(--surface-2);color:var(--muted);font-variant-numeric:tabular-nums}.telgrp input{flex:1;min-width:0;border-radius:0 8px 8px 0!important}
.svcform{display:flex;flex-direction:column;gap:10px;max-width:760px}.svcform textarea{width:100%;font:inherit;line-height:1.45;resize:vertical}
header.top .hbtn{background:transparent;border-color:var(--hdr-line);color:var(--hdr-ink)}
header.top .hbtn:hover{border-color:var(--hdr-muted)}
.hbtn .count{background:var(--tape-bg);color:var(--tape-ink);border-radius:10px;padding:0 7px;font-size:12px;font-weight:700;min-width:20px;text-align:center}
.strip{background:var(--hdr-2);color:var(--hdr-muted);font-size:12.5px;border-top:1px solid var(--hdr-line)}
.strip b{color:var(--hdr-ink)}
a.tel{color:inherit;text-decoration:none;white-space:nowrap}a.tel:hover{text-decoration:underline}
.strip .wrap{display:flex;gap:6px 18px;flex-wrap:wrap;padding-block:6px}
.strip b{font-weight:600}

/* layout */
main{padding-block:18px 40px}
.layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
aside.filters{position:sticky;top:calc(env(safe-area-inset-top,0px) + 70px);max-height:calc(100vh - 84px);overflow:auto;display:flex;flex-direction:column;gap:18px;padding-right:4px}
.fgroup h2,.fgroup h3{font-family:var(--f-disp);font-size:13px;letter-spacing:.09em;text-transform:uppercase;margin:0 0 8px;color:var(--muted);font-weight:600}
.flist{display:flex;flex-direction:column;gap:1px}
.fitem{display:flex;justify-content:space-between;gap:8px;align-items:center;border:0;background:transparent;text-align:left;padding:6px 8px;border-radius:6px;width:100%}
.fitem:hover{background:var(--surface)}
.fitem[aria-pressed="true"]{background:var(--surface);box-shadow:inset 3px 0 0 var(--tape);font-weight:600}
.fitem .c{color:var(--muted);font-size:12px}
.fitem[disabled]{opacity:.4;cursor:default}
.prow{display:flex;gap:8px}
.prow input{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.check{display:flex;gap:8px;align-items:center;padding:4px 2px}
.check input{width:17px;height:17px;accent-color:var(--ink)}
.fclose{display:none}
.fback{position:fixed;inset:0;z-index:39;background:rgba(10,14,18,.45);display:none}
.fback.show{display:block}

.toolbar .ttl{display:flex;align-items:center;gap:10px;min-width:0}
.backbtn:not(.hbtn){flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.backbtn:not(.hbtn):hover{border-color:var(--ink)}
.backbtn[hidden]{display:none!important}
.toolbar{scroll-margin-top:150px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.toolbar h1,.toolbar h2{font-family:var(--f-disp);font-weight:700;font-size:24px;margin:0;text-wrap:balance;line-height:1.1}
.toolbar .sub{color:var(--muted);font-size:13px}
.tright{display:flex;gap:8px;align-items:center}
select.sel{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.fbtn{display:none}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 14px}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:3px 10px;font-size:13px}
.chip button{border:0;background:none;padding:0;color:var(--muted);font-size:15px;line-height:1}

.banner{border:1px dashed var(--warn);color:var(--warn);background:color-mix(in srgb,var(--warn) 7%,transparent);padding:8px 12px;border-radius:8px;font-size:13px;margin-bottom:14px}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
.card:hover{border-color:var(--muted)}
.ph{aspect-ratio:4/3;max-width:100%;min-height:0;overflow:hidden;background:var(--surface-2);position:relative;display:grid;place-items:center;color:var(--muted);border-bottom:1px solid var(--line)}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.ph .brand{z-index:1}.ph .sale{z-index:1}
.ph svg{width:44%;height:auto;opacity:.75}
.ph .brand{position:absolute;left:8px;top:8px;background:var(--surface);padding:1px 6px;border-radius:4px;font-family:var(--f-disp);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.ph .brand.logo{padding:3px 6px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08);line-height:0}.ph .brand.logo img{position:static;display:block;height:18px;width:auto;max-width:92px;object-fit:contain;padding:0;inset:auto}
.pgrid .ph .brand.logo img{height:24px;max-width:120px}
.ph .sale{position:absolute;right:9px;top:8px;background:var(--tape-bg);color:var(--tape-ink);font-weight:700;font-size:12px;border-radius:4px;padding:1px 6px}
.cbody{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.sku{color:var(--muted)}
.whleft{font-size:12px;line-height:1.35;color:#0b6b3a;background:#e8f5ee;border-radius:6px;padding:3px 7px;align-self:flex-start}
.whleft b{font-weight:700}.whleft span{color:var(--muted)}.whleft.out{color:#a61b1b;background:#fdecec}.pcontact+.whleft{margin-top:10px;font-size:13.5px}
.cname{font-weight:500;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.9em}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.pill.ok{color:var(--ok)} .pill.low{color:var(--warn)} .pill.out{color:var(--muted)}
.cfoot{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:auto}
.price.req{font-size:15px;font-family:var(--f-body);font-weight:600;color:var(--muted);white-space:normal}
.sect ul{margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:3px}
.price{font-family:var(--f-disp);font-weight:700;font-size:20px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.old{color:var(--muted);text-decoration:line-through;font-size:13px;font-variant-numeric:tabular-nums}
.add{border:0;background:var(--btn);color:var(--btn-ink);border-radius:8px;width:38px;height:38px;display:grid;place-items:center;flex:none}
/* Safari on iPhone pads buttons on its own: the "+" would sit off centre */
.add{padding:0;-webkit-appearance:none;appearance:none}.add svg{display:block}
.add:hover{filter:brightness(1.15)}
.add.done{background:var(--ok);color:#fff}
.more{display:flex;justify-content:center;margin-top:18px}
.pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:22px}
.pager .pg{min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;font:inherit;font-weight:600;cursor:pointer;font-variant-numeric:tabular-nums}
.pager .pg:hover:not([disabled]){border-color:var(--tape)}
.pager .pg[aria-current=page]{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.pager .pg[disabled]{opacity:.35;cursor:default}
.pager .pgdots{color:var(--muted);padding:0 2px}
.btn{border:1px solid var(--btn);background:var(--btn);color:var(--btn-ink);border-radius:8px;padding:10px 16px;font-weight:600}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn.sm{padding:6px 10px;font-size:13px}
.btn[disabled]{opacity:.5;cursor:default}
.empty{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:36px 20px;text-align:center;color:var(--muted);display:flex;flex-direction:column;gap:12px;align-items:center}
.loading{display:flex;flex-direction:column;gap:10px;align-items:center;padding:60px 0;color:var(--muted)}
/* the product grid replaces the loading note: keep the room it will take, so the text below does not jump */
#results:has(> .loading){min-height:100vh}
/* the next list is on its way from the server */
#results[aria-busy="true"]{opacity:.55;transition:opacity .15s .1s}
.progress{width:min(360px,100%);height:6px;background:var(--line);border-radius:3px;overflow:hidden}
.progress i{display:block;height:100%;background:var(--tape);width:0;transition:width .2s}

/* dialogs */
dialog{border:0;padding:0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);max-width:calc(100vw - 24px)}
dialog::backdrop{background:rgba(10,14,17,.55)}
dialog.modal{width:900px;border-radius:12px;max-height:calc(100vh - 40px);margin-top:20px}
/* the window scrolls by itself, not the page behind it: a normal swipe moves the description and specs
   (on phones a swipe used to drag the page underneath, and only a held, slow drag scrolled the window) */
dialog.modal,dialog.drawer{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@supports (height:100dvh){dialog.modal{max-height:calc(100dvh - 40px)}}
html:has(dialog.modal[open],dialog.drawer[open]){overflow:hidden}
/* the product: a page of its own over the list (whole screen), content up to 1200 px wide in the middle:
   photo on the left (stays in view while the description and specs scroll), name, price, buttons,
   description and specs on the right, similar products below */
dialog.modal{width:100%;max-width:100%;height:100%;max-height:100%;margin:0;border-radius:0}
@supports (height:100dvh){dialog.modal{height:100dvh;max-height:100dvh}}
dialog.modal{--pside:max(18px,calc((100% - clamp(1200px,90vw,1700px)) / 2))}
dialog.modal .dhead{padding-inline:var(--pside);flex-direction:column;align-items:stretch;gap:8px;padding-block:10px}
/* the product page's top bar: back, search, language, cart; the breadcrumbs below */
.ptop{display:flex;align-items:center;gap:10px}
.psearch{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:var(--surface)}
.psearch svg{flex:none;color:var(--muted)}
.psearch input{flex:1;min-width:0;border:0;background:transparent;padding:9px 0;font:inherit;color:var(--ink);outline:none}
.psearch:focus-within{border-color:var(--ink)}
.plang{border-color:var(--line);flex:none}
.plang button{color:var(--muted)}
.plang button[aria-pressed="true"]{background:var(--tape-bg);color:var(--tape-ink)}
.pcart{flex:none;position:relative}
/* breadcrumbs: Home › category › product */
/* (they wrap when they do not fit: the product's name goes to a line of its own, cut with … only if longer than it) */
.pcrumbs{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden}
.pcrumbs button{border:0;background:none;padding:0;color:var(--ink);font:inherit;cursor:pointer;flex:none}
.pcrumbs button:hover{color:var(--link);text-decoration:underline}
.pcrumbs i{font-style:normal;flex:none}
.pcrumbs span{color:var(--link);overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%;flex:0 0 auto}
/* the code big above the name; the specs in a box with a tab heading */
.pcode{font-size:30px;font-weight:700;line-height:1;color:var(--tape);letter-spacing:.01em;overflow-wrap:anywhere}
.pspecs{border:1px solid var(--line);border-radius:0 10px 10px 10px;padding:6px 16px 10px;margin-top:44px;position:relative}
.pspecs h4{position:absolute;left:-1px;top:-30px;margin:0!important;background:var(--tape-bg);color:var(--tape-ink)!important;border-radius:8px 8px 0 0;padding:7px 14px 6px;font-size:12.5px!important}
.pback{display:inline-flex;align-items:center;gap:6px;flex:none}
/* the shop's logo on the product page's bar (light background: dark letters); a click goes to the main page */
.plogo{color:var(--ink);cursor:pointer}.plogo b{font-size:22px}.plogo b span{color:var(--muted)}
.plogo img.logoimg{height:40px;box-shadow:0 0 0 1px var(--line)}
dialog.modal .pgrid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:40px;padding:26px var(--pside) 30px}
dialog.modal .pgrid>.ph{position:sticky;top:78px;align-self:start}
dialog.modal .pinfo h3{font-size:28px}
dialog.modal .psim{padding:8px var(--pside) 40px;border-top:1px solid var(--line)}
dialog.modal .psim h4{margin:20px 0 12px;font-size:14px}
dialog.modal .simgrid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
dialog.modal .psim h4{text-align:center;font-size:22px!important;letter-spacing:.02em;text-transform:none;color:var(--ink)!important;margin:28px 0 16px!important}
dialog.modal .simgrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
dialog.modal .simcard{padding:0 0 14px;align-items:center;text-align:center;gap:8px;overflow:hidden;border-radius:10px;font-size:13.5px}
.simcard .simcode{display:block;align-self:stretch;background:var(--tape-bg);color:var(--tape-ink);font-family:var(--f-mono);font-size:13px;padding:5px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.simcard .simname{padding:0 12px;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.9em}
.simcard .price{font-size:15px}.simcard .price.req{font-size:13px}
dialog.modal .simcard img{width:150px;max-width:80%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.simcard [data-simadd]{margin-top:2px}
/* "Add to cart" turns the orange of the code strips under the mouse (similar products and the product itself) */
.simcard [data-simadd],#padd{transition:background-color .15s,border-color .15s}
.simcard [data-simadd]:hover,.simcard [data-simadd]:focus-visible,#padd:hover,#padd:focus-visible{background:var(--tape-bg);border-color:var(--tape-bg);color:var(--tape-ink)}
/* (at the top, not centred: the description and specs arrive after it opens and only extend it downwards) */
dialog.drawer{margin:0 0 0 auto;height:100%;max-height:100%;width:440px;border-radius:0}
.dhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:6}
.dhead h2{font-family:var(--f-disp);font-size:20px;margin:0}
.x{border:0;background:var(--surface-2);border-radius:8px;width:34px;height:34px;font-size:20px;line-height:1;flex:none}
.pgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;padding:18px}
.pgrid .ph{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.pinfo{display:flex;flex-direction:column;gap:10px}
.pinfo h3{font-family:var(--f-disp);font-size:24px;line-height:1.15;margin:0;text-wrap:balance}
.meta-row{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.szs{padding:10px 0 2px}.szs h4{margin:0 0 6px;font-size:13px;color:var(--muted);font-weight:600}.szs .opts{display:flex;flex-wrap:wrap;gap:6px}.szs button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:6px 11px;font:inherit;font-size:13px;cursor:pointer;min-height:34px}.szs button[aria-pressed=true]{border-color:var(--tape);background:var(--tape);color:var(--tape-ink);font-weight:600}.szs .err{color:var(--bad);font-size:12px;margin-top:4px}
.buy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-block:1px solid var(--line)}
.buy .price{font-size:30px}
.buy .price.req,.total .price.req{font-size:18px;line-height:1.3}
/* product dialog: ask on WhatsApp / call, delivery note, similar products */
.pcontact{display:flex;flex-wrap:wrap;gap:8px}
.pcontact .btn{display:inline-flex;align-items:center;text-decoration:none}
.btn.pwa{background:#1C8548;border-color:#1C8548;color:#fff}   /* 4.7:1 with the white text */
.pnote{margin:0;font-size:12.5px;color:var(--muted);line-height:1.45}
.pnote a{color:var(--link);text-decoration:none}
.psim{padding:0 18px 18px}
.psim h4{font-family:var(--f-disp);font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.simgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
.simcard{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-align:left;font-size:12.5px;line-height:1.3;cursor:pointer}
.simcard:hover{border-color:var(--tape)}
.simcard img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.simcard span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.qty{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.qty button{border:0;background:var(--surface-2);width:34px}
.qty input{width:48px;border:0;text-align:center;background:transparent;padding:8px 0}
table.specs{width:100%;border-collapse:collapse;font-size:14px}
table.specs th,table.specs td{text-align:left;padding:7px 0;border-bottom:1px dotted var(--line);vertical-align:top}
table.specs th{color:var(--muted);font-weight:400;width:48%;padding-right:12px}
table.specs td{font-variant-numeric:tabular-nums}
.sect h4{font-family:var(--f-disp);font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:6px 0 6px}

.cart-items{display:flex;flex-direction:column}
.ctabs{display:flex;gap:6px;padding:10px 18px;border-bottom:1px solid var(--line)}
.ctabs button{flex:1;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
.ctabs button[aria-selected="true"]{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}.ctabs .num{opacity:.75;font-weight:500}
.ci{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px 18px;border-bottom:1px solid var(--line)}
.ci .n{font-weight:500;line-height:1.3;border:0;background:none;padding:0;text-align:left;color:var(--ink);font:inherit;font-weight:500;cursor:pointer}
.ci .n:hover{color:var(--link);text-decoration:underline}
.ci .r{display:flex;gap:10px;align-items:center;justify-content:space-between;grid-column:1/-1}
.ci .rm{border:0;background:none;color:var(--muted);text-decoration:underline;font-size:13px;padding:0}
.dbody{padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.dbody .btn.pwa{text-align:center;text-decoration:none}
.clearall{align-self:center;border:0;background:none;color:var(--muted);text-decoration:underline;font-size:13px;padding:2px}
.total{display:flex;justify-content:space-between;align-items:baseline;font-weight:600}
.total .price{font-size:26px}
.field{display:flex;flex-direction:column;gap:4px}
.field label{font-size:13px;color:var(--muted)}
.field input,.field textarea,.field select{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.radio{display:flex;flex-direction:column;gap:6px}
.radio label{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:9px 11px;cursor:pointer}
.radio input{accent-color:var(--ink);margin-top:3px}
.note{font-size:13px;color:var(--muted)}
.err{color:var(--bad);font-size:13px;min-height:1em}
.okbox{text-align:center;padding:30px 18px;display:flex;flex-direction:column;gap:10px;align-items:center}
.okbox .ono{font-family:var(--f-mono);font-size:22px;background:var(--tape-bg);color:var(--tape-ink);padding:4px 12px;border-radius:6px}
.ord{border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.ord .h{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.status{font-size:12px;font-weight:600;border-radius:12px;padding:2px 9px;background:var(--surface-2);border:1px solid var(--line)}
.status.new{color:var(--link)} .status.confirmed{color:var(--warn)} .status.ready{color:var(--ok)} .status.done{color:var(--muted)} .status.cancelled{color:var(--bad)}

/* admin */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px;flex-wrap:wrap}
.tabs button{border:0;background:none;padding:10px 14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-1px}
.tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--tape)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px}
.tscroll{overflow-x:auto}
table.adm{width:100%;border-collapse:collapse;font-size:13.5px}
table.adm th{text-align:left;font-weight:600;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em;padding:8px;border-bottom:1px solid var(--line);white-space:nowrap}
table.adm td{padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
table.adm input{width:100px;padding:6px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
table.adm select{padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.oitems{font-size:12.5px;color:var(--muted);margin-top:4px}
.ord .gone,.oitems .gone{color:var(--muted);font-style:italic}
.steps{display:flex;flex-direction:column;gap:14px}
.map{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.speccols{display:flex;flex-wrap:wrap;gap:6px 14px}
.kpis{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-width:130px}
.kpi b{display:block;font-family:var(--f-disp);font-size:22px}
.kpi span{font-size:12px;color:var(--muted)}

/* brand marquee */
.marquee{background:#fff;color-scheme:light;border-bottom:1px solid var(--line);overflow:hidden;position:relative}
.marquee::before,.marquee::after{content:"";position:absolute;top:0;bottom:0;width:60px;z-index:1;pointer-events:none}
.marquee::before{left:0;background:linear-gradient(90deg,#fff,transparent)}
.marquee::after{right:0;background:linear-gradient(-90deg,#fff,transparent)}
.mtrack{display:flex;width:max-content;will-change:transform}
/* scroll reveal */
.rv{opacity:0;transform:translateY(30px);transition:opacity .75s cubic-bezier(.2,.7,.2,1),transform .75s cubic-bezier(.2,.7,.2,1)!important;transition-delay:var(--rvd,0ms)!important}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.rv{opacity:1;transform:none;transition:none!important}}

.marquee{touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.marquee.dragging{cursor:grabbing}
.marquee.dragging .mitem{pointer-events:none}
.mitem img{-webkit-user-drag:none;user-drag:none}
.marr{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid #D5DAD6;background:#fff;color:#172027;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.marr:hover{background:#172027;color:#fff}
.marr.l{left:8px}.marr.r{right:8px}
.marr:focus-visible{outline:2px solid var(--tape);outline-offset:2px}
.mitem.on{color:var(--tape);box-shadow:inset 0 -3px 0 var(--tape)}
.mitem.on img{filter:none;opacity:1}
@keyframes roll{to{transform:translateX(-50%)}}
.mitem{flex:none;display:flex;align-items:center;justify-content:center;height:76px;padding:0 30px;border:0;background:none;border-right:1px solid #E2E6E3;color:#5A6770;font-family:var(--f-disp);font-weight:700;font-size:21px;letter-spacing:.08em;text-transform:uppercase;transition:color .15s}
.mitem:hover{color:#172027}
.mitem img{height:44px;width:auto;max-width:170px;object-fit:contain;transition:transform .2s}
.mitem:hover img{transform:scale(1.06)}


/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 270px;gap:0;background:var(--hdr);color:var(--hdr-ink);border-radius:14px;overflow:hidden;margin-bottom:22px;position:relative}
.hero .htxt{padding:34px 34px 30px;display:flex;flex-direction:column;gap:14px}
.hero h2{font-family:var(--f-disp);font-weight:700;font-size:clamp(30px,4.2vw,50px);line-height:1.02;margin:0;text-wrap:balance;letter-spacing:-.005em}
.hero h2 em{font-style:normal;color:var(--tape)}
.hero p{margin:0;color:var(--hdr-muted);max-width:52ch;font-size:15.5px}
.hero .hact{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:4px}
.hero .btn{background:var(--tape-bg);color:var(--tape-ink);border-color:var(--tape-bg)}
.hero .call{color:var(--hdr-ink);font-weight:600}
.hero .facts{display:flex;flex-direction:column;justify-content:center;gap:0;padding:24px 28px;background:var(--hdr-2);border-left:1px solid var(--hdr-line)}
.fact{display:flex;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px dashed var(--hdr-line)}
.fact:last-child{border-bottom:0}
.fact b{font-family:var(--f-disp);font-size:30px;color:var(--tape);min-width:64px;font-variant-numeric:tabular-nums}
.fact span{color:var(--hdr-ink);font-size:14px}
.hero .tape{position:absolute;left:0;right:0;bottom:0;height:9px;border-radius:0;z-index:1}
/* the shop video, right column: fills the hero's height (a vertical video, cropped top and bottom) */
.hvid{position:relative;background:#000;border-left:1px solid var(--hdr-line);min-height:260px}
.hvid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hsnd{position:absolute;right:12px;bottom:22px;z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer}
.hsnd:hover,.hsnd:focus-visible{background:var(--tape);border-color:var(--tape)}
@media (max-width:1100px){.hero{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 210px}}
.tiles-h{font-family:var(--f-disp);font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-weight:600}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:10px;margin-bottom:26px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;min-width:0;overflow:hidden;border:1px solid var(--line);background:var(--surface);border-radius:10px;text-align:left;color:var(--ink);transition:border-color .15s,transform .15s}
.tile:hover{border-color:var(--tape);transform:translateY(-2px)}
a.tile,a.mitem{text-decoration:none}@media (max-width:560px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card .cbody{padding:9px 10px 10px;gap:4px}.card .cname{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.card .sku{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.card .cfoot{gap:6px}.card .price,.card .cfoot b{font-size:13px}.card .add{width:34px;height:34px;flex:none}.ph .brand{font-size:10px}.tiles .tile .tn{font-size:12.5px;line-height:1.25;letter-spacing:-.01em}}@media (max-width:560px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile{padding:10px 9px;gap:6px}.tile svg{width:28px;height:28px}}
.tile svg{width:34px;height:34px;color:var(--muted)}
.tile:hover svg{color:var(--ink)}
.tile .tn{font-weight:600;line-height:1.25;font-size:14px;max-width:100%;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}
.tile .tc{font-size:12px;color:var(--muted)}
@media (max-width:760px){.hero{grid-template-columns:1fr}.hvid{justify-self:center;width:auto;max-width:calc(100% - 32px);height:min(70vh,600px);aspect-ratio:9/16;min-height:0;border:0;border-radius:12px;overflow:hidden;margin:4px 0 24px}.hero .facts{border-left:0;border-top:1px solid var(--hdr-line);flex-direction:row;flex-wrap:wrap;gap:6px 18px;padding:14px 22px 22px}.fact{border:0;padding:4px 0}.fact b{font-size:22px;min-width:0}.hero .htxt{padding:24px 22px 18px}}
.dz{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.dz .prev{width:140px;height:56px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;font-family:var(--f-disp);font-weight:700;color:var(--muted)}
.dz .prev img{max-width:130px;max-height:48px;object-fit:contain}
.dz strong{min-width:120px}

footer{border-top:1px solid var(--line);background:var(--surface);padding-block:22px;font-size:13.5px}
footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
/* the shops' map: pin marks beside the names, a small map in the footer, a bigger one on the contacts page */
.pinb{display:inline-flex;align-items:center;justify-content:center;width:1.5em;height:1.5em;border-radius:50%;background:#DB5A30;color:#fff;font-size:.8em;font-weight:700;line-height:1;vertical-align:.08em;margin-right:2px;font-family:Arial,Helvetica,sans-serif}
.pinb.s{background:#1C68A8}
.fmap{display:block;align-self:start;border:1px solid var(--line);border-radius:8px;overflow:hidden;max-width:300px}
.fmap img{display:block;width:100%;height:auto}
.shopmap{margin:12px 0 4px}.shopmap img{display:block;width:100%;max-width:820px;height:auto;border:1px solid var(--line);border-radius:8px}
.maplive{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.maplive .mlh{font-weight:600;color:var(--ink);font-size:13.5px}.maplive .mln{flex-basis:100%}
.maplive [aria-pressed="true"]{border-color:var(--tape)}
.livemap{display:block;width:100%;max-width:820px;aspect-ratio:820/560;border:1px solid var(--line);border-radius:8px}
.shopmap figcaption{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.7}
footer h2{font-family:var(--f-disp);font-weight:700;font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
footer p{margin:0 0 4px}
/* the footer: grey-blue, red marks under the headings, light text, teal on hover; the page links below a line */
footer{--f-bg:#37434D;--f-bg2:#2E3842;--f-line:#4A5762;--f-text:#C3CBD1;--f-acc:#D7262E;--f-hov:#17A2A2;background:var(--f-bg);color:#fff;border-top:0;padding-block:34px 0}
footer .cols{gap:26px}
footer h2{color:#fff;font-size:14px;margin:0 0 14px;padding-bottom:9px;position:relative}
footer h2::after{content:"";position:absolute;left:0;bottom:0;width:42px;height:3px;border-radius:2px;background:var(--f-acc)}
footer p{color:var(--f-text);line-height:1.6}
footer p.num{color:#fff;font-size:14.5px}
footer a{color:#fff;text-decoration:none;transition:color .15s}
footer a:hover,footer a.tel:hover{color:var(--f-hov);text-decoration:none}
footer .wa:hover{filter:brightness(1.1)}
footer .fmap{border-color:var(--f-line);box-shadow:0 6px 20px rgba(0,0,0,.35);transition:transform .15s}
footer .fmap:hover{transform:translateY(-2px)}
footer .legalnav{margin-top:28px;padding-block:16px 18px;border-top:1px solid var(--f-line)}
footer .legalnav a{opacity:1;color:var(--f-text);text-decoration:none}
footer .legalnav a:hover{color:var(--f-hov)}
.copy{border:0;background:none;color:var(--link);padding:0;font-size:12px;margin-left:6px}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:8px;z-index:50;font-size:14px;box-shadow:var(--shadow)}


.minibar{position:fixed;left:0;right:0;top:0;z-index:30;background:var(--hdr);color:var(--hdr-ink);border-bottom:1px solid var(--hdr-line);box-shadow:0 2px 10px rgba(0,0,0,.25);padding-top:env(safe-area-inset-top,0px);transform:translateY(-110%);transition:transform .2s}
.minibar.show{transform:none}
.layout{scroll-margin-top:70px}
.minibar .ml{display:flex;gap:8px;align-items:center}
.minibar .mbsbox{display:none;flex:1;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid var(--hdr-line);border-radius:10px;padding:0 6px 0 12px;height:42px}
.minibar .mbsbox input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:inherit;font:inherit;font-size:16px;height:100%}
.minibar .mbsbox .photobtn{margin:0;width:36px;height:36px}
.minibar .mbsbox .x{background:transparent;border:0;color:inherit;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px}
.minibar.searching .ml,.minibar.searching .mr{display:none}
.minibar.searching .mbsbox{display:flex}
#mbQ::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.minibar .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;height:56px}
.minibar .mr{display:flex;gap:8px}
@media (max-width:520px){.minibar .mbl{display:none}.minibar #mbFilter .mbl{display:inline}.minibar .lang button{padding:8px 7px}}
@media (max-width:400px){.minibar #mbFilter .mbl{display:none}}
.minibar .mr{align-items:center}
.totop{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:35;width:48px;height:48px;border-radius:50%;border:0;background:var(--tape);color:var(--tape-ink);box-shadow:0 4px 14px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s}
.totop.show{opacity:1;pointer-events:auto;transform:none}
/* phones: the browser's bottom bar can float over the page (Safari on newer iPhones) and hide most of the
   button and the toast, so on touch screens they sit above it */
@media (pointer:coarse) and (max-width:820px){.totop,.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
/* the same bar covers the end of the product window and the cart: room below the last line, so a normal
   swipe brings the specs and the order button above it (without it they could only be seen by holding a
   finger and pulling the page up) */
@media (pointer:coarse) and (max-width:860px){dialog.modal::after,dialog.drawer::after{content:"";display:block;height:calc(84px + env(safe-area-inset-bottom,0px))}}
.totop:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (max-width:860px){
  .layout{grid-template-columns:1fr}
  aside.filters{position:fixed;inset:0 auto 0 0;top:0;width:min(320px,88vw);max-height:none;height:100%;background:var(--bg);z-index:40;padding:calc(16px + env(safe-area-inset-top,0px)) 16px 24px;transform:translateX(-105%);transition:transform .2s;box-shadow:var(--shadow)}
  aside.filters.open{transform:none}
  .fclose{display:flex;justify-content:space-between;align-items:center}
  .fbtn{display:inline-flex}
  .pgrid{grid-template-columns:1fr}
  dialog.drawer{width:100%}
  /* phones: the product window takes the whole screen (the height the browser really shows, 100dvh) */
  dialog.modal{width:100%;max-width:100%;height:100%;max-height:100%;margin:0;border-radius:0}
  @supports (height:100dvh){dialog.modal{height:100dvh;max-height:100dvh}}
  dialog.modal .dhead{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  dialog.modal .pgrid{grid-template-columns:1fr;gap:18px;padding:16px 16px 22px}
  dialog.modal .pgrid>.ph{position:relative;top:auto}
  dialog.modal .pinfo h3{font-size:22px}
  dialog.modal .simgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ptop{flex-wrap:wrap}
  .ptop .psearch{order:5;flex-basis:100%}
  .ptop .pbtxt,.ptop .pctxt{display:none}
  .ptop .plang{margin-left:auto}
  .plogo img.logoimg{height:34px}.plogo b{font-size:19px}
  .pcode{font-size:24px}
  .logo b{font-size:24px}
}
@media (min-width:861px){
  aside.filters.open{position:fixed;left:0;top:0;width:340px;height:100%;max-height:none;background:var(--bg);z-index:40;padding:calc(16px + env(safe-area-inset-top,0px)) 18px 24px;box-shadow:var(--shadow)}
  aside.filters.open .fclose{display:flex;justify-content:space-between;align-items:center}
  aside.filters.open~div{grid-column:2}
}
.hbtn.hfilter svg{flex:none}
@media (max-width:520px){.hbtn.hfilter .hfl{display:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.sugg{position:fixed;z-index:80;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow-y:auto;max-height:min(70vh,460px);text-align:left;font-size:14px}
.sugg[hidden]{display:none}
.sugg button{display:flex;gap:10px;align-items:baseline;width:100%;border:0;background:none;color:inherit;font:inherit;text-align:left;padding:8px 12px;cursor:pointer;line-height:1.3}
.sugg button:hover,.sugg button[aria-selected=true]{background:var(--surface-2)}
.sugg .sk{font:500 12px "IBM Plex Mono",monospace;color:var(--muted);flex:none}
.sugg .sn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg .st{font-size:11.5px;color:var(--muted);padding:8px 12px 3px;text-transform:uppercase;letter-spacing:.05em}
.sugg .sc{margin-left:auto;color:var(--muted);font-size:12.5px;flex:none}
.maybe{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--tape);border-radius:10px;padding:10px 14px;margin-bottom:12px;font-size:14px;line-height:1.45}
.maybe b{font-weight:600}
.smiss{width:100%;border-collapse:collapse;font-size:14px}.smiss td,.smiss th{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left}
#scustom{width:100%;min-height:180px;font:13px/1.5 "IBM Plex Mono",monospace;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}
.infodlg{width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);border:1px solid var(--line);border-radius:12px;padding:0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
.infodlg::backdrop{background:rgba(15,20,23,.45)}
.infodlg .ih{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);font-size:16px}
.infodlg .ix{border:0;background:none;font-size:24px;line-height:1;color:var(--muted);cursor:pointer;padding:0 4px}
.infodlg .ib{padding:6px 18px 16px}
.infodlg section{padding:10px 0;border-bottom:1px dotted var(--line)}.infodlg section:last-child{border-bottom:0}
.legalnav{display:flex;flex-wrap:wrap;gap:6px 18px;padding-top:14px;padding-bottom:4px;font-size:13px}
.legalnav a{color:inherit;opacity:.8;text-decoration:underline;text-underline-offset:3px}
.infodlg .legalnav{padding:10px 0;border:0}
.legaldlg{width:min(720px,calc(100% - 24px))}
.legaldlg .ib{max-height:calc(100vh - 140px);overflow:auto;font-size:14.5px;line-height:1.55}
.legaldlg h3{display:none}
.legaldlg p{margin:0 0 10px}
.legaldlg ul,.legaldlg ol{margin:0 0 12px;padding-left:20px}
.legaldlg li{margin:0 0 5px}
.legaldlg table{border-collapse:collapse;width:100%;margin:6px 0 4px}
.legaldlg th,.legaldlg td{text-align:left;vertical-align:top;padding:7px 8px;border-bottom:1px solid var(--line)}
.legaldlg th{font-weight:600;color:var(--muted);width:42%}
.legaldlg td{overflow-wrap:anywhere}
.consent{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;line-height:1.4}
.consent input{margin-top:3px;flex:none}
.consent a{color:inherit;text-decoration:underline}
.infodlg h3{margin:0 0 4px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.infodlg p{margin:2px 0}.infodlg a{color:var(--link);text-decoration:none}
.wa{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#25D366;color:#fff!important;vertical-align:-5px;margin-left:2px}
.wa:hover{filter:brightness(.92)}
/* top bar: numbers and WhatsApp icons on one centre line */
.strip .num{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
.strip .wa{width:17px;height:17px;vertical-align:middle;margin-left:0}

/* Server-rendered page text (server/seo/pages.js): heading + intro above the shop, plain links below it */
.seo{margin:0 0 16px;font-size:14px;color:var(--muted);max-width:900px}
.seo h1{font-family:var(--f-disp);font-weight:700;font-size:22px;line-height:1.15;margin:4px 0 6px;color:var(--ink);text-wrap:balance}
.seo p{margin:0 0 6px;line-height:1.5}
.seo a,.seolinks a{color:var(--link);text-decoration:none}
.seo a:hover,.seolinks a:hover{text-decoration:underline}
.crumbs{font-size:12.5px;color:var(--muted)}
.crumbs i{font-style:normal;margin-inline:2px}
.seoprod{max-width:none;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:14px 16px}
.seopgrid{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:18px;margin-top:8px}
.seopgrid img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.seoprod h2{font-family:var(--f-disp);font-size:15px;color:var(--ink);margin:12px 0 6px}
.seofacts{color:var(--ink)}
.seocontact{font-weight:600}.seonote{font-size:12.5px}
.seospecs{border-collapse:collapse;font-size:13px}
.seospecs th,.seospecs td{text-align:left;padding:3px 12px 3px 0;border-bottom:1px solid var(--line);vertical-align:top}
.seospecs th{font-weight:500;color:var(--muted)}
.seolinks{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.seolinks h2{font-family:var(--f-disp);font-size:14px;letter-spacing:.04em;color:var(--ink);margin:14px 0 6px}
.seolinks ul{list-style:none;margin:0;padding:0}
.seocols{columns:4 180px;column-gap:18px}
.seoprods{columns:3 260px;column-gap:18px}
.seolinks li{break-inside:avoid;padding:1px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* each link at least 24 px high, so a finger hits the right one (Lighthouse target-size) */
.seolinks li>a{display:inline-block;min-height:24px;line-height:18px;padding-block:3px}
/* links inside text are underlined (not only coloured), phone numbers get a finger-sized area */
.seofacts a,.seoshop p a{text-decoration:underline;text-underline-offset:2px}
.seoshop a[href^="tel:"]{display:inline-block;min-height:24px;line-height:24px}
.seopager{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:8px}
.seopager b{color:var(--ink)}
.seolangs{margin-top:14px}
@media (max-width:640px){.seopgrid{grid-template-columns:1fr}.seopgrid img{max-width:220px}}
/* brand pages: about the brand, popular products; contacts and legal pages */
.seoabout{max-width:900px;line-height:1.55;color:var(--ink);font-size:14px;margin:0 0 10px}
.seolinks ul.seocards{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:6px}
.seocards li{white-space:normal;overflow:visible}
.seocards a{display:flex;flex-direction:column;gap:6px;height:100%;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:12.5px;line-height:1.3}
.seocards img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.seocards span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.seoreq{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.seoreq li{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--surface)}
.seoreq img,.seoreq .noimg{display:block;width:96px;height:96px;object-fit:contain;border-radius:6px;background:#fff;flex:none}
.seoreq div{flex:1;min-width:0}.seoreq div a{color:var(--ink);font-weight:600}.seoreq p{margin:4px 0 0;color:var(--muted);font-size:13px}
.seoreq b{font-size:18px;white-space:nowrap}
.seoinfopage{max-width:900px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:14px 16px;color:var(--ink)}
.seoshops{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:10px 0}
.seoshop{border:1px solid var(--line);border-radius:6px;padding:10px 12px}
.seoshop h2,.seolegal h3{font-family:var(--f-disp);font-size:15px;margin:0 0 6px}
.seolegal{line-height:1.55}
.seolegal ol,.seolegal ul{margin:0 0 8px;padding-left:20px}
.seoinfo{margin-top:12px;font-size:13px}
/* buying guides and the questions on brand pages */
.seoguide h2,.seoguides h2{font-family:var(--f-disp);font-size:17px;margin:16px 0 6px}
.seoguide p,.seoguides p{margin:0 0 8px}
.seoguide .seolead{font-size:15px}
.seoupd{margin:-4px 0 12px;color:var(--muted);font-size:13px}
.seoguide ul{list-style:none;padding:0}
.seofaq h3{font-family:var(--f-disp);font-size:15px;margin:12px 0 4px}
.seofaq p{margin:0 0 6px;line-height:1.55;max-width:900px}
p.seoguide{margin:0 0 10px}p.seoguide a{font-weight:600}
.seoguide ul.seocards{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:0 0 6px}
/* admin: QR codes */
.qrform{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 12px;margin:12px 0 16px;align-items:end}
.qrform .qrwide{grid-column:span 2}
.qrbtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.qrtable img{display:block;background:#fff}
.qrtable tr.off{opacity:.5}
@media (max-width:560px){.qrform .qrwide{grid-column:auto}}

/* the chat (public/js/chat.js): a round button in the corner, the window above it; on phones the whole screen */
.chatbtn{position:fixed;right:18px;bottom:18px;z-index:60;width:56px;height:56px;border-radius:50%;border:0;background:var(--tape);color:var(--tape-ink);display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer}
.chatbtn:hover{filter:brightness(.95)}
.chatbtn i{position:absolute;top:6px;right:6px;width:12px;height:12px;border-radius:50%;background:#1F8F4E;border:2px solid #fff;display:none}
.chatbtn.new i{display:block}
.totop{bottom:86px;background:var(--btn);color:var(--btn-ink)}
.chatbox{position:fixed;right:18px;bottom:86px;z-index:61;width:370px;max-width:calc(100vw - 24px);height:min(560px,calc(100vh - 110px));background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}
.chatbox[hidden]{display:none}
.chatbox header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:var(--hdr);color:var(--hdr-ink)}
.chatbox header b{display:block;font-family:var(--f-disp);font-size:16px}
.chatbox header span{display:block;font-size:12px;color:var(--hdr-muted)}
.chatbox header .x{background:transparent;color:var(--hdr-ink)}
.chatlog{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--bg)}
.cm{display:flex;flex-direction:column;max-width:86%;align-self:flex-start}
.cm .cw{font-size:11px;color:var(--muted);margin:0 0 2px 6px}
.cm .cb{background:var(--surface);border:1px solid var(--line);border-radius:12px 12px 12px 4px;padding:8px 11px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.cm .cb a{color:var(--link)}
.cm.customer{align-self:flex-end}
.cm.customer .cb{background:var(--btn);color:var(--btn-ink);border-color:var(--btn);border-radius:12px 12px 4px 12px}
.cm.owner .cb{border-color:var(--tape);background:#fff7f3}
.cm.sys{align-self:center;max-width:94%;font-size:12.5px;color:var(--muted);text-align:center;background:var(--surface-2);border-radius:10px;padding:6px 10px}
.cm.typing .cb{color:var(--muted);font-style:italic}
.chatabout{display:flex;align-items:center;gap:8px;padding:7px 10px 7px 12px;border-top:1px solid var(--line);background:var(--bg);font-size:13px;color:var(--muted)}
.chatabout span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chatabout b{color:var(--ink);font-family:var(--f-mono)}
.chatabout button{border:0;background:none;font-size:18px;line-height:1;color:var(--muted);cursor:pointer;padding:0 4px}
#chatform{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:var(--surface)}
#chatform textarea{flex:1;resize:none;border:1px solid var(--line);border-radius:10px;padding:9px 11px;font:inherit;font-size:14px;max-height:110px;background:var(--surface);color:var(--ink)}
#chatform .btn{padding:0 14px;font-size:16px}
.chatfoot{display:flex;flex-direction:column;gap:4px;padding:0 12px 10px;background:var(--surface);font-size:11.5px;color:var(--muted)}
.chatfoot #chathuman{align-self:flex-start;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:999px;padding:5px 11px;font-size:12.5px;cursor:pointer}
.chatfoot #chathuman:hover{border-color:var(--tape)}
.chatfoot .err:empty{display:none}
@media (max-width:560px){
  .chatbox{inset:0;right:0;bottom:0;width:100%;max-width:100%;height:100%;border-radius:0;border:0}
  @supports (height:100dvh){.chatbox{height:100dvh}}
  .chatbox header{padding-top:calc(12px + env(safe-area-inset-top,0px))}
  .chatfoot{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
@media (pointer:coarse) and (max-width:820px){.chatbtn{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.totop{bottom:calc(150px + env(safe-area-inset-bottom,0px))}}
/* product page: a round back button above the chat button */
.pbackfab{position:fixed;right:22px;bottom:86px;z-index:60;width:48px;height:48px;border-radius:50%;border:0;background:var(--btn);color:var(--btn-ink);display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer}
.pbackfab:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (pointer:coarse) and (max-width:820px){.pbackfab{bottom:calc(152px + env(safe-area-inset-bottom,0px))}}

/* admin Chat tab */
.achats{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:14px;min-height:420px}
.aclist{display:flex;flex-direction:column;gap:6px;max-height:70vh;overflow-y:auto}
.achat{display:flex;flex-direction:column;gap:3px;text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:8px 10px;cursor:pointer}
.achat.on{border-color:var(--tape)}
.achat .ah{display:flex;align-items:center;gap:6px;font-size:13px}.achat .at{margin-left:auto;color:var(--muted);font-size:11.5px}
.achat .count{background:var(--tape-bg);color:var(--tape-ink);border-radius:10px;padding:0 7px;font-size:11.5px;font-weight:700}
.achat .al{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acconv{display:flex;flex-direction:column;gap:10px;min-width:0}
.acmsgs{display:flex;flex-direction:column;gap:8px;max-height:56vh;overflow-y:auto;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px}
#acform textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font:inherit;resize:vertical;background:var(--surface);color:var(--ink)}
.acbtns{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
@media (max-width:760px){.achats{grid-template-columns:1fr}}

/* the chat button's menu: call, write in the chat, WhatsApp */
.chatmenu{position:fixed;right:18px;bottom:86px;z-index:61;min-width:250px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:6px;display:flex;flex-direction:column}
.chatmenu[hidden]{display:none}
.chatmenu::after{content:"";position:absolute;right:20px;bottom:-8px;width:14px;height:14px;background:var(--surface);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.chatmenu a,.chatmenu button{display:flex;align-items:center;gap:14px;padding:13px 14px;border:0;background:none;color:var(--ink);text-decoration:none;font:inherit;font-size:16px;font-weight:500;border-radius:10px;cursor:pointer;text-align:left}
.chatmenu a:hover,.chatmenu button:hover{background:var(--surface-2)}
.chatmenu svg{flex:none;color:var(--hdr)}
.chatmenu a[href^="https://wa.me"] svg{color:#1F8F4E}
@media (pointer:coarse) and (max-width:820px){.chatmenu{bottom:calc(152px + env(safe-area-inset-bottom,0px))}}

.chatacts{display:flex;gap:8px;flex-wrap:wrap}
.chatfoot #chatend{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:5px 11px;font-size:12.5px;cursor:pointer}
.chatfoot #chatend:hover{color:var(--bad);border-color:var(--bad)}

/* phones: Safari zooms the page in when a text box with letters under 16 px is tapped (then the chat or the
   cart is wider than the screen and has to be dragged sideways); on touch screens every text box is 16 px.
   (The visitor can still zoom with two fingers: nothing in the viewport forbids it.) */
@media (pointer:coarse){input,textarea,select{font-size:16px!important}}

/* favourites and compare (public/js/saved.js): buttons on the card photo and on the product page */
.cacts{position:absolute;right:8px;bottom:8px;z-index:1;display:flex;flex-direction:column;gap:6px}   /* the heart above the compare button, at the right edge (owner: they covered the service pictures' badge) */
.cact{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.92);color:var(--muted);display:grid;place-items:center;padding:0;cursor:pointer;transition:color .15s,background .15s,border-color .15s}
.cact:hover{color:var(--ink);border-color:var(--ink)}
.cact[data-fav].on{color:#fff;background:#D7262E;border-color:#D7262E}
.cact[data-fav].on svg path{fill:currentColor}
.cact[data-cmp].on{color:#fff;background:var(--link);border-color:var(--link)}
@media (hover:hover){.card .cact:not(.on){opacity:0;transition:opacity .15s}.card:hover .cact,.card:focus-within .cact{opacity:1}}
.ph .ribbon{position:absolute;right:9px;top:8px;z-index:1;color:#fff;font-weight:700;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;border-radius:4px;padding:2px 7px}
.ribbon.promo{background:#D7262E}.ribbon.fresh{background:var(--ok)}
.pacts{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 2px}
.pact{display:inline-flex;align-items:center;gap:6px}
.pact[data-fav].on{color:#D7262E;border-color:#D7262E}.pact[data-fav].on svg path{fill:currentColor}
.pact[data-cmp].on{color:var(--link);border-color:var(--link)}
.pshare{position:relative;display:inline-flex}
.pact.picon{padding-left:10px;padding-right:10px}
.sharemenu{position:absolute;z-index:5;top:calc(100% + 6px);left:0;min-width:210px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:6px;display:flex;flex-direction:column}
.sharemenu[hidden]{display:none}
.sharemenu a,.sharemenu button{display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;background:none;color:inherit;font:inherit;font-size:14px;text-align:left;border-radius:8px;text-decoration:none;cursor:pointer}
.sharemenu a:hover,.sharemenu button:hover{background:var(--surface-2)}

.hfav .count[hidden]{display:none}
/* the favourites drawer */
.fnote{padding:10px 18px 0}
.fgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 18px 18px}
.fgrid .cact{opacity:1!important}
/* the compare bar (bottom left) and table */
.cmpbar{position:fixed;left:16px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:stretch;border-radius:999px;background:var(--link);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.25);overflow:hidden}
.cmpbar[hidden]{display:none}
.cmpbar button{border:0;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.cmpgo{display:flex;align-items:center;gap:8px;padding:11px 8px 11px 16px}
.cmpgo .count{background:#fff;color:var(--link);border-radius:999px;padding:0 7px;font-size:12.5px}
.cmpx{padding:0 14px 0 8px;font-size:20px;line-height:1;opacity:.85}.cmpx:hover{opacity:1}
dialog.cmpdlg{padding-bottom:20px}
.cmpwrap{overflow-x:auto;padding:0 var(--pside,18px)}
.cmptable{border-collapse:separate;border-spacing:0;min-width:100%;font-size:14px}
.cmptable th,.cmptable td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;min-width:170px}
.cmptable tbody th{position:sticky;left:0;background:var(--surface-2);font-weight:500;color:var(--muted);min-width:150px;z-index:1}
.cmptable thead th{vertical-align:bottom;border-bottom:2px solid var(--ink)}
.cmptable .cmpcorner{position:sticky;left:0;background:var(--surface);z-index:2;font-weight:400}
.cmptable tr.diff td{background:#FFF6E8}
.cmptable.onlydiff tbody tr:not(.diff){display:none}
.cmpcard{position:relative;display:flex;flex-direction:column;gap:6px;max-width:220px}
.cmpcard img{width:120px;height:120px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px}
.cmpname{border:0;background:none;padding:0;text-align:left;font:inherit;font-weight:600;color:var(--ink);cursor:pointer;line-height:1.3}
.cmpname:hover{color:var(--link);text-decoration:underline}
.cmprm{position:absolute;right:0;top:0;width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-size:17px;line-height:1;padding:0}
.cmpmore{padding:12px var(--pside,18px) 0}
/* the home page's shelves: Promotions, New arrivals, Recently viewed */
#shelves[hidden]{display:none}
.shelf{margin:18px 0 6px}
.shelf-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.shelf-h h2{font-family:var(--f-disp);font-size:20px;margin:0;padding-left:10px;border-left:4px solid var(--tape)}
.shelf-promo .shelf-h h2{border-color:#D7262E}.shelf-fresh .shelf-h h2{border-color:var(--ok)}
.linkbtn{border:0;background:none;color:var(--link);text-decoration:underline;font:inherit;font-size:13px;cursor:pointer;padding:0}
.hrow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,230px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:8px}
.hrow .card{scroll-snap-align:start}
@media (max-width:560px){.hrow{grid-auto-columns:46%;gap:8px}.cact{width:30px;height:30px}.cmpbar{left:12px}}
.apicks{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.apicks [aria-pressed="true"]{border-color:var(--tape);color:var(--tape-bg)}
@media (max-width:1100px){.hfav .hfl{display:none}}
dialog.modal.cmpdlg .dhead{flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:6px}
.cmptabs{display:flex;gap:6px;flex-wrap:wrap;padding:0 var(--pside,18px) 12px}
.cmptabs button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 12px;font:inherit;font-size:13.5px;cursor:pointer;color:var(--ink)}
.cmptabs button .num{color:var(--muted);margin-left:2px}
.cmptabs button[aria-selected="true"]{background:var(--link);border-color:var(--link);color:#fff}
.cmptabs button[aria-selected="true"] .num{color:#fff}
/* "added to the cart": the photo flies into the cart button, which bounces (public/js/cart.js flyToCart) */
.flyimg{position:fixed;z-index:1000;pointer-events:none;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.28);overflow:hidden;display:grid;place-items:center;color:var(--muted);will-change:transform}
.flyimg>img,.flyimg>svg{width:100%;height:100%;object-fit:contain}
.bump{animation:cbump .5s ease}
.bump .count{animation:cpop .5s ease}
@keyframes cbump{25%{transform:scale(1.14)}55%{transform:scale(.94)}80%{transform:scale(1.04)}}
@keyframes cpop{30%{transform:scale(1.5);background:var(--tape-bg);color:#fff}}
@media (prefers-reduced-motion:reduce){.bump,.bump .count{animation:none}}
/* the product's link over the whole card (Ctrl/middle click, "Open in new tab"); the buttons stay on top */
.card,.simcard{position:relative}
.cardlink{position:absolute;inset:0;z-index:1;border-radius:inherit}
.card .add,.simcard .btn{position:relative;z-index:2}   /* under the dialogs' sticky .dhead (z-index 6) */
.cacts{z-index:2}
/* admin: "future order" button on the cards and the product page (public/js/admin/future.js) */
.card .fut{position:relative;z-index:2;flex:none;display:inline-flex;align-items:center;gap:2px;height:34px;min-width:34px;padding:0 6px;margin-left:auto;border:1.5px dashed var(--tape);border-radius:8px;background:var(--surface);color:var(--tape);-webkit-appearance:none;appearance:none}
.card .fut svg{display:block}.card .fut b{font-size:12px}
.card .fut.on{border-style:solid;background:var(--tape-bg);color:var(--tape-ink)}
.pfut{border-style:dashed;border-color:var(--tape-bg);color:var(--tape-bg)}.pfut.on{border-style:solid;background:var(--tape-bg);color:var(--tape-ink)}
.futbrand{margin:14px 0 6px}.futtable img{display:block;width:48px;height:48px;object-fit:contain;background:#fff;border-radius:4px}.futtable .futq{width:80px}
/* every brand's table has the same columns (fixed widths), the text in the middle of the row like the boxes */
.futtable{table-layout:fixed;min-width:560px}table.adm.futtable td{vertical-align:middle}
.futtable td:nth-child(1){width:64px}.futtable td:nth-child(2){width:130px}.futtable td:nth-child(4){width:104px}.futtable td:nth-child(5){width:120px;text-align:right}
/* future order: brand and category filters on the left of the list (above it on a phone) */
.futlayout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.futfilters{position:sticky;top:12px;border:1px solid var(--line);border-radius:10px;padding:8px}
.futfilters h4{margin:8px 6px 4px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.futfilters button{display:flex;justify-content:space-between;gap:8px;width:100%;padding:6px 8px;border:0;border-radius:6px;background:none;color:inherit;font:inherit;font-size:13.5px;text-align:left;cursor:pointer}
.futfilters button:hover{background:var(--line)}.futfilters button.on{background:var(--ink);color:var(--surface)}
.futsearch{display:block;width:100%;max-width:420px;margin:10px 0 0;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:inherit;font:inherit;font-size:14px}
.futusers{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 2px}.futusers button{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:inherit;font:inherit;font-size:13.5px;cursor:pointer}
.futusers button[aria-selected="true"]{background:var(--ink);color:var(--surface);border-color:var(--ink)}.futusers .num{opacity:.7}
.futdates{display:grid;gap:6px;padding:0 6px 6px}.futdates label{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:6px;font-size:13px}
.futdates input{min-width:0;width:100%;padding:5px 6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:inherit;font:inherit;font-size:13px}
.futdates button{justify-content:center;color:var(--muted)}
.futfilters .num{opacity:.7}.futlist .futbrand:first-child{margin-top:0}.futcat{margin-top:2px;font-size:12px}
/* phone: the filters as short wrapping chips above the list, each product a block that fits the screen (photo,
   code and name, then the quantity and the remove button); nothing wider than the screen */
@media (max-width:760px){
  .futlayout{grid-template-columns:minmax(0,1fr);gap:12px}
  .futfilters{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:8px}
  .futfilters h4{flex:0 0 100%;margin:4px 2px 0}
  .futdates{flex:0 0 100%;grid-template-columns:1fr 1fr;padding:0}.futdates label{grid-template-columns:minmax(0,1fr)}.futdates button{grid-column:1/-1;width:100%}
  .futfilters button{width:auto;max-width:100%;border:1px solid var(--line);border-radius:999px;padding:5px 10px}
  .futfilters button span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .futtable{table-layout:auto;min-width:0}
  .futtable,.futtable tbody{display:block}
  table.adm.futtable tr{display:grid;grid-template-columns:56px minmax(0,1fr) auto;grid-template-areas:"img code code" "img name name" "img qty del";gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
  table.adm.futtable td{display:block;width:auto!important;padding:0;border:0;text-align:left}
  .futtable td:nth-child(1){grid-area:img}.futtable td:nth-child(2){grid-area:code;font-size:12px}
  .futtable td:nth-child(3){grid-area:name;overflow-wrap:anywhere}.futtable td:nth-child(4){grid-area:qty}.futtable td:nth-child(5){grid-area:del;justify-self:end}
}
/* the brand's country: a small flag in the photo's top-right corner (public/js/brand-country.js); the sale and
   Promotion / New labels sit below it */
.ph .flag{position:absolute;right:8px;top:8px;left:auto;bottom:auto;padding:0;z-index:1;width:24px;height:18px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.15);object-fit:cover;background:#fff}
.pgrid .ph .flag{width:32px;height:24px;right:12px;top:12px}
.ph .flag~.sale,.ph .flag~.ribbon{top:34px}
/* warranty under a brand's logo in the marquee (admin Design tab) */
.mitem.hasw{flex-direction:column;gap:4px}
.mitem .mw{font-family:var(--f-body);font-size:11.5px;font-weight:600;letter-spacing:.02em;text-transform:none;color:#2C7A4B;white-space:nowrap;line-height:1}
.dz .wfield{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.dz .wfield input{width:auto}
/* the brand's warranty in the photo's bottom-left corner (the same text as in the marquee) */
.ph .pwarranty{position:absolute;left:8px;bottom:8px;z-index:1;display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.92);color:#2C7A4B;border:1px solid #CFE3D6;border-radius:5px;padding:2px 7px;font-size:11.5px;font-weight:600;line-height:1.4;white-space:nowrap;max-width:calc(100% - 90px);overflow:hidden;text-overflow:ellipsis}
.pgrid .ph .pwarranty{left:12px;bottom:12px;font-size:13px;padding:3px 9px;max-width:none}
@media (max-width:560px){.card .ph .pwarranty{font-size:10.5px;padding:1px 5px;left:6px;bottom:6px;max-width:calc(100% - 76px)}.card .ph .pwarranty .ww{display:none}.card .ph .pwarranty .wshort{display:inline}}
.ph .pwarranty .wshort{display:none}
/* the longer "Предоставляется гарантия": two short lines on a card instead of cut off */
.card .ph .pwarranty{white-space:normal;line-height:1.2;max-width:calc(100% - 100px);text-overflow:clip;padding:3px 6px;font-size:10.5px}
.card .ph .pwarranty svg{flex:none}
.ph .pwarranty svg{position:static;width:12px;height:12px;flex:none;margin:0;inset:auto;color:inherit}
/* the repair request form on the Service page (public/js/repair.js) */
.repair{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.repair h2{margin:0 0 4px}
.repair form{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.repair .rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.repair .field{display:flex;flex-direction:column;gap:4px;font-size:13.5px}
.repair input,.repair textarea{font:inherit;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);width:100%;box-sizing:border-box}
.repair .telgrp{display:flex;align-items:stretch}.repair .telgrp>span{display:flex;align-items:center;padding:0 10px;border:1px solid var(--line);border-right:0;border-radius:8px 0 0 8px;background:var(--surface-2);font-weight:600}
.repair .telgrp input{border-radius:0 8px 8px 0}
.repair .ract{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.repair .err{color:var(--bad);font-size:13.5px}
.repair .consent{display:flex;gap:8px;align-items:flex-start;font-size:13px}
.repair .okbox{padding:14px;border-radius:8px;background:#EAF5EE;color:var(--ok)}
.repair input[type=checkbox]{width:auto;flex:none;margin-top:3px;padding:0}
/* battery platform ("Makita LXT 18V", public/js/battery.js) on cards and the product page */
.platform{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;background:#EEF4FB;color:#1C5A93;border:1px solid #CFE0F2;border-radius:5px;padding:1px 6px;font-size:11.5px;font-weight:600;line-height:1.5;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.platform svg{flex:none}
.meta-row .platform{font-size:12.5px}
@media (max-width:560px){.card .platform{font-size:10px;padding:0 4px}}
@media (max-width:560px){.card .ph .pwarranty{max-width:calc(100% - 74px);white-space:nowrap;padding:1px 5px}}
/* product photo in a window in the middle (public/js/product.js openPhoto) */
.pgrid .ph > img.pzoom{cursor:zoom-in}
.pgrid .ph > img.pzoom:focus-visible{outline:2px solid var(--accent,#e8590c);outline-offset:-2px}
dialog.photodlg{width:min(860px,calc(100vw - 32px));height:min(680px,calc(100vh - 32px));max-width:none;max-height:none;margin:auto;padding:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
@supports (height:100dvh){dialog.photodlg{height:min(680px,calc(100dvh - 32px))}}
dialog.photodlg::backdrop{background:rgba(10,14,17,.6)}
.photobox{width:100%;height:100%;overflow:auto;overscroll-behavior:contain;display:flex}
.photobox img{margin:auto;width:100%;height:100%;object-fit:contain;cursor:zoom-in;display:block;flex:none}
.photobox img.big{width:200%;height:200%;cursor:zoom-out}
.photox{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(10,14,17,.7);color:#fff;display:grid;place-items:center;cursor:pointer}
.photox:hover{background:rgba(10,14,17,.9)}
/* Bestseller (warehouse lists; public/js/card-html.js bestHtml): a rosette as wide as the flag (owner's decision), right
   under it (or under a sale / promo label), so it does not cover the tool */
.ph .best{position:absolute;right:8px;top:8px;z-index:1;width:24px;line-height:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));pointer-events:none}
.ph .best svg{width:100%;height:auto;display:block}
.ph .flag~.best{top:29px}
.ph .flag~.sale~.best,.ph .flag~.ribbon~.best{top:56px}
.ph .sale~.best,.ph .ribbon~.best{top:32px}
.pgrid .ph .best{width:32px;right:12px;top:12px}
.pgrid .ph .flag~.best{top:39px}
