/* ATC Electrical – glass navy theme. Spacing scale: 4 8 12 16 24 32 48 64 px. */
:root{--bg0:#050f24;--bg1:#0a1d42;--bg2:#123170;--ink:#eef3ff;--mute:#a5b6d8;--mute2:#7f93ba;--y:#4DA3FF;--y2:#7cc6ff;--yg:linear-gradient(180deg,#5cb0ff 0%,#3d8bff 100%);
 --glass:rgba(255,255,255,.06);--glass2:rgba(255,255,255,.1);--bd:rgba(255,255,255,.12);--bd2:rgba(255,255,255,.18);--ok:#3ddc97;--bad:#ff7a7a;--warn:#ffd27a;--wa:#25D366;
 --r:16px;--r2:24px;--ease:150ms cubic-bezier(.2,.8,.2,1);--hdr:64px;--max:1200px;--tile:#f2f6fc}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html{background:var(--bg0);scroll-behavior:smooth}
html,body{overflow-x:hidden}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;color:var(--ink);font-size:15px;line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased;
 background:radial-gradient(900px 600px at 85% -10%,rgba(77,163,255,.22),transparent 60%),radial-gradient(700px 500px at -10% 30%,rgba(46,92,200,.25),transparent 60%),radial-gradient(800px 600px at 60% 110%,rgba(30,70,170,.3),transparent 60%),linear-gradient(180deg,var(--bg1),var(--bg0))}
a{color:var(--y2);text-decoration:none}a:hover{text-decoration:underline}
button,input,select,textarea{font-family:inherit;font-size:inherit}
button{cursor:pointer;transition:transform var(--ease),background var(--ease),box-shadow var(--ease),opacity var(--ease)}
button:active{transform:scale(.97)}
:focus-visible{outline:2px solid var(--y2);outline-offset:2px}
img{max-width:100%}
h1,h2,h3,h4{line-height:1.25;margin:0}
.g{background:var(--glass);border:1px solid var(--bd);border-radius:var(--r);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 16px}
.ico{width:20px;height:20px;flex:none;display:block}
/* header */
.hdr{position:sticky;top:0;z-index:30;background:rgba(6,18,44,.72);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);border-bottom:1px solid var(--bd)}
.hdr .wrap{display:flex;align-items:center;gap:16px;height:var(--hdr)}
.logo{display:flex;align-items:center;gap:12px;color:var(--ink);flex:none;text-decoration:none!important}
.logo img{width:40px;height:40px;display:block}
.logo span{display:flex;flex-direction:column;line-height:1.2}
.logo b{font-size:17px;letter-spacing:.01em}.logo small{font-size:12px;color:var(--mute)}
.nav{display:none;align-items:center;gap:4px}
.nav a{color:var(--ink);font-weight:600;font-size:14px;height:40px;display:flex;align-items:center;padding:0 12px;border-radius:12px;text-decoration:none}
.nav a:hover,.nav a.on{background:var(--glass2)}
.hsrch{flex:1;min-width:0;position:relative;display:none}
.hsrch input,.msrch input{width:100%;height:44px;padding:0 16px 0 44px;border-radius:999px;border:1px solid var(--bd2);background:rgba(255,255,255,.08);color:var(--ink)}
.hsrch input::placeholder,.msrch input::placeholder{color:var(--mute2)}
.hsrch input:focus,.msrch input:focus{outline:none;border-color:var(--y);box-shadow:0 0 0 4px rgba(77,163,255,.18)}
.hsrch .ico,.msrch .ico{position:absolute;left:16px;top:12px;color:var(--mute)}
.hact{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.ib{position:relative;width:44px;height:44px;border-radius:12px;border:1px solid var(--bd);background:var(--glass);color:var(--ink);display:flex;align-items:center;justify-content:center;padding:0}
.ib .ico{width:22px;height:22px}
.badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:999px;background:var(--yg);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px;line-height:1}
.msrch{position:relative;padding:0 0 12px}
.msrch .ico{top:12px}
@media(min-width:960px){.nav,.hsrch{display:flex}.msrch{display:none}.ib.srchb{display:none}}
/* layout */
main{min-height:60vh;padding-bottom:96px}
@media(min-width:960px){main{padding-bottom:48px}}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--mute);padding:16px 0 8px;margin:0;list-style:none}
.crumbs li{display:flex;align-items:center;gap:8px}.crumbs li+li:before{content:"›";color:var(--mute2)}
.crumbs a{color:var(--mute)}
.ph{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin:8px 0 24px}
.ph h1{font-size:28px}.ph p{margin:4px 0 0;color:var(--mute)}
.sec{padding:48px 0}
.sec h2{font-size:26px;margin-bottom:8px}.sec .lead{color:var(--mute);margin:0 0 24px;max-width:720px}
.kick{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 12px;line-height:1.4;max-width:100%;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--y2);background:rgba(77,163,255,.12);border:1px solid rgba(77,163,255,.3)}
.grid{display:grid;gap:16px}
.g2{grid-template-columns:minmax(0,1fr)}.g3{grid-template-columns:minmax(0,1fr)}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(2,minmax(0,1fr))}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* buttons */
.btn{border:0;border-radius:999px;height:48px;padding:0 24px;font-size:15px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;white-space:nowrap;line-height:1}
.btn .ico{width:20px;height:20px}
.pri{background:var(--yg);color:#fff;box-shadow:0 8px 24px rgba(61,139,255,.3)}
.wa{background:var(--wa);color:#04210f}
.gb{background:var(--glass2);color:var(--ink);border:1px solid var(--bd)}
.yo{background:transparent;color:var(--y2);border:1px solid rgba(77,163,255,.5)}
.btn:disabled{opacity:.5;cursor:default}
.full{width:100%}
.btn.sm{height:40px;padding:0 16px;font-size:14px}
/* hero */
.hero{position:relative;padding:48px 0 32px}
.hero .wrap{display:grid;gap:32px;align-items:center}
.hero h1{font-size:34px;letter-spacing:-.01em;margin:16px 0}
.hero p{color:var(--mute);font-size:16px;margin:0 0 24px;max-width:560px}
.hero .cta{display:flex;flex-wrap:wrap;gap:12px}
.hero .facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.fact{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:600;background:var(--glass);border:1px solid var(--bd)}
.fact .ico{width:16px;height:16px;color:var(--ok)}
.collage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border-radius:var(--r2)}
.collage .tile{aspect-ratio:1/1;border-radius:var(--r);background:var(--tile);display:flex;align-items:center;justify-content:center;overflow:hidden}
.collage .tile img{width:100%;height:100%;object-fit:contain;display:block}
@media(min-width:960px){.hero{padding:64px 0 48px}.hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.hero h1{font-size:46px}}
/* info cards */
.card{padding:24px;display:flex;flex-direction:column;gap:8px}
.card h3{font-size:17px}.card p{margin:0;color:var(--mute);font-size:14px}
.card .ci{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(77,163,255,.14);border:1px solid rgba(77,163,255,.3);color:var(--y2);margin-bottom:8px}
.card .ci .ico{width:24px;height:24px}
.about{display:grid;gap:24px;align-items:center}
.about .ph2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.about .ph2 img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r);display:block}
.about p{color:var(--mute);margin:0 0 16px}
@media(min-width:960px){.about{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.dealer{padding:32px;display:grid;gap:24px}
@media(min-width:960px){.dealer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}}
/* category tiles */
.tiles{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:768px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ctile{display:flex;flex-direction:column;gap:12px;padding:16px;color:var(--ink);text-decoration:none!important;height:100%}
.ctile .im{aspect-ratio:4/3;border-radius:12px;background:var(--tile);display:flex;align-items:center;justify-content:center;overflow:hidden}
.ctile .im img{width:100%;height:100%;object-fit:contain;display:block}
.ctile .im .ico{width:48px;height:48px;color:#3d6fc4}
.ctile b{font-size:16px;line-height:1.3}.ctile small{color:var(--mute);font-size:13px;display:block}
.ctile:hover{border-color:rgba(77,163,255,.5)}
.subcats{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:8px;height:36px;border:1px solid var(--bd);background:var(--glass);color:var(--ink);border-radius:999px;padding:0 16px;font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none!important}
.chip.on{background:var(--yg);border-color:transparent;color:#fff}
.chip b{font-weight:700;opacity:.7}
/* listing */
.lay{display:grid;gap:24px}
@media(min-width:960px){.lay{grid-template-columns:264px minmax(0,1fr)}}
.filters{padding:16px;display:flex;flex-direction:column;gap:16px;align-self:start}
@media(min-width:960px){.filters{position:sticky;top:calc(var(--hdr) + 16px)}}
.filters h3{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.fgrp{display:flex;flex-direction:column;gap:8px}
.fgrp .chips{display:flex;flex-wrap:wrap;gap:8px}
.sel{width:100%;height:44px;border-radius:12px;border:1px solid var(--bd2);background:#0f2248;color:var(--ink);padding:0 12px}
.chk{display:flex;align-items:center;gap:12px;font-size:14px;cursor:pointer;min-height:24px}
.chk input{width:20px;height:20px;margin:0;accent-color:var(--y)}
.lbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.lbar .cnt{color:var(--mute);font-size:14px}
.lbar .sel{width:auto;min-width:200px}
.ftog{display:inline-flex}
@media(min-width:960px){.ftog{display:none}}
@media(max-width:959px){.filters.closed{display:none}}
.pgrid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:768px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1280px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.lay .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:768px){.lay .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* product card */
.pc{display:flex;flex-direction:column;padding:12px;gap:8px;height:100%;min-width:0}
.pc .im{position:relative;display:block;aspect-ratio:1/1;border-radius:12px;background:var(--tile);overflow:hidden}
.pc .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.pc .im .ph0{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#3d6fc4}
.pc .im .ph0 .ico{width:48px;height:48px}
.gbadge{position:absolute;left:8px;bottom:8px;height:24px;display:flex;align-items:center;gap:4px;padding:0 8px;border-radius:999px;background:rgba(5,15,36,.82);color:#fff;font-size:11px;font-weight:700;line-height:1}
.gbadge .ico{width:12px;height:12px;color:var(--ok)}
.pc .br{font-size:12px;color:var(--mute);font-weight:600;letter-spacing:.04em;text-transform:uppercase;height:16px;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pc .nm{font-weight:600;font-size:14px;line-height:20px;height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--ink);text-decoration:none!important;overflow-wrap:anywhere}
.pc .st{height:24px;display:flex;align-items:center}
.pill{display:inline-flex;align-items:center;height:24px;font-size:12px;font-weight:700;border-radius:999px;padding:0 8px;line-height:1;white-space:nowrap}
.pill.in{background:rgba(61,220,151,.14);color:var(--ok)}.pill.out{background:rgba(255,122,122,.14);color:var(--bad)}.pill.na{background:var(--glass2);color:var(--mute)}.pill.low{background:rgba(255,190,70,.18);color:var(--warn)}html[data-theme=light] .pill.low{background:#fff1d6;color:#8a5200}
.pc .pr{min-height:44px;display:flex;flex-direction:column;justify-content:flex-end}
.rate{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.rate .v{font-size:18px;font-weight:800;color:#fff;letter-spacing:-.01em}
.rate .u{font-size:12px;color:var(--mute)}
.rate .lp{font-size:12px;color:var(--mute2);text-decoration:line-through}
.gl{font-size:12px;color:var(--y2);font-weight:600;line-height:16px;height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.por{font-size:14px;color:var(--mute);font-weight:600}
.pc .act{margin-top:auto;height:44px;display:flex;align-items:center}
.pc .act .btn{width:100%;height:44px;padding:0 12px;font-size:14px}
.pc .act .stp{width:100%;height:44px;justify-content:space-between}
.pc .act .stp button{width:36px;height:36px}
.stp{display:flex;align-items:center;height:48px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--bd2);padding:4px;flex:none}
.stp button{width:40px;height:40px;border-radius:50%;border:0;background:var(--yg);color:#fff;font-size:20px;font-weight:700;line-height:1;padding:0;display:flex;align-items:center;justify-content:center}
.stp input{width:56px;min-width:0;flex:1;border:0;background:transparent;color:var(--ink);text-align:center;font-size:16px;font-weight:700;-moz-appearance:textfield;padding:0}
.stp input::-webkit-outer-spin-button,.stp input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.stp input:focus{outline:none}
.empty{padding:48px 16px;text-align:center;color:var(--mute)}
/* product page */
.pd{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}.pd>*,.pinfo,.pbox{min-width:0}
@media(min-width:960px){.pd{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}}
.gal .main{position:relative;aspect-ratio:1/1;border-radius:var(--r2);background:var(--tile);overflow:hidden}
.gal .main img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gal .main .ph0{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#3d6fc4}.gal .main .ph0 .ico{width:96px;height:96px}
.gal .ths{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.gal .ths button{width:72px;height:72px;border-radius:12px;background:var(--tile);border:2px solid transparent;padding:0;overflow:hidden}
.gal .ths button.on{border-color:var(--y)}
.gal .ths img{width:100%;height:100%;object-fit:contain;display:block}
.gal .note2{font-size:12px;color:var(--mute);margin-top:8px}
.pinfo{display:flex;flex-direction:column;gap:16px}
.pinfo h1{font-size:26px}
.pinfo .br{color:var(--mute);font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.pbox{padding:16px;display:flex;flex-direction:column;gap:12px}
.pbox .rate .v{font-size:28px}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.unitsw{display:flex;padding:4px;border-radius:999px;background:var(--glass);border:1px solid var(--bd)}
.unitsw button{height:36px;padding:0 16px;border-radius:999px;border:0;background:none;color:var(--mute);font-weight:700;font-size:13px}
.unitsw button.on{background:var(--yg);color:#fff}
.unitsw button:disabled{opacity:.4;cursor:not-allowed}
.wbadge{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:999px;background:rgba(61,220,151,.12);border:1px solid rgba(61,220,151,.35);color:var(--ok);font-weight:700;font-size:13px;align-self:flex-start}
.wbadge .ico{width:16px;height:16px}
.specs{width:100%;border-collapse:collapse;font-size:14px}
.specs th,.specs td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--bd);vertical-align:top}
.specs th{color:var(--mute);font-weight:600;width:40%}
.tabsx{display:flex;gap:8px;border-bottom:1px solid var(--bd);margin-bottom:16px;overflow-x:auto}
.tabsx button{height:44px;padding:0 16px;border:0;background:none;color:var(--mute);font-weight:700;border-bottom:2px solid transparent;white-space:nowrap}
.tabsx button.on{color:var(--ink);border-bottom-color:var(--y)}
.src{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;background:var(--glass2);color:var(--mute);line-height:1}
/* drawer */
.dov{position:fixed;inset:0;z-index:50;background:rgba(2,8,20,.6)}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:51;width:min(420px,100%);display:flex;flex-direction:column;background:rgba(8,22,50,.96);border-left:1px solid var(--bd2);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform:translateX(100%);transition:transform 220ms ease}
.drawer.open{transform:none}
.drawer .dh{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--bd)}
.drawer .dh h2{font-size:18px}
.drawer .db{flex:1;overflow:auto;padding:8px 16px}
.drawer .df{padding:16px;border-top:1px solid var(--bd);display:grid;gap:8px}
.x{border:0;background:var(--glass2);color:var(--ink);width:40px;height:40px;border-radius:50%;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;flex:none}
/* cart lines */
.cl{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--bd)}
.cl .im{width:64px;height:64px;border-radius:12px;background:var(--tile);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#3d6fc4}
.cl .im img{width:100%;height:100%;object-fit:contain;display:block}.cl .im .ico{width:28px;height:28px}
.cl .nm{font-weight:600;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.cl .sub{font-size:12px;color:var(--mute);line-height:16px;margin-top:4px}
.cl .ctl{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cl .ctl .stp{height:40px}.cl .ctl .stp button{width:32px;height:32px;font-size:18px}.cl .ctl .stp input{width:48px;flex:none}
.cl .amt{margin-left:auto;font-weight:700;white-space:nowrap}
.rm{border:0;background:none;color:var(--mute);height:40px;width:40px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%}
.rm:hover{background:var(--glass2)}
.cart2{display:grid;gap:24px}
@media(min-width:960px){.cart2{grid-template-columns:minmax(0,1fr) 380px;align-items:start}}
.sumbox{padding:24px;display:flex;flex-direction:column;gap:12px}
@media(min-width:960px){.sumbox{position:sticky;top:calc(var(--hdr) + 16px)}}
.sr{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px}
.sr span:first-child{color:var(--mute)}
.sr.big{font-size:18px;font-weight:800;padding-top:12px;border-top:1px solid var(--bd)}
.sr.big span:first-child{color:var(--ink)}
.note3{font-size:12px;color:var(--mute);margin:0}
.catg{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin-top:16px}
/* forms */
.f{margin-bottom:12px}
.f label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:var(--mute)}
.f input,.f textarea,.f select{width:100%;height:48px;padding:0 16px;border-radius:14px;border:1px solid var(--bd2);background:rgba(255,255,255,.06);color:var(--ink);font-size:16px}
.f textarea{height:auto;min-height:96px;padding:12px 16px;resize:vertical}
.f input:focus,.f textarea:focus{outline:none;border-color:var(--y)}
.err{color:#ffaaaa;font-size:13px;min-height:1em;margin:8px 0}
.okm{color:var(--ok);font-size:14px;font-weight:600}
.msg{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:20px;background:rgba(0,0,0,.25);border:1px solid var(--bd);border-radius:14px;padding:16px;max-height:360px;overflow:auto;margin:0;overflow-wrap:anywhere}
.alert{padding:16px;border-radius:var(--r);background:rgba(61,220,151,.1);border:1px solid rgba(61,220,151,.35);display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.alert.inf{background:rgba(77,163,255,.1);border-color:rgba(77,163,255,.35)}
.prose{max-width:760px}.prose p{color:var(--mute);margin:0 0 16px}.prose h2{font-size:20px;margin:24px 0 8px}
.kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;font-size:14px}.kv dt{color:var(--mute)}.kv dd{margin:0;overflow-wrap:anywhere}
.tbl{width:100%;border-collapse:collapse;font-size:14px}.tbl th,.tbl td{padding:12px;border-bottom:1px solid var(--bd);text-align:left;vertical-align:top}.tbl th{color:var(--mute);font-weight:600}
.scrollx{overflow-x:auto}
/* footer */
.foot{border-top:1px solid var(--bd);background:rgba(4,12,30,.6);padding:48px 0 24px;margin-top:48px}
.foot .cols{display:grid;gap:32px}
@media(min-width:768px){.foot .cols{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr)}}
.foot h4{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin-bottom:12px}
.foot p,.foot li{color:var(--mute);font-size:14px;margin:0 0 8px}
.foot ul{list-style:none;padding:0;margin:0}
.foot a{color:var(--ink)}
.foot .bot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:32px;padding-top:16px;border-top:1px solid var(--bd);font-size:12px;color:var(--mute2)}
/* mobile bottom nav */
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(6,18,44,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--bd)}
.bnav a,.bnav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--mute);font-size:11px;font-weight:600;border:0;background:none;text-decoration:none!important;padding:0;height:64px}
.bnav .on{color:var(--y2)}
.bnav .ico{width:22px;height:22px}
.bnav .badge{top:6px;right:calc(50% - 22px)}
@media(min-width:960px){.bnav{display:none}}
.fab{position:fixed;right:16px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:34;display:flex;flex-direction:column;gap:12px}
.fab button{width:56px;height:56px;border-radius:50%;border:0;background:var(--yg);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 10px 26px rgba(0,0,0,.45),0 0 0 6px rgba(77,163,255,.14)}
.fab button.ask2{background:var(--glass2);border:1px solid var(--bd2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.fab .ico{width:24px;height:24px}
@media(min-width:960px){.fab{bottom:24px;right:24px}}
.toast{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:60;padding:12px 16px;border-radius:999px;background:rgba(10,26,56,.96);border:1px solid var(--bd2);font-size:14px;font-weight:600;max-width:calc(100% - 32px);text-align:center}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute;left:-9999px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.g,.hdr,.bnav,.drawer{background:#0c214c!important}}

.alert>.row{flex:1 1 auto;justify-content:flex-end}
.alert .btn{white-space:normal;text-align:center;height:auto;min-height:40px;padding:8px 16px;line-height:1.3;max-width:100%}
@media(max-width:640px){.alert>.row{width:100%;justify-content:stretch}.alert>.row .btn{flex:1 1 100%}}

/* read aloud: fixed 32px slot so buttons never shift layout; hidden (slot kept) when off / unsupported */
.spk{flex:none;width:32px;height:32px;padding:0;border-radius:50%;border:1px solid var(--bd);background:var(--glass);color:var(--y2);display:inline-flex;align-items:center;justify-content:center}
.spk .ico{width:16px;height:16px}.spk.on{background:var(--yg);color:#fff;border-color:transparent}
.notts .spk{visibility:hidden;pointer-events:none}.notts .ttsbar{display:none!important}
.pc .brr{display:flex;align-items:center;justify-content:space-between;gap:8px;height:32px}
.hrow{display:flex;align-items:flex-start;gap:12px}.hrow>h1,.hrow>h2{flex:0 1 auto;min-width:0}.hrow>.spk{margin-top:2px}
.sumh{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.ttsbar{position:fixed;left:16px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:34;display:flex;align-items:center;gap:8px;height:48px;padding:0 8px;border-radius:999px;background:rgba(8,22,50,.92)}
.ttsbar .tb{width:36px;height:36px;border-radius:50%;border:0;background:var(--yg);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;font-size:18px;line-height:1}
.ttsbar .tb .ico{width:16px;height:16px}.ttsbar #ttsClose{background:var(--glass2)}
.ttsbar select{height:32px;border-radius:8px;border:1px solid var(--bd2);background:#0f2248;color:var(--ink);padding:0 4px;font-size:13px}
.ttsbar input[type=range]{width:72px;accent-color:var(--y)}
@media(min-width:960px){.ttsbar{bottom:24px;left:24px}}

/* voice numFix check chip: fixed 32px height, text ellipsis, never changes line height beyond its own slot */
.cl>.vchip{grid-column:1/-1;margin-top:0}
.vchip{display:flex;align-items:center;gap:6px;height:32px;margin-top:6px;padding:0 4px 0 10px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.6);color:#fcd34d;font-size:12px;line-height:16px;max-width:100%;box-sizing:border-box}
.vchip .vct{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.vcb{flex:none;height:24px;padding:0 10px;border-radius:999px;border:1px solid rgba(245,158,11,.6);background:transparent;color:#fde68a;font:600 12px/22px inherit;font-family:inherit;cursor:pointer;white-space:nowrap}
.vcb.ok{background:#f59e0b;color:#1f1300;border-color:#f59e0b}
.vfov{position:fixed;inset:0;z-index:80;background:rgba(2,8,23,.6);display:flex;align-items:flex-end;justify-content:center}
.vfbox{width:min(560px,100%);max-height:80vh;display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:20px 20px 0 0;background:#0d1f45}
@media(min-width:768px){.vfov{align-items:center}.vfbox{border-radius:20px}}
.vfhd{display:flex;align-items:center;justify-content:space-between;gap:8px}.vfhd .vcb{width:32px;height:32px;padding:0;font-size:18px}
.vflist{overflow:auto;display:flex;flex-direction:column;gap:6px}
.vfi{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border-radius:12px;border:1px solid var(--bd);background:var(--glass);color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.vfi small{color:var(--mute);white-space:nowrap}.vfi.on{border-color:#f59e0b;box-shadow:0 0 0 1px #f59e0b inset}
@media(max-width:400px){.vchip .vsfx{display:none}}
/* category selection v2: step 1 tiles, step 2 back bar + big type buttons, step 3 result heading */
.cfil{margin:0 0 24px}
.cfh{font-size:18px;margin:0 0 12px}
.cfh span{color:var(--mute);font-weight:500;font-size:13px;margin-left:6px}
.ctiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ctl{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;text-decoration:none!important;color:var(--ink);min-height:48px;border:1px solid var(--bd)}
.ctl .ci2{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#fff}
.ctl .ci2 img{width:100%;height:100%;object-fit:contain;padding:8px;display:block}
.ctl .ci2 .ico{width:44px;height:44px;color:#3d6fc4}
.ctl .ct2{display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px}
.ctl b{font-size:14px;line-height:1.3}
.ctl small{color:var(--mute);font-size:12.5px}
.ctl:active,.ctl:focus-visible{border-color:#5cb0ff}
.cbar{display:flex;gap:8px;align-items:center;margin-bottom:12px}
.cback{height:48px;padding:0 16px;font-size:15px;flex:none;text-decoration:none!important}
.csel{height:48px;flex:1;min-width:0}
.cpath{margin:0 0 16px;color:var(--mute);font-size:14px}
.cpath a{color:#8cc4ff}
.cpath b{color:var(--ink)}
.csubs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.csb{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:8px 14px;border-radius:14px;border:1px solid var(--bd);color:var(--ink);text-decoration:none!important}
.csb b{font-size:14.5px;line-height:1.25}
.csb small{color:var(--mute);font-size:12.5px}
.csb.on{background:var(--yg);border-color:transparent;color:#fff}
.csb.on small{color:rgba(255,255,255,.85)}
.rhd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.rhd h1,.rhd h2{font-size:20px;line-height:1.3;margin:0;min-width:0}
.rhd h1 span,.rhd h2 span{color:var(--mute);font-weight:500;font-size:15px;white-space:nowrap}
.rx{text-decoration:none!important;font-size:22px;width:48px;height:48px}
@media(min-width:768px){.ctiles{grid-template-columns:repeat(3,minmax(0,1fr))}.csubs{grid-template-columns:repeat(4,minmax(0,1fr))}.csel{flex:0 1 320px}.rhd h1{font-size:24px}}
@media(min-width:1200px){.ctiles{grid-template-columns:repeat(6,minmax(0,1fr))}.csubs{grid-template-columns:repeat(5,minmax(0,1fr))}}
.cst{margin:0 0 18px}
.csh{display:flex;align-items:center;gap:10px;font-size:16px;margin:0 0 10px}
.csh small{color:var(--mute);font-weight:500;font-size:12.5px}
.cnum{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--yg);color:#fff;font-size:14px;font-weight:700;flex:none}
.cpills{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}
.cpill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:rgba(77,163,255,.16);border:1px solid rgba(92,176,255,.45);color:var(--ink);font-weight:600;font-size:14px;text-decoration:none!important}
.cpill span{font-size:18px;line-height:1;opacity:.85}
.cpclr{color:#8cc4ff;font-size:14px;padding:8px 4px}

/* v4: full-screen 6-tile chooser, cross-links, brand list with attached type box (rows with ›) */
.ctiles.cfull{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}
.ctiles.cfull .ctl{min-height:0}
.ctiles.cfull .ci2{aspect-ratio:auto;flex:1 1 auto;min-height:0}
.ctiles.cfull .ci2 img{position:static;max-height:100%}
.ctiles.cfull .ct2{flex:none;padding:8px 12px 10px}
.ctiles.cfull b{font-size:15px}
@media(min-width:600px){.ctiles.cfull{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}.ctiles.cfull b{font-size:17px}}
.cxl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.cxh{color:var(--mute);font-size:13px;width:100%}
.cx{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(92,176,255,.45);background:rgba(77,163,255,.12);color:var(--ink);font-weight:600;font-size:14px;text-decoration:none!important}
.crows{display:flex;flex-direction:column;gap:6px}
.crw{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 14px;border-radius:12px;border:1px solid var(--bd);background:rgba(255,255,255,.04);color:var(--ink);text-decoration:none!important}
.crw .crt{flex:1;min-width:0;font-weight:600;font-size:15px;line-height:1.25}
.crw small{color:var(--mute);font-size:13px;white-space:nowrap}
.crw i{font-style:normal;font-size:24px;line-height:1;color:#8cc4ff;transition:transform .15s}
.crw.on{background:var(--yg);border-color:transparent;color:#fff}.crw.on small{color:rgba(255,255,255,.85)}.crw.on i{color:#fff;transform:rotate(90deg)}
.cbl>.crw.on{border-radius:12px 12px 0 0}
.cbox{margin:-6px 0 4px;padding:12px;border-radius:0 0 14px 14px;border:1px solid rgba(92,176,255,.55);border-top:0}
.cst .cbox,.cfil>.cbox{margin-top:0}
.cfil>.cbox{border-top:1px solid rgba(92,176,255,.55);border-radius:14px}
.cbh{display:flex;align-items:center;gap:10px;font-size:15px;margin:0 0 10px}.cbh small{color:var(--mute);font-weight:500;font-size:12.5px}
.cbox .crw{min-height:48px}
.cbox .crw.on i{transform:none}
.cnest{display:flex;flex-direction:column;gap:6px;margin:0 0 4px 14px;padding-left:10px;border-left:2px solid rgba(92,176,255,.45)}
.cjr{margin:-8px 0 14px}
.cjump{min-height:44px}
.cmore{margin-top:24px}
@media(min-width:768px){.crows.cbl,.cbox .crows{max-width:720px}}

/* v5 (15 Oct 2026): Shop front page – categories only, one screen, no scroll content below. Tiles link to #/g/<category>. */
.shopfront .foot,.shopfront #topNote{display:none}
.shopfront main{padding-bottom:0;min-height:0}
.sfront{position:relative;display:flex;overflow:hidden;background:radial-gradient(700px 360px at 50% 0%,rgba(77,163,255,.16),transparent 70%)}
.sfw{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:14px;padding-bottom:14px}
.sfh{flex:none;text-align:center;padding:0 0 14px}
.sfh .kick{min-height:26px;padding:4px 12px;font-size:11px}
.sfh h1{font-size:24px;letter-spacing:-.01em;margin:10px 0 4px;font-weight:800}
.sfh h1 span{display:block;font-size:14px;font-weight:600;color:var(--y2);letter-spacing:.02em;margin-top:2px}
.sfp{margin:0;color:var(--mute);font-size:12.5px}
.sfg{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}
.sft{position:relative;display:flex;flex-direction:column;min-height:0;padding:10px;border-radius:20px;text-decoration:none!important;color:var(--ink);
 background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.03));border:1px solid rgba(124,198,255,.22);
 box-shadow:0 10px 30px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.08);transition:transform var(--ease),border-color var(--ease),box-shadow var(--ease);
 animation:sfIn .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*45ms)}
@keyframes sfIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.sft:hover,.sft:focus-visible{transform:translateY(-3px);border-color:rgba(124,198,255,.7);box-shadow:0 16px 40px rgba(0,0,0,.4),0 0 0 4px rgba(77,163,255,.14)}
.sft:active{transform:scale(.98)}
.sfi{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;border-radius:14px;background:radial-gradient(circle at 50% 40%,#fff 0%,#eef4fd 70%,#dfe9f8 100%);overflow:hidden}
.sfi img{width:100%;height:100%;object-fit:contain;padding:10px;display:block;transition:transform .25s}
.sft:hover .sfi img{transform:scale(1.05)}
.sfi .ico{width:48px;height:48px;color:#3d6fc4}
.sfm{flex:none;display:flex;flex-direction:column;gap:1px;padding:10px 34px 2px 4px}
.sfm b{font-size:15.5px;line-height:1.25;font-weight:700}
.sfm small{color:var(--mute);font-size:12px}
.sfa{position:absolute;right:12px;bottom:14px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--yg);color:#fff;font-style:normal;font-size:18px;line-height:1;box-shadow:0 4px 12px rgba(61,139,255,.45)}
@media(min-width:600px){.sfg{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:18px}
 .sfw{padding-top:22px;padding-bottom:24px}.sfh{padding-bottom:20px}.sfh h1{font-size:32px}.sfh h1 span{font-size:15px}.sfp{font-size:13.5px}
 .sft{padding:14px;border-radius:24px}.sfi{border-radius:16px}.sfi img{padding:16px}.sfm{padding:14px 44px 4px 6px}.sfm b{font-size:19px}.sfm small{font-size:13px}.sfa{width:32px;height:32px;font-size:22px;right:18px;bottom:20px}}
@media(min-width:1200px){.sfh h1{font-size:36px}}
/* keep the floating "Poochhiye" button from covering the last tile */
@media(max-width:599px){.shopfront .sfw{padding-bottom:70px}}
@media(min-width:600px) and (max-width:1359px){.shopfront .sfw{padding-bottom:86px}}
@media(max-width:599px){.sfu{display:none}}

/* home hero category boxes (group images built by tools/make_group_images.py) */
.hboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hbox{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;text-decoration:none!important;color:#0f172a;box-shadow:0 6px 20px rgba(0,0,0,.18);transition:transform .15s,box-shadow .15s}
.hbox:hover,.hbox:focus-visible{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.hbi{aspect-ratio:4/3;overflow:hidden;min-height:0;display:block;padding:6px;background:#fff;border-bottom:1px solid #eef1f5}
.hbi img{width:100%;height:100%;object-fit:contain;display:block}
.hbt{flex:1;display:flex;flex-direction:column;gap:1px;padding:10px 12px 12px}
.hbt b{font-size:15px;line-height:1.25}
.hbt small{font-size:11.5px;color:#64748b;min-height:1.3em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hbt em{font-style:normal;font-size:12px;font-weight:600;color:#2563eb;margin-top:3px}
@media(min-width:960px){.hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}
@media(min-width:1100px){.hboxes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.hboxes{gap:10px}.hbt{padding:8px 10px 10px}.hbt b{font-size:14px}}
.about .ph2.grp a{display:block;position:relative;background:#fff;border-radius:var(--r);overflow:hidden;text-decoration:none!important}
.about .ph2.grp{align-self:center;align-items:start}
.about .ph2.grp img{height:auto;aspect-ratio:4/3;object-fit:contain;padding:8px;border-radius:0;background:#fff}
.about .ph2.grp span{display:block;padding:8px 12px 12px;color:#0f172a;font-weight:600;font-size:14px;border-top:1px solid #eef1f5}
.sfi{background:#fff}
.ctile .im{background:#fff}
.sfi img,.ctl .ci2 img{padding:2px!important}

/* #12 (17 Oct 2026): Shop front category tiles use EXACTLY the Home hero tile geometry (.hboxes/.hbox/.hbi):
   same column widths, 4:3 image box with 6px padding + 1px bottom line, object-fit:contain. The page now scrolls instead of squeezing tiles. */
.shopfront .sfg{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:12px;align-content:start;width:100%;margin:0 auto}
.shopfront .sft{padding:0;border:0;outline:1px solid rgba(124,198,255,.22);outline-offset:-1px;border-radius:16px;overflow:hidden}
.shopfront .sft:hover,.shopfront .sft:focus-visible{outline-color:rgba(124,198,255,.7)}
.shopfront .sfi{flex:none;display:block;aspect-ratio:4/3;padding:6px;border-radius:0;background:#fff;border-bottom:1px solid #eef1f5;min-height:0}
.shopfront .sfg .sfi img{width:100%;height:100%;object-fit:contain;padding:0!important;display:block}
.shopfront .sfm{padding:10px 40px 12px 12px}
@media(max-width:420px){.shopfront .sfg{gap:10px}.shopfront .sfm{padding:8px 38px 10px 10px}.shopfront .sfm b{font-size:14px}}
@media(min-width:600px){.shopfront .sfg{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shopfront .sfm{padding:10px 48px 12px 12px}}
@media(min-width:960px){.shopfront .sfg{width:calc((100% - 32px) * 1.25 / 2.25)}}   /* = Home hero right column */
@media(min-width:1100px){.shopfront .sfg{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Poochhiye voice + instant answers (17 Oct 2026) */
.askin .rb.m[hidden]{display:none}
.askin .rb.m{display:flex;align-items:center;justify-content:center}.askin .rb.m .ico{width:22px;height:22px}
.askin .rb.m.rec{animation:askP 1.2s ease-out infinite}
@keyframes askP{0%{box-shadow:0 0 0 0 rgba(229,72,77,.55)}100%{box-shadow:0 0 0 14px rgba(229,72,77,0)}}
.askst{margin:0 0 8px;color:var(--y2)}
.ab .askans{background:rgba(77,163,255,.08);border:1px solid rgba(77,163,255,.25);border-radius:12px;padding:8px 10px;margin:8px 0}
.askwa{margin:8px 0 10px;padding:10px;border-radius:12px;background:rgba(37,211,102,.08);border:1px solid rgba(37,211,102,.3)}
.askwa p{margin:0 0 8px;font-weight:600}.askwa .btn{display:inline-flex;gap:6px;align-items:center}.askwa .ico{width:16px;height:16px}
.askok{margin-top:10px;padding:10px;border-radius:12px;border:1px solid rgba(74,222,128,.35);background:rgba(74,222,128,.08);display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.askok p{flex-basis:100%;margin:0}.askok .tiny{color:var(--mute)}/* Poochhiye 17 Oct (2): direct answer line, size chips, multi-item order list */
.ab .asklead{margin:0 0 8px;font-size:15px;line-height:1.45}
.ab .asklead[data-lead="out"] b{color:var(--bad)}.ab .asklead[data-lead="in"] b,.ab .asklead[data-lead="low"] b{color:var(--ok)}
.ab .chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.ab .chip{height:34px;padding:0 12px;font-size:13px;cursor:pointer}
.ab s.lp{color:var(--mute2);font-size:12px}
.ab .kval{font-weight:600}
.aol ol{margin:6px 0 0;padding-left:22px;display:grid;gap:10px}
.aol li{line-height:1.4}.aol li .tiny{color:var(--mute);margin-top:2px}
/* mini-cart drawer (v3, 18 Oct 2026): peek (auto, non-modal) + modal; bottom sheet on phones */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.drawer.peek{box-shadow:-12px 0 40px rgba(0,0,0,.45)}
.drawer .mcl{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid var(--bd)}
.drawer .mcl.just{animation:mcflash 1.4s ease}
@keyframes mcflash{0%{background:rgba(77,163,255,.22)}100%{background:transparent}}
.drawer .mcn a{color:inherit;font-weight:700;text-decoration:none;font-size:14px}.drawer .mcn .sub{font-size:12px;color:var(--mute);margin-top:2px}.drawer .mcn .sub small{font-size:11px}
.drawer .mcc{display:flex;align-items:center;gap:8px}.drawer .mcc .amt{margin-left:auto;font-weight:800;white-space:nowrap;font-size:14px}
.drawer .mcc .stp input{width:56px}
.drawer .df .sr.big{font-size:17px}
@media(max-width:700px){
  .drawer{top:auto;left:0;right:0;width:100%;max-height:78vh;border-left:0;border-top:1px solid var(--bd2);border-radius:18px 18px 0 0;transform:translateY(100%);padding-bottom:env(safe-area-inset-bottom)}
  .drawer.peek{max-height:56vh;box-shadow:0 -12px 40px rgba(0,0,0,.5)}
  .drawer.open{transform:none}
  .drawer .dh{padding:12px 16px}.drawer .df{padding:12px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.drawer .df #dSum{grid-column:1/-1;min-width:0}.drawer .df .btn{min-width:0;white-space:normal;padding-left:8px;padding-right:8px;font-size:14px;line-height:1.15;text-align:center}.drawer .df .note3{font-size:11px;margin:2px 0 0}
}
@media (prefers-reduced-motion:reduce){.drawer{transition:none}.drawer .mcl.just{animation:none}}
/* peek panel docks: wide screens reflow the page beside it, phones get extra bottom room so nothing stays hidden under the sheet */
@media(min-width:1100px){body.mc-dock{padding-right:420px}}
@media(max-width:700px){body.mc-dock{padding-bottom:56vh}}

/* ===== cart-ux (18 Oct 2026, preview) ===== */
/* header: prominent cart pill on desktop (count + total); on phones the cart moves to the sticky bottom bar */
.hcart{position:relative;display:none;align-items:center;gap:8px;height:44px;padding:0 16px 0 12px;border-radius:999px;background:var(--yg);color:#fff;font-weight:700;font-size:14px;text-decoration:none!important;box-shadow:0 8px 24px rgba(61,139,255,.3);white-space:nowrap}
.hcart .ico{width:22px;height:22px}.hcart .badge{position:static;background:#fff;color:#0a1d42;min-width:22px;height:22px}
.hcart .hctot{font-weight:800;padding-left:8px;border-left:1px solid rgba(255,255,255,.4)}
@media(min-width:960px){.hcart{display:inline-flex}}
/* phone: sticky bottom cart bar above the tab bar */
.cxbar{position:fixed;left:8px;right:8px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:36}
.cbin{display:flex;align-items:center;gap:12px;height:56px;padding:0 16px;border-radius:16px;background:var(--yg);color:#fff;text-decoration:none!important;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.cbin .ico{width:24px;height:24px;flex:none}.cbt{display:flex;flex-direction:column;line-height:1.2;min-width:0}.cbt b{font-size:14px}.cbt small{font-size:15px;font-weight:800}
.cbgo{margin-left:auto;font-weight:800;font-size:14px;background:rgba(255,255,255,.2);padding:8px 12px;border-radius:999px;white-space:nowrap}
.cxbar.bump .cbin{animation:cbump .5s ease}@keyframes cbump{30%{transform:scale(1.04)}}
/* final-launch: bottom cart bar on desktop too (bottom-centre) – there is no mini-cart popup on any screen */
@media(min-width:960px){.cxbar{left:50%;right:auto;bottom:16px;width:min(560px,calc(100% - 200px));transform:translateX(-50%)}body.has-cbar main{padding-bottom:96px}body.has-cbar .toast{bottom:88px}}
@media(max-width:959px){body.has-cbar main{padding-bottom:168px}body.has-cbar .fab{bottom:calc(144px + env(safe-area-inset-bottom))}body.has-cbar .toast{bottom:calc(152px + env(safe-area-inset-bottom))}body.has-cbar.shopfront .sfw{padding-bottom:140px}}
body.mc-dock .cxbar{display:none}
@media (prefers-reduced-motion:reduce){.cxbar.bump .cbin{animation:none}}
/* back to category */
.bkbar{padding-top:12px}.bkbar+.crumbs{padding-top:8px}
.bkcat{white-space:normal;text-align:left;line-height:1.25}
#pd-act .pdback{order:-1}
/* compact cart = order slip */
.slipw{max-width:860px}
.slip{padding:16px;margin-bottom:16px}
.sliph{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:2px dashed var(--bd2)}
.sliph h1{font-size:20px}.sliph h1 span{font-size:13px;color:var(--mute);font-weight:600;margin-left:6px}
.slhd{display:none}
.sll{list-style:none;margin:0;padding:0}
.slc{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--mute2);padding:8px 0 2px}
.sl{display:grid;grid-template-columns:20px minmax(0,1fr) auto 32px;grid-template-areas:"i n n x" ". q a a";gap:4px 8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--bd)}
.sli{grid-area:i;color:var(--mute2);font-size:12px;font-weight:700}
.sln{grid-area:n;min-width:0}.sln a{color:var(--ink);font-weight:600;font-size:14px;line-height:1.3}.sln small{display:block;font-size:12px;color:var(--mute);line-height:1.35}
.sln .gl2{color:var(--y2)}.sln .bad{color:var(--bad);font-weight:600}.sln .vchip{margin-top:4px}
.slq{grid-area:q;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.slq .stp{height:34px;padding:2px}.slq .stp button{width:30px;height:30px;font-size:17px}.slq .stp input{width:44px;flex:none;font-size:15px}
.slu{height:34px;border-radius:10px;border:1px solid var(--bd2);background:#0f2248;color:var(--ink);font-size:12px;padding:0 6px}
.sla{grid-area:a;text-align:right;font-size:14px;white-space:nowrap}
.slx{grid-area:x;width:32px;height:32px;font-size:20px;color:var(--mute)}
.slo{padding:8px 0;border-bottom:1px solid var(--bd)}.slo .msg{margin:6px 0}
.slt{padding:8px 0 4px;border-top:2px dashed var(--bd2);margin-top:8px}
.st2{display:flex;justify-content:space-between;font-size:13px;padding:2px 0}.st2 span:first-child{color:var(--mute)}
.st2.big{font-size:18px;font-weight:800;padding-top:6px}.st2.big span:first-child{color:var(--ink)}
.slt .note3{margin:4px 0 0;font-size:11px}
.slb{display:grid;gap:8px;margin-top:12px}
@media(min-width:720px){
 .slhd{display:grid;grid-template-columns:24px minmax(0,1fr) 190px 120px 32px;gap:8px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--mute2);padding:8px 0 0}
 .slhd span:nth-child(4){text-align:right}
 .sl{grid-template-columns:24px minmax(0,1fr) 190px 120px 32px;grid-template-areas:"i n q a x";padding:6px 0}
 .slb{grid-template-columns:1fr 1fr}
}

/* Price List tab (account) */
.actabs{display:flex;gap:6px;margin:0 0 16px;border-bottom:1px solid var(--bd);overflow-x:auto}
.actabs a{padding:10px 14px;font-weight:600;color:var(--mute);border-bottom:3px solid transparent;white-space:nowrap;text-decoration:none}
.actabs a.on{color:inherit;border-bottom-color:var(--y2,#3d8bff)}
.pl-hd{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.pl-all{font-weight:600;display:flex;gap:6px;align-items:center;cursor:pointer}
.pl-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px;margin-top:8px}
.pl-c{display:flex;gap:8px;align-items:flex-start;font-size:14px;cursor:pointer;padding:6px 0}
.pl-c input,.pl-all input{width:18px;height:18px;flex:none;margin-top:1px}
.pl-c small{color:var(--mute)}
.pl-act{margin-top:12px;align-items:center;gap:12px;flex-wrap:wrap}
.pl-tbl{margin-top:16px}.pl-sec{margin-bottom:20px}.pl-empty{padding:16px 0}
.tbl.pl td.r,.tbl.pl th.r{text-align:right;white-space:nowrap}
@media (max-width:640px){
 .pl-cats{grid-template-columns:1fr}
 .tbl.pl thead{display:none}
 .tbl.pl,.tbl.pl tbody,.tbl.pl tr,.tbl.pl td{display:block;width:100%}
 .tbl.pl tr{border-bottom:1px solid var(--bd);padding:8px 0}
 .tbl.pl td{border:0;padding:2px 0;display:flex;justify-content:space-between;gap:12px;text-align:right}
 .tbl.pl td::before{content:attr(data-l);color:var(--mute);font-weight:600;text-align:left;flex:none}
 .tbl.pl td[data-l=Item]{font-weight:600;text-align:left}
}

/* ===== compact cart page (cart-compact port, final-launch 19 Oct 2026) ===== */
/* one screen – header + item list + summary/order button; 6 items fit without scrolling, only the list scrolls if there are many */
html.r-cart main{padding-bottom:0;min-height:0}
html.r-cart .foot{display:none}
@media(max-width:959px){html.r-cart .fab{display:none}}
.ccw{display:flex;flex-direction:column;gap:8px;padding-top:8px;padding-bottom:8px;box-sizing:border-box;min-height:0}
.cch{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
.cch h1{font-size:20px;line-height:1.2;margin:0}.cch h1 span{font-size:14px;color:var(--mute);font-weight:600}
.cch .btn.sm{height:36px;padding:0 12px;font-size:13px}
.ccl{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 12px;-webkit-overflow-scrolling:touch}
.cc{display:grid;grid-template-columns:36px auto minmax(0,1fr) 32px;grid-template-areas:"i n n n" "i q a x";gap:2px 8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--bd)}
.cc:last-child{border-bottom:0}
.cci{grid-area:i;align-self:start;width:36px;height:36px;margin-top:2px;border-radius:8px;background:var(--tile);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#3d6fc4}
.cci img{width:100%;height:100%;object-fit:contain;display:block}.cci .ico{width:18px;height:18px}
.cc .nm{grid-area:n;min-width:0;display:block;font-weight:600;font-size:14px;line-height:18px;color:var(--ink);text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cca{grid-area:a;min-width:0;display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.cc .sub{max-width:100%;font-size:12px;line-height:16px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc .oos{color:var(--bad)}
.cc .amt{font-weight:700;font-size:14px;line-height:18px;white-space:nowrap}
.ccq{grid-area:q;justify-self:start;display:flex;align-items:center;gap:6px}
.ccq .stp{height:32px;padding:2px}.ccq .stp button{width:28px;height:28px;font-size:16px}.ccq .stp input{width:40px;flex:none;font-size:15px}
.ccq .slu{height:32px}
.cc .rm{grid-area:x;width:32px;height:32px}.cc .rm .ico{width:18px;height:18px}
.cc>.vchip{grid-column:1/-1;margin-top:2px}
.cco{padding:8px 0}.cco summary{cursor:pointer;font-size:13px;color:var(--mute)}.cco .msg{margin:8px 0}
.ccs{flex:none;padding:10px 14px;display:flex;flex-direction:column;gap:6px}
.ccs .sr.big{padding-top:0;border-top:0;font-size:18px}
.ccs1{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;color:var(--mute)}
.ccs1 .spk,.ccs1 button{flex:none}
.ccs .btn.wa{height:46px}
.ccgst{font-size:11px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.toast{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 32px)}
@media(min-width:960px){
 .ccw{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto minmax(0,1fr);column-gap:24px;row-gap:8px;padding-top:16px;padding-bottom:16px}
 .cch{grid-column:1/-1}.ccl{grid-column:1;grid-row:2;padding:0 16px;align-self:start;max-height:100%}.ccs{grid-column:2;grid-row:2;align-self:start;padding:18px 20px;gap:10px}
 .cc{grid-template-columns:44px minmax(0,1fr) auto 150px 36px;grid-template-areas:"i n q a x";padding:8px 0;column-gap:12px}
 .cci{width:44px;height:44px;align-self:center;margin-top:0}.cca,.ccq,.cc .rm,.cc .nm{align-self:center}.cc .nm{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .ccgst{white-space:normal}
}
/* Meri History (20 Oct 2026) */
.alert.hs-block,.alert.hs-ok{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.alert.hs-ok{border-color:rgba(61,220,151,.35)}
.hs-bo{font-size:13px}.hs-msg{font-size:14px}table.hs-ord td,table.hs-pay td{vertical-align:top}tr.hs-late td{background:rgba(255,122,122,.08)}
.alert.hs-block{background:rgba(255,122,122,.1);border-color:rgba(255,122,122,.4)}
/* ===== picker (19 Oct 2026): utility tabs, use captions, step 3, related quick-add ===== */
.utabs{margin:0 0 14px}
.uth{display:block;font-weight:700;font-size:14px;margin:0 0 8px}.uth small{color:var(--mute);font-weight:500;font-size:12.5px;margin-left:6px}
.utr{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:4px}
.utab{flex:none;display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:6px 14px;border-radius:12px;border:1px solid rgba(92,176,255,.45);background:rgba(77,163,255,.10);color:var(--ink);text-decoration:none!important;line-height:1.2}
.utab b{font-size:14px}.utab small{font-size:11.5px;color:var(--mute);white-space:nowrap}
.utab.on{background:var(--yg);border-color:transparent;color:#fff}.utab.on small{color:rgba(255,255,255,.9)}
@media(min-width:960px){.utr{flex-wrap:wrap;overflow:visible}}
.sfront .utabs{margin:12px 0 16px}
.crw .cuse{display:block;font-style:normal;font-weight:500;font-size:12px;color:var(--mute);margin-top:2px}
.crw.on .cuse{color:rgba(255,255,255,.88)}
.pk3{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:0 0 12px;font-size:15px}
.pk3 small{color:var(--mute);font-size:12.5px}
.prel{border:1px solid rgba(92,176,255,.45);background:rgba(10,29,66,.92);border-radius:14px;padding:10px 12px;margin:4px 0 8px}
.prel.inrow{grid-column:1/-1}
.prh{display:flex;align-items:baseline;gap:8px;margin:0 0 8px}.prh b{font-size:15px}.prh small{flex:1;color:var(--mute);font-size:12.5px;min-width:0}
.prx{background:none;border:0;color:var(--mute);font-size:22px;line-height:1;cursor:pointer;padding:0 4px;min-width:32px;min-height:32px}
.prr{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
@media(min-width:960px){.prr{flex-wrap:wrap;overflow:visible}}
.rchip{flex:none;display:flex;align-items:center;gap:8px;max-width:260px;padding:6px 6px 6px 10px;border-radius:10px;border:1px solid var(--bd);background:rgba(255,255,255,.05)}
.rcn{display:flex;flex-direction:column;min-width:0;color:var(--ink);text-decoration:none!important;line-height:1.25}
.rcn b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcn small{font-size:12px;color:var(--y2);white-space:nowrap}.rcn .oos{color:var(--bad)}
.rcadd{flex:none;min-height:36px;padding:0 12px;border-radius:999px;border:0;background:var(--yg);color:#fff;font-weight:700;font-size:13px;cursor:pointer}
.rcok{flex:none;font-size:12.5px;color:var(--ok);font-weight:700;padding:0 8px}
.hs-kpi{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px}.hs-k{padding:12px 14px}.hs-k small{display:block;color:var(--mute);font-size:12.5px}.hs-k b{font-size:20px}
@media(max-width:700px){.hs-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-kpi .hs-k:last-child{grid-column:1/-1}}
.hs-steps{display:flex;gap:4px;list-style:none;margin:6px 0 0;padding:0;font-size:11.5px;flex-wrap:wrap}.hs-steps li{padding:2px 8px;border-radius:999px;background:var(--glass2);color:var(--mute)}
.hs-steps li.done{background:rgba(61,220,151,.14);color:var(--ok)}.hs-steps li.now{background:var(--yg);color:#fff}.hs-steps li.cxl{background:rgba(255,122,122,.14);color:var(--bad)}
/* ===== guided tour (tour.js, 20 Oct 2026) – theme-aware via CSS vars ===== */
.trh{position:fixed;z-index:9998;border-radius:14px;box-shadow:0 0 0 3px var(--y),0 0 0 9999px rgba(3,8,20,.62);pointer-events:none;transition:all .18s ease}
.trh.none{left:50%!important;top:50%!important;width:0!important;height:0!important;box-shadow:0 0 0 9999px rgba(3,8,20,.62)}
html[data-theme=light] .trh{box-shadow:0 0 0 3px var(--y),0 0 0 9999px rgba(15,29,58,.5)}
.trc{position:fixed;z-index:9999;background:var(--bg1);color:var(--ink);border:1px solid var(--bd2);border-radius:16px;padding:14px 16px 12px;box-shadow:0 12px 40px rgba(0,0,0,.45)}
html[data-theme=light] .trc{background:#fff;box-shadow:0 12px 40px rgba(15,40,90,.25)}
.trc h3{margin:2px 0 6px;font-size:17px}.trc p{margin:0 0 12px;font-size:14px;line-height:1.45;color:var(--mute)}
.trn{font-size:12px;font-weight:700;color:var(--y)}.trb{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.trsp{flex:1}
.trc .btn[disabled]{opacity:.45;pointer-events:none}
.ib.hlp{font-weight:800;font-size:18px}
@media(max-width:959px){.hact a.ib[data-nav=account]{display:none}}  /* phone/tablet: room for the ? button; Account/Login stays in the bottom bar */
html.tour-on .fab{visibility:hidden}

/* Send Sales Quotation PDF (t123u) */
.sqok .sqmeta{margin:0 0 14px;font-size:15px}
.sqok .sqsim{background:#fff4d6;color:#5a3d00;border-radius:10px;padding:8px 12px;margin:0 0 12px}
.sqbtn[aria-busy=true]{opacity:.6;cursor:progress}

/* pricefix t151u: quotation = PDF preview only */
.sqpv{max-width:900px;margin:16px auto 32px;padding:0}
.sqpv .sqbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 4px;font-size:16px}
.sqpv .sqsim{background:#fff4d6;color:#5a3d00;border-radius:8px;padding:6px 10px;margin:0 0 8px;font-size:13px;text-align:center}
.sqpv .sqview{background:#e9edf3;border-radius:10px;padding:8px;min-height:240px;display:flex;flex-direction:column;align-items:center;gap:8px;overflow:hidden}
.sqpv .sqpage{display:block;max-width:100%;height:auto!important;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.18);border-radius:2px}
.sqpv .sqframe{width:100%;height:80vh;border:0;background:#fff}
.sqpv .sqload{padding:80px 12px;color:#5a6270}
.sqpv .sqact{display:grid;gap:8px;margin-top:12px}
@media(min-width:720px){.sqpv .sqact{grid-template-columns:1fr 1fr 160px}}
