/* বাংলা ডিজিটাল শপ - Minimal UI */
:root{
  /* Light theme: Slate + Cyan */
  --bg:#ecfeff;
  --card:#ffffff;
  --muted:#4b5563;
  --text:#082f49;
  --soft:#f0fdfa;
  --border:rgba(8,47,73,.12);
  --primary:#0891b2;
  --primary2:#0f766e;
  --danger:#dc2626;
  --ok:#16a34a;
  --shadow: 0 10px 30px rgba(17,24,39,.10);
}
*{box-sizing:border-box}
html,body{height:100%; background:#f4f7fb; color:var(--text);}
body{
  margin:0;
  font-family:"Hind Siliguri", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1100px, 92%); margin:0 auto}
.main{padding:22px 0 50px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  /* iOS notch / safe-area: prevents "blank" strip above the header on mobile */
  padding-top: env(safe-area-inset-top);
}
.navwrap{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px}
.logo{height:45px; width:auto}
.logo-text{font-weight:700; letter-spacing:.2px}
.navlinks{display:none; gap:14px}
.navlinks a{color:var(--muted); font-weight:500}
.navlinks a:hover{color:var(--text)}
.navright{display:flex; align-items:center; gap:10px}

.cartbtn{display:flex; align-items:center; gap:8px; padding:8px 10px; border:1px solid var(--border); border-radius:999px; color:var(--muted)}
.badge{background:rgba(79,70,229,.14); padding:2px 8px; border-radius:999px; color:var(--text); font-size:12px; border:1px solid rgba(79,70,229,.25)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(17,24,39,.03);
  color:var(--text);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  gap:8px;
  font-weight:600;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(79,70,229,.45)}
.btn:active{transform:translateY(0)}
.btn.primary{
  background: linear-gradient(135deg, rgba(79,70,229,.98), rgba(20,184,166,.98));
  border-color:transparent;
  color:#0f172a;
}
.btn.ghost{background:transparent; color:var(--text)}
.btn.danger{background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.35)}
.btn.small{padding:7px 10px; border-radius:10px; font-size:13px}
.btn.full{width:100%}

.link{color:var(--primary); font-weight:600}
.link:hover{opacity:.9}

.section{margin:26px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:12px}
h1,h2,h3{margin:0 0 10px}
h1{font-size:28px; line-height:1.18}
h2{font-size:20px}
h3{font-size:17px}
.lead{color:var(--muted); font-size:16px; margin:10px 0 16px}
.muted{color:var(--muted)}
.small{font-size:13px}
.strong{font-weight:700}

.alert{
  padding:10px 12px;
  border-radius:12px;
  margin:10px 0;
  border:1px solid var(--border);
  background:rgba(226,232,240,.06);
}
.alert.success{border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.12)}
.alert.error{border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.12)}

.hero{padding:24px 0}
.hero-grid{display:grid; gap:14px}
.hero h1{font-size:34px}
.grad{background:linear-gradient(135deg, var(--primary), var(--primary2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.75));
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow);
}

/* Minimal hero */
.hero-min{padding:18px 0 10px}
.hero-min-inner{display:flex; flex-direction:column; gap:10px;}
.hero-min h1{margin:0}
@media(min-width:720px){
  .hero-min-inner{flex-direction:row; align-items:center; justify-content:space-between}
}
.kpi{display:flex; align-items:baseline; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border)}
.kpi:last-child{border-bottom:0}
.kpi-num{font-size:22px; font-weight:800}
.kpi-label{color:var(--muted); font-weight:600}
.mini-features{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.chip{border:1px solid var(--border); padding:6px 10px; border-radius:999px; color:var(--muted); background:rgba(226,232,240,.04)}

.cats{display:flex; flex-wrap:wrap; gap:8px}
.cat{border:1px solid var(--border); padding:8px 12px; border-radius:999px; background:rgba(226,232,240,.04); color:var(--text)}

.grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{transform:translateY(-2px); border-color:rgba(79,70,229,.35)}
.card-img{aspect-ratio:1/1; object-fit:cover}
.card-body{padding:12px}
.card-title{font-weight:800; font-size:16px; margin-bottom:4px}
.card-desc{color:var(--muted); font-size:13px; min-height:34px}
.card-row{display:flex; align-items:center; gap:8px; margin-top:10px}
.price{font-weight:900}
.strike{text-decoration:line-through; color:rgba(148,163,184,.7); font-size:13px}

.split{display:grid; gap:12px}
.note{
  border:1px solid var(--border);
  background:rgba(226,232,240,.04);
  border-radius:18px;
  padding:14px;
}
.note-title{font-weight:800; margin-bottom:6px}
.note-actions{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}

.card-lite{
  border:1px solid var(--border);
  background:rgba(255,255,255,.85);
  border-radius:18px;
  padding:14px;
  box-shadow: 0 6px 18px rgba(17,24,39,.08);
}
.rich p{margin:8px 0}
.rich ul{margin:8px 0 0 18px}
.rich li{margin:6px 0}

.list{margin:10px 0 0 18px}
.list li{margin:8px 0}

.product-grid{display:grid; gap:14px}
.gallery{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(226,232,240,.04);
}
.gimg{display:none; width:100%; aspect-ratio: 1 / 1; object-fit:cover}
.gimg.active{display:block}
.thumbs{display:flex; gap:10px; margin-top:10px}
.thumb{border:1px solid var(--border); background:transparent; padding:0; border-radius:14px; overflow:hidden; cursor:pointer; width:64px; height:64px}
.thumb.active{border-color:rgba(79,70,229,.5)}
.thumb img{width:100%; height:100%; object-fit:cover}

.pill{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background:rgba(79,70,229,.12); border:1px solid rgba(79,70,229,.24); color:var(--text); font-weight:700; font-size:13px}
.pill.status-completed{background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.35)}
.pill.status-pending{background:rgba(234,179,8,.16); border-color:rgba(234,179,8,.35)}
.pill.status-cancelled{background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.35)}
.pill.status-paid{background:rgba(59,130,246,.14); border-color:rgba(59,130,246,.35)}

.order-meta{display:none}
.p-title{margin-top:8px}
.price-box{display:flex; align-items:baseline; gap:10px; margin:12px 0}
.price-big{font-size:30px; font-weight:900}
.save{color:var(--ok); font-weight:800}
.cta{display:grid; gap:10px; margin:10px 0 12px}
.trust{display:grid; gap:8px; margin:12px 0}
.trust-item{border:1px dashed rgba(148,163,184,.25); border-radius:14px; padding:10px; color:var(--muted)}

.info-cards{display:grid; gap:10px; margin:12px 0}
.info-card{display:flex; gap:12px; align-items:flex-start; border:1px solid var(--border); border-radius:16px; padding:12px; background:rgba(255,255,255,.85)}
.info-card .icn{width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:rgba(79,70,229,.12); border:1px solid rgba(79,70,229,.24); font-size:20px}
.info-title{font-weight:900; margin-bottom:2px}
details{border:1px solid var(--border); border-radius:14px; padding:10px; background:rgba(226,232,240,.03); margin:10px 0}
summary{cursor:pointer; font-weight:800}

.sticky-buy{
  position:fixed;left:12px;right:12px;bottom:12px;
  background:#ffffff;
  border:1px solid rgba(17,24,39,.08);
  display:flex;gap:12px;padding:10px 10px 10px 14px;
  align-items:center;justify-content:space-between;
  box-shadow:0 16px 34px rgba(15,23,42,.12);
  border-radius:20px;
  transform:translateY(calc(100% + 28px));
  opacity:0;
  pointer-events:none;
  transition:transform .28s ease, opacity .28s ease;
  z-index:70;
}
.sticky-buy.show{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
.sb-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.02;
  gap:4px;
  min-width:92px;
  flex:0 0 92px;
}
.sb-price{font-size:19px;font-weight:900;color:#0f172a;letter-spacing:-.2px}
.sb-orig{font-size:12px;color:#9ca3af;text-decoration:line-through;font-weight:700}
.sb-form{margin:0;flex:1;display:flex;justify-content:flex-end}
.sb-btn{
  border:0;cursor:pointer;
  background:linear-gradient(180deg,#ff8a22 0%,#ff7a1a 100%);
  color:#0f172a;
  font-weight:900;
  font-size:17px;
  min-height:42px;
  width:100%;
  padding:12px 18px;
  border-radius:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px rgba(79,70,229,.22);
  border:1px solid rgba(79,70,229,.2);
  display:flex;align-items:center;justify-content:center;
}
.sb-label{font-size:17px;font-weight:900}
.sb-btn:active{transform:translateY(1px)}
.sb-btn:focus{outline:3px solid rgba(79,70,229,.2);outline-offset:2px}
@media(min-width:900px){
  .sticky-buy{display:none}
}
@media(max-width:899px){
  .main{padding-bottom:96px}
}

/* Product page (mobile): remove unwanted empty space around header/content without affecting other pages */
@media(max-width:899px){
  body.tpl-product .topbar .container{width:100%; padding-left:12px; padding-right:12px}
  body.tpl-product main.container.main{width:100%; padding-left:12px; padding-right:12px}
  body.tpl-product .gallery{
    /* edge-to-edge look on mobile to avoid side "blank" areas */
    border-radius:0;
    margin-left:-12px;
    margin-right:-12px;
  }
}

/* WhatsApp button should never overlap the mobile sticky bar */
:root{--sb-height:0px}
@media(max-width:899px){
  html.has-sb .wa-float{bottom:calc(16px + var(--sb-height))}
}

.cart{display:grid; gap:10px}
.cart-row{display:grid; grid-template-columns:64px 1fr auto auto; gap:10px; align-items:center;
  border:1px solid var(--border); border-radius:16px; padding:10px; background:rgba(255,255,255,.85);
}
.cart-img{width:64px; height:64px; border-radius:14px; object-fit:cover}
.cart-title{font-weight:900}
.cart-price{font-weight:900}
.cart-sum{margin-top:12px; border:1px solid var(--border); border-radius:16px; padding:12px; background:rgba(255,255,255,.85)}
.sum-row{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.sum-total{font-size:20px; font-weight:900}

.checkout{display:grid; gap:12px}
.ty-msg-wrap{display:grid; gap:10px; margin:10px 0 12px}
.ty-msg{border:1px solid rgba(79,70,229,.25); background:rgba(79,70,229,.06); border-radius:16px; padding:12px}
.ty-msg-title{font-weight:900; margin-bottom:4px}
.ty-msg-body{color:var(--text); line-height:1.6}
.field{display:grid; gap:6px; margin:10px 0}
label{color:var(--muted); font-weight:700; font-size:13px}
input,select,textarea{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(17,24,39,.02);
  color:var(--text);
  outline:none;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{border-color:rgba(79,70,229,.55)}
.grid2{display:grid; gap:10px}
.paybox{display:flex; align-items:center; justify-content:space-between; border:1px solid var(--border); border-radius:16px; padding:12px; margin:12px 0; background:rgba(255,255,255,.85)}
.pay-title{font-weight:900}
.inline{display:flex; align-items:center; gap:10px}
.switch{display:flex; align-items:center; gap:10px}

.mini-list{display:grid; gap:10px; margin:10px 0}
.mini-row{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid var(--border)}
.mini-row:last-child{border-bottom:0}
.mini-row.total{font-weight:900}

.download-row{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--border)}
.download-row:last-child{border-bottom:0}

.thanks{display:grid; justify-items:center; text-align:center; gap:8px; margin:6px 0 18px}
.check{
  width:54px; height:54px; border-radius:16px;
  display:grid; place-items:center;
  background:rgba(34,197,94,.15);
  border:1px solid rgba(34,197,94,.35);
  font-weight:900; font-size:26px;
}

.table{display:grid; gap:0}
.trow{display:grid; grid-template-columns: 80px 1fr 160px 140px 140px; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); align-items:center}
.trow.thead{color:var(--muted); font-weight:800; font-size:13px}
.row-actions{display:flex; gap:8px; justify-content:flex-end; align-items:center}
@media(max-width:850px){
  /* Mobile admin: keep Edit/Delete actions visible */
  .trow{grid-template-columns: 60px 1fr; grid-auto-rows:auto}
  .trow.thead{display:none}
  .trow > :nth-child(3), .trow > :nth-child(4){display:none}
  .trow > :nth-child(5){
    display:flex;
    grid-column:1 / -1;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:8px;
    padding-top:6px;
  }
  .order-meta{display:inline-flex; gap:8px; align-items:center}
}
.filters{display:grid; gap:10px}
@media(min-width:850px){
  .filters{grid-template-columns: 180px 1fr 1fr 140px 140px; align-items:end}
}

.admin-nav{display:flex; gap:8px; flex-wrap:wrap}
.kpi-grid{display:grid; gap:12px; grid-template-columns:1fr}
.kcard{border:1px solid var(--border); border-radius:18px; padding:14px; background:rgba(255,255,255,.88)}
.knum{font-size:26px; font-weight:900; margin-top:6px}
.quick{display:grid; gap:10px}
.q{border:1px solid var(--border); border-radius:14px; padding:10px; background:rgba(226,232,240,.03); color:var(--text)}
.q:hover{border-color:rgba(79,70,229,.35)}

.thumbs-admin{flex-wrap:wrap}
.thumbimg{width:58px; height:58px; border-radius:14px; border:1px solid var(--border); object-fit:cover}

.footer{border-top:1px solid var(--border); padding:18px 0; margin-top:26px; background:#ffffff}
.footwrap{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap}
.foot-title{font-weight:900}

.narrow{width:min(520px, 92%); margin:0 auto}

/* Floating WhatsApp */
.wa-float{position:fixed; left:16px; bottom:16px; z-index:50; width:52px; height:52px; border-radius:999px; display:grid; place-items:center; background:#ffffff; border:1px solid rgba(17,24,39,.12); box-shadow:0 10px 24px rgba(17,24,39,.18)}
@media(max-width:899px){
  .has-sb .wa-float{bottom:calc(16px + var(--sb-height, 0px))}
}
.wa-icn{width:34px; height:34px; border-radius:999px; display:grid; place-items:center; background:rgba(255,255,255,.92); border:1px solid rgba(17,24,39,.12)}
.wa-text{font-weight:900}

@media(min-width:720px){
  .navlinks{display:flex}
  .hero-grid{grid-template-columns: 1.2fr .8fr; align-items:stretch}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .split{grid-template-columns: 1fr 1fr}
  .product-grid{grid-template-columns: 1fr 1fr}
  .checkout{grid-template-columns: 1fr 1fr}
  .kpi-grid{grid-template-columns: repeat(4, 1fr)}
  h1{font-size:34px}
}
@media(min-width:980px){
  .grid{grid-template-columns: repeat(3, 1fr)}
}


/* reveal animation */
/*
  IMPORTANT (Bug fix):
  Never hide page content by default.
  We used to set `.js ... { opacity:0 }` and rely on JS/IntersectionObserver
  to add `.reveal`. If JS fails for any reason (path, browser, plugin, etc.),
  users see "invisible" pages.
*/
.js .card,.js .card-lite,.js .hero-card,.js .kcard,.js .note{
  opacity:1;
  transform:translateY(0);
}
/* Keep a lightweight animation without risking invisibility */
.reveal{transition: opacity .5s ease, transform .5s ease;}

@media(min-width:720px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.grid{grid-template-columns:repeat(4,1fr)}}

/* WhatsApp floating button (minimal, left) */
.wa-float{position:fixed; left:16px; bottom:16px; z-index:50; width:52px; height:52px; border-radius:999px; display:grid; place-items:center; background:#ffffff; border:1px solid rgba(17,24,39,.12); box-shadow:0 10px 24px rgba(17,24,39,.18)}
.wa-float:hover{transform:translateY(-1px)}
.wa-icn{font-size:22px; line-height:1}
.wa-text{display:none !important}

/* Mobile drawer */
.menu-btn{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#ffffff;
  align-items:center; justify-content:center;
  cursor:pointer;
}
@media(max-width:899px){
  .navlinks{display:none}
  .menu-btn{display:flex}
}
.drawer-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.35);
  display:none;
  z-index:70;
}
.drawer{
  position:fixed; top:0; bottom:0; left:0;
  width:min(86vw, 320px);
  background:#ffffff;
  border-right:1px solid var(--border);
  transform:translateX(-105%);
  transition:transform .2s ease;
  z-index:71;
  padding:14px;
  display:flex; flex-direction:column; gap:12px;
}
.drawer.open{transform:translateX(0)}
.drawer-overlay.open{display:block}
.drawer .d-head{display:flex; align-items:center; justify-content:space-between}
.drawer .d-close{
  width:40px; height:40px; border-radius:12px;
  border:1px solid var(--border); background:#ffffff; cursor:pointer;
}
.drawer .d-sec{border:1px solid var(--border); border-radius:16px; padding:12px}
.drawer .d-sec .d-title{font-weight:800; margin-bottom:8px}
.drawer a.d-link{display:block; padding:10px 10px; border-radius:12px}
.drawer a.d-link:hover{background:rgba(79,70,229,.08)}

/* Admin download link rows */
.dl-row{display:grid; grid-template-columns:1fr; gap:10px; margin:10px 0}
.dl-row .btn.danger{justify-self:start}
@media(min-width:640px){
  .dl-row{grid-template-columns: 1fr 2fr auto; align-items:center}
}

.dl-actions{display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end}

.wa-svg{width:28px; height:28px; display:block}
.wa-img{width:28px; height:28px; display:block; object-fit:contain}

/* WhatsApp position option */
.wa-float.wa-right{left:auto; right:16px}
html.has-sb .wa-float.wa-right{right:16px}



/* Funnel */
.funnel-page .container, .funnel-card{max-width:980px;margin-inline:auto}
.funnel-placeholder{padding:16px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#475569}
.funnel-rich{margin-top:10px}
.checkline{display:flex;align-items:center;gap:8px;margin-top:8px}


/* Admin redesign */
body.admin-body{
  background:#f5f7fb;
}

.admin-shell{
  display:flex;
  min-height:100vh;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(79,70,229,.10), transparent 48%),
    linear-gradient(180deg,#f8fafc 0%,#eef2ff 100%);
}
.admin-sidebar{
  width:288px; flex:0 0 288px; color:#e5e7eb; padding:24px 18px; display:flex; flex-direction:column; gap:18px;
  position:sticky; top:0; height:100vh;
  background:linear-gradient(180deg,#0f172a 0%, #0f172a 48%, #172554 100%);
  box-shadow:20px 0 50px rgba(15,23,42,.18);
}
.admin-brand{display:flex; align-items:center; gap:12px}
.admin-brand-mark{width:48px; height:48px; border-radius:16px; display:grid; place-items:center; background:linear-gradient(135deg,#4f46e5,#14b8a6); color:#0f172a; font-size:24px; font-weight:800; box-shadow:0 14px 26px rgba(79,70,229,.28)}
.admin-brand-title{font-size:18px; font-weight:800; color:#fff}
.admin-brand-sub{font-size:12px; color:#94a3b8}
.admin-sidebar-summary{padding:14px; border-radius:18px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08)}
.admin-sidebar-summary-label{font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:#93c5fd; margin-bottom:6px}
.admin-sidebar-summary-value{font-size:13px; color:#e2e8f0}
.admin-sidebar-close{display:none; margin-left:auto; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); color:#fff; width:38px; height:38px; border-radius:12px; cursor:pointer}
.admin-menu{display:flex; flex-direction:column; gap:8px}
.admin-menu-link{display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:16px; color:#cbd5e1; border:1px solid transparent; transition:.18s ease background,.18s ease transform,.18s ease border-color}
.admin-menu-link:hover{background:rgba(255,255,255,.08); color:#fff; transform:translateX(2px)}
.admin-menu-link.active{background:linear-gradient(135deg,rgba(79,70,229,.22),rgba(59,130,246,.18)); color:#fff; border-color:rgba(255,255,255,.12)}
.admin-menu-icon{width:26px; text-align:center; font-size:16px}
.admin-sidebar-foot{margin-top:auto}
.admin-content{flex:1; min-width:0; padding:30px 28px 40px}
.admin-content .section{margin:0}
.admin-content .admin-nav{display:none}
.admin-content .link{color:#475569}
.admin-mobile-toggle{
  display:none; position:fixed; top:14px; left:14px; z-index:90; width:46px; height:46px; border-radius:14px;
  border:1px solid rgba(15,23,42,.08); background:#fff; box-shadow:0 16px 32px rgba(15,23,42,.12); cursor:pointer;
}
.admin-mobile-toggle.is-hidden{display:none !important}
.admin-sidebar-overlay{display:none; position:fixed; inset:0; background:rgba(15,23,42,.42); z-index:84}
.admin-sidebar-overlay.open{display:block}
.admin-section-head{margin-bottom:20px}
.section-head-actions{display:flex; gap:10px; flex-wrap:wrap}
.eyebrow{font-size:12px; text-transform:uppercase; letter-spacing:.16em; color:#64748b; margin-bottom:8px; font-weight:700}
.admin-kpi-grid{grid-template-columns:repeat(4, minmax(0,1fr)); margin-bottom:18px}
.admin-kcard{border-radius:24px; padding:20px; border:1px solid rgba(255,255,255,.8); box-shadow:0 16px 36px rgba(15,23,42,.06); background:linear-gradient(180deg,#fff,rgba(255,255,255,.95))}
.admin-kcard.accent-orange{background:linear-gradient(180deg,#fff,#fff7ed)}
.admin-kcard.accent-blue{background:linear-gradient(180deg,#fff,#eff6ff)}
.admin-kcard.accent-gold{background:linear-gradient(180deg,#fff,#fffbeb)}
.admin-kcard.accent-green{background:linear-gradient(180deg,#fff,#f0fdf4)}
.admin-dashboard-split{grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr); align-items:start}
.admin-surface{border-radius:24px; border:1px solid rgba(255,255,255,.85); box-shadow:0 18px 42px rgba(15,23,42,.06); background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.92))}
.card-head-row{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px}
.inline-filter{display:flex; gap:10px; align-items:end; flex-wrap:wrap}
.inline-filter input[type="month"]{min-width:160px}
.sales-summary-grid,.funnel-card-grid,.page-card-grid,.customer-card-grid{display:grid; gap:16px}
.sales-summary-item,.funnel-card,.page-card,.customer-card{
  border:1px solid rgba(15,23,42,.08); border-radius:22px; background:#fff; padding:16px; box-shadow:0 12px 30px rgba(15,23,42,.04)
}
.sales-summary-top,.funnel-card-head,.page-card-top,.customer-card-top{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.sales-product-title,.funnel-card-title,.page-card-title,.customer-name{font-weight:800; font-size:17px}
.sales-summary-stats,.customer-details{display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:14px}
.sales-summary-stats div,.customer-details div,.mini-stat,.mini-stat-card{
  border:1px solid rgba(15,23,42,.06); border-radius:18px; padding:12px 14px; background:rgba(248,250,252,.9)
}
.sales-summary-stats strong,.customer-details strong,.mini-stat strong,.mini-stat-card strong{display:block; margin-top:4px; font-size:18px}
.admin-mini-stats,.customer-summary-grid,.report-summary-grid{display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr))}
.modern-summary-card{overflow:hidden}
.modern-note{margin-top:16px; border-radius:18px}
.admin-toolbar{display:flex; justify-content:space-between; gap:16px; align-items:flex-start; flex-wrap:wrap; margin-bottom:18px}
.toolbar-copy{max-width:720px}
.toolbar-badges{display:flex; gap:8px; flex-wrap:wrap}
.funnel-flow{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:16px 0}
.funnel-flow span{display:grid; place-items:center; padding:10px 8px; border-radius:999px; background:#f8fafc; border:1px dashed rgba(15,23,42,.12); font-size:13px; font-weight:700}
.funnel-meta-list,.page-card-body{display:grid; gap:10px; margin-top:6px}
.funnel-meta-row{display:flex; flex-direction:column; gap:4px}
.funnel-card-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.admin-form-shell{display:grid; gap:18px; grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr)}
.stack-form{display:grid; gap:14px}
.guide-steps{display:grid; gap:12px}
.guide-step{display:flex; gap:12px; align-items:flex-start; border:1px solid rgba(15,23,42,.08); border-radius:18px; padding:12px 14px; background:#fff}
.guide-step span{width:28px; height:28px; border-radius:999px; display:grid; place-items:center; font-weight:800; background:#fff7ed; color:#c2410c}
.link-card-list{display:grid; gap:12px; margin-top:16px}
.modern-check{padding:12px 14px; border:1px solid rgba(15,23,42,.08); border-radius:16px; background:#fff}
.customer-avatar{width:48px; height:48px; border-radius:16px; display:grid; place-items:center; font-weight:800; background:linear-gradient(135deg,#4f46e5,#fdba74); color:#0f172a; box-shadow:0 10px 20px rgba(79,70,229,.18)}
.customer-card-top{display:grid; grid-template-columns:auto 1fr auto; align-items:center}
.empty-state{display:flex; gap:14px; align-items:center; border:1px dashed rgba(15,23,42,.14); border-radius:22px; padding:22px; background:#fff}
.empty-state-icon{width:52px; height:52px; border-radius:18px; display:grid; place-items:center; background:#eff6ff; font-size:24px}
.table-wrap{overflow:auto}
.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:12px 14px; border-bottom:1px solid rgba(15,23,42,.08); text-align:left; vertical-align:top}
.table th{font-size:13px; color:#64748b; font-weight:700; background:#f8fafc}
.admin-table tbody tr:hover{background:#fffaf5}
.report-table td:nth-child(2){min-width:220px}
.pill.soft{background:#fff7ed; border:1px solid rgba(79,70,229,.15)}
.pill.success{background:#ecfdf5; border:1px solid rgba(34,197,94,.18); color:#166534}
@media (min-width: 900px){
  .sales-summary-grid,.funnel-card-grid,.page-card-grid,.customer-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 991px){
  .admin-mobile-toggle{display:grid; place-items:center}
  .admin-sidebar{position:fixed; top:0; left:0; z-index:85; transform:translateX(-105%); transition:transform .22s ease; height:100vh; width:min(82vw,300px)}
  .admin-sidebar.open{transform:translateX(0)}
  .admin-sidebar-close{display:inline-grid; place-items:center}
  .admin-content{padding:74px 16px 28px}
  .admin-kpi-grid{grid-template-columns:1fr 1fr}
  .admin-dashboard-split,.admin-form-shell{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .section-head{align-items:flex-start; flex-direction:column}
  .customer-card-top{grid-template-columns:auto 1fr}
  .customer-card-top .pill{grid-column:1 / -1; justify-self:start}
  .sales-summary-stats,.customer-details,.admin-mini-stats,.customer-summary-grid,.report-summary-grid{grid-template-columns:1fr 1fr}
  .funnel-flow{grid-template-columns:1fr}
  .inline-filter{width:100%}
  .inline-filter input[type="month"]{width:100%}
}

}


.list-shell{display:flex;flex-direction:column;gap:0}
.admin-list-head,.admin-list-row{grid-template-columns:2fr 1.4fr .9fr 2fr 1.4fr}
.admin-page-list{grid-template-columns:1.8fr 1fr 1.8fr .9fr 1.2fr}
.admin-user-list{grid-template-columns:1.6fr 1.4fr 1fr .9fr 1.2fr}
.admin-url-cell a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.admin-surface .trow{border-bottom:1px solid rgba(148,163,184,.18)}
.admin-surface .trow:last-child{border-bottom:none}
@media (max-width: 900px){
  .admin-list-head{display:none}
  .admin-list-row,.admin-page-list,.admin-user-list,.admin-funnel-list{
    grid-template-columns:1fr !important;
    gap:10px;
    padding:14px;
  }
  .admin-list-row > div,.admin-page-list > div,.admin-user-list > div,.admin-funnel-list > div{
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .admin-list-row .row-actions,.admin-page-list .row-actions,.admin-user-list .row-actions,.admin-funnel-list .row-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }
}


/* Admin search */
.admin-searchbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.admin-search-input{
  min-width:260px;
  padding:10px 14px;
  border:1px solid rgba(148,163,184,.35);
  border-radius:12px;
  background:#fff;
  color:var(--text);
  outline:none;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}
.admin-search-input:focus{border-color:rgba(79,70,229,.55); box-shadow:0 0 0 4px rgba(79,70,229,.10)}

/* Dashboard sales summary list */
.sales-summary-list{display:flex;flex-direction:column;border:1px solid rgba(148,163,184,.16);border-radius:18px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,248,240,.98))}
.sales-list-head,.sales-list-row{
  display:grid;
  grid-template-columns:minmax(0,2fr) 170px 180px;
  gap:16px;
  align-items:center;
}
.sales-list-head{
  padding:14px 18px;
  background:linear-gradient(135deg,rgba(79,70,229,.12),rgba(20,184,166,.16));
  border-bottom:1px solid rgba(148,163,184,.14);
  font-weight:700;
}
.sales-list-row{
  padding:16px 18px;
  border-bottom:1px solid rgba(148,163,184,.12);
}
.sales-list-row:last-child{border-bottom:none}
.sales-list-product{display:flex;align-items:center;gap:12px;min-width:0}
.sales-thumb{
  width:56px;height:56px;flex:0 0 56px;border-radius:16px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(79,70,229,.16),rgba(20,184,166,.22));
  border:1px solid rgba(79,70,229,.18);
  font-weight:700;
}
.sales-thumb img{width:100%;height:100%;object-fit:cover}
.sales-list-metric{display:flex;flex-direction:column;gap:4px}
.metric-label{font-size:12px;color:var(--muted)}
.sales-product-title{font-weight:700;line-height:1.35}

/* Product grid tweaks */
.product-list-grid{grid-template-columns:90px minmax(0,2fr) minmax(130px,1fr) 120px minmax(220px,1.2fr)}
.product-row{transition:background .15s ease}
.product-row:hover{background:rgba(79,70,229,.035)}

/* Reports colorful table */
.accent-surface{border:1px solid rgba(255,255,255,.4)}
.accent-orange-lite{background:linear-gradient(135deg,rgba(79,70,229,.12),rgba(255,255,255,.92))}
.accent-blue-lite{background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(255,255,255,.92))}
.accent-gold-lite{background:linear-gradient(135deg,rgba(20,184,166,.18),rgba(255,255,255,.92))}
.accent-green-lite{background:linear-gradient(135deg,rgba(34,197,94,.14),rgba(255,255,255,.92))}
.colorful-report-shell{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98))}
.colorful-report-table{border-collapse:separate;border-spacing:0 10px}
.colorful-report-table thead th{
  background:linear-gradient(135deg,rgba(17,24,39,.92),rgba(51,65,85,.96));
  color:#fff;border:none;padding:14px 16px;font-size:13px
}
.colorful-report-table thead th:first-child{border-radius:14px 0 0 14px}
.colorful-report-table thead th:last-child{border-radius:0 14px 14px 0}
.colorful-report-table tbody td{
  background:#fff;padding:14px 16px;border-top:1px solid rgba(148,163,184,.15);
  border-bottom:1px solid rgba(148,163,184,.15)
}
.colorful-report-table tbody td:first-child{
  border-left:1px solid rgba(148,163,184,.15);border-radius:14px 0 0 14px
}
.colorful-report-table tbody td:last-child{
  border-right:1px solid rgba(148,163,184,.15);border-radius:0 14px 14px 0
}
.colorful-report-table tbody tr:nth-child(odd) td{background:rgba(255,249,242,.95)}
.date-badge,.qty-badge,.order-badge,.sales-badge{
  display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px
}
.date-badge{background:rgba(59,130,246,.10);color:#1d4ed8}
.qty-badge{background:rgba(20,184,166,.22);color:#92400e;min-width:42px}
.order-badge{background:rgba(34,197,94,.14);color:#166534;min-width:42px}
.sales-badge{background:rgba(79,70,229,.14);color:#c2410c}
.responsive-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}

/* Settings responsiveness */
.admin-settings-page .section-head{align-items:center}
.admin-settings-card{
  border-radius:20px;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}
.admin-settings-page .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-settings-page textarea,
.admin-settings-page input[type="text"],
.admin-settings-page input[type="email"],
.admin-settings-page input[type="password"],
.admin-settings-page input[type="number"],
.admin-settings-page input[type="date"],
.admin-settings-page input[type="month"],
.admin-settings-page select{
  width:100%;
}
.admin-settings-page .logo-preview img{max-width:110px;border-radius:14px}

/* Mobile */
@media (max-width: 900px){
  .admin-search-input{min-width:100%;width:100%}
  .toolbar-actions{width:100%}
  .toolbar-actions .btn{width:100%}
  .responsive-filter-grid{grid-template-columns:1fr 1fr}
  .sales-list-head{display:none}
  .sales-list-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  .sales-list-metric{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding-top:6px;
    border-top:1px dashed rgba(148,163,184,.22);
  }
  .product-list-grid{grid-template-columns:1fr !important}
  .admin-settings-page .grid2{grid-template-columns:1fr}
  .colorful-report-table,
  .colorful-report-table thead,
  .colorful-report-table tbody,
  .colorful-report-table th,
  .colorful-report-table td,
  .colorful-report-table tr{display:block;width:100%}
  .colorful-report-table thead{display:none}
  .colorful-report-table tbody tr{
    margin:0 0 12px 0;
  }
  .colorful-report-table tbody td{
    border-left:1px solid rgba(148,163,184,.15) !important;
    border-right:1px solid rgba(148,163,184,.15) !important;
    border-radius:0 !important;
    padding:12px 14px 12px 42%;
    position:relative;
    min-height:48px;
  }
  .colorful-report-table tbody td:first-child{border-radius:16px 16px 0 0 !important}
  .colorful-report-table tbody td:last-child{border-radius:0 0 16px 16px !important}
  .colorful-report-table tbody td::before{
    content:attr(data-label);
    position:absolute;left:14px;top:12px;
    font-size:12px;font-weight:700;color:var(--muted)
  }
}
@media (max-width: 640px){
  .responsive-filter-grid{grid-template-columns:1fr}
  .sales-thumb{width:48px;height:48px;flex-basis:48px}
}

/* ===== 2026 custom upgrade overrides ===== */
:root{
  --site-max: 1440px;
  --surface-glass: rgba(255,255,255,.88);
}
html,body{overflow-x:hidden}
.site-shell{width:min(var(--site-max), calc(100vw - 32px)); margin:0 auto}
.main.main-wide{padding:26px 0 56px}

.modern-topbar{
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(148,163,184,.18);
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.modern-navwrap{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  min-height:84px;
}
.centered-nav{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.centered-nav a{
  padding:10px 16px;
  border-radius:999px;
  color:#334155;
  font-weight:700;
  transition:all .18s ease;
}
.centered-nav a:hover,
.centered-nav a.active{
  color:#0f172a;
  background:linear-gradient(135deg, rgba(79,70,229,.12), rgba(20,184,166,.18));
  box-shadow:0 10px 24px rgba(79,70,229,.10);
}
.logo{height:52px}
.logo-text{font-size:22px;font-weight:800}
.header-actions{justify-content:flex-end}
.header-auth-stack{display:flex;align-items:center;gap:10px}
.header-auth-btn{white-space:nowrap}
.account-chip{
  display:flex;align-items:center;gap:12px;
  padding:8px 12px 8px 8px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,247,237,.98));
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.account-chip-copy{display:flex;flex-direction:column;line-height:1.05}
.account-chip-copy small{color:#64748b;font-size:11px;font-weight:700}
.account-chip-copy strong{font-size:14px}
.account-avatar-img,.dashboard-avatar-img,.drawer-avatar-img{
  width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(79,70,229,.18)
}
.account-avatar-fallback,.dashboard-avatar-fallback,.drawer-avatar-fallback{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#4f46e5,#14b8a6);color:#0f172a;font-weight:800
}
.drawer-account-card{display:flex;align-items:center;gap:10px;margin-bottom:8px}

.modern-footer{
  margin-top:34px;
  padding:26px 0;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,237,.96));
  border-top:1px solid rgba(148,163,184,.16);
}
.modern-footwrap{
  display:grid;
  grid-template-columns:1.2fr 1fr auto;
  gap:22px;
  align-items:start;
}
.footer-nav{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.footer-nav a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid rgba(148,163,184,.18);font-weight:700;color:#334155}
.footer-payment-card{justify-self:end;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.footer-payment-label{font-size:12px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.bkash-badge{
  display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;
  background:#fff;border:1px solid rgba(233,30,99,.18);box-shadow:0 14px 26px rgba(233,30,99,.08)
}
.bkash-mark{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#e2136e;color:#fff;font-weight:800;font-size:20px;font-style:italic}
.bkash-text{font-weight:800;color:#e2136e;font-size:18px}

.home-hero-card{
  display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center;
  padding:28px;border-radius:28px;border:1px solid rgba(148,163,184,.16);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,240,.96));
  box-shadow:0 22px 50px rgba(15,23,42,.07);
}
.hero-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(79,70,229,.12);font-weight:800;color:#c2410c;margin-bottom:12px}
.hero-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hero-mini-card{padding:18px;border-radius:22px;background:#fff;border:1px solid rgba(148,163,184,.16);display:grid;gap:6px;text-align:center}
.hero-mini-card strong{font-size:26px}
.hero-mini-card span{font-size:13px;color:#64748b;font-weight:700}
.home-section-head{margin-bottom:16px}
.category-grid-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px}
.category-grid-row::-webkit-scrollbar{height:8px}
.category-grid-row::-webkit-scrollbar-thumb{background:rgba(148,163,184,.25);border-radius:999px}
.category-tile{
  border:1px solid rgba(148,163,184,.18);background:#fff;border-radius:20px;padding:16px 18px;
  display:flex;align-items:center;justify-content:center;gap:10px;min-height:72px;cursor:pointer;
  font-weight:800;color:#0f172a;box-shadow:0 14px 32px rgba(15,23,42,.05);transition:all .18s ease
}
.category-tile:hover,.category-tile.active{transform:translateY(-2px);border-color:rgba(79,70,229,.32);background:linear-gradient(135deg, rgba(79,70,229,.12), rgba(20,184,166,.16))}
.category-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#fff7ed;color:#4f46e5;font-size:18px}
.product-home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-home-card{position:relative;box-shadow:0 16px 36px rgba(15,23,42,.07)}
.product-home-card:hover{transform:translateY(-6px);box-shadow:0 22px 42px rgba(79,70,229,.15)}
.product-home-media{overflow:hidden}
.product-home-card .card-img{transition:transform .25s ease}
.product-home-card:hover .card-img{transform:scale(1.05)}
.product-card-topline{display:flex;justify-content:flex-start;margin-bottom:8px}
.product-card-tag{display:inline-flex;padding:5px 10px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:12px;font-weight:800}
.product-home-pricing{align-items:center;justify-content:space-between}
.product-home-pricing .price{font-size:20px;font-weight:900}

.product-page-shell{max-width:980px;margin:0 auto}
.product-single-wrap{display:grid;gap:20px}
.product-gallery-top{position:static;max-width:760px;margin:0 auto}
.product-gallery{border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 24px 46px rgba(15,23,42,.08)}
.product-gallery .gimg{aspect-ratio:1/1;object-fit:cover}
.product-thumbs{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:14px}
.product-thumbs .thumb{width:86px;height:86px}
.product-single-content{display:grid;gap:14px;max-width:760px;margin:0 auto}
.product-headline{margin:0;font-size:clamp(28px,4vw,40px);font-weight:900;line-height:1.2;color:#0f172a}
.product-price-card{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;padding:16px 18px;border-radius:24px;border:1px solid rgba(15,23,42,.08);background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.05);overflow-x:auto;scrollbar-width:none}
.product-price-card::-webkit-scrollbar{display:none}
.price-meta-item{display:inline-flex;align-items:center;gap:8px;min-width:fit-content;position:relative;white-space:nowrap}
.price-meta-item:not(:last-child)::after{content:"";width:1px;height:22px;background:rgba(148,163,184,.22);margin-left:4px}
.price-meta-item .label{display:none}
.price-meta-item .value{font-size:16px;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:6px;white-space:nowrap}
.price-meta-item .value.current{font-size:24px;color:#0f172a}
.price-meta-item .value.old{text-decoration:line-through;color:#94a3b8}
.price-meta-item .value.stock{padding:10px 14px;border-radius:999px;background:#eaf7ef;color:#166534;border:1px solid rgba(34,197,94,.18);font-size:15px}
.stars{color:#0f172a;letter-spacing:0}
.rating-text{font-weight:900;color:#0f172a}
.product-short-note{padding:16px 18px;border-radius:22px;background:#fff;border:1px solid rgba(148,163,184,.12);box-shadow:0 10px 24px rgba(15,23,42,.04)}
.product-short-note p{margin:0;color:#334155;line-height:1.75}
.product-service-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.service-mini-card{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;border:1px solid rgba(148,163,184,.12);background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.service-mini-card-delivery{background:linear-gradient(180deg,#fff,#fffaf2);border-color:rgba(79,70,229,.16)}
.service-mini-card-payment{background:linear-gradient(180deg,#fff,#f8fbff);border-color:rgba(59,130,246,.14)}
.service-icon{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;flex:0 0 34px;background:#fff3e8;color:#4f46e5;border:1px solid rgba(79,70,229,.14)}
.service-mini-card-payment .service-icon{background:#eff6ff;color:#2563eb;border-color:rgba(37,99,235,.14)}
.service-icon svg{width:16px;height:16px}
.service-title{font-size:14px;font-weight:800;color:#334155;line-height:1.15}
.service-copy{display:none}
.product-main-cta{margin:0}
.product-buy-btn{min-height:56px;font-size:18px;border-radius:16px;box-shadow:0 14px 30px rgba(79,70,229,.18);background:linear-gradient(135deg,#fb923c 0%,#4f46e5 100%);border:0;color:#0f172a;font-weight:900}
.product-rich-card,.product-faq-card{padding:22px;border-radius:26px}
.product-rich-card h3,.product-faq-card h3{margin:0 0 14px;font-size:20px}
.product-rich-card .rich{line-height:1.8;color:#334155}

.dashboard-grid-two{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:18px}
.dashboard-profile-card{padding:20px}
.dashboard-profile-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}

.admin-filter-stack{display:grid;gap:14px}
.status-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,220px)) 1fr;gap:14px;align-items:end}
.order-filter-grid{grid-template-columns:repeat(4,minmax(0,220px))}
.filter-actions-inline{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.bulk-action-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid rgba(148,163,184,.14);border-bottom:1px solid rgba(148,163,184,.14);margin-bottom:12px}
.bulk-check-all{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#334155}
.bulk-action-bar select{width:auto;min-width:220px;background:#fff}
.product-list-head,.order-list-grid{grid-template-columns:64px minmax(0,2fr) minmax(120px,.8fr) 120px minmax(180px,1fr)}
.order-list-grid{grid-template-columns:64px minmax(0,2fr) 140px 140px minmax(180px,1fr)}
.report-quickbar{display:grid;gap:16px;margin-bottom:18px}
.report-preset-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.report-preset-chip{
  display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;
  background:#fff;border:1px solid rgba(148,163,184,.18);font-weight:800;color:#334155;box-shadow:0 10px 24px rgba(15,23,42,.05)
}
.report-preset-chip.active,.report-preset-chip:hover{background:linear-gradient(135deg, rgba(79,70,229,.12), rgba(20,184,166,.18));border-color:rgba(79,70,229,.3);color:#0f172a}
.report-custom-row{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:14px;align-items:end}
.report-summary-grid-modern{margin-bottom:18px}
.report-total-row td{font-weight:800}

@media (max-width: 1180px){
  .product-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .modern-footwrap{grid-template-columns:1fr;justify-items:start}
  .footer-nav{justify-content:flex-start}
  .footer-payment-card{justify-self:start}
}
@media (max-width: 991px){
  .modern-navwrap{grid-template-columns:auto auto;justify-content:space-between}
  .centered-nav{display:none}
  .menu-btn{display:flex}
  .header-auth-stack{display:none}
  .home-hero-card,.dashboard-grid-two,.product-extra-grid,.product-desktop-grid{grid-template-columns:1fr}
  .product-gallery-panel{position:static}
  .hero-mini-grid{grid-template-columns:repeat(3,1fr)}
  .product-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 720px){
  .site-shell{width:min(var(--site-max), calc(100vw - 20px))}
  .hero-mini-grid{grid-template-columns:1fr}
  .product-home-grid{grid-template-columns:1fr}
  .category-grid-row{grid-auto-columns:minmax(140px,75vw)}
  .status-filter-row,.order-filter-grid,.report-custom-row{grid-template-columns:1fr}
  .bulk-action-bar{align-items:stretch}
  .bulk-action-bar select,.bulk-action-bar .btn{width:100%}
  .product-list-head,.product-row,.order-list-grid{grid-template-columns:1fr !important}
  .product-row > div,.order-list-grid > div{display:flex;flex-direction:column;gap:4px}
  .product-row .row-actions,.order-list-grid .row-actions{flex-direction:row;flex-wrap:wrap}
  .account-chip-copy{display:none}
}


/* ===== 2026 follow-up polish ===== */
.tpl-home{
  background:
    linear-gradient(180deg, #edf6ff 0%, #ffffff 42%, #f4faff 100%);
}
.home-products-section{margin-top:18px}
.mobile-home-category-wrap{display:none}
.category-subheader{
  background:rgba(255,255,255,.78);
  border-bottom:1px solid rgba(148,163,184,.14);
  backdrop-filter:blur(10px);
}
.category-subheader-row{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  padding:10px 0 12px;
  scrollbar-width:none;
}
.category-subheader-row::-webkit-scrollbar{display:none}
.subcat-chip,
.category-tile{
  border:1px solid rgba(148,163,184,.18);
  background:rgba(255,255,255,.96);
  color:#0f172a;
  border-radius:999px;
  padding:10px 16px;
  min-height:46px;
  font-weight:700;
  cursor:pointer;
  box-shadow:none;
  transition:all .18s ease;
  white-space:nowrap;
}
.subcat-chip:hover,
.subcat-chip.active,
.category-tile:hover,
.category-tile.active{
  border-color:rgba(59,130,246,.22);
  background:linear-gradient(135deg, rgba(219,234,254,.86), rgba(255,255,255,.96));
  color:#0f172a;
}
.compact-category-row{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:4px 0 4px;
  scrollbar-width:none;
}
.compact-category-row::-webkit-scrollbar{display:none}
.category-grid-row{padding-bottom:0}
.category-icon{display:none}

.modern-nav-shell{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  min-height:78px;
}
.header-menu-btn{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
}
.header-brand{justify-self:start}
.centered-nav{display:flex;justify-content:center;align-items:center;gap:12px}
.header-actions{justify-content:flex-end}
.account-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.2);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.98));
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  font-weight:700;
  color:#0f172a;
}
.account-link-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eff6ff;
  font-size:14px;
}
.admin-account-link .account-link-icon{background:#ede9fe}
.account-chip{
  gap:10px;
  padding:7px 12px 7px 7px;
}
.account-chip-copy small{font-size:12px;color:#475569}
.account-chip-copy strong{font-size:14px}
.account-avatar-img,.account-avatar-fallback{width:40px;height:40px}

.modern-footer{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(237,246,255,.94));
}
.bkash-logo-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 14px 24px rgba(15,23,42,.06);
}
.bkash-logo{
  height:38px;
  width:auto;
  object-fit:contain;
}

.product-home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-home-card{
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.98));
}
.product-home-card .card-body{padding:14px}
.product-home-card .card-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:48px;
}
.product-home-card .card-desc{
  min-height:38px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-home-pricing .price{font-size:18px}

.checkout-modern{
  grid-template-columns:minmax(300px,.92fr) minmax(0,1.08fr);
  gap:20px;
  align-items:start;
}
.checkout-summary-card,
.checkout-form-card,
.auth-card{
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.96));
  border:1px solid rgba(219,234,254,.9);
  box-shadow:0 22px 44px rgba(15,23,42,.08);
}
.checkout-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.checkout-eyebrow{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.checkout-count-badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:#fff7ed;
  color:#c2410c;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(251,146,60,.2);
}
.checkout-summary-list{
  display:grid;
  gap:12px;
}
.checkout-summary-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(226,232,240,.9);
}
.checkout-item-price{font-weight:800;color:#0f172a}
.checkout-benefits{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
}
.checkout-benefit{
  padding:9px 12px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid rgba(226,232,240,.95);
  font-weight:700;
  color:#334155;
  font-size:13px;
}
.checkout-total-row{
  padding-top:18px;
  border-top:1px dashed rgba(148,163,184,.28);
  font-size:20px;
  font-weight:900;
}
.modern-checkout-form{display:grid;gap:14px}
.modern-field{
  display:grid;
  gap:8px;
}
.modern-field label{
  font-size:14px;
  font-weight:700;
  color:#334155;
}
.modern-field input,
.modern-field select,
.modern-field textarea{
  border-radius:16px;
  border:1px solid rgba(203,213,225,.95);
  background:#fff;
  min-height:52px;
  padding:14px 16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.modern-field input:focus,
.modern-field select:focus,
.modern-field textarea:focus{
  outline:none;
  border-color:rgba(59,130,246,.45);
  box-shadow:0 0 0 4px rgba(59,130,246,.08);
}
.checkout-user-note{
  padding:12px 14px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid rgba(147,197,253,.32);
}
.modern-paybox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-radius:22px;
  background:linear-gradient(135deg, #fff, #fff5fb);
  border:1px solid rgba(236,72,153,.15);
}
.paybox-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(236,72,153,.16);
}
.paybox-logo img{
  height:34px;
  width:auto;
  object-fit:contain;
}
.checkout-submit-btn{
  min-height:54px;
  border-radius:18px;
  font-size:16px;
}

.auth-card{padding:22px}
.auth-form{display:grid;gap:14px}
.auth-register-link{
  color:#16a34a;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
}
.auth-register-note{color:#64748b}

@media (max-width: 991px){
  .modern-nav-shell{
    grid-template-columns:auto 1fr auto;
    min-height:72px;
  }
  .header-menu-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    order:1;
  }
  .header-brand{
    order:2;
    justify-self:center;
  }
  .centered-nav{
    display:none;
  }
  .header-actions{
    order:3;
  }
  .category-subheader{
    display:none;
  }
  .mobile-home-category-wrap{
    display:block;
    margin-top:12px;
  }
  .account-chip{
    padding:6px 10px;
  }
  .account-chip-copy{
    display:flex;
  }
  .account-chip-copy small{
    display:block;
    font-size:13px;
    font-weight:700;
    color:#0f172a;
  }
  .account-chip-copy strong{
    display:none;
  }
}
@media (max-width: 720px){
  .site-shell{width:min(var(--site-max), calc(100vw - 18px))}
  .product-home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .product-home-card .card-body{padding:12px}
  .product-home-card .card-title{
    font-size:14px;
    min-height:42px;
  }
  .product-home-card .card-desc{display:none}
  .product-home-pricing{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .checkout-modern{
    grid-template-columns:1fr;
  }
  .modern-paybox{
    flex-direction:column;
    align-items:flex-start;
  }
  .account-link{
    padding:9px 10px;
    gap:8px;
  }
  .account-link span:last-child{
    font-size:13px;
  }
}
@media (max-width: 420px){
  .product-home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .account-link span:last-child,
  .account-chip-copy small{
    font-size:12px;
  }
  .logo{height:42px}
}


/* ===== 2026 request update ===== */
.sticky-category-subheader{position:sticky;top:78px;z-index:39}
.category-subheader-row{gap:18px;padding:8px 0 9px}
.subcat-chip{
  display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;min-height:auto;
  color:#334155;font-weight:700;border-radius:0;box-shadow:none
}
.subcat-chip:hover,.subcat-chip.active{background:transparent;color:#0f172a;border-color:transparent;box-shadow:none}
.subcat-chip .subcat-icon{color:var(--primary);font-size:11px;line-height:1}
.mobile-home-category-wrap .category-tile{
  min-height:38px;padding:8px 14px;border-radius:999px;font-size:14px;background:#fff;border:1px solid rgba(191,219,254,.9)
}
.product-section-head h2{margin-bottom:0}
.checkout-summary-card-minimal .checkout-summary-list{gap:8px}
.checkout-summary-card-minimal .checkout-summary-item{
  padding:10px 0;border-radius:0;background:transparent;border:0;border-bottom:1px solid rgba(226,232,240,.9)
}
.checkout-summary-card-minimal .checkout-summary-item:last-child{border-bottom:0}
.checkout-card-head-minimal{margin-bottom:10px;align-items:center}
.checkout-item-name{font-size:15px;line-height:1.45}
.checkout-summary-card-minimal .checkout-total-row{padding-top:12px;margin-top:8px}
.modern-paybox{align-items:center}
.footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:10px 18px;justify-content:start}
.footer-nav a{padding:0;background:transparent;border:0;border-radius:0;color:#334155;font-weight:700}
.footer-nav a:hover{color:var(--primary)}
.footer-site-logo{display:inline-flex;align-items:center}
.footer-logo-img{height:48px;width:auto;object-fit:contain}
.account-link,.account-link-icon,.subcat-chip .subcat-icon,.footer-nav a:hover,.category-tile.active,.category-tile:hover{color:var(--primary)}
.account-link{color:#0f172a}
.account-link-icon{background:rgba(79,70,229,.12);color:var(--primary)}
.account-chip .account-avatar-fallback{background:linear-gradient(135deg,#fb923c,#fdba74)}
@media (max-width: 991px){
  .sticky-category-subheader{display:none}
  .modern-paybox{flex-direction:row;justify-content:space-between;align-items:center}
  .account-link{padding:8px;border-radius:14px;min-width:42px;justify-content:center}
  .account-link-text{display:none}
}
@media (max-width: 720px){
  .home-section-head,.mobile-home-category-wrap .section-head{display:none}
  .mobile-home-category-wrap{margin-top:10px}
  .modern-paybox{padding:14px 16px}
  .pay-title{display:inline-block;margin-right:8px}
  .paybox > div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
  .paybox > div:first-child .muted.small{margin:0}
  .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .modern-footwrap{gap:18px}
}


/* ===== 2026 request update v4 ===== */
:root{
  --bg:#fbfaf7;
  --soft:#fffaf2;
}
html,body{background:var(--bg);}
body{
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(255, 236, 179, .34), transparent 60%),
    radial-gradient(1100px 640px at 100% 0%, rgba(255, 221, 214, .22), transparent 56%),
    linear-gradient(180deg, #fdfcf8 0%, #fbfaf7 48%, #fffdfa 100%);
}
.topbar,
.modern-topbar{
  background:rgba(255,255,252,.88);
}
.main{padding:14px 0 42px}
.main.main-wide{padding:14px 0 42px}
.section{margin:16px 0}
.home-products-section{margin-top:10px}
.mobile-home-category-wrap{margin-top:6px}
.tpl-home{background:transparent}

.category-tile,
.subcat-chip{
  color:var(--primary);
}
.category-tile:hover,
.category-tile.active,
.subcat-chip:hover,
.subcat-chip.active{
  color:var(--ok) !important;
}
.category-tile:hover,
.category-tile.active{
  border-color:rgba(22,163,74,.26);
  background:linear-gradient(135deg, rgba(22,163,74,.08), rgba(187,247,208,.18));
}
.subcat-chip:hover,
.subcat-chip.active{
  background:transparent;
}
.subcat-chip .subcat-icon,
.category-tile .category-icon{
  color:var(--primary);
}
.subcat-chip:hover .subcat-icon,
.subcat-chip.active .subcat-icon,
.category-tile:hover .category-icon,
.category-tile.active .category-icon{
  color:var(--ok) !important;
}
.category-subheader{
  background:linear-gradient(180deg, rgba(255,255,252,.97), rgba(253,250,245,.95));
}
.sticky-category-subheader{top:73px}
.category-subheader-row{padding:6px 0 7px}
.mobile-home-category-wrap .category-tile{
  color:var(--primary);
  border-color:rgba(251,146,60,.22);
  background:rgba(255,255,255,.92);
}
.mobile-home-category-wrap .category-tile:hover,
.mobile-home-category-wrap .category-tile.active{
  color:var(--ok) !important;
  border-color:rgba(22,163,74,.28);
  background:linear-gradient(135deg, rgba(22,163,74,.08), rgba(255,255,255,.96));
}

.modern-footer{
  background:linear-gradient(180deg, rgba(255,255,252,.97), rgba(251,247,240,.96));
}

@media (max-width: 991px){
  .modern-nav-shell{min-height:68px}
  .main,
  .main.main-wide{padding-top:10px}
  .account-link,
  .account-chip{
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    min-width:auto;
    border-radius:0;
  }
  .account-link-icon,
  .account-chip .account-avatar-img,
  .account-chip .account-avatar-fallback{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:50%;
    background:transparent !important;
    border:1.5px solid rgba(79,70,229,.7);
    box-shadow:none;
    display:grid;
    place-items:center;
    overflow:hidden;
    color:var(--primary);
  }
  .account-link-icon{
    font-size:16px;
    line-height:1;
  }
  .account-chip-copy{display:none !important}
}

@media (max-width: 991px){
  .product-price-card{gap:10px 14px}
  .price-meta-item .value.current{font-size:22px}
}
@media (max-width: 720px){
  .product-single-content{gap:12px}
  .product-headline{font-size:28px}
  .product-price-card{gap:10px;padding:14px 16px;border-radius:20px}
  .price-meta-item{gap:6px}
  .price-meta-item:not(:last-child)::after{height:18px}
  .price-meta-item .value{font-size:14px}
  .price-meta-item .value.current{font-size:20px}
  .price-meta-item .value.stock{padding:8px 12px;font-size:14px}
  .product-service-row{grid-template-columns:1fr 1fr;gap:10px}
  .service-mini-card{padding:10px 11px;border-radius:15px;align-items:center}
  .service-icon{width:32px;height:32px;flex-basis:32px}
  .service-icon svg{width:15px;height:15px}
  .service-title{font-size:13px}
  .sticky-buy{left:10px;right:10px;bottom:10px;padding:10px 10px 10px 14px;border-radius:18px}
  .sb-price{font-size:17px}
  .sb-btn{min-width:148px;padding:11px 14px;border-radius:14px}
}


/* Global page background (header/footer stay white) */
.main,
.admin-content,
body.raw-html-body .raw-html-wrap{background:#f4f7fb;}
.topbar,.modern-topbar,.category-subheader,.footer,.admin-sidebar{background:#ffffff;}


/* ===== 2026 request update v11 ===== */
:root{--bg:#f4f7fb;--soft:#ffffff}
html,body{background:#f4f7fb}
body{background:#f4f7fb}
.main.main-wide{padding:12px 0 26px}
.section{margin:14px 0}
.modern-footer{margin-top:12px;padding:20px 0}
.modern-topbar{
  background:#ffffff;
  border-bottom:1px solid rgba(226,232,240,.95);
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.modern-navwrap{
  grid-template-columns:minmax(220px,max-content) 1fr auto;
  gap:22px;
  min-height:86px;
}
.header-brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-mark{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(180deg,#fb923c,#4f46e5);color:#fff;font-weight:900;font-size:22px;
  box-shadow:0 12px 24px rgba(79,70,229,.22);
}
.logo{height:46px;width:auto;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.brand-title{font-size:18px;font-weight:900;color:#0f172a;white-space:nowrap}
.brand-subtitle{margin-top:6px;font-size:12px;font-weight:600;color:#64748b;white-space:nowrap}
.centered-nav{gap:10px;justify-content:center}
.centered-nav a{
  padding:8px 12px;background:transparent;border-radius:999px;
  color:#64748b;font-weight:800;box-shadow:none
}
.centered-nav a:hover,.centered-nav a.active{background:transparent;color:#0f172a;box-shadow:none}
.header-actions{display:flex;align-items:center;gap:12px}
.lang-switch,.account-link,.account-chip{
  min-height:48px;border-radius:999px;border:1px solid rgba(226,232,240,.95);background:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.04)
}
.lang-switch{
  display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:0 18px;
  color:var(--primary);font-weight:900;letter-spacing:.02em
}
.account-link{padding:8px 18px 8px 12px;gap:10px;color:#0f172a;font-weight:800}
.account-link-icon{width:26px;height:26px;min-width:26px;border:0;background:rgba(79,70,229,.14);position:relative}
.account-link-dot::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--primary);display:block}
.account-chip{padding:6px 14px 6px 8px}
.category-subheader{background:#ffffff;border-bottom:1px solid rgba(226,232,240,.88)}
.sticky-category-subheader{top:86px;z-index:45}
.category-subheader-row{justify-content:center;gap:28px;padding:8px 0}
.subcat-chip{font-size:15px;font-weight:800;color:var(--primary)}
.subcat-chip:hover,.subcat-chip.active{color:var(--ok) !important}
.footer-nav{gap:10px 16px}
.sticky-buy{
  left:50%;right:auto;bottom:14px;transform:translate(-50%, calc(100% + 30px));
  width:min(560px, calc(100vw - 20px));max-width:560px;padding:12px;border-radius:20px;
}
.sticky-buy.show{transform:translate(-50%, 0)}
.sb-left{flex:0 0 92px;min-width:92px;padding-left:2px}
.sb-btn{
  min-height:42px;padding:12px 20px;border-radius:14px;
  background:linear-gradient(180deg,#ff8a22 0%,#ff7a1a 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(79,70,229,.22)
}
.sb-label{font-size:17px}
@media (min-width:900px){
  .sticky-buy{display:flex}
}
@media (max-width:991px){
  .modern-navwrap{grid-template-columns:auto 1fr auto;gap:12px;min-height:72px}
  .header-brand{justify-self:center;gap:10px}
  .lang-switch{display:none}
  .logo{height:42px}
  .sticky-category-subheader{display:none}
}
@media (max-width:720px){
  .main.main-wide{padding:10px 0 20px}
  .modern-footer{margin-top:8px;padding:18px 0}
  .sticky-buy{width:calc(100vw - 20px);bottom:10px;padding:10px;border-radius:18px}
}


/* ===== 2026 request update v12 ===== */
.main.main-wide{padding:10px 0 22px}
.modern-footer{margin-top:6px;padding:18px 0}
.footer-nav a{font-weight:500 !important}
.admin-sidebar{background:#0f172a !important;box-shadow:18px 0 42px rgba(15,23,42,.16)}
.admin-brand-sub,.admin-sidebar-summary-value,.admin-menu-link{filter:none !important;text-shadow:none !important}
.admin-menu-link{background:transparent;color:#dbe4f0}
.admin-menu-link:hover{background:rgba(255,255,255,.06)}
.admin-sidebar-summary{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.07)}
.category-subheader-row{justify-content:center !important;text-align:center}
.sticky-buy{display:flex !important;left:50%;right:auto;bottom:12px;width:min(560px, calc(100vw - 20px));transform:translate(-50%, calc(100% + 34px));opacity:0;pointer-events:none}
.sticky-buy.show{transform:translate(-50%, 0);opacity:1;pointer-events:auto}
.sb-btn{min-height:42px;border-radius:14px;background:linear-gradient(180deg,#ff8d24 0%,#ff7818 100%);color:#0f172a;font-weight:900}
@media (max-width:991px){.modern-navwrap{grid-template-columns:48px minmax(0,1fr) auto;gap:10px;min-height:74px}.header-brand{justify-self:center;text-align:center;gap:10px;max-width:100%}.brand-copy{display:flex !important;align-items:center;text-align:center}.brand-title{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46vw}.brand-subtitle{display:none}.header-actions{justify-content:flex-end}.account-link{padding:8px 12px;gap:8px}.account-link-text{display:inline-block !important;font-size:13px;font-weight:800}.account-link-icon{width:24px;height:24px;min-width:24px}.logo{height:42px}}
@media (max-width:720px){.sticky-buy{width:calc(100vw - 16px);bottom:8px;padding:8px;border-radius:18px}.sb-left{flex-basis:84px;min-width:84px}.sb-price{font-size:18px}.sb-btn{min-width:unset;width:100%;padding:12px 16px}.brand-title{max-width:40vw;font-size:15px}}


/* ===== update v13 ===== */
body:not(.admin-body):not(.raw-html-body){background:#f4f7fb}
body.tpl-product .main.main-wide{padding-bottom:calc(var(--sb-height, 0px) + 20px)}
.products-toolbar{display:grid;gap:14px}
.products-search input{width:100%;height:46px;border-radius:14px;border:1px solid rgba(17,24,39,.08);background:#fff;padding:0 14px;font:inherit;color:#0f172a}
.products-filter-chips{display:flex;flex-wrap:wrap;gap:10px}
.products-filter-chip{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid rgba(17,24,39,.08);font-weight:700;color:#4f46e5}
.products-filter-chip.active,.products-filter-chip:hover{color:#fff;background:#4f46e5;border-color:#4f46e5}
.products-page-grid-wrap{margin-top:8px}
.sticky-buy{z-index:999;display:flex !important}
.sticky-buy.show{opacity:1;pointer-events:auto}
@media (max-width:991px){
  .header-brand{justify-content:center}
  .header-brand .brand-copy{display:none !important}
  .header-brand .logo{width:42px;height:42px;max-width:42px;object-fit:cover;object-position:left center;border-radius:12px}
  .header-brand .brand-mark{width:42px;height:42px}
  .modern-navwrap{grid-template-columns:48px 1fr auto}
  .products-toolbar{gap:12px}
}


/* ===== 2026 request update v14 ===== */
/* Mobile header logo: icon only, no circle, no border, no mask */
@media (max-width:991px){
  .header-brand{justify-self:center;gap:0 !important;display:flex;justify-content:center;width:100%}
  .header-brand .brand-copy{display:none !important}
  .header-brand .logo{
    width:auto !important;
    height:38px !important;
    max-width:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    padding:0 !important;
    display:block;
  }
  .header-brand .brand-mark{
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--primary);
    width:auto;
    height:auto;
    min-width:0;
    font-size:32px;
  }
}

/* Sticky Buy Now: screenshot-like and reliably visible after scroll */
body.tpl-product .sticky-buy{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:max(10px, env(safe-area-inset-bottom, 0px)) !important;
  width:min(560px, calc(100vw - 16px)) !important;
  max-width:560px !important;
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:10px 10px 10px 14px !important;
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  border-radius:18px !important;
  box-shadow:0 16px 36px rgba(15,23,42,.14) !important;
  transform:translate(-50%, calc(100% + 28px)) !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:9999 !important;
  transition:transform .28s ease, opacity .28s ease, visibility .28s ease;
}
body.tpl-product .sticky-buy.show{
  transform:translate(-50%, 0) !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
body.tpl-product .sticky-buy .sb-left{
  flex:0 0 86px;
  min-width:86px;
  gap:4px;
}
body.tpl-product .sticky-buy .sb-price{font-size:16px;font-weight:900;color:#0f172a;line-height:1.05}
body.tpl-product .sticky-buy .sb-orig{font-size:11px;color:#9ca3af;text-decoration:line-through;font-weight:700;line-height:1}
body.tpl-product .sticky-buy .sb-form{flex:1;display:flex}
body.tpl-product .sticky-buy .sb-btn{
  width:100%;
  min-height:42px;
  border-radius:14px !important;
  border:1px solid rgba(79,70,229,.2) !important;
  background:linear-gradient(180deg,#ff8a22 0%, #ff7918 100%) !important;
  color:#0f172a !important;
  font-weight:900 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 8px 18px rgba(79,70,229,.22) !important;
}
body.tpl-product .sticky-buy .sb-label{font-size:17px;font-weight:900}
@media (min-width:992px){
  body.tpl-product .sticky-buy{width:min(560px, calc(100vw - 32px)) !important;bottom:14px !important}
}
@media (max-width:640px){
  body.tpl-product .sticky-buy{width:calc(100vw - 12px) !important;gap:10px;padding:8px 8px 8px 12px !important;border-radius:16px !important}
  body.tpl-product .sticky-buy .sb-left{flex:0 0 72px;min-width:72px}
  body.tpl-product .sticky-buy .sb-price{font-size:15px}
  body.tpl-product .sticky-buy .sb-orig{font-size:10px}
  body.tpl-product .sticky-buy .sb-btn{min-height:40px;padding:11px 16px !important}
  body.tpl-product .sticky-buy .sb-label{font-size:15px}
}


/* ===== final sticky/mobile logo fix ===== */
@media (max-width:991px){
  .header-brand .brand-copy{display:none !important}
  .header-brand .logo{
    height:38px !important;
    width:auto !important;
    max-width:none !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
    -webkit-mask:none !important;
    mask:none !important;
  }
  .header-brand .brand-mark{
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:0 !important;
  }
}

body.tpl-product .sticky-buy{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  width:min(560px, calc(100vw - 14px)) !important;
  max-width:560px !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 8px 8px 12px !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  border-radius:16px !important;
  box-shadow:0 14px 30px rgba(15,23,42,.14) !important;
  transform:translate(-50%, calc(100% + 28px)) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  z-index:9999 !important;
  transition:transform .28s ease, opacity .28s ease, visibility .28s ease !important;
}
body.tpl-product .sticky-buy.show{
  transform:translate(-50%, 0) !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
body.tpl-product .sticky-buy .sb-left{
  flex:0 0 72px !important;
  min-width:72px !important;
  display:flex !important;
  flex-direction:column !important;
  line-height:1.05 !important;
}
body.tpl-product .sticky-buy .sb-price{font-size:15px !important;font-weight:900 !important;color:#0f172a !important}
body.tpl-product .sticky-buy .sb-orig{font-size:10px !important;color:#9ca3af !important;text-decoration:line-through !important;font-weight:700 !important}
body.tpl-product .sticky-buy .sb-form{flex:1 !important;display:flex !important;margin:0 !important}
body.tpl-product .sticky-buy .sb-btn{
  width:100% !important;
  min-height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:14px !important;
  border:1px solid rgba(79,70,229,.18) !important;
  background:linear-gradient(180deg,#ff8b23 0%,#ff7918 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(79,70,229,.18) !important;
  color:#0f172a !important;
  padding:10px 16px !important;
}
body.tpl-product .sticky-buy .sb-label{font-size:15px !important;font-weight:900 !important}
@media (min-width:900px){
  body.tpl-product .sticky-buy{display:none !important}
}
@media (max-width:899px){
  body.tpl-product .sticky-buy{display:flex !important}
  body.tpl-product .main.main-wide{padding-bottom:92px !important}
}


/* ===== sticky buy emergency final fix ===== */
@media (max-width:899px){
  body.tpl-product .sticky-buy{display:flex !important;left:50% !important;right:auto !important;bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;width:calc(100vw - 16px) !important;max-width:560px !important;border-radius:16px !important;z-index:2147483000 !important}
  body.tpl-product .header-brand .logo, body.tpl-product .header-brand .brand-mark{border:none !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;outline:none !important;-webkit-mask:none !important;mask:none !important}
}

/* ===== final requested fix: sticky buy always visible on mobile, no hidden state ===== */
@media (max-width:899px){
  body.tpl-product .sticky-buy,
  body.tpl-product .sticky-buy.show{
    display:flex !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width:calc(100vw - 16px) !important;
    max-width:560px !important;
    transform:translate(-50%, 0) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    z-index:2147483640 !important;
  }
  body.tpl-product .main.main-wide,
  body.tpl-product .main{
    padding-bottom:96px !important;
  }

  /* Mobile logo: plain logo only, no circle, no border, no mask */
  .topbar .brand .logo,
  .modern-topbar .brand .logo,
  .header-brand .logo{
    height:38px !important;
    width:auto !important;
    max-width:none !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    padding:0 !important;
    object-fit:contain !important;
    -webkit-mask:none !important;
    mask:none !important;
    clip-path:none !important;
  }
  .topbar .brand .brand-mark,
  .modern-topbar .brand .brand-mark,
  .header-brand .brand-mark{
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    padding:0 !important;
    -webkit-mask:none !important;
    mask:none !important;
    clip-path:none !important;
  }
}


/* ===== v18 final sticky buy fix ===== */
@media (max-width:899px){
  body.tpl-product .sticky-buy{
    display:flex !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width:calc(100vw - 16px) !important;
    max-width:560px !important;
    align-items:center !important;
    gap:10px !important;
    padding:8px 8px 8px 12px !important;
    background:#fff !important;
    border:1px solid rgba(15,23,42,.08) !important;
    border-radius:16px !important;
    box-shadow:0 14px 30px rgba(15,23,42,.14) !important;
    transform:translate(-50%, calc(100% + 28px)) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    z-index:2147483640 !important;
    transition:transform .28s ease, opacity .28s ease, visibility .28s ease !important;
  }
  body.tpl-product .sticky-buy.show,
  body.tpl-product .sticky-buy.is-visible{
    transform:translate(-50%, 0) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
  body.tpl-product .sticky-buy .sb-left{
    flex:0 0 72px !important;
    min-width:72px !important;
    display:flex !important;
    flex-direction:column !important;
    line-height:1.05 !important;
  }
  body.tpl-product .sticky-buy .sb-price{font-size:15px !important;font-weight:900 !important;color:#0f172a !important}
  body.tpl-product .sticky-buy .sb-orig{font-size:10px !important;color:#9ca3af !important;text-decoration:line-through !important;font-weight:700 !important}
  body.tpl-product .sticky-buy .sb-form{flex:1 !important;display:flex !important;margin:0 !important}
  body.tpl-product .sticky-buy .sb-btn{
    width:100% !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:14px !important;
    border:1px solid rgba(79,70,229,.18) !important;
    background:linear-gradient(180deg,#ff8b23 0%,#ff7918 100%) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(79,70,229,.18) !important;
    color:#0f172a !important;
    padding:10px 16px !important;
  }
  body.tpl-product .sticky-buy .sb-label{font-size:15px !important;font-weight:900 !important}
  body.tpl-product .main.main-wide,
  body.tpl-product .main{padding-bottom:96px !important}
}
@media (min-width:900px){
  body.tpl-product .sticky-buy{display:none !important}
}


/* ===== v20 hard fix: sticky buy + plain mobile logo ===== */
@media (max-width: 899px){
  body.tpl-product .sticky-buy{
    display:flex !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width:calc(100vw - 16px) !important;
    max-width:560px !important;
    align-items:center !important;
    gap:10px !important;
    padding:8px 8px 8px 12px !important;
    background:#ffffff !important;
    border:1px solid rgba(15,23,42,.08) !important;
    border-radius:16px !important;
    box-shadow:0 14px 30px rgba(15,23,42,.14) !important;
    transform:translate(-50%, calc(100% + 28px)) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    z-index:2147483640 !important;
    transition:transform .28s ease, opacity .28s ease, visibility .28s ease !important;
  }
  body.tpl-product .sticky-buy.show{
    transform:translate(-50%, 0) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
  body.tpl-product .sticky-buy .sb-left{
    flex:0 0 72px !important;
    min-width:72px !important;
    display:flex !important;
    flex-direction:column !important;
    line-height:1.05 !important;
  }
  body.tpl-product .sticky-buy .sb-price{font-size:15px !important;font-weight:900 !important;color:#0f172a !important}
  body.tpl-product .sticky-buy .sb-orig{font-size:10px !important;color:#9ca3af !important;text-decoration:line-through !important;font-weight:700 !important}
  body.tpl-product .sticky-buy .sb-form{flex:1 !important;display:flex !important;margin:0 !important}
  body.tpl-product .sticky-buy .sb-btn{
    width:100% !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:14px !important;
    border:1px solid rgba(79,70,229,.18) !important;
    background:linear-gradient(180deg,#ff8b23 0%,#ff7918 100%) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(79,70,229,.18) !important;
    color:#0f172a !important;
    padding:10px 16px !important;
  }
  body.tpl-product .sticky-buy .sb-offer{display:none !important}
  body.tpl-product .sticky-buy .sb-label{font-size:15px !important;font-weight:900 !important}
  body.tpl-product .main,
  body.tpl-product .main.main-wide{padding-bottom:96px !important}

  .topbar .brand .logo,
  .modern-topbar .brand .logo,
  .header-brand .logo,
  .brand .logo{
    height:38px !important;
    width:auto !important;
    max-width:none !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
    overflow:visible !important;
    clip-path:none !important;
    -webkit-mask:none !important;
    mask:none !important;
  }
  .topbar .brand,
  .modern-topbar .brand,
  .header-brand,
  .brand{background:transparent !important;border:none !important;box-shadow:none !important;border-radius:0 !important}
}
@media (min-width: 900px){
  body.tpl-product .sticky-buy{display:none !important}
}


/* ===== v21 branding + payment methods ===== */
.header-brand-logo-only{gap:0 !important;justify-content:flex-start}
.header-brand-logo-only .logo{height:54px;width:54px;max-width:54px;object-fit:contain;border-radius:18px;display:block}
.header-brand-logo-only .brand-mark{width:54px;height:54px}
@media (max-width:991px){
  .header-brand-logo-only{justify-content:center !important}
  .header-brand-logo-only .logo{height:42px !important;width:42px !important;max-width:42px !important;border-radius:14px !important}
}
.footer-payment-list{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.payment-badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;font-weight:800;font-size:13px;background:#fff7ed;color:#9a3412;border:1px solid rgba(79,70,229,.16)}
.payment-badge.cod{background:#eff6ff;color:#1d4ed8;border-color:rgba(59,130,246,.18)}
.modern-paybox-select{display:grid;gap:14px;align-items:stretch}
.paybox-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.payment-method-grid{display:grid;gap:12px}
.payment-method-card{display:block;cursor:pointer}
.payment-method-card input{position:absolute;opacity:0;pointer-events:none}
.payment-method-card-ui{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:18px;border:1px solid rgba(148,163,184,.24);background:#fff;transition:.22s ease box-shadow,.22s ease border-color,.22s ease transform}
.payment-method-card:hover .payment-method-card-ui{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.06)}
.payment-method-main{display:flex;align-items:center;gap:12px;min-width:0}
.payment-method-icon{width:56px;height:56px;min-width:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#fff7ed;border:1px solid rgba(79,70,229,.14);overflow:hidden}
.payment-method-card-bkash .payment-method-icon{background:#fff1f8;border-color:rgba(232,62,140,.16)}
.payment-method-card-cod .payment-method-icon{background:#eff6ff;border-color:rgba(59,130,246,.16)}
.payment-method-icon img{max-width:38px;max-height:38px;object-fit:contain}
.payment-method-cod-icon{font-size:28px;line-height:1}
.payment-method-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.payment-method-copy strong{font-size:16px;color:#0f172a}
.payment-method-copy small{font-size:12px;color:#64748b;line-height:1.5}
.payment-method-check{width:24px;height:24px;min-width:24px;border-radius:999px;border:2px solid rgba(148,163,184,.5);position:relative;transition:.2s ease all}
.payment-method-card input:checked + .payment-method-card-ui{border-color:rgba(79,70,229,.42);box-shadow:0 16px 32px rgba(79,70,229,.12);background:linear-gradient(180deg,#fffdf9 0%,#ffffff 100%)}
.payment-method-card input:checked + .payment-method-card-ui .payment-method-check{border-color:#4f46e5;background:#4f46e5}
.payment-method-card input:checked + .payment-method-card-ui .payment-method-check::after{content:'';position:absolute;left:6px;top:2px;width:7px;height:12px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.payment-method-admin-form{display:grid;gap:14px}
.payment-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid rgba(148,163,184,.2);border-radius:18px;background:#fff;cursor:pointer}
.payment-toggle-main{display:flex;align-items:center;gap:12px;min-width:0}
.payment-toggle-main strong{display:block;font-size:16px;color:#0f172a}
.payment-toggle-main small{display:block;margin-top:4px;color:#64748b;line-height:1.55}
.payment-toggle-icon{width:56px;height:56px;min-width:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#fff7ed;border:1px solid rgba(79,70,229,.14);font-size:28px}
.payment-toggle-icon.bkash{background:#fff1f8;border-color:rgba(232,62,140,.16)}
.payment-toggle-icon.bkash img{max-width:38px;max-height:38px;object-fit:contain}
.payment-toggle-icon.cod{background:#eff6ff;border-color:rgba(59,130,246,.16)}
.payment-toggle-switch{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#f8fafc;border:1px solid rgba(148,163,184,.2);font-weight:800;color:#334155}
.payment-toggle-switch input{width:18px;height:18px}
@media (max-width:720px){
  .payment-method-card-ui,.payment-toggle-row{padding:14px}
  .payment-method-icon,.payment-toggle-icon{width:50px;height:50px;min-width:50px;border-radius:14px}
  .payment-toggle-row{flex-direction:column;align-items:flex-start}
  .payment-toggle-switch{width:100%;justify-content:center}
}


/* ===== v22 header search + thank you refresh ===== */
.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important}
.modern-topbar{padding:10px 0 !important}
.modern-navwrap{min-height:64px !important;grid-template-columns:auto minmax(0,1fr) auto !important;gap:18px;align-items:center}
.header-center-cluster{display:flex;align-items:center;justify-content:center;gap:16px;min-width:0}
.centered-nav{justify-content:center;flex-wrap:nowrap}
.desktop-live-search{position:relative;display:flex;align-items:center;min-width:260px;max-width:300px;width:100%;padding:0 14px 0 40px;height:44px;border-radius:999px;background:#fff;border:1px solid rgba(148,163,184,.22);box-shadow:0 10px 24px rgba(15,23,42,.04)}
.desktop-live-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:16px;color:#94a3b8}
.desktop-live-search input{width:100%;height:100%;border:none;outline:none;background:transparent;font:inherit;color:#0f172a;padding:0}
.desktop-live-search input::placeholder{color:#94a3b8}
.desktop-live-search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:20px;box-shadow:0 20px 50px rgba(15,23,42,.12);padding:8px;display:grid;gap:4px;z-index:70;max-height:min(60vh,420px);overflow:auto}
.desktop-live-search-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:14px;color:#0f172a;text-decoration:none}
.desktop-live-search-item:hover{background:#fff7ed}
.desktop-live-search-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.desktop-live-search-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.desktop-live-search-copy span{font-size:12px;color:#64748b}
.desktop-live-search-price{font-size:12px;font-weight:800;color:#4f46e5;white-space:nowrap}
.desktop-live-search-empty{padding:14px 12px;border-radius:14px;background:#f8fafc;color:#64748b;font-size:13px}
.thankyou-shell{display:grid;gap:14px;min-width:0;max-width:100%}
.thankyou-shell,.thankyou-shell *{box-sizing:border-box}
.thankyou-hero{display:grid;gap:14px;padding:18px !important;background:linear-gradient(180deg,#ffffff 0%,#fffaf5 100%) !important;border:1px solid rgba(79,70,229,.12) !important;min-width:0;overflow:hidden;border-radius:22px !important}
.thankyou-badge{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-size:28px;font-weight:900;box-shadow:0 16px 34px rgba(34,197,94,.18)}
.thankyou-kicker{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#fff7ed;border:1px solid rgba(79,70,229,.12);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c2410c;max-width:100%;width:max-content}
.thankyou-copy,.thankyou-copy h1,.thankyou-copy p,.thankyou-main,.thankyou-side,.thankyou-block,.thankyou-side-card{min-width:0}
.thankyou-copy h1{margin:0;font-size:clamp(24px,6vw,38px);line-height:1.14;color:#0f172a;overflow-wrap:anywhere;word-break:break-word;letter-spacing:-.02em}
.thankyou-copy p{margin:6px 0 0;color:#475569;max-width:62ch;overflow-wrap:anywhere;font-size:14px;line-height:1.65}
.thankyou-meta-grid{display:grid;grid-template-columns:1fr;gap:10px;min-width:0}
.thankyou-meta-item{padding:14px 15px;border-radius:16px;background:#fff;border:1px solid rgba(226,232,240,.9);display:grid;gap:4px;min-width:0}
.thankyou-meta-item span{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.thankyou-meta-item strong{font-size:15px;color:#0f172a;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.thankyou-grid{display:grid;grid-template-columns:1fr;gap:14px;align-items:start;min-width:0}
.thankyou-main,.thankyou-side{display:grid;gap:14px}
.thankyou-block,.thankyou-side-card{padding:18px !important;border-radius:20px !important;overflow:hidden}
.thankyou-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.thankyou-block-head h3,.thankyou-side-card h3{margin:0;color:#0f172a;min-width:0;font-size:18px;line-height:1.2}
.thankyou-note-list,.thankyou-step-list,.thankyou-mini-list{display:grid;gap:10px;min-width:0}
.thankyou-note-card{padding:14px;border-radius:16px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);min-width:0}
.thankyou-note-title{font-weight:800;color:#0f172a;margin-bottom:5px;overflow-wrap:anywhere}
.thankyou-note-body{color:#475569;line-height:1.65;word-break:break-word;overflow-wrap:anywhere;font-size:14px}
.thankyou-download-list{display:grid;gap:10px;min-width:0}
.thankyou-download-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;padding:14px;border-radius:16px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);min-width:0}
.thankyou-download-copy{display:grid;gap:5px;min-width:0;width:100%}
.thankyou-download-copy strong{font-size:15px;color:#0f172a;word-break:break-word;overflow-wrap:anywhere}
.thankyou-download-copy span{font-size:13px;color:#64748b;line-height:1.6;overflow-wrap:anywhere}
.thankyou-download-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:100%;width:100%}
.thankyou-download-actions .btn{width:100%;justify-content:center}
.thankyou-pending-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px;font-weight:800;max-width:100%;text-align:center;width:100%}
.thankyou-mini-row{display:grid;grid-template-columns:1fr;gap:4px;padding:10px 0;border-bottom:1px solid rgba(226,232,240,.8);min-width:0}
.thankyou-mini-row:last-child{border-bottom:none;padding-bottom:0}
.thankyou-mini-row span{font-size:12px;color:#64748b}
.thankyou-mini-row strong{font-size:14px;color:#0f172a;text-align:left;word-break:break-word;overflow-wrap:anywhere;min-width:0}
.thankyou-step-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.thankyou-step-item span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#fff7ed;color:#c2410c;font-weight:900;font-size:14px}
.thankyou-step-item p{margin:0;color:#475569;line-height:1.6;overflow-wrap:anywhere;font-size:14px}
.thankyou-side-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;width:100%}
.thankyou-side-actions .btn{width:100%;justify-content:center}
.admin-sidebar{overflow-y:auto;overflow-x:hidden;padding-bottom:28px}
.admin-menu{padding-bottom:8px}
.admin-sidebar-foot{position:sticky;bottom:0;padding-top:12px;background:linear-gradient(180deg,rgba(15,23,42,0),rgba(15,23,42,.82) 26%,rgba(15,23,42,.96) 100%)}
@media (min-width:640px){
  .thankyou-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:992px){
  .thankyou-shell{gap:18px}
  .thankyou-hero{padding:24px !important;border-radius:24px !important}
  .thankyou-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .thankyou-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:18px}
  .thankyou-block,.thankyou-side-card{padding:22px !important;border-radius:24px !important}
  .thankyou-download-row{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
  .thankyou-download-copy{flex:1 1 260px;width:auto}
  .thankyou-download-actions{width:auto}
  .thankyou-download-actions .btn{width:auto}
  .thankyou-mini-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
  .thankyou-mini-row strong{text-align:right}
  .thankyou-side-actions{width:auto}
  .thankyou-side-actions .btn{width:auto}
}
@media (max-width:991px){
  .modern-topbar{padding:8px 0 !important}
  .modern-navwrap{min-height:58px !important;grid-template-columns:48px 1fr auto !important;gap:10px}
  .header-center-cluster{display:block}
  .desktop-live-search{display:none}
}
@media (max-width:420px){
  .thankyou-shell{gap:12px}
  .thankyou-hero,.thankyou-block,.thankyou-side-card{padding:16px !important;border-radius:18px !important}
  .thankyou-copy h1{font-size:22px}
  .thankyou-copy p,.thankyou-note-body,.thankyou-step-item p{font-size:13px}
  .thankyou-badge{width:50px;height:50px;border-radius:16px;font-size:24px}
}
.order-status-shell{display:grid;gap:18px}.order-status-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.order-status-kicker{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#fff7ed;border:1px solid rgba(79,70,229,.14);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c2410c;margin-bottom:8px}.order-status-head h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.1}.order-status-subcopy{margin:10px 0 0;max-width:68ch}.order-status-total-box{padding:16px 18px;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#fffaf5 100%);border:1px solid rgba(79,70,229,.14);display:grid;gap:6px;min-width:180px}.order-status-total-box span{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.order-status-total-box strong{font-size:26px;line-height:1.1;color:#0f172a}.order-status-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px;align-items:start}.order-status-main,.order-status-side{display:grid;gap:18px}.order-status-card{display:grid;gap:16px}.order-status-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-status-card-head h3{margin:0}.order-status-card-head-stack{align-items:flex-start}.order-status-card-head-stack p{margin:8px 0 0;max-width:60ch}.order-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-meta-item{padding:14px 16px;border-radius:18px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);display:grid;gap:6px;min-width:0}.order-meta-item span{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.order-meta-item strong{font-size:15px;color:#0f172a;overflow-wrap:anywhere}.order-item-list{display:grid;gap:12px}.order-item-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid rgba(226,232,240,.9);border-radius:18px;background:#fff}.order-item-price{font-weight:800;color:#4f46e5;white-space:nowrap}.order-retry-card{background:linear-gradient(180deg,#ffffff 0%,#fffaf7 100%) !important;border:1px solid rgba(79,70,229,.16) !important}.order-retry-form{display:grid;gap:16px}.order-retry-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.order-retry-actions{display:flex;gap:12px;flex-wrap:wrap}.order-status-note{position:sticky;top:96px}.pill.warning{background:rgba(234,179,8,.14);border:1px solid rgba(234,179,8,.3);color:#a16207}.pill.soft{background:#f8fafc;border:1px solid rgba(226,232,240,.9);color:#334155}@media (max-width: 980px){.order-status-grid{grid-template-columns:1fr}.order-status-note{position:static}}@media (max-width: 720px){.order-status-total-box{width:100%}.order-meta-grid,.order-retry-methods{grid-template-columns:1fr}.order-item-row{align-items:flex-start;flex-direction:column}.order-item-price{white-space:normal}.order-status-card-head,.order-status-head{align-items:flex-start}.order-retry-actions .btn{width:100%;justify-content:center}}


/* thank you page mobile hardening */
.tpl-thank_you .section,.tpl-funnel-thank_you .section{overflow-x:clip}
.tpl-thank_you .site-shell,.tpl-funnel-thank_you .site-shell{max-width:min(100%,1120px)}
.tpl-thank_you .card-lite,.tpl-funnel-thank_you .card-lite{max-width:100%}


/* ===== v23 desktop search toggle + minimal mobile header ===== */
.modern-topbar,.modern-navwrap,.header-actions,.desktop-search-pop{overflow:visible}
.modern-topbar{padding:6px 0 !important}
.modern-navwrap{min-height:56px !important;gap:14px !important}
.header-brand-logo-only .logo{height:var(--header-logo-size,54px);width:auto;max-width:220px;border-radius:0;object-fit:contain}
.header-brand-logo-only .brand-mark{width:var(--header-logo-size,54px);height:var(--header-logo-size,54px)}
.header-center-cluster{justify-content:flex-start}
.centered-nav{display:flex;align-items:center;gap:20px}
.desktop-search-pop{position:relative;display:flex;align-items:center}
.header-search-toggle{width:40px;height:40px;border:none;border-radius:999px;background:#f8fafc;color:#0f172a;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 0 0 1px rgba(148,163,184,.2) inset}
.header-search-toggle:hover{background:#fff7ed}
.header-search-toggle.is-active{background:#fff7ed;box-shadow:0 0 0 1px rgba(79,70,229,.22) inset}
.desktop-live-search-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,42vw);background:#fff;border:1px solid rgba(226,232,240,.96);border-radius:18px;box-shadow:0 20px 50px rgba(15,23,42,.14);padding:12px;z-index:120}
.desktop-live-search-panel[hidden]{display:none !important}
.desktop-live-search{min-width:100%;max-width:none;width:100%;height:46px;box-shadow:none;border:1px solid rgba(148,163,184,.22)}
.desktop-live-search-results{position:static;top:auto;left:auto;right:auto;margin-top:8px;box-shadow:none;border-radius:14px;max-height:320px;border:1px solid rgba(226,232,240,.95)}
.category-subheader{margin-top:0 !important}
.sticky-category-subheader{top:68px !important}
.category-subheader-row{padding:4px 0 6px !important}

@media (max-width:991px){
  .modern-topbar{padding:6px 0 !important}
  .modern-navwrap{grid-template-columns:44px minmax(0,1fr) !important;min-height:54px !important;gap:10px !important}
  .header-center-cluster,.lang-switch,.account-chip,.account-link,.desktop-search-pop,.header-actions{display:none !important}
  .header-menu-btn{display:inline-flex !important;align-items:center;justify-content:center;justify-self:start;width:44px;height:44px;margin:0;padding:0;border:none;background:transparent;box-shadow:none;font-size:24px;color:#0f172a}
  .header-brand{justify-self:end !important;display:flex !important;align-items:center;justify-content:flex-end !important;min-width:0}
  .header-brand-logo-only .logo{height:40px !important;width:auto !important;max-width:160px !important;border-radius:0 !important}
  .sticky-category-subheader{top:60px !important}
}

/* ===== targeted admin list updates ===== */
.order-list-grid{display:grid;grid-template-columns:72px minmax(180px,1.2fr) minmax(220px,1.5fr) 130px 150px 92px 98px;gap:12px;align-items:center}
.order-list-head{font-weight:700;background:#f8fafc}
.order-list-row-inline{padding:14px 10px}
.order-product-name,.order-row-subinfo{word-break:break-word}
.product-title-cell{display:flex;align-items:center;gap:12px;min-width:0}
.product-admin-thumb{width:52px;height:52px;flex:0 0 52px;border-radius:14px}
.report-list-shell{background:#fff}
.report-list-head,.report-list-row{display:grid;grid-template-columns:minmax(0,2fr) 160px 120px 180px;gap:16px;align-items:center}
.report-list-head{padding:14px 18px;background:linear-gradient(135deg,rgba(17,24,39,.92),rgba(51,65,85,.96));color:#fff;font-weight:700}
.report-list-row{padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.12)}
.report-list-row:last-child{border-bottom:none}
.report-thumb{width:54px;height:54px;flex:0 0 54px}
.report-total-row-list{background:rgba(255,249,242,.85)}

@media (max-width: 900px){
  .card-lite{overflow:hidden}
  .order-list-head,.product-list-head,.report-list-head{min-width:max-content}
  .order-list-row-inline,.product-row,.report-list-row{min-width:max-content}
  .order-list-grid{grid-template-columns:56px minmax(170px,1.2fr) minmax(220px,1.5fr) 120px 140px 86px 92px}
  .product-list-grid{grid-template-columns:56px minmax(240px,1.8fr) minmax(120px,1fr) 110px minmax(210px,1.2fr) !important}
  .report-list-head,.report-list-row{grid-template-columns:minmax(220px,2fr) 120px 110px 150px}
  .bulk-action-bar,.admin-toolbar,.status-filter-row,.order-filter-grid,.report-custom-row,.report-preset-row{overflow-x:auto}
}

@media (max-width: 640px){
  .order-list-grid{grid-template-columns:50px 170px 220px 110px 130px 82px 88px;gap:10px;font-size:13px}
  .product-list-grid{grid-template-columns:50px 230px 120px 100px 200px !important;gap:10px}
  .report-list-head,.report-list-row{grid-template-columns:210px 100px 96px 130px;gap:10px}
  .product-admin-thumb,.report-thumb,.sales-thumb{width:46px;height:46px;flex-basis:46px}
  .row-actions .btn,.order-list-row-inline .btn{padding:8px 10px;font-size:12px}
}
