
/* css/frontend.css */
/* =========================================================
   YourStore Frontend Design System — কাস্টম CSS, কোনো ফ্রেমওয়ার্ক ছাড়া
   রেসপন্সিভ + স্মুথ অ্যানিমেশন সহ
   ========================================================= */
:root {
    --brand-primary: #111827;
    --brand-secondary: #6574cd;
    --brand-hover: #2779bd;
    --text: #1f2937;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --border: #e5e7eb;
    --success: #16a34a;
    --danger: #dc2626;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    /* ✅ ভাষা রোলআউট Part ৪ বাগফিক্স: আগে এখানে সরাসরি 'Noto Sans Bengali'/
       'Noto Sans Arabic' ফন্ট-নাম হার্ডকোড ছিল, যেন এগুলো সিস্টেমে
       প্রি-ইনস্টল করা আছে ধরে নেওয়া হয়েছিল — কিন্তু কোথাও কোনো
       Google Fonts <link> দিয়ে এগুলো আসলে লোড করা হতো না। বেশিরভাগ
       Windows/Mac মেশিনে এই ফন্ট নেই, তাই ব্রাউজার নীরবে জেনেরিক
       sans-serif এ ফলব্যাক করত। এখন --site-font-family ভ্যারিয়েবল
       ব্যবহার হচ্ছে, যেটা frontend layout-এ বর্তমান ভাষার
       Language::fontFamilyStack() থেকে সেট হয় (আসল <link> লোড সহ)। */
    font-family: var(--site-font-family, 'Segoe UI', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif);
    color: var(--text);
    background: var(--bg-soft);
    font-size: 15px;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---- Flash Messages ---- */
.flash {
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}
.flash--success { background: #dcfce7; color: #166534; }
.flash--error { background: #fee2e2; color: #991b1b; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---- Announcement Bar ---- */
.announcement-bar { text-align: center; padding: 8px; font-size: 13px; }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--border); z-index: 50; }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: var(--shadow); }
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    flex-wrap: wrap;
}
.site-logo { font-size: 22px; font-weight: 800; color: var(--brand-primary); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
.site-search { flex: 1; display: flex; min-width: 200px; max-width: 480px; }
.site-search input {
    flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    outline: none; transition: border-color var(--transition);
}
.site-search input:focus { border-color: var(--brand-primary); }
.site-search button {
    padding: 0 18px; border: none; background: var(--brand-primary); color: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer; transition: background var(--transition);
}
.site-search button:hover { background: var(--brand-hover); }
.site-nav { display: flex; gap: 20px; font-weight: 500; }
.site-nav a { padding: 8px 0; position: relative; transition: color var(--transition); }
.site-nav a:hover { color: var(--brand-secondary); }
.site-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--brand-secondary);
    transition: width var(--transition);
}
.site-nav a:hover::after { width: 100%; }

/* ✅ পর্ব ২১ (নতুন): মেগা-ড্রপডাউন মেনু */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
    background: none; border: none; font: inherit; font-weight: 500; color: inherit;
    padding: 8px 0; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.nav-dropdown__trigger:hover { color: var(--brand-secondary); }
.nav-dropdown__caret { font-size: 10px; transition: transform var(--transition); }
.nav-dropdown.is-open .nav-dropdown__caret { transform: rotate(180deg); }
.nav-dropdown__menu {
    position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff;
    border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 50;
}
/* ডেস্কটপে hover এ খোলে */
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown__menu a { display: block; padding: 9px 16px; white-space: nowrap; }
.nav-dropdown__menu a:hover { background: #f9fafb; color: var(--brand-secondary); }
.nav-dropdown__menu a::after { display: none; } /* সাব-মেনু আইটেমে underline hover effect দরকার নেই */

@media (max-width: 767px) {
    .nav-dropdown__menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 16px; }
    .nav-dropdown.is-open .nav-dropdown__menu { display: block; }
}

.site-header__actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn {
    background: none; border: none; font-size: 18px; cursor: pointer; padding: 8px 10px; border-radius: var(--radius-sm);
    position: relative; transition: background var(--transition), transform var(--transition);
}
.icon-btn:hover { background: var(--bg-soft); transform: translateY(-1px); }
.cart-count {
    position: absolute; top: 0; right: 0; background: var(--danger); color: #fff; border-radius: 50%;
    font-size: 10px; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Hero Slider ---- */
/* ✅ নতুন ডিজাইন, পর্ব ৫: রেফারেন্স ডিজাইনের মতো rounded card + shadow */
/* ✅ পর্ব ২: bottom margin 24px থেকে কমিয়ে 8px — banners-row এর top margin
   কমানোর সাথে মিলিয়ে স্লাইডার ও ব্যানারের মাঝের ফাঁকা জায়গা কমানো হলো */
.hero-slider { position: relative; overflow: hidden; background: var(--bg-soft); border-radius: 16px; box-shadow: 0 14px 36px rgba(15,23,42,.10); margin: 24px 0 8px; }
.hero-slider__track { display: flex; transition: transform 0.5s ease; }
.hero-slider__slide { flex: 0 0 100%; display: none; }
.hero-slider__slide.is-active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-slider__slide img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.hero-slider__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.6); cursor: pointer; }
.hero-slider__dot.is-active { background: #fff; transform: scale(1.3); }

/* ---- Category Strip ---- */
.category-strip { display: flex; gap: 16px; overflow-x: auto; padding: 20px 0; }
.category-chip {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition); min-width: 90px; text-align: center;
}
.category-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-chip img { width: 36px; height: 36px; object-fit: contain; }

/* ---- Section Blocks ---- */
.section-block { margin: 32px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 22px; font-weight: 700; margin: 0; }
/* ✅ নতুন: prev/next স্লাইডার-বাটন ও "সব দেখুন" বাটনের জন্য কন্টেইনার —
   আগে এই ক্লাসগুলোর কোনো CSS-ই ছিল না (শুধু বাটন মার্কআপ ছিল, স্টাইল না) */
.section-header__nav { display: flex; align-items: center; gap: 8px; }
.section-nav-btn {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border, #e2e8f0);
    background: #fff; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; color: #374151; transition: background .15s ease, border-color .15s ease;
}
.section-nav-btn:hover { background: var(--bg-soft, #f8fafc); border-color: var(--brand-primary, #2563eb); color: var(--brand-primary, #2563eb); }
.section-view-all-btn {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 600; color: var(--brand-primary, #2563eb);
    text-decoration: none; padding: 6px 12px; border: 1px solid var(--brand-primary, #2563eb);
    border-radius: 20px; transition: background .15s ease, color .15s ease;
    white-space: nowrap;
}
.section-view-all-btn:hover { background: var(--brand-primary, #2563eb); color: #fff; }

/* ✅ নতুন: ফিচার্ড ক্যাটাগরি স্লাইডার — ছবি+নাম কার্ড, ডেস্কটপে ৬টা ও
   মোবাইলে ৩টা করে দেখাবে, বাকিগুলো পাশে স্ক্রল করে দেখা যাবে */
.featured-category-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 2px;
}
.featured-category-track::-webkit-scrollbar { display: none; }
.featured-category-card {
    /* ✅ ফিক্স: ৬টার বদলে ৮টা কার্ড দেখাবে ডেস্কটপে (ছোট সাইজ) */
    flex: 0 0 calc((100% - 7 * 12px) / 8);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #111827;
}
.featured-category-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* ✅ ফিক্স: গোল (50%) এর বদলে বক্স-আকৃতি (rounded-square), ছোট */
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: border-color .15s ease, transform .15s ease;
}
.featured-category-card:hover .featured-category-card__image {
    border-color: var(--brand-primary, #2563eb);
    transform: translateY(-2px);
}
.featured-category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.featured-category-card__placeholder {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary, #2563eb);
}
.featured-category-card__name {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    /* ✅ ফিক্স: মোবাইলে ৩টার বদলে ৪টা কার্ড দেখাবে */
    .featured-category-card { flex: 0 0 calc((100% - 3 * 8px) / 4); }
    .featured-category-track { gap: 8px; }
}

/* ---- Banners ---- */
/* ✅ পর্ব ২: top margin যোগ করা হলো (8px) যাতে .section-block এর ডিফল্ট
   32px margin-top এর বদলে ছোট গ্যাপ ব্যবহার হয় — স্লাইডার-ব্যানার ফাঁকা কমানোর অংশ */
.banners-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.banner-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition); }
.banner-card:hover { transform: scale(1.01); }

/* ---- Product Grid & Card ---- */
/* ✅ নতুন ডিজাইন, পর্ব ৫: Leaf Life BD রেফারেন্স ডিজাইনের সাথে মিলিয়ে
   restyle করা হয়েছে — কোনো Blade/JS স্ট্রাকচার বদলানো হয়নি (একই ক্লাস
   নাম, একই data-attribute — বাকি JS/টেস্ট অক্ষত থাকে), শুধু ভিজ্যুয়াল। */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    /* ✅ ফিক্স: CSS Grid-এর ডিফল্ট আচরণ (align-items: stretch) প্রতিটা
       গ্রিড-আইটেমকে সেই রো-এর সবচেয়ে লম্বা আইটেমের সমান উচ্চতায় টেনে
       বড় করে দিত — তাই একটা প্রোডাক্টে Reel/Portrait (লম্বা) অনুপাত সেট
       করলে সেই সারির বাকি সব (এমনকি Square/1:1 সেট করা) কার্ডও বড়/ফাঁকা
       হয়ে যেত। align-items: start দিয়ে এখন প্রতিটা কার্ড শুধু নিজের
       কন্টেন্ট অনুযায়ী উচ্চতা নেবে, পাশের কার্ডের অনুপাত যাই থাকুক না কেন। */
    align-items: start;
}
.product-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); position: relative;
    transition: box-shadow var(--transition), transform var(--transition); animation: fadeInUp 0.4s ease;
    /* ✅ ফিক্স: ফ্লেক্স-কলাম — যাতে .product-card__body বাকি উচ্চতা নিতে
       পারে এবং ভেতরের অ্যাকশন বাটনগুলো margin-top:auto দিয়ে সবসময়
       কার্ডের একদম নিচে পিন থাকে (কন্টেন্ট ছোট/বড় যাই হোক) */
    display: flex;
    flex-direction: column;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* ✅ Part ১৪ (ডিফল্ট থিম পলিশ): শুধু ছায়া বদলানোর বদলে হালকা lift+scale —
   এটাই এখন frontend.css এর নিজস্ব ("ডিফল্ট থিম") আইডেন্টিটির অংশ; অন্য
   থিমগুলো এই নিয়ম নিজেদের theme-*.css এ override করে ভিন্ন hover আচরণ
   দেয় (যেমন Fashion-এ ছবি-জুম, Grocery-তে bounce), তাই এখানে বদলালেও
   ওগুলো ভাঙবে না। */
.product-card:hover { box-shadow: 0 14px 32px rgba(0,0,0,.14); transform: translateY(-4px); }
.product-card__image {
    display: flex; align-items: center; justify-content: center; position: relative;
    aspect-ratio: 1/1; overflow: hidden; background: #fff; padding: 12px;
}
/* ✅ নতুন: অ্যাডমিন-নির্ধারিত aspect-ratio ভ্যারিয়েন্ট — ডিফল্ট 1/1 (square)
   এর উপরে ওভাররাইড করে। "reel"/"portrait" এ object-fit:cover ব্যবহার হয়
   (contain দিলে লম্বা ফ্রেমে ছোট ছবি মাঝখানে দ্বীপের মতো দেখাত) */
.product-card__image--square { aspect-ratio: 1/1; }
.product-card__image--portrait { aspect-ratio: 4/5; }
.product-card__image--reel { aspect-ratio: 9/16; }
.product-card__image--landscape { aspect-ratio: 16/9; }
.product-card__image--portrait img,
.product-card__image--reel img { object-fit: cover; }
.product-card__image--portrait,
.product-card__image--reel { padding: 0; }
/* ✅ object-contain — প্রোডাক্ট (বোতল/বক্স) সম্পূর্ণ দেখাবে, ক্রপ হবে না
   (রেফারেন্স ডিজাইনে এই প্যাটার্নই ব্যবহৃত, আগে object-fit:cover ছিল যা
   হেলথ/সাপ্লিমেন্ট প্রোডাক্টের ছবি ক্রপ করে ফেলত) */
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__badge {
    position: absolute; top: 10px; left: 10px; background: var(--danger); color: #fff; font-size: 11px;
    padding: 4px 10px; border-radius: 4px; font-weight: 600;
}
.product-card__wishlist {
    position: absolute; top: 10px; right: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); border: none;
    border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 16px; transition: all var(--transition);
    opacity: 0; visibility: hidden;
}
.product-card:hover .product-card__wishlist { opacity: 1; visibility: visible; }
.product-card__wishlist:hover { background: var(--brand-secondary, #16a34a); color: #fff; }
/* ✅ ফিক্স: কার্ডকে ফ্লেক্স-কলাম করা হলো যাতে বডি বাকি জায়গা নেয় এবং
   অ্যাকশন বাটনগুলো সবসময় একদম নিচে (বটমে) পিন থাকে — আগে প্রোডাক্টের
   নাম ছোট/বড় হলে বাটনও উপরে-নিচে সরে যেত, পাশাপাশি কার্ডে অসমান দেখাত */
.product-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__name {
    display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text, #374151);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--transition);
}
.product-card__name:hover { color: var(--brand-secondary, #16a34a); }
/* ✅ ফিক্স: প্রাইস এখন এক লাইনেই থাকবে — আগে মোবাইলে জায়গা কম হলে
   পুরনো দাম (price-old) পরের লাইনে ভেঙে গিয়ে এলোমেলো দেখাত।
   flex + nowrap + auto margin দিয়ে বাটনগুলোকে বটমে ঠেলে দেওয়া হয়। */
.product-card__price {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
}
.price-now { font-size: 16px; font-weight: 700; color: var(--danger); white-space: nowrap; }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; white-space: nowrap; }
/* ✅ margin-top:auto — বাটনগুলো কার্ডের একদম নিচে চলে যাবে */
.product-card__actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.product-card__actions > * { flex: 1; text-align: center; }
.badge-outofstock { display: inline-block; background: #fee2e2; color: var(--danger); font-size: 12px; padding: 4px 10px; border-radius: 6px; }

/* ---- Buttons (shared) ---- */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-align: center;
}
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #eef2f7; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--brand-primary); }
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { display: block; width: 100%; margin-bottom: 10px; }
.btn-icon-danger { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 16px; }

/* ---- Cart Drawer ---- */
/* ✅ পর্ব ২ (বাগ ফিক্স): z-index 100 → 1200। কারণ: leaflife-header.css এর
   .mainbar.is-sticky এর z-index 1000, তাই স্টিকি হেডার সবসময় ড্রয়ারের
   উপরে চলে আসত। 1200 করায় হেডার/dropdown/mobile-menu (সর্বোচ্চ 1100)
   সবকিছুর উপরেই ড্রয়ার দেখাবে। */
.cart-drawer {
    position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; background: #fff;
    box-shadow: var(--shadow-lg); z-index: 1200; display: flex; flex-direction: column; transition: right var(--transition);
}
.cart-drawer.is-open { right: 0; }
.cart-drawer__header { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-bottom: 1px solid var(--border); }
.cart-drawer__header button { background: none; border: none; font-size: 18px; cursor: pointer; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 12px 18px; }
.cart-drawer-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bg-soft); }
.cart-drawer-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-drawer-item__info { flex: 1; }
.cart-drawer-item__name { font-size: 13px; font-weight: 600; margin: 0; }
.cart-drawer-item__price { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }
.cart-drawer-item__remove { background: none; border: none; color: var(--danger); cursor: pointer; }
.cart-drawer__footer { padding: 16px 18px; border-top: 1px solid var(--border); }
.cart-drawer__total { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
.cart-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1190; opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
}
.cart-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---- Footer ---- */
/* ✅ নতুন ডিজাইন, পর্ব ৬: রেফারেন্স ডিজাইনের মতো ফিক্সড ডার্ক-নিউট্রাল
   ব্যাকগ্রাউন্ড (ব্র্যান্ড কালারের ওপর নির্ভর না করে) — বেশিরভাগ
   ই-কমার্স সাইটের প্রফেশনাল কনভেনশন, brand color বদলালেও ফুটার একই
   থাকবে, শুধু হোভার-কালার ব্র্যান্ড সেকেন্ডারি (সবুজ) ব্যবহার করে */
.site-footer { background: #111827; color: #d1d5db; margin-top: 60px; padding: 40px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-weight: 700; }
.footer-col a { display: block; margin-bottom: 6px; color: #9ca3af; transition: color var(--transition); }
.footer-col a:hover { color: var(--brand-secondary, #16a34a); }
.site-footer__bottom { text-align: center; padding: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
.site-footer__bottom a { color: #9ca3af; }
.site-footer__bottom a:hover { color: var(--brand-secondary, #16a34a); }

/* ---- Product Detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 20px; }
/* ✅ পর্ব ৬: object-contain — পর্ব ৫-এর প্রোডাক্ট-কার্ড ফিক্সের মতোই,
   মূল গ্যালারি ছবিতেও বোতল/বক্স ক্রপ হওয়া বন্ধ */
.product-gallery__main img { border-radius: var(--radius); width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.thumb.is-active { border-color: var(--brand-primary); }
.product-brand { color: var(--text-muted); }
.product-rating { color: #f59e0b; font-weight: 600; }
.product-price-box { margin: 16px 0; }
.product-price-box .price-now { font-size: 28px; }
.attribute-group { margin-bottom: 16px; }
.attribute-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.attribute-options { display: flex; gap: 8px; flex-wrap: wrap; }
.attribute-option {
    padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff;
    cursor: pointer; font-size: 13px; transition: all var(--transition);
}
.attribute-option.is-selected { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }
.quantity-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-stepper button { width: 36px; height: 36px; border: none; background: var(--bg-soft); cursor: pointer; font-size: 16px; }
.qty-stepper input { width: 50px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 36px; }
.price-breakdown { color: var(--text-muted); font-size: 14px; min-height: 20px; }
.product-actions { display: flex; gap: 12px; margin: 20px 0; }
.product-meta-actions { display: flex; gap: 16px; margin: 16px 0; flex-wrap: wrap; }
.meta-action { font-size: 13px; padding: 8px 14px; background: var(--bg-soft); border-radius: var(--radius-sm); border:none; cursor:pointer; }
.shipping-note { color: var(--success); font-weight: 600; }

/* ---- Tabs ---- */
.tabs-header { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-btn { padding: 12px 20px; background: none; border: none; cursor: pointer; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); }
.tab-btn.is-active { color: var(--brand-primary); border-color: var(--brand-primary); }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.is-active { display: block; }
.review-item { padding: 14px 0; border-bottom: 1px solid var(--bg-soft); }

/* ---- Cart Page ---- */
.cart-page { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid var(--border); text-align: left; }
.cart-table__product { display: flex; align-items: center; gap: 10px; }
.cart-table__product img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.qty-form input { width: 60px; padding: 6px; border: 1px solid var(--border); border-radius: 6px; }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); height: fit-content; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 14px; }
.empty-state { text-align: center; padding: 60px 20px; }

/* ---- Checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.form-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
.form-card label { display: block; font-weight: 600; margin: 10px 0 6px; font-size: 13px; }
.form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px;
}
.checkout-summary { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.checkout-summary__item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; color: var(--text-muted); }
.checkout-summary__row { display: flex; justify-content: space-between; margin: 8px 0; }
.checkout-summary__row.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 12px; }

/* ---- Success Page ---- */
.success-page { text-align: center; padding: 60px 20px; }
.success-icon { font-size: 56px; animation: fadeInUp 0.5s ease; }

/* ---- Quick Checkout ---- */
.quick-checkout-product { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.quick-checkout-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }

/* =========================================================
   RTL সাপোর্ট (সেকশন ৩৪.২) — আরবির জন্য
   ========================================================= */
/* ✅ ভাষা রোলআউট Part ৪: আলাদা হার্ডকোড RTL ফন্ট-ওভাররাইড সরানো হয়েছে —
   body-এর --site-font-family ভ্যারিয়েবলই এখন ভাষা-নির্দিষ্ট, RTL ভাষার
   (আরবি) জন্য অ্যাডমিন সেই ভাষাতেই উপযুক্ত ফন্ট বেছে নেবেন। */
[dir="rtl"] .site-header__inner { flex-direction: row-reverse; }
[dir="rtl"] .site-nav { flex-direction: row-reverse; }
[dir="rtl"] .site-header__actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cart-count { right: auto; left: 0; }
[dir="rtl"] .cart-drawer { right: auto; left: -420px; }
[dir="rtl"] .cart-drawer.is-open { left: 0; right: auto; }
[dir="rtl"] .product-card__badge { left: auto; right: 10px; }
[dir="rtl"] .product-card__wishlist { right: auto; left: 10px; }
[dir="rtl"] .price-old { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .site-search input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
[dir="rtl"] .site-search button { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
[dir="rtl"] .thumb.is-active { border-color: var(--brand-primary); }
[dir="rtl"] .qty-stepper input { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
[dir="rtl"] .account-sidebar { text-align: right; }
[dir="rtl"] .site-nav a::after { left: auto; right: 0; }

/* ---- GDPR Cookie Consent ---- */
.cookie-consent-banner {
    position: fixed; bottom: 0; left: 0; right: 0; background: #111827; color: #fff; padding: 16px 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; z-index: 200; flex-wrap: wrap;
    animation: slideDown 0.4s ease;
}
.cookie-consent-banner a { color: #93c5fd; text-decoration: underline; }
.cookie-consent-banner p { margin: 0; font-size: 13px; flex: 1; min-width: 200px; }

/* ---- Static Page ---- */
.static-page { padding: 32px 20px; max-width: 800px; }

/* =========================================================
   ✅ Part ১৫: About/Contact পেজ-টেমপ্লেট স্টাইল
   ========================================================= */
.about-page__hero {
    background: var(--bg-soft); padding: 56px 20px; text-align: center; margin-bottom: 40px;
}
.about-page__hero h1 { font-size: 34px; margin: 0; }
.about-page__body { max-width: 760px; padding-bottom: 48px; }
.about-page__prose { font-size: 16px; line-height: 1.8; }
.about-page__prose p { margin: 0 0 16px; }
.about-page__stats {
    display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.about-page__stat { text-align: center; flex: 1; min-width: 140px; }
.about-page__stat strong { display: block; font-size: 28px; color: var(--brand-primary); }
.about-page__stat span { font-size: 13px; color: var(--text-muted); }

.contact-page { padding: 32px 20px 56px; }
.contact-page h1 { margin-bottom: 24px; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-page__intro { margin-bottom: 20px; line-height: 1.7; }
.contact-page__card {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px;
}
.contact-page__icon { font-size: 22px; line-height: 1; }
.contact-page__card strong { display: block; margin-bottom: 4px; font-size: 14px; }
.contact-page__card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.contact-page__card a { color: inherit; text-decoration: none; }
.contact-page__form-wrap { background: var(--bg-soft); padding: 24px; border-radius: var(--radius); }
.contact-page__form-wrap h3 { margin-top: 0; }
#contactPageForm input, #contactPageForm textarea {
    width: 100%; padding: 11px 12px; margin-bottom: 12px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
}
#contactPageForm button {
    background: var(--brand-primary); color: #fff; border: none; padding: 12px 24px;
    border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
}
#contactPageForm button:hover { background: var(--brand-hover); }
#contactPageForm button:disabled { opacity: .6; cursor: not-allowed; }
.contact-page__status { margin: 10px 0 0; font-size: 13px; }

@media (max-width: 768px) {
    .contact-page__grid { grid-template-columns: 1fr; }
}

/* ---- Search / Filters ---- */
.search-page { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 20px; }
.search-filters { background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.search-filters h4 { font-size: 12px; text-transform: uppercase; color: var(--text-muted); margin: 14px 0 6px; }
.search-filters h4:first-child { margin-top: 0; }
.search-filters select, .search-filters input { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 6px; }
@media (max-width: 900px) { .search-page { grid-template-columns: 1fr; } }

/* ---- Account ---- */
.account-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.account-kpi { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.account-kpi span { display: block; font-size: 28px; font-weight: 700; color: var(--brand-primary); }
.account-kpi label { color: var(--text-muted); font-size: 13px; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.account-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column; height: fit-content; }
.account-sidebar a { padding: 12px 14px; border-radius: var(--radius-sm); transition: background var(--transition); }
.account-sidebar a:hover, .account-sidebar a.is-active { background: var(--bg-soft); font-weight: 600; }
.account-sidebar__logout { background: none; border: none; text-align: left; padding: 12px 14px; color: var(--danger); cursor: pointer; font-size: 14px; }
.account-content { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } .account-kpi-grid { grid-template-columns: 1fr; } }

/* ---- Order Timeline ---- */
.order-timeline { display: flex; justify-content: space-between; margin: 20px 0; position: relative; }
.order-timeline::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; position: relative; z-index: 1; flex: 1; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border); }
.timeline-step.is-done .timeline-dot { background: var(--success); }
.timeline-step.is-done { color: var(--success); font-weight: 600; }

/* ---- State messages ---- */
.state-message { color: var(--text-muted); font-size: 14px; }

/* =========================================================
   রেসপন্সিভ — মোবাইল ফার্স্ট ব্রেকপয়েন্ট
   ========================================================= */
@media (max-width: 900px) {
    .product-detail, .cart-page, .checkout-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; order: -1; }
    .site-nav {
        display: none; flex-direction: column; width: 100%; order: 10; gap: 0;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .site-search { order: 5; flex-basis: 100%; }
    .banners-row { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    /* ✅ ফিক্স: মোবাইলে ২-কলাম গ্রিডে জায়গা কম, তাই দাম একটু ছোট করে
       দেওয়া হলো — এতে দাম + কাটা-দাম এক লাইনেই আরামে ধরে যায় (আগে
       বড় ফন্টে জায়গা না হয়ে ভেঙে/এলোমেলো হয়ে যেত) */
    .price-now { font-size: 14px; }
    .price-old { font-size: 11px; }
    .product-card__body { padding: 10px 10px 12px; }
    .cart-drawer { width: 100%; max-width: 100vw; }

    /* ✅ Part ১৪: বটম-ন্যাভ দেখা যাচ্ছে বলে পেজের নিচের কন্টেন্ট (বিশেষত
       ফুটার) যাতে এর পেছনে ঢাকা না পড়ে, body-তে যথেষ্ট bottom-padding */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   ✅ Part ১৪: মোবাইল বটম-ন্যাভবার — সব থিমেই একইভাবে কাজ করে
   (থিম-নির্দিষ্ট CSS ফাইলে না, এখানে বেস স্টাইলে — কারণ এটা একটা
   লেআউট-ফিচার, ভিজ্যুয়াল-আইডেন্টিটি না)। শুধু মোবাইলে (≤768px)
   দেখা যায়, ডেস্কটপে সম্পূর্ণ লুকানো।
   ========================================================= */
.bottom-nav {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15,23,42,.08);
    /* ✅ iPhone-এর হোম-ইন্ডিকেটর বার/নচ যাতে আইকনের ওপর না বসে */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 768px) {
    .bottom-nav { display: flex; align-items: stretch; justify-content: space-around; }
}
.bottom-nav__item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    padding: 8px 4px 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10.5px;
    background: none; border: none; cursor: pointer; font-family: inherit;
    transition: color var(--transition);
}
.bottom-nav__item.is-active { color: var(--brand-primary); }
.bottom-nav__item:active { opacity: .7; }

/* ✅ কার্ট আইকনটাই কেন্দ্রে সামান্য উঁচু করে "elevated" দেখানো —
   মোবাইল কমার্স অ্যাপের পরিচিত প্যাটার্ন, চোখ প্রথমে এখানেই পড়ে */
.bottom-nav__item--cart { color: var(--text-muted); }
.bottom-nav__cart-circle {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    margin-top: -18px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.bottom-nav__item--cart.is-active .bottom-nav__cart-circle,
.bottom-nav__cart-circle:hover { background: var(--brand-hover); }
.bottom-nav__cart-count {
    position: absolute; top: -4px; right: -4px;
    background: #dc2626; color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px; line-height: 1;
}

[dir="rtl"] .bottom-nav { direction: rtl; }


/* css/leaflife-header.css */
/* ✅ নতুন ডিজাইন, পর্ব ৪: হেডার — Leaf Life BD ভিজ্যুয়াল স্টাইল রেপ্লিকেট
   করা হয়েছে, কিন্তু হাতে-লেখা CSS দিয়ে (কোনো Tailwind ইউটিলিটি ক্লাস বা
   Bootstrap CSS নেই) — "১০০% পারফরম্যান্স" লক্ষ্যের জন্য।

   সব কালার/সাইজ CSS ভ্যারিয়েবল হিসেবে আসে (header.blade.php-এর ইনলাইন
   <style> ব্লক থেকে, অ্যাডমিন Header Management সেটিংস অনুযায়ী)। */

.announcement-bar {
    background: var(--header-announcement-bg, #006134);
    color: var(--header-announcement-text, #ffffff);
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
}

.mainbar {
    background: var(--header-bg, #ffffff);
    height: var(--header-height-desktop, 80px);
    display: flex;
    align-items: center;
}
.mainbar.is-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.mainbar.has-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.mainbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ---- লোগো ---- */
.mainbar__logo { display: flex; align-items: center; }
.mainbar__logo--left { justify-content: flex-start; }
.mainbar__logo--center { justify-content: center; margin: 0 auto; }
.mainbar__logo--right { justify-content: flex-end; }
.mainbar__logo img { display: block; height: auto; }

/* ---- সার্চ বার ---- */
.header-search { flex: 1; max-width: 480px; }
.header-search form { position: relative; }
.header-search input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border: none;
    border-radius: 8px;
    background: var(--header-search-bg, #f5f5f5);
    color: var(--header-search-text, #000000);
    font-size: 14px;
}
.header-search input::placeholder { color: var(--header-search-text, #000000); opacity: .65; }
.header-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--header-menu-btn-bg, #111827);
}

/* ---- ডান-পাশের অ্যাকশন আইকন ---- */
.mainbar__actions { display: flex; align-items: center; gap: 18px; }
.mainbar__actions a, .mainbar__actions button {
    background: none; border: none; cursor: pointer;
    color: var(--header-menu-text, #333333);
    display: inline-flex; align-items: center; position: relative; text-decoration: none;
    font-size: 14px;
}
/* ✅ ফিক্স: mainbar__cat-btn সরানো হয়েছে — "All Categories" এখন
   মেনুবার ড্রপডাউনে (দেখুন .menu-item-dropdown--categories) */
.mainbar__cart-count {
    position: absolute; top: -8px; right: -8px;
    background: #fbbf24; color: #111827;
    font-size: 11px; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mainbar__whatsapp-btn {
    background: #25d366 !important; color: #fff !important;
    padding: 8px 14px; border-radius: 6px; font-size: 13px;
}

/* ---- মেনু বার ---- */
/* বটম বার নিজস্ব কালার ভ্যারিয়েবল ব্যবহার করে (হেডার বিল্ডারে আলাদা
   কনফিগারযোগ্য)। ফলব্যাক হিসেবে মিডল বারের রঙ, যাতে ভ্যারিয়েবল সেট না
   থাকলেও চেহারা আগের মতোই থাকে। */
.menubar {
    background: var(--menubar-bg, var(--header-bg, #ffffff));
    border-top: 1px solid var(--menubar-border, #eee);
}
.menubar .menu-link {
    color: var(--menubar-text, var(--header-menu-text, #333333));
}
.menubar .menu-link:hover {
    background: var(--menubar-hover-bg, #f5f5f5);
}
.menubar__inner {
    max-width: 1280px; margin: 0 auto; padding: 0 20px;
    display: flex; gap: 26px;
}
.menubar--align-left { justify-content: flex-start; }
.menubar--align-center { justify-content: center; }
.menubar--align-right { justify-content: flex-end; }

.menu-link {
    position: relative;
    padding: 12px 0;
    color: var(--header-menu-text, #333333);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.menu-link:hover, .menu-link.is-active { color: var(--header-active-color, #007bff); }
.menu-link.is-active.show-indicator::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--header-active-color, #007bff);
}

.menu-item-dropdown { position: relative; }
.menu-item-dropdown__panel {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    background: var(--header-dropdown-bg, #fff);
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 60;
}
.menu-item-dropdown:hover .menu-item-dropdown__panel,
.menu-item-dropdown:focus-within .menu-item-dropdown__panel {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.menu-item-dropdown__panel a {
    display: block; padding: 9px 16px;
    color: var(--header-dropdown-text, #333333);
    text-decoration: none; font-size: 14px; white-space: nowrap;
}
.menu-item-dropdown__panel a:hover { background: var(--header-dropdown-hover, #f5f5f5); }

/* ✅ ফিক্স: "All Categories" ড্রপডাউন — একটু চওড়া প্যানেল, সাব-ক্যাটাগরি
   থাকলে হোভারে পাশে ফ্লাইআউট সাবমেনু */
.menu-item-dropdown__panel--categories { min-width: 220px; max-height: 420px; overflow-y: auto; }
.category-dropdown-item { position: relative; }
.category-dropdown-item.has-sub > a::after { content: '›'; float: right; margin-right: 12px; }
.category-dropdown-item__sub {
    position: absolute; top: 0; left: 100%; min-width: 200px;
    background: var(--header-dropdown-bg, #fff);
    border: 1px solid #eee; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateX(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.category-dropdown-item.has-sub:hover .category-dropdown-item__sub,
.category-dropdown-item.has-sub:focus-within .category-dropdown-item__sub {
    opacity: 1; visibility: visible; transform: translateX(0);
}
.category-dropdown-item__sub a { display: block; padding: 9px 16px; color: var(--header-dropdown-text, #333); text-decoration: none; font-size: 13px; white-space: nowrap; }
.category-dropdown-item__sub a:hover { background: var(--header-dropdown-hover, #f5f5f5); }

@media (max-width: 991px) {
    /* মোবাইলে ফ্লাইআউট সাবমেনু জটিল — সরাসরি নিচে stack করে দেখানো ভালো */
    .category-dropdown-item__sub { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 16px; }
    .category-dropdown-item.has-sub:hover .category-dropdown-item__sub { display: block; }
}

/* ---- মোবাইল স্ট্রিপ ---- */
.mainbar__mobile-strip { display: none; width: 100%; align-items: center; justify-content: space-between; padding: 10px 16px; }
.mainbar__mobile-menu-btn, .mainbar__mobile-cart-btn { background: none; border: none; color: var(--header-menu-text, #333); }

@media (max-width: 991px) {
    .mainbar__inner { display: none; }
    .mainbar__mobile-strip { display: flex; }
    .menubar { display: none; } /* মোবাইলে drawer এ চলে যায় */
}

/* ---- মোবাইল মেনু ড্রয়ার (বিদ্যমান সাইট-ওয়াইড অফক্যানভাস প্যাটার্ন পুনর্ব্যবহার) ---- */
.mobile-menu-drawer {
    position: fixed; top: 0; left: -300px; width: 280px; height: 100%;
    background: #fff; z-index: 1100; transition: left .25s ease;
    overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.mobile-menu-drawer.is-open { left: 0; }
.mobile-menu-drawer__header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #eee; }
.mobile-menu-drawer nav a { display: block; padding: 12px 16px; color: #333; text-decoration: none; border-bottom: 1px solid #f5f5f5; }
.mobile-menu-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1090;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.mobile-menu-drawer-overlay.is-open { opacity: 1; visibility: visible; }


/* css/asteera-theme.css */
/* =====================================================================
   asteera.com ডিজাইন সিস্টেম — v3.1
   ---------------------------------------------------------------------
   মানগুলো আন্দাজ নয়: asteera-র আসল কম্পাইল করা CSS
   (_next/static/chunks/*.css, ৩১৭ KB) থেকে সরাসরি তোলা।

   ⚠️ দুটো নিয়ম মনে রাখবেন:
   ১) কোথাও `padding` shorthand নেই যেখানে কন্টেইনারের padding-inline
      (16/32/64/112px) কাজ করা দরকার — shorthand দিলে সেটা বাতিল হয়।
   ২) frontend.css এ কিছু হার্ডকোড রঙ আছে (যেমন .site-footer এ #111827)।
      এই ফাইল পরে লোড হলেও সমান specificity তে ভরসা না করে সেখানে
      সরাসরি !important দেওয়া হয়েছে।

   বিভাগ:
     ০. টোকেন + কন্টেইনার      ৭. বাটন ও ফর্ম
     ১. টপবার + মারকিউ          ৮. লিস্ট / কার্ট / চেকআউট
     ২. হেডার                   ৯. ফুটার (asteera ৩-কলাম)
     ৩. সেকশন শিরোনাম          ১০. All Departments সাইডবার
     ৪. প্রোডাক্ট কার্ড         ১১. ডার্ক মোড (পূর্ণ সাইট)
     ৫. Browse Categories
     ৬. হিরো + ব্যানার
   ===================================================================== */

/* =====================================================================
   ০. টোকেন + কন্টেইনার
   ===================================================================== */
:root {
    /* ---- asteera-র :root থেকে হুবহু ---- */
    --primary: #ef5525;
    --primary-hover: #c63900;
    --secondary: #382483;
    --accent: #ef5525;
    --background: #faf8f7;
    --foreground: #0f1216;
    --card-bg: #fefdfd;
    --card: #fefdfd;
    --muted: #f7f0ee;
    --muted-foreground: #64748b;
    --border: #eae7e6;
    --utility-bg: #fcfcfc;
    --utility-border: #dedede;
    --date-badge-bg: #222;
    --star-color: #f5af00;
    --success-color: #2ac45c;
    --error-color: #ff2d39;
    --whatsapp: #25d366;

    /* ---- ফন্ট স্ট্যাক ---- */
    --font-main: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
    --font-title: 'Outfit', 'Hind Siliguri', sans-serif;
    --font-tenor: 'Tenor Sans', serif;
    --font-script: 'Mrs Saint Delafield', cursive;
    --font-hind: 'Hind Siliguri', sans-serif;

    /* ---- লেআউট: asteera ফ্লুইড কন্টেইনার (বক্সড নয়) ---- */
    --ast-container: 100%;
    --ast-radius: 8px;
    --ast-radius-lg: 12px;
    --ast-radius-pill: 999px;

    /* পুরনো নামগুলো v1 থেকে — আগের কোনো নিয়ম যেন ভেঙে না যায় */
    --ast-primary: var(--primary);
    --ast-primary-dark: var(--primary-hover);
    --ast-primary-soft: var(--muted);
    --ast-ink: var(--foreground);
    --ast-body: var(--foreground);
    --ast-muted: var(--muted-foreground);
    --ast-line: var(--border);
    --ast-surface: var(--card);
    --ast-bg: var(--background);
    --ast-danger: var(--error-color);
    --ast-radius-sm: 6px;
    --ast-shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --ast-shadow: 0 4px 6px -1px #0000001a;
    --ast-shadow-lg: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;

    /* frontend.css এর নিজস্ব টোকেনগুলোও মিলিয়ে দেওয়া হলো, যাতে ডার্ক মোড
       এক জায়গা থেকেই পুরো সাইটে প্রয়োগ হয় */
    --bg: var(--background);
    --bg-soft: var(--muted);
    --text: var(--foreground);
    --text-muted: var(--muted-foreground);
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--site-font-family, var(--font-main));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); color: var(--foreground); }

/* asteera: ফ্লুইড কন্টেইনার, ব্রেকপয়েন্ট অনুযায়ী পাশের ফাঁক বাড়ে */
.container {
    max-width: var(--ast-container);
    margin-inline: auto;
    padding-inline: 16px;
    width: 100%;
}
/* ✅ দুই পাশের ফাঁকা জায়গা খুব অল্প — আগে ডেস্কটপে ১১২px ছিল */
@media (min-width: 768px)  { .container { padding-inline: 16px; } }
@media (min-width: 1024px) { .container { padding-inline: 20px; } }
@media (min-width: 1280px) { .container { padding-inline: 24px; } }

/* হেডার/ফুটারের ভেতরের র‍্যাপারগুলোও একই ফাঁক পাবে */
.ast-topbar__inner,
.mainbar__inner,
.menubar__inner {
    max-width: var(--ast-container);
    margin-inline: auto;
    width: 100%;
    padding-inline: 16px;
}
@media (min-width: 768px)  { .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 16px; } }
@media (min-width: 1024px) { .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 20px; } }
@media (min-width: 1280px) { .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 24px; } }

/* =====================================================================
   ১. টপবার / অ্যানাউন্সমেন্ট + মারকিউ
   ===================================================================== */
.announcement-bar {
    background: var(--card);
    color: var(--error-color);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-hind);
    font-size: 13px; font-weight: 600;
    padding-block: 8px;
    overflow: hidden;
}
/* মারকিউ: একটাই কপি, ডান থেকে বাঁয়ে */
.announcement-bar__track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ast-marquee 14s linear infinite;
    will-change: transform;
}
.announcement-bar:hover .announcement-bar__track { animation-play-state: paused; }
@keyframes ast-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.ast-topbar { background: var(--card); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground); }
.ast-topbar__inner { padding-block: 6px; display: flex; align-items: center; gap: 12px; }
/* asteera-র `.today-date` রুল হুবহু */
.ast-topbar__date {
    white-space: nowrap;
    background-color: var(--date-badge-bg);
    color: #fff;
    border-radius: 4px;
    padding-block: 4px; padding-inline: 10px;
    font-size: 11px; font-weight: 600;
}
.ast-topbar__spacer { flex: 1; }
.ast-topbar__links { display: flex; align-items: center; }
.ast-topbar__links > * { padding-inline: 12px; border-left: 1px solid var(--border); }
.ast-topbar__links > *:first-child { border-left: 0; }
.ast-topbar a { color: var(--muted-foreground); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.ast-topbar a:hover { color: var(--primary); }
@media (max-width: 991px) { .ast-topbar { display: none; } }

/* =====================================================================
   ২. হেডার
   ===================================================================== */
.mainbar { background: var(--card); border-bottom: 0; box-shadow: none; }
.mainbar__inner { padding-block: 14px; display: flex; align-items: center; gap: 24px; }

/* লোগো — ব্যাকগ্রাউন্ড ট্রান্সপারেন্ট + ধীর পালস অ্যানিমেশন */
.mainbar__logo img,
.mainbar__logo--center-mobile img,
.mainbar__mobile-strip .mainbar__logo img {
    background: transparent;
    animation: ast-logo-pulse 4.5s ease-in-out infinite;
    will-change: opacity;
}
@keyframes ast-logo-pulse {
    0%   { opacity: .15; }
    50%  { opacity: 1; }
    100% { opacity: .15; }
}
@media (prefers-reduced-motion: reduce) {
    .mainbar__logo img,
    .mainbar__logo--center-mobile img,
    .mainbar__mobile-strip .mainbar__logo img { animation: none; opacity: 1; }
}

/* সার্চ বক্স — হেডারের মাঝখানে */
.header-search {
    flex: 0 1 700px;
    max-width: 700px;
    margin-inline: auto;
    position: relative;
}
.header-search form {
    display: flex; align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--ast-radius);
    overflow: hidden; background: var(--card);
}
.header-search form:focus-within { border-color: var(--primary); }
.header-search input[type="text"] { flex: 1; border: 0; outline: 0; padding-block: 12px; padding-inline: 16px; font-size: 14px; background: transparent; color: var(--foreground); min-width: 0; }
.header-search input::placeholder { color: var(--muted-foreground); }
.ast-search__category { border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--foreground); font-size: 13.5px; padding-inline: 14px; outline: 0; cursor: pointer; max-width: 190px; }
/* ⭐ header.blade.php এর ইনলাইন CSS এই বাটনকে position:absolute করে —
   তাই এখানে জোর করে স্বাভাবিক বক্স-বাটন বানানো হচ্ছে */
.mainbar .header-search button[type="submit"],
.header-search button[type="submit"] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    border: 0; background: var(--primary); color: #fff;
    padding-inline: 24px; cursor: pointer;
    display: grid; place-items: center;
    border-radius: 0;
}
.header-search button[type="submit"]:hover { background: var(--primary-hover); }
.header-search button[type="submit"] svg { width: 20px; height: 20px; }

.mainbar__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.mainbar__action-item { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--foreground); font-size: 13px; text-decoration: none; position: relative; padding: 4px; }
.mainbar__action-item:hover { color: var(--primary); }
.mainbar__action-item svg { width: 24px; height: 24px; stroke-width: 1.5; }
.mainbar__actions .mainbar__action-item > span:not(.mainbar__cart-count) { display: none; }
.mainbar__cart-count {
    position: absolute; top: -5px; right: -7px;
    min-width: 18px; height: 18px; padding-inline: 5px;
    border-radius: var(--ast-radius-pill);
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 700;
    display: grid; place-items: center;
}
.ast-account { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--foreground); }
.ast-account__icon { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--ast-radius-pill); display: grid; place-items: center; color: var(--muted-foreground); }
.ast-account__text { line-height: 1.3; }
.ast-account__hello { display: block; font-size: 12px; color: var(--muted-foreground); }
.ast-account__name { display: block; font-size: 13.5px; font-weight: 600; }
.ast-theme-toggle { background: none; border: 0; cursor: pointer; color: var(--muted-foreground); padding: 4px; display: grid; place-items: center; }
.ast-theme-toggle:hover { color: var(--primary); }
.ast-theme-toggle__sun { display: none; }
html[data-theme="dark"] .ast-theme-toggle__moon,
:root[data-theme="dark"] .ast-theme-toggle__moon { display: none; }
html[data-theme="dark"] .ast-theme-toggle__sun,
:root[data-theme="dark"] .ast-theme-toggle__sun { display: block; }

/* মেনুবার — বাঁয়ে কমলা Categories বাটন, ডানে হটলাইন */
.menubar { background: var(--card); border-bottom: 1px solid var(--border); }
.menubar__inner { padding-block: 0; display: flex; align-items: stretch; gap: 4px; min-height: 52px; }
.menubar .menu-link { display: inline-flex; align-items: center; gap: 6px; padding-inline: 16px; font-size: 14.5px; font-weight: 500; color: var(--foreground); text-decoration: none; position: relative; }
.menubar .menu-link:hover { color: var(--primary); }
.menu-item-dropdown--categories { display: flex; align-items: stretch; }
.menu-item-dropdown--categories > .menu-link {
    background: var(--primary);
    border-radius: var(--ast-radius) var(--ast-radius) 0 0;
    padding-inline: 20px; font-weight: 600; min-width: 205px; gap: 10px;
}
/* ⭐ header.blade.php এর ইনলাইন `.menubar .menu-link{color:var(--menubar-text,#333)}`
   জেতে — তাই "সব ক্যাটাগরি" লেখা সাদা করতে !important দরকার */
.menu-item-dropdown--categories > .menu-link,
.menu-item-dropdown--categories > .menu-link span,
.menu-item-dropdown--categories > .menu-link svg {
    color: #fff !important;
    stroke: currentColor;
}
.menu-item-dropdown--categories > .menu-link:hover { background: var(--primary-hover); }
.menu-item-dropdown { position: relative; }
.menu-item-dropdown__panel {
    position: absolute; top: 100%; left: 0; min-width: 250px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 0 0 var(--ast-radius) var(--ast-radius);
    box-shadow: var(--ast-shadow-lg); padding: 8px; z-index: 60; display: none;
}
.menu-item-dropdown:hover > .menu-item-dropdown__panel { display: block; }
.menu-item-dropdown__panel a { display: flex; align-items: center; gap: 10px; padding-block: 10px; padding-inline: 12px; border-radius: 6px; font-size: 14px; color: var(--foreground); text-decoration: none; }
.menu-item-dropdown__panel a:hover { background: var(--muted); color: var(--primary); }
.ast-hotline { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--foreground); text-decoration: none; }
.ast-hotline svg { width: 26px; height: 26px; color: var(--primary); flex: 0 0 26px; }
.ast-hotline__label { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.ast-hotline__number { display: block; font-size: 15px; font-weight: 700; }
@media (max-width: 991px) { .menubar, .mainbar__inner { display: none; } }

/* =====================================================================
   ৩. সেকশন শিরোনাম — asteera-র দুই ধরন
   ===================================================================== */

/* (ক) কেন্দ্রীভূত: উপরে হাতের লেখায় সাইটের নাম, নিচে Tenor Sans শিরোনাম */
.ast-section { padding-block: 48px; }
.ast-section__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; margin-bottom: 32px; }
.ast-section__script {
    font-family: var(--font-script);
    color: var(--primary);
    font-size: 20px; line-height: .8; opacity: .95;
}
.ast-section__title {
    font-family: var(--font-tenor);
    font-size: 24px; font-weight: 400;
    color: var(--foreground);
    letter-spacing: -.02em; line-height: 1.15;
    margin: -4px 0 0;
    display: block;
}
.ast-section__title::before, .ast-section__title::after { content: none; }  /* ⛔ v1 এর কমলা ড্যাশ */
@media (min-width: 768px)  { .ast-section__script { font-size: 24px; } .ast-section__title { font-size: 30px; } }
@media (min-width: 1024px) { .ast-section__script { font-size: 30px; } .ast-section__title { font-size: 36px; } }

/* (খ) বাঁ-ঘেঁষা: Tenor Sans বোল্ড + ৩px কমলা আন্ডারলাইন, ডানে "View All" */
.ast-head-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px; position: relative;
}
.ast-head-row__title {
    font-family: var(--font-tenor);
    font-size: 18px; font-weight: 700; color: var(--foreground);
    padding-bottom: 12px; margin: 0; position: relative; display: inline-block;
}
.ast-head-row__title::after {
    content: ''; position: absolute; left: 0; bottom: -1.5px;
    width: 100%; height: 3px; background: var(--primary); border-radius: 999px; z-index: 10;
}
@media (min-width: 768px)  { .ast-head-row__title { font-size: 20px; } }
@media (min-width: 1024px) { .ast-head-row__title { font-size: 24px; } }

/* "View All" — পিল বাটন নয়, কমলা টেক্সট লিংক + তীর */
.ast-view-all, .section-view-all-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none !important; border: 0;
    color: var(--primary) !important;
    font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0;
    text-decoration: none; padding-bottom: 8px; margin-left: 16px;
}
.ast-view-all:hover, .section-view-all-btn:hover { opacity: .8; }
.ast-view-all svg, .section-view-all-btn svg { transition: transform .3s ease; }
.ast-view-all:hover svg, .section-view-all-btn:hover svg { transform: translateX(4px); }

.section-nav-btn, .cat-nav {
    width: 34px; height: 34px; border-radius: var(--ast-radius-pill);
    border: 1px solid var(--border); background: var(--card); color: var(--foreground);
    display: grid; place-items: center; cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.section-nav-btn:hover, .cat-nav:hover { border-color: var(--primary); color: var(--primary); }
.cat-nav-group { display: flex; gap: 8px; margin-left: 16px; }

/* =====================================================================
   ৪. প্রোডাক্ট কার্ড — asteera-র মার্কআপ অনুযায়ী হুবহু
   ===================================================================== */
.product-card {
    background: var(--card);
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: var(--ast-radius);
    overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    box-shadow: var(--ast-shadow-sm);
    transition: box-shadow .3s ease, border-color .3s ease;
    position: relative;
}
.product-card:hover { border-color: var(--primary); box-shadow: var(--ast-shadow-lg); transform: none; }

.product-card__media {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 5;                 /* ⭐ asteera: aspect-[4/5] */
    background: var(--muted);
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
/* অ্যাডমিনের aspect সেটিং থাকলে সেটাই মানা হয় */
.product-card__media--square { aspect-ratio: 1 / 1; }
.product-card__media--portrait { aspect-ratio: 4 / 5; }
.product-card__media--reel { aspect-ratio: 9 / 16; }
.product-card__media--landscape { aspect-ratio: 4 / 3; }

/* asteera-র `.product-badge-save`: top 15px, left 0, উচ্চতা 24px */
.product-card__badge {
    position: absolute; top: 15px; left: 0; z-index: 10;
    height: 24px; display: inline-flex; align-items: center;
    padding-inline: 10px;
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: -.025em;
    text-transform: uppercase;
    border-radius: 0 4px 4px 0;
    box-shadow: var(--ast-shadow-sm);
    transition: transform .3s ease;
}
.product-card:hover .product-card__badge { transform: translateX(4px); }
.product-card__badge--out { background: var(--error-color); }
.product-card__badge b, .product-card__badge strong { font-weight: 800; margin-left: 3px; }

.product-card__wish {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    width: 36px; height: 36px; border-radius: var(--ast-radius-pill);
    background: color-mix(in srgb, var(--card) 90%, transparent);
    backdrop-filter: blur(4px);
    border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
    display: grid; place-items: center; cursor: pointer;
    color: var(--foreground); box-shadow: var(--ast-shadow-sm);
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.product-card__wish:hover { color: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.product-card__wish.is-active { color: var(--error-color); }
@media (min-width: 768px) { .product-card__wish { width: 40px; height: 40px; } }

.product-card__body { padding: 12px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
@media (min-width: 768px) { .product-card__body { padding: 16px; } }

.product-card__title {
    font-family: var(--font-main);
    font-size: 13px; font-weight: 600; line-height: 1.35;
    color: var(--foreground); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.4rem;
    transition: color .2s ease;
}
.product-card__title:hover { color: var(--primary); }
@media (min-width: 768px) { .product-card__title { font-size: 14px; } }

.product-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.product-card__price-now { font-size: 15px; font-weight: 700; color: var(--primary); }
.product-card__price-old { font-size: 11px; font-weight: 500; color: var(--muted-foreground); text-decoration: line-through; }
@media (min-width: 768px) { .product-card__price-now { font-size: 16px; } .product-card__price-old { font-size: 12px; } }

.product-card__actions { display: flex; align-items: center; gap: 6px; margin-top: 8px; position: relative; z-index: 10; }
.product-card__cart-btn {
    width: 36px; height: 36px; flex: 0 0 36px;
    border-radius: var(--ast-radius-pill); border: 0;
    background: var(--primary); color: #fff;
    display: grid; place-items: center; cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.product-card__cart-btn:hover { opacity: .9; }
.product-card__cart-btn:active { transform: scale(.95); }
.product-card__buy-btn {
    flex: 1; height: 36px;
    border: 0; border-radius: var(--ast-radius-pill);
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    text-decoration: none; cursor: pointer;
    position: relative; overflow: hidden;
    box-shadow: var(--ast-shadow-sm);
    transition: opacity .2s ease, box-shadow .3s ease, transform .2s ease;
}
.product-card__buy-btn:hover { opacity: .95; box-shadow: var(--ast-shadow-lg); }
.product-card__buy-btn:active { transform: scale(.95); }
/* asteera-র বাটনের ভেতরের হালকা সাদা রিং */
.product-card__buy-btn::before {
    content: ''; position: absolute; inset: 3px;
    border-radius: var(--ast-radius-pill);
    border: 1px solid rgba(255,255,255,.2);
    transition: border-color .5s ease; pointer-events: none;
}
.product-card__buy-btn:hover::before { border-color: rgba(255,255,255,.4); }
/* asteera-র `.btn-shine` ঝিলিক */
.product-card__buy-btn::after {
    content: ''; position: absolute; top: 0; left: -60px;
    width: 36px; height: 250%;
    background: linear-gradient(90deg, #0000, #fff6, #0000);
    transform: rotate(45deg) translateY(-35%);
    animation: ast-shine 3.5s infinite;
    pointer-events: none; z-index: 1;
}
@keyframes ast-shine { 0% { left: -60px; } 60%, 100% { left: 120%; } }
@media (min-width: 768px) {
    .product-card__cart-btn { width: 40px; height: 40px; flex: 0 0 40px; }
    .product-card__buy-btn { height: 40px; font-size: 12px; }
}
.product-card__cart-btn:disabled,
.product-card__buy-btn.is-disabled { background: #90a1b9; color: #fff; cursor: not-allowed; box-shadow: none; }
.product-card__buy-btn.is-disabled::after { content: none; }
.product-card__buy-btn--ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.product-card__buy-btn--ghost::before, .product-card__buy-btn--ghost::after { content: none; }

/* গ্রিড — asteera: 2 / 3 / 4 / 5 কলাম, gap 12 → 20 → 24 */
.ast-grid, .product-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; align-items: stretch;
}
@media (min-width: 768px)  { .ast-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .ast-grid, .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1280px) { .ast-grid, .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* =====================================================================
   ৫. Browse Categories — গোল-টপ (arch) কার্ড + অটো স্লাইড
   ===================================================================== */
.featured-category-track {
    display: flex; gap: 16px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-block: 8px; scrollbar-width: none;
}
.featured-category-track::-webkit-scrollbar { display: none; }
.featured-category-card {
    flex: 0 0 33.33%; min-width: 110px; scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-decoration: none;
    padding-block: 20px 16px; padding-inline: 10px;
    background: var(--card);
    border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    border-radius: 999px 999px 24px 24px;   /* ⭐ arch */
    transition: transform .3s ease, box-shadow .3s ease;
}
.featured-category-card:hover { transform: translateY(-4px); box-shadow: var(--ast-shadow-lg); }
.featured-category-card__image { width: 68px; height: 68px; border-radius: var(--ast-radius-pill); background: var(--muted); display: grid; place-items: center; overflow: hidden; }
.featured-category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.featured-category-card__placeholder { font-size: 22px; font-weight: 700; color: var(--primary); font-family: var(--font-title); }
.featured-category-card__name { font-size: 13px; font-weight: 600; color: var(--foreground); text-align: center; line-height: 1.35; }
@media (min-width: 640px)  { .featured-category-card { flex: 0 0 25%; } }
@media (min-width: 768px)  { .featured-category-card { flex: 0 0 20%; } }
@media (min-width: 1024px) { .featured-category-card { flex: 0 0 14.28%; } }
@media (min-width: 1280px) { .featured-category-card { flex: 0 0 12.5%; } }

/* =====================================================================
   ৬. হিরো + ব্যানার
   ===================================================================== */
.home-hero-row { max-width: var(--ast-container); gap: 16px; margin-top: 16px; align-items: stretch; }
/* ⭐ ব্যানার কলাম স্লাইডারের সমান উচ্চতা নেবে — বেশি হবে না */
.home-hero-row__banners {
    width: 34%; flex: 0 0 34%;
    position: relative; min-height: 0;
}
.home-hero-row__banners .banners-row {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; gap: 16px; margin: 0;
}
.banner-card { display: block; position: relative; flex: 1; min-height: 0; border-radius: var(--ast-radius-lg); overflow: hidden; background: var(--muted); }
.banner-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.banner-card:hover img { transform: scale(1.05); }
.hero-slider { border-radius: var(--ast-radius-lg); overflow: hidden; }
.hero-slider__dot { background: rgba(255,255,255,.55); }
.hero-slider__dot.is-active { background: var(--primary); }
@media (max-width: 1023px) { .home-hero-row__banners { display: none; } }

/* প্রোমো/কালেকশন কার্ড — ছবির উপর হালকা কালো ওভারলে (সলিড কালো নয়) */
.ast-promo { position: relative; min-height: 220px; border-radius: var(--ast-radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 24px; text-decoration: none; background: var(--muted); }
.ast-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.ast-promo::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.ast-promo__content { position: relative; z-index: 1; }
.ast-promo__title { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 6px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.ast-promo__btn { display: inline-block; padding-block: 9px; padding-inline: 20px; border-radius: var(--ast-radius-pill); background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }

/* =====================================================================
   ৭. বাটন ও ফর্ম (সাইটজুড়ে)
   ===================================================================== */
.btn-primary, .btn-secondary, .btn-outline {
    border-radius: var(--ast-radius-pill);
    font-weight: 700; font-size: 13px;
    padding-block: 11px; padding-inline: 22px;
    border: 1px solid transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    transition: all .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: none; transform: none; }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { opacity: .9; }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding-block: 8px; padding-inline: 16px; font-size: 12px; }
.btn-lg { padding-block: 14px; padding-inline: 26px; font-size: 15px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], select, textarea {
    border-radius: var(--ast-radius); border: 1px solid var(--border);
    background: var(--card); color: var(--foreground);
    font-family: inherit; font-size: 14px;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--primary); }

.empty-state { background: var(--card); border: 1px solid var(--border); border-radius: var(--ast-radius-lg); padding-block: 54px; padding-inline: 20px; text-align: center; }
.empty-state p { color: var(--muted-foreground); margin-bottom: 18px; }

/* =====================================================================
   ৮. প্রোডাক্ট লিস্ট / কার্ট / চেকআউট
   (প্রোডাক্ট ডিটেইলস পেজের নিজস্ব স্টাইল single.blade.php এর ইনলাইন
    <style> ব্লকে আছে — সেটা এই ফাইলের চেয়ে পরে লোড হয় বলে জেতে)
   ===================================================================== */
.search-page { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding-block: 24px; }
.ast-list-toolbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.ast-list-toolbar__search { flex: 0 1 380px; display: flex; }
.ast-list-toolbar__search input { width: 100%; padding: 11px 16px 11px 38px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-6-6'/%3E%3C/svg%3E") no-repeat 13px center / 16px 16px; }
.ast-list-toolbar__spacer { flex: 1; }
.ast-list-toolbar__count { font-size: 13px; color: var(--muted-foreground); font-weight: 600; }
.ast-filter-toggle { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; padding-inline: 18px; border-radius: var(--ast-radius); border: 1px solid var(--border); background: var(--card); color: var(--foreground); font-size: 13px; font-weight: 600; cursor: pointer; }
.ast-filter-toggle:hover { border-color: var(--primary); color: var(--primary); }
.search-filters { background: var(--card); border: 1px solid var(--border); border-radius: var(--ast-radius); padding: 18px; position: sticky; top: 16px; }
.search-filters h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); margin: 16px 0 8px; font-family: var(--font-title); }
.search-filters h4:first-child { margin-top: 0; }
.search-filters select, .search-filters input[type="number"] { width: 100%; padding-block: 10px; padding-inline: 12px; }
.search-results > h1 { font-family: var(--font-tenor); font-size: 22px; font-weight: 400; margin: 0 0 16px; }
.search-results > h1 .state-message { font-size: 13px; color: var(--muted-foreground); }
@media (max-width: 1023px) { .search-page { grid-template-columns: 1fr; } .search-filters { display: none; } .search-filters.is-open { display: block; position: static; } }
@media (min-width: 1024px) { .ast-filter-toggle { display: none; } }

.pagination, nav[role="navigation"] { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination a, .pagination span, nav[role="navigation"] a, nav[role="navigation"] span {
    min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    padding-inline: 12px; border-radius: var(--ast-radius); border: 1px solid var(--border);
    background: var(--card); color: var(--foreground); font-size: 13.5px; text-decoration: none;
}
.pagination .active span, nav[role="navigation"] .active span { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

.cart-page { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 22px; align-items: start; padding-bottom: 30px; }
@media (max-width: 880px) { .cart-page { grid-template-columns: 1fr; } }
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--ast-radius); overflow: hidden; }
.cart-table thead th { background: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-foreground); font-weight: 700; padding-block: 13px; padding-inline: 14px; text-align: left; }
.cart-table td { padding: 14px; border-top: 1px solid var(--border); font-size: 14px; }
.cart-table__product { display: flex; align-items: center; gap: 12px; }
.cart-table__product img { width: 58px; height: 58px; object-fit: cover; border-radius: var(--ast-radius); }
.cart-table .qty-form input { width: 68px; padding-block: 8px; padding-inline: 10px; text-align: center; }
.btn-icon-danger { border: 0; background: transparent; color: var(--muted-foreground); font-size: 17px; cursor: pointer; padding-block: 6px; padding-inline: 8px; border-radius: var(--ast-radius); }
.btn-icon-danger:hover { color: var(--error-color); background: var(--muted); }
.cart-summary { background: var(--card); border: 1px solid var(--border); border-radius: var(--ast-radius); padding: 20px; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cart-summary__row strong { font-size: 19px; color: var(--primary); }

.checkout-page { padding-block: 24px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 940px) { .checkout-grid { grid-template-columns: 1fr; } }
.form-card, .checkout-summary { background: var(--card); border: 1px solid var(--border); border-radius: var(--ast-radius); padding: 20px; }
.checkout-summary { position: sticky; top: 16px; }
.form-card h2, .form-card h3, .checkout-summary h2, .checkout-summary h3 { font-family: var(--font-title); font-size: 16px; margin: 0 0 14px; }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding-block: 11px; padding-inline: 14px; }
.checkout-summary__item { display: flex; gap: 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.checkout-summary__row { display: flex; justify-content: space-between; padding-block: 7px; font-size: 14px; }
.checkout-summary__row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 16px; }
.checkout-summary__row.total span:last-child { color: var(--primary); }
.shipping-option-card, .payment-option-card { display: flex; align-items: center; gap: 12px; padding-block: 13px; padding-inline: 15px; border: 1px solid var(--border); border-radius: var(--ast-radius); margin-bottom: 10px; cursor: pointer; background: var(--card); transition: border-color .15s ease, background .15s ease; }
.shipping-option-card:hover, .payment-option-card:hover { border-color: var(--primary); }
.shipping-option-card.is-selected, .payment-option-card.is-selected { border-color: var(--primary); background: var(--muted); }
.shipping-option-card__name, .payment-option-card__name { font-weight: 600; font-size: 14px; color: var(--foreground); }
.shipping-option-card__days, .payment-option-card__note { font-size: 12.5px; color: var(--muted-foreground); }
.free-shipping-notice { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-radius: var(--ast-radius); padding-block: 11px; padding-inline: 14px; font-size: 13.5px; margin-bottom: 14px; }

/* =====================================================================
   ৯. ফুটার — asteera ৩ কলাম (GET IN TOUCH / USEFUL LINKS / NEWSLETTER)
   ---------------------------------------------------------------------
   ⚠️ frontend.css লাইন ৩৯৩–৪০০ এ ফুটারের রঙ হার্ডকোড করা:
      .site-footer{background:#111827;color:#d1d5db;padding:40px 0 0}
      .footer-col h4{color:#fff}  .footer-col a{color:#9ca3af}
   লাইট মোডে সেগুলো যেন কোনোভাবেই না জেতে, তাই এখানে !important।
   ===================================================================== */
.site-footer {
    background: var(--card) !important;
    color: var(--foreground) !important;
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding: 0 !important;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.15fr .8fr 1.25fr;
    gap: 48px;
    padding-block: 56px 40px;
    align-items: start;
}

/* ---- কলাম হেডিং: ছোট কমলা আন্ডারলাইন + হালকা ধূসর লাইন ---- */
.footer-col__title,
.footer-col h4 {
    position: relative;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--foreground) !important;
    margin: 0 0 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.footer-col__title::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 46px; height: 3px;
    background: var(--primary);
    border-radius: 3px;
}
.footer-col a { color: var(--muted-foreground) !important; margin-bottom: 0 !important; text-decoration: none; }
.footer-col a:hover { color: var(--primary) !important; }
.footer-col p { color: var(--muted-foreground); }

/* ---- ব্র্যান্ড / লোগো ---- */
.footer-brand { margin-bottom: 26px; }
.footer-brand__logo { display: block; max-width: 200px; height: auto; background: transparent; }
.footer-brand__name { display: block; font-size: 24px; font-weight: 800; color: var(--primary); }
.footer-brand__slogan {
    display: block; margin-top: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--primary);
}

/* ---- আইকনসহ যোগাযোগ লিস্ট ---- */
.footer-contact { list-style: none; margin: 0 0 24px; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.footer-contact__icon { flex: 0 0 auto; color: var(--primary); margin-top: 2px; display: inline-flex; }
.footer-contact__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.footer-contact__body strong { font-size: 14.5px; font-weight: 700; color: var(--foreground); }
.footer-contact__body span,
.footer-contact__body a {
    font-size: 14.5px; line-height: 1.6;
    color: var(--muted-foreground) !important; text-decoration: none; word-break: break-word;
}
.footer-contact__body a:hover { color: var(--primary) !important; }

/* ---- সোশ্যাল আইকন: কমলা স্কয়ার ---- */
.ast-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.ast-socials a {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--primary); color: #fff !important;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 700; margin-bottom: 0 !important;
    transition: background .18s ease, transform .18s ease;
}
.ast-socials a:hover { background: var(--primary-hover); color: #fff !important; transform: translateY(-2px); }

/* ---- USEFUL LINKS: chevron লিস্ট ---- */
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 16px; }
.footer-links a {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--muted-foreground) !important; text-decoration: none;
    transition: color .15s ease, gap .15s ease;
}
.footer-links a svg { color: #94a3b8; flex: 0 0 auto; }
.footer-links a:hover { color: var(--primary) !important; gap: 14px; }
.footer-links a:hover svg { color: var(--primary); }

/* ---- NEWSLETTER ---- */
.ast-newsletter { display: flex; flex-direction: column; gap: 12px; max-width: none; margin-top: 0; }
.ast-newsletter__field {
    position: relative; display: flex; align-items: center; gap: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding-inline: 14px;
    height: 50px;
    transition: border-color .15s ease;
}
.ast-newsletter__field:focus-within { border-color: var(--primary); }
.ast-newsletter__field svg { color: #94a3b8; flex: 0 0 auto; }
.ast-newsletter__field input {
    flex: 1 1 auto; min-width: 0;
    border: none !important; outline: none; background: transparent;
    font-size: 15px; color: var(--foreground); height: 100%;
    padding: 0 !important;
}
.ast-newsletter__field input::placeholder { color: #94a3b8; }
.ast-newsletter button {
    width: 100%; height: 50px;
    border: none; border-radius: 10px;
    background: var(--primary); color: #fff;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .18s ease;
}
.ast-newsletter button:hover { background: var(--primary-hover); }
.ast-newsletter__hint { margin: 16px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--muted-foreground); }

/* ---- Secured by / Pay With ---- */
.ast-secured { margin-top: 30px; }
.ast-secured__label { display: block; font-size: 12.5px; color: #94a3b8; margin-bottom: 10px; }
.ast-payments { display: flex; align-items: center; gap: 12px; margin-top: 0; flex-wrap: nowrap; }
.ast-payments__label { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #64748b; }
.ast-payments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 4px; flex: 1 1 auto;
}
.ast-payments__grid img {
    width: 100%; height: 26px; object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2px;
}

/* ---- কপিরাইট বার ---- */
.site-footer__bottom {
    border-top: 1px solid var(--border);
    background: var(--card) !important;
    padding-block: 22px !important;
    padding-inline: 0 !important;
    margin-top: 0 !important;
    text-align: center;
}
.site-footer__bottom p { margin: 0; font-size: 14.5px; color: var(--muted-foreground) !important; }
.site-footer__bottom a { color: var(--muted-foreground) !important; }
.site-footer__bottom a:hover { color: var(--primary) !important; }

/* ---- ট্যাবলেট ---- */
@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .site-footer__grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* ---- মোবাইল: এক কলাম, স্ট্যাকড ---- */
@media (max-width: 768px) {
    .site-footer { margin-top: 32px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 36px 28px; }
    .site-footer__grid .footer-col:last-child { grid-column: auto; }
    .footer-col__title, .footer-col h4 { font-size: 14.5px; margin-bottom: 22px; }
    .footer-brand__logo { max-width: 170px; }
    .ast-payments { flex-wrap: wrap; }
    .ast-payments__grid { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); }
    /* বটম-ন্যাভবারের সাথে ওভারল্যাপ ঠেকাতে */
    .site-footer__bottom { padding-block: 18px calc(18px + 64px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* =====================================================================
   ১০. All Departments সাইডবার
   ===================================================================== */
.all-departments { border-color: var(--border) !important; border-radius: var(--ast-radius) !important; background: var(--card) !important; box-shadow: var(--ast-shadow-sm) !important; }
.all-departments__header { background: var(--primary) !important; border-radius: var(--ast-radius) var(--ast-radius) 0 0 !important; font-family: var(--font-title); font-size: 14px !important; }

/* =====================================================================
   ১১. ডার্ক মোড — পুরো সাইট
   ---------------------------------------------------------------------
   দুই সেট টোকেনই ওভাররাইড করা হয়: এই ফাইলের (--background/--card/…)
   এবং frontend.css এর নিজস্ব (--bg/--text/…), সাথে header.blade.php এর
   ইনলাইন --menubar-* / --header-* টোকেনও। নাহলে শুধু কিছু অংশ কালো হতো।
   ===================================================================== */
html[data-theme="dark"],
:root[data-theme="dark"] {
    --background: #101014;
    --foreground: #f5f1ee;
    --card: #17171c;
    --card-bg: #17171c;
    --muted: #1f1d21;
    --muted-foreground: #9b9aa3;
    --border: #2a2830;
    --utility-bg: #17171c;

    /* frontend.css এর টোকেন */
    --bg: #101014;
    --bg-soft: #1f1d21;
    --text: #f5f1ee;
    --text-muted: #9b9aa3;
    --shadow: 0 4px 14px rgba(0,0,0,.5);

    /* header.blade.php এর ইনলাইন টোকেন */
    --menubar-bg: #17171c;
    --menubar-text: #f5f1ee;
    --menubar-hover-bg: #1f1d21;
    --menubar-border: #2a2830;
    --header-bg: #17171c;
    --header-text: #f5f1ee;

    color-scheme: dark;
}

html[data-theme="dark"] body,
:root[data-theme="dark"] body { background: var(--background); color: var(--foreground); }

/* হার্ডকোড করা সাদা/কালো ব্যাকগ্রাউন্ডগুলোর সেফটি-নেট */
html[data-theme="dark"] .announcement-bar,
html[data-theme="dark"] .ast-topbar,
html[data-theme="dark"] .mainbar,
html[data-theme="dark"] .menubar,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .site-footer__bottom,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .featured-category-card,
html[data-theme="dark"] .search-filters,
html[data-theme="dark"] .cart-table,
html[data-theme="dark"] .cart-summary,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .checkout-summary,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .product-detail,
html[data-theme="dark"] .product-tabs,
html[data-theme="dark"] .ast-newsletter__field,
html[data-theme="dark"] .pd-sticky-bar,
html[data-theme="dark"] .pd-icon-btn,
html[data-theme="dark"] .qty-stepper,
html[data-theme="dark"] .product-gallery__main,
:root[data-theme="dark"] .announcement-bar,
:root[data-theme="dark"] .ast-topbar,
:root[data-theme="dark"] .mainbar,
:root[data-theme="dark"] .menubar,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .site-footer__bottom,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .featured-category-card,
:root[data-theme="dark"] .search-filters,
:root[data-theme="dark"] .cart-table,
:root[data-theme="dark"] .cart-summary,
:root[data-theme="dark"] .form-card,
:root[data-theme="dark"] .checkout-summary,
:root[data-theme="dark"] .empty-state,
:root[data-theme="dark"] .product-detail,
:root[data-theme="dark"] .product-tabs,
:root[data-theme="dark"] .ast-newsletter__field,
:root[data-theme="dark"] .pd-sticky-bar,
:root[data-theme="dark"] .pd-icon-btn,
:root[data-theme="dark"] .qty-stepper,
:root[data-theme="dark"] .product-gallery__main { background: var(--card) !important; }

/* পেমেন্ট লোগোগুলো ডার্কেও সাদা ব্যাকগ্রাউন্ডেই পড়া যায় */
html[data-theme="dark"] .ast-payments__grid img,
:root[data-theme="dark"] .ast-payments__grid img { background: #fff; }

html[data-theme="dark"] .free-shipping-notice,
:root[data-theme="dark"] .free-shipping-notice { background: #0f2417; border-color: #1c4429; color: #86efac; }
html[data-theme="dark"] .gallery-nav,
:root[data-theme="dark"] .gallery-nav { background: rgba(23,23,28,.92); color: var(--foreground); }
html[data-theme="dark"] .attribute-option,
:root[data-theme="dark"] .attribute-option { background: var(--muted); color: var(--text-muted); }

/* =====================================================================
   ১২। সেকশন শিরোনাম — ক্যালিগ্রাফি টেক্সট বাদ + গ্যাপ কমানো
   ---------------------------------------------------------------------
   ⚠️ এই ব্লকটা ইচ্ছাকৃতভাবে ফাইলের একদম শেষে: উপরের ৩ নম্বর বিভাগে
   `.ast-section__head { margin-bottom: 32px }` লেখা আছে, আর সমান
   specificity-তে পরেরটাই জেতে। মাঝখানে বসালে ওটা এটাকে হারিয়ে দিত।
   ===================================================================== */
.ast-section { padding-block: 14px; }
.ast-section__script { display: none !important; }   /* হাতের লেখায় সাইটের নাম — বাদ */
.ast-section__head { margin-bottom: 18px; gap: 6px; }
.ast-section__head .ast-section__title { margin-top: 0; }
@media (max-width: 767px) {
    .ast-section { padding-block: 10px; }
    .ast-section__head { margin-bottom: 14px; }
}

/* ✅ দুই পাশের গ্যাপ — সব জায়গায় একই অল্প মাপ (শেষে রাখা, যাতে আগের কোনো নিয়ম না জেতে) */
.container, .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 12px; }
@media (min-width: 768px)  { .container, .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 16px; } }
@media (min-width: 1024px) { .container, .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 20px; } }
@media (min-width: 1280px) { .container, .ast-topbar__inner, .mainbar__inner, .menubar__inner { padding-inline: 24px; } }

