/* =====================================================================
   A2Z GameShop BD — Shared Design System (navy + gold)
   Loaded last on every page (public + admin) so it unifies the look
   without touching any PHP logic. Light theme keeps working via
   body.light-theme overrides at the bottom.
   ===================================================================== */
:root{
  --a2z-bg:#070b16;
  --a2z-bg2:#0b1122;
  --a2z-surface:#0f1629;
  --a2z-surface2:#141d36;
  --a2z-line:rgba(212,175,55,.14);
  --a2z-line2:rgba(255,255,255,.07);
  --a2z-text:#eef1f8;
  --a2z-muted:#97a1bd;
  --a2z-gold:#d4af37;
  --a2z-gold2:#f3d27a;
  --a2z-gold-grad:linear-gradient(135deg,#f3d27a 0%,#d4af37 48%,#a8801f 100%);
  --a2z-green:#22c55e;
  --a2z-red:#f43f5e;
  --a2z-blue:#3b82f6;
  --a2z-r-sm:10px;
  --a2z-r:14px;
  --a2z-r-lg:20px;
  --a2z-shadow:0 14px 40px rgba(0,0,0,.38);
  --a2z-ease:cubic-bezier(.2,.8,.2,1);
  /* legacy variables used across old pages */
  --gold:#d4af37;
  --bnav-bg:#0b1122;
  --bnav-line:rgba(212,175,55,.16);
  --bnav-text:#8f99b6;
  --bnav-hover:#f3d27a;
}

/* ---------- base ---------- */
html{-webkit-text-size-adjust:100%}
body:not(.light-theme){background:var(--a2z-bg)!important;color:var(--a2z-text)}
body{font-family:Inter,"Hind Siliguri",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow-x:hidden}
body:not(.light-theme) ::selection{background:rgba(212,175,55,.35);color:#fff}
:focus-visible{outline:2px solid var(--a2z-gold);outline-offset:2px}

/* ---------- header ---------- */
body:not(.light-theme) .topbar{background:rgba(7,11,22,.86)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--a2z-line)!important;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.topbar .dots-btn,.topbar .topbar-cart{border-radius:12px!important;border:1px solid var(--a2z-line)!important;background:rgba(212,175,55,.06)!important;color:var(--a2z-gold2)!important;transition:background .2s,transform .2s}
.topbar .dots-btn:hover,.topbar .topbar-cart:hover{background:rgba(212,175,55,.14)!important;transform:translateY(-1px)}
.topbar .hamburger-lines i{background:var(--a2z-gold2)!important}
.topbar .cart-count{background:var(--a2z-gold-grad)!important;color:#1a1305!important;font-weight:800}
.brand-admin-title{background:var(--a2z-gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:900;letter-spacing:.02em}

/* ---------- drawer (three-dot / ☰ menu) ---------- */
.drawer-overlay{background:rgba(2,4,10,.6)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);transition:opacity .25s var(--a2z-ease)}
.side-drawer{width:min(86vw,340px)!important;background:linear-gradient(180deg,#0d1427 0%,#080d1a 100%)!important;border-right:1px solid var(--a2z-line)!important;box-shadow:24px 0 60px rgba(0,0,0,.5)!important;transition:transform .32s var(--a2z-ease)!important;display:flex;flex-direction:column}
.side-drawer .drawer-header{position:sticky;top:0;z-index:2;background:rgba(13,20,39,.96)!important;border-bottom:1px solid var(--a2z-line)!important;padding:14px 16px!important}
.side-drawer .drawer-header .hamburger-btn{width:36px;height:36px;border-radius:11px!important;border:1px solid var(--a2z-line)!important;background:rgba(255,255,255,.04)!important;color:var(--a2z-text)!important}
.side-drawer .drawer-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:10px 10px 28px!important}
.a2z-dmenu{list-style:none;margin:0;padding:0}
.a2z-dsec{margin:16px 8px 6px;font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--a2z-gold)}
.a2z-dsec:first-child{margin-top:4px}
.a2z-dlink{display:flex;align-items:center;gap:12px;padding:11px 12px;margin:2px 0;border-radius:12px;color:var(--a2z-text)!important;text-decoration:none!important;font-weight:600;font-size:.93rem;border:1px solid transparent;transition:background .18s,border-color .18s,transform .18s}
.a2z-dlink:hover{background:rgba(212,175,55,.07);border-color:var(--a2z-line);transform:translateX(2px)}
.a2z-dlink.is-active{background:linear-gradient(90deg,rgba(212,175,55,.18),rgba(212,175,55,.04));border-color:rgba(212,175,55,.32);color:var(--a2z-gold2)!important}
.a2z-dlink .ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.05);color:var(--a2z-gold2)}
.a2z-dlink .ic svg{width:18px;height:18px}
.a2z-dlink.is-active .ic{background:var(--a2z-gold-grad);color:#1a1305}
.a2z-dlink .lb{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a2z-dlink .ar{color:#56607e;font-size:1rem}
.a2z-dlink.danger,.a2z-dlink.danger .ic{color:#fb7185!important}
.a2z-dgroup{margin:2px 0;border-radius:12px;border:1px solid var(--a2z-line2);background:rgba(255,255,255,.02);overflow:hidden}
.a2z-dgroup>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:11px 12px;font-weight:700;font-size:.93rem;color:var(--a2z-text)}
.a2z-dgroup>summary::-webkit-details-marker{display:none}
.a2z-dgroup>summary .ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.05);color:var(--a2z-gold2)}
.a2z-dgroup>summary .ic svg{width:18px;height:18px}
.a2z-dgroup>summary .lb{flex:1}
.a2z-dgroup>summary .ch{transition:transform .25s var(--a2z-ease);color:var(--a2z-gold)}
.a2z-dgroup[open]>summary .ch{transform:rotate(180deg)}
.a2z-dgroup .a2z-dsub{padding:4px 8px 10px 54px;display:grid;gap:2px}
.a2z-dgroup .a2z-dsub a{display:block;padding:8px 10px;border-radius:9px;color:var(--a2z-muted)!important;text-decoration:none!important;font-size:.86rem;font-weight:600}
.a2z-dgroup .a2z-dsub a:hover,.a2z-dgroup .a2z-dsub a.is-active{background:rgba(212,175,55,.08);color:var(--a2z-gold2)!important}
.a2z-dctl{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:2px 0;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid var(--a2z-line2)}
.a2z-dctl label{display:flex;align-items:center;gap:12px;font-weight:600;font-size:.9rem;color:var(--a2z-text)}
.a2z-dctl select,.a2z-dctl .theme-switch-btn{max-width:150px;padding:8px 10px!important;border-radius:10px!important;border:1px solid var(--a2z-line)!important;background:#0a1020!important;color:var(--a2z-text)!important;font:inherit;font-size:.85rem}
.a2z-duser{display:flex;align-items:center;gap:12px;margin:6px 4px 4px;padding:12px;border-radius:14px;background:linear-gradient(135deg,rgba(212,175,55,.14),rgba(212,175,55,.03));border:1px solid rgba(212,175,55,.25)}
.a2z-duser .av{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--a2z-gold-grad);color:#1a1305;font-weight:900;font-size:1.05rem;overflow:hidden}
.a2z-duser .av img{width:100%;height:100%;object-fit:cover}
.a2z-duser b{display:block;font-size:.95rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a2z-duser small{display:block;color:var(--a2z-gold2);font-size:.75rem;font-weight:700}
.a2z-duser .who{min-width:0;flex:1}

/* ---------- bottom navigation ---------- */
.orb-dock .bnav{background:rgba(9,14,28,.94)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--a2z-line)!important;box-shadow:0 -10px 30px rgba(0,0,0,.35)!important;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;align-items:center!important}
.orb-dock .bnav-i{position:relative;color:var(--bnav-text)!important;transition:color .2s}
.orb-dock .bnav-i.on{color:var(--a2z-gold2)!important}
.orb-dock .bnav-i.on::before{content:"";position:absolute;top:-8px;left:50%;width:22px;height:3px;border-radius:0 0 4px 4px;transform:translateX(-50%);background:var(--a2z-gold-grad)}
.orb-dock .bnav-orb{width:52px!important;height:52px!important;min-width:52px!important;margin-top:-18px!important;border-radius:16px!important;background:var(--a2z-gold-grad)!important;color:#1a1305!important;border:3px solid var(--a2z-bg)!important;box-shadow:0 10px 24px rgba(212,175,55,.32)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;transform:none!important;animation:none!important}
.orb-dock .bnav-orb svg{width:22px!important;height:22px!important;stroke:#1a1305!important}
.orb-dock .bnav-orb .orb-lb{font-size:.58rem!important;font-weight:800!important;color:#1a1305!important;margin-top:1px;line-height:1}
.orb-dock .bnav-orb::before,.orb-dock .bnav-orb::after{display:none!important}
.orb-dock .bnav-badge{background:var(--a2z-red)!important;color:#fff!important;border:2px solid #0b1122;font-weight:800}
body{padding-bottom:max(env(safe-area-inset-bottom,0px),0px)}

/* ---------- footer ---------- */
body .srk-site-footer{background:linear-gradient(180deg,#0a1020 0%,#060a14 100%)!important;border-top:1px solid var(--a2z-line)!important;color:var(--a2z-muted)!important}
body .srk-site-footer h3{color:var(--a2z-gold)!important;letter-spacing:.14em}
body .srk-site-footer a,body .srk-site-footer .srk-footer-item{color:#c5cbe0!important;transition:color .18s}
body .srk-site-footer a:hover,body .srk-site-footer .srk-footer-item:hover{color:var(--a2z-gold2)!important}
.srk-site-footer .srk-footer-stars{display:none!important}
body .srk-site-footer .srk-payment-strip{background:rgba(255,255,255,.02)!important;border-color:var(--a2z-line2)!important}
body .srk-site-footer .srk-footer-bottom,body .srk-site-footer .srk-footer-bottom p{color:#7c86a3!important}
.srk-socials>a{border-radius:12px!important;border:1px solid var(--a2z-line)!important;background:rgba(212,175,55,.05)!important}

/* ---------- buttons ---------- */
.btn,.btn-primary,button.btn,a.btn,.btn-hero,.submit,input[type=submit]{background:var(--a2z-gold-grad)!important;color:#1a1305!important;border:0!important;border-radius:12px!important;font-weight:800!important;box-shadow:0 8px 20px rgba(212,175,55,.18);transition:transform .18s,box-shadow .18s,filter .18s}
.btn:hover,.btn-primary:hover,.btn-hero:hover,.submit:hover,input[type=submit]:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:0 12px 26px rgba(212,175,55,.26)}
.btn.line,.btn-outline,.btn.ghost{background:transparent!important;color:var(--a2z-gold2)!important;border:1px solid rgba(212,175,55,.45)!important;box-shadow:none}
.btn.red,.btn-danger{background:linear-gradient(135deg,#f43f5e,#be123c)!important;color:#fff!important;box-shadow:0 8px 20px rgba(244,63,94,.2)}

/* ---------- cards / forms / tables / badges ---------- */
body:not(.light-theme) .card{background:linear-gradient(180deg,var(--a2z-surface2),var(--a2z-surface))!important;border:1px solid var(--a2z-line2)!important;border-radius:var(--a2z-r-lg)!important;box-shadow:var(--a2z-shadow)}
body:not(.light-theme) .card h2{color:#fff}
body:not(.light-theme) input[type=text],body:not(.light-theme) input[type=email],body:not(.light-theme) input[type=password],body:not(.light-theme) input[type=number],body:not(.light-theme) input[type=tel],body:not(.light-theme) input[type=search],body:not(.light-theme) input[type=url],body:not(.light-theme) select,body:not(.light-theme) textarea{background:#0a1020!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;color:var(--a2z-text)!important;transition:border-color .18s,box-shadow .18s}
body:not(.light-theme) input:focus,body:not(.light-theme) select:focus,body:not(.light-theme) textarea:focus{border-color:var(--a2z-gold)!important;box-shadow:0 0 0 3px rgba(212,175,55,.16)!important;outline:0}
body:not(.light-theme) table th{color:var(--a2z-gold2);font-weight:700;border-bottom:1px solid var(--a2z-line)}
body:not(.light-theme) table td{border-bottom:1px solid var(--a2z-line2)}
.pill,.badge,.tag{border-radius:999px}
.empty{color:var(--a2z-muted)}

/* ---------- wallet (profile.php?v=wallet) ---------- */
.a2z-wallet-card{position:relative;overflow:hidden;border-radius:22px;padding:24px 22px;margin-bottom:16px;color:#1a1305;background:
  radial-gradient(circle at 85% 15%,rgba(255,255,255,.35),transparent 40%),
  repeating-linear-gradient(135deg,rgba(255,255,255,.06) 0 2px,transparent 2px 12px),var(--a2z-gold-grad);box-shadow:0 18px 44px rgba(212,175,55,.22)}
.a2z-wallet-card .wc-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.a2z-wallet-card .wc-label{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.75}
.a2z-wallet-card .wc-chip{font-size:.72rem;font-weight:800;padding:5px 10px;border-radius:99px;background:rgba(26,19,5,.12)}
.a2z-wallet-card .wc-amount{font-size:clamp(2rem,9vw,2.8rem);font-weight:900;letter-spacing:-.02em;margin:10px 0 4px;line-height:1.1}
.a2z-wallet-card .wc-note{font-size:.8rem;opacity:.75;margin:0 0 16px}
.a2z-wallet-card .wc-actions{display:flex;gap:10px;flex-wrap:wrap}
.a2z-wallet-card .wc-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:12px;font-weight:800;font-size:.92rem;text-decoration:none!important;background:#0b1122;color:var(--a2z-gold2)!important;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.a2z-wallet-card .wc-btn.alt{background:rgba(26,19,5,.12);color:#1a1305!important;box-shadow:none}
.a2z-wallet-card .wc-mark{position:absolute;right:-18px;bottom:-26px;font-size:7rem;font-weight:900;opacity:.08;pointer-events:none;letter-spacing:-.05em}
.wh-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.wh-search{flex:1;min-width:180px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:12px;background:#0a1020;border:1px solid rgba(255,255,255,.1)}
.wh-search input{border:0!important;background:transparent!important;box-shadow:none!important;padding:11px 0!important;flex:1}
body:not(.light-theme) .wh-row{background:rgba(255,255,255,.025)!important;border:1px solid var(--a2z-line2)!important;border-radius:14px!important;margin-bottom:8px!important;transition:border-color .18s,background .18s}
body:not(.light-theme) .wh-row:hover{border-color:var(--a2z-line)!important;background:rgba(212,175,55,.04)!important}
.wh-amt.plus{color:var(--a2z-green)!important;font-weight:800}
.wh-amt.minus{color:#fb7185!important;font-weight:800}
.wh-badge{border-radius:99px!important;font-weight:800!important}
.a2z-wh-more{display:block;width:100%;margin-top:6px;padding:12px;border-radius:12px;border:1px solid rgba(212,175,55,.4);background:transparent;color:var(--a2z-gold2);font-weight:800;cursor:pointer}
.a2z-wh-more[hidden]{display:none}
.wh-row.a2z-pg-hide,.wh-row.a2z-pg-hide+.wh-detail{display:none!important}

/* ---------- motion & safety ---------- */
img{max-width:100%}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ---------- light theme keeps the same system with light surfaces ---------- */
body.light-theme{--a2z-text:#0f172a;--a2z-muted:#475569;--a2z-line:rgba(168,128,31,.25);--a2z-line2:rgba(15,23,42,.08)}
body.light-theme .side-drawer{background:#fff!important}
body.light-theme .side-drawer .drawer-header{background:#fff!important}
body.light-theme .a2z-dlink,body.light-theme .a2z-dgroup>summary,body.light-theme .a2z-dctl label{color:#0f172a!important}
body.light-theme .a2z-dctl select,body.light-theme .a2z-dctl .theme-switch-btn{background:#f8fafc!important;color:#0f172a!important}
body.light-theme .a2z-duser b{color:#0f172a}
body.light-theme .a2z-dsec{color:#a8801f}
body.light-theme .orb-dock .bnav{background:rgba(255,255,255,.95)!important}

/* ---------- floating helpers: compact, never over buttons ---------- */
.tse-pwa-install{right:12px!important;bottom:calc(150px + env(safe-area-inset-bottom,0px))!important;width:42px;min-height:42px!important;height:42px;padding:0!important;justify-content:center;border-radius:50%!important;font-size:0!important;background:var(--a2z-gold-grad)!important;border:2px solid rgba(7,11,22,.9)!important}
.tse-pwa-install span{font-size:1rem!important}
.tse-live-mini{transform:scale(.88);transform-origin:right bottom}
body.page-login .tse-pwa-install,body.page-register .tse-pwa-install,body.page-checkout .tse-pwa-install{display:none!important}

/* ---------- footer: one readable style in both themes ---------- */
body .srk-site-footer *{text-shadow:none}
body .srk-site-footer h3,body .srk-site-footer .srk-footer-section h3{color:#d4af37!important;-webkit-text-fill-color:#d4af37!important}
body .srk-site-footer .srk-footer-links a,body .srk-site-footer .srk-footer-item,body .srk-site-footer .srk-footer-text{color:#c9cfe2!important;-webkit-text-fill-color:#c9cfe2!important}
body .srk-site-footer .srk-footer-bottom,body .srk-site-footer .srk-footer-bottom *{color:#8b94b0!important;-webkit-text-fill-color:#8b94b0!important;background:transparent!important;letter-spacing:.04em}
body .srk-site-footer .srk-footer-bottom{border-top:1px solid rgba(212,175,55,.14)!important}
body .srk-site-footer .srk-payment-strip{background:rgba(255,255,255,.03)!important;border-top:1px solid rgba(255,255,255,.06)!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
body .srk-site-footer .srk-payment-item{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important}

/* =====================================================================
   LIGHT MODE — every component gets light surfaces + dark readable text
   ===================================================================== */
body.light-theme{background:#f4f6fb!important;color:#0f172a}
body.light-theme .topbar{background:rgba(255,255,255,.92)!important;border-bottom:1px solid #e6e9f2!important;box-shadow:0 4px 18px rgba(15,23,42,.06)}
body.light-theme .topbar .dots-btn,body.light-theme .topbar .topbar-cart{background:#fff!important;border-color:#e6dcc0!important;color:#8a6a12!important}
body.light-theme .topbar .hamburger-lines i{background:#8a6a12!important}
body.light-theme .brand-home-title,body.light-theme .brand-home-kicker{color:#0f172a!important}
/* cards / tiles */
body.light-theme .card,body.light-theme .ac-id,body.light-theme .ac-grp,body.light-theme .ac-tile,body.light-theme .ac-row,body.light-theme .ac-two>*,body.light-theme .ac-help{background:#fff!important;border:1px solid #e6e9f2!important;color:#0f172a!important;box-shadow:0 6px 20px rgba(15,23,42,.06)!important}
body.light-theme .card *,body.light-theme .ac-id *,body.light-theme .ac-grp *,body.light-theme .ac-tile *,body.light-theme .ac-row *{color:inherit}
body.light-theme .ac-id h1,body.light-theme .ac-id h2,body.light-theme .ac-id b,body.light-theme .ac-id strong,body.light-theme .ac-tile b,body.light-theme .ac-tile strong,body.light-theme .ac-row b,body.light-theme .ac-row strong,body.light-theme .card h2,body.light-theme .card h3{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light-theme .ac-tile small,body.light-theme .ac-row small,body.light-theme .ac-id small,body.light-theme .card .sub,body.light-theme .empty{color:#64748b!important}
body.light-theme .ac-wal{background:linear-gradient(135deg,#f3d27a,#d4af37 55%,#a8801f)!important;color:#1a1305!important;border:0!important}
body.light-theme .ac-wal *{color:#1a1305!important;-webkit-text-fill-color:#1a1305!important}
body.light-theme .ac-tile svg,body.light-theme .ac-row svg,body.light-theme .ac-row .ic{color:#a8801f!important}
/* forms */
body.light-theme input[type=text],body.light-theme input[type=email],body.light-theme input[type=password],body.light-theme input[type=number],body.light-theme input[type=tel],body.light-theme input[type=search],body.light-theme input[type=url],body.light-theme select,body.light-theme textarea{background:#fff!important;border:1px solid #d9deea!important;color:#0f172a!important;border-radius:12px!important}
body.light-theme input:focus,body.light-theme select:focus,body.light-theme textarea:focus{border-color:#d4af37!important;box-shadow:0 0 0 3px rgba(212,175,55,.18)!important}
body.light-theme table th{color:#8a6a12}
body.light-theme table td{border-bottom:1px solid #eef1f6}
/* wallet */
body.light-theme .wh-row{background:#fff!important;border:1px solid #e6e9f2!important}
body.light-theme .wh-search{background:#fff;border-color:#d9deea}
body.light-theme .a2z-wh-more{color:#8a6a12;border-color:#d4af37}
/* drawer */
body.light-theme .side-drawer{background:#fff!important;border-right:1px solid #e6e9f2!important}
body.light-theme .side-drawer .drawer-header{background:#fff!important;border-bottom:1px solid #eef1f6!important}
body.light-theme .a2z-dlink{color:#0f172a!important}
body.light-theme .a2z-dlink:hover{background:#faf6ea}
body.light-theme .a2z-dlink .ic,body.light-theme .a2z-dgroup>summary .ic{background:#f6f1e1;color:#8a6a12}
body.light-theme .a2z-dlink.is-active{background:linear-gradient(90deg,#f8edc9,#fff)!important;color:#7a5c0c!important;border-color:#ecd99a}
body.light-theme .a2z-dgroup{background:#fafbfd;border-color:#eef1f6}
body.light-theme .a2z-dgroup .a2z-dsub a{color:#475569!important}
body.light-theme .a2z-duser{background:linear-gradient(135deg,#fbf3d9,#fff);border-color:#ecd99a}
body.light-theme .a2z-duser small{color:#8a6a12}
/* bottom nav */
body.light-theme .orb-dock .bnav{background:rgba(255,255,255,.96)!important;border-top:1px solid #e6e9f2!important;box-shadow:0 -6px 20px rgba(15,23,42,.06)!important}
body.light-theme .orb-dock .bnav-i{color:#64748b!important}
body.light-theme .orb-dock .bnav-i.on{color:#8a6a12!important}
body.light-theme .orb-dock .bnav-orb{border-color:#f4f6fb!important}
/* login page */
html:has(body.light-theme),body.light-theme.page-login{background:#f4f6fb!important}
body.light-theme .srk-login-card{background:#fff!important;border:1px solid #e6e9f2!important;box-shadow:0 18px 50px rgba(15,23,42,.08)!important}
body.light-theme .srk-login-brand h1,body.light-theme .srk-lab,body.light-theme .srk-remember,body.light-theme .srk-contact-copy strong{color:#0f172a!important}
body.light-theme .srk-login-brand p,body.light-theme .srk-register-hint,body.light-theme .srk-ecode-hint,body.light-theme .srk-contact-copy small,body.light-theme .srk-contact-head,body.light-theme .srk-login-or{color:#64748b!important}
body.light-theme .srk-field input{background:#fff!important;color:#0f172a!important;border:1px solid #d9deea!important}
body.light-theme .srk-mode-tabs{background:#f4f6fb;border-color:#e6e9f2}
body.light-theme .srk-mode-tabs button{color:#475569}
body.light-theme .srk-contact,body.light-theme .srk-register-btn{background:#fafbfd!important;border-color:#e6e9f2!important}
body.light-theme .srk-register-btn{color:#8a6a12!important;border-color:#d4af37!important}
body.light-theme .srk-ecode-off{color:#7a5c0c}
/* home (v2) */
body.light-theme .a2z-home{--a2z-bg:#f4f6fb;--a2z-card:#fff;--a2z-card2:#fff;--a2z-line:#e6e9f2;--a2z-text:#0f172a;--a2z-muted:#64748b;--a2z-orange:#a8801f}
body.light-theme .a2z-home .a2z-sec-head h2,body.light-theme .a2z-home .a2z-card-body h3,body.light-theme .a2z-home .a2z-why-item h4,body.light-theme .a2z-home .a2z-order-main b{color:#0f172a!important}
body.light-theme .a2z-home .a2z-card,body.light-theme .a2z-home .a2z-order,body.light-theme .a2z-home .a2z-why-item{box-shadow:0 6px 18px rgba(15,23,42,.06)}
body.light-theme .a2z-home .a2z-notice{background:linear-gradient(90deg,#fbf1d0,#fff)}
body.light-theme .a2z-home .a2z-notice-track span{color:#5b4a14}
body.light-theme .a2z-home .a2z-q.call{background:#fff;color:#8a6a12}

/* ---------- logo always visible (light mode used "lighten" blend = invisible on white) ---------- */
body.light-theme .tse-original-brand-logo,body.light-theme .tse-original-drawer-logo{mix-blend-mode:normal!important;filter:none!important;opacity:1!important}
body.light-theme img.tse-original-brand-logo[src*="tse-header-logo.png"],body.light-theme img.tse-original-drawer-logo[src*="tse-header-logo.png"]{content:url("brand/tse-header-logo-light.png")}
.tse-original-drawer-logo{display:block;width:min(240px,100%);height:auto;max-height:46px;object-fit:contain;object-position:left center}

/* ---------- profile dashboard in light mode ---------- */
body.light-theme .tse-account-hero{background:linear-gradient(135deg,#fff,#fbf6e6)!important;border:1px solid #ecdcae!important;box-shadow:0 10px 30px rgba(15,23,42,.07)!important}
body.light-theme .tse-account-hero:after{border-color:rgba(212,175,55,.25)!important}
body.light-theme .tse-account-name{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light-theme .tse-account-kicker{color:#a8801f!important}
body.light-theme .tse-account-person .copy,body.light-theme .tse-account-person .copy *{color:#334155}
body.light-theme .tse-account-person .copy .tse-account-name{color:#0f172a!important}
body.light-theme .tse-account-edit{background:#fff!important;border:1px solid #e6dcc0!important;color:#8a6a12!important}
body.light-theme .tse-account-chip{background:#fff!important;border:1px solid #e6e9f2!important;color:#334155!important}
body.light-theme .tse-account-chip.good{color:#15803d!important;border-color:#bbf7d0!important;background:#f0fdf4!important}
body.light-theme .tse-balance-card{background:linear-gradient(135deg,#f3d27a,#d4af37 55%,#a8801f)!important;border:0!important;box-shadow:0 14px 34px rgba(212,175,55,.28)!important}
body.light-theme .tse-balance-card,body.light-theme .tse-balance-card *{color:#1a1305!important;-webkit-text-fill-color:#1a1305!important}
body.light-theme .tse-stat,body.light-theme .tse-action{background:#fff!important;border:1px solid #e6e9f2!important;box-shadow:0 6px 18px rgba(15,23,42,.06)!important}
body.light-theme .tse-stat span,body.light-theme .tse-stat small,body.light-theme .tse-action small{color:#64748b!important}
body.light-theme .tse-stat b,body.light-theme .tse-action b{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light-theme .tse-action i,body.light-theme .tse-action svg{color:#a8801f!important}
body.light-theme .tse-action.danger b,body.light-theme .tse-action.danger i,body.light-theme .tse-action.danger svg{color:#be123c!important;-webkit-text-fill-color:#be123c!important}
body.light-theme .ac-grp .ac-row,body.light-theme .ac-grp .ac-row *{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light-theme .ac .foot{background:transparent!important;color:#94a3b8!important}
.ac .foot{background:transparent!important;box-shadow:none!important;border:0!important}

/* ---------- product packages: premium cards (both themes) ---------- */
.srk-pack-grid{gap:12px!important}
.srk-pack{border-radius:18px!important;padding:10px!important;background:linear-gradient(180deg,#141d36,#0d1427)!important;border:1px solid rgba(212,175,55,.16)!important;box-shadow:0 10px 26px rgba(0,0,0,.28)!important;transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .2s;overflow:hidden}
.srk-pack:hover{transform:translateY(-3px);border-color:rgba(212,175,55,.45)!important}
.srk-pack:has(input:checked){border-color:#d4af37!important;box-shadow:0 0 0 2px rgba(212,175,55,.35),0 14px 30px rgba(212,175,55,.15)!important;background:linear-gradient(180deg,#1b2440,#10182e)!important}
.srk-pack label{border:0!important;box-shadow:none!important;background:transparent!important}
.srk-pack input:checked+label{border:0!important;box-shadow:none!important}
.srk-pack-image{display:grid!important;place-items:center;border-radius:14px;background:radial-gradient(circle at 50% 40%,rgba(212,175,55,.14),transparent 70%)}
.srk-pack-image img{border-radius:12px!important;object-fit:cover}
.srk-pack-number{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900!important;letter-spacing:-.02em}
.srk-pack-unit{color:#f3d27a!important;-webkit-text-fill-color:#f3d27a!important;font-weight:800!important}
.srk-current-price{color:#f3d27a!important;-webkit-text-fill-color:#f3d27a!important;font-weight:900!important}
.srk-old-price{color:#7c86a3!important}
.srk-pack-stock{display:inline-block;margin-top:6px;padding:4px 10px!important;border-radius:99px!important;background:rgba(34,197,94,.12)!important;color:#4ade80!important;font-size:.72rem!important;font-weight:800!important;border:1px solid rgba(34,197,94,.25)}
.srk-pack-stock.zero{background:rgba(244,63,94,.12)!important;color:#fb7185!important;border-color:rgba(244,63,94,.25)}
.srk-pack-sale{background:linear-gradient(135deg,#f43f5e,#be123c)!important;color:#fff!important;border-radius:0 0 0 12px!important}
.srk-pack-action{width:100%;margin-top:10px!important;border:0!important;border-radius:12px!important;padding:12px 8px!important;background:linear-gradient(135deg,#f3d27a,#d4af37 55%,#a8801f)!important;color:#1a1305!important;font-weight:900!important;font-size:.95rem!important;letter-spacing:.02em;box-shadow:0 8px 18px rgba(212,175,55,.22)!important;transition:transform .15s,filter .15s}
.srk-pack-action:hover{transform:translateY(-1px);filter:brightness(1.05)}
.srk-pack-action:disabled{background:#2a3150!important;color:#7c86a3!important;box-shadow:none!important}
.srk-pack.sold{opacity:.75}
body.light-theme .srk-pack{background:#fff!important;border:1px solid #e6e9f2!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important}
body.light-theme .srk-pack:has(input:checked){background:#fffdf5!important;border-color:#d4af37!important}
body.light-theme .srk-pack-number{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light-theme .srk-pack-unit,body.light-theme .srk-current-price{color:#8a6a12!important;-webkit-text-fill-color:#8a6a12!important}
body.light-theme .srk-pack-stock{color:#15803d!important}
.srk-pack-stock{white-space:nowrap;font-size:.66rem!important;padding:4px 8px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.srk-pack-name{margin-top:8px!important}
