:root{
  --ink:#0e1c2b;--ink2:#2a3b4d;--muted:#617182;--bg:#f4f6f9;--card:#fff;--line:#e2e8ee;
  --acc:#e8590c;--acc-d:#c94a07;--teal:#0b7285;--teal-l:#e3f4f7;--ok:#2b8a3e;--warn:#e67700;--bad:#c92a2a;
  --r:14px;--sh:0 1px 2px rgba(14,28,43,.06),0 8px 24px rgba(14,28,43,.06)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:var(--teal)}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px}
.hidden{display:none!important}
.muted{color:var(--muted)}
.right{text-align:right}
h1,h2,h3{line-height:1.2;margin:0}

/* header */
.top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:20px;height:66px}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.4px;text-decoration:none;color:var(--ink);font-size:21px;margin-right:auto}
.logo-mark{width:34px;height:34px;border-radius:9px;flex-shrink:0}
.logo-txt{line-height:1.1}
.logo b{color:var(--acc)}
.nav{display:flex;gap:6px;align-items:center}
.nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:var(--ink2);font-weight:500;font-size:15px}
.nav a:hover,.nav a.on{background:var(--teal-l);color:var(--teal)}
.nav a.tel-link{font-weight:600;color:var(--ink)}
.nav a.wa-link{font-weight:600;color:#15803d;background:#f0fdf4}
.nav a.wa-link:hover{background:#dcfce7;color:#166534}
@media (max-width:880px){.nav a.tel-link{display:none}}
.cartbtn{position:relative;display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:#fff;border:0;border-radius:10px;padding:9px 14px;font-weight:600;cursor:pointer;font-size:15px}
.cartbtn .n{background:var(--acc);border-radius:99px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:12px;padding:0 6px}

/* buttons / forms */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#ea580c 0%,#c2410c 100%);color:#fff;border:0;padding:12px 22px;border-radius:10px;font-weight:700;text-decoration:none;cursor:pointer;font-size:15px;font-family:inherit;box-shadow:0 1px 3px rgba(194,65,12,.3),inset 0 1px 0 rgba(255,255,255,.15);transition:all .15s ease-out;user-select:none}
.btn:hover{background:linear-gradient(180deg,#f97316 0%,#ea580c 100%);box-shadow:0 4px 14px rgba(234,88,12,.35);transform:translateY(-1px)}
.btn:active{transform:translateY(1px);box-shadow:0 1px 2px rgba(194,65,12,.4)}
.btn:focus-visible{outline:3px solid #fdba74;outline-offset:2px}
.btn.sm{padding:8px 14px;font-size:13.5px;border-radius:8px}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid #cbd5e1;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.btn.ghost:hover{border-color:var(--ink);background:#f8fafc;color:var(--ink)}
.btn.dark{background:linear-gradient(180deg,#1e293b 0%,#0f172a 100%);box-shadow:0 1px 3px rgba(15,23,42,.3)}
.btn.dark:hover{background:linear-gradient(180deg,#334155 0%,#1e293b 100%);box-shadow:0 4px 12px rgba(15,23,42,.3)}
.btn.ok{background:linear-gradient(180deg,#16a34a 0%,#15803d 100%);box-shadow:0 1px 3px rgba(21,128,61,.3)}
.btn.ok:hover{background:linear-gradient(180deg,#22c55e 0%,#16a34a 100%)}
.btn.bad{background:linear-gradient(180deg,#dc2626 0%,#b91c1c 100%)}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}
body.site-mode .btn.ghost{background:#09121c;border-color:#334155;color:#f1f5f9}
body.site-mode .btn.ghost:hover{background:#132235;border-color:#94a3b8}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
label{display:grid;gap:6px;font-weight:600;font-size:14px;color:var(--ink2)}
input,select,textarea{padding:11px 12px;border:1.5px solid var(--line);border-radius:10px;font:inherit;background:#fff;color:var(--ink);width:100%}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-l)}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.check input{width:auto;margin-top:4px}
.hp{position:absolute;left:-9999px}
.msg{min-height:22px;font-size:14px}
.msg.bad{color:var(--bad)}.msg.ok{color:var(--ok)}

/* hero */
.hero{background:radial-gradient(1200px 400px at 80% -10%,#15607033,transparent),linear-gradient(135deg,#0e1c2b,#0b4f5c);color:#fff;padding:64px 0 54px}
.hero h1{font-size:clamp(30px,5vw,48px);max-width:760px}
.hero h1 em{font-style:normal;color:#ffb27a}
.hero p{max-width:640px;font-size:18px;opacity:.92;margin:16px 0 26px}
.search{display:flex;gap:10px;max-width:640px}
.search input{border:0;padding:15px 16px;font-size:16px;box-shadow:var(--sh)}
.strip{background:#fff;border-bottom:1px solid var(--line)}
.strip ul{list-style:none;margin:0;padding:14px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;font-size:14px;font-weight:600;color:var(--ink2)}
.strip li:before{content:"✓";color:var(--ok);margin-right:8px;font-weight:800}

/* sections */
.block{padding:52px 0}
.block>.wrap>h2,.sec-h{font-size:28px;margin-bottom:6px}
.sub{color:var(--muted);margin:0 0 24px}
.cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:26px}
.cat{background:var(--card);border:1.5px solid var(--line);border-radius:12px;padding:14px;cursor:pointer;text-align:left;font:inherit;color:var(--ink)}
.cat b{display:block;font-size:15px}.cat span{font-size:13px;color:var(--muted)}
.cat.on{border-color:var(--acc);background:#fff4ec}
.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px;align-items:center}
.toolbar input{max-width:320px}
.toolbar select{max-width:200px}

/* product cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:.15s;box-shadow:0 1px 2px rgba(14,28,43,.04)}
.card:hover{box-shadow:var(--sh);transform:translateY(-2px)}
.card .ph{background:linear-gradient(#f7f9fb,#eef2f6);height:180px;display:grid;place-items:center;cursor:pointer;position:relative}
.card .ph img{max-height:150px;max-width:86%;object-fit:contain}
.badge{position:absolute;top:10px;left:10px;background:var(--acc);color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:99px;letter-spacing:.3px}
.badge.save{left:auto;right:10px;background:var(--ok)}
.card .in{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.card h3{font-size:16px;font-weight:650;cursor:pointer}
.card .brand{font-size:13px;color:var(--muted)}
.card .bl{font-size:14px;color:var(--ink2);margin:0}
.pr{margin-top:auto;padding-top:8px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pr b{font-size:20px}.pr s{color:var(--muted);font-size:14px}.pr small{color:var(--muted)}
.pr .req{font-size:15px;font-weight:600;color:var(--ink2)}
.stock{font-size:12px;font-weight:600}.stock.in{color:var(--ok)}.stock.out{color:var(--warn)}
.addrow{display:flex;gap:8px;margin-top:8px;align-items:stretch}
.addrow .btn{flex:1}
.qty{display:inline-flex;border:1.5px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#fff;transition:border-color .15s}
.qty:hover,.qty:focus-within{border-color:#0b7285}
.qty button{border:0;background:#f1f5f9;width:36px;height:42px;cursor:pointer;font-size:18px;font-weight:700;color:var(--ink);display:grid;place-items:center;transition:background .12s,color .12s;user-select:none}
.qty button:hover{background:#e2e8f0;color:#0b7285}
.qty button:active{background:#cbd5e1}
.qty input{border:0;width:48px;text-align:center;padding:0;font-size:15px;font-weight:700;color:var(--ink);border-radius:0;background:#fff}
.qty input:focus{box-shadow:none;outline:0}
body.site-mode .qty{background:#0f1c2b;border-color:#334155}
body.site-mode .qty button{background:#17283c;color:#f1f5f9}
body.site-mode .qty button:hover{background:#1e3550;color:#38bdf8}
body.site-mode .qty input{background:#0f1c2b;color:#f1f5f9}

/* steps / faq */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:0;margin:0;list-style:none;counter-reset:s}
.steps li{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;counter-increment:s}
.steps li:before{content:counter(s);display:inline-grid;place-items:center;width:30px;height:30px;border-radius:99px;background:var(--acc);color:#fff;font-weight:700;margin-bottom:10px}
.steps b{display:block;margin-bottom:4px}.steps span{color:var(--muted);font-size:15px}
details{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-bottom:10px}
summary{font-weight:650;cursor:pointer}
details p{margin:10px 0 0;color:var(--ink2)}

/* drawer / modal */
.scrim{position:fixed;inset:0;background:rgba(14,28,43,.5);z-index:40}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(460px,100%);background:#fff;z-index:50;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.2)}
.drawer.wide{width:min(760px,100%)}
.drawer header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}
.drawer header h3{font-size:18px}
.drawer .body{padding:18px 20px;overflow:auto;flex:1}
.drawer footer{padding:16px 20px;border-top:1px solid var(--line);background:#fafbfc}
.x{border:0;background:#f1f4f7;border-radius:8px;width:34px;height:34px;font-size:18px;cursor:pointer}
.line{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.line img{width:56px;height:56px;object-fit:contain;background:#f1f4f7;border-radius:8px}
.line .nm{font-weight:600;font-size:14px}
.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;pointer-events:none}
.modal .box{background:#fff;border-radius:16px;max-width:760px;width:100%;max-height:92vh;overflow:auto;pointer-events:auto;display:grid;grid-template-columns:1fr 1fr}
.modal .pic{background:#f1f4f7;display:grid;place-items:center;padding:24px;min-height:260px}
.modal .pic img{max-width:100%;max-height:300px;object-fit:contain}
.modal .txt{padding:24px;display:flex;flex-direction:column;gap:10px}
.modal ul{margin:0;padding-left:18px;color:var(--ink2)}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:10px;z-index:80;font-weight:600}

/* checkout */
.page{padding:36px 0 70px}
.page h1{font-size:30px;margin-bottom:6px}
.stepper{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}
.stepper div{flex:1;min-width:140px;padding:10px 14px;border-radius:10px;background:#e9eef3;color:var(--muted);font-weight:600;font-size:14px}
.stepper div.on{background:var(--ink);color:#fff}.stepper div.done{background:var(--teal-l);color:var(--teal)}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;box-shadow:0 1px 2px rgba(14,28,43,.04)}
.panel+.panel{margin-top:16px}
.panel h2{font-size:20px;margin-bottom:14px}
.form{display:grid;gap:14px}
.ac{position:relative}
.aclist{position:absolute;left:0;right:0;top:100%;background:#fff;border:1.5px solid var(--line);border-radius:10px;margin-top:4px;box-shadow:var(--sh);z-index:10;max-height:320px;overflow:auto}
.aclist button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:11px 14px;cursor:pointer;font:inherit;border-bottom:1px solid var(--line)}
.aclist button:hover{background:var(--teal-l)}
.aclist small{display:block;color:var(--muted)}
.found{display:flex;gap:12px;align-items:flex-start;background:var(--teal-l);border-radius:12px;padding:14px;margin-top:6px}
.found.warn{background:#fff3bf}
.sum{display:grid;grid-template-columns:1fr auto;gap:6px 18px}
.sum .t{font-weight:800;font-size:18px;border-top:1px solid var(--line);padding-top:8px;margin-top:4px}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th{text-align:left;color:var(--muted);font-weight:600;padding:10px 10px;border-bottom:1px solid var(--line);font-size:13px;white-space:nowrap}
.table td{padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}
.table tr.click{cursor:pointer}.table tr.click:hover{background:#f7fafc}
.table input,.table select{padding:7px 9px;font-size:14px}
.table .sm{width:84px}
.scroll{overflow:auto}

/* statuses */
.pill{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700;background:#e9eef3;color:var(--ink2);white-space:nowrap}
.pill.new{background:#fff3bf;color:#8a5a00}.pill.validated{background:#d0ebff;color:#0b5394}
.pill.dispatched{background:#e5dbff;color:#5f3dc4}.pill.delivered{background:#ffe8cc;color:#b45309}
.pill.paid,.pill.approved,.pill.active{background:#d3f9d8;color:#1b6e2d}
.pill.rejected,.pill.cancelled,.pill.blocked{background:#ffe3e3;color:#a61e1e}.pill.pending{background:#fff3bf;color:#8a5a00}
.flag{display:inline-block;margin:2px 4px 2px 0;padding:2px 8px;border-radius:6px;background:#fff0f0;color:#a61e1e;font-size:12px;font-weight:600}

/* dashboards */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:22px}
.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.kpi span{font-size:13px;color:var(--muted);font-weight:600}.kpi b{display:block;font-size:26px;margin-top:4px}
.kpi.alert{border-color:#ffc9a8;background:#fff8f3}
.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}
.side{background:var(--ink);color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:6px}
.side .logo{color:#fff;margin:0 0 18px 8px;display:block}
.side button{background:transparent;border:0;color:#cbd5df;text-align:left;padding:11px 14px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;display:flex;justify-content:space-between}
.side button:hover{background:#ffffff14}.side button.on{background:var(--acc);color:#fff}
.side .cnt{background:#ffffff26;border-radius:99px;padding:0 8px;font-size:12px}
.main{padding:26px;min-width:0}
.main h1{font-size:26px;margin-bottom:18px}
.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.tab{border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:6px 14px;font-weight:600;cursor:pointer;font-size:13px;font-family:inherit}
.tab.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--line)}
.timeline li{padding:0 0 14px 16px;position:relative;font-size:14px}
.timeline li:before{content:"";position:absolute;left:-6px;top:5px;width:10px;height:10px;border-radius:99px;background:var(--teal)}
.bank{background:#f1faf3;border:1.5px solid #b2e2bd;border-radius:12px;padding:16px}
.bank dl{display:grid;grid-template-columns:auto 1fr auto;gap:6px 14px;margin:10px 0 0;align-items:center}
.bank dt{color:var(--muted);font-size:13px}.bank dd{margin:0;font-weight:700;font-family:ui-monospace,Consolas,monospace}
.login{max-width:420px;margin:12vh auto;padding:0 20px}
.foot{border-top:1px solid var(--line);padding:30px 0;color:var(--muted);font-size:14px;background:#fff}
.foot a{color:var(--ink2)}
.legal{max-width:840px;margin:36px auto 60px;padding:0 20px}
.legal-head{margin-bottom:28px;padding-bottom:18px;border-bottom:1.5px solid var(--line)}
.legal-head h1{font-size:clamp(24px,4vw,34px);color:var(--ink);margin:10px 0 6px}
.legal-section{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px;box-shadow:0 1px 3px rgba(14,28,43,0.04)}
.legal-section h2{font-size:18px;color:var(--ink);margin:0 0 12px}
.legal-section p{line-height:1.65;color:var(--ink2);margin:0 0 12px}
.legal-section p:last-child{margin-bottom:0}
.legal-section ul,.legal-section ol{line-height:1.6;color:var(--ink2);padding-left:20px;margin:0 0 12px}
body.site-mode .legal-section{background:#0b1522;border-color:#1e3347}
body.site-mode .legal-section h2{color:#f1f5f9}
body.site-mode .legal-section p,body.site-mode .legal-section ul,body.site-mode .legal-section ol{color:#cbd5e1}

@media(max-width:860px){
  .shell{grid-template-columns:1fr}.side{flex-direction:row;overflow:auto;padding:10px}.side .logo{display:none}
  .grid2,.grid3,.modal .box{grid-template-columns:1fr}
  .bar{height:auto;padding:8px 0;flex-wrap:wrap}
  .logo{order:1}
  .cartbtn{order:2}
  .theme-toggle-btn{order:3}
  .nav{order:4;width:100%;display:flex;overflow-x:auto;white-space:nowrap;padding:6px 0;gap:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nav::-webkit-scrollbar{display:none}
  .nav a{display:inline-flex;font-size:13.5px;padding:6px 11px;flex-shrink:0}
}
.flush{padding-top:0}

/* ===== mobile & polish ===== */
.cats{scrollbar-width:thin}
.cat:focus-visible,.btn:focus-visible,.tab:focus-visible,.nav a:focus-visible,.cartbtn:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.qty button{min-height:40px;min-width:40px}
.card .ph img{transition:transform .2s}.card:hover .ph img{transform:scale(1.04)}
.empty{padding:30px;text-align:center;color:var(--muted)}
@media(max-width:860px){
  .wrap{padding:0 14px}
  .bar{height:58px;gap:10px}.logo{font-size:18px}.logo-mark{width:28px;height:28px}
  .cartbtn{padding:8px 12px}
  .hero{padding:34px 0 30px}.hero p{font-size:16px;margin:12px 0 18px}
  .search{flex-direction:column}.search .btn{width:100%}
  .strip ul{grid-template-columns:1fr 1fr;gap:6px;font-size:13px;padding:10px 0}
  .block{padding:32px 0}.block>.wrap>h2,.sec-h{font-size:24px}
  .cats{display:flex;overflow-x:auto;gap:10px;margin:0 -14px 18px;padding:2px 14px 8px;scroll-snap-type:x proximity}
  .cat{flex:0 0 auto;min-width:130px;scroll-snap-align:start}
  .toolbar input,.toolbar select{max-width:none;flex:1 1 100%}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card .ph{height:130px}.card .ph img{max-height:104px}
  .card .in{padding:11px;gap:4px}.card h3{font-size:14px}.card .bl{display:none}
  .pr b{font-size:17px}
  .addrow{flex-direction:column}.addrow .btn{width:100%}.addrow .qty{align-self:stretch}.addrow .qty input{flex:1;width:auto}
  .drawer,.drawer.wide{width:100%}
  .modal{align-items:end;padding:0}
  .modal .box{border-radius:18px 18px 0 0;max-height:92vh}
  .modal .pic{min-height:180px;padding:14px}.modal .pic img{max-height:180px}
  .modal .txt{padding:16px}
  .stepper div{min-width:0;flex:1 1 30%;font-size:12px;padding:8px}
  .panel{padding:16px}.page{padding:22px 0 50px}.page h1{font-size:24px}
  .line{grid-template-columns:48px 1fr auto}.line img{width:48px;height:48px}
  .kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi b{font-size:21px}
  .main{padding:14px}.main h1{font-size:22px}
  .side{position:sticky;top:0;z-index:20}.side button{white-space:nowrap;padding:9px 12px}
  .bank dl{grid-template-columns:1fr auto}.bank dt{grid-column:1/-1;margin-top:6px}
  .table{font-size:13px}.table td,.table th{padding:8px 6px}
  .foot{padding:22px 0}
}
@media(max-width:380px){.grid{grid-template-columns:1fr}.card .bl{display:block}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.assure{list-style:none;padding:0!important;margin:10px 0 0;display:grid;gap:4px;font-size:13px;color:var(--ink2)}
.assure li:before{content:"\2713";color:var(--ok);font-weight:800;margin-right:8px}

/* sticky basket (mobile) */
.stickycart{display:none}
body.locked{overflow:hidden}
@media(max-width:860px){
  .stickycart{position:fixed;left:0;right:0;bottom:0;z-index:35;display:flex;gap:10px;justify-content:space-between;align-items:center;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(14,28,43,.08)}
  .stickycart.hidden{display:none}
  .stickycart .btn{flex:1}
  body:has(.stickycart:not(.hidden)) .foot{padding-bottom:84px}
}

/* invoice / print */
.doc{background:#e9eef3}
.docbar{max-width:860px;margin:18px auto 0;padding:0 16px;display:flex;gap:8px}
.paper{max-width:860px;margin:14px auto 40px;background:#fff;padding:40px;border-radius:12px;box-shadow:var(--sh)}
.dhead{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.dhead h1{font-size:26px;margin-bottom:6px}
.dparties{margin-bottom:22px}
.dtotals{display:flex;justify-content:flex-end;margin:16px 0}
.dtotals .sum{min-width:300px}
.dfoot{margin-top:26px;font-size:12px}
@media(max-width:600px){.paper{padding:18px;margin:10px}.dtotals .sum{min-width:0;width:100%}}
@media print{
  .noprint,.top,.foot,.stickycart{display:none!important}
  body,.doc{background:#fff}
  .paper{box-shadow:none;margin:0;max-width:none;padding:0}
  .bank{break-inside:avoid}
}


/* MPN badge & datasheet styles */
.card-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px}
.mpn-tag{color:var(--ink2);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;background:#f1f5f9;padding:1px 6px;border-radius:4px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mpn-badge{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;background:#e2e8f0;color:#0f172a;padding:2px 8px;border-radius:4px;font-weight:600}
.ds-wrap{margin:10px 0 6px}
.ds-btn{display:inline-flex;align-items:center;gap:6px;font-weight:600;text-decoration:none;padding:8px 14px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a}
.ds-btn:hover{background:#e2e8f0;border-color:#94a3b8}

/* ===== SUBLIME B2B TRADE STYLING & BRAND SHOWCASE ===== */

/* Top Bar Announcement */
.top-bar{background:#08121f;color:#e2e8f0;font-size:12px;border-bottom:1px solid #1e293b;padding:6px 0}
.top-bar-in{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.top-bar-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.badge-pill{background:#0e7490;color:#fff;font-weight:800;font-size:10px;padding:2px 7px;border-radius:4px;letter-spacing:.4px}
.badge-pill.ofgem{background:#d97706}
.top-bar-text{color:#94a3b8;font-weight:500}
.top-bar-right{display:flex;align-items:center;gap:14px}
.tb-link{color:#e2e8f0;text-decoration:none;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.tb-link:hover{color:#38bdf8}
.tb-link.wa{color:#4ade80}
.tb-link.wa:hover{color:#86efac}

/* Logo enhancement */
.logo-wrap{display:flex;flex-direction:column;line-height:1.15}
.logo-sub{font-size:10px;color:var(--muted);font-weight:500;letter-spacing:0}

/* Hero Section Split Layout */
.hero{background:radial-gradient(1000px 500px at 20% 0%,#164e6344,transparent),linear-gradient(135deg,#07111e 0%,#0c2238 60%,#0a3747 100%);color:#fff;padding:48px 0 54px;border-bottom:1px solid rgba(255,255,255,.08)}
.hero-wrap{display:grid;grid-template-columns:1.2fr 0.8fr;gap:40px;align-items:center}
.hero-tag{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);padding:4px 10px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:.6px;color:#38bdf8;margin-bottom:14px}
.hero h1{font-size:clamp(28px,4.2vw,44px);line-height:1.18;margin:0 0 14px;letter-spacing:-.4px}
.hero h1 em{font-style:normal;color:#fb923c}
.hero-lead{font-size:16px;line-height:1.6;color:#cbd5e1;margin:0 0 22px;max-width:580px}
.hero-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.hero-pill{display:inline-flex;align-items:center;gap:6px;background:rgba(15,23,42,.6);border:1px solid rgba(255,255,255,.12);padding:5px 11px;border-radius:8px;font-size:12px;font-weight:600;color:#e2e8f0}
.pill-dot{width:7px;height:7px;border-radius:99px}
.pill-dot.ok{background:#22c55e}
.pill-dot.amber{background:#f59e0b}
.pill-dot.cyan{background:#06b6d4}
.pill-dot.blue{background:#3b82f6}

/* Hero Showcase Card */
.hero-showcase{background:#ffffff;border-radius:16px;overflow:hidden;box-shadow:0 20px 45px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.2);color:#0f172a;position:relative}
.showcase-badge{position:absolute;top:12px;left:12px;z-index:2;background:#0f172a;color:#38bdf8;font-size:10px;font-weight:800;padding:4px 10px;border-radius:99px;letter-spacing:.6px;border:1px solid #334155}
.showcase-img{height:200px;background:linear-gradient(180deg,#f8fafc,#e2e8f0);display:grid;place-items:center;padding:16px}
.showcase-img img{max-height:180px;max-width:90%;object-fit:contain;transition:transform .3s}
.hero-showcase:hover .showcase-img img{transform:scale(1.05)}
.showcase-details{padding:18px 20px}
.showcase-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
.showcase-brand{font-size:12px;font-weight:700;color:#64748b}
.showcase-mpn{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;background:#f1f5f9;padding:2px 6px;border-radius:4px;color:#0f172a}
.showcase-title{font-size:17px;font-weight:750;margin:0 0 10px;color:#0f172a;line-height:1.3}
.showcase-pricing{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.showcase-price{font-size:24px;font-weight:850;color:#0f172a}
.showcase-ref{font-size:14px;color:#94a3b8;text-decoration:line-through}
.showcase-unit{font-size:12px;color:#64748b;font-weight:600}
.showcase-specs{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:5px;font-size:12px;color:#334155}
.showcase-specs li:before{content:"✓";color:#16a34a;font-weight:800;margin-right:6px}
.showcase-btn{width:100%;text-align:center;box-sizing:border-box}

/* Brands & Accreditations Strip */
.brands-section{background:#ffffff;padding:46px 0 42px;border-bottom:1px solid var(--line)}
.brands-header{text-align:center;max-width:740px;margin:0 auto 30px}
.sub-lead{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1px;color:#0284c7;text-transform:uppercase;margin-bottom:6px}
.brands-header h2{font-size:26px;color:#0f172a;margin-bottom:8px}

/* Institutional Accreditations Strip */
.accred-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}
.accred-card{display:flex;align-items:center;gap:16px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;padding:16px 20px;transition:.2s ease}
.accred-card:hover{background:#ffffff;border-color:#0b7285;box-shadow:0 6px 20px rgba(11,114,133,.08);transform:translateY(-2px)}
.accred-logo{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:125px}
.accred-logo img{max-height:40px;max-width:100%;object-fit:contain}
.accred-icon{font-size:32px;line-height:1;flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;background:#e0f2fe;border-radius:10px}
.accred-body{flex:1}
.accred-body b{display:block;font-size:13.5px;font-weight:750;color:var(--ink);margin-bottom:3px;line-height:1.3}
.accred-body p{font-size:11.5px;color:var(--muted);margin:0;line-height:1.45}
body.site-mode .accred-card{background:#0b1522;border-color:#1e3347}
body.site-mode .accred-card:hover{background:#0f1f33;border-color:#38bdf8}
body.site-mode .accred-body b{color:#f1f5f9}
body.site-mode .accred-body p{color:#94a3b8}
body.site-mode .accred-icon{background:#172554}

/* Brand Grid & Items with Subtags */
.brands-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;align-items:stretch}
.brand-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 14px;transition:.2s ease;cursor:pointer;text-decoration:none}
.brand-item:hover{background:#ffffff;border-color:#cbd5e1;box-shadow:0 6px 16px rgba(15,23,42,.08);transform:translateY(-2px)}
.brand-item img{max-height:34px;max-width:85%;object-fit:contain;margin-bottom:5px}
.brand-subtag{display:block;font-size:11px;font-weight:600;color:#64748b;text-align:center;white-space:nowrap}
body.site-mode .brand-item{background:#0b1522;border-color:#1e3347}
body.site-mode .brand-item:hover{background:#101e30;border-color:#334155}
body.site-mode .brand-subtag{color:#94a3b8}

/* Category Visual Tiles (Visual Banners) */
.cat-tiles-section{padding:38px 0 10px}
.cat-tiles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cat-tile{position:relative;border-radius:14px;overflow:hidden;background:#0f172a;color:#fff;min-height:240px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--sh);border:1px solid var(--line)}
.cat-tile-img{position:absolute;inset:0;opacity:.45;transition:transform .4s,opacity .4s}
.cat-tile-img img{width:100%;height:100%;object-fit:cover}
.cat-tile:hover .cat-tile-img{transform:scale(1.06);opacity:.35}
.cat-tile-overlay{position:relative;z-index:2;padding:22px;background:linear-gradient(180deg,transparent 0%,rgba(15,23,42,.95) 70%)}
.cat-tile-badge{display:inline-block;background:#0284c7;color:#fff;font-size:10px;font-weight:800;padding:3px 8px;border-radius:4px;letter-spacing:.4px;margin-bottom:8px}
.cat-tile-badge.ofgem{background:#d97706}
.cat-tile h3{font-size:19px;font-weight:750;margin:0 0 6px;line-height:1.25}
.cat-tile p{font-size:13px;color:#cbd5e1;margin:0 0 14px;line-height:1.45}
.cat-tile-btn{align-self:flex-start}

/* Dedicated MCS & Ofgem Accreditation Section */
.compliance-section{background:#f8fafc;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:54px 0}
.compliance-banner{background:#0e1c2b;color:#ffffff;border-radius:18px;padding:36px;box-shadow:0 12px 36px rgba(14,28,43,.15)}
.compliance-banner-head{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin-bottom:30px;padding-bottom:24px;border-bottom:1px solid #334155}
.compliance-badges{display:flex;gap:14px;flex-wrap:wrap}
.compliance-badges img{border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.compliance-banner-head h2{font-size:24px;color:#ffffff;margin-bottom:6px}
.compliance-banner-head p{color:#94a3b8;font-size:15px;margin:0}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.comp-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:18px;transition:.2s}
.comp-card:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.2)}
.comp-icon{font-size:24px;margin-bottom:10px}
.comp-card h4{font-size:15px;font-weight:750;color:#ffffff;margin:0 0 6px}
.comp-card p{font-size:13px;color:#cbd5e1;margin:0;line-height:1.5}

/* Footer enhancements */
.foot-badges{display:flex;gap:14px;margin-bottom:14px;flex-wrap:wrap}
.foot-badges img{border-radius:6px;background:#0f172a;padding:2px}
.foot-lead{font-weight:600;color:var(--ink2);margin-bottom:10px;font-size:14px}

/* Responsive adjustments */
@media(max-width:1024px){
  .hero-wrap{grid-template-columns:1fr;gap:30px}
  .hero-right{max-width:480px;margin:0 auto;width:100%}
  .accred-strip{grid-template-columns:1fr}
  .brands-grid{grid-template-columns:repeat(3,1fr)}
  .cat-tiles-grid{grid-template-columns:1fr}
  .grid4{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .top-bar-in{flex-direction:column;align-items:flex-start}
  .top-bar-right{width:100%;justify-content:space-between}
  .brands-grid{grid-template-columns:repeat(2,1fr)}
  .grid4{grid-template-columns:1fr}
  .compliance-banner{padding:20px}
  .kit-preview-bar{flex-wrap:wrap;justify-content:center}
}

/* Product badges for MCS & OFGEM */
.badge.mcs-pill{background:#0e7490;color:#fff;left:auto;right:10px}
.badge.ofgem-pill{background:#d97706;color:#fff;left:auto;right:10px}
.comp-callout{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:10px;margin:12px 0 16px;font-size:13px;line-height:1.45}
.comp-callout.mcs{background:#f0f9ff;border:1px solid #bae6fd;color:#0369a1}
.comp-callout.ofgem{background:#fffbeb;border:1px solid #fde68a;color:#92400e}
.comp-callout b{display:block;margin-bottom:2px;font-size:13px}
.comp-callout p{margin:0;font-size:12px}
.comp-callout-icon{font-size:20px;line-height:1}

/* Brand & Category Tile interactivity */
.brand-item{cursor:pointer}
.cat-tile{cursor:pointer}
.cat-tile:focus-visible{outline:3px solid #38bdf8;outline-offset:2px}

/* Large Warehouse Panoramic Bandeau */
.warehouse-band{padding:20px 0 40px}
.warehouse-card{position:relative;border-radius:20px;overflow:hidden;background:#091522;box-shadow:0 20px 45px rgba(14,28,43,.25);border:1px solid rgba(255,255,255,.1);min-height:380px;display:flex;align-items:center}
.warehouse-bg{position:absolute;inset:0;opacity:.55;transition:transform .6s ease}
.warehouse-bg img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.warehouse-card:hover .warehouse-bg{transform:scale(1.03)}
.warehouse-overlay{position:relative;z-index:2;padding:48px 40px;max-width:760px;background:linear-gradient(90deg,rgba(9,21,34,.95) 0%,rgba(9,21,34,.85) 60%,rgba(9,21,34,.4) 100%);color:#fff}
.warehouse-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,146,43,.15);border:1px solid #ff922b;color:#ff922b;font-size:11px;font-weight:800;letter-spacing:1px;padding:4px 10px;border-radius:99px;margin-bottom:14px}
.warehouse-overlay h2{font-size:clamp(24px,3.2vw,36px);margin:0 0 12px;color:#fff;line-height:1.2}
.warehouse-desc{font-size:15px;line-height:1.6;color:#cbd5e1;margin:0 0 24px}
.warehouse-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.wkpi{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(6px);border-radius:12px;padding:12px 14px;text-align:center}
.wkpi-num{display:block;font-size:24px;font-weight:850;color:#38bdf8;line-height:1.1}
.wkpi-lbl{display:block;font-size:11px;color:#cbd5e1;font-weight:600;margin-top:4px}

@media(max-width:860px){
  .warehouse-overlay{padding:26px 20px;max-width:none;background:rgba(9,21,34,.9)}
  .warehouse-kpis{grid-template-columns:repeat(2,1fr);gap:10px}
  .wkpi-num{font-size:20px}
}

/* Checkout summary & Line Items */
.sum-list{display:flex;flex-direction:column;gap:12px;margin:12px 0}
.sum-item{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.sum-thumb{width:48px;height:48px;object-fit:contain;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;padding:2px}
.sum-item-nm{font-weight:600;font-size:13px;color:#0f172a}
.sum-item-meta{font-size:11px;color:var(--muted)}
.sum-item-price{font-size:14px;color:#0f172a;white-space:nowrap}
.sum-total-row{display:flex;justify-content:space-between;padding-top:10px;border-top:2px solid var(--line);font-size:16px}
.checkout-reassurance{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:14px;border-top:1px dashed var(--line)}
.reassure-pill{background:#f1f5f9;color:#334155;font-size:11px;font-weight:700;padding:4px 8px;border-radius:6px}

/* Done receipt panel */
.done-panel{background:#ffffff;border:1px solid #cbd5e1;border-radius:16px;box-shadow:0 10px 25px rgba(15,23,42,.08)}
.done-badge{display:inline-block;background:#15803d;color:#ffffff;font-size:11px;font-weight:800;letter-spacing:.6px;padding:4px 10px;border-radius:99px;margin-bottom:12px}
.done-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:20px 0}
.done-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px}
.done-box b{display:block;margin-bottom:6px;font-size:13px;color:#0f172a}
.done-box p{margin:2px 0;font-size:13px}
.done-ref{font-size:18px;font-weight:800;color:#0284c7;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600}
.done-actions{margin-top:24px}

/* Review Cards & Social Proof */
.sec-head-center{text-align:center;max-width:680px;margin:0 auto 32px}
.sec-head-center h2{font-size:26px;color:#0f172a;margin:6px 0}
.reviews-grid{gap:20px}
.review-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 4px 14px rgba(15,23,42,.04);transition:.2s}
.review-card:hover{border-color:#cbd5e1;box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-2px)}
.review-stars{color:#f59e0b;font-size:16px;letter-spacing:2px;margin-bottom:12px}
.review-body{font-size:14px;line-height:1.6;color:#334155;margin:0 0 18px;font-style:italic}
.review-author{display:flex;align-items:center;gap:12px;border-top:1px solid #f1f5f9;padding-top:14px}
.review-avatar{width:38px;height:38px;border-radius:99px;background:#0e1c2b;color:#38bdf8;font-weight:800;font-size:13px;display:grid;place-items:center}
.review-author b{display:block;font-size:13px;color:#0f172a}
.review-author span{display:block;font-size:11px;color:var(--muted)}

/* Floating WhatsApp Desk Pill */
.floating-desk{position:fixed;bottom:24px;right:24px;z-index:30;display:flex;align-items:center;gap:8px;background:#0f172a;color:#fff;padding:10px 16px;border-radius:99px;box-shadow:0 10px 30px rgba(0,0,0,.25);border:1px solid #334155;text-decoration:none;font-weight:600;font-size:13px;transition:.2s}
.floating-desk:hover{background:#164e63;border-color:#38bdf8;color:#fff;transform:translateY(-2px)}
.floating-desk-icon{font-size:16px}
.floating-desk-pulse{width:8px;height:8px;border-radius:99px;background:#22c55e;animation:pulse 2s infinite}
@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(1.2)}100%{opacity:1;transform:scale(1)}}
@media(max-width:860px){.floating-desk{bottom:76px;right:14px;padding:8px 12px;font-size:12px}}

/* Depot Info & Opening Hours */
.depot-badge{display:inline-block;background:#0284c7;color:#fff;font-size:10px;font-weight:800;letter-spacing:.6px;padding:3px 8px;border-radius:4px;margin-bottom:8px}
.depot-schedule{list-style:none;padding:0;margin:10px 0;display:grid;gap:4px;font-size:13px;color:#334155}
.depot-schedule li{display:flex;justify-content:space-between;border-bottom:1px dashed #e2e8f0;padding:3px 0}

/* Hero contact quick strip */
.hero-contact-strip{display:flex;align-items:center;gap:18px;margin-top:16px;font-size:13px;color:#cbd5e1;flex-wrap:wrap}
.hero-tel{color:#38bdf8;font-weight:700;text-decoration:none}
.hero-tel:hover{text-decoration:underline}
.hero-wa{color:#4ade80;font-weight:700;text-decoration:none}
.hero-wa:hover{text-decoration:underline}

/* =====================================================================
   SITE MODE (HIGH CONTRAST / DARK MODE FOR ON-SITE CONTRACTORS)
   ===================================================================== */
body.site-mode {
  --ink: #f1f5f9;
  --ink2: #cbd5e1;
  --muted: #94a3b8;
  --bg: #09111a;
  --card: #0f1d2d;
  --line: #1e3347;
  --teal: #38bdf8;
  --teal-l: #0c2d48;
  --sh: 0 4px 20px rgba(0,0,0,0.5);
}
body.site-mode .top {
  background: rgba(10, 18, 28, 0.95);
  border-bottom-color: #1e3347;
}
body.site-mode input,
body.site-mode select,
body.site-mode textarea {
  background: #0b1522;
  color: #f1f5f9;
  border-color: #223c54;
}
body.site-mode .card,
body.site-mode .panel,
body.site-mode .review-card,
body.site-mode .box,
body.site-mode .drawer {
  background: #0f1d2d;
  border-color: #1e3347;
  color: #f1f5f9;
}
body.site-mode .cat {
  background: #0f1d2d;
  border-color: #1e3347;
  color: #f1f5f9;
}
body.site-mode .cat.on {
  background: #1e3a5f;
  border-color: #38bdf8;
}
body.site-mode .strip {
  background: #0b1624;
  border-bottom-color: #1e3347;
}
body.site-mode .strip ul {
  color: #cbd5e1;
}
body.site-mode .foot {
  background: #070d14;
  border-top-color: #1e3347;
}
body.site-mode .table th {
  background: #0b1624;
  color: #94a3b8;
}
body.site-mode .table td {
  border-bottom-color: #1e3347;
  color: #f1f5f9;
}
body.site-mode .sum-thumb {
  background: #0b1624;
  border-color: #1e3347;
}
body.site-mode .sum-item-nm,
body.site-mode .sum-item-price,
body.site-mode .review-author b,
body.site-mode .sec-head-center h2,
body.site-mode .done-box b {
  color: #f1f5f9;
}
body.site-mode .done-box {
  background: #0b1624;
  border-color: #1e3347;
}
body.site-mode .review-body {
  color: #cbd5e1;
}

/* Header theme toggle */
.theme-toggle {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: .15s;
}
.theme-toggle:hover {
  background: var(--teal-l);
  border-color: var(--teal);
  color: var(--teal);
}
body.site-mode .theme-toggle {
  border-color: #2b4560;
  color: #38bdf8;
}

/* =====================================================================
   PURE CSS SHIMMER SKELETON LOADER (CSP COMPLIANT)
   ===================================================================== */
@keyframes shimmerAnim {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card {
  pointer-events: none;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skeleton-box, .skel-bar {
  background: linear-gradient(90deg, rgba(14,28,43,0.06) 25%, rgba(14,28,43,0.14) 50%, rgba(14,28,43,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmerAnim 1.6s infinite ease-in-out;
  border-radius: 6px;
}
body.site-mode .skeleton-box,
body.site-mode .skel-bar {
  background: linear-gradient(90deg, #132233 25%, #233a52 50%, #132233 75%);
  background-size: 200% 100%;
}
.skeleton-ph {
  height: 200px;
  width: 100%;
  border-radius: 0;
}
.skeleton-in {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skel-bar.brand { width: 35%; height: 12px; }
.skel-bar.title { width: 85%; height: 18px; margin: 4px 0; }
.skel-bar.desc { width: 95%; height: 14px; }
.skel-bar.desc-short { width: 60%; height: 14px; }
.skel-bar.price { width: 45%; height: 22px; margin-top: 6px; }
.skel-bar.btn { width: 100%; height: 38px; border-radius: 8px; margin-top: 6px; }

/* =====================================================================
   DYNAMIC FREE UK PALLET SHIPPING PROGRESS BAR
   ===================================================================== */
.shipping-progress-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
}
body.site-mode .shipping-progress-card {
  background: #0b1624;
  border-color: #1e3347;
}
.shipping-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.shipping-progress-label b {
  color: var(--ok);
}
.shipping-progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
body.site-mode .shipping-progress-track {
  background: #1e3347;
}
.shipping-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0b7285, #2b8a3e);
  transition: width 0.3s ease;
  width: 0%;
}
.shipping-progress-fill.unlocked {
  background: linear-gradient(90deg, #15803d, #22c55e);
}
.pct-0 { width: 0%; }
.pct-5 { width: 5%; }
.pct-10 { width: 10%; }
.pct-15 { width: 15%; }
.pct-20 { width: 20%; }
.pct-25 { width: 25%; }
.pct-30 { width: 30%; }
.pct-35 { width: 35%; }
.pct-40 { width: 40%; }
.pct-45 { width: 45%; }
.pct-50 { width: 50%; }
.pct-55 { width: 55%; }
.pct-60 { width: 60%; }
.pct-65 { width: 65%; }
.pct-70 { width: 70%; }
.pct-75 { width: 75%; }
.pct-80 { width: 80%; }
.pct-85 { width: 85%; }
.pct-90 { width: 90%; }
.pct-95 { width: 95%; }
.pct-100 { width: 100%; }
.shipping-progress-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.shipping-badge-unlocked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
}
body.site-mode .shipping-badge-unlocked {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* =====================================================================
   QUICK VIEW BUTTON & MODAL TECH SPECS
   ===================================================================== */
.quick-view-btn {
  display: inline-flex;
  margin-bottom: 8px;
  width: 100%;
}
.modal-tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0;
}
.modal-tech-table th {
  text-align: left;
  padding: 6px 8px;
  background: #f1f5f9;
  color: var(--muted);
  font-weight: 600;
  width: 38%;
  border-bottom: 1px solid var(--line);
}
.modal-tech-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
body.site-mode .modal-tech-table th {
  background: #0b1624;
  color: #94a3b8;
}
.stock-depot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  margin: 8px 0;
}
.stock-depot-badge.in {
  background: #dcfce7;
  color: #166534;
}
body.site-mode .stock-depot-badge.in {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* =====================================================================
   1-CLICK KIT BUILDER & CONFIGURATOR
   ===================================================================== */
.kit-builder-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
body.site-mode .kit-builder-section {
  background: linear-gradient(180deg, #09121c 0%, #0d1a29 100%);
  border-color: #1e3347;
}
.kit-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.kit-head h2 { font-size: 28px; margin: 6px 0; }
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.kit-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition: .2s;
}
.kit-card:hover {
  border-color: #0b7285;
  box-shadow: 0 12px 30px rgba(11,114,133,0.12);
}
.kit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.kit-badge.bus {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.kit-badge.solar {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}
.kit-title {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}
.kit-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
/* Equipment Photo Preview Bar */
.kit-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  gap: 8px;
}
body.site-mode .kit-preview-bar {
  background: #08111d;
  border-color: #1e3347;
}
.kit-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 1;
}
.kit-preview-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
body.site-mode .kit-preview-item img {
  background: #0f1c2b;
  border-color: #334155;
}
.kit-preview-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
body.site-mode .kit-preview-item span {
  color: #cbd5e1;
}
.kit-preview-plus {
  font-size: 20px;
  font-weight: 800;
  color: #94a3b8;
  user-select: none;
}
.kit-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 12px 0;
}
.kit-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 8px;
}
.kit-item-qty {
  font-weight: 700;
  color: #0b7285;
  min-width: 24px;
}
.kit-item-name {
  flex: 1;
  color: var(--ink);
}
.kit-item-brand {
  font-size: 11px;
  color: var(--muted);
}
.kit-calc-panel {
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
  margin-top: auto;
  border: 1px solid #e2e8f0;
}
body.site-mode .kit-calc-panel {
  background: #0b1522;
  border-color: #1e3347;
}
.kit-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}
.kit-calc-row.save {
  color: #2b8a3e;
  font-weight: 600;
}
.kit-calc-row.grant {
  color: #6366f1;
  font-weight: 700;
}
.kit-calc-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  border-top: 1.5px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
}
.kit-add-btn {
  width: 100%;
  margin-top: 14px;
}

/* =====================================================================
   ADVANCED CATALOG FILTERS
   ===================================================================== */
.adv-filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}
body.site-mode .adv-filters-bar {
  background: #0b1522;
  border-color: #1e3347;
}
.adv-filters-bar select {
  max-width: 180px;
  padding: 8px 10px;
  font-size: 13px;
}
.adv-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink2);
}
.adv-filter-check input {
  width: auto;
  cursor: pointer;
}

/* =====================================================================
   DEDICATED PAGES (CREDIT ACCOUNT, DEPOT, DATASHEETS)
   ===================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0e1c2b, #0b4f5c);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 32px;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.page-hero p { max-width: 680px; font-size: 16px; opacity: .92; margin: 0; }
.facility-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
}
.facility-pill.on {
  border-color: #0b7285;
  background: var(--teal-l);
  color: #0b7285;
}
body.site-mode .facility-pill {
  background: #0b1522;
  border-color: #1e3347;
  color: #f1f5f9;
}
body.site-mode .facility-pill.on {
  background: #0c2d48;
  border-color: #38bdf8;
  color: #38bdf8;
}
.depot-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .depot-hero-grid { grid-template-columns: 1fr; }
}
.depot-directions-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--sh);
}
.depot-dock-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
body.site-mode .depot-dock-box {
  background: #0b1522;
  border-color: #1e3347;
}

/* Datasheet cards */
.datasheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.datasheet-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sh);
  transition: .15s;
}
.datasheet-card:hover {
  border-color: #0b7285;
  transform: translateY(-2px);
}
.datasheet-type-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  align-self: flex-start;
  margin-bottom: 8px;
}
.datasheet-type-badge.mcs { background: #e0f2fe; color: #0369a1; }
.datasheet-type-badge.erp { background: #fef3c7; color: #b45309; }
.datasheet-brand-logo {
  max-height: 22px;
  max-width: 80px;
  object-fit: contain;
  margin-left: auto;
}

/* Carrier live tracking badge & links */
.carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.track-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: underline;
  margin-left: 8px;
}
.stock-warning-banner {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stock-warning-banner b { color: #b45309; }
.low-stock-row {
  background: #fef9c3 !important;
}
body.site-mode .low-stock-row {
  background: #2a2007 !important;
}

/* White-label delivery receipt note */
.whitelabel-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.delivery-receipt-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
}
body.site-mode .delivery-receipt-box {
  background: #0f1c2b;
  border-color: #334155;
}
.delivery-receipt-sig {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 10px;
}
.delivery-receipt-line {
  flex: 1;
  border-top: 1px solid #94a3b8;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}

/* =====================================================================
   PRODUCT CARD & MODAL VISUAL CLARITY ENHANCEMENTS
   ===================================================================== */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.card-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.2;
}
.card-brand-badge img {
  height: 15px;
  max-width: 60px;
  object-fit: contain;
}
body.site-mode .card-brand-badge {
  background: #0b1522;
  border-color: #1e3347;
  color: #94a3b8;
}
.card-spec-preview {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 3px;
  font-size: 11.5px;
  color: #475569;
}
body.site-mode .card-spec-preview {
  color: #94a3b8;
}
.card-spec-preview li:before {
  content: "•";
  color: #0b7285;
  font-weight: 800;
  margin-right: 6px;
}
.card-action-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}
.card-action-bar.has-pdf {
  grid-template-columns: 1fr auto;
}
.card-pdf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s ease-out;
  user-select: none;
}
.card-pdf-chip:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
  transform: translateY(-1px);
}
body.site-mode .card-pdf-chip {
  background: #0f1c2b;
  border-color: #334155;
  color: #38bdf8;
}
.quick-view-btn {
  width: 100%;
}

/* Modal Trade Desk direct contact */
.modal-brand-badge {
  padding: 4px 10px;
  font-size: 12.5px;
}
.modal-brand-badge img {
  height: 20px;
  max-width: 80px;
}
.modal-trade-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: center;
}
body.site-mode .modal-trade-contact {
  background: #0b1522;
  border-color: #1e3347;
}
.modal-trade-contact-txt {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  flex: 1;
  min-width: 160px;
}
.modal-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s ease;
  user-select: none;
}
.modal-contact-pill.tel {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.modal-contact-pill.tel:hover {
  background: #bae6fd;
  transform: translateY(-1px);
}
.modal-contact-pill.wa {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.modal-contact-pill.wa:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}
body.site-mode .modal-contact-pill.tel {
  background: #082f49;
  color: #38bdf8;
  border-color: #0369a1;
}
body.site-mode .modal-contact-pill.wa {
  background: #052e16;
  color: #4ade80;
  border-color: #15803d;
}

/* =====================================================================
   ELECTRONIC SIGNATURE PAD & TRADE CONTRACT EXECUTION
   ===================================================================== */
.sign-panel {
  margin-top: 24px;
}
.sign-box-wrap {
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.site-mode .sign-box-wrap {
  background: #08111d;
  border-color: #334155;
}
.sign-canvas {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;
  width: 100%;
  max-width: 600px;
  height: 180px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}
body.site-mode .sign-canvas {
  background: #f8fafc;
}
.sign-tools {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.sign-watermark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #64748b;
  text-transform: uppercase;
}
body.site-mode .sign-watermark {
  color: #94a3b8;
}
.cert-box {
  background: #f8fafc;
  border: 1.5px solid #0b7285;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  text-align: left;
}
body.site-mode .cert-box {
  background: #091522;
  border-color: #38bdf8;
}
.cert-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.cert-ref {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: #0b7285;
}
body.site-mode .cert-ref {
  color: #38bdf8;
}
.sig-img-wrap {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
  display: inline-block;
}
.sig-img {
  max-height: 80px;
  max-width: 240px;
  display: block;
}
.cert-bank-info {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}

/* =====================================================================
   CONTRACTOR CLIENT DASHBOARD & SAAS STYLING
   ===================================================================== */
.dash-head {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(14,28,43,0.04);
}
.dash-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dash-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.dash-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}
.dash-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.dash-meta-pill {
  font-size: 13px;
  color: var(--muted);
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
}
.dash-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.dash-kpis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.dash-kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(14,28,43,0.04);
  position: relative;
  overflow: hidden;
}
.dash-kpi.alert {
  border-color: #fdba74;
  background: #fffaf0;
}
.dash-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.dash-kpi-icon {
  font-size: 20px;
}
.dash-kpi-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin: 4px 0 2px;
}
.dash-kpi-sub {
  font-size: 12.5px;
  color: var(--muted);
}
.credit-gauge-wrap {
  margin-top: 8px;
}
.credit-gauge-bar {
  background: #e2e8f0;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.credit-gauge-fill {
  background: linear-gradient(90deg, #0b7285, #0284c7);
  height: 100%;
  border-radius: 99px;
  transition: width .3s ease;
}
.credit-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
.dash-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.dash-tabs-bar::-webkit-scrollbar {
  display: none;
}
.dash-tab-btn {
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--ink2);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all .15s ease;
}
.dash-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.dash-tab-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.dash-tab-count {
  background: #e2e8f0;
  color: var(--ink);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
}
.dash-tab-btn.active .dash-tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.dash-orders-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-order-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(14,28,43,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dash-order-card:hover {
  box-shadow: 0 4px 12px rgba(14,28,43,0.07);
}
.dash-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dash-order-ref-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dash-order-ref {
  font-size: 17px;
  font-weight: 800;
  font-family: ui-monospace, Consolas, monospace;
  color: var(--ink);
}
.dash-order-date {
  font-size: 13px;
  color: var(--muted);
}
.dash-order-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-order-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.dash-order-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 800px) {
  .dash-order-body {
    grid-template-columns: 1fr;
  }
}
.dash-order-items-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-order-items-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.dash-order-items-count {
  font-size: 13px;
  color: var(--muted);
}
.dash-order-meta-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.dash-order-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-carrier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}
.dash-carrier-chip a {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
}
.dash-order-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.btn-dash-sign {
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(234,88,12,0.3);
}
.btn-dash-sign:hover {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
}
.dash-quote-callout {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}
.dash-quote-callout b {
  color: #92400e;
}
.dash-quick-support {
  background: linear-gradient(135deg, #0e1c2b, #133347);
  color: #fff;
  border-radius: var(--r);
  padding: 22px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.dash-quick-support h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.dash-quick-support p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}
.dash-support-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Site Mode / Dark Theme overrides */
body.site-mode .dash-head,
body.site-mode .dash-kpi,
body.site-mode .dash-order-card {
  background: #091522;
  border-color: #1e3347;
}
body.site-mode .dash-title,
body.site-mode .dash-kpi-val,
body.site-mode .dash-order-ref,
body.site-mode .dash-order-total,
body.site-mode .dash-order-items-text {
  color: #f1f5f9;
}
body.site-mode .dash-badge-verified {
  background: #052e16;
  color: #4ade80;
  border-color: #15803d;
}
body.site-mode .dash-meta-pill {
  background: #132235;
  color: #94a3b8;
}
body.site-mode .dash-tab-btn {
  background: #091522;
  border-color: #1e3347;
  color: #cbd5e1;
}
body.site-mode .dash-tab-btn:hover {
  background: #132235;
}
body.site-mode .dash-tab-btn.active {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
body.site-mode .dash-tab-count {
  background: #1e3347;
  color: #cbd5e1;
}
body.site-mode .dash-kpi.alert {
  background: #1c1409;
  border-color: #7c2d12;
}
body.site-mode .credit-gauge-bar {
  background: #1e3347;
}
body.site-mode .dash-quote-callout {
  background: #1c1409;
  border-color: #78350f;
  color: #fde68a;
}
body.site-mode .dash-quote-callout b {
  color: #fbbf24;
}
body.site-mode .dash-carrier-chip {
  background: #052e16;
  border-color: #166534;
  color: #86efac;
}
body.site-mode .dash-carrier-chip a {
  color: #4ade80;
}



