:root{--bg:#fff;--bg2:#f6f7f9;--ink:#111827;--mut:#6b7280;--line:#e5e7eb;--pri:#2563eb;--pri-d:#1d4ed8;--ok:#059669;--warn:#d97706;--bad:#dc2626;--r:12px;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
@media (prefers-color-scheme:dark){:root{--bg:#0f1115;--bg2:#171a21;--ink:#f3f4f6;--mut:#9ca3af;--line:#2a2f3a;--pri:#3b82f6;--pri-d:#60a5fa;--err-bg:#450a0a;--err-ink:#fecaca;--ok-bg:#022c22;--ok-ink:#a7f3d0;color-scheme:dark}}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;color:#000;padding:8px;z-index:99}
:focus-visible{outline:3px solid var(--pri);outline-offset:2px}
.hdr{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:16px;height:64px}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:18px}
.logo{width:32px;height:32px;border-radius:8px;background:var(--pri);color:#fff;display:grid;place-items:center}
.search{flex:1;max-width:380px;display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--bg2)}
.search input{flex:1;border:0;background:none;padding:9px 14px;color:var(--ink);font:inherit;min-width:0}.search input:focus{outline:none}
.search button{border:0;background:none;padding:0 14px;cursor:pointer;color:var(--ink);font-size:18px}
.nav{display:flex;gap:18px;align-items:center;font-weight:500}.nav a:hover{color:var(--pri)}
.hdr-actions{display:flex;gap:4px;margin-left:auto}
.icon-btn{position:relative;background:none;border:0;font-size:20px;width:42px;height:42px;display:grid;place-items:center;cursor:pointer;color:var(--ink);border-radius:50%}.icon-btn:hover{background:var(--bg2)}
.badge{position:absolute;top:2px;right:0;background:var(--pri);color:#fff;font-size:11px;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}.badge:empty,.badge[data-n="0"]{display:none}
.menu-btn{display:none}
.promo{background:var(--pri);color:#fff;text-align:center;padding:8px 16px;font-size:14px}.promo:empty{display:none}
main{min-height:60vh;padding-top:24px;padding-bottom:48px}
h1{font-size:clamp(26px,4vw,38px);line-height:1.15;margin:0 0 12px}h2{font-size:24px;margin:32px 0 16px}
.hero{background:linear-gradient(135deg,#1e3a8a,#2563eb 60%,#7c3aed);color:#fff;border-radius:20px;padding:clamp(28px,6vw,72px);margin-bottom:8px}
.hero p{max-width:520px;opacity:.92;font-size:18px}
.btn{display:inline-block;border:0;background:var(--pri);color:#fff;padding:11px 20px;border-radius:10px;font-weight:600;font-size:15px;font-family:inherit;cursor:pointer;text-align:center}
.btn:hover{background:var(--pri-d)}.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn.sec{background:var(--bg2);color:var(--ink);border:1px solid var(--line)}.btn.light{background:#fff;color:#1e3a8a}.btn.block{display:block;width:100%}
.btn.sm{padding:6px 12px;font-size:13px}
.cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.cat{background:var(--bg2);border:1px solid var(--line);border-radius:var(--r);padding:20px;font-weight:600;text-align:center}.cat:hover{border-color:var(--pri)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.card{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--bg);display:flex;flex-direction:column;transition:box-shadow .15s}.card:hover{box-shadow:0 6px 20px rgba(0,0,0,.08)}
.card .img{position:relative;aspect-ratio:1;background:var(--bg2)}.card img{width:100%;height:100%;object-fit:cover}
.card .b{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}.card .n{font-weight:600}
.tag{position:absolute;top:10px;left:10px;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--bad);color:#fff}.tag.out{background:#374151}
.price{font-weight:700}.price s{color:var(--mut);font-weight:400;margin-left:6px}.price .sale{color:var(--bad)}
.stock{font-size:13px;font-weight:600}.stock.in{color:var(--ok)}.stock.low{color:var(--warn)}.stock.out{color:var(--bad)}
.shop{display:grid;grid-template-columns:230px 1fr;gap:28px}
.filters{display:flex;flex-direction:column;gap:14px;align-self:start;position:sticky;top:84px}
.filters label{font-size:13px;font-weight:600;color:var(--mut);display:block;margin-bottom:4px}
input,select,textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:9px 11px;width:100%}
.row{display:flex;gap:10px}.row>*{flex:1}
.bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}
.pager{display:flex;gap:8px;justify-content:center;margin-top:28px}
.pd{display:grid;grid-template-columns:1fr 1fr;gap:40px}.pd .big{border-radius:16px;overflow:hidden;background:var(--bg2);aspect-ratio:1}.pd .big img{width:100%;height:100%;object-fit:cover}
.opts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.opt{border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:8px 14px;border-radius:8px;cursor:pointer;font:inherit}.opt[aria-pressed=true]{border-color:var(--pri);background:var(--pri);color:#fff}.opt[disabled]{opacity:.4;text-decoration:line-through;cursor:not-allowed}
.qty{display:inline-flex;border:1px solid var(--line);border-radius:8px;align-items:center}.qty button{background:none;border:0;width:34px;height:36px;font-size:18px;cursor:pointer;color:var(--ink)}.qty span{min-width:30px;text-align:center}
.crumbs{font-size:14px;color:var(--mut);margin-bottom:12px}.crumbs a:hover{color:var(--pri)}
.two{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}
.panel{border:1px solid var(--line);border-radius:var(--r);padding:20px;background:var(--bg2)}
.line{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}.line img{width:72px;height:72px;border-radius:8px;object-fit:cover;background:var(--bg2)}.line .g{flex:1}
.tot{display:flex;justify-content:space-between;padding:4px 0}.tot.grand{font-weight:700;font-size:18px;border-top:1px solid var(--line);margin-top:8px;padding-top:12px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fgrid .full{grid-column:1/-1}
.fld label{font-size:13px;font-weight:600;display:block;margin-bottom:4px}
.msg{padding:10px 14px;border-radius:8px;margin:10px 0;font-size:14px}.msg.err{background:var(--err-bg);color:var(--err-ink)}.msg.ok{background:var(--ok-bg);color:var(--ok-ink)}
.steps{display:flex;gap:6px;margin:16px 0}.step{flex:1;text-align:center;font-size:12px;color:var(--mut);border-top:4px solid var(--line);padding-top:6px}.step.on{border-color:var(--ok);color:var(--ink);font-weight:600}
.status{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--bg2);border:1px solid var(--line)}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);font-size:14px}
.ftr{background:var(--bg2);border-top:1px solid var(--line);padding:36px 0 16px}.ftr-in{display:grid;grid-template-columns:1.6fr 1fr .9fr 1.3fr 1fr;gap:24px}/* five blocks (Store, Shop, Help, Policies, Account) in one row; the 'Account' block used to drop alone to a second line */.ftr h4{margin:0 0 8px}.ftr a{display:block;color:var(--mut);padding:2px 0}.ftr a:hover{color:var(--pri)}.ftr p{color:var(--mut)}
.copy{color:var(--mut);font-size:13px;margin-top:24px}
#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,80px);background:#111827;color:#fff;padding:12px 20px;border-radius:10px;transition:.25s;z-index:50;opacity:0}#toast.show{transform:translate(-50%,0);opacity:1}
.empty{text-align:center;padding:48px 0;color:var(--mut)}
.skeleton{height:300px;border-radius:12px;background:linear-gradient(90deg,var(--bg2),var(--line),var(--bg2));background-size:200% 100%;animation:sk 1.2s infinite}@keyframes sk{to{background-position:-200% 0}}
@media (max-width:860px){
 .menu-btn{display:grid}.search{order:5;flex-basis:100%;max-width:none}.hdr-in{flex-wrap:wrap;height:auto;padding-top:8px;padding-bottom:8px;gap:8px}
 .nav{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;order:6;padding:8px 0}.nav.open{display:flex}.nav span{display:contents}
 .shop,.pd,.two{grid-template-columns:1fr}.filters{position:static}.ftr-in{grid-template-columns:1fr 1fr}.fgrid{grid-template-columns:1fr}
 .grid{grid-template-columns:repeat(2,1fr);gap:12px}
}

/* ---- refreshed look ---- */
body{overflow-x:hidden}
.hdr{backdrop-filter:saturate(1.4) blur(10px);background:color-mix(in srgb,var(--bg) 88%,transparent)}
.hero2{position:relative;isolation:isolate;margin:-24px calc(50% - 50vw) 0;width:100vw;min-height:min(78vh,640px);display:flex;align-items:center;color:#fff;overflow:hidden;background:#0b1020}
.hero-bg,.hero-bg>*{position:absolute;inset:0;width:100%;height:100%}.hero-bg{z-index:-2}
.hero-vid{object-fit:cover}
.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,10,24,.78),rgba(6,10,24,.35) 60%,rgba(6,10,24,.15)),linear-gradient(0deg,rgba(6,10,24,.55),transparent 40%)}
.hero-in{max-width:1180px;margin:0 auto;padding:64px 16px;width:100%}
.hero-in h1{font-size:clamp(36px,6.5vw,72px);letter-spacing:-.02em;line-height:1.04;margin:14px 0 16px;max-width:12ch}
.hero-in p{font-size:clamp(16px,2vw,20px);max-width:520px;opacity:.92;margin:0 0 26px}
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(6px)}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}.hero-cta .btn{padding:14px 26px;font-size:16px;border-radius:999px}
.btn.ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.5);backdrop-filter:blur(6px)}.btn.ghost:hover{background:rgba(255,255,255,.25)}
.vid-toggle{position:absolute;right:16px;bottom:16px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(0,0,0,.35);color:#fff;cursor:pointer;font-size:13px;backdrop-filter:blur(6px)}
/* animated fallback scenes (used until videos are added to /videos) */
.scene{overflow:hidden}.scene i{position:absolute;border-radius:50%;filter:blur(70px);opacity:.75;animation:drift 18s ease-in-out infinite alternate}
.scene i:nth-child(1){width:55vw;height:55vw;left:-10vw;top:-15vw;background:var(--a)}.scene i:nth-child(2){width:45vw;height:45vw;right:-8vw;top:5vw;background:var(--b);animation-duration:22s}.scene i:nth-child(3){width:50vw;height:50vw;left:25vw;bottom:-25vw;background:var(--c3);animation-duration:26s}
.scene-0{--a:#2563eb;--b:#7c3aed;--c3:#06b6d4}.scene-1{--a:#f97316;--b:#db2777;--c3:#facc15}.scene-2{--a:#059669;--b:#0ea5e9;--c3:#84cc16}.scene-3{--a:#7c3aed;--b:#ec4899;--c3:#3b82f6}
@keyframes drift{from{transform:translate(0,0) scale(1)}to{transform:translate(9vw,6vw) scale(1.25)}}
@media (prefers-reduced-motion:reduce){.scene i{animation:none}}
.trust{list-style:none;margin:0;padding:18px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border-bottom:1px solid var(--line)}
.trust li{display:flex;flex-direction:column;font-size:13px;color:var(--mut)}.trust b{color:var(--ink);font-size:14px}
.sec-h{display:flex;justify-content:space-between;align-items:baseline;margin:40px 0 16px}.sec-h h2{margin:0;font-size:26px;letter-spacing:-.01em}.sec-h a{color:var(--pri);font-weight:600;font-size:14px}
.cat{display:flex;flex-direction:column;justify-content:flex-end;min-height:130px;text-align:left;color:#fff;border:0;background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 55%,#000));transition:transform .2s,box-shadow .2s}
.cat span{font-size:18px}.cat small{opacity:.85;margin-top:4px}.cat:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.25)}
.card{transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.14)}
.card .img{overflow:hidden}.card .img img{transition:transform .4s}.card:hover .img img{transform:scale(1.06)}
@media (max-width:860px){.hero2{min-height:70vh}.trust{grid-template-columns:1fr 1fr}.sec-h{margin-top:28px}}
/* fixes */
#navCats{display:contents}.nav>a,#navCats>a{white-space:nowrap}
main.home{padding-top:0}.hero2{margin-top:0}

/* ---- user-selectable themes (html[data-theme]); no attribute = follow the device ---- */
:root[data-theme=light]{--bg:#fff;--bg2:#f6f7f9;--ink:#111827;--mut:#6b7280;--line:#e5e7eb;--pri:#2563eb;--pri-d:#1d4ed8;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
:root[data-theme=dark]{--bg:#0f1115;--bg2:#171a21;--ink:#f3f4f6;--mut:#9ca3af;--line:#2a2f3a;--pri:#3b82f6;--pri-d:#60a5fa;--err-bg:#450a0a;--err-ink:#fecaca;--ok-bg:#022c22;--ok-ink:#a7f3d0;color-scheme:dark}
:root[data-theme=ocean]{--bg:#f0fafc;--bg2:#e0f4f8;--ink:#0b2a35;--mut:#4b7280;--line:#c3e4ec;--pri:#0891b2;--pri-d:#0e7490;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
:root[data-theme=sunset]{--bg:#fffaf5;--bg2:#fff0e2;--ink:#3a1d0c;--mut:#8a6a56;--line:#f6dcc4;--pri:#ea580c;--pri-d:#c2410c;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
:root[data-theme=forest]{--bg:#f4faf5;--bg2:#e6f3e8;--ink:#12281a;--mut:#56705e;--line:#cfe5d3;--pri:#15803d;--pri-d:#166534;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
:root[data-theme=rose]{--bg:#fff7f9;--bg2:#ffe9ef;--ink:#3b0d1d;--mut:#8c5a69;--line:#f8d0dc;--pri:#e11d48;--pri-d:#be123c;--err-bg:#fee2e2;--err-ink:#991b1b;--ok-bg:#d1fae5;--ok-ink:#065f46;color-scheme:light}
:root[data-theme=midnight]{--bg:#0d0b1e;--bg2:#17142e;--ink:#ece9ff;--mut:#9a95c4;--line:#2c2850;--pri:#8b5cf6;--pri-d:#a78bfa;--err-bg:#450a0a;--err-ink:#fecaca;--ok-bg:#022c22;--ok-ink:#a7f3d0;color-scheme:dark}
body,.hdr,.card,.panel,.ftr,input,select,textarea{transition:background-color .25s,color .25s,border-color .25s}
.cat{background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 55%,#000))}
/* theme picker */
.theme-wrap{position:relative}
.theme-pop{position:absolute;right:0;top:48px;z-index:40;width:250px;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:0 16px 40px rgba(0,0,0,.25)}
.theme-pop[hidden]{display:none}
.theme-pop h4{margin:0 0 8px;font-size:13px;color:var(--mut);font-weight:600}
.theme-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.theme-opt{display:flex;align-items:center;gap:8px;padding:8px 10px;border:2px solid var(--line);border-radius:10px;background:var(--bg2);color:var(--ink);font:inherit;font-size:13px;cursor:pointer;text-align:left}
.theme-opt:hover{border-color:var(--pri)}.theme-opt[aria-checked=true]{border-color:var(--pri);box-shadow:0 0 0 2px color-mix(in srgb,var(--pri) 25%,transparent)}
.theme-opt i{width:22px;height:22px;border-radius:50%;flex:none;border:1px solid rgba(0,0,0,.15);background:linear-gradient(135deg,var(--s1) 50%,var(--s2) 50%)}

/* ---- sign-in / register page ---- */
.auth{display:grid;grid-template-columns:1.05fr 1fr;max-width:980px;margin:12px auto 0;border-radius:24px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 70px rgba(0,0,0,.22);background:var(--bg)}
.auth-art{position:relative;isolation:isolate;display:flex;align-items:flex-end;padding:40px;color:#fff;min-height:520px;
 background:radial-gradient(520px 320px at 15% 10%,color-mix(in srgb,var(--pri) 85%,#fff) 0,transparent 70%),radial-gradient(480px 360px at 90% 90%,color-mix(in srgb,var(--pri) 60%,#a855f7) 0,transparent 70%),color-mix(in srgb,var(--pri) 45%,#050816)}
.auth-art::before,.auth-art::after{content:"";position:absolute;z-index:-1;border:1.5px solid rgba(255,255,255,.35);border-radius:22%;box-shadow:0 0 30px rgba(255,255,255,.18);animation:aspin 22s linear infinite}
.auth-art::before{width:150px;height:150px;top:9%;right:10%}.auth-art::after{width:90px;height:90px;top:42%;right:34%;animation-duration:15s;animation-direction:reverse}
@keyframes aspin{from{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1.15)}to{transform:rotate(360deg) scale(1)}}
.art-in .logo{width:44px;height:44px;font-size:20px;background:rgba(255,255,255,.2);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.4)}
.art-in h2{font-size:clamp(28px,3.4vw,40px);line-height:1.1;margin:18px 0;letter-spacing:-.02em}
.art-in ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px;opacity:.95}.art-in li::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.25);margin-right:10px;font-size:12px}
.auth-card{padding:40px clamp(22px,4vw,48px);background:var(--bg);display:flex;flex-direction:column;justify-content:center}
.auth-card h1{font-size:28px;margin:18px 0 4px;letter-spacing:-.01em}.auth-card .sub{color:var(--mut);margin:0 0 18px;font-size:14px}
.atabs{display:grid;grid-template-columns:1fr 1fr;background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:4px}
.atabs button{border:0;background:none;color:var(--mut);font-weight:600;font-size:14px;font-family:inherit;padding:10px;border-radius:9px;cursor:pointer;transition:.2s}
.atabs button[aria-selected=true]{background:var(--pri);color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--pri) 40%,transparent)}
.afld{margin-bottom:14px}.afld label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.aw{position:relative}.aw input{padding:13px 44px 13px 42px;border-radius:12px;background:var(--bg2);transition:border-color .2s,box-shadow .2s}
.aw input:focus{outline:none;border-color:var(--pri);box-shadow:0 0 0 4px color-mix(in srgb,var(--pri) 20%,transparent)}
.ai{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:15px;opacity:.7;pointer-events:none}
.eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;cursor:pointer;font-size:16px;padding:8px;opacity:.6}.eye:hover{opacity:1}
.arow{display:flex;justify-content:flex-end;margin:-4px 0 14px;font-size:13px}.arow a,.alt a{color:var(--pri);font-weight:600}
.btn.big{padding:14px;font-size:16px;border-radius:12px;box-shadow:0 8px 20px color-mix(in srgb,var(--pri) 35%,transparent)}
.alt{text-align:center;color:var(--mut);font-size:13px;margin:16px 0 0}
@media (max-width:760px){.auth{grid-template-columns:1fr;border-radius:18px}.auth-art{min-height:170px;padding:24px;align-items:center}.art-in ul{display:none}.art-in h2{font-size:24px;margin:10px 0 0}.art-in .logo{display:none}.auth-art::before,.auth-art::after{display:none}.auth-card{padding:26px 20px}}

/* "Add to cart" on product cards */
.card .qadd{margin-top:10px;padding:9px 12px;font-size:14px;transition:background .15s,transform .1s}.card .qadd:active{transform:scale(.98)}
.card .qadd.done{background:var(--ok)}
.card .qadd[disabled]{background:var(--bg2);color:var(--mut);border:1px solid var(--line);opacity:1}

/* product lists: every card the same size, nothing runs off the right edge, 30/50/100 per page */
.shop>section{min-width:0}
.shop .grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
@media(max-width:560px){.shop .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.card{height:340px}
.card .img{aspect-ratio:auto;height:170px;flex:none;background:#fff;border-bottom:1px solid var(--line);padding:8px}
.card .img img{object-fit:contain}
.card .b{min-height:0}
.card .n{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;height:2.6em;font-size:14px}
.card .qadd{margin-top:auto}
.bar .r{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--mut);font-size:14px}
.pager{flex-wrap:wrap;align-items:center}.pager .gap{color:var(--mut)}.pager .btn[disabled]{opacity:.4;cursor:not-allowed}

/* product cards: quantity, save for later, quick view, compare */
.card{height:410px}
.card .img{position:relative}.card .img .imgl{display:block;width:100%;height:100%}
.card .img .heart{position:absolute;right:8px;top:8px;width:32px;height:32px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2);cursor:pointer;font-size:16px;line-height:1;color:var(--mut)}.card .img .heart.on{color:#e11d48}
.card .img .qv{position:absolute;left:8px;right:8px;bottom:8px;border:0;background:rgba(10,34,96,.92);color:#fff;border-radius:8px;padding:6px;font-weight:600;font-size:12.5px;font-family:inherit;cursor:pointer;opacity:0;transition:opacity .15s}
.card:hover .img .qv,.card .img .qv:focus-visible{opacity:1}@media(hover:none){.card .img .qv{opacity:1}}
.card .code{font-size:11.5px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .stock{font-size:12.5px;font-weight:600}.stock.in{color:var(--ok)}.stock.low{color:var(--warn)}.stock.out{color:var(--bad)}
.cmpl{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--mut);margin-top:2px;cursor:pointer}.cmpl input{width:auto}
.acts{display:flex;gap:6px;align-items:center;margin-top:auto}.acts .qadd{flex:1;margin-top:0;padding:8px 10px}.acts .btn.block{flex:1}
.qty{display:inline-flex;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;flex:none;background:var(--bg)}
.qty button{border:0;background:var(--bg2);width:28px;font-weight:700;font-size:16px;font-family:inherit;cursor:pointer;color:var(--ink)}.qty .qn{min-width:26px;text-align:center;align-self:center;font-weight:600;font-size:13.5px}
.mut{color:var(--mut)}
/* list view */
.rows{display:block}
.rw{display:grid;grid-template-columns:52px 110px minmax(0,1fr) 100px 110px 120px 190px;gap:10px;align-items:center;padding:8px 6px;border-bottom:1px solid var(--line);font-size:14px}
.rw.h{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--mut);font-weight:700;border-bottom:2px solid var(--line)}
.rw .th{width:48px;height:48px;border-radius:8px;overflow:hidden;background:var(--bg2);display:block}.rw .th img{width:100%;height:100%;object-fit:contain}
.rw .nm{font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rw .cd,.rw .br{color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rw .acts{margin:0}
@media(max-width:900px){.rw{grid-template-columns:48px minmax(0,1fr) 90px}.rw .cd,.rw .br,.rw.h>div:nth-child(2),.rw.h>div:nth-child(4),.rw>div:nth-child(6),.rw.h>div:nth-child(6){display:none}.rw .acts{grid-column:1/-1}.rw.h>div:nth-child(7){display:none}}
/* search inside the list, quick filters, active filters */
.lsearch{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:999px;padding:0 14px;background:var(--bg2);margin-bottom:10px}.lsearch input{flex:1;border:0;background:none;padding:10px 0;font:inherit;min-width:0;color:var(--ink)}.lsearch input:focus{outline:none}
.quick{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.quick button{border:1.5px solid var(--line);background:var(--bg);border-radius:99px;padding:4px 12px;font-weight:600;font-size:12.5px;font-family:inherit;cursor:pointer;color:var(--ink)}.quick button.on{border-color:var(--pri);background:color-mix(in srgb,var(--pri) 12%,var(--bg));color:var(--pri)}
.actv{display:flex;gap:7px;flex-wrap:wrap}.actv:not(:empty){margin-bottom:8px}.actv .c{background:color-mix(in srgb,var(--pri) 12%,var(--bg));color:var(--pri);border-radius:99px;padding:3px 6px 3px 12px;font-size:13px;font-weight:600;display:inline-flex;gap:6px;align-items:center}.actv .c button{border:0;background:color-mix(in srgb,var(--pri) 25%,var(--bg));border-radius:50%;width:18px;height:18px;line-height:1;cursor:pointer;color:var(--pri);font-weight:700}
.seg{display:inline-flex;border:1.5px solid var(--line);border-radius:10px;overflow:hidden}.seg button{border:0;background:var(--bg);padding:6px 12px;font-weight:600;font-size:13px;font-family:inherit;cursor:pointer;color:var(--mut)}.seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.chks{display:flex;flex-direction:column;gap:3px;max-height:190px;overflow:auto}.chk{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--ink);font-weight:400}.chk input{width:auto}.chk small{color:var(--mut)}
.more{text-align:center;margin-top:18px}
/* windows: quick view, compare, notify me */
.ovl{position:fixed;inset:0;background:rgba(10,20,50,.55);display:grid;place-items:center;z-index:90;padding:14px}
.dlg{background:var(--bg);color:var(--ink);border-radius:18px;width:min(460px,100%);padding:20px;box-shadow:0 24px 60px rgba(0,0,0,.35);max-height:92vh;overflow:auto}.dlg.wide{width:min(720px,100%)}.dlg h2{margin:0 0 6px;font-size:20px}
.dlg-act{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.qvd{display:grid;grid-template-columns:230px 1fr;gap:18px}@media(max-width:600px){.qvd{grid-template-columns:1fr}}
/* full details inside the quick-view window */.dlg.wide:has(.qvf){width:min(860px,100%)}.qvf-top{display:grid;grid-template-columns:260px 1fr;gap:18px}@media(max-width:600px){.qvf-top{grid-template-columns:1fr}}.qvf-th{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.qvf-th .thb{width:52px;height:52px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:2px;cursor:pointer}.qvf-th .thb img{width:100%;height:100%;object-fit:contain}.qvf-h{margin:18px 0 6px;font-size:16px}.qvf .spec{width:100%}.qvf-long{font-size:14px;line-height:1.55}
.qv-img{background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;padding:8px;min-height:200px}.qv-img img{max-width:100%;max-height:260px;object-fit:contain}
.cmp-scroll{overflow:auto}.cmp-t{border-collapse:collapse;width:100%;font-size:14px}.cmp-t td,.cmp-t th{border-bottom:1px solid var(--line);padding:7px 8px;text-align:left;vertical-align:top}
.cmp-tray{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;background:var(--ink);color:var(--bg);border-radius:99px;padding:8px 10px 8px 18px;display:flex;gap:10px;align-items:center;z-index:80;box-shadow:0 10px 26px rgba(0,0,0,.35);font-size:14px}
.cmp-tray button{border:0;border-radius:99px;padding:7px 14px;font-weight:700;font-size:13px;font-family:inherit;cursor:pointer;background:rgba(255,255,255,.2);color:inherit}.cmp-tray .go{background:#f59a0c;color:#1a1200}

/* with the side menu on, the category list is already in the menu: the home page does not repeat it as tiles */
html[data-menu] .catsec{display:none}
.sidemenu .sm-scroll.sm-flash{outline:3px solid #f59a0c;outline-offset:2px;border-radius:12px;transition:outline-color .3s}

/* two shops in one store: the bar under the header, the brand tiles, a shop's own page */
.brandbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:1180px;margin:10px auto 0;padding:0 16px}.brandbar[hidden]{display:none}
.bb-l{font-size:13px;color:var(--mut);font-weight:600}
.bb-sw{display:inline-flex;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg2)}
.bb-sw button{border:0;background:none;padding:7px 16px;font-weight:700;font-size:13.5px;font-family:inherit;cursor:pointer;color:var(--mut)}.bb-sw button.on{background:var(--bc,var(--ink));color:#fff}
.brandtiles{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}@media(max-width:620px){.brandtiles{grid-template-columns:1fr}}
.bt{border-radius:18px;padding:22px;color:#fff;min-height:150px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,color-mix(in srgb,var(--bc) 82%,#000),var(--bc));text-decoration:none;transition:transform .2s,box-shadow .2s}.bt:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.2)}
.bt h2{margin:0;font-size:26px;color:#fff}.bt p{margin:4px 0 0;opacity:.92;font-size:14px;color:#fff}.bt span{background:rgba(255,255,255,.22);border-radius:99px;padding:5px 14px;font-weight:700;font-size:13px;align-self:flex-start}
.bhero{border-radius:18px;padding:26px 28px;color:#fff;margin:6px 0 16px;background:linear-gradient(135deg,color-mix(in srgb,var(--bc) 82%,#000),var(--bc))}.bhero h1{margin:0;color:#fff;font-size:30px}.bhero p{margin:6px 0 14px;opacity:.95;color:#fff}
.btag{display:inline-block;font-size:10.5px;font-weight:700;border-radius:6px;padding:1px 8px;color:#fff;margin-bottom:3px;vertical-align:middle}

/* the selected shop colours the top strip, the page title banner and the footer (on every store page) */
html[data-shop]{--hd-bar:color-mix(in srgb,var(--shop-c) 52%,#000)!important;--hero-a:var(--shop-c)!important;--hero-b:color-mix(in srgb,var(--shop-c) 60%,#000)!important;--hero-c:color-mix(in srgb,var(--shop-c) 36%,#000)!important}
html[data-shop] .ftr{background:color-mix(in srgb,var(--shop-c) 42%,#000)}
html[data-shop] .ftr,html[data-shop] .ftr p,html[data-shop] .ftr a,html[data-shop] .copy{color:color-mix(in srgb,var(--shop-c) 30%,#fff)}
html[data-shop] .ftr h4,html[data-shop] .ftr strong{color:#fff}html[data-shop] .ftr a:hover{color:#fff}

/* the Add button takes the colour of the selected shop; when it confirms it shows the other colour (blue for a coloured shop) */
html[data-shop] .qadd{background:var(--shop-c)}html[data-shop] .qadd:hover{background:var(--shop-c);filter:brightness(.92)}
html[data-shop] .qadd.done,html[data-shop] .qadd.done:hover{background:#1757c9;filter:none}

/* the cart lists the items under the heading of their shop when it holds products of two or more shops */
.cgrp{margin:16px 0 4px;font-size:15px;display:flex;gap:8px;align-items:center}.cgrp:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--dot,#6b7280)}

/* Add and Quick view take the colour of the shop the product belongs to (green for EV), also in the "All" list */
[data-sc] .qadd{background:var(--cc)}[data-sc] .qadd:hover{background:var(--cc);filter:brightness(.92)}
[data-sc] .qadd.done,[data-sc] .qadd.done:hover{background:#1757c9;filter:none}
[data-sc] .qadd[disabled]{background:var(--bg2);filter:none}
.card[data-sc] .img .qv{background:color-mix(in srgb,var(--cc) 92%,#000)}

/* in a coloured shop (EV = green) every blue of the store turns into the shop colour: buttons, links, switches, sliders, headings */
html:root[data-shop]{--blue:var(--shop-c);--blue2:color-mix(in srgb,var(--shop-c) 80%,#000);--navy:color-mix(in srgb,var(--shop-c) 38%,#000);--pri:var(--shop-c);--pri-d:color-mix(in srgb,var(--shop-c) 80%,#000);--cta-a:color-mix(in srgb,var(--shop-c) 38%,#000);--cta-b:var(--shop-c);--hd-btn:var(--shop-c);accent-color:var(--shop-c)}
html[data-shop] input[type=range],html[data-shop] input[type=checkbox],html[data-shop] input[type=radio]{accent-color:var(--shop-c)}
html[data-shop] .pagehead .crumbs,html[data-shop] .pagehead .crumbs a{color:color-mix(in srgb,var(--shop-c) 28%,#fff)}
html[data-shop] .pagehead .bm em{color:color-mix(in srgb,var(--shop-c) 22%,#fff)}
html[data-shop] .pagehead i.cr{border-color:color-mix(in srgb,var(--shop-c) 40%,#fff)}
html[data-shop] .seg button[aria-pressed=true]{background:var(--shop-c);color:#fff}
html[data-shop] .cmp-tray{background:color-mix(in srgb,var(--shop-c) 55%,#000);color:#fff}

/* parts already in the cart: frame, badge on the picture, and an outlined "In cart" button (the colour follows the shop) */
.card,.qvd{--cartc:var(--cc,var(--shop-c,#1757c9))}
.card.incart{border-color:var(--cartc);box-shadow:0 0 0 2px color-mix(in srgb,var(--cartc) 25%,transparent)}
.card .cbadge{position:absolute;left:8px;top:8px;background:var(--cartc);color:#fff;border-radius:99px;padding:2px 10px;font-size:11.5px;font-weight:700;z-index:2;pointer-events:none}
html body .qadd.inc,html body .qadd.inc:hover{background:#fff;color:var(--cartc);border:2px solid var(--cartc);filter:none}
html body .qadd.inc{white-space:nowrap;padding-top:6px;padding-bottom:6px;font-size:13px}

/* the table view of the product list */
.tblwrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.tt{width:100%;border-collapse:collapse;min-width:640px}
.tt th,.tt td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:14px}
.tt thead th{position:sticky;top:0;background:var(--bg2);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--mut);white-space:nowrap}
.tt thead th.srt{cursor:pointer;color:var(--ink)}.tt thead th.srt:hover{color:var(--pri)}
.tt tbody tr:nth-child(even){background:color-mix(in srgb,var(--bg2) 55%,transparent)}
.tt tbody tr:hover{background:color-mix(in srgb,var(--cartc,var(--pri)) 8%,var(--bg))}
.tt .tth img{width:32px;height:32px;object-fit:cover;border-radius:6px;background:var(--bg2)}
.tt .tcd{color:var(--mut);white-space:nowrap}.tt .tnm{font-weight:700;color:var(--ink)}.tt .tnm:hover{color:var(--pri)}
.tt .tfit{color:var(--mut);font-size:13px}.tt .tpr{white-space:nowrap;font-weight:700}
.tt .tact{white-space:nowrap}.tt .tact .acts{margin:0}.tt .tact .qadd{margin:0;padding:6px 12px;font-size:13px;flex:none}
.tt tr.incart,.tt tr.trw.incart:nth-child(even){background:color-mix(in srgb,var(--cartc) 12%,var(--bg))}
.tt tr.trw{--cartc:var(--cc,var(--shop-c,#1757c9))}
@media(max-width:759px){#seg [data-v=tbl]{display:none}}
.tt td .stock{white-space:nowrap}

/* phone cart (2026-11-27): the line used to push the price and the remove button off the right edge of the screen; now image | name and price | quantity and total, nothing wider than the screen */
@media(max-width:620px){
  .line{display:grid;grid-template-columns:60px minmax(0,1fr) auto;grid-template-areas:"img g x" "img q t";gap:8px 10px;align-items:start}
  .line img{grid-area:img;width:60px;height:60px}
  .line .g{grid-area:g;min-width:0}.line .g strong,.line .g a{overflow-wrap:anywhere}
  .line .qty{grid-area:q;justify-self:start}
  .line>strong{grid-area:t;align-self:center;min-width:0!important;white-space:nowrap}
  .line .icon-btn{grid-area:x;justify-self:end}
}

/* alignment fixes 2026-11-27 */
/* every button, field and list uses the page font (the old "font:600 13px inherit" lines were invalid and fell back to Arial) */
html body button,html body input,html body select,html body textarea{font-family:inherit}
/* the - 1 + box: the number and the - / + signs sit exactly in the middle, in cards, list rows, quick view, product page, cart */
html body .qty{align-items:stretch;align-self:stretch}
html body .qty button{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;font-size:18px;font-weight:700}
html body .qty .qn,html body .qty>span{display:flex;align-items:center;justify-content:center;align-self:stretch;padding:0;line-height:1;min-height:0;text-align:center}
/* a button label is centred up and down and left to right, whatever the height */
html body .btn{display:inline-flex;align-items:center;justify-content:center;line-height:1.25}
html body .btn.block{display:flex;width:100%}
html body .btn[hidden]{display:none}
/* the - 1 + box and the Add button in a card row have the same height */
html body .acts{align-items:stretch}
html body .acts .qadd,html body .acts .btn{min-height:38px}
/* card name: always whole lines (2 lines), never a line cut through the middle */
html body .card .n,html body .card .b a.n{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;box-sizing:content-box;padding:0;margin:2px 0;line-height:18px;height:36px}
/* the tag (EV Spare ...) is as wide as its text, not a bar across the card */
html body .card .btag{align-self:flex-start;max-width:100%}
/* Grid / List / Table switch: icon and word on one line, same height */
html body .seg button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;line-height:1;padding-top:0;padding-bottom:0}
/* Quick view button: centred text; on a touch screen a small pill in the corner of the photo, not a bar across it */
html body .card .img .qv{display:flex;align-items:center;justify-content:center;line-height:1}
@media(hover:none){html body .card .img .qv{left:auto;right:8px;bottom:8px;width:auto;min-height:32px;padding:4px 12px;font-size:12px;border-radius:999px}}
/* the ruler readout "X 0139.8 mm" of the title strip sat on top of the page title */
html body .pagehead .bm em,html body #ph .pagehead .bm em{display:none}
/* checkout summary: the name wraps, the amount stays on its own right-hand column; "x 4" stays with the name */
html body .tot.sumrow{gap:14px;align-items:flex-start}
html body .tot.sumrow>span:last-child{white-space:nowrap;flex:none;text-align:right}
html body .tot.sumrow .qx{white-space:nowrap;font-weight:600;color:var(--mut)}
/* filter side: boxes and words line up, one font size */
html body .filters input,html body .filters select{font-size:14px}
html body .filters .chk input,html body .filters input[type=checkbox]{margin:0;flex:none}
html body .filters label.chk,html body .filters .chk{align-items:center}
/* forms: a label is closer to its own field than to the field above it */
html body .fld{margin-bottom:14px}
html body .fld label,html body .afld label{margin-bottom:6px}
/* touch screens: tap targets of 40 px or more */
@media (max-width:820px) and (pointer:coarse),(max-width:560px){
  html body .qty button{min-width:40px;min-height:40px}
  html body .qty .qn{min-height:40px}
  html body .acts .qadd,html body .acts .btn,html body .qty ~ .btn,html body .qty + .btn{min-height:42px}
  html body .btn{min-height:40px}
  html body .btn.sm{min-height:40px}
  html body .seg button{height:40px}
  html body .cv-chip,html body .cv-sub,html body .quick button{min-height:40px}
  html body .icon-btn{min-width:40px;min-height:40px}
}
@media(prefers-reduced-motion:no-preference){html body .card:hover{transform:none}}
/* the keyboard focus ring of - and + stays inside the box (it was cut into a thin blue bar by the rounded corners) */
html body .qty button:focus-visible{outline:2px solid var(--pri);outline-offset:-4px;border-radius:8px}
/* footer text starts at the same left edge as the page content above it (main has 40 px of padding; the footer box starts 8 px further left) */
@media(min-width:701px){html body .ftr .ftr-in{padding-left:8px;padding-right:8px;box-sizing:border-box}}

/* product page (2026-11-27): technical details first, the rest in closed boxes */
#pd-s h2 small{font-weight:500;color:var(--mut);font-size:12px;margin-left:8px}table.spec tr.xtra[hidden]{display:none}
.specmore{margin-top:10px;border:1px solid var(--line);background:none;color:var(--pri);border-radius:99px;padding:8px 16px;font-weight:700;cursor:pointer;font-family:inherit}
.acbar{display:flex;justify-content:space-between;align-items:center;margin:4px 0 10px}.acbar b{font-size:16px}.acbar button{border:0;background:none;color:var(--pri);font-weight:700;cursor:pointer;font-size:13px;font-family:inherit}
details.ac{border:1px solid var(--line);border-radius:14px;margin-bottom:8px;background:var(--bg);overflow:hidden}
details.ac summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-weight:700;font-size:15px;min-height:48px}
details.ac summary::-webkit-details-marker{display:none}
details.ac summary i{position:relative;width:26px;height:26px;border-radius:50%;background:var(--bg2);flex:none}
details.ac summary i:before,details.ac summary i:after{content:"";position:absolute;left:7px;top:12px;width:12px;height:2px;background:var(--pri);border-radius:2px}
details.ac summary i:after{transform:rotate(90deg);transition:transform .2s}details.ac[open] summary i:after{transform:rotate(0)}
details.ac .bd{padding:0 16px 14px;font-size:14px;line-height:1.55}.bd p{margin:0 0 9px}.bd ul{margin:0 0 9px;padding-left:20px}

/* policy pages and business details (2026-11-27) */
.policy{max-width:760px}.policy h2{font-size:18px;margin:22px 0 6px}.policy p,.policy li{line-height:1.6}.policy ul{padding-left:20px}.policy .mut{color:var(--mut);font-size:13px}
mark.ph{background:#fff3b0;color:#5a4200;border-radius:4px;padding:0 4px}.legalbox{max-width:760px;margin:18px 0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}.legalbox h2{font-size:17px;margin:0 0 6px}
#ftrLegal{font-size:12.5px;opacity:.85;line-height:1.5}
