/* 1pointbd storefront — ShopGenie layout. --pri / --acc come from Site Setting colors. */
:root{--pri:#2b1f8f;--acc:#f26f21;--bg:#f4f5f9;--txt:#1d2033;--muted:#80849b;--r:12px}
*{box-sizing:border-box}
/* English letters use Inter, Bangla letters use Hind Siliguri (Inter has no Bangla, so the browser picks the right font per letter) */
body{font-family:'Inter','Hind Siliguri',system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--txt);font-size:15px;padding-bottom:0;line-height:1.55;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body.lang-bn{font-family:'Hind Siliguri','Inter',system-ui,sans-serif;line-height:1.65}
body.lang-bn .form-control,body.lang-bn .form-select,body.lang-bn .btn{line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.btn-pri{background:var(--pri);color:#fff;border:0}.btn-pri:hover{filter:brightness(1.12);color:#fff}
.btn-acc{background:var(--acc);color:var(--acc-text);border:0}.btn-acc:hover{filter:brightness(1.08);color:var(--acc-text)}
.text-pri{color:var(--pri)!important}.bg-pri{background:var(--pri)!important}
/* notice ticker */
.notice{background:#111;color:#fff;font-size:13px;display:flex;align-items:center;height:32px;overflow:hidden}
.notice .lbl{background:#e11d48;padding:0 10px;height:100%;display:flex;align-items:center;gap:4px;font-weight:700;white-space:nowrap;font-size:11px;letter-spacing:.5px}
.notice .track{flex:1;overflow:hidden;white-space:nowrap}
.notice .track span{display:inline-block;padding-left:100%;animation:tick 22s linear infinite}
.notice button{background:none;border:0;color:#fff;padding:0 10px}
@keyframes tick{to{transform:translateX(-100%)}}
/* header */
.site-header{background:var(--hdr);position:sticky;top:0;z-index:1030;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.hdr{display:flex;align-items:center;gap:14px;padding:10px 0}
.hdr .logo img{max-height:46px}
.hdr .logo .txt{font-weight:800;font-size:24px;color:var(--hdr-text)}
.search{position:relative;flex:1}
.search form{display:flex;border:2px solid var(--pri);border-radius:10px;overflow:hidden;background:#fff}
.search input{border:0;flex:1;padding:9px 14px;outline:0;min-width:0}
.search button{background:var(--pri);color:#fff;border:0;padding:0 18px;font-size:18px}
.live-box{position:absolute;top:100%;left:0;right:0;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 10px 30px rgba(0,0,0,.12);z-index:50;max-height:420px;overflow:auto;display:none}
.live-box a{display:flex;gap:10px;padding:8px 12px;border-bottom:1px solid #f1f1f5;align-items:center}
.live-box a:hover{background:#f7f7fc}.live-box img{width:44px;height:44px;object-fit:cover;border-radius:8px}
.hicon{position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:21px;color:var(--pri);background:#f1f0fb;border:0}
.hicon .b{position:absolute;top:-3px;right:-3px;background:#e11d48;color:#fff;font-size:11px;border-radius:10px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.catbar{background:var(--nav)}
.catbar .nav-link{color:var(--nav-text);padding:10px 14px;font-weight:500;font-size:14.5px}
.catbar .dropdown-menu{border:0;box-shadow:0 10px 30px rgba(0,0,0,.12);border-radius:12px}
/* sections */
.sec{background:#fff;border-radius:var(--r);padding:16px;margin-bottom:16px}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}
.sec-head h2{font-size:19px;font-weight:700;margin:0;display:flex;align-items:center;gap:8px}
.sec-head h2:before{content:'';width:4px;height:20px;background:var(--acc);border-radius:3px}
.sec-head .more{font-size:13px;color:var(--pri);font-weight:600;white-space:nowrap}
.countdown{display:flex;gap:5px}.countdown span{background:#16a34a;color:#fff;border-radius:6px;padding:2px 7px;font-weight:700;font-size:14px;min-width:30px;text-align:center}
/* slider */
.hero .carousel-item img{width:100%;height:auto;aspect-ratio:2.6/1;object-fit:cover;border-radius:var(--r)}
/* category tiles */
.hscroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.cat-tile{flex:0 0 108px;scroll-snap-align:start;text-align:center;border:1px solid #eee;border-radius:12px;padding:12px 6px;background:#fff;transition:.2s}
.cat-tile:hover{border-color:var(--pri);transform:translateY(-2px)}
.cat-tile img,.cat-tile .ph,.cat-tile .cicon{width:56px;height:56px;object-fit:contain;margin:0 auto 6px;display:flex}
.cat-tile .ph{border-radius:50%;background:var(--pri);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px}
.cat-tile span{font-size:13.5px;font-weight:500;display:block;line-height:1.45;word-break:break-word}
/* product card */
.pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:576px){.pgrid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:992px){.pgrid{grid-template-columns:repeat(5,1fr);gap:14px}}
.hscroll .pcard{flex:0 0 46%;scroll-snap-align:start}
@media(min-width:768px){.hscroll .pcard{flex:0 0 22%}}
.pcard{background:#fff;border:1px solid #eef0f5;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative;transition:.2s}
.pcard:hover{box-shadow:0 8px 24px rgba(30,30,80,.1);transform:translateY(-2px)}
.pcard .im{position:relative;aspect-ratio:1;background:#f7f7fb;display:block}
.pcard .im img{width:100%;height:100%;object-fit:cover}
.pcard .off{position:absolute;top:8px;left:8px;background:#e11d48;color:#fff;border-radius:50%;width:44px;height:44px;font-size:11px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.pcard .body{padding:10px;display:flex;flex-direction:column;flex:1}
.pcard .name{font-size:14px;font-weight:500;line-height:1.5;height:3em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.stars{color:#f59e0b;font-size:12px;letter-spacing:1px}
.price del{color:#9a9db0;font-size:13px;margin-right:4px}.price b{color:var(--acc);font-size:17px}
.pcard .acts{display:flex;gap:6px;margin-top:auto;padding-top:8px}
.pcard .acts .btn{font-size:13px;padding:6px 4px;border-radius:8px}
.pcard .acts .order{flex:1}
.pcard .acts .cart{width:40px;flex:0 0 40px;background:var(--acc);color:var(--acc-text);opacity:.85}
.soldout{position:absolute;inset:0;background:rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;font-weight:700;color:#e11d48}
/* product page */
.gallery-main{aspect-ratio:1;background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden}
.gallery-main img{width:100%;height:100%;object-fit:contain}
.thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px}
.thumbs img{width:68px;height:68px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;flex:0 0 68px}
.thumbs img.active{border-color:var(--pri)}
.pd-title{font-size:23px;font-weight:700;line-height:1.3}
.pd-price del{color:#9a9db0;font-size:18px}.pd-price b{color:var(--acc);font-size:28px}
.code-tag{display:inline-block;background:var(--pri);color:#fff;padding:3px 22px 3px 12px;font-size:13px;clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%)}
.meta-list div{margin-bottom:4px}.meta-list b{font-weight:600}
.qty{display:inline-flex;border:1px solid #ccd;border-radius:8px;overflow:hidden}
.qty button{width:40px;border:0;background:#fff;font-size:20px}.qty input{width:56px;text-align:center;border:0;border-left:1px solid #ccd;border-right:1px solid #ccd;font-weight:600}
.vopt{border:1px solid #d6d6e3;border-radius:8px;padding:5px 12px;margin:0 6px 6px 0;background:#fff;font-size:14px}
.vopt.active{border-color:var(--pri);background:var(--pri);color:#fff}
.vopt:disabled{opacity:.4;text-decoration:line-through}
.btn-big{padding:11px 10px;font-weight:600;font-size:16px;border-radius:8px}
.tabs-x .nav-link{color:#444;font-weight:600}.tabs-x .nav-link.active{color:var(--pri);border-bottom:3px solid var(--pri)}
.review{border:1px solid #eee;border-radius:12px;padding:12px;margin-bottom:10px}
.avatar{width:38px;height:38px;border-radius:50%;background:#16a34a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
/* slide cart */
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(400px,92vw);background:#fff;z-index:1060;transform:translateX(100%);transition:.3s;display:flex;flex-direction:column}
.cart-drawer.open{transform:none}
.cart-drawer .hd{background:var(--pri);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:18px}
.cart-drawer .bd{flex:1;overflow:auto;padding:12px}
.cart-drawer .ft{padding:14px;border-top:1px solid #eee}
.citem{display:flex;gap:10px;border-bottom:1px solid #f1f1f5;padding:10px 0}
.citem img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.mini-qty{display:inline-flex;align-items:center;border:1px solid #dde;border-radius:6px}
.mini-qty button{border:0;background:none;width:28px}.mini-qty span{min-width:24px;text-align:center;font-weight:600}
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1055;display:none}
.backdrop.show{display:block}
/* floating buttons */
.float-chat{position:fixed;right:14px;bottom:88px;width:52px;height:52px;border-radius:50%;background:#22c55e;color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;z-index:1040;box-shadow:0 6px 18px rgba(34,197,94,.45)}
.float-cart{position:fixed;right:0;top:45%;background:var(--pri);color:#fff;border-radius:10px 0 0 10px;padding:10px 10px;z-index:1040;text-align:center;font-size:22px;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.float-cart small{display:block;font-size:11px;background:#fff;color:var(--pri);border-radius:8px;font-weight:700}
/* sales popup */
.sales-pop{position:fixed;left:12px;bottom:84px;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:10px 30px 10px 10px;display:flex;gap:10px;max-width:330px;z-index:1045;transform:translateY(160%);opacity:0;visibility:hidden;transition:.5s}
.sales-pop.show{transform:none;opacity:1;visibility:visible}
.sales-pop img{width:58px;height:58px;object-fit:cover;border-radius:8px}
.sales-pop .x{position:absolute;top:4px;right:8px;border:0;background:none;color:#999}
/* mobile bottom nav */
.bnav{position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;justify-content:space-around;align-items:flex-end;height:64px;z-index:1050;box-shadow:0 -4px 16px rgba(0,0,0,.08);padding-bottom:6px}
.bnav a,.bnav button{flex:1;text-align:center;font-size:11.5px;color:#555;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;position:relative}
.bnav i{font-size:21px;color:#444}
.bnav .home{flex:0 0 70px}
.bnav .home span.c{width:58px;height:58px;border-radius:50%;background:var(--pri);border:5px solid #fff;color:#fff;display:flex;align-items:center;justify-content:center;margin-top:-30px;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.bnav .home i{color:#fff;font-size:24px}
.bnav .b{position:absolute;top:-4px;left:56%;background:#e11d48;color:#fff;font-size:10px;border-radius:9px;padding:0 5px}
.bnav .active,.bnav .active i{color:var(--pri)}
@media(max-width:991px){body{padding-bottom:66px}}
/* footer */
footer.site-footer{background:var(--ftr);color:var(--ftr-text);margin-top:30px;padding:36px 0 10px}
footer.site-footer h5{color:var(--ftr-head);font-size:17px;font-weight:700;margin-bottom:12px}
footer.site-footer a{color:var(--ftr-text);display:block;padding:3px 0}
footer.site-footer a:hover{color:var(--ftr-head)}
footer .social a{display:inline-flex;width:38px;height:38px;border-radius:50%;border:1px solid #3a3d63;align-items:center;justify-content:center;margin-right:6px}
footer .store img{height:40px;margin:0 6px 6px 0;display:inline-block}
.copy{border-top:1px solid #2a2c4d;margin-top:20px;padding-top:12px;font-size:13px;text-align:center}
/* forms / pages */
.box{background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.form-control,.form-select{border-radius:10px;padding:.6rem .85rem}
.form-control:focus,.form-select:focus{border-color:var(--pri);box-shadow:0 0 0 .2rem rgba(43,31,143,.12)}
.breadcrumb{font-size:13px}
.drawer-menu .list-group-item{border:0;border-bottom:1px solid #f1f1f5;padding:11px 16px}
.drawer-menu .head{background:var(--pri);color:#fff}
.popup-modal .modal-content{border:0;border-radius:16px;overflow:hidden}
.prose img{max-width:100%;height:auto}.prose{line-height:1.8}

/* v1.1 site colors */
.copy{border-top-color:color-mix(in srgb,var(--ftr-text) 25%,transparent)}
footer .social a{border-color:color-mix(in srgb,var(--ftr-text) 35%,transparent)}

/* ---------- v1.3 ---------- */
/* language switch */
.lang-switch{display:inline-flex;border:1.5px solid var(--pri);border-radius:20px;overflow:hidden;font-size:12.5px;font-weight:600;line-height:1}
.lang-switch a{padding:6px 9px;color:var(--pri);font-family:'Hind Siliguri','Inter',sans-serif}
.lang-switch a.on{background:var(--pri);color:#fff}
@media(max-width:380px){.lang-switch a{padding:5px 7px;font-size:12px}}
/* category icons */
.cicon{width:44px;height:44px;border-radius:50%;background:var(--cbg);color:var(--cfg);display:inline-flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto;line-height:1}
.cicon .xi{width:55%;height:55%}
.cat-tile .cicon{font-size:27px;align-items:center;justify-content:center}
.cicon-sm{width:30px;height:30px;font-size:16px}.cicon-xs{width:24px;height:24px;font-size:13px}
.cimg{object-fit:contain}
img.cicon-sm{width:30px;height:30px;border-radius:6px}img.cicon-xs{width:24px;height:24px;border-radius:5px}
.cat-chips .chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#fff;border:1px solid #e6e8f0;border-radius:22px;padding:5px 12px 5px 5px;font-size:13.5px;font-weight:500}
.cat-chips .chip:hover{border-color:var(--pri)}
.post-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:#f1f2f8;color:#b4b8cc;font-size:40px;border-radius:12px}
/* wishlist heart + stock badge on cards */
.pcard .wish{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#e11d48;display:flex;align-items:center;justify-content:center;font-size:17px;box-shadow:0 2px 8px rgba(0,0,0,.12);z-index:2}
.wish.on{color:#e11d48}.wish.on i{animation:pop .3s}
@keyframes pop{50%{transform:scale(1.35)}}
.gallery-main{position:relative}.wish-lg{position:absolute;top:10px;right:10px;width:42px;height:42px;font-size:21px;border-radius:50%;border:0;background:#fff;color:#e11d48;box-shadow:0 2px 10px rgba(0,0,0,.15);z-index:2}
.pcard .low{position:absolute;left:8px;bottom:8px;background:#f59e0b;color:#fff;font-size:11.5px;font-weight:600;border-radius:6px;padding:2px 7px}
/* product page */
.stock-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:9px 12px;max-width:520px}
.stock-alert .bi-fire{color:#ea580c;font-size:18px}
.stock-alert .bar{height:6px;background:#fde3c8;border-radius:4px;margin-top:6px;overflow:hidden}.stock-alert .bar span{display:block;height:100%;background:linear-gradient(90deg,#ef4444,#f97316);border-radius:4px}
.trust{list-style:none;padding:0;margin:0;max-width:520px;display:grid;gap:6px}
.trust li{display:flex;gap:8px;align-items:flex-start;background:#f6f7fb;border-radius:10px;padding:8px 12px;font-size:14px}
.trust i{color:var(--pri);font-size:17px;line-height:1.3}
.rv-media{display:flex;flex-wrap:wrap;gap:6px}.rv-media img{width:76px;height:76px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.rv-video{width:100%;max-width:340px;border-radius:10px;background:#000}
/* checkout */
.opt-box{border:1.5px solid #e3e5ee;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px;cursor:pointer}
.opt-box:has(input:checked){border-color:var(--pri);background:#f6f5ff}
.coupon-list{display:grid;gap:6px}
.coupon-list .cp{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1.5px dashed #86efac;background:#f0fdf4;border-radius:10px;padding:8px 10px}
.coupon-list .cp .code{letter-spacing:.5px;font-family:'Inter',monospace}
.coupon-list .cp.on{border-style:solid;border-color:#16a34a}
.coupon-list .cp.sug{background:#ecfdf5;border-color:#16a34a;order:-1}.coupon-list .cp.off{opacity:.55}
/* bottom menu with 6-7 buttons */
/* bottom menu (v1.4): grid, Home always in the centre */
.bnav{display:grid;align-items:end}
.bnav a,.bnav button{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px 8px}
.bnav .home{flex:none;padding-bottom:8px;overflow:visible}
.bnav-gap{display:block}
/* Message sheet */
.msg-sheet{height:auto!important;max-height:70vh;border-radius:18px 18px 0 0;z-index:1060}
.msg-sheet .offcanvas-title{font-size:17px;font-weight:700}
.msg-opt{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;margin-bottom:10px;border:1px solid #eceef5;color:#1d2033}
.msg-opt i{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;flex:0 0 46px}
.msg-opt span{display:flex;flex-direction:column;line-height:1.35}.msg-opt small{color:#6b7280}
.msg-opt.ms i{background:linear-gradient(135deg,#0084ff,#a334fa)}.msg-opt.wa i{background:#22c55e}.msg-opt.call i{background:var(--pri)}
.msg-opt:active{background:#f6f7fb}
.bnav .b.wish-count{left:58%}
.site-footer .pay-note{opacity:.85}
/* Bangla on small phones: no clipped letters, comfortable size */
@media(max-width:576px){
  body.lang-bn{font-size:15.5px}
  .lang-bn .sec-head h2{font-size:18px;line-height:1.4}
  .lang-bn .pd-title{font-size:21px;line-height:1.45}
  .lang-bn .btn-big{font-size:15.5px}
  .lang-bn .pcard .name{font-size:14.5px}
}

/* v1.6 floating buttons — right side, middle (never over the mobile bottom menu) */
.fbtns{position:fixed;right:12px;top:50%;transform:translateY(-50%);z-index:1035;display:flex;flex-direction:column;gap:10px}
.fbtn{width:48px;height:48px;border-radius:50%;background:var(--fb,var(--pri));color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:22px;text-decoration:none;box-shadow:0 6px 16px rgba(0,0,0,.22);transition:transform .15s}
.fbtn:hover,.fbtn:focus-visible{transform:scale(1.08);color:#fff}
.fbtn:active{transform:scale(.94)}
@media(max-width:575px){.fbtns{right:8px;top:56%;gap:9px}.fbtn{width:44px;height:44px;font-size:20px}}
/* v1.6 product sliders */
.pslide{position:relative}
.pslide-track{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:2px 2px 6px;touch-action:pan-x pan-y}
.pslide-track .pcard{flex:0 0 calc((100% - 10px) / 2.15);scroll-snap-align:start}
@media(min-width:576px){.pslide-track .pcard{flex-basis:calc((100% - 20px) / 3.1)}}
@media(min-width:768px){.pslide-track .pcard{flex-basis:calc((100% - 30px) / 4)}}
@media(min-width:992px){.pslide-track{gap:14px}.pslide-track .pcard{flex-basis:calc((100% - 56px) / 5)}}
.pslide-track.dragging{scroll-behavior:auto;scroll-snap-type:none;cursor:grabbing}
.pslide-track.dragging a{pointer-events:none}
.pslide-track img{-webkit-user-drag:none;user-select:none}
.pslide-btn{position:absolute;top:38%;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--pri);box-shadow:0 4px 14px rgba(0,0,0,.18);display:none;align-items:center;justify-content:center;font-size:18px;transition:opacity .2s}
.pslide-btn.prev{left:-6px}.pslide-btn.next{right:-6px}
.pslide-btn:disabled{opacity:0;pointer-events:none}
@media(hover:hover) and (pointer:fine){.pslide-btn{display:flex}.pslide-track{cursor:grab}}

/* v1.6 bottom menu: bold labels, bigger icons, active = Primary, others grey */
.bnav{height:68px}
.bnav a,.bnav button{font-size:12px;font-weight:700;color:#6b7280;letter-spacing:.1px}
.bnav i{font-size:24px;color:#6b7280;line-height:1;margin-bottom:2px}
.bnav .home span.c{width:62px;height:62px;margin-top:-32px;background:var(--pri)}
.bnav .home{color:var(--pri);font-weight:800}
.bnav .home i{font-size:26px;color:#fff}
.bnav .active,.bnav .active i{color:var(--pri)}
.bnav .b{font-weight:800;min-width:18px;line-height:18px;top:-5px}
/* v1.6 category drawer: 80% from the left, the page stays visible on the right (tap there to close) */
.drawer-menu.offcanvas-start{--bs-offcanvas-width:80vw;width:80vw;max-width:400px;z-index:1065}
.drawer-menu .head{background:var(--pri);color:#fff;padding:10px 12px}
.drawer-menu .dm-logo{background:#fff;border-radius:10px;padding:4px 10px;display:inline-flex;align-items:center;max-width:70%}
.drawer-menu .dm-logo img{max-height:34px;max-width:100%;object-fit:contain}
.drawer-menu .dm-logo b{color:var(--pri)}
.drawer-menu .dm-x{width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center}
.drawer-menu .dm-title{font-weight:800;font-size:14px;color:var(--pri);padding:10px 16px 6px;border-bottom:2px solid #f1f1f5}
.drawer-menu .dm-cat a{font-weight:700;font-size:15px;color:var(--txt)}
.drawer-menu .dm-sub{background:#fafafd;padding-left:30px}
.drawer-menu .dm-sub a{font-weight:600;font-size:14px;color:#374151}
.drawer-menu .dm-child{background:#f4f5fa;padding-left:48px;font-size:13.5px;font-weight:600;color:#4b5563}
.drawer-menu .dm-v{width:34px;height:34px;border-radius:8px;background:#f1f1f7;display:flex;align-items:center;justify-content:center}
.drawer-menu .dm-v i{transition:transform .2s}
.drawer-menu .dm-v:not(.collapsed) i{transform:rotate(180deg)}
.drawer-menu .offcanvas-body{padding-bottom:80px!important}
/* ===================== v1.6 Dark Mode (html[data-theme=dark]) — Light Mode above is unchanged ===================== */
html[data-theme=dark]{--bg:#0e111b;--txt:#e7e9f3;--muted:#a3a8c0;--card:#171b2b;--card2:#20253a;--line:#2c324a;--pri-l:color-mix(in srgb,var(--pri) 45%,#ffffff);--hdr:#141828;--hdr-text:#ffffff;color-scheme:dark}
[data-theme=dark] body{background:var(--bg);color:var(--txt)}
[data-theme=dark] .site-header{background:var(--hdr);box-shadow:0 2px 10px rgba(0,0,0,.4)}
[data-theme=dark] .hdr .logo img,[data-theme=dark] .drawer-menu .dm-logo{background:#fff;border-radius:8px;padding:3px 6px}
[data-theme=dark] .sec,[data-theme=dark] .sec[style],[data-theme=dark] .box,[data-theme=dark] .pcard,[data-theme=dark] .cat-tile,[data-theme=dark] .live-box,[data-theme=dark] .cart-drawer,
[data-theme=dark] .gallery-main,[data-theme=dark] .bnav,[data-theme=dark] .sales-pop,[data-theme=dark] .cat-chips .chip,[data-theme=dark] .vopt,[data-theme=dark] .qty button,
[data-theme=dark] .pslide-btn,[data-theme=dark] .wish-lg,[data-theme=dark] .msg-opt,[data-theme=dark] .opt-box,[data-theme=dark] .review,[data-theme=dark] .offcanvas,
[data-theme=dark] .drawer-menu .list-group-item,[data-theme=dark] .bg-white,[data-theme=dark] .bg-light,[data-theme=dark] .card,[data-theme=dark] .dropdown-menu,[data-theme=dark] .modal-content{background:var(--card)!important;color:var(--txt);border-color:var(--line)!important}
[data-theme=dark] .pcard .im,[data-theme=dark] .post-ph,[data-theme=dark] .trust li,[data-theme=dark] .hicon,[data-theme=dark] .search form,[data-theme=dark] .drawer-menu .dm-sub,[data-theme=dark] .drawer-menu .dm-v,[data-theme=dark] .live-box a:hover,[data-theme=dark] .msg-opt:active{background:var(--card2)!important}
[data-theme=dark] .drawer-menu .dm-child{background:#1b2032!important}
[data-theme=dark] .search input,[data-theme=dark] .search input::placeholder{color:var(--txt);background:transparent}
[data-theme=dark] .search input::placeholder{color:var(--muted)}
[data-theme=dark] .text-pri,[data-theme=dark] .sec-head .more,[data-theme=dark] .hicon,[data-theme=dark] .drawer-menu .dm-title,[data-theme=dark] .pslide-btn,[data-theme=dark] .bnav .active,[data-theme=dark] .bnav .active i,[data-theme=dark] .bnav .home,[data-theme=dark] .drawer-menu .dm-logo b{color:var(--pri-l)!important}
[data-theme=dark] .text-dark,[data-theme=dark] .msg-opt,[data-theme=dark] .tabs-x .nav-link,[data-theme=dark] .drawer-menu .dm-cat a,[data-theme=dark] .drawer-menu .dm-sub a,[data-theme=dark] .drawer-menu .dm-child,[data-theme=dark] .pcard .name,[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] h5,[data-theme=dark] h6{color:var(--txt)!important}
[data-theme=dark] .text-muted,[data-theme=dark] .form-text,[data-theme=dark] small.text-muted{color:var(--muted)!important}
[data-theme=dark] .bnav a,[data-theme=dark] .bnav button,[data-theme=dark] .bnav i{color:#9ca3af}
[data-theme=dark] .bnav .home span.c{border-color:var(--card)}
[data-theme=dark] .bnav .home i{color:#fff!important}
[data-theme=dark] .pcard,[data-theme=dark] .cat-tile,[data-theme=dark] .citem,[data-theme=dark] .cart-drawer .ft,[data-theme=dark] .live-box a,[data-theme=dark] .rv-media img{border-color:var(--line)!important}
[data-theme=dark] .pcard:hover{box-shadow:0 8px 24px rgba(0,0,0,.5)}
[data-theme=dark] .price del{color:#8b90a8}
[data-theme=dark] .soldout{background:rgba(10,12,20,.6)}
[data-theme=dark] .pcard .wish{background:rgba(30,34,52,.92)}
[data-theme=dark] .stock-alert{background:#2a1a0e;border-color:#7c2d12;color:#fdba74}
[data-theme=dark] .coupon-list .cp,[data-theme=dark] .coupon-list .cp.sug{background:#0f2a1c!important;border-color:#16a34a;color:var(--txt)}
[data-theme=dark] .opt-box:has(input:checked){background:color-mix(in srgb,var(--pri) 22%,var(--card))!important}
[data-theme=dark] .form-control,[data-theme=dark] .form-select,[data-theme=dark] .input-group-text{background-color:var(--card2);color:var(--txt);border-color:var(--line)}
[data-theme=dark] .form-control::placeholder{color:#7d8299}
[data-theme=dark] .table{--bs-table-bg:transparent;color:var(--txt)}
[data-theme=dark] .list-group-item{background:var(--card);color:var(--txt);border-color:var(--line)}
[data-theme=dark] .alert-success{background:#0f2a1c;color:#86efac;border-color:#166534}
[data-theme=dark] .alert-danger{background:#2b1113;color:#fca5a5;border-color:#7f1d1d}
[data-theme=dark] .alert-warning{background:#2a2108;color:#fde68a;border-color:#854d0e}
[data-theme=dark] .alert-info{background:#0b2230;color:#7dd3fc;border-color:#075985}
/* text written in the product / page editor may carry its own dark colour: always readable */
[data-theme=dark] .prose,[data-theme=dark] .prose *,[data-theme=dark] .desc,[data-theme=dark] .desc *{color:var(--txt)!important;background-color:transparent!important}
[data-theme=dark] .btn-light{background:var(--card2);color:var(--txt);border-color:var(--line)}
[data-theme=dark] .btn-close{filter:invert(1)}
[data-theme=dark] .drawer-menu .head .btn-close{filter:none}
/* the toggle */
.theme-toggle{border:0;background:#f1f0fb;color:var(--pri)}
.theme-toggle .bi-sun-fill{display:none}
[data-theme=dark] .theme-toggle .bi-moon-stars-fill{display:none}
[data-theme=dark] .theme-toggle .bi-sun-fill{display:inline-block;color:#fbbf24}
.theme-btn-foot{display:inline-flex;align-items:center;gap:8px;border:1px solid currentColor;border-radius:30px;padding:6px 14px;background:transparent;color:inherit;font-weight:600;font-size:14px}
/* PWA install button in the footer */
.pwa-install{display:inline-flex;align-items:center;gap:10px;background:var(--acc);color:var(--acc-text)!important;border:0;border-radius:14px;padding:12px 20px;font-weight:800;font-size:16px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.pwa-install i{font-size:22px}
.pwa-done{display:inline-flex;align-items:center;gap:8px;font-weight:700}
/* v1.6 AI chat */
.ai-fab{position:fixed;left:12px;bottom:150px;z-index:1036;display:flex;align-items:center;gap:6px;background:var(--pri);color:#fff;border:0;border-radius:30px;padding:10px 16px 10px 12px;font-weight:700;font-size:14px;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.ai-fab i{font-size:20px}
@media(min-width:992px){.ai-fab{bottom:110px}}
.ai-box{position:fixed;left:12px;bottom:84px;z-index:1070;width:min(360px,calc(100vw - 24px));height:min(480px,calc(100vh - 200px));background:#fff;border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.ai-box[hidden]{display:none}
@media(min-width:992px){.ai-box{bottom:24px}}
.ai-hd{background:var(--pri);color:#fff;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;font-weight:700}
.ai-hd button{background:none;border:0;color:#fff;font-size:18px}
.ai-msgs{flex:1;overflow:auto;padding:12px;background:#f6f7fb;display:flex;flex-direction:column;gap:8px}
.ai-m{max-width:86%;padding:8px 12px;border-radius:14px;font-size:14px;line-height:1.55;word-wrap:break-word}
.ai-m.bot{background:#fff;color:#1d2033;align-self:flex-start;border:1px solid #eceef5;border-bottom-left-radius:4px}
.ai-m.me{background:var(--pri);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.ai-m a{color:var(--pri);font-weight:700;text-decoration:underline}
.ai-m.typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#9aa0b8;animation:aiDot 1s infinite}
.ai-m.typing span:nth-child(2){animation-delay:.15s}.ai-m.typing span:nth-child(3){animation-delay:.3s}
@keyframes aiDot{50%{opacity:.2;transform:translateY(-3px)}}
.ai-quick{display:flex;flex-wrap:wrap;gap:6px}.ai-quick button{border:1px solid var(--pri);color:var(--pri);background:#fff;border-radius:20px;font-size:12.5px;padding:4px 10px}
.ai-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ai-links a{color:#fff!important;text-decoration:none!important;border-radius:20px;padding:5px 12px;font-size:13px}
.ai-links .wa{background:#22c55e}.ai-links .ms{background:#0084ff}.ai-links .cl{background:var(--acc)}
.ai-in{display:flex;border-top:1px solid #eceef5;background:#fff}.ai-in input{flex:1;border:0;padding:12px;outline:0;font-size:15px;background:transparent;color:inherit}.ai-in button{border:0;background:none;color:var(--pri);font-size:20px;padding:0 14px}
[data-theme=dark] .ai-box,[data-theme=dark] .ai-in,[data-theme=dark] .ai-m.bot,[data-theme=dark] .ai-quick button{background:var(--card);color:var(--txt);border-color:var(--line)}
[data-theme=dark] .ai-msgs{background:var(--bg)}
[data-theme=dark] .ai-m a,[data-theme=dark] .ai-quick button{color:var(--pri-l)}
[data-theme=dark] .price b,[data-theme=dark] .price,[data-theme=dark] .pcard .price b,[data-theme=dark] .pd-price b{color:color-mix(in srgb,var(--acc) 55%,#ffffff)!important}
[data-theme=dark] .text-success{color:#4ade80!important}[data-theme=dark] .text-danger{color:#f87171!important}[data-theme=dark] .text-warning{color:#fbbf24!important}[data-theme=dark] .text-primary{color:#93b4ff!important}
@media(max-width:575px){.ai-fab{width:48px;height:48px;padding:0;justify-content:center;border-radius:50%;bottom:150px}.ai-fab span{display:none}}
body:has(.fbtns) .float-cart{top:24%}
