:root{--accent:#2563eb;--bg:#f6f7fb;--surface:#fff;--text:#0f172a;--muted:#64748b;--border:#e2e8f0;--good:#16a34a;--bad:#dc2626;--warn:#d97706;--radius:14px;--shadow:0 1px 2px rgba(15,23,42,.06),0 6px 20px rgba(15,23,42,.05)}
[data-theme=dark]{--bg:#0b1020;--surface:#131a2e;--text:#e6eaf5;--muted:#94a3b8;--border:#243049;--shadow:0 1px 2px rgba(0,0,0,.4),0 6px 20px rgba(0,0,0,.25)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;display:block}
h1,h2,h3,h4{line-height:1.25;margin:0 0 .6em}
h1{font-size:clamp(1.5rem,3.5vw,2.2rem)}h2{font-size:1.4rem}h3{font-size:1.1rem}
.container{width:min(1440px,96%);margin:0 auto}.narrow{width:min(760px,94%)}
.center{text-align:center}.muted{color:var(--muted)}.small{font-size:.84rem}.good{color:var(--good)}.bad{color:var(--bad)}.warn{color:var(--warn)}
.grow{flex:1;min-width:0}.nowrap{white-space:nowrap}.prewrap{white-space:pre-wrap}.inline{display:inline-flex;align-items:center;gap:8px}
.section{padding:28px 0}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.pad{padding:20px;margin-bottom:16px}
.empty{padding:40px;text-align:center;color:var(--muted)}
hr{border:0;border-top:1px solid var(--border);margin:14px 0}
code,pre{font-family:ui-monospace,Menlo,Consolas,monospace}

/* buttons & forms */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--accent);color:#fff;border:1px solid var(--accent);padding:9px 16px;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;transition:.15s;text-decoration:none;font-family:inherit}
.btn:hover{filter:brightness(1.08);text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}
.btn.big{padding:12px 22px;font-size:1rem}.btn.small{padding:5px 10px;font-size:.82rem;border-radius:8px}.btn.block{display:flex;width:100%;margin-top:12px}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--border)}.btn.ghost:hover{border-color:var(--accent);color:var(--accent)}
.btn.danger{background:var(--bad);border-color:var(--bad)}.btn.good-btn{background:var(--good);border-color:var(--good)}
.btn-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.linkbtn{background:none;border:0;color:var(--accent);cursor:pointer;font:inherit;padding:6px 0;text-align:left}.linkbtn.bad{color:var(--bad)}
input,select,textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:9px 12px;width:100%;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent)}
input[type=color]{padding:2px;height:42px}
.field{margin-bottom:14px}.field label{display:block;font-weight:600;font-size:.9rem;margin-bottom:5px}.field small{display:block;margin-top:4px}
.check{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:.92rem}.check.inline{display:inline-flex;margin:0}
.checks{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.flash{padding:12px 16px;border-radius:10px;margin:14px 0;font-weight:500}
.flash.success{background:#dcfce7;color:#14532d}.flash.error{background:#fee2e2;color:#7f1d1d}
[data-theme=dark] .flash.success{background:#14301f;color:#86efac}[data-theme=dark] .flash.error{background:#3b1414;color:#fca5a5}
.pill{display:inline-block;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);padding:3px 10px;border-radius:99px;font-weight:600;font-size:.82rem}
.pill.small{padding:1px 8px;font-size:.72rem}

/* header */
.announce{background:var(--accent);color:#fff;text-align:center;font-size:.83rem;padding:6px 10px}.announce.offer{background:#b45309}
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;gap:16px;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.15rem;color:var(--text)!important;text-decoration:none!important}
.logo{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--accent),#7c3aed);color:#fff;font-weight:800}
.search{flex:1;display:flex;max-width:420px;position:relative}.search input{padding-right:40px;border-radius:99px}
.search button{position:absolute;right:4px;top:3px;background:none;border:0;cursor:pointer;font-size:1rem;padding:6px 8px}
.links{display:flex;gap:4px}.links a{color:var(--text);padding:8px 10px;border-radius:8px;font-weight:500}.links a:hover,.links a.on{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent);text-decoration:none}
.actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.cur-form select{padding:6px 8px;border-radius:8px;width:auto;font-size:.85rem}
.icon-btn{background:var(--bg);border:1px solid var(--border);border-radius:10px;width:38px;height:38px;cursor:pointer;font-size:1rem;color:var(--text)}
.cart-btn{position:relative;display:grid;place-items:center;width:42px;height:38px;border-radius:10px;background:var(--bg);border:1px solid var(--border);font-size:1.1rem;text-decoration:none!important}
.badge{background:var(--accent);color:#fff;border-radius:99px;font-size:.7rem;padding:1px 6px;font-style:normal;margin-left:auto}
.cart-btn .badge{position:absolute;top:-6px;right:-6px}
.menu-btn{display:none}

/* hero */
.hero{padding:56px 0 36px;background:radial-gradient(900px 400px at 85% -10%,color-mix(in srgb,var(--accent) 22%,transparent),transparent),radial-gradient(700px 300px at 0% 0%,rgba(124,58,237,.14),transparent)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center}
.hero h1{font-size:clamp(1.9rem,4.4vw,3rem);margin:14px 0}.lead{font-size:1.1rem;color:var(--muted);max-width:560px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.trust{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}
.hero-art{position:relative;height:280px}.orb{position:absolute;display:grid;place-items:center;border-radius:28px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);font-size:2.4rem;animation:float 6s ease-in-out infinite}
.o1{width:110px;height:110px;left:8%;top:6%}.o2{width:90px;height:90px;right:10%;top:0;animation-delay:-2s}.o3{width:100px;height:100px;left:36%;bottom:4%;animation-delay:-4s}.o4{width:80px;height:80px;right:4%;bottom:14%;animation-delay:-1s}
@keyframes float{50%{transform:translateY(-12px)}}

/* grids */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 10px;color:var(--text);text-align:center;transition:.15s}.cat-tile:hover{transform:translateY(-3px);text-decoration:none;border-color:var(--accent)}.cat-tile .ico{font-size:2rem}
.product-card{display:flex;flex-direction:column;overflow:hidden;color:var(--text);transition:.15s}.product-card:hover{transform:translateY(-4px);text-decoration:none;border-color:var(--accent)}
.thumb{position:relative;aspect-ratio:16/10;display:grid;place-items:center;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}
.initial{font-size:3.2rem;font-weight:800;color:#fff;opacity:.9}.initial.big{font-size:6rem}
.tag{position:absolute;top:10px;left:10px;background:#fff;color:var(--accent);font-weight:700;font-size:.72rem;padding:3px 9px;border-radius:99px}.tag.out{left:auto;right:10px;background:var(--bad);color:#fff}
.product-card .body{padding:14px;display:flex;flex-direction:column;gap:4px;flex:1}.product-card h3{margin:0;font-size:1rem}.product-card p{margin:0}
.price-row{margin-top:auto;padding-top:8px;display:flex;align-items:baseline;gap:6px;font-size:1.05rem}.price-row .from{color:var(--muted);font-size:.8rem}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.step{padding:18px}.step .n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;margin-bottom:8px}.step h4{margin-bottom:4px}.step p{margin:0}
.pay-strip{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:10px}.pay-chip{display:flex;align-items:center;gap:10px;padding:10px 16px;font-weight:600}
.payicon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:9px;font-weight:800;font-size:.85rem;flex:none}
.why{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.why .card{padding:20px}.why p{margin:0}

/* shop & product */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filters input{flex:1;min-width:180px}.filters select{width:auto;min-width:160px}
.crumbs{margin-bottom:14px}
.product-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;margin-bottom:22px}
.pimg{aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden}.pimg img{width:100%;height:100%;object-fit:cover}
.variants{display:grid;gap:10px}
.variant{display:grid;grid-template-columns:auto 1fr auto;gap:2px 12px;align-items:center;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer;background:var(--surface)}
.variant:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.variant .vname{font-weight:600}.variant .vprice{font-weight:700;text-align:right}.variant .vstock{grid-column:2/4}.variant.disabled{opacity:.55;cursor:not-allowed}
.qty input{width:90px}
.perks{list-style:none;padding:0;margin:16px 0 0;color:var(--muted);font-size:.92rem;display:grid;gap:6px}
.desc{padding:22px}

/* cart & checkout */
.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:start}
.list{padding:6px 16px}.line{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}.line:last-child{border:0}
.lthumb{width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#7c3aed);color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.qtyin{width:68px!important;text-align:center}.ltotal{min-width:90px;text-align:right}.x{background:none;border:0;color:var(--muted);cursor:pointer;font-size:1rem}.x:hover{color:var(--bad)}
.summary{padding:20px;position:sticky;top:86px}
.row{display:flex;justify-content:space-between;gap:14px;padding:6px 0;align-items:center}.row.total{font-size:1.15rem;border-top:1px solid var(--border);margin-top:6px;padding-top:12px}
.coupon{display:flex;gap:8px;margin:10px 0}
.methods{display:grid;gap:10px;margin-bottom:12px}
.method{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer;background:var(--surface)}
.method:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}

/* order */
.order-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.status{display:inline-block;padding:3px 12px;border-radius:99px;font-size:.8rem;font-weight:700;text-transform:capitalize;background:#e2e8f0;color:#334155}
.s-pending{background:#fef3c7;color:#92400e}.s-submitted{background:#dbeafe;color:#1e40af}.s-paid{background:#e0e7ff;color:#3730a3}.s-delivered{background:#dcfce7;color:#166534}.s-cancelled{background:#fee2e2;color:#991b1b}
.progress{display:flex;margin:6px 0 20px}.pstep{flex:1;text-align:center;position:relative;color:var(--muted)}
.pstep span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;margin:0 auto 4px;background:var(--border);font-weight:700;font-size:.85rem;position:relative;z-index:1}
.pstep:not(:last-child)::after{content:"";position:absolute;top:14px;left:50%;width:100%;height:3px;background:var(--border)}
.pstep.done{color:var(--text)}.pstep.done span{background:var(--accent);color:#fff}.pstep.done:not(:last-child)::after{background:var(--accent)}
.pstep small{display:block;font-size:.72rem}
.paybox,.keybox{background:var(--bg);border:1px dashed var(--border);border-radius:10px;padding:12px 14px;white-space:pre-wrap;word-break:break-all;font-size:.92rem;margin:10px 0}
.keybox{border-style:solid;border-color:var(--good)}
.oitem{padding:10px 0;border-bottom:1px solid var(--border)}.oitem:last-of-type{border:0}.oitem textarea{margin-top:8px}

/* misc pages */
.prose details{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin-bottom:10px}.prose summary{cursor:pointer;font-weight:600}
.contact-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.contact-links .card{color:var(--text);margin:0}
.site-footer{background:var(--surface);border-top:1px solid var(--border);margin-top:40px;padding-top:34px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:24px}.foot-grid h4{margin-bottom:8px}.foot-grid a{display:block;color:var(--muted);padding:2px 0}.foot-grid a:hover{color:var(--accent)}
.copy{padding:20px 0;color:var(--muted);font-size:.85rem;border-top:1px solid var(--border);margin-top:20px}
.wa-float{position:fixed;right:18px;bottom:18px;width:52px;height:52px;border-radius:50%;background:#22c55e;display:grid;place-items:center;font-size:1.5rem;box-shadow:0 8px 24px rgba(34,197,94,.45);z-index:40;text-decoration:none!important}

/* admin */
.admin-wrap{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
.admin-side{background:var(--surface);border-right:1px solid var(--border);padding:18px 12px;position:sticky;top:0;height:100vh;overflow:auto}
.admin-side .brand{padding:4px 8px 16px}.admin-side a,.admin-side .linkbtn{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--text);width:100%;font-weight:500}
.admin-side a:hover,.admin-side a.on{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);text-decoration:none}
.admin-main{padding:22px 28px 60px;min-width:0}.admin-top{display:flex;justify-content:flex-end;gap:8px;margin-bottom:6px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:18px}
.stat{padding:16px 18px;display:flex;flex-direction:column;color:var(--text)}.stat b{font-size:1.7rem}.stat:hover{text-decoration:none;border-color:var(--accent)}
.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.92rem}th{text-align:left;color:var(--muted);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em}
th,td{padding:10px 8px;border-bottom:1px solid var(--border);vertical-align:middle}
.vtable input:not([type=checkbox]){min-width:90px}
.inline-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.inline-form h3{width:100%;margin:0}.inline-form input,.inline-form select{width:auto;flex:1;min-width:110px}.inline-form input[type=checkbox]{flex:none;min-width:0}
.rowform{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.rowform:last-child{border:0}
.login-body{display:grid;place-items:center;min-height:100vh;padding:20px}.login-card{width:min(400px,100%)}

@media(max-width:900px){
  .hero-grid,.product-grid,.two-col{grid-template-columns:1fr}.hero-art{display:none}.summary{position:static}
  .foot-grid{grid-template-columns:1fr 1fr}.grid2,.contact-links{grid-template-columns:1fr}
  .nav{flex-wrap:wrap}.search{order:5;max-width:none;flex-basis:100%}
  .links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--border);padding:10px 3%;flex-direction:column}.links.open{display:flex}
  .menu-btn{display:inline-block}.cur-form{display:none}
  .admin-wrap{grid-template-columns:1fr}.admin-side{position:fixed;left:-260px;width:240px;z-index:60;transition:.2s}.admin-side.open{left:0}.admin-main{padding:16px}
}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}.line{flex-wrap:wrap}.grid{grid-template-columns:repeat(2,1fr);gap:12px}}

/* specificity fixes: option cards inside .field */
.field label.variant{display:grid;font-weight:400;margin:0}
.field label.variant .vname{font-weight:600}
.field label.variant .vprice{font-weight:700}
.price-row{flex-wrap:wrap}.price-row b,.price-row s,.vprice{white-space:nowrap}

/* logo */
.brand-logo{height:54px;width:auto;display:block}
.brand-logo.foot{height:64px;margin-bottom:8px}
.admin-side .brand-logo{height:46px;margin:0 8px 14px}
.login-card .brand-logo{height:70px;margin:0 auto 6px}
[data-theme=dark] .brand-logo{background:#fff;border-radius:8px;padding:3px 7px}
@media(max-width:520px){.brand-logo{height:38px}}

/* brand logos (hotlinked) */
.thumb.logo-thumb,.pimg.logo-thumb{background:#fff}
.thumb.logo-thumb img{object-fit:contain;padding:22px}
.pimg.logo-thumb img{object-fit:contain;padding:48px}

/* FIXED LOGO SIZE: brand logos are shown in a fixed box, centred, never cropped or stretched */
.thumb.logo-thumb,.pimg.logo-thumb{background:#fff!important;display:grid;place-items:center}
.thumb.logo-thumb img{width:120px!important;height:120px!important;max-width:60%;object-fit:contain!important;padding:0!important}
.pimg.logo-thumb img{width:240px!important;height:240px!important;max-width:60%;object-fit:contain!important;padding:0!important}

/* SHOW WHOLE PRODUCT IMAGES: fixed box, centred, never cropped */
.thumb:has(img),.pimg:has(img){background:#fff!important}
.thumb img{object-fit:contain!important;padding:18px!important}
.pimg img{object-fit:contain!important;padding:28px!important}

/* PIN IMAGES INSIDE THE BOX: tall/square images can no longer overflow the card */
.thumb,.pimg{position:relative;overflow:hidden}
.thumb img,.pimg img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;margin:auto}
.thumb.logo-thumb img,.pimg.logo-thumb img{inset:0;margin:auto}

/* POPULAR 4 ROWS: 5 columns = 20 items; fewer columns show fewer items so it is always 4 rows */
.grid.pop-grid{grid-template-columns:repeat(5,1fr)}
@media(max-width:1200px){.grid.pop-grid{grid-template-columns:repeat(4,1fr)}.pop-grid .product-card:nth-child(n+17){display:none}}
@media(max-width:900px){.grid.pop-grid{grid-template-columns:repeat(3,1fr)}.pop-grid .product-card:nth-child(n+13){display:none}}
@media(max-width:520px){.grid.pop-grid{grid-template-columns:repeat(2,1fr)}.pop-grid .product-card:nth-child(n+9){display:none}}

/* PAYMENT LOGOS (Brandfetch, letter badge is the fallback underneath) */
.payicon{position:relative;overflow:hidden}
.payicon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;padding:5px;border:1px solid var(--border);border-radius:9px}

/* PAYMENT LOGOS FILL THE CIRCLE: no white padding, round, ring */
.payicon{width:36px;height:36px;border-radius:50%;box-shadow:0 0 0 2px var(--border);overflow:hidden}
.payicon img{padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;object-fit:cover!important}
.payicon.ok{background:transparent!important;font-size:0!important}

/* USDT / USDC inline coin logos */
.payicon svg{width:100%;height:100%;display:block}

/* Bank Transfer icon a little bigger */
.payicon.pi-bank{font-size:22px!important;line-height:1}

/* PRODUCT LIST (admin) */
.plist td{vertical-align:middle;padding:8px 10px}
.plist .sortc{white-space:nowrap}.plist .drag{cursor:grab;color:var(--muted,#94a3b8);font-size:18px;user-select:none}.plist .sn{margin-left:6px;color:var(--muted,#94a3b8)}
.plist tr.dragging{opacity:.4}
.plist .qin{font:inherit;color:inherit;background:transparent;border:1px solid transparent;border-radius:8px;padding:6px 8px}
.plist input.qin:hover,.plist input.qin:focus,.plist select.qin{border-color:var(--border,#e2e8f0)}
.plist select.qin{background:var(--card,#fff);padding:6px 24px 6px 8px}
.plist .qname{width:100%;min-width:260px;font-weight:600}.plist .qprice{width:90px}
.plist .qok{border-color:#22c55e!important}.plist .qerr{border-color:#ef4444!important}
.plist .star{background:none;border:0;font-size:20px;cursor:pointer;color:#cbd5e1}.plist .star.on{color:#f5b301}
.btn.small.del{background:#e5646e;color:#fff;border:0}
.plist .nw{white-space:nowrap}

/* Products list: narrower Out of stock / Active / Ask price, wider Name */
.plist{table-layout:auto}
.plist th:nth-child(2),.plist td:nth-child(2){width:46%}
.plist .qname{min-width:340px}
.plist th:nth-child(5),.plist th:nth-child(6),.plist th:nth-child(7){width:1%;white-space:normal;line-height:1.2;text-align:center}
.plist td:nth-child(5),.plist td:nth-child(6),.plist td:nth-child(7){width:1%;padding-left:4px;padding-right:4px;text-align:center}
.plist select.qin{width:62px;padding:5px 18px 5px 6px;font-size:13px}

/* Products list: Name column a bit narrower */
.plist th:nth-child(2),.plist td:nth-child(2){width:31%}
.plist .qname{min-width:300px}

/* Products list: fixed column widths, no stretching */
.plist{table-layout:fixed;width:1180px;max-width:100%}
.plist th:nth-child(1),.plist td:nth-child(1){width:70px}
.plist th:nth-child(2),.plist td:nth-child(2){width:380px}
.plist th:nth-child(3),.plist td:nth-child(3){width:140px}
.plist th:nth-child(4),.plist td:nth-child(4){width:130px}
.plist th:nth-child(5),.plist td:nth-child(5){width:80px}
.plist th:nth-child(6),.plist td:nth-child(6){width:72px}
.plist th:nth-child(7),.plist td:nth-child(7){width:72px}
.plist th:nth-child(8),.plist td:nth-child(8){width:80px;text-align:center}
.plist th:nth-child(9),.plist td:nth-child(9){width:70px}
.plist th:nth-child(10),.plist td:nth-child(10){width:90px}
.plist .qname{min-width:0;width:100%}
.plist .qprice{width:80px}

/* Products list: wider Name */
.plist{width:1300px}
.plist th:nth-child(2),.plist td:nth-child(2){width:500px}

/* Products list: dropdowns follow the theme (dark mode fix) */
.plist select.qin{background:var(--bg)!important;color:var(--text)!important;border-color:var(--border)!important}
.plist select.qin option{background:var(--surface);color:var(--text)}

/* Products list: centre Sort / Name / Category / Price */
.plist th:nth-child(-n+4),.plist td:nth-child(-n+4){text-align:center}
.plist .qname,.plist .qprice{text-align:center}

/* Products list: only the headings centred, cell content back to left */
.plist td:nth-child(-n+4){text-align:left}
.plist .qname,.plist .qprice{text-align:left}
.plist th:nth-child(-n+4){text-align:center}

/* Products list: Category cells centred */
.plist td:nth-child(3){text-align:center}

/* No brand colour on admin sidebar + breadcrumbs: use theme text colour */
.admin-side a:hover,.admin-side a.on{color:var(--text);background:color-mix(in srgb,var(--text) 10%,transparent)}
.admin-side a.on{font-weight:700}
.crumbs a{color:var(--text)}
.crumbs a:hover{color:var(--text);text-decoration:underline}

/* Currency toggle (pill switch) */
.cur-toggle{display:inline-flex;border:1px solid var(--border);border-radius:99px;padding:3px;background:var(--bg)}
.cur-toggle button{border:0;background:transparent;color:var(--muted);font:inherit;font-size:.8rem;font-weight:600;padding:5px 12px;border-radius:99px;cursor:pointer;white-space:nowrap}
.cur-toggle button.on{background:var(--text);color:var(--surface)}
@media(max-width:900px){.cur-form{display:block!important}.cur-toggle button{padding:4px 9px;font-size:.74rem}}

/* smooth currency swap */
main{transition:opacity .18s ease}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
.cur-toggle button{transition:background .15s,color .15s}

/* single-option products: price + stock only */
.single-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin:14px 0}
.single-price .sp-price{font-size:1.9rem;font-weight:800;line-height:1}
.single-price .vstock{font-weight:600;padding:3px 10px;border-radius:99px;background:color-mix(in srgb,currentColor 12%,transparent)}

/* warranty line under the price */
.warranty{margin:-4px 0 14px;font-size:.95rem}

/* highlighted 'Before you order' points */
.before-order{margin-top:14px;padding:14px 16px;border-radius:12px;border:1px solid var(--warn);border-left-width:5px;background:color-mix(in srgb,var(--warn) 13%,transparent)}
.before-order b{display:block;margin-bottom:6px}
.before-order ul{margin:0;padding-left:20px}.before-order li{margin:3px 0}

/* no underline on link hover */
a:hover,.crumbs a:hover{text-decoration:none!important}

/* product tiles: no outline on hover / focus */
.product-card:hover,.product-card:focus,.product-card:focus-visible,.product-card:active{border-color:var(--border)!important;outline:none!important}

/* product tiles: no description; price pinned to the bottom so prices line up */
.product-card .price-row{margin-top:auto;padding-top:6px}

/* divider between product name and price */
.product-card h3{margin-bottom:10px}
.product-card .price-row{border-top:1px solid var(--border);padding-top:10px;margin-top:auto}

/* stock status on the right of the price row */
.product-card .price-row{align-items:center}
.card-stock{margin-left:auto;font-size:.8rem;font-weight:600;white-space:nowrap}

/* PRO HERO ART: real product cards + trust chips */
.hero-art{height:360px}
.hx-glow{position:absolute;inset:6% 4%;border-radius:32px;background:radial-gradient(circle at 30% 20%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 60%),radial-gradient(circle at 80% 90%,rgba(124,58,237,.14),transparent 55%);filter:blur(6px)}
.hx-card{position:absolute;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:20px;background:color-mix(in srgb,var(--surface) 88%,transparent);border:1px solid var(--border);box-shadow:0 18px 40px -14px rgba(15,23,42,.28),0 2px 6px rgba(15,23,42,.05);backdrop-filter:blur(12px);animation:float 7s ease-in-out infinite}
.hx-card.c1{left:2%;top:112px;width:min(340px,92%);z-index:3}
.hx-card.c2{right:0;top:14px;width:min(290px,80%);z-index:2;animation-delay:-2.5s;opacity:.97}
.hx-card.c3{right:6%;bottom:6px;width:min(290px,80%);z-index:1;animation-delay:-4.5s;opacity:.95}
.hx-logo{flex:none;width:60px;height:60px;border-radius:15px;background:#fff;border:1px solid var(--border);display:grid;place-items:center;overflow:hidden}
.hx-logo img{width:78%;height:78%;object-fit:contain}.hx-logo span{font-weight:800;font-size:1.4rem;color:#0f172a}
.hx-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.hx-info b{font-size:.92rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hx-info small{color:var(--muted);font-size:.74rem}
.hx-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--border)}
.hx-price{font-weight:800;font-size:.95rem}.hx-stock{font-size:.72rem;font-weight:600}.hx-stock.good{color:var(--good)}.hx-stock.bad{color:var(--bad)}
.hx-chip{position:absolute;z-index:4;display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border-radius:99px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);font-size:.78rem;font-weight:600;animation:float 8s ease-in-out infinite}
.hx-chip svg{flex:none;padding:3px;box-sizing:content-box;width:16px;height:16px;border-radius:50%;color:#fff}
.hx-chip.k1{left:0;top:30px}.hx-chip.k1 svg{background:#16a34a}
.hx-chip.k2{right:4%;top:196px;animation-delay:-3s}.hx-chip.k2 svg{background:#f59e0b}
.hx-chip.k3{left:6%;bottom:18px;animation-delay:-5s}.hx-chip.k3 svg{background:#64748b}
[data-theme=dark] .hx-card{background:color-mix(in srgb,var(--surface) 80%,transparent)}

/* PRO CATEGORY TILES */
.cat-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.cat-tile2{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);color:var(--text);transition:transform .18s ease,box-shadow .18s ease}
.cat-tile2:hover{transform:translateY(-3px);box-shadow:0 14px 30px -12px rgba(15,23,42,.25);text-decoration:none}
.cat-ico{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:15px}
.ci-key{background:rgba(245,158,11,.14);color:#d97706}.ci-ticket{background:rgba(244,63,94,.12);color:#e11d48}.ci-sub{background:rgba(124,58,237,.12);color:#7c3aed}.ci-grid{background:rgba(100,116,139,.14);color:#64748b}
.cat-txt{display:flex;flex-direction:column;min-width:0;line-height:1.3}.cat-txt b{font-size:1.02rem}.cat-txt small{color:var(--muted);font-size:.82rem}
.cat-arrow{margin-left:auto;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);color:var(--muted);transition:transform .18s ease,background .18s ease,color .18s ease}
.cat-tile2:hover .cat-arrow{transform:translateX(3px);background:var(--text);color:var(--surface);border-color:var(--text)}

/* DARK MODE FIX: fixed brand colour, readable accents */
[data-theme=dark]{--accent:#3b82f6}
[data-theme=dark] .pill{background:rgba(96,165,250,.16);color:#93c5fd}
/* bigger coupon Apply button */
.coupon{align-items:stretch}
.coupon .btn{padding:0 26px;font-size:1rem;font-weight:700;min-height:48px;border-radius:12px}
.coupon input{min-height:48px}
