/* =================================================
   EXTRA FEATURES: free-delivery bar, related products,
   18+ age gate, mini footer (product/legal pages)
================================================= */

/* ---------- Free delivery bar ---------- */
.free-ship{background:#f0f9f3;border:1px solid #b7e4c7;border-radius:12px;padding:10px 12px;margin-top:14px;font-size:14px;color:#14532d}
.free-ship .fs-track{height:8px;background:#d8efe0;border-radius:999px;overflow:hidden;margin-top:8px}
.free-ship .fs-fill{height:100%;background:#25a244;border-radius:999px;transition:width .35s ease}
.free-ship.done{background:#e7f8ed}
#deliveryFee.free{color:#15803d;font-weight:700}

/* ---------- Related products ---------- */
.related{max-width:1100px;margin:0 auto 40px;padding:0 20px}
.related h2{font-size:22px;margin-bottom:16px}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rel-card{display:block;background:#fff;border:1px solid #e8eaee;border-radius:14px;overflow:hidden;
    text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.rel-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.1)}
.rel-img{position:relative;aspect-ratio:1/1;background:#f3f4f6}
.rel-img img{width:100%;height:100%;object-fit:cover;display:block}
.rel-card.sold .rel-img img{opacity:.55}
.rel-badge{position:absolute;left:8px;top:8px;background:#111;color:#fff;font-size:11px;padding:3px 8px;border-radius:999px}
.rel-info{padding:10px 12px 14px}
.rel-cat{font-size:11px;color:#777;text-transform:uppercase;letter-spacing:.08em}
.rel-name{font-size:15px;font-weight:600;margin:4px 0 6px;line-height:1.35}
.rel-price{font-size:16px;font-weight:700}
.rel-price .old-price{font-size:13px}
.rel-price .discount-badge{font-size:11px;padding:2px 6px}
@media(max-width:800px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.related{padding:0 14px}}

/* ---------- Age gate ---------- */
html.age-lock,html.age-lock body{overflow:hidden}
.age-gate{position:fixed;inset:0;z-index:99999;background:rgba(10,11,13,.92);
    display:flex;align-items:center;justify-content:center;padding:20px;
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.age-box{background:#fff;color:#111;width:100%;max-width:400px;border-radius:20px;padding:28px 24px;text-align:center;
    box-shadow:0 30px 60px rgba(0,0,0,.4)}
.age-badge{width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:#111;color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700}
.age-box h2{font-size:20px;line-height:1.4;margin-bottom:10px}
.age-box p{font-size:14px;color:#555;line-height:1.6}
.age-box .age-en{font-size:12px;color:#534C4C;margin-top:6px}
.age-box button{display:block;width:100%;padding:13px;border-radius:999px;font-size:15px;font-weight:600;cursor:pointer;margin-top:12px}
.age-yes{background:#111;color:#fff;border:0;margin-top:20px!important}
.age-no{background:#fff;color:#111;border:1.5px solid #ccc}
.age-box button:focus-visible{outline:2px solid #25a244;outline-offset:2px}

/* ---------- Mini footer (product + legal pages) ---------- */
.mini-footer{background:#111;color:#a7adb8;text-align:center;padding:30px 5%;font-size:15px;line-height:1.75}
.mini-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 26px;margin-bottom:14px}
.mini-links a{color:#e3e6eb;text-decoration:none;font-size:16px;font-weight:500}
.mini-links a:hover{color:#fff;text-decoration:underline}

/* ---------- Footer: 4 columns on index ---------- */
.footer-inner{grid-template-columns:1.4fr 1fr 1fr 1.2fr!important}
@media(max-width:760px){
 .footer-inner{grid-template-columns:1fr 1fr!important}
}

/* ---------- Legal pages ---------- */
.legal{max-width:820px;margin:35px auto;padding:0 20px}
.legal-card{background:#fff;border-radius:15px;padding:28px 26px;line-height:1.8;color:#333}
.legal-card h1{font-size:28px;margin-bottom:6px;color:#111}
.legal-card .updated{font-size:13px;color:#888;margin-bottom:18px}
.legal-card h2{font-size:18px;margin:22px 0 8px;color:#111}
.legal-card ul{padding-left:22px}
.legal-card li{margin-bottom:6px}
.legal-card a{color:#0b57d0}
@media(max-width:600px){.legal-card{padding:20px 16px}.legal-card h1{font-size:23px}}


/* =================================================
   NEW HEADER: বামে মেনু | মাঝখানে লোগো | ডানে কার্ট + ভাষা টগল
================================================= */
header{min-height:42px;padding:5px 4%}
header .logo{width:68px;height:26px}
header .logo img{max-width:48px !important;max-height:26px !important}
header .category-header-btn{width:30px;height:30px}
header .cart-btn{padding:4px 10px;font-size:13px}

/* ভাষা টগল (বাংলা / EN) */
.lang-toggle{
    display:inline-flex;
    background:rgba(255,255,255,.14);
    border-radius:999px;
    padding:2px;
    gap:2px;
    flex-shrink:0;
}
.lang-toggle button{
    border:0;
    background:transparent;
    color:#d5d8de;
    font-size:12px;
    font-weight:700;
    line-height:1;
    padding:7px 10px;
    border-radius:999px;
    cursor:pointer;
    transition:background .2s,color .2s;
}
.lang-toggle button.on{background:#fff;color:#111}

/* ছোট ফোনে কার্টের "Cart" লেখা লুকিয়ে শুধু আইকন + সংখ্যা */
@media(max-width:440px){
    header .cart-btn .cart-label{display:none}
    header .cart-btn{padding:6px 9px}
    header .header-right{gap:5px}
    .lang-toggle{gap:1px}
    .lang-toggle button{padding:7px 7px;font-size:11px}
    header{padding-left:3.5%;padding-right:3.5%}
    header .logo{width:76px;height:32px}
    header .logo img{max-width:76px !important;max-height:32px !important}
}
@media(max-width:400px){
    header .logo{width:66px;height:28px}
    header .logo img{max-width:66px !important;max-height:28px !important}
}
/* খুব ছোট স্ক্রিনে (৩৪০px বা কম) জায়গা কম, তাই লোগো মেনুর পাশেই থাকবে */
@media(max-width:340px){
    header .logo{position:static;transform:none;margin-left:8px}
}




/* =================================================
   WISHLIST ❤️
================================================= */
.wish-btn{
    position:absolute;
    top:10px;
    right:10px;
    z-index:3;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    box-shadow:0 2px 8px rgba(0,0,0,.16);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:transform .2s;
    -webkit-tap-highlight-color:transparent;
}
.wish-btn svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:#4b5563;
    stroke-width:2;
    transition:fill .2s,stroke .2s;
}
.wish-btn:hover{transform:scale(1.08)}
.wish-btn.on svg{fill:#e53935;stroke:#e53935}
.wish-btn.pop{animation:wishPop .45s ease}
@keyframes wishPop{0%{transform:scale(1)}40%{transform:scale(1.38)}100%{transform:scale(1)}}

.main-wrap{position:relative}
.main-wrap .wish-btn{top:12px;right:12px;width:42px;height:42px}
.main-wrap .wish-btn svg{width:22px;height:22px}



/* =================================================
   ফ্লোটিং WHATSAPP বাটন
================================================= */
.wa-float{
    position:fixed;
    right:16px;
    bottom:calc(18px + env(safe-area-inset-bottom,0px));
    width:58px;
    height:58px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1500;
    box-shadow:0 8px 22px rgba(37,211,102,.45),0 2px 6px rgba(0,0,0,.2);
    text-decoration:none;
    transition:transform .2s;
    -webkit-tap-highlight-color:transparent;
}
.wa-float:hover{transform:scale(1.07)}
.wa-float:active{transform:scale(.95)}
.wa-float svg{width:32px;height:32px;display:block}
.wa-float::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    border:2px solid #25D366;
    animation:waPing 2.4s ease-out infinite;
    pointer-events:none;
}
@keyframes waPing{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.6);opacity:0}}


/* =================================================
   ছবি লোডের প্রিমিয়াম অ্যানিমেশন
================================================= */
img.img-loading{
    background-color:#eceef1;
    background-image:linear-gradient(100deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.85) 50%,rgba(255,255,255,0) 70%);
    background-repeat:no-repeat;
    background-size:220% 100%;
    animation:imgShimmer 1.4s ease-in-out infinite;
    color:transparent;
}
@keyframes imgShimmer{
    0%{background-position:150% 0}
    100%{background-position:-50% 0}
}
img.img-reveal{animation:imgReveal .85s cubic-bezier(.22,.8,.24,1) both}
@keyframes imgReveal{
    from{opacity:0;filter:blur(16px) saturate(.6);transform:scale(1.07)}
    to{opacity:var(--img-op,1);filter:none;transform:none}
}
.product.sold .product-image{--img-op:.45}
.rel-card.sold .rel-img img{--img-op:.55}

@media(prefers-reduced-motion:reduce){
    img.img-loading,img.img-reveal,.wa-float::after,.wish-btn.pop{animation:none}
}

/* পণ্যের পেজ: বাছাই করা থাম্বনেইল */
.thumbnails img.active{border-color:var(--ink,#111)}

/* ছবিসহ ভ্যারিয়েন্ট বাটনে ছোট গোল ছবি */
.opt-pill{display:inline-flex;align-items:center;gap:8px}
.opt-pill.has-img{padding:5px 15px 5px 5px}
.pill-img{width:26px;height:26px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#f3f4f6}


/* =================================================
   নিচের নেভিগেশন বার — সবসময় কালো (ডে/ডার্ক মোড যাই হোক)
   রং বদলাতে চাইলে শুধু নিচের --bn-* গুলো বদলাও।
   (হেডারের কালো #111 এর সাথে মিলিয়ে রাখা)
================================================= */
.bottom-nav{
    --bn-bg:#111;
    --bn-border:rgba(255,255,255,.08);
    --bn-shadow:0 -8px 28px rgba(0,0,0,.35);
    --bn-idle:#9aa1ad;
    --bn-active:#ffffff;
    --bn-pill:rgba(255,255,255,.12);
    --bn-press:rgba(255,255,255,.08);
    --bn-badge:#ef4444;
    --bn-ring:#111;
}

.bottom-nav{
    position:fixed;left:0;right:0;bottom:0;z-index:1400;
    display:flex;justify-content:space-around;align-items:stretch;
    background:var(--bn-bg);
    border-top:1px solid var(--bn-border);
    box-shadow:var(--bn-shadow);
    padding:4px 1px calc(4px + env(safe-area-inset-bottom,0px));
    transition:background .25s,border-color .25s;
}
.bn-item{
    flex:1;min-width:0;background:none;border:0;cursor:pointer;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    padding:6px 2px;border-radius:12px;color:var(--bn-idle);
    -webkit-tap-highlight-color:transparent;transition:color .2s,background .2s;
}
.bn-item:active{background:var(--bn-press)}
.bn-item.active{color:var(--bn-active);background:var(--bn-pill)}
.bn-ico{position:relative;display:block;width:24px;height:24px}
.bn-ico svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bn-item.active .bn-ico svg{stroke-width:2.2}
.bn-label{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bn-badge{
    position:absolute;top:-5px;right:-9px;min-width:16px;height:16px;padding:0 4px;
    border-radius:99px;background:var(--bn-badge);color:#fff;font-size:10px;font-weight:700;
    align-items:center;justify-content:center;line-height:1;
    box-shadow:0 0 0 2px var(--bn-ring);
}
body.no-wa-float .wa-float{display:none !important}
body.has-bottom-nav{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
body.has-bottom-nav .wa-float{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
@media(min-width:760px){
    .bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:460px;bottom:14px;border-radius:20px;border:1px solid var(--bn-border)}
    body.has-bottom-nav .wa-float{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}

/* হেডারের ক্যাটাগরি বাটনের আইকন (গ্রিড) */
.category-header-btn svg{width:18px;height:18px;display:block;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.category-header-btn.is-active svg{stroke:#111}


/* =================================================
   WISHLIST PAGE (wishlist.html) – শুধু উইশলিস্টের পণ্য
================================================= */
.wish-page .back,
.cart-page .back,
.orders-page .back,
.account-page .back{
    color:#fff;
    text-decoration:none;
    padding:0 15px;
    font-size:14px;
    background:rgba(255,255,255,.12);
    border-radius:999px;
}
.wish-shop{
    display:inline-block;
    margin-top:18px;
    background:var(--ink);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding:12px 26px;
    border-radius:999px;
}

/* ---- নতুন Wishlist ডিজাইন ----
   ফোনে: এক কলামে আড়াআড়ি কার্ড (ছবি বাঁয়ে, তথ্য ডানে)
   ট্যাবলেট/ডেস্কটপে: গ্রিডে লম্বা কার্ড                      */
/* নিচে বাড়তি জায়গা: ভাসমান WhatsApp বাটন যেন শেষ কার্ডের বাটন ঢেকে না দেয় */
.wl-main{max-width:1180px;margin:0 auto;padding:22px 14px 92px}

.wl-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.wl-title-row{display:flex;align-items:center;gap:12px;min-width:0}
.wl-title-ico{flex:none;width:46px;height:46px;border-radius:15px;background:var(--ink);
    display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.wl-title-ico svg{width:22px;height:22px;fill:#ff5a64;stroke:#ff5a64;stroke-width:1.5}
.wl-title{font-size:22px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.wl-sub{margin-top:4px;font-size:13px;color:var(--muted)}
.wl-sub:empty{display:none}
.wl-clear{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 16px;
    border:1px solid var(--line);background:#fff;color:#374151;border-radius:999px;
    font-size:13px;font-weight:600;cursor:pointer;transition:color .2s,border-color .2s,background .2s;
    -webkit-tap-highlight-color:transparent}
.wl-clear:hover{color:#dc2626;border-color:#fecaca;background:#fef2f2}
.wl-clear[hidden]{display:none}

.wl-list{display:grid;grid-template-columns:1fr;gap:12px}

.wl-card{position:relative;display:flex;gap:12px;padding:10px;background:#fff;
    border:1px solid var(--line);border-radius:18px;
    transition:transform .22s ease,box-shadow .22s ease,opacity .22s ease;
    animation:wlIn .5s cubic-bezier(.22,.8,.24,1) backwards;
    animation-delay:calc(var(--i,0) * 60ms)}
.wl-noanim .wl-card,.wl-noanim .wl-empty{animation:none}
.wl-list .wl-card.leaving{opacity:0;transform:translateX(-14px) scale(.97);pointer-events:none}
@keyframes wlIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

.wl-img{position:relative;flex:none;display:block;width:116px;aspect-ratio:1/1;
    border-radius:13px;overflow:hidden;background:#f3f4f6}
.wl-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.wl-card.sold .wl-img img{--img-op:.5;opacity:.5}
.wl-sold{position:absolute;left:6px;bottom:6px;background:#111;color:#fff;font-size:10.5px;
    font-weight:700;padding:3px 8px;border-radius:999px;letter-spacing:.02em}

.wl-body{flex:1;min-width:0;display:flex;flex-direction:column}
.wl-cat{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wl-name{margin:4px 0 6px;font-size:15px;line-height:1.35;font-weight:700;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wl-name a{color:inherit;text-decoration:none}
.wl-name a:hover{text-decoration:underline;text-underline-offset:3px}
.wl-price{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;margin:0 0 12px}
.wl-now{font-size:19px;font-weight:800;letter-spacing:-.01em}
.wl-was{font-size:13px;color:#9ca3af;text-decoration:line-through}
.wl-off{font-size:11px;font-weight:800;color:#fff;background:#e53935;padding:2px 7px;
    border-radius:999px;white-space:nowrap}

.wl-actions{margin-top:auto;display:flex;align-items:center;gap:8px}
.wl-view{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;
    height:42px;padding:0 14px;background:var(--ink);color:#fff;border-radius:999px;
    font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s;
    -webkit-tap-highlight-color:transparent}
.wl-view span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl-view svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;
    stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.wl-view:hover{background:#000}
.wl-view:hover svg{transform:translateX(3px)}
.wl-view:active{transform:scale(.98)}
.wl-remove{flex:none;width:42px;height:42px;display:flex;align-items:center;justify-content:center;
    border:1px solid var(--line);background:#fff;color:#6b7280;border-radius:50%;cursor:pointer;
    transition:color .2s,border-color .2s,background .2s;-webkit-tap-highlight-color:transparent}
.wl-remove svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round}
.wl-remove:hover{color:#dc2626;border-color:#fecaca;background:#fef2f2}
.wl-view:focus-visible,.wl-remove:focus-visible,.wl-clear:focus-visible,
.wl-shop:focus-visible,.wl-name a:focus-visible,.wl-undo:focus-visible{outline:2px solid #25a244;outline-offset:2px}

/* খালি অবস্থা */
.wl-empty{grid-column:1/-1;text-align:center;padding:52px 22px 44px;background:#fff;
    border:1px solid var(--line);border-radius:22px;animation:wlIn .45s ease backwards}
.wl-empty-ico{width:84px;height:84px;margin:0 auto 18px;border-radius:50%;background:#f3f4f6;
    color:#9ca3af;display:flex;align-items:center;justify-content:center}
.wl-empty-ico svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6}
.wl-empty h2{font-size:19px;font-weight:700;margin-bottom:6px}
.wl-empty p{max-width:320px;margin:0 auto;font-size:14px;line-height:1.65;color:var(--muted)}
.wl-shop{display:inline-block;margin-top:22px;background:var(--ink);color:#fff;text-decoration:none;
    font-weight:600;font-size:14px;padding:13px 30px;border-radius:999px;transition:background .2s,transform .2s}
.wl-shop:hover{background:#000;transform:translateY(-1px)}

/* সরানোর পর নিচে ভেসে ওঠা বার (ফিরিয়ে আনুন) — WhatsApp বাটনের জায়গা ডানে ফাঁকা রাখা */
.wl-toast{position:fixed;left:14px;right:84px;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:1600;
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    background:#1f2125;color:#fff;font-size:14px;line-height:1.3;padding:10px 10px 10px 18px;border-radius:999px;
    border:1px solid rgba(255,255,255,.08);box-shadow:0 14px 34px rgba(0,0,0,.32);
    opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .25s,transform .25s}
.wl-toast.show{opacity:1;transform:none;pointer-events:auto}
.wl-undo{flex:none;background:#fff;color:#111;border:0;border-radius:999px;padding:8px 15px;
    font-size:13px;font-weight:700;cursor:pointer}

/* "কার্টে যোগ হয়েছে" মেসেজ — স্ক্রিনের ঠিক মাঝখানে (ফোন, ট্যাবলেট, ডেস্কটপ সবখানে)
   ক্লিকে বাধা দেয় না (pointer-events:none), তাই নিচের কোনো বাটন আটকে যায় না */
.wl-toast.wl-toast-center{
    left:50%;right:auto;top:50%;bottom:auto;
    width:max-content;max-width:calc(100vw - 48px);
    justify-content:center;text-align:center;
    padding:14px 26px;font-size:15px;font-weight:600;
    transform:translate(-50%,-50%) scale(.92);
    transition:opacity .18s,transform .18s}
.wl-toast.wl-toast-center.show{transform:translate(-50%,-50%) scale(1);pointer-events:none}

@media(min-width:640px){
    .wl-main{padding:30px 5% 100px}
    .wl-title{font-size:26px}
    .wl-list{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
    .wl-card{flex-direction:column;gap:0;padding:0;overflow:hidden}
    .wl-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.09)}
    .wl-img{width:100%;border-radius:0}
    .wl-card:hover .wl-img img{transform:scale(1.04)}
    .wl-sold{left:10px;bottom:10px}
    .wl-body{padding:14px 14px 16px}
    .wl-name{min-height:calc(2 * 1.35em)}
}
@media(min-width:760px){
    .wl-toast{left:50%;right:auto;width:max-content;max-width:420px;
        bottom:calc(92px + env(safe-area-inset-bottom,0px));transform:translate(-50%,14px)}
    .wl-toast.show{transform:translate(-50%,0)}
}
@media(prefers-reduced-motion:reduce){
    .wl-card,.wl-empty{animation:none}
    .wl-card,.wl-img img,.wl-toast,.wl-toast.wl-toast-center{transition:none}
}


/* =================================================
   ORDERS PAGE (orders.html) – পুরনো + নতুন অর্ডার, স্ট্যাটাস, Pathao ট্র্যাক

   রং বদলাতে চাইলে নিচের --st (স্ট্যাটাসের মূল রং), --st-ink (ব্যাজের লেখা),
   --st-soft (ব্যাজের পেছনের হালকা রং) বদলাও — প্রতিটা স্ট্যাটাসের জন্য আলাদা আছে।
================================================= */
.orders-main{
    --o-line-2:#d7dbe2;
    --o-soft:#f3f4f6;
    max-width:720px;margin:0 auto;padding:22px 14px 28px;
}
.orders-heading{font-size:24px;font-weight:800;letter-spacing:-.015em;line-height:1.25;padding:0 0 14px}

/* ---------- ফিল্টার চিপ ---------- */
.ord-filters{
    display:flex;gap:6px;margin:0 -14px 14px;padding:2px 14px 4px;
    overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.ord-filters::-webkit-scrollbar{display:none}
.ord-chip{
    flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;
    border-radius:999px;border:1px solid var(--line);background:#fff;color:#374151;
    font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap;
    -webkit-tap-highlight-color:transparent;transition:background .15s,color .15s,border-color .15s;
}
.ord-chip b{font-size:12px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.ord-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.ord-chip[aria-pressed="true"] b{color:rgba(255,255,255,.72)}

.ord-list{display:flex;flex-direction:column;gap:14px}
.ord-sub{
    display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin:0 2px 12px;
}
.ord-sub::before{
    content:"";width:12px;height:12px;border-radius:50%;
    border:2px solid var(--o-line-2);border-top-color:var(--ink);animation:ordSpin .8s linear infinite;
}
@keyframes ordSpin{to{transform:rotate(360deg)}}
.ord-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- অর্ডার কার্ড ---------- */
.ord-card{
    --st:#d97706;--st-ink:#92400e;--st-soft:#fff4e0;
    background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;
}
.ord-card.k-confirmed{--st:#2563eb;--st-ink:#1e40af;--st-soft:#e8f0ff}
.ord-card.k-delivered{--st:#16a34a;--st-ink:#166534;--st-soft:#e7f8ed}
.ord-card.k-cancelled{--st:#dc2626;--st-ink:#b42318;--st-soft:#fdecea}

.oc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
.oc-ref{display:flex;flex-direction:column;gap:3px;min-width:0}
.ord-id{font-size:16px;font-weight:800;letter-spacing:.01em;font-variant-numeric:tabular-nums;word-break:break-all}
.ord-date{font-size:12.5px;color:var(--muted);line-height:1.4}
.ord-badge{
    display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:5px 12px 5px 10px;
    font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap;
    background:var(--st-soft);color:var(--st-ink);
}
.ord-badge i{width:7px;height:7px;border-radius:50%;background:var(--st)}

/* পণ্যের সারি */
.oc-items{list-style:none;margin:14px 0 0;border-top:1px solid var(--line)}
.oc-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.oc-thumb{
    position:relative;flex:0 0 auto;width:48px;height:48px;border-radius:10px;overflow:hidden;
    display:grid;place-items:center;background:var(--o-soft);border:1px solid var(--line);color:#a3a9b5;
}
.oc-thumb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.oc-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.oc-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.oc-name b{font-size:14.5px;font-weight:600;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.oc-name small{font-size:12.5px;color:var(--muted);line-height:1.3;overflow-wrap:anywhere}
/* পণ্যের সারি চাপলে পণ্যের পেজ খোলে */
.oc-item.has-link{padding:0}
.oc-link{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:background .15s}
.oc-link:hover .oc-name b,.oc-link:focus-visible .oc-name b{text-decoration:underline;text-underline-offset:3px}
.oc-link:focus-visible{outline:2px solid #14161a;outline-offset:2px;border-radius:10px}
.oc-link:active{background:var(--o-soft)}
.oc-go{flex:0 0 auto;display:flex;color:#a3a9b5}
.oc-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ord-card.is-link{cursor:pointer}
.oc-qty{
    flex:0 0 auto;font-size:13px;font-weight:700;color:#374151;background:var(--o-soft);
    border-radius:8px;padding:3px 9px;font-variant-numeric:tabular-nums;
}

/* অগ্রগতির লাইন: অর্ডার হয়েছে → কনফার্ম → ডেলিভারি */
.oc-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 2px}
.oc-step{
    position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;
    text-align:center;font-size:12px;line-height:1.3;color:var(--muted);padding:0 2px;
}
.oc-step::before{content:"";position:absolute;top:9px;left:-50%;width:100%;height:2px;background:var(--o-line-2)}
.oc-step:first-child::before{display:none}
.oc-step.done::before{background:var(--st)}
.oc-node{
    position:relative;z-index:1;width:20px;height:20px;border-radius:50%;
    display:grid;place-items:center;background:#fff;border:2px solid var(--o-line-2);
}
.oc-node svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.oc-step.done .oc-node{background:var(--st);border-color:var(--st)}
.oc-step.next .oc-node{border-color:var(--st);box-shadow:0 0 0 4px var(--st-soft)}
.oc-step.done,.oc-step.next{color:var(--ink);font-weight:600}

/* বাতিল অর্ডারে প্রগ্রেস লাইনের জায়গায় নোটিশ */
.oc-cancel{
    display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;border-radius:12px;
    background:var(--st-soft);color:var(--st-ink);font-size:13.5px;font-weight:600;line-height:1.4;
}
.oc-cancel svg{flex:0 0 auto;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.k-cancelled .oc-thumb{opacity:.6;filter:grayscale(1)}
.k-cancelled .oc-name b{color:#4b5563}

/* নিচের সারি: মোট টাকা + ট্র্যাক বাটন */
.oc-foot{
    display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
    margin-top:16px;padding-top:14px;border-top:1px solid var(--line);
}
.ord-total{display:flex;flex-direction:column;gap:1px;min-width:0}
.ot-label{font-size:12px;color:var(--muted)}
.ot-amt{font-size:21px;font-weight:800;letter-spacing:-.01em;line-height:1.2;font-variant-numeric:tabular-nums}
.ot-sub{font-size:12px;color:var(--muted)}
.k-cancelled .ot-amt{color:#6b7280;text-decoration:line-through;text-decoration-thickness:1.5px}

.ord-track{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;
    height:44px;padding:0 18px;border-radius:999px;background:var(--ink);color:#fff;
    font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap;
    -webkit-tap-highlight-color:transparent;transition:opacity .15s;
}
.ord-track svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ord-track:active{opacity:.85}
.ord-track.off{background:#eef0f3;color:#7b818c;cursor:default}
.ord-hint{margin-top:10px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.ord-cancel-row{margin-top:12px;display:flex}
.ord-cancel{
    flex:1 1 auto;height:42px;padding:0 16px;border-radius:999px;border:1.5px solid #e6b8b4;background:transparent;
    color:#c0392b;font-size:14px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .15s;
}
.ord-cancel:active{opacity:.75}
.ord-cancel:disabled{opacity:.6;cursor:default}
.ord-cancel-msg{color:#c0392b}

/* ---------- নোট (লগইন করতে বলা / এরর) ---------- */
.ord-note{
    display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 12px;align-items:start;
    background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:14px;
    font-size:14px;line-height:1.55;color:#374151;
}
.ord-note-ico{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--o-soft);color:var(--ink)}
.ord-note-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ord-note p{margin:0;padding-top:6px}
.ord-note .ord-login{grid-column:2;justify-self:start;margin-top:6px}
.ord-note.err{background:#fdecea;border-color:#f1c3be;color:#7f1d1d}
.ord-note.err .ord-note-ico{background:#fad2cd;color:#b42318}
.ord-login{
    border:0;background:var(--ink);color:#fff;font-weight:600;font-size:14px;
    height:40px;padding:0 20px;border-radius:999px;cursor:pointer;
}
.ord-note.err .ord-login{background:#b42318}

/* ---------- খালি অবস্থা ---------- */
.ord-empty{
    text-align:center;background:#fff;border:1px dashed var(--o-line-2);border-radius:20px;
    padding:44px 22px 40px;color:var(--muted);
}
.ord-empty-ico{width:64px;height:64px;margin:0 auto;border-radius:50%;display:grid;place-items:center;background:var(--o-soft);color:var(--ink)}
.ord-empty-ico svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ord-empty h2{font-size:18px;font-weight:700;line-height:1.4;color:var(--ink);margin:16px 0 6px}
.ord-empty p{font-size:14px;line-height:1.65;max-width:30ch;margin:0 auto}
.ord-cta{
    display:inline-flex;align-items:center;justify-content:center;height:44px;margin-top:20px;padding:0 26px;
    border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;text-decoration:none;
}

/* ---------- লোডিং (স্কেলেটন) ---------- */
.ord-skel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}
.sk-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sk-gap{margin-top:18px;justify-content:flex-start}
.sk{
    display:block;border-radius:8px;
    background:linear-gradient(90deg,#eceef2 25%,#f6f7f9 37%,#eceef2 63%);
    background-size:400% 100%;animation:ordShimmer 1.4s ease infinite;
}
.sk-id{width:36%;height:18px}
.sk-badge{width:24%;height:26px;border-radius:999px}
.sk-thumb{flex:0 0 48px;width:48px;height:48px;border-radius:10px}
.sk-line{flex:1;height:14px}
.sk-btn{width:100%;height:44px;border-radius:999px;margin-top:18px}
@keyframes ordShimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ---------- মাউস হোভার (শুধু ডেস্কটপে) ---------- */
@media(hover:hover){
    .ord-chip:not([aria-pressed="true"]):hover{border-color:#c4cad3;background:#f8f9fa}
    a.ord-track:hover,.ord-cta:hover,.ord-login:hover{opacity:.88}
}

/* ---------- ফোকাস (কীবোর্ড) ---------- */
.ord-chip:focus-visible,.ord-track:focus-visible,.ord-login:focus-visible,.ord-cta:focus-visible{
    outline:2px solid #2563eb;outline-offset:2px;
}

@media(min-width:760px){
    .orders-main{padding-top:34px}
    .orders-heading{font-size:28px;padding-bottom:18px}
    .ord-card{padding:20px}
}
@media(max-width:380px){
    .ord-track{flex:1 1 100%}   /* খুব ছোট ফোনে বাটন পুরো প্রস্থে নিচে নামে */
}
@media(prefers-reduced-motion:reduce){
    .sk,.ord-sub::before{animation:none}
    .ord-chip,.ord-track{transition:none}
}


/* =================================================
   FOOTER — প্রফেশনাল লুক + সোশ্যাল বাটন
   (WhatsApp / Telegram / Facebook / YouTube)
   লিংক বদলাতে index.html এর .fs-btn এর href বদলাও।
   রং বদলাতে নিচের --b (ব্র্যান্ড রং) বদলাও।
================================================= */
.site-footer{background:linear-gradient(180deg,#151515 0%,#0c0c0c 100%);border-top:1px solid rgba(255,255,255,.06)}
.site-footer h4{letter-spacing:.01em}

.footer-social{max-width:1100px;margin:0 auto;padding:0 5% 26px}
.fs-wrap{display:flex;align-items:center;justify-content:space-between;gap:18px 32px;padding:20px 24px;
 border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.035)}
.fs-head{flex:0 0 240px}
.fs-head h4{margin-bottom:4px}
.fs-head p{font-size:15px;color:#a7adb8;max-width:none;line-height:1.6}
.fs-list{list-style:none;margin:0;padding:0;flex:1;max-width:720px;
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.site-footer .fs-list li{margin:0}
.fs-btn{--b:#fff;display:flex;align-items:center;gap:9px;min-height:60px;padding:9px 10px;
 border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#fff;
 transition:transform .18s,background .18s,border-color .18s,box-shadow .18s;
 -webkit-tap-highlight-color:transparent}
.fs-ico{flex:none;width:34px;height:34px;border-radius:50%;background:var(--b);color:#fff;
 display:flex;align-items:center;justify-content:center}
.fs-ico svg{width:19px;height:19px;display:block;fill:currentColor}
.fs-txt{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.fs-txt b{font-size:16px;font-weight:600;color:#fff;white-space:nowrap}
.fs-txt small{font-size:13px;color:#a7adb8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fs-btn:active{transform:scale(.97)}
.fs-wa{--b:#25D366}
.fs-tg{--b:#229ED9}
.fs-fb{--b:#1877F2}
.fs-yt{--b:#FF0000}
@media(hover:hover){
 .site-footer a.fs-btn:hover{color:#fff;background:rgba(255,255,255,.09);border-color:var(--b);
  transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.4)}
}
.site-footer a.fs-btn:focus-visible{outline:2px solid var(--b);outline-offset:3px;border-radius:14px}

/* নিচের বার: পুরো প্রস্থে লাইন, ভেতরের লেখা কন্টেইনারের সাথে মিলানো */
.footer-bottom{max-width:none;padding:0;display:block}
.fb-inner{max-width:1100px;margin:0 auto;padding:18px 5%;display:flex;justify-content:space-between;
 align-items:center;gap:8px 24px;flex-wrap:wrap}
.fb-inner p{margin:0}
@media(max-width:420px){.fb-inner{flex-direction:column;align-items:flex-start}}

/* ১৮+ ব্যাজ */
.fb-age{display:inline-block;margin-right:8px;padding:0 6px;border:1px solid rgba(255,255,255,.28);
 border-radius:6px;font-size:13px;font-weight:700;line-height:20px;color:#e3e6eb}

@media(max-width:1060px){
 .fs-wrap{flex-direction:column;align-items:stretch}
 .fs-head{flex:none}
 .fs-list{max-width:none}
}
/* বড় লেখা যেন কেটে না যায়, তাই ৭৬০px এর নিচে ২ কলাম */
@media(max-width:760px){
 .fs-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .footer-social{padding-bottom:22px}
 .fs-wrap{padding:16px 14px;border-radius:16px}
 .fs-btn{gap:8px;padding:9px 10px}
 .fs-ico{width:34px;height:34px}
 .fs-txt b{font-size:15px}
}

/* ছোট ফুটার (প্রোডাক্ট + লিগ্যাল পেজ): গোল আইকন বাটন */
.mini-social{display:flex;justify-content:center;gap:12px;margin:4px 0 16px}
.mini-social a{--b:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
 background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#d5d8de;
 transition:transform .18s,background .18s,border-color .18s,color .18s;-webkit-tap-highlight-color:transparent}
.mini-social svg{width:19px;height:19px;display:block;fill:currentColor}
.mini-social a:active{transform:scale(.94)}
.mini-social .fs-wa{--b:#25D366}
.mini-social .fs-tg{--b:#229ED9}
.mini-social .fs-fb{--b:#1877F2}
.mini-social .fs-yt{--b:#FF0000}
@media(hover:hover){
 .mini-social a:hover{background:var(--b);border-color:var(--b);color:#fff;transform:translateY(-2px)}
}
.mini-social a:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){
 .fs-btn,.mini-social a{transition:none}
 .fs-btn:hover,.mini-social a:hover{transform:none}
}

header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
header > :first-child{justify-self:start}
header .logo{position:static;transform:none;margin:0;justify-self:center}
header .header-right{justify-self:end;margin-left:0}

/* =================================================
   সব পেজে হেডারের সাইজ এক (হোম পেজের হেডারই রেফারেন্স)
   শুধু সাইজ: হেডারের উচ্চতা ও Back/Home বাটনের মাপ।
   (লোগো ও ভাষা টগলের সাইজ আগে থেকেই সব পেজে এক)
   সাইজ বদলাতে চাইলে নিচের 42px / 30px বদলান।
================================================= */
header{height:42px;padding-top:0;padding-bottom:0}
header .back{display:inline-flex;align-items:center;height:30px;padding:0 15px;font-size:14px}

/* =================================================
   হেডার: নিচে স্ক্রল করলে লুকাবে, ওপরে টানলে আবার দেখাবে
================================================= */
header{transition:transform .28s ease;will-change:transform}
header.header-hidden{transform:translateY(-100%)}
@media(prefers-reduced-motion:reduce){header{transition:none}}


/* =================================================
   হোম পেজের পণ্য কার্ড (ফোন/ট্যাবলেট): ক্যাটাগরি, নাম, দাম ও Add to Cart এর মাঝের ফাঁকা কমানো
   আরও কমাতে/বাড়াতে নিচের মানগুলো বদলান।
================================================= */
@media(max-width:899px){
    .products .product .product-info{padding:9px 12px 11px}
    .products .product .product-info .category{line-height:1.15;font-size:10px}
    .products .product .product-info h3{margin:3px 0 0;line-height:1.25}
    .products .product .product-info .price{margin:4px 0 8px;line-height:1.2}
    .products .product .product-info .add-btn{padding:8px 10px}
}


/* =================================================
   CART PAGE (cart.html) – ট্যাব: কার্ট | ফেভারিট
================================================= */
.cp-main{max-width:1180px;margin:0 auto;padding:18px 14px 92px}
.cp-tabs{
    display:flex;gap:6px;max-width:640px;margin:0 auto 18px;
    padding:5px;background:#fff;border:1px solid var(--line);border-radius:999px;
}
.cp-tab{
    flex:1;min-width:0;border:0;background:none;cursor:pointer;
    padding:11px 10px;border-radius:999px;
    font-size:15px;font-weight:600;color:var(--muted);
    display:flex;align-items:center;justify-content:center;gap:5px;
    transition:background .2s,color .2s;-webkit-tap-highlight-color:transparent;
}
.cp-tab.active{background:var(--ink);color:#fff}
.cp-count{font-weight:600;opacity:.85}
.cp-panel[hidden]{display:none}

/* কার্ট: মডালের বক্সটাই পেজে সাধারণ কার্ড হিসেবে বসে */
.cp-cart{max-width:640px;margin:0 auto}
.cp-cart .modal-box.cp-box{
    max-width:none;max-height:none;overflow:visible;
    box-shadow:0 1px 3px rgba(0,0,0,.06);border:1px solid var(--line);
}
.cp-shop-row{max-width:640px;margin:0 auto;text-align:center}
.cp-shop-row[hidden]{display:none}

/* ফেভারিট প্যানেলে আগের .wl-main এর প্যাডিং আর লাগবে না (.cp-main এ আছে) */
.cp-panel .wl-head{margin-top:2px}

@media(min-width:760px){
    .cp-main{padding:30px 5% 100px}
}

/* ফেভারিট কার্ডে "কার্টে যোগ করুন" বাটন — ডাস্টবিনের উপরে
   আরও উপরে/নিচে সরাতে নিচের "+ 14px" বদলাও (বড় সংখ্যা = আরও উপরে; আগে ছিল 6px) */
.wl-actions{position:relative}
.wl-price{padding-right:48px}
.wl-name{padding-right:48px}   /* বাটন উপরে উঠলেও লম্বা নামের লেখার উপর যেন না বসে */
.wl-cart{position:absolute;right:0;bottom:calc(100% + 25px);width:41px;height:41px;display:flex;
    align-items:center;justify-content:center;border:0;background:var(--ink);color:#fff;
    border-radius:50%;cursor:pointer;transition:background .2s,transform .2s;
    -webkit-tap-highlight-color:transparent}
.wl-cart svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;
    stroke-linecap:round;stroke-linejoin:round}
.wl-cart:hover{background:#000}
.wl-cart:active{transform:scale(.92)}
.wl-cart:disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed;transform:none}
.wl-cart:focus-visible{outline:2px solid #25a244;outline-offset:2px}
