/* নীলাভ ফ্যাশন - Sleek Interface UI */
:root{
  /* Light theme: Orange + Yellow + Black */
  --bg:#f6f7fb;        /* soft page background */
  --card:#ffffff;
  --muted:#6b7280;
  --text:#111827;       /* near-black */
  --soft:#ffffff;       /* soft yellow tint */
  --border:rgba(17,24,39,.12);
  --primary:#f97316;    /* orange */
  --primary2:#facc15;   /* yellow */
  --danger:#dc2626;
  --ok:#16a34a;
  --shadow: 0 10px 30px rgba(17,24,39,.10);
}

/* Khorkuto Mart final English fashion ecommerce layer */
:root{
  --km-navy:#0b1f3a;
  --km-blue:#153a66;
  --km-ink:#172033;
  --km-muted:#667085;
  --km-soft:#f4f7fb;
  --km-line:#d9e2ef;
  --km-white:#ffffff;
  --km-accent:#8aa4c6;
  --radius:8px;
}
body{font-family:Inter,Arial,sans-serif;background:var(--km-soft);color:var(--km-ink);letter-spacing:0}
.site-shell{max-width:1180px;margin:0 auto;padding-left:18px;padding-right:18px}
.main{padding-top:26px;padding-bottom:34px}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--km-line)}
.modern-nav-shell{height:74px;display:flex;align-items:center;gap:22px}
.brand .logo,.header-brand .logo{height:var(--header-logo-size);max-width:190px;object-fit:contain}
.navlinks{display:flex;gap:4px;align-items:center;margin-left:auto}
.navlinks a{color:#25344f;text-decoration:none;font-weight:700;font-size:14px;padding:10px 12px;border-radius:8px}
.navlinks a.active,.navlinks a:hover{background:#eaf0f8;color:var(--km-navy)}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.account-link,.cart-button,.menu-btn{border:1px solid var(--km-line);background:#fff;color:var(--km-navy);border-radius:8px;padding:10px 12px;text-decoration:none;font-weight:800;font-size:13px}
.cart-button{display:inline-flex;align-items:center;gap:8px;position:relative}
.cart-count{min-width:22px;height:22px;border-radius:999px;background:var(--km-navy);color:#fff;display:inline-grid;place-items:center;font-size:12px}
.menu-btn{display:none}
.drawer-overlay,.admin-sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(11,31,58,.42);z-index:70}
.drawer,.admin-sidebar{background:#fff;border-right:1px solid var(--km-line)}
.drawer{position:fixed;top:0;bottom:0;left:0;width:min(340px,88vw);z-index:80;transform:translateX(-105%);transition:.25s ease;padding:20px;overflow:auto}
.drawer.open,.admin-sidebar.open{transform:translateX(0)}
.drawer-overlay.open,.admin-sidebar-overlay.open{display:block}
.d-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.drawer-logo{height:52px;max-width:180px;object-fit:contain}.d-close,.admin-sidebar-close{border:1px solid var(--km-line);background:#fff;border-radius:8px;padding:8px 10px}
.d-title{font-size:12px;text-transform:uppercase;color:var(--km-muted);font-weight:800;margin:18px 0 8px}.d-link{display:block;padding:12px 10px;border-radius:8px;color:var(--km-navy);text-decoration:none;font-weight:800}.d-link:hover{background:#edf3fa}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid var(--km-line);border-radius:8px;padding:10px 16px;font-weight:800;text-decoration:none;cursor:pointer;background:#fff;color:var(--km-navy)}
.btn.primary{background:var(--km-navy);border-color:var(--km-navy);color:#fff}.btn.ghost{background:#fff;color:var(--km-navy)}.btn.full{width:100%}.btn.small{min-height:34px;padding:8px 11px;font-size:13px}.btn.danger,.danger{color:#b42318}
.section{margin:28px 0}.section-kicker,.checkout-eyebrow{display:inline-block;color:#48617f;font-weight:900;font-size:12px;text-transform:uppercase;margin-bottom:8px}
.home-section-head,.admin-page-head,.checkout-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.checkout-page-head{display:block;max-width:760px}.home-section-head h1,.home-section-head h2,.admin-page-head h1,.checkout-page-head h1{margin:0;color:var(--km-navy);font-size:34px;line-height:1.08}.muted{color:var(--km-muted)}.small{font-size:13px}.strong{font-weight:900}.link{font-weight:900;color:var(--km-blue);text-decoration:none}
.card,.card-lite{background:#fff;border:1px solid var(--km-line);border-radius:8px;box-shadow:0 18px 42px rgba(11,31,58,.06)}
.km-hero-slider{position:relative;overflow:hidden;border-radius:8px;background:#dfe8f4;min-height:470px}
.km-hero-track{position:relative;min-height:470px}.km-hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease;display:grid;grid-template-columns:1.05fr .95fr;align-items:center}.km-hero-slide.active{opacity:1;pointer-events:auto}
.km-hero-media{position:absolute;inset:0}.km-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,31,58,.88) 0%,rgba(11,31,58,.62) 46%,rgba(11,31,58,.08) 100%)}.km-hero-media img{width:100%;height:100%;object-fit:cover}
.km-hero-copy{position:relative;z-index:2;max-width:620px;padding:56px;color:#fff}.km-hero-copy h1{font-size:52px;line-height:1.02;margin:0 0 16px}.km-hero-copy p{font-size:18px;line-height:1.65;color:#eaf1fb;margin:0 0 22px}
.fashion-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.km-hero-dots{position:absolute;z-index:3;left:56px;bottom:28px;display:flex;gap:8px}.km-hero-dots button{width:34px;height:6px;border:0;border-radius:99px;background:rgba(255,255,255,.45)}.km-hero-dots button.active{background:#fff}
.km-category-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.km-category-chip{border:1px solid var(--km-line);background:#fff;border-radius:8px;min-height:74px;padding:12px;text-align:left;color:var(--km-navy);text-decoration:none;display:flex;align-items:center;gap:12px;cursor:pointer}.km-category-chip.active,.km-category-chip:hover{border-color:#a9bad2;background:#edf3fa}.chip-mark{width:44px;height:44px;border-radius:8px;background:var(--km-navy);color:#fff;display:grid;place-items:center;font-weight:900;font-size:12px}.km-category-chip strong{font-size:14px}
.grid.product-home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.product-home-card{overflow:hidden;text-decoration:none;color:inherit}.product-home-media{aspect-ratio:1/1;background:#edf3fa;overflow:hidden}.product-home-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.product-home-card:hover img{transform:scale(1.04)}.card-body{padding:14px}.product-card-tag{font-size:11px;font-weight:900;color:#48617f;text-transform:uppercase}.card-title{font-weight:900;color:var(--km-navy);margin:6px 0}.card-desc{color:var(--km-muted);font-size:13px;line-height:1.45}.card-row{display:flex;align-items:center;gap:10px;margin-top:12px}.price{font-weight:900;color:var(--km-navy)}.strike{text-decoration:line-through;color:#98a2b3}
.product-detail-grid,.checkout-layout,.admin-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:22px;align-items:start}.product-gallery-panel,.product-info-panel{min-width:0}.product-gallery{aspect-ratio:1/1;background:#edf3fa;border-radius:8px;overflow:hidden}.gimg{display:none;width:100%;height:100%;object-fit:cover}.gimg.active{display:block}.product-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.thumb{border:1px solid var(--km-line);border-radius:8px;background:#fff;padding:4px;cursor:pointer}.thumb.active{border-color:var(--km-navy)}.thumb img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:6px}.thumb span{display:block;font-size:11px;color:var(--km-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-info-panel,.checkout-form-card,.checkout-summary-card,.admin-form-main,.admin-form-side{background:#fff;border:1px solid var(--km-line);border-radius:8px;padding:22px}.product-kicker-row{display:flex;gap:10px;align-items:center}.product-kicker,.product-offer-pill{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.product-kicker{background:#edf3fa;color:#48617f}.product-offer-pill{background:#0b1f3a;color:#fff}.product-headline{font-size:38px;line-height:1.08;color:var(--km-navy);margin:16px 0 10px}.product-lead{color:var(--km-muted);line-height:1.6}.fashion-price-panel{display:flex;justify-content:space-between;gap:16px;border:1px solid var(--km-line);border-radius:8px;padding:16px;background:#f8fafd;margin:18px 0}.price-label,.fashion-price-old span{display:block;color:var(--km-muted);font-size:12px;font-weight:800}.fashion-price{font-size:30px;color:var(--km-navy)}.fashion-price-old del{color:#98a2b3}
.product-choice-block{margin:16px 0}.choice-label{font-weight:900;color:var(--km-navy);margin-bottom:8px}.size-chip-row{display:flex;flex-wrap:wrap;gap:8px}.size-chip{border:1px solid var(--km-line);border-radius:8px;min-width:48px;padding:10px 12px;background:#fff;font-weight:800;color:var(--km-navy);display:inline-flex;align-items:center;justify-content:center}.choice-chip input{position:absolute;opacity:0}.choice-chip:has(input:checked){background:var(--km-navy);color:#fff;border-color:var(--km-navy)}.product-qty-row{display:flex;align-items:center;gap:12px;margin:18px 0}.product-qty-row input{width:86px}.product-action-row{display:flex;gap:10px;flex-wrap:wrap}.product-action-row .btn{flex:1}
.product-assurance-grid,.invoice-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.assurance-item,.invoice-info-grid>div{border:1px solid var(--km-line);border-radius:8px;padding:12px;background:#f8fafd}.assurance-item strong,.invoice-info-grid strong{display:block;color:var(--km-navy)}.assurance-item span,.invoice-info-grid span,.invoice-info-grid small{display:block;color:var(--km-muted);font-size:13px;margin-top:4px}
.product-content-grid{display:grid;grid-template-columns:1fr 380px;gap:20px;margin-top:22px}.product-rich-card,.product-style-card,.product-faq-card{padding:22px}.rich{line-height:1.7;color:#344054}.km-faq-list details{border:1px solid var(--km-line);border-radius:8px;padding:14px;margin-top:10px;background:#fff}.km-faq-list summary{cursor:pointer;font-weight:900;color:var(--km-navy)}
.field label{display:block;font-weight:900;color:var(--km-navy);margin-bottom:7px}.field input,.field select,.field textarea,.products-search input{width:100%;border:1px solid var(--km-line);border-radius:8px;padding:12px 13px;background:#fff;color:var(--km-ink);font:inherit}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid3{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px}.checkout-section-block{margin-bottom:22px}.checkout-block-title{font-size:18px;font-weight:900;color:var(--km-navy);margin-bottom:14px}.payment-logo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.payment-logo-card input{position:absolute;opacity:0}.payment-logo-card span{display:grid;place-items:center;border:1px solid var(--km-line);border-radius:8px;padding:10px;background:#fff;min-height:72px}.payment-logo-card img{max-width:132px;max-height:54px}.payment-logo-card:has(input:checked) span{border-color:var(--km-navy);box-shadow:0 0 0 3px rgba(11,31,58,.1)}
.checkout-item,.cart-line-item{display:grid;grid-template-columns:58px 1fr auto auto;gap:12px;align-items:center;border-bottom:1px solid var(--km-line);padding:12px 0}.checkout-item img,.cart-line-item img{width:58px;height:58px;border-radius:8px;object-fit:cover}.checkout-item strong,.cart-line-item strong{display:block;color:var(--km-navy)}.checkout-item span,.checkout-item small,.cart-line-item span,.cart-line-item small{display:block;color:var(--km-muted);font-size:13px}.checkout-total-row{display:flex;justify-content:space-between;align-items:center;padding-top:16px;margin-top:12px;border-top:1px solid var(--km-line);font-size:18px}.checkout-total-row strong{color:var(--km-navy)}
.payment-instruction-card{padding:24px}.payment-instruction-head{display:flex;gap:16px;align-items:center}.payment-instruction-head img{width:150px;max-height:70px}.payment-number-box{display:flex;align-items:center;gap:14px;background:#f8fafd;border:1px solid var(--km-line);border-radius:8px;padding:14px;margin:18px 0}.payment-number-box strong{font-size:24px;color:var(--km-navy)}.payment-steps{line-height:1.8;color:#344054}
.invoice-success-head{background:#fff;border:1px solid var(--km-line);border-radius:8px;padding:26px;margin-bottom:20px}.invoice-success-head h1{margin:0;color:var(--km-navy)}.invoice-paper{padding:24px}.invoice-top{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--km-line);padding-bottom:16px}.invoice-table{width:100%;border-collapse:collapse}.invoice-table th,.invoice-table td{padding:12px;border-bottom:1px solid var(--km-line);text-align:left}.invoice-table th{background:#f8fafd;color:var(--km-navy)}
.cart-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,24px);background:var(--km-navy);color:#fff;border-radius:8px;padding:13px 18px;font-weight:900;opacity:0;pointer-events:none;transition:.25s;z-index:120}.cart-toast.show{opacity:1;transform:translate(-50%,0)}
.admin-shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.admin-sidebar{position:sticky;top:0;height:100vh;padding:18px;overflow:auto}.admin-content{padding:24px;min-width:0}.admin-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}.admin-brand-logo{width:52px;height:52px;object-fit:contain}.admin-brand-title{font-weight:900;color:var(--km-navy)}.admin-brand-sub{font-size:12px;color:var(--km-muted)}.admin-menu-link{display:flex;align-items:center;gap:10px;border-radius:8px;padding:11px 10px;text-decoration:none;color:#25344f;font-weight:800}.admin-menu-link.active,.admin-menu-link:hover{background:#edf3fa;color:var(--km-navy)}.admin-menu-icon{min-width:28px;height:28px;border-radius:8px;background:#f4f7fb;display:grid;place-items:center;font-size:12px}
.admin-mobile-toggle{display:none}.admin-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:8px}.admin-image-upload-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.admin-current-images{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.admin-current-images img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}.admin-current-images figcaption{font-size:11px;color:var(--km-muted)}.switch-row{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--km-navy);margin:12px 0}.admin-slide-row{display:grid;grid-template-columns:72px 1fr auto auto;gap:10px;align-items:center;border-bottom:1px solid var(--km-line);padding:10px 0}.admin-slide-row img{width:72px;height:52px;object-fit:cover;border-radius:8px}
.footer{border-top:1px solid var(--km-line);background:#fff;padding:28px 0}.modern-footwrap{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:20px}.footer-logo-img{height:56px;max-width:180px;object-fit:contain}.footer-nav{display:flex;flex-wrap:wrap;gap:10px}.footer-nav a{color:var(--km-navy);font-weight:800;text-decoration:none}.footer-payments{display:flex;flex-wrap:wrap;gap:8px}.footer-payment-chip{border:1px solid var(--km-line);border-radius:999px;padding:7px 10px;font-weight:800;color:var(--km-navy)}.wa-float{position:fixed;right:20px;bottom:20px;z-index:60;width:52px;height:52px;border-radius:999px;background:#25d366;color:#fff;display:grid;place-items:center;text-decoration:none;font-weight:900}
.payment-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--km-line);border-radius:8px;padding:12px;margin-bottom:10px}.payment-toggle-main{display:flex;align-items:center;gap:12px}.payment-toggle-logo{width:118px;max-height:48px;object-fit:contain}.payment-toggle-switch{font-weight:900;color:var(--km-navy);display:flex;align-items:center;gap:8px}
.faq-admin-row{display:grid;grid-template-columns:1.1fr 1.4fr 90px auto auto;gap:8px;align-items:center;margin-bottom:10px}.faq-admin-row input{border:1px solid var(--km-line);border-radius:8px;padding:10px}
@media (max-width: 940px){
  .menu-btn,.admin-mobile-toggle{display:inline-flex}.navlinks{display:none}.modern-nav-shell{height:66px}.header-brand .logo{height:48px}.account-link{display:none}
  .product-detail-grid,.checkout-layout,.admin-form-grid,.product-content-grid{grid-template-columns:1fr}.km-hero-slide{display:block}.km-hero-copy{padding:36px 22px}.km-hero-copy h1{font-size:36px}.km-hero-slider,.km-hero-track{min-height:520px}.km-hero-dots{left:22px}
  .grid2,.grid3,.product-assurance-grid,.invoice-info-grid,.modern-footwrap{grid-template-columns:1fr}.admin-shell{display:block}.admin-sidebar{position:fixed;z-index:90;transform:translateX(-105%);width:min(300px,88vw)}.admin-mobile-toggle{position:fixed;left:14px;bottom:14px;z-index:95}.admin-content{padding:18px}.home-section-head,.admin-page-head{display:block}.cart-line-item,.checkout-item{grid-template-columns:54px 1fr auto}.cart-line-item form{grid-column:2 / -1}.admin-slide-row{grid-template-columns:64px 1fr}.admin-slide-row .btn,.admin-slide-row form{grid-column:2}
}
*{box-sizing:border-box}
html,body{height:100%; background:#f6f7fb; 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(249,115,22,.14); padding:2px 8px; border-radius:999px; color:var(--text); font-size:12px; border:1px solid rgba(249,115,22,.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(249,115,22,.45)}
.btn:active{transform:translateY(0)}
.btn.primary{
  background: linear-gradient(135deg, rgba(249,115,22,.98), rgba(250,204,21,.98));
  border-color:transparent;
  color:#111827;
}
.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(249,115,22,.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(249,115,22,.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(249,115,22,.12); border:1px solid rgba(249,115,22,.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(249,115,22,.12); border:1px solid rgba(249,115,22,.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:#111827;
  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(249,115,22,.22);
  border:1px solid rgba(249,115,22,.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(249,115,22,.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(249,115,22,.25); background:rgba(249,115,22,.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(249,115,22,.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(249,115,22,.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(249,115,22,.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(249,115,22,.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%, #111827 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,#f97316,#facc15); color:#111827; font-size:24px; font-weight:800; box-shadow:0 14px 26px rgba(249,115,22,.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(249,115,22,.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,#f97316,#fdba74); color:#111827; box-shadow:0 10px 20px rgba(249,115,22,.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(249,115,22,.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(249,115,22,.55); box-shadow:0 0 0 4px rgba(249,115,22,.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(249,115,22,.12),rgba(250,204,21,.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(249,115,22,.16),rgba(250,204,21,.22));
  border:1px solid rgba(249,115,22,.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(249,115,22,.035)}

/* Reports colorful table */
.accent-surface{border:1px solid rgba(255,255,255,.4)}
.accent-orange-lite{background:linear-gradient(135deg,rgba(249,115,22,.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(250,204,21,.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(250,204,21,.22);color:#92400e;min-width:42px}
.order-badge{background:rgba(34,197,94,.14);color:#166534;min-width:42px}
.sales-badge{background:rgba(249,115,22,.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:#111827;
  background:linear-gradient(135deg, rgba(249,115,22,.12), rgba(250,204,21,.18));
  box-shadow:0 10px 24px rgba(249,115,22,.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(249,115,22,.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,#f97316,#facc15);color:#111827;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}
.mfs-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)
}
.mfs-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}
.mfs-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(249,115,22,.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(249,115,22,.32);background:linear-gradient(135deg, rgba(249,115,22,.12), rgba(250,204,21,.16))}
.category-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#fff7ed;color:#f97316;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(249,115,22,.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:#111827;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(249,115,22,.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:#f97316;border:1px solid rgba(249,115,22,.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(249,115,22,.18);background:linear-gradient(135deg,#fb923c 0%,#f97316 100%);border:0;color:#111827;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(249,115,22,.12), rgba(250,204,21,.18));border-color:rgba(249,115,22,.3);color:#111827}
.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));
}
.mfs-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);
}
.mfs-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(249,115,22,.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(249,115,22,.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:#f6f7fb;}
.topbar,.modern-topbar,.category-subheader,.footer,.admin-sidebar{background:#ffffff;}


/* ===== 2026 request update v11 ===== */
:root{--bg:#f6f7fb;--soft:#ffffff}
html,body{background:#f6f7fb}
body{background:#f6f7fb}
.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,#f97316);color:#fff;font-weight:900;font-size:22px;
  box-shadow:0 12px 24px rgba(249,115,22,.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:#111827;font-weight:800}
.account-link-icon{width:26px;height:26px;min-width:26px;border:0;background:rgba(249,115,22,.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(249,115,22,.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:#111827;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:#f6f7fb}
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:#111827}
.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:#f97316}
.products-filter-chip.active,.products-filter-chip:hover{color:#fff;background:#f97316;border-color:#f97316}
.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:#111827;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(249,115,22,.2) !important;
  background:linear-gradient(180deg,#ff8a22 0%, #ff7918 100%) !important;
  color:#111827 !important;
  font-weight:900 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 8px 18px rgba(249,115,22,.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:#111827 !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(249,115,22,.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(249,115,22,.18) !important;
  color:#111827 !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:#111827 !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(249,115,22,.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(249,115,22,.18) !important;
    color:#111827 !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:#111827 !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(249,115,22,.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(249,115,22,.18) !important;
    color:#111827 !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(249,115,22,.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(249,115,22,.14);overflow:hidden}
.payment-method-card-manual .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(249,115,22,.42);box-shadow:0 16px 32px rgba(249,115,22,.12);background:linear-gradient(180deg,#fffdf9 0%,#ffffff 100%)}
.payment-method-card input:checked + .payment-method-card-ui .payment-method-check{border-color:#f97316;background:#f97316}
.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(249,115,22,.14);font-size:28px}
.payment-toggle-icon.manual{background:#fff1f8;border-color:rgba(232,62,140,.16)}
.payment-toggle-icon.manual 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:#f97316;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(249,115,22,.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(249,115,22,.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(249,115,22,.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(249,115,22,.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:#f97316;white-space:nowrap}.order-retry-card{background:linear-gradient(180deg,#ffffff 0%,#fffaf7 100%) !important;border:1px solid rgba(249,115,22,.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(249,115,22,.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) 140px 110px 150px 170px;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(240px,2fr) 110px 100px 130px 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:230px 96px 90px 120px 140px;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}
}

.admin-order-list-card .bulk-action-bar{overflow-x:auto}


/* ===== admin requested minimal updates ===== */
.admin-body .section > .section-head,
.admin-body .section > .section-head.admin-section-head{align-items:center;justify-content:flex-end;min-height:auto;margin-bottom:14px}
.admin-body .section > .section-head > h1,
.admin-body .section > .section-head > .muted,
.admin-body .section > .section-head > p.muted,
.admin-body .section > .section-head > div:first-child > .eyebrow,
.admin-body .section > .section-head > div:first-child > h1,
.admin-body .section > .section-head > div:first-child > .muted,
.admin-body .section > .section-head > div:first-child > p.muted{display:none}
.admin-body .section > .section-head > div:first-child:empty{display:none}

.report-quickbar{padding:12px 14px;border:1px solid rgba(226,232,240,.9);border-radius:20px;background:#fff}
.report-filter-row{display:flex;align-items:center;gap:10px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
.report-filter-row::-webkit-scrollbar{display:none}
.report-preset-row{flex-wrap:nowrap}
.report-preset-chip,.report-export-link,.report-date-chip{flex:0 0 auto;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid rgba(203,213,225,.95);background:#fff;color:#334155;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-shadow:none;white-space:nowrap}
.report-preset-chip.active,.report-preset-chip:hover,.report-date-chip.active,.report-date-chip:focus-within{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}
.report-custom-inline{display:flex;align-items:center;flex:0 0 auto;margin:0}
.report-date-chip{position:relative;gap:8px;cursor:pointer;overflow:hidden}
.report-date-chip input[type=date]{position:absolute;inset:0;opacity:.01;cursor:pointer;border:0;padding:0;min-height:100%;width:100%}
.report-export-link{text-decoration:none}
.report-table-card{overflow:hidden}
.report-list-shell{overflow-x:auto;-webkit-overflow-scrolling:touch}
.report-list-head,.report-list-row{min-width:980px}

@media (max-width: 720px){
  .admin-body .section{padding-top:6px}
  .admin-body .section > .section-head,
  .admin-body .section > .section-head.admin-section-head{margin-bottom:10px}
  .report-quickbar{padding:10px 10px 12px;border-radius:18px}
  .report-filter-row{gap:8px}
  .report-preset-chip,.report-export-link,.report-date-chip{min-height:38px;padding:0 12px;font-size:13px}
  .report-summary-grid-modern{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .report-list-head,.report-list-row{min-width:860px}
}

/* Admin mobile UX refresh */
.admin-bottom-nav{display:none}
.admin-mobile-toggle-arrow{
  border-radius:0 16px 16px 0;
  width:40px;
  height:74px;
  left:0;
  top:50%;
  transform:translateY(-50%);
  background:linear-gradient(180deg,#0f172a,#1e293b);
  color:#fff;
  border:0;
  box-shadow:10px 18px 34px rgba(15,23,42,.22);
  font-size:22px;
  font-weight:800;
}
.admin-mobile-toggle-arrow.is-open{transform:translateY(-50%) rotate(180deg)}
@media (max-width: 991px){
  .admin-content{padding:14px 14px 96px !important}
  .admin-content .section{padding-top:0}
  .admin-section-head{display:none !important}
  .admin-sidebar{padding-bottom:108px}
  .admin-bottom-nav{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:88;
    padding:10px;
    border-radius:24px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px);
    box-shadow:0 18px 38px rgba(15,23,42,.14);
    border:1px solid rgba(148,163,184,.18);
  }
  .admin-bottom-link{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:58px;
    border-radius:18px;
    color:#475569;
    font-size:11px;
    font-weight:800;
    text-align:center;
    padding:8px 4px;
    transition:.18s ease;
  }
  .admin-bottom-link.active{
    background:linear-gradient(180deg,#fff7ed,#ffedd5);
    color:#ea580c;
    box-shadow:inset 0 0 0 1px rgba(249,115,22,.14);
  }
  .admin-bottom-icon{font-size:18px;line-height:1}
  .admin-bottom-label{line-height:1.1}
  .admin-products-page .admin-list-card{
    overflow-x:auto;
    padding-bottom:8px;
  }
  .admin-products-page .product-list-head{display:grid !important; min-width:760px}
  .admin-products-page .product-list-grid{
    display:grid !important;
    grid-template-columns:52px minmax(260px,1.6fr) minmax(130px,.9fr) minmax(110px,.8fr) minmax(220px,1fr) !important;
    align-items:center;
    gap:14px;
    min-width:760px;
  }
  .admin-products-page .product-row{padding:14px 12px}
  .admin-products-page .product-list-grid > div{min-width:0}
  .admin-products-page .product-title-cell{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
  .admin-products-page .row-actions{display:flex !important;flex-direction:row !important;flex-wrap:nowrap;gap:8px;justify-content:flex-start}
}
@media (max-width: 640px){
  .admin-mobile-toggle-arrow{height:66px;width:36px;font-size:20px}
  .admin-bottom-nav{left:8px;right:8px;bottom:8px;padding:8px;gap:6px;border-radius:20px}
  .admin-bottom-link{min-height:54px;font-size:10px;padding:7px 2px}
  .admin-bottom-icon{font-size:17px}
}

/* Sleek Interface theme override: fashion / clothing / accessories / gifts */
:root{
  --primary:#0b1f3a;
  --primary-2:#163b66;
  --accent:#d8b26e;
  --ink:#0f172a;
  --muted:#64748b;
  --surface:#ffffff;
  --surface-2:#f3f6fa;
  --line:#dbe3ee;
  --shadow:0 22px 70px rgba(11,31,58,.12);
}
html,body{background:linear-gradient(180deg,#f7f9fc 0%,#eef3f8 100%);color:var(--ink);font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 0%,rgba(22,59,102,.12),transparent 34%),radial-gradient(circle at 85% 5%,rgba(216,178,110,.14),transparent 28%);z-index:-1;}
.header,.site-header,.topbar{backdrop-filter:saturate(160%) blur(16px);background:rgba(255,255,255,.82)!important;border-bottom:1px solid rgba(219,227,238,.8)!important;box-shadow:0 12px 40px rgba(11,31,58,.06)!important;}
.brand,.logo,.site-logo{letter-spacing:-.04em;font-weight:900;color:var(--primary)!important;}
.nav a,.footer-nav a{color:#334155!important;font-weight:700;}
.nav a:hover,.footer-nav a:hover{color:var(--primary-2)!important;}
.section-head h1,.hero h1,.product-title,h1,h2,h3{letter-spacing:-.045em;color:var(--primary);}
.card,.card-lite,.product-card,.checkout-form-card,.admin-settings-card,.thankyou-hero,.thankyou-block,.order-status-card{background:rgba(255,255,255,.92)!important;border:1px solid rgba(219,227,238,.95)!important;border-radius:28px!important;box-shadow:var(--shadow)!important;}
.product-card,.card-lite{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;}
.product-card:hover,.card-lite:hover{transform:translateY(-3px);border-color:rgba(22,59,102,.28)!important;box-shadow:0 28px 80px rgba(11,31,58,.16)!important;}
.btn,.button,button{border-radius:999px!important;font-weight:850;letter-spacing:-.01em;}
.btn.primary,.button.primary,button.primary,.checkout-submit-btn{background:linear-gradient(135deg,var(--primary),var(--primary-2))!important;border:0!important;color:#fff!important;box-shadow:0 14px 34px rgba(11,31,58,.24)!important;}
.btn.ghost,.button.ghost{background:#fff!important;border:1px solid var(--line)!important;color:var(--primary)!important;}
input,textarea,select{border-radius:16px!important;border:1px solid var(--line)!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);}
input:focus,textarea:focus,select:focus{outline:0!important;border-color:rgba(22,59,102,.55)!important;box-shadow:0 0 0 4px rgba(22,59,102,.10)!important;}
.payment-method-card-ui,.payment-toggle-row{border-radius:22px!important;border:1px solid var(--line)!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;}
.payment-method-card input:checked + .payment-method-card-ui{border-color:var(--primary-2)!important;box-shadow:0 16px 42px rgba(22,59,102,.14)!important;}
.payment-method-icon,.payment-toggle-icon{background:linear-gradient(135deg,#e9eef6,#fff)!important;color:var(--primary)!important;border:1px solid var(--line)!important;font-weight:900;}
.footer,.site-footer{background:#07182c!important;color:#e5edf7!important;border-top:1px solid rgba(255,255,255,.1)!important;}
.footer .muted,.site-footer .muted{color:#b8c5d6!important;}
.footer-payment-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#eef6ff;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;margin:3px;}
.pill{border-radius:999px!important;font-weight:850!important;}
.price,.product-price,.order-item-price{color:var(--primary)!important;font-weight:900!important;}

/* ===== v24 final Sleek Interface fashion commerce pass ===== */
:root{
  --primary:#0b1f3a;
  --primary-2:#163b66;
  --accent:#c8a45d;
  --ink:#101828;
  --muted:#667085;
  --surface:#ffffff;
  --surface-2:#f4f7fb;
  --line:#d8e0eb;
  --border:#d8e0eb;
  --radius:8px;
  --shadow:0 16px 42px rgba(11,31,58,.10);
}
*{letter-spacing:0!important}
html,body{
  background:#f4f7fb!important;
  color:var(--ink)!important;
  font-family:"Hind Siliguri","Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body:before{display:none!important}
h1,h2,h3,.card-title,.product-headline{font-family:"Hind Siliguri","Inter",ui-sans-serif,system-ui,sans-serif!important;color:var(--primary)!important;font-weight:800!important;line-height:1.18!important}
h1{font-size:38px!important}
h2{font-size:28px!important}
h3{font-size:20px!important}
@media (max-width:720px){
  h1{font-size:28px!important}
  h2{font-size:23px!important}
  h3{font-size:18px!important}
}
.main.main-wide{padding-top:24px!important}
.topbar,.modern-topbar{background:rgba(255,255,255,.92)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 8px 26px rgba(11,31,58,.06)!important}
.centered-nav a,.navlinks a{color:#344054!important;font-weight:700!important}
.centered-nav a.active,.centered-nav a:hover,.navlinks a.active,.navlinks a:hover{color:var(--primary)!important;background:#eef3f8!important}
.card,.card-lite,.admin-kcard,.admin-surface,.checkout-form-card,.admin-settings-card,.thankyou-hero,.thankyou-block,.thankyou-side-card,.order-status-card,.product-home-card{
  border-radius:var(--radius)!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(11,31,58,.08)!important;
}
.card:hover,.card-lite:hover,.product-home-card:hover{transform:none!important;border-color:#c8d3e2!important;box-shadow:0 18px 44px rgba(11,31,58,.12)!important}
.btn,.button,button,.category-tile,.subcat-chip,.products-filter-chip,.lang-switch,.account-link{
  border-radius:var(--radius)!important;
  font-weight:800!important;
}
.btn.primary,.button.primary,button.primary,.checkout-submit-btn,.product-buy-btn,.sb-btn{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-2) 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(11,31,58,.24)!important;
}
.btn.ghost,.button.ghost{background:#fff!important;border:1px solid var(--line)!important;color:var(--primary)!important}
.link{color:var(--primary-2)!important}
input,textarea,select{
  border-radius:var(--radius)!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  color:var(--ink)!important;
}
input:focus,textarea:focus,select:focus{border-color:var(--primary-2)!important;box-shadow:0 0 0 3px rgba(22,59,102,.12)!important}
.price,.fashion-price,.sum-total,.desktop-live-search-price,.order-item-price{color:var(--primary)!important}
.strike,del{color:#98a2b3!important}

.fashion-hero-section{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);
  gap:28px;
  align-items:center;
  padding:18px 0 28px;
}
.fashion-hero-copy{display:grid;gap:14px;align-content:center}
.fashion-hero-kicker,.section-kicker,.product-kicker,.checkout-eyebrow,.thankyou-kicker{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:var(--radius)!important;
  background:#eef3f8!important;
  color:var(--primary-2)!important;
  border:1px solid var(--line)!important;
  font-size:12px!important;
  font-weight:800!important;
  text-transform:uppercase;
}
.fashion-hero-copy h1{font-size:42px!important;max-width:12ch;margin:0!important}
.fashion-hero-copy p{font-size:16px;line-height:1.7;color:#475467;max-width:58ch;margin:0}
.fashion-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.fashion-hero-visual{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.fashion-hero-tile{
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#e9eef5;
}
.fashion-hero-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .24s ease}
.fashion-hero-tile:hover img{transform:scale(1.035)}
.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:16px}
.home-section-head h2{margin:4px 0 0!important}
.category-subheader{background:rgba(244,247,251,.94)!important;border-bottom:1px solid var(--line)!important}
.subcat-chip,.category-tile,.products-filter-chip{
  background:#fff!important;
  border:1px solid var(--line)!important;
  color:#344054!important;
  box-shadow:none!important;
}
.subcat-chip.active,.category-tile.active,.products-filter-chip.active,.category-tile:hover,.subcat-chip:hover,.products-filter-chip:hover{
  background:#0b1f3a!important;
  color:#fff!important;
  border-color:#0b1f3a!important;
}
.product-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.product-home-card{overflow:hidden;text-decoration:none;color:inherit!important}
.product-home-media{aspect-ratio:1/1;background:#e9eef5;border-bottom:1px solid var(--line)}
.product-home-media img,.card-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.product-home-card .card-body{padding:14px!important;display:grid;gap:9px}
.product-card-tag{background:#eef3f8!important;color:var(--primary-2)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;padding:5px 8px!important}
.card-title{font-size:16px!important;line-height:1.35!important;min-height:44px}
.card-desc{font-size:13px!important;line-height:1.5!important;color:#667085!important;min-height:40px}
.product-home-pricing{align-items:baseline!important}

.fashion-product-detail{display:grid;gap:22px}
.product-detail-grid{
  display:grid;
  grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
  gap:28px;
  align-items:start;
}
.product-gallery-panel{position:sticky;top:96px}
.product-gallery{border-radius:var(--radius)!important;border:1px solid var(--line)!important;background:#e9eef5!important;box-shadow:0 14px 38px rgba(11,31,58,.10)!important}
.product-gallery .gimg{aspect-ratio:1/1!important;object-fit:cover!important}
.product-thumbs{display:grid!important;grid-template-columns:repeat(5,72px);gap:10px;justify-content:start;margin-top:10px!important}
.product-thumbs .thumb{width:72px!important;height:72px!important;border-radius:var(--radius)!important;border:1px solid var(--line)!important;background:#fff!important;padding:0!important;overflow:hidden}
.product-thumbs .thumb.active{border-color:var(--primary)!important}
.product-info-panel{
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 12px 34px rgba(11,31,58,.08);
}
.product-kicker-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.product-offer-pill{display:inline-flex;padding:7px 10px;border-radius:var(--radius);background:#f7f0df;color:#70521a;border:1px solid #ead8af;font-weight:800;font-size:12px}
.product-headline{font-size:34px!important;margin:0!important}
.product-lead{font-size:16px;line-height:1.7;color:#475467;margin:0}
.fashion-price-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-radius:var(--radius);background:#f4f7fb;border:1px solid var(--line)}
.price-label,.fashion-price-old span{display:block;font-size:12px;color:#667085;font-weight:800;text-transform:uppercase;margin-bottom:4px}
.fashion-price{font-size:30px;line-height:1}
.fashion-price-old{text-align:right}
.product-choice-block{display:grid;gap:8px}
.choice-label{font-size:13px;color:#667085;font-weight:800}
.size-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.size-chip{min-width:42px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:var(--radius);background:#fff;font-weight:800;color:#344054}
.product-assurance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.assurance-item{padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfe;display:grid;gap:4px}
.assurance-item strong{font-size:14px;color:var(--primary)}
.assurance-item span{font-size:12px;color:#667085;line-height:1.45}
.product-order-form{margin:0}
.product-buy-btn{min-height:52px!important;font-size:17px!important}
.product-content-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px}
.product-rich-card,.product-style-card,.product-faq-card{padding:20px!important}
.product-rich-card h2,.product-style-card h2,.product-faq-card h2{margin:0 0 12px!important}
.product-rich-card .rich{line-height:1.8;color:#344054}
.style-note-list{display:grid;gap:10px}
.style-note-list div{display:grid;gap:4px;padding:12px;border-radius:var(--radius);background:#f4f7fb;border:1px solid var(--line)}
.style-note-list strong{color:var(--primary)}
.style-note-list span{color:#667085;font-size:13px}
.product-faq-card details{border-top:1px solid var(--line);padding:12px 0}
.product-faq-card details:first-of-type{border-top:0}
.product-faq-card summary{font-weight:800;cursor:pointer;color:#1d2939}
#mobileStickyBuy{border-radius:var(--radius)!important;border:1px solid var(--line)!important;background:#fff!important}
#mobileStickyBuy .sb-btn{border-radius:var(--radius)!important;color:#fff!important}
#mobileStickyBuy .sb-price{color:var(--primary)!important}

.checkout-page{display:grid;gap:18px}
.checkout-page-head{display:grid;gap:8px;max-width:720px}
.checkout-page-head h1{margin:0!important}
.checkout-page-head p{margin:0;line-height:1.7}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;align-items:start}
.checkout-form-card,.checkout-summary-card{padding:20px!important}
.modern-checkout-form{display:grid;gap:18px}
.checkout-section-block{display:grid;gap:10px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.checkout-section-block:last-of-type{border-bottom:0;padding-bottom:0}
.checkout-block-title,.pay-title{font-size:16px;font-weight:800;color:var(--primary)}
.manual-payment-fields{margin-top:12px}
.payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.payment-method-card-ui{border-radius:var(--radius)!important}
.payment-method-card input:checked + .payment-method-card-ui{border-color:var(--primary)!important;background:#eef3f8!important;box-shadow:0 12px 26px rgba(11,31,58,.12)!important}
.payment-method-card input:checked + .payment-method-card-ui .payment-method-check{border-color:var(--primary)!important;background:var(--primary)!important}
.payment-method-icon,.payment-toggle-icon{border-radius:var(--radius)!important;background:#fff!important;color:var(--primary)!important;font-size:16px!important}
.payment-method-check{border-radius:50%!important}
.checkout-summary-card{position:sticky;top:96px;display:grid;gap:14px}
.checkout-summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.checkout-summary-head h2{margin:0!important}
.checkout-summary-head span{font-size:13px;font-weight:800;color:#667085}
.checkout-item-list{display:grid;gap:12px}
.checkout-item{display:grid;grid-template-columns:62px 1fr auto;gap:10px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}
.checkout-item:last-child{border-bottom:0;padding-bottom:0}
.checkout-item img{width:62px;height:62px;object-fit:cover;border-radius:var(--radius);border:1px solid var(--line);background:#e9eef5}
.checkout-item strong{display:block;font-size:14px;line-height:1.35;color:var(--primary)}
.checkout-item span{display:block;font-size:12px;color:#667085;line-height:1.45;max-width:34ch}
.checkout-item b{white-space:nowrap;color:var(--primary)}
.checkout-total-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:14px}
.checkout-total-row span{font-weight:800;color:#667085}
.checkout-total-row strong{font-size:24px;color:var(--primary)}
.checkout-summary-note{padding:12px;border-radius:var(--radius);background:#f4f7fb;border:1px solid var(--line);color:#667085;font-size:13px;line-height:1.6}

.thankyou-badge{border-radius:var(--radius)!important;background:var(--primary)!important;box-shadow:none!important;font-size:17px!important}
.thankyou-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.74fr);gap:18px}
.thankyou-main,.thankyou-side{display:grid;gap:18px}
.thankyou-order-items{display:grid;gap:10px}
.thankyou-order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#f8fafc}
.thankyou-order-row strong{display:block;color:var(--primary);line-height:1.35}
.thankyou-order-row span{display:block;color:#667085;font-size:13px;line-height:1.5;margin-top:4px}
.thankyou-order-row b{white-space:nowrap;color:var(--primary)}
.thankyou-address-box,.order-address-box{display:grid;gap:6px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#f8fafc}
.thankyou-address-box span,.order-address-box span{font-size:12px;color:#667085;font-weight:800;text-transform:uppercase}
.thankyou-address-box strong,.order-address-box strong{font-size:14px;color:var(--primary);line-height:1.6}
.thankyou-side-actions,.note-actions{display:flex;gap:10px;flex-wrap:wrap}
.footer,.modern-footer{background:#07182c!important}
.admin-brand-mark,.customer-avatar,.account-avatar-fallback,.dashboard-avatar-fallback,.drawer-avatar-fallback{background:linear-gradient(135deg,var(--primary),var(--primary-2))!important;color:#fff!important;border-radius:var(--radius)!important}
.admin-bottom-link.active{background:#eef3f8!important;color:var(--primary)!important;box-shadow:inset 0 0 0 1px var(--line)!important}
.admin-kcard.accent-orange,.accent-orange-lite,.report-total-row-list,.order-retry-card{background:#f8fafc!important}

@media (max-width:1080px){
  .product-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .fashion-hero-section,.product-detail-grid,.checkout-layout,.thankyou-grid{grid-template-columns:1fr}
  .product-gallery-panel,.checkout-summary-card{position:static}
  .fashion-hero-copy h1{font-size:34px!important;max-width:18ch}
}
@media (max-width:720px){
  .fashion-hero-section{padding:10px 0 18px;gap:18px}
  .fashion-hero-copy h1{font-size:30px!important;max-width:none}
  .fashion-hero-visual{gap:8px}
  .product-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-home-card .card-body{padding:10px!important}
  .card-title{font-size:14px!important;min-height:40px}
  .card-desc{font-size:12px!important;min-height:38px}
  .product-info-panel,.checkout-form-card,.checkout-summary-card,.product-rich-card,.product-style-card,.product-faq-card,.thankyou-block,.thankyou-side-card{padding:14px!important}
  .product-headline{font-size:26px!important}
  .fashion-price{font-size:24px}
  .fashion-price-panel{align-items:flex-start;flex-direction:column}
  .fashion-price-old{text-align:left}
  .product-assurance-grid,.product-content-grid,.payment-method-grid{grid-template-columns:1fr!important}
  .product-thumbs{grid-template-columns:repeat(4,62px)}
  .product-thumbs .thumb{width:62px!important;height:62px!important}
  .checkout-item{grid-template-columns:54px 1fr;align-items:start}
  .checkout-item b{grid-column:2}
  .thankyou-order-row{align-items:flex-start;flex-direction:column}
  .thankyou-order-row b{white-space:normal}
}

/* Khorkuto Mart final precedence */
body{font-family:Inter,Arial,sans-serif!important;background:#f4f7fb!important;color:#172033!important;letter-spacing:0!important}
.footer,.modern-footer{background:#fff!important;color:#172033!important}
.topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid #d9e2ef!important}
.btn.primary{background:#0b1f3a!important;border-color:#0b1f3a!important;color:#fff!important}
.btn.ghost,.account-link,.cart-button,.menu-btn{background:#fff!important;color:#0b1f3a!important;border:1px solid #d9e2ef!important}
.card,.card-lite,.product-info-panel,.checkout-form-card,.checkout-summary-card,.admin-form-main,.admin-form-side{border-radius:8px!important;border:1px solid #d9e2ef!important;background:#fff!important}
.km-hero-slider{display:block!important;border-radius:8px!important;overflow:hidden!important}
.km-category-chip{border-radius:8px!important;background:#fff!important}
.km-category-chip.active,.km-category-chip:hover{background:#edf3fa!important;border-color:#a9bad2!important}
.chip-mark{background:#0b1f3a!important;border-radius:8px!important;color:#fff!important}
.product-home-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:16px!important}
.product-home-card{border-radius:8px!important;overflow:hidden!important;text-decoration:none!important}
.product-detail-grid,.checkout-layout,.admin-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 400px!important;gap:22px!important}
.product-content-grid{display:grid!important;grid-template-columns:1fr 380px!important;gap:20px!important}
.payment-logo-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;gap:10px!important}
.cart-toast{position:fixed!important;left:50%!important;bottom:26px!important;transform:translate(-50%,24px)!important;background:#0b1f3a!important;color:#fff!important;border-radius:8px!important;padding:13px 18px!important;font-weight:900!important;opacity:0!important;pointer-events:none!important;transition:.25s!important;z-index:120!important}
.cart-toast.show{opacity:1!important;transform:translate(-50%,0)!important}
@media (max-width:940px){
  .product-detail-grid,.checkout-layout,.admin-form-grid,.product-content-grid{grid-template-columns:1fr!important}
  .navlinks{display:none!important}.menu-btn{display:inline-flex!important}
  .km-hero-copy h1{font-size:36px!important}
}


/* ===== Final requested fixes ===== */
.hamburger-icon{width:24px;height:18px;display:inline-block;position:relative;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat;color:currentColor}
.hamburger-icon:before,.hamburger-icon:after{content:"";position:absolute;left:0;width:100%;height:2px;background:currentColor;border-radius:2px}.hamburger-icon:before{top:0}.hamburger-icon:after{bottom:0}
.header-menu-btn,.admin-mobile-toggle{font-size:0!important}.header-menu-btn .hamburger-icon,.admin-mobile-toggle .hamburger-icon{font-size:20px;color:#0f172a}
.modern-nav-shell{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important}.centered-nav{justify-content:center!important;justify-self:center!important}.header-actions{justify-self:end!important}
.km-hero-slider,.km-hero-track{min-height:0!important;aspect-ratio:16/6!important;background:#eef3f8!important}.km-hero-slide{display:block!important}.km-hero-media{position:absolute!important;inset:0!important}.km-hero-media:after,.km-hero-copy{display:none!important}.km-hero-media img{width:100%!important;height:100%!important;object-fit:cover!important}.km-hero-dots{left:50%!important;transform:translateX(-50%)!important;bottom:12px!important}
.product-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.admin-sidebar{display:flex!important;flex-direction:column!important}.admin-menu{flex:1 1 auto!important}.admin-sidebar-foot{margin-top:auto!important;position:sticky!important;bottom:0!important}.admin-menu-icon{background:var(--nav-icon-color)!important;color:#fff!important;border-radius:10px!important;min-width:30px!important;width:30px!important;height:30px!important;display:inline-grid!important;place-items:center!important;font-weight:900!important;box-shadow:0 8px 18px color-mix(in srgb,var(--nav-icon-color),transparent 70%)}
.admin-check-grid{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))!important}.admin-check-grid label{display:flex!important;align-items:center!important;gap:8px!important;line-height:1.2!important;font-size:14px!important;font-weight:800!important}.admin-check-grid input[type="checkbox"]{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:#0b1f3a!important}
.footer-payment-chip img{width:36px;height:24px;object-fit:contain;display:block}.footer-payment-chip{gap:8px!important;background:rgba(255,255,255,.08)!important}.modern-footer,.footer{background:#07182c!important;color:#e5edf7!important}.footer-nav a,.footer-payment-label{color:#dbeafe!important}.footer .muted{color:#b8c5d6!important}.footer-payment-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:14px}
.payment-logo-upload-field input{background:#fff}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-slide-row .row-actions,.admin-slide-row form{display:flex;align-items:center;gap:8px}
@media (max-width:720px){
  .km-hero-slider,.km-hero-track{aspect-ratio:16/7!important;min-height:0!important;border-radius:8px!important}.main-wide{padding-left:10px!important;padding-right:10px!important}.product-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-home-card .card-body{padding:10px!important}.product-home-card .card-title{font-size:13px!important}.product-home-card .card-desc{display:none!important}.product-home-pricing{margin-top:8px!important;gap:6px!important;flex-wrap:wrap}.product-home-pricing .price{font-size:13px!important}.product-home-pricing .strike{font-size:12px!important}.admin-slide-row{grid-template-columns:58px 1fr!important;gap:8px!important}.admin-slide-row img{width:58px!important;height:44px!important}.admin-slide-row .btn,.admin-slide-row form{grid-column:auto!important}.admin-slide-row .row-actions{grid-column:1/-1!important;justify-content:flex-start}.admin-content{padding-top:68px!important}.admin-mobile-toggle{top:14px!important;bottom:auto!important;left:14px!important;width:44px!important;height:44px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 12px 24px rgba(15,23,42,.12)!important}.order-list-grid{grid-template-columns:1fr!important}.order-list-grid>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important}.order-list-grid .row-actions{flex-direction:row!important}.admin-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.payment-method-grid{grid-template-columns:1fr!important}.modern-footwrap{grid-template-columns:1fr!important}.footer-payment-card{justify-self:stretch!important}.centered-nav{display:none!important}
}
@media (max-width:380px){.product-home-grid{gap:8px!important}.product-card-tag{font-size:9px!important}.product-home-card .card-title{font-size:12px!important}}

/* ===== User requested UI polish - logo/header/slider/orders ===== */
:root{--km-radius-xl:24px;}
.main.main-wide{padding-top:8px!important;}
.modern-topbar{box-shadow:0 6px 22px rgba(15,23,42,.05)!important;}
.modern-nav-shell{grid-template-columns:auto minmax(0,1fr) auto!important;position:relative!important;}
.centered-nav{display:flex!important;justify-content:center!important;justify-self:center!important;margin:0!important;gap:10px!important;}
.header-actions{display:flex!important;align-items:center!important;gap:10px!important;justify-self:end!important;margin-left:0!important;}
.header-search-button{width:42px;height:42px;border:1px solid rgba(15,23,42,.1);border-radius:999px;background:#fff;color:#0b1f3a;text-decoration:none;display:inline-grid;place-items:center;font-size:22px;font-weight:900;line-height:1;}
.header-search-button:hover{background:#edf3fa;}

.km-hero-slider{border-radius:var(--km-radius-xl)!important;margin-top:4px!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important;touch-action:pan-y;}
.km-hero-track,.km-hero-slide,.km-hero-click{height:100%;width:100%;display:block;}
.km-hero-click{position:absolute;inset:0;text-decoration:none;color:inherit;}
.km-hero-media img{transition:transform .65s ease;}
.km-hero-slide.active .km-hero-media img{transform:scale(1.01);}
.km-hero-dots button{width:9px!important;height:9px!important;border-radius:999px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 1px 6px rgba(0,0,0,.18)!important;}
.km-hero-dots button.active{width:24px!important;background:#fff!important;}

.products-head-no-title{justify-content:flex-end!important;margin-bottom:14px!important;}
.products-search,.track-search-card{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;}
.products-search{max-width:560px;margin-left:auto;width:100%;}
.products-search input{min-width:0;flex:1 1 auto;}
.products-search button,.track-search-card button{flex:0 0 auto;white-space:nowrap;}
.track-search-card .field{flex:1 1 auto;margin:0!important;min-width:0;}
.track-search-card{padding:14px!important;border-radius:18px!important;}

.product-home-media img,.product-gallery .gimg{transition:transform .35s ease!important;}
.product-home-card:hover .product-home-media img{transform:scale(1.09)!important;}
.product-gallery:hover .gimg.active{transform:scale(1.08)!important;}

.admin-menu-icon{background:transparent!important;color:#fff!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.18)!important;}
.admin-menu-link{color:#e5edf7!important;}
.admin-menu-link.active,.admin-menu-link:hover{background:rgba(255,255,255,.12)!important;color:#fff!important;}
.admin-brand-title{color:#fff!important;}
.admin-sidebar-foot{margin-top:auto!important;}

.admin-orders-page .order-list-grid{grid-template-columns:44px minmax(160px,1.15fr) minmax(180px,1.6fr) 112px 118px 124px!important;gap:10px!important;align-items:center!important;}
.admin-orders-page .order-list-grid>div{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-orders-page .order-list-grid .row-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;overflow:visible!important;}
.admin-orders-page .row-actions .btn{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:10px!important;font-size:15px!important;line-height:1!important;}
.admin-orders-page .row-actions form{display:inline-flex!important;margin:0!important;}
.admin-orders-page .trow{white-space:nowrap;}
.admin-orders-page .thead{font-weight:900;color:#475569;}

@media (max-width:991px){
  .centered-nav{display:none!important;}
  .modern-nav-shell{grid-template-columns:48px minmax(0,1fr) auto!important;}
  .header-brand{justify-self:center!important;}
}
@media (max-width:720px){
  .main.main-wide{padding-top:6px!important;}
  .km-hero-slider{border-radius:18px!important;margin-top:2px!important;}
  .products-search,.track-search-card{gap:8px!important;}
  .products-search input,.track-search-card input{height:42px!important;padding:0 10px!important;font-size:14px!important;}
  .products-search .btn,.track-search-card .btn{height:42px!important;min-height:42px!important;padding:0 12px!important;font-size:13px!important;}
  .admin-orders-page{overflow-x:auto!important;}
  .admin-orders-page .admin-surface{min-width:720px!important;}
  .admin-orders-page .order-list-grid{grid-template-columns:36px 150px 190px 104px 110px 116px!important;font-size:13px!important;}
}

/* ===== Mobile header/sidebar/category/credit final tweaks ===== */
.drawer-search-form{display:flex;align-items:center;gap:8px;width:100%;}
.drawer-search-form input{min-width:0;flex:1 1 auto;height:44px;border:1px solid #d9e2ef;border-radius:12px;padding:0 12px;background:#fff;color:#0b1f3a;font:inherit;}
.drawer-search-form button{flex:0 0 44px;width:44px;height:44px;border:1px solid #d9e2ef;border-radius:12px;background:#0b1f3a;color:#fff;font-weight:900;cursor:pointer;}
.developer-credit{margin-top:12px;font-size:13px;color:#b8c5d6;font-weight:700;}
.developer-credit a{color:#fff!important;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35);}
.developer-credit a:hover{border-color:#fff;}
@media (min-width:941px){
  .modern-nav-shell{grid-template-columns:minmax(180px,auto) minmax(0,1fr) minmax(180px,auto)!important;}
  .header-brand{justify-self:start!important;}
  .centered-nav{display:flex!important;justify-self:center!important;}
  .header-actions{display:flex!important;justify-self:end!important;}
}
@media (max-width:940px){
  .modern-nav-shell{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:64px!important;}
  .header-brand{order:1!important;justify-self:start!important;margin:0!important;}
  .header-brand .logo{max-height:46px!important;width:auto!important;object-fit:contain!important;}
  .header-menu-btn{order:2!important;margin-left:auto!important;width:44px!important;height:44px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;}
  .header-actions,.navright,.centered-nav,.navlinks{display:none!important;}
  .topbar.modern-topbar{padding:6px 0!important;}
  .drawer .drawer-search-sec{display:block!important;}
}
@media (max-width:720px){
  .km-category-band{margin-top:14px!important;overflow:hidden!important;}
  .km-category-band .home-section-head{margin-bottom:10px!important;}
  .km-category-band .home-section-head h2{font-size:17px!important;}
  .km-category-chips[data-home-categories-mobile],.km-category-band .km-category-chips{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;padding:2px 2px 10px!important;margin-right:-10px!important;-webkit-overflow-scrolling:touch!important;}
  .km-category-chips[data-home-categories-mobile]::-webkit-scrollbar,.km-category-band .km-category-chips::-webkit-scrollbar{display:none!important;}
  .km-category-band .km-category-chip{flex:0 0 auto!important;min-width:auto!important;padding:8px 12px!important;border-radius:999px!important;scroll-snap-align:start!important;display:inline-flex!important;align-items:center!important;gap:8px!important;}
  .km-category-band .km-category-chip .chip-mark{width:26px!important;height:26px!important;border-radius:999px!important;font-size:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .km-category-band .km-category-chip strong{font-size:13px!important;white-space:nowrap!important;}
}


/* ===== final requested fixes: compact mobile category chips, left logo, checkout/home headings ===== */
.checkout-no-title{padding-top:0!important;}
.home-section-head h2:empty{display:none!important;}

@media (max-width:940px){
  .modern-nav-shell{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;}
  .header-brand{order:1!important;flex:0 1 auto!important;margin:0 auto 0 0!important;justify-self:flex-start!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;min-width:0!important;}
  .header-brand .logo{display:block!important;max-height:42px!important;max-width:170px!important;width:auto!important;margin:0!important;object-fit:contain!important;}
  .header-menu-btn{order:2!important;flex:0 0 42px!important;margin-left:auto!important;}
}

@media (max-width:720px){
  .km-category-band .home-section-head{display:flex!important;align-items:center!important;margin-bottom:8px!important;}
  .km-category-chips[data-home-categories-mobile],.km-category-band .km-category-chips{gap:7px!important;padding:1px 2px 7px!important;margin-right:-10px!important;}
  .km-category-band .km-category-chip{height:34px!important;min-height:34px!important;padding:5px 9px!important;border-radius:9px!important;gap:6px!important;box-shadow:none!important;}
  .km-category-band .km-category-chip .chip-mark{width:22px!important;height:22px!important;min-width:22px!important;border-radius:7px!important;font-size:10px!important;line-height:1!important;}
  .km-category-band .km-category-chip strong{font-size:12px!important;line-height:1!important;}
}

/* Keep product detail stable when size/variation options are tapped */
.product-detail-page,.fashion-product-detail{overflow-x:hidden!important;}
.product-order-form,.product-choice-block,.size-chip-row{position:relative!important;min-width:0!important;}
.choice-chip{position:relative!important;cursor:pointer!important;user-select:none!important;-webkit-tap-highlight-color:transparent!important;}
.choice-chip input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;inset:auto!important;}
.choice-chip span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:18px!important;line-height:1.1!important;}
.choice-chip:has(input:checked),.choice-chip.is-selected{background:var(--km-navy,#0b1f3a)!important;color:#fff!important;border-color:var(--km-navy,#0b1f3a)!important;}
@media (max-width:940px){
  .product-detail-grid,.checkout-layout,.admin-form-grid,.product-content-grid{grid-template-columns:1fr!important;}
  .product-info-panel{width:100%!important;max-width:100%!important;}
}

/* FORCE LIGHT FOOTER */
body footer.footer.modern-footer { background: #ffffff !important; background-color: #ffffff !important; border-top: 1px solid #e2e8f0 !important; }
body footer.footer.modern-footer, body footer.footer.modern-footer * { color: #000000 !important; }

