/* ==========================================================================
   Labonno's Crafts — Ultra-Luxury Royal Craftsman Design System
   Dual-Gradient Engine • Glassmorphism 2.0 • Glowing Artisanal Elegance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&family=Hind+Siliguri:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Dual-Theme Color Engine (Light & Dark Mode Variables)
   ========================================================================== */

/* 1. Light Theme (Default Cream Canvas) */
:root, [data-theme="light"] {
  --clr-indigo-deep:   #060B17;   /* Deep Night Indigo */
  --clr-indigo-card:   #0E172A;   /* Indigo Glass Base */
  --clr-indigo-soft:   #182848;   /* Soft Royal Indigo */
  
  --clr-rust-glow:     #FF451A;   /* Radiant Terracotta Orange */
  --clr-rust-dark:     #B33B18;   /* Deep Terracotta Rust */
  
  --clr-gold-bright:   #FFB800;   /* Vibrant Turmeric Gold */
  --clr-gold-metallic: #D49B27;   /* Rich Metallic Gold */
  --clr-gold-soft:     #FFF3D6;   /* Cream Gold Accent */

  --clr-emerald:       #0B4F32;   /* Royal Kantha Emerald */
  --clr-emerald-light: #167B51;
  
  --clr-bg-canvas:     #FAF7F2;   /* লাইট ক্রিম ব্যাকগ্রাউন্ড */
  --clr-card-light:    rgba(255, 255, 255, 0.88);
  --clr-glass-white:   rgba(255, 255, 255, 0.75);
  --clr-glass-border:  rgba(212, 155, 39, 0.28);
  
  --clr-ink-heading:   #0A1128;   /* লাইট মোড হেডিং (কালো) */
  --clr-ink-body:      #333A48;   /* লাইট মোড বডি টেক্সট */
  --clr-ink-muted:     #6C768A;   /* Muted Text */
  --clr-input-bg:      #FFFFFF;
  --header-bg:         rgba(255, 255, 255, 0.92);

  /* ---- Luxury Gradients ---- */
  --grad-hero:         linear-gradient(135deg, #070E1B 0%, #12203F 50%, #081124 100%);
  --grad-rust-gold:    linear-gradient(135deg, #FF451A 0%, #D49B27 100%);
  --grad-gold-bright:  linear-gradient(135deg, #FFB800 0%, #FF8800 100%);
  --grad-glass-card:   linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,248,238,0.85) 100%);
  --grad-gold-text:    linear-gradient(135deg, #B88014 0%, #FFB800 50%, #8F5E05 100%);
  --grad-rust-text:    linear-gradient(135deg, #FF451A 0%, #B33B18 100%);
  --grad-border:       linear-gradient(135deg, rgba(255, 184, 0, 0.5), rgba(255, 69, 26, 0.2), rgba(11, 79, 50, 0.3));

  --font-display:     'Tiro Bangla', 'Hind Siliguri', serif;
  --font-body:        'Hind Siliguri', sans-serif;

  --radius-xs:  8px;
  --radius-sm:  14px;
  --radius-md:  20px;
  --radius-lg:  30px;
  --radius-pill: 999px;

  /* High-Impact Visual Shadows */
  --shadow-sm:        0 4px 12px rgba(10, 17, 40, 0.05);
  --shadow-md:        0 10px 30px rgba(10, 17, 40, 0.08);
  --shadow-lg:        0 20px 50px rgba(10, 17, 40, 0.14);
  --shadow-glow-gold: 0 10px 30px rgba(255, 184, 0, 0.35);
  --shadow-glow-rust: 0 10px 30px rgba(255, 69, 26, 0.35);
  --shadow-card-hover: 0 22px 45px rgba(15, 23, 42, 0.12);

  --maxw: 1280px;
}

/* 2. Dark Theme (Royal Artisan Night) */
[data-theme="dark"] {
  --clr-bg-canvas:     #060B17;   /* ডার্ক নাইট ইনডিগো ব্যাকগ্রাউন্ড */
  --clr-card-light:    #0E172A;   /* ডার্ক ইনডিগো কার্ড */
  --clr-glass-border:  rgba(255, 184, 0, 0.22);
  
  --clr-ink-heading:   #F8FAFC;   /* ডার্ক মোড হেডিং (সাদা) */
  --clr-ink-body:      #CBD5E1;   /* ডার্ক মোড বডি টেক্সট */
  --clr-ink-muted:     #94A3B8;
  --clr-input-bg:      #1E293B;

  --clr-gold-soft:     rgba(255, 184, 0, 0.12);
  --grad-glass-card:   linear-gradient(135deg, #0E172A 0%, #152238 100%);
  --header-bg:         rgba(14, 23, 42, 0.92);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F1ECE1; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--clr-gold-metallic), var(--clr-rust-dark)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-rust-glow); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--clr-bg-canvas);
  background-image: 
    radial-gradient(circle at 5% 10%, rgba(255, 184, 0, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 95% 85%, rgba(255, 69, 26, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(11, 79, 50, 0.03) 0%, transparent 60%);
  color: var(--clr-ink-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .25s ease; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media(min-width: 768px) { .wrap { padding: 0 24px; } }

/* ---------------------------------------------------------------- */
/* Typography Highlights & Gradient Text Clip                        */
/* ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--clr-ink-heading);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.6rem); line-height: 1.22; }
h3 { font-size: 1.25rem; font-weight: 600; }

.text-gradient-gold {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-rust {
  background: var(--grad-rust-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .75rem;
  color: var(--clr-rust-glow);
  text-transform: uppercase;
  margin-bottom: 12px;
  background: rgba(255, 69, 26, 0.08);
  border: 1px solid rgba(255, 69, 26, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(255, 69, 26, 0.1);
}

/* Focus state */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--clr-gold-bright);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- */
/* Signature Dividers & Motifs                                      */
/* ---------------------------------------------------------------- */
.stitch-divider {
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22' viewBox='0 0 36 22'%3E%3Cpath d='M0 11 Q9 -5 18 11 Q27 27 36 11' stroke='%23FF451A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='11' r='3.5' fill='%23FFB800'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 36px 22px;
  opacity: .9;
  margin: 28px auto;
}
.stitch-divider.leaf {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22' viewBox='0 0 36 22'%3E%3Cpath d='M0 11 Q9 -5 18 11 Q27 27 36 11' stroke='%23167B51' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- */
/* Glossy Luxury Buttons                                            */
/* ---------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .02em;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
}
@media(min-width: 768px) { .btn { padding: 15px 34px; font-size: 1rem; } }

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left .6s ease;
  z-index: -1;
}
.btn:hover::before { left: 100%; }
.btn:active { transform: translateY(2px) scale(0.97); }

.btn-primary {
  background: var(--grad-rust-gold);
  color: #fff;
  box-shadow: var(--shadow-glow-rust);
}
.btn-primary:hover {
  box-shadow: 0 14px 35px rgba(255, 69, 26, 0.5);
  transform: translateY(-3px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--clr-gold-metallic);
  color: var(--clr-ink-heading);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: var(--clr-indigo-deep);
  color: var(--clr-gold-bright);
  border-color: var(--clr-indigo-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.btn-ghost { background: transparent; color: var(--clr-indigo-deep); padding: 8px 14px; border-radius: var(--radius-xs); }
.btn-ghost:hover { background: rgba(255, 184, 0, 0.15); color: var(--clr-rust-dark); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(1); }

/* ---------------------------------------------------------------- */
/* Header & Navbar — Dynamic Glassmorphism                           */
/* ---------------------------------------------------------------- */
#site-header {
  position: sticky; 
  top: 0; 
  z-index: 9999; /* যেন অন্য কোনো কার্ড বা ব্যানার এর উপরে চলে না আসে */
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid var(--clr-glass-border);
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.06);
  width: 100%;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}
@media(min-width: 768px) { .nav-row { padding: 16px 24px; gap: 28px; } }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--clr-indigo-deep);
  flex-shrink: 0;
  font-weight: 700;
}
@media(min-width: 768px) { .brand { font-size: 1.7rem; gap: 14px; } }

.brand .brand-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(255, 69, 26, 0.3));
  transition: transform .4s ease;
}
@media(min-width: 768px) { .brand .brand-mark { width: 44px; height: 44px; } }

.brand:hover .brand-mark { transform: rotate(12deg) scale(1.1); }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  letter-spacing: .14em;
  color: var(--clr-rust-glow);
  font-weight: 800;
  margin-top: -2px;
}
@media(min-width: 768px) { .brand small { font-size: .68rem; letter-spacing: .18em; } }

.search-box {
  display: none; /* Hidden on small mobile, can use a separate mobile search if needed */
  align-items: center;
  gap: 10px;
  background: var(--clr-input-bg);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  flex: 1;
  max-width: 400px;
  box-shadow: var(--shadow-sm);
}
@media(min-width: 920px) { .search-box { display: flex; } }

.search-box:focus-within {
  border-color: var(--clr-rust-glow);
  box-shadow: 0 0 0 4px rgba(255, 69, 26, 0.15), var(--shadow-md);
}
.search-box input { border: none; outline: none; background: transparent; width: 100%; font-size: .92rem; color: var(--clr-ink-heading); font-weight: 500; }
.search-box svg { width: 18px; height: 18px; stroke: var(--clr-rust-glow); flex-shrink: 0; }

.nav-links { display: none; }
@media(min-width: 920px) {
  .nav-links { display: flex; gap: 28px; font-weight: 700; font-size: 0.95rem; }
}
.nav-links a { position: relative; padding: 6px 0; color: var(--clr-indigo-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--grad-rust-gold);
  transition: all .3s ease;
  border-radius: 4px;
}
.nav-links a.active, .nav-links a:hover { color: var(--clr-rust-glow); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
@media(min-width: 768px) { .nav-actions { gap: 16px; } }

.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--clr-input-bg);
  border: 1.5px solid var(--clr-glass-border);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
@media(min-width: 768px) { .icon-btn { width: 44px; height: 44px; } }

.icon-btn:hover {
  background: var(--grad-rust-gold);
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow-rust);
}
.icon-btn svg { width: 18px; height: 18px; stroke: var(--clr-indigo-deep); transition: stroke .2s; }
@media(min-width: 768px) { .icon-btn svg { width: 21px; height: 21px; } }
.icon-btn:hover svg { stroke: #fff; }

.badge {
  position: absolute; top: -3px; right: -3px;
  background: var(--clr-rust-glow); color: #fff;
  font-size: .65rem; font-weight: 800;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(255, 69, 26, 0.4);
}
@media(min-width: 768px) { .badge { top: -4px; right: -4px; font-size: .72rem; min-width: 22px; height: 22px; } }

.mobile-toggle { display: flex; }
@media (min-width: 920px) {
  .mobile-toggle { display: none; }
}

/* ---------------------------------------------------------------- */
/* Hero Section — Dual-Gradient Dark Royalty Stage                  */
/* ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 50px 0;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  border-bottom: 4px solid var(--clr-gold-bright);
}
@media(min-width: 768px) { .hero { padding: 85px 0 70px; } }

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
@media(min-width: 768px) { .hero::before { width: 650px; height: 650px; top: -150px; right: -150px; } }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; position: relative; z-index: 1; }
@media(min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 60px; } }

.hero-copy h1 { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.hero-copy p { font-size: 1rem; color: #D1D8E6; max-width: 50ch; line-height: 1.7; }
@media(min-width: 768px) { .hero-copy p { font-size: 1.15rem; } }

.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@media(min-width: 768px) { .hero-actions { gap: 18px; margin-top: 36px; } }

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
@media(min-width: 768px) { .hero-stats { gap: 40px; margin-top: 48px; padding-top: 28px; } }

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: var(--grad-gold-bright);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
@media(min-width: 768px) { .hero-stats div strong { font-size: 2.2rem; } }
.hero-stats div span { font-size: .8rem; color: #A4B1C6; font-weight: 600; }

.hero-media { position: relative; margin-top: 20px; }
@media(min-width: 900px) { .hero-media { margin-top: 0; } }

.hero-media .frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 184, 0, 0.4);
  position: relative;
  background: #000;
}
.hero-media img {
  width: 100%; height: 320px; object-fit: cover;
  transition: transform .7s ease;
}
@media(min-width: 768px) { .hero-media img { height: 540px; } }

.hero-media .float-card {
  position: absolute;
  bottom: -15px; left: 10px;
  background: rgba(14, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--clr-gold-metallic);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}
@media(min-width: 768px) {
  .hero-media .float-card { bottom: -20px; left: -30px; padding: 18px 24px; max-width: 270px; border-radius: var(--radius-md); }
}

.hero-media .float-card .dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-gold-bright);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-indigo-deep); font-weight: 900; font-size: 1rem;
  box-shadow: var(--shadow-glow-gold);
}
@media(min-width: 768px) { .hero-media .float-card .dot { width: 46px; height: 46px; font-size: 1.1rem; } }

/* ---------------------------------------------------------------- */
/* Section Layouts & Headings                                       */
/* ---------------------------------------------------------------- */
.section { padding: 45px 0; }
@media(min-width: 768px) { .section { padding: 80px 0; } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
@media(min-width: 768px) { .section-head { margin-bottom: 48px; gap: 24px; } }
.section-head p { color: var(--clr-ink-muted); max-width: 54ch; margin: 0; font-size: 0.95rem; }
@media(min-width: 768px) { .section-head p { font-size: 1rem; } }

/* ---------------------------------------------------------------- */
/* Category Chips — Floating Glass Pods                             */
/* ---------------------------------------------------------------- */
.cat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 4px 2px 16px;
}
@media(min-width: 480px) { .cat-row { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media(min-width: 900px) { .cat-row { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 20px; } }

.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  background: var(--grad-glass-card);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
@media(min-width: 768px) { .cat-chip { padding: 26px 14px; border-radius: var(--radius-md); } }

.cat-chip:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--clr-gold-bright);
  box-shadow: var(--shadow-glow-gold);
  background: var(--clr-input-bg);
}
.cat-chip .ic {
  width: 44px; height: 44px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--clr-gold-soft);
  display: flex; align-items: center; justify-content: center;
  transition: all .35s ease;
}
@media(min-width: 768px) { .cat-chip .ic { width: 56px; height: 56px; margin-bottom: 14px; } }
.cat-chip:hover .ic {
  background: var(--grad-rust-gold);
  box-shadow: var(--shadow-glow-rust);
}
.cat-chip .ic svg { width: 22px; height: 22px; stroke: var(--clr-rust-dark); transition: stroke .3s; }
@media(min-width: 768px) { .cat-chip .ic svg { width: 26px; height: 26px; } }
.cat-chip:hover .ic svg { stroke: #fff; }
.cat-chip span { font-weight: 800; font-size: .85rem; color: var(--clr-indigo-deep); }
@media(min-width: 768px) { .cat-chip span { font-size: .95rem; } }

/* ---------------------------------------------------------------- */
/* Product Grid & Luxury Product Cards                              */
/* ---------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1100px){ .product-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; } }

.product-card {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
@media(min-width: 768px) { .product-card { border-radius: var(--radius-md); } }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--clr-gold-bright);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EFE8DC;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--grad-rust-gold);
  color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow-rust);
}
@media(min-width: 768px) { .product-tag { top: 14px; left: 14px; font-size: .75rem; padding: 5px 14px; } }

.wish-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--clr-input-bg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--clr-glass-border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  z-index: 2;
}
@media(min-width: 768px) { .wish-btn { top: 14px; right: 14px; width: 38px; height: 38px; } }
.wish-btn:hover { transform: scale(1.15); background: var(--clr-input-bg); box-shadow: var(--shadow-md); }
.wish-btn svg { width: 16px; height: 16px; stroke: var(--clr-rust-glow); fill: none; transition: fill .2s; }
@media(min-width: 768px) { .wish-btn svg { width: 19px; height: 19px; } }
.wish-btn.active svg { fill: var(--clr-rust-glow); }

.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  opacity: 0; transform: translateY(10px);
  transition: all .35s ease;
  z-index: 2;
  display: none; /* Can be enabled via media queries or always shown on touch */
}
@media(min-width: 768px) {
  .quick-add { display: block; left: 16px; right: 16px; bottom: 16px; }
  .product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
}
/* Always visible on touch devices */
@media(max-width: 767px) {
  .quick-add { display: block; opacity: 1; transform: translateY(0); position: static; padding: 0 10px 10px; }
}

.product-info {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
@media(min-width: 768px) { .product-info { padding: 22px 20px; gap: 8px; } }

.product-info .cat {
  font-size: .7rem;
  color: var(--clr-emerald-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media(min-width: 768px) { .product-info .cat { font-size: .78rem; } }

.product-info h3 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--clr-ink-heading);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media(min-width: 768px) { .product-info h3 { font-size: 1.1rem; } }

.product-info .rating { display: flex; align-items: center; gap: 3px; font-size: .75rem; color: var(--clr-ink-muted); font-weight: 600; }
@media(min-width: 768px) { .product-info .rating { font-size: .85rem; } }
.product-info .rating svg { width: 13px; height: 13px; fill: var(--clr-gold-bright); }
@media(min-width: 768px) { .product-info .rating svg { width: 15px; height: 15px; } }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
@media(min-width: 768px) { .price-row { gap: 12px; padding-top: 12px; } }

.price { font-weight: 800; color: var(--clr-rust-glow); font-size: 1.1rem; font-family: var(--font-display); }
@media(min-width: 768px) { .price { font-size: 1.35rem; } }
.price-old { text-decoration: line-through; color: #A09681; font-size: .82rem; }
@media(min-width: 768px) { .price-old { font-size: .92rem; } }

/* ---------------------------------------------------------------- */
/* Filter Sidebar & Toolbar                                         */
/* ---------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media(min-width: 880px) { .shop-layout { grid-template-columns: 280px 1fr; gap: 40px; } }

.filter-panel {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-md);
}
@media(min-width: 880px) { .filter-panel { position: sticky; top: 100px; padding: 28px; border-radius: var(--radius-md); } }

.filter-panel h4 {
  font-family: var(--font-body);
  font-weight: 800; font-size: 1rem;
  color: var(--clr-ink-heading);
  margin: 0 0 12px;
  display: flex; justify-content: space-between; align-items: center;
}

.filter-group { padding: 14px 0; border-bottom: 1px solid rgba(212, 155, 39, 0.2); }
.filter-group:last-child { border-bottom: none; }

.filter-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9rem; cursor: pointer; color: var(--clr-ink-heading); font-weight: 500; }
.filter-check input { accent-color: var(--clr-rust-glow); width: 16px; height: 16px; }

.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-xs);
  background: var(--clr-input-bg);
  font-weight: 600;
}

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
@media(min-width: 640px) {
  .shop-toolbar { flex-direction: row; justify-content: space-between; align-items: center; border-radius: var(--radius-md); padding: 16px 26px; margin-bottom: 28px; }
}
.shop-toolbar select {
  padding: 10px 14px;
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-pill);
  background: var(--clr-input-bg);
  font-weight: 700;
  color: var(--clr-ink-heading);
  width: 100%;
}
@media(min-width: 640px) { .shop-toolbar select { width: auto; } }

/* ---------------------------------------------------------------- */
/* Pagination                                                       */
/* ---------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-glass-border);
  background: var(--clr-input-bg);
  font-weight: 800;
  color: var(--clr-ink-heading);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
@media(min-width: 768px) { .pagination button { width: 44px; height: 44px; } }
.pagination button:hover { border-color: var(--clr-rust-glow); color: var(--clr-rust-glow); transform: translateY(-2px); }
.pagination button.active {
  background: var(--grad-rust-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-rust);
}

/* ---------------------------------------------------------------- */
/* Testimonials & USP Strips                                        */
/* ---------------------------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.testi-card {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}
@media(min-width: 768px) { .testi-card { padding: 32px; border-radius: var(--radius-md); } }

.testi-card::before {
  content: '“';
  position: absolute; top: 10px; right: 20px;
  font-family: var(--font-display);
  font-size: 4.5rem; color: rgba(212, 155, 39, 0.15);
  line-height: 1; pointer-events: none;
}
.testi-card .stars { display: flex; gap: 4px; margin-bottom: 12px; }
.testi-card .stars svg { width: 15px; height: 15px; fill: var(--clr-gold-bright); }
.testi-card p { font-size: 0.95rem; color: var(--clr-ink-body); position: relative; z-index: 1; }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-user .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: var(--clr-gold-bright); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gold-metallic);
}

.usp-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
@media(min-width: 600px) { .usp-strip { grid-template-columns: 1fr 1fr; padding: 28px; } }
@media(min-width: 1000px) { .usp-strip { grid-template-columns: repeat(4, 1fr); padding: 38px; border-radius: var(--radius-md); } }

.usp-item { display: flex; gap: 14px; align-items: flex-start; }
.usp-item .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-gold-soft);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.usp-item svg { width: 20px; height: 20px; stroke: var(--clr-rust-glow); }
.usp-item strong { display: block; font-size: 1rem; margin-bottom: 2px; color: var(--clr-ink-heading); }
.usp-item span { font-size: .82rem; color: var(--clr-ink-muted); }

/* ---------------------------------------------------------------- */
/* Newsletter Banner                                                */
/* ---------------------------------------------------------------- */
.newsletter {
  background: var(--grad-hero);
  border-radius: var(--radius-sm);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--clr-gold-bright);
}
@media(min-width: 768px) { .newsletter { border-radius: var(--radius-md); padding: 70px 30px; } }

.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 184, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter h2 { color: #fff; margin-bottom: 10px; font-size: 1.5rem; }
@media(min-width: 768px) { .newsletter h2 { font-size: 2rem; } }
.newsletter p { color: #C8D3E6; max-width: 52ch; margin: 0 auto 24px; font-size: 0.95rem; }
@media(min-width: 768px) { .newsletter p { font-size: 1.05rem; margin-bottom: 32px; } }

.newsletter form { display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin: 0 auto; }
@media(min-width: 500px) { .newsletter form { flex-direction: row; gap: 14px; } }

.newsletter input {
  flex: 1; padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none; outline: none;
  font-size: .95rem;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
  width: 100%;
}

/* ---------------------------------------------------------------- */
/* Product Details Page                                             */
/* ---------------------------------------------------------------- */
.pd-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media(min-width: 880px) { .pd-layout { grid-template-columns: 1fr 1fr; gap: 60px; } }

.pd-gallery .main-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--clr-glass-border);
  aspect-ratio: 1 / 1;
  background: var(--clr-card-light);
  box-shadow: var(--shadow-md);
}
@media(min-width: 768px) { .pd-gallery .main-img { border-radius: var(--radius-md); } }
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }

.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; }
.pd-thumbs button {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0; background: none;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
@media(min-width: 768px) { .pd-thumbs button { width: 80px; height: 80px; } }
.pd-thumbs button.active { border-color: var(--clr-rust-glow); transform: scale(1.05); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-price { font-size: 2rem; font-weight: 800; color: var(--clr-rust-glow); font-family: var(--font-display); }
@media(min-width: 768px) { .pd-price { font-size: 2.4rem; } }

.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--clr-glass-border); border-radius: var(--radius-pill); background: var(--clr-input-bg); }
.qty-stepper button { width: 38px; height: 38px; background: none; font-size: 1.2rem; font-weight: 800; color: var(--clr-ink-heading); }
@media(min-width: 768px) { .qty-stepper button { width: 44px; height: 44px; font-size: 1.3rem; } }
.qty-stepper span { width: 40px; text-align: center; font-weight: 800; font-size: 1rem; }
@media(min-width: 768px) { .qty-stepper span { width: 48px; font-size: 1.05rem; } }

.tabs-row { display: flex; gap: 20px; border-bottom: 2px solid var(--clr-glass-border); margin: 40px 0 24px; overflow-x: auto; }
@media(min-width: 768px) { .tabs-row { gap: 36px; margin: 60px 0 32px; } }
.tab-btn { background: none; border: none; padding: 12px 4px; font-weight: 800; font-size: 1rem; color: var(--clr-ink-muted); border-bottom: 3.5px solid transparent; margin-bottom: -2px; white-space: nowrap; flex-shrink: 0; }
@media(min-width: 768px) { .tab-btn { padding: 16px 6px; font-size: 1.1rem; } }
.tab-btn.active { color: var(--clr-rust-glow); border-color: var(--clr-rust-glow); }

/* ---------------------------------------------------------------- */
/* Cart & Checkout Layout                                           */
/* ---------------------------------------------------------------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media(min-width: 880px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr 400px; gap: 40px; } }

.cart-item {
  display: grid; grid-template-columns: 75px 1fr; gap: 12px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(212, 155, 39, 0.2);
}
@media(min-width: 600px) {
  .cart-item { grid-template-columns: 100px 1fr auto auto; gap: 20px; padding: 22px 0; }
}
.cart-item img { width: 75px; height: 75px; object-fit: cover; border-radius: var(--radius-xs); border: 1px solid var(--clr-glass-border); }
@media(min-width: 600px) { .cart-item img { width: 100px; height: 100px; } }

.summary-card {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
@media(min-width: 880px) { .summary-card { position: sticky; top: 100px; padding: 32px; border-radius: var(--radius-md); } }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; color: var(--clr-ink-body); font-weight: 500; }
@media(min-width: 768px) { .summary-row { padding: 12px 0; font-size: 1rem; } }
.summary-row.total { font-weight: 800; color: var(--clr-ink-heading); font-size: 1.2rem; border-top: 2px dashed var(--clr-glass-border); margin-top: 10px; padding-top: 14px; }
@media(min-width: 768px) { .summary-row.total { font-size: 1.3rem; padding-top: 18px; } }

.form-card {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
@media(min-width: 768px) { .form-card { padding: 36px; border-radius: var(--radius-md); margin-bottom: 28px; } }

.field { margin-bottom: 16px; }
@media(min-width: 768px) { .field { margin-bottom: 20px; } }
.field label { display: block; font-size: .88rem; font-weight: 800; margin-bottom: 6px; color: var(--clr-ink-heading); }
@media(min-width: 768px) { .field label { font-size: .92rem; margin-bottom: 8px; } }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-xs);
  background: var(--clr-input-bg);
  transition: all .25s;
}
@media(min-width: 768px) { .field input, .field select, .field textarea { padding: 14px 18px; } }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clr-rust-glow); box-shadow: 0 0 0 4px rgba(255, 69, 26, 0.12); }

.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-xs); margin-bottom: 10px; cursor: pointer;
  background: var(--clr-input-bg); transition: all .25s; font-weight: 700; font-size: 0.92rem;
}
@media(min-width: 768px) { .pay-option { padding: 18px; font-size: 1rem; margin-bottom: 14px; } }
.pay-option:hover { border-color: var(--clr-rust-glow); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- */
/* Auth & Profile Dashboard                                         */
/* ---------------------------------------------------------------- */
.auth-wrap { max-width: 480px; margin: 40px auto; padding: 0 16px; }
@media(min-width: 768px) { .auth-wrap { margin: 80px auto; } }
.auth-wrap .form-card { padding: 24px 20px; border: 2px solid var(--clr-gold-bright); }
@media(min-width: 768px) { .auth-wrap .form-card { padding: 44px 40px; } }

.dash-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media(min-width: 880px) { .dash-layout { grid-template-columns: 280px 1fr; gap: 30px; } }

.dash-nav {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media(min-width: 768px) { .dash-nav { padding: 16px; border-radius: var(--radius-md); gap: 8px; } }

.dash-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: .92rem; color: var(--clr-ink-heading);
  transition: all .25s;
}
@media(min-width: 768px) { .dash-nav a { padding: 14px 18px; font-size: .98rem; } }
.dash-nav a.active, .dash-nav a:hover { background: var(--grad-rust-gold); color: #fff; box-shadow: var(--shadow-glow-rust); }
.dash-nav a.active svg, .dash-nav a:hover svg { stroke: #fff; }

.dash-panel {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
@media(min-width: 768px) { .dash-panel { padding: 36px; border-radius: var(--radius-md); } }

.status-pill { font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); }
@media(min-width: 768px) { .status-pill { font-size: .8rem; padding: 6px 16px; } }
.status-pill.pending    { background: #FFE8D1; color: #9E5300; }
.status-pill.processing { background: #D6E4FF; color: #0038A8; }
.status-pill.shipped    { background: #D1F0DC; color: #0F6B32; }
.status-pill.delivered  { background: #C8F7D0; color: #085220; }
.status-pill.cancelled  { background: #FFD6D6; color: #9E0000; }

/* ---------------------------------------------------------------- */
/* Toasts & Loaders                                                 */
/* ---------------------------------------------------------------- */
.toast-stack { position: fixed; bottom: 20px; right: 16px; left: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
@media(min-width: 500px) { .toast-stack { left: auto; right: 32px; bottom: 32px; } }
.toast {
  background: var(--clr-indigo-deep); color: #fff;
  padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3); font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; gap: 12px; width: 100%;
  border-left: 5px solid var(--clr-gold-bright);
  animation: toastIn .35s ease;
}
@media(min-width: 500px) { .toast { min-width: 280px; width: auto; padding: 18px 26px; } }
.toast.success { border-left-color: var(--clr-emerald-light); }
.toast.error   { border-left-color: var(--clr-rust-glow); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.dark { border: 3px solid var(--clr-glass-border); border-top-color: var(--clr-rust-glow); }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, #EFE8DC 25%, #FFF8EE 37%, #EFE8DC 63%);
  background-size: 400% 100%;
  animation: skeletonShimmer 1.4s infinite;
  border-radius: var(--radius-xs);
}
@keyframes skeletonShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.badge-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--clr-gold-soft); border: 1.5px solid var(--clr-gold-bright);
  color: #6E4D00; padding: 14px 16px; border-radius: var(--radius-xs);
  font-size: .85rem; margin-bottom: 20px; font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* Page Banner, Breadcrumb & Footer                                 */
/* ---------------------------------------------------------------- */
.page-banner {
  background: var(--grad-hero);
  color: #fff;
  padding: 30px 0;
  border-bottom: 4px solid var(--clr-gold-bright);
}
@media(min-width: 768px) { .page-banner { padding: 45px 0; } }
.page-banner h1 { color: #fff; margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--clr-ink-muted);
  margin: 16px 0 24px;
  font-weight: 600;
  flex-wrap: wrap;
}
@media(min-width: 768px) { .breadcrumb { font-size: .9rem; margin: 24px 0 34px; gap: 10px; } }
.breadcrumb a { color: var(--clr-ink-heading); }
.breadcrumb a:hover { color: var(--clr-rust-glow); }

.empty-state {
  text-align: center;
  padding: 40px 16px;
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
@media(min-width: 768px) { .empty-state { padding: 60px 24px; border-radius: var(--radius-md); margin: 36px 0; } }
.empty-state .ic { font-size: 3rem; margin-bottom: 10px; }

#site-footer {
  background: var(--clr-indigo-deep);
  color: #fff;
  padding: 50px 0 0;
  margin-top: 60px;
  border-top: 5px solid var(--clr-gold-bright);
}
@media(min-width: 768px) { #site-footer { padding: 70px 0 0; margin-top: 90px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
@media(min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; } }

#site-footer h4 {
  color: var(--clr-gold-bright);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
#site-footer a {
  display: block;
  color: #A4B1C6;
  font-size: .9rem;
  margin-bottom: 10px;
  font-weight: 500;
}
#site-footer a:hover {
  color: var(--clr-gold-bright);
  transform: translateX(4px);
}
.footer-bottom {
  text-align: center;
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .82rem;
  color: #7D8CA3;
  background: rgba(0, 0, 0, 0.25);
}

#site-footer .social-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
#site-footer .social-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}
#site-footer .social-row a:hover {
  background: var(--grad-rust-gold) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-glow-rust);
}
#site-footer .social-row svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

/* Mobile Nav Drawer */
.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 11, 23, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px; background: var(--clr-card-light); z-index: 9999;
  padding: 24px; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav-panel.open { transform: translateX(0); }
.mobile-nav-panel a {
  padding: 12px 0; border-bottom: 1px solid var(--clr-glass-border);
  font-weight: 800; color: var(--clr-ink-heading); font-size: 1rem;
}
.mobile-nav-panel a:hover { color: var(--clr-rust-glow); }

/* Form Components & Auth Extras */
.divider-or { text-align: center; margin: 20px 0; color: var(--clr-ink-muted); font-size: .85rem; position: relative; font-weight: 600; }
.divider-or::before, .divider-or::after { content: ''; position: absolute; top: 50%; width: 35%; height: 1px; background: var(--clr-glass-border); }
.divider-or::before { left: 0; } .divider-or::after { right: 0; }

.social-auth {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border: 1.5px solid var(--clr-glass-border); border-radius: var(--radius-xs);
  background: var(--clr-input-bg); font-weight: 800; font-size: .9rem; color: var(--clr-ink-heading);
  transition: all .25s; box-shadow: var(--shadow-sm);
}
.social-auth:hover { background: var(--clr-gold-soft); border-color: var(--clr-gold-bright); }

.auth-switch { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--clr-ink-muted); font-weight: 600; }
.auth-switch a { color: var(--clr-rust-glow); font-weight: 800; }

.order-row {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 16px; background: var(--clr-card-light); border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-xs); margin-bottom: 10px; font-weight: 600;
}
@media(min-width: 600px) {
  .order-row { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 20px; }
}
.review-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--clr-glass-border); }
.review-item .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-rust-gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

/* ==========================================================================
   Product Details Page Fixes & Enhancements
   ========================================================================== */
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.pd-rating-row .rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.pd-rating-row .rating svg {
  width: 15px !important;
  height: 15px !important;
  fill: var(--clr-gold-bright);
}
.stock-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--clr-emerald-light);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin: 8px 0 14px;
}
.pd-desc {
  font-size: 0.98rem;
  color: var(--clr-ink-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
@media(min-width: 768px) { .pd-desc { font-size: 1.05rem; margin-bottom: 24px; } }

.pd-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pd-meta-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--clr-glass-border);
}
.pd-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-glass-border);
  font-size: .88rem;
}
@media(min-width: 768px) { .pd-meta-list li { font-size: .92rem; padding: 12px 0; } }
.pd-meta-list li span {
  color: var(--clr-ink-muted);
}
.pd-meta-list li strong {
  color: var(--clr-ink-heading);
}
.rating-input {
  display: flex;
  gap: 6px;
}
.rating-input button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #CBD5E1;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.rating-input button.active,
.rating-input button:hover {
  color: var(--clr-gold-bright);
}

/* ইনস্ট্যান্ট সার্চ ড্রপডাউন বাগ ফিক্স */
#instant-search-dropdown:empty {
  display: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ==========================================================================
   মোবাইল রেসপন্সিভনেস — সম্পূর্ণ ফিক্স (কোনো HTML পরিবর্তন ছাড়াই)
   বিভিন্ন পেজে (about, index, contact, checkout, register, product-details,
   cart, order-track) ইনলাইন style="..." দিয়ে লেখা গ্রিড/প্যাডিং মোবাইলে
   ঠিকভাবে অ্যাডজাস্ট হচ্ছিল না — সেগুলো এখানে গ্লোবালি ফিক্স করা হলো।
   ========================================================================== */

/* ---- আগে ব্যবহৃত হলেও কখনো ডিফাইন করা হয়নি এমন থিম ভ্যারিয়েবল যোগ করা হলো
   (about/index/contact/checkout/product-details পেজে --clr-card, --clr-line,
   --clr-paper-2 ব্যবহার হয়েছিল, যার ফলে বর্ডার/ব্যাকগ্রাউন্ড অদৃশ্য হয়ে যাচ্ছিল) ---- */
:root {
  --clr-card: var(--clr-card-light);
  --clr-line: var(--clr-glass-border);
  --clr-paper-2: var(--clr-gold-soft);
}

/* ---- বেসিক সেফটি: iOS/Android-এ অটো টেক্সট-জুম বন্ধ, হরাইজন্টাল স্ক্রল বন্ধ ---- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}
body { max-width: 100vw; }
img, svg, video, iframe, canvas { max-width: 100%; }

/* ---- প্রোডাক্ট ডিটেইলস পেজ: কালার/সাইজ পিকার — অনেকগুলো অপশন থাকলে যেন
   লাইন ভেঙে পরের সারিতে যায়, স্ক্রিনের বাইরে চলে না যায় ---- */
#color-picker-row,
#size-picker-row {
  flex-wrap: wrap;
}

/* ---- কার্ট পেজের কুপন রো — আগে কোনো স্টাইল ডিফাইন করা ছিল না ---- */
.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.coupon-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-xs);
  background: #fff;
  font-size: .92rem;
}

/* ---- ট্যাবলেট/মোবাইলে (≤৭৬৭px) ইনলাইন স্টাইলে লেখা মাল্টি-কলাম গ্রিডগুলো
   এক কলামে নামিয়ে আনা — এগুলোর কোনো ক্লাস নেই বলে সাধারণ মিডিয়া কোয়েরি
   দিয়ে কাজ হয় না, তাই [style*="..."] অ্যাট্রিবিউট সিলেক্টর ব্যবহার করা হলো ---- */
@media (max-width: 767px) {
  /* about হিরো গ্রিড, checkout-এর ৪টি field-row, register field-row */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* contact — যোগাযোগের তথ্য বনাম ফর্ম */
  [style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* about — আমাদের মূল্যবোধ (৩ কলাম ইউএসপি স্ট্রিপ) */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* about — "আমাদের কারিগর পরিবারের অংশ হতে চান?" CTA ব্যানার */
  [style*="padding:60px 40px"] {
    padding: 32px 20px !important;
  }
  /* product-details — লোডিং স্পিনার এরিয়া */
  [style*="padding:60px 0;text-align:center;"] {
    padding: 40px 0 !important;
  }
  /* index — "প্রতিটি কারিগরের ন্যায্য মজুরি" স্টোরি ব্যানার */
  [style*="padding:50px;"] {
    padding: 24px 18px !important;
  }
  /* order-success — ধন্যবাদ পেজের প্যাডিং */
  [style*="padding:70px 24px 100px"] {
    padding: 40px 16px 60px !important;
  }
}

@media (max-width: 480px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1.2fr"] {
    gap: 14px !important;
  }
  .coupon-row {
    flex-direction: column;
  }
  .coupon-row button {
    width: 100%;
  }
  /* order-track — সার্চ ইনপুট ও বাটন খুব ছোট স্ক্রিনে আলাদা লাইনে */
  div:has(> #track-input) {
    flex-direction: column;
    align-items: stretch;
  }
  div:has(> #track-input) #track-btn {
    width: 100%;
  }
}

/* ---- খুব ছোট ফোনে (≤৩৬০px) হিরো ও হেডিং আরেকটু কমপ্যাক্ট করা ---- */
@media (max-width: 360px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 32px 0; }
  .hero-media img { height: 220px; }
  .btn { padding: 10px 16px; font-size: .85rem; }
  .wrap { padding: 0 12px; }
}

/* ---- টাচ-ফ্রেন্ডলি মিনিমাম সাইজ নিশ্চিত করা (Apple/Google-এর ৪৪px গাইডলাইন
   অনুসরণ করে বাটন, সিলেক্ট ও টেক্সট ইনপুটে) ---- */
@media (max-width: 767px) {
  .btn,
  select,
  textarea,
  input:not([type="checkbox"]):not([type="radio"]) {
    min-height: 42px;
  }
}

/* ---- ফর্ম কার্ড ও সামারি কার্ড খুব ছোট স্ক্রিনে যেন সাইড প্যাডিং কম হয়ে
   কনটেন্টের জায়গা বাড়ে ---- */
@media (max-width: 380px) {
  .form-card, .summary-card, .dash-panel, .filter-panel {
    padding: 16px;
  }
}

/* ---------------------------------------------------------------- */
/* Auth & Profile Dashboard (Fixed Clean Layout)                    */
/* ---------------------------------------------------------------- */
.dash-layout { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
  align-items: start; 
}
@media(min-width: 880px) { 
  .dash-layout { 
    grid-template-columns: 260px 1fr; 
    gap: 28px; 
  } 
}

.dash-nav {
  background: var(--clr-card-light); 
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm); 
  padding: 8px; 
  box-shadow: var(--shadow-sm);
  display: flex; 
  flex-direction: column; 
  gap: 4px;
}
@media(min-width: 768px) {
  .dash-nav {
    border-radius: var(--radius-md);
    padding: 12px;
    gap: 6px;
  }
}

.dash-nav a {
  display: flex; 
  align-items: center; 
  gap: 12px;
  padding: 12px 14px; 
  border-radius: var(--radius-xs);
  font-weight: 700; 
  font-size: .9rem; 
  color: var(--clr-ink-heading);
  background: transparent;
  box-shadow: none;
  transition: all .2s ease;
}

/* আইকনের সঠিক সাইজ ও কালার কন্ট্রোল */
.dash-nav a svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-indigo-deep);
  fill: none;
  flex-shrink: 0;
  transition: stroke .2s ease;
}

/* একটিভ বা হভার স্টেট */
.dash-nav a.active, 
.dash-nav a:hover { 
  background: var(--grad-rust-gold); 
  color: #fff; 
  box-shadow: var(--shadow-glow-rust);
}

.dash-nav a.active svg, 
.dash-nav a:hover svg { 
  stroke: #fff; 
}

.dash-panel {
  background: var(--clr-card-light); 
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm); 
  padding: 18px; 
  box-shadow: var(--shadow-md);
}
@media(min-width: 768px) { 
  .dash-panel { 
    padding: 30px; 
    border-radius: var(--radius-md); 
  } 
}

/* গ্লোবাল ফিক্স যেন sticky header সব পেজে কাজ করে */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ---- মোবাইল স্ক্রিন ফিট ও হরিজন্টাল স্ক্রোল বন্ধ করার পারফেক্ট ফিক্স ---- */
html {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  max-width: 100% !important;
  overflow-x: clip !important; /* modern browser fix: prevents horizontal scroll without breaking position: sticky */
  margin: 0;
  padding: 0;
  position: relative;
}

/* 100vw ব্যবহারে ভিউপোর্ট স্ক্রোলবার জনিত ওভারফ্লো ফিক্স */
*, *::before, *::after {
  box-sizing: border-box !important;
  max-width: 100%;
}

/* মোবাইল রেসপন্সিভে টেবিল বা প্রি-ফরম্যাটেড টেক্সটের ওভারফ্লো রোধ */
table, img, iframe, video {
  max-width: 100% !important;
}

#site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  background: var(--header-bg) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  border-bottom: 1px solid var(--clr-glass-border) !important;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.08) !important;
}

/* ---- প্রোডাক্ট কার্ড ও হাইট অপ্টিমাইজেশন ---- */
.product-card {
  background: var(--clr-card-light);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all .3s ease;
}

/* ছবির উচ্চতা কমানো হলো যাতে কার্ড লম্বায় ছোট দেখায় */
.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* আগে 1/1 (square) ছিল, এখন একটু চওড়া করা হলো */
  overflow: hidden;
  background: #EFE8DC;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

/* প্রোডাক্ট ইনফো সেকশনের প্যাডিং ও স্পেস কমানো হলো */
.product-info {
  padding: 10px 12px; /* প্যাডিং কমানো হলো */
  display: flex;
  flex-direction: column;
  gap: 4px; /* গ্যাপ কমানো হলো */
  flex: 1;
}
@media(min-width: 768px) { 
  .product-info { 
    padding: 14px 16px; 
    gap: 6px; 
  } 
}

/* ক্যাটাগরি ফন্ট সাইজ ছোট করা */
.product-info .cat {
  font-size: 0.68rem;
  color: var(--clr-emerald-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* প্রোডাক্টের নাম সর্বোচ্চ ২ লাইন নির্দিষ্ট করে দেওয়া, যাতে কার্ডের হাইট সমান থাকে */
.product-info h3 {
  font-size: 0.9rem;
  margin: 0;
  color: var(--clr-ink-heading);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* সর্বোচ্চ ২ লাইন */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4em; /* হাইট ফিক্সড করে দেওয়া */
}
@media(min-width: 768px) { 
  .product-info h3 { 
    font-size: 1rem; 
  } 
}

/* রেটিং স্টারের সাইজ ছোট করা */
.product-info .rating svg { 
  width: 12px; 
  height: 12px; 
}

/* প্রাইস রো মার্জিন কমানো */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.price { 
  font-weight: 800; 
  color: var(--clr-rust-glow); 
  font-size: 1rem; 
  font-family: var(--font-display); 
}
@media(min-width: 768px) { 
  .price { 
    font-size: 1.15rem; 
  } 
}

/* ---- প্রোডাক্ট ডিটেইলস ও পেজ হেডার ওভারল্যাপ ফিক্স ---- */
main.wrap {
  /* ফিক্সড হেডারের উচ্চতা হিসাব করে ওপরের দিকে পর্যাপ্ত স্পেস তৈরি করা হলো */
  padding-top: 30px;
}

@media(min-width: 768px) {
  main.wrap {
    padding-top: 40px;
  }
}

/* প্রোডাক্ট ডিটেইলস লেআউটের প্রথম এলিমেন্ট (ব্রেডক্রাম্ব বা মেইন গ্রিড) যেন হেডার থেকে দূরে থাকে */
.pd-layout {
  margin-top: 15px;
}

#wa-float-btn {
  position: fixed; bottom: 30px; right: 25px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); transition: transform .3s ease;
}
#wa-float-btn:hover { transform: scale(1.1); }

/* OTP Verification Modal */
.otp-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 11, 23, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.otp-modal-card {
  background: #fff;
  border: 2px solid var(--clr-gold-bright);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  max-width: 400px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn .3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.otp-input-group {
  display: flex; gap: 8px; justify-content: center;
  margin: 20px 0;
}
.otp-input-group input {
  width: 48px; height: 54px;
  border: 2px solid var(--clr-glass-border);
  border-radius: var(--radius-xs);
  text-align: center; font-size: 1.4rem; font-weight: 800;
  color: var(--clr-indigo-deep); outline: none;
}
.otp-input-group input:focus {
  border-color: var(--clr-rust-glow);
  box-shadow: 0 0 0 3px rgba(255, 69, 26, 0.15);
}

/* ==========================================================================
   ADVANCED UX & ENTERPRISE E-COMMERCE COMPONENTS
   ========================================================================== */

/* 1. Slide-over Cart Drawer */
.cart-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 11, 23, 0.7);
  backdrop-filter: blur(6px);
  z-index: 99998; opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: #fff; z-index: 99999;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.drawer-header {
  padding: 18px 20px; border-bottom: 1.5px solid var(--clr-glass-border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--clr-bg-canvas);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-footer { padding: 18px 20px; border-top: 1.5px solid var(--clr-glass-border); background: #fff; }

/* Free Shipping Progress Bar */
.free-ship-bar-wrap {
  background: rgba(255, 184, 0, 0.15); border: 1px solid var(--clr-gold-metallic);
  border-radius: var(--radius-xs); padding: 10px 14px; margin-bottom: 16px;
  font-size: 0.85rem; text-align: center; font-weight: 700; color: var(--clr-ink-heading);
}
.free-ship-progress {
  height: 6px; background: #EFE8DC; border-radius: 10px; overflow: hidden; margin-top: 6px;
}
.free-ship-fill { height: 100%; background: var(--grad-rust-gold); transition: width 0.4s ease; }

/* 2. Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px); border-top: 1px solid var(--clr-glass-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 9998; box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
@media(min-width: 920px) { .mobile-bottom-nav { display: none; } }

.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center;
  font-size: 0.68rem; font-weight: 700; color: var(--clr-indigo-deep);
  position: relative; text-decoration: none;
}
.mobile-bottom-nav a.active { color: var(--clr-rust-glow); }
.mobile-bottom-nav a svg { width: 20px; height: 20px; margin-bottom: 2px; stroke: currentColor; fill: none; }

/* 3. Instant Live Search Rows */
.search-item-row {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border-bottom: 1px solid var(--clr-glass-border); text-decoration: none;
  color: inherit; transition: background 0.2s;
}
.search-item-row:hover { background: var(--clr-gold-soft); }
.search-item-row img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-xs); }

/* 4. Order Tracking Stepper Timeline */
.track-stepper { display: flex; justify-content: space-between; margin: 30px 0; position: relative; }
.track-stepper::before {
  content: ''; position: absolute; top: 18px; left: 10%; right: 10%; height: 3px;
  background: var(--clr-glass-border); z-index: 0;
}
.step-item { position: relative; z-index: 1; text-align: center; width: 25%; }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%; background: var(--clr-input-bg);
  border: 3px solid var(--clr-glass-border); margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: var(--clr-ink-muted);
}
.step-item.active .step-dot { border-color: var(--clr-rust-glow); background: var(--clr-rust-glow); color: #fff; }
.step-label { font-size: 0.78rem; font-weight: 700; color: var(--clr-ink-heading); }

/* ==========================================================================
   মোবাইল হেডার ক্লিনআপ (শুধু লোগো ও মেনু বাটন থাকবে)
   ========================================================================== */
@media (max-width: 919px) {
  /* সার্চ বক্স ও অন্যান্য হেডার লিংক হাইড নিশ্চিত করা */
  .search-box,
  .nav-links {
    display: none !important;
  }

  /* হেডারের ডানপাশ থেকে উইশলিস্ট, কার্ট এবং অ্যাকাউন্ট বাটন লুকিয়ে ফেলা */
  .nav-actions > .icon-btn:not(.mobile-toggle) {
    display: none !important;
  }

  /* শুধু মোবাইল মেনু (হ্যামবার্গার) বাটনটি দৃশ্যমান থাকবে */
  .mobile-toggle {
    display: flex !important;
  }

  /* লোগো ও মেনু বাটন যেন সুন্দরভাবে দুই প্রান্তে থাকে */
  .nav-row {
    justify-content: space-between !important;
  }
}

/* ==========================================================================
   হোয়াটসঅ্যাপ ফ্লোটিং বাটন ফিক্স (মোবাইলে বটম নেভিগেশনের ওপর থাকবে)
   ========================================================================== */
#wa-float-btn {
  position: fixed !important;
  bottom: 30px;
  right: 25px;
  z-index: 99999 !important; /* যেন বাটনটি সবার ওপরে দৃশ্যমান থাকে */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

/* মোবাইল স্ক্রিনে (যেখানে নিচের মেনু বার থাকে) */
@media (max-width: 919px) {
  #wa-float-btn {
    bottom: 80px !important; /* নিচের ৬২px নেভিগেশন বারের ঠিক উপরে তুলে দেওয়া হলো */
    right: 16px !important;  /* মোবাইলের ডানপাশে সুন্দর মার্জিন */
    width: 48px !important;   /* মোবাইলের জন্য হালকা কম্প্যাক্ট সাইজ */
    height: 48px !important;
  }
}

/* ==========================================================================
   Dark Mode Component Styles
   ========================================================================== */

/* স্মুথ ট্রানজিশন এনিমেশন */
body, header, footer, .product-card, .form-card, .summary-card, 
.cat-chip, input, select, textarea, .dash-panel, .cart-drawer, .mobile-bottom-nav {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

/* ডার্ক মোডে ইনপুট ফিল্ড, সিলেক্ট বক্স ও টেক্সট-এরিয়া */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: var(--clr-input-bg) !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
}

/* ডার্ক মোডে হেডার ও লোগো টেক্সট */
[data-theme="dark"] #site-header {
  background: var(--header-bg) !important;
}

[data-theme="dark"] .brand {
  color: #F8FAFC !important;
}

[data-theme="dark"] .nav-links a {
  color: #CBD5E1 !important;
}

/* ডার্ক মোডে আইকন বাটনসমূহ */
[data-theme="dark"] .icon-btn {
  background: #1E293B !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
}
[data-theme="dark"] .icon-btn svg {
  stroke: #F8FAFC !important;
}

/* ডার্ক মোডে ক্যাটালগ চিপ, ড্রয়ার ও বটম বার */
[data-theme="dark"] .cat-chip {
  background: var(--grad-glass-card) !important;
}
[data-theme="dark"] .cat-chip span {
  color: #F8FAFC !important;
}

[data-theme="dark"] .mobile-bottom-nav,
[data-theme="dark"] .cart-drawer,
[data-theme="dark"] .mobile-nav-panel,
[data-theme="dark"] .drawer-header,
[data-theme="dark"] .drawer-footer {
  background: #0E172A !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .mobile-bottom-nav a {
  color: #CBD5E1 !important;
}
[data-theme="dark"] .mobile-bottom-nav a.active {
  color: var(--clr-rust-glow) !important;
}

/* ডার্ক মোডে পপআপ মোডাল */
[data-theme="dark"] .otp-modal-card {
  background: #0E172A !important;
  color: #F8FAFC !important;
}

/* ডার্ক মোডে প্লেসহোল্ডার/স্কেলিটন ব্যাকগ্রাউন্ড (লোডিং অবস্থায় সাদা ফ্ল্যাশ বন্ধ করা) */
[data-theme="dark"] .product-thumb,
[data-theme="dark"] .free-ship-progress {
  background: #1E293B !important;
}
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #182034 25%, #232f4a 37%, #182034 63%) !important;
  background-size: 400% 100% !important;
}

/* ==========================================================================
   মোবাইল হেডার ফিক্স (ফোন স্ক্রিনে থিম বাটন ও মেনু বাটন দৃশ্যমান রাখা)
   ========================================================================== */
@media (max-width: 919px) {
  /* সার্চ বক্স ও সাধারণ লিংক হাইড করা */
  .search-box,
  .nav-links {
    display: none !important;
  }

  /* উইশলিস্ট, কার্ট ও অ্যাকাউন্ট বাটন লুকিয়ে রাখা (এগুলো নিচে বটম বারে আছে) */
  .nav-actions > .icon-btn:not(.mobile-toggle):not(#theme-toggle-btn) {
    display: none !important;
  }

  /* মোবাইলে থিম টগল বাটন এবং মেনু (হ্যামবার্গার) বাটন দুটোই দৃশ্যমান থাকবে */
  .mobile-toggle,
  #theme-toggle-btn {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
  }

  /* মোবাইলে বাটন দুটির মধ্যে সুন্দর গ্যাপ রাখা */
  .nav-actions {
    gap: 8px !important;
  }

  /* লোগো এবং ডানপাশের বাটনগুলো দুই প্রান্তে সুন্দরভাবে থাকবে */
  .nav-row {
    justify-content: space-between !important;
    padding: 10px 14px !important;
  }
}

/* ==========================================================================
   UI, Dark Mode & Mobile Navigation Fixes
   ========================================================================== */

/* ১. হোয়াটসঅ্যাপ ফ্লোটিং বাটন পজিশন ফিক্স (মোবাইল বারের উপরে) */
#wa-float-btn {
  position: fixed;
  bottom: 85px;
  right: 18px;
  z-index: 998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

#wa-float-btn:hover {
  transform: scale(1.08);
}

@media (min-width: 769px) {
  #wa-float-btn {
    bottom: 30px;
    right: 24px;
  }
}

/* ২. ডার্ক মোডে বাটনের টেক্সট কালার ও কনট্রাস্ট ফিক্স */
[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .btn-outline:hover {
  background: var(--clr-rust-glow, #FF451A);
  border-color: var(--clr-rust-glow, #FF451A);
  color: #FFFFFF !important;
}

/* ৩. মোবাইল কন্টেন্ট সেফ প্যাডিং (যাতে কন্টেন্ট বটম বারের নিচে ঢাকা না পড়ে) */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}

/* ==========================================================================
   প্রোডাক্ট কার্ডের হাইট কমানোর কোড (Product Card Height Reduction)
   ========================================================================== */

/* ১. ছবির উচ্চতা আরও ছোট করা (১৬:১০ বা ১৬:৯ রেশিও) */
.product-thumb {
  aspect-ratio: 16 / 10 !important; /* আগে ৪/৩ ছিল, এখন লম্বায় আরও ছোট দেখাবে */
}

/* ২. নিচের টেক্সট সেকশনের প্যাডিং ও গ্যাপ কমানো */
.product-info {
  padding: 8px 10px !important;
  gap: 2px !important;
}

/* ৩. প্রোডাক্টের নাম ১ লাইনে সীমাবদ্ধ করা (যাতে নাম বেশি লম্বা হলে কার্ড বড় না হয়) */
.product-info h3 {
  font-size: 0.85rem !important;
  line-height: 1.25 !important;
  -webkit-line-clamp: 1 !important; /* সর্বোচ্চ ১ লাইন দেখাবে */
  height: 1.3em !important;
}

/* ৪. দামের অংশের স্পেসিং কমপ্যাক্ট করা */
.price-row {
  padding-top: 2px !important;
}

.price {
  font-size: 0.95rem !important;
}

/* 🎬 নেটিভ প্রিমিয়াম ভিডিও প্লেয়ার স্টাইল */
.native-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px; /* শর্টস/রিলসের জন্য পারফেক্ট সাইজ */
  margin: 15px auto 0;
  aspect-ratio: 9 / 16; /* ভার্টিক্যাল শর্টস ভিডিওর জন্য */
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--clr-glass-border, rgba(212, 155, 39, 0.4));
}

/* যদি ভিডিওটি অনুভূমিক (Horizontal/16:9) হয় তার জন্য ক্লাসরুল */
.native-video-wrapper.horizontal {
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

/* ইউটিউবের বর্ডার ও টাইটেল ক্রপ করার জন্য জুম ট্রিক */
.native-video-wrapper iframe {
  position: absolute;
  top: -12%;  /* উপরের Title ও Channel Avatar ক্রপ করে দেবে */
  left: -12%;
  width: 124%; /* জুমিং বাড়িয়ে সাইড এডজাস্টমেন্ট */
  height: 124%;
  border: 0;
}

/* Auth Standalone Modal Backdrop Fix */
body:has(.auth-page-wrapper) #site-header,
body:has(.auth-page-wrapper) #site-footer,
body:has(.auth-page-wrapper) .mobile-bottom-nav {
  display: none !important;
}

/* 🛠️ শর্তাবলী চেক বক্সের স্পেশাল ফিক্স */
.terms-field {
  margin-top: 14px !important;
  margin-bottom: 16px !important;
}

.terms-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--clr-ink-heading) !important;
  user-select: none;
  line-height: 1.4;
}

/* .field input-এর width:100% ওভাররাইড করা হলো */
.terms-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  accent-color: var(--clr-rust-glow, #FF451A) !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
}

.terms-label a {
  color: var(--clr-rust-glow, #FF451A) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   PHASE 2: SOCIAL PROOF & TRUST COMPONENTS
   ========================================================================== */

/* 🔔 ১. রিসেন্ট সেলস পপআপ নোটিফিকেশন */
.sales-popup-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9995;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--clr-gold-bright, #FFB800);
  border-radius: var(--radius-sm, 14px);
  padding: 10px 14px;
  box-shadow: 0 12px 35px rgba(6, 11, 23, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  animation: slideInSales 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .sales-popup-toast {
    bottom: 75px; /* মোবাইলে বটম মেনুর উপরে থাকবে */
    left: 12px;
    max-width: calc(100vw - 24px);
  }
}

@keyframes slideInSales {
  from { opacity: 0; transform: translateY(25px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sales-popup-toast img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-xs, 8px);
  border: 1px solid var(--clr-glass-border);
  flex-shrink: 0;
}

.sales-popup-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  color: var(--clr-ink-muted);
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

/* ✔️ ২. ভেরিফাইড বায়্যার ব্যাজ (Verified Buyer Badge) */
.verified-buyer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E6F4EA;
  color: #137333;
  border: 1px solid #A8DADC;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
}

/* ==========================================================================
   PHASE 3: MARKETING, FLASH SALE & REWARD POINTS STYLES
   ========================================================================== */

/* ⚡ ১. ফ্ল্যাশ সেল ব্যানার ও কাউন্টডাউন টাইমার */
.flash-sale-banner {
  background: linear-gradient(135deg, #070E1B 0%, #1A0A16 50%, #070E1B 100%);
  border: 2px solid var(--clr-gold-bright, #FFB800);
  border-radius: var(--radius-md, 20px);
  padding: 32px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(255, 69, 26, 0.2);
  margin-bottom: 20px;
}
.flash-sale-banner h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.flash-sale-banner p { color: #D1D8E6; margin-bottom: 18px; font-size: 0.92rem; }

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}
.timer-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--clr-gold-bright, #FFB800);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xs, 10px);
  padding: 8px 14px;
  min-width: 65px;
}
.timer-box strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-display);
  color: var(--clr-gold-bright, #FFB800);
  line-height: 1;
}
.timer-box span {
  font-size: 0.72rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* 🎁 ২. কাস্টমার রিওয়ার্ড পয়েন্ট কার্ড */
.reward-card {
  background: linear-gradient(135deg, #FFF3D6 0%, #FFE6B3 100%);
  border: 1.5px solid var(--clr-gold-bright);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6E4D00;
  font-size: 0.9rem;
}
.reward-card strong { font-size: 1.2rem; color: var(--clr-rust-glow); }

/* ==========================================================================
   🔍 SEARCH DROPDOWN & CATEGORY CHIPS LAYOUT FIX
   ========================================================================== */

/* ১. লাইভ সার্চ ড্রপডাউন পপআপ ফিক্স */
.search-box {
  position: relative !important;
}

#instant-search-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 320px !important;
  background: var(--clr-card-light, #ffffff) !important;
  backdrop-filter: blur(16px) !important;
  border: 2px solid var(--clr-gold-bright, #FFB800) !important;
  border-radius: var(--radius-sm, 14px) !important;
  box-shadow: 0 15px 40px rgba(6, 11, 23, 0.22) !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  max-height: 380px !important;
  overflow-y: auto !important;
  padding: 4px 0 !important;
}

.search-item-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--clr-glass-border, rgba(212, 155, 39, 0.2)) !important;
  text-decoration: none !important;
  color: var(--clr-ink-heading) !important;
  transition: background 0.2s ease !important;
}

.search-item-row:last-child {
  border-bottom: none !important;
}

.search-item-row:hover {
  background: var(--clr-gold-soft, #FFF3D6) !important;
}

.search-item-row img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  border-radius: var(--radius-xs, 8px) !important;
  border: 1px solid var(--clr-glass-border) !important;
  flex-shrink: 0 !important;
}

/* ২. ক্যাটাগরি বক্সের আইকন ও নাম কাট-অফ ফিক্স */
.cat-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 8px !important;
  background: var(--grad-glass-card) !important;
  border: 1.5px solid var(--clr-glass-border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-sm) !important;
  text-align: center !important;
  text-decoration: none !important;
  min-height: 110px !important;
}

.cat-chip .ic {
  width: 46px !important;
  height: 46px !important;
  margin-bottom: 8px !important;
  border-radius: 50% !important;
  background: var(--clr-gold-soft) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.cat-chip .ic svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--clr-rust-glow, #FF451A) !important;
  fill: none !important;
  stroke-width: 2 !important;
}

.cat-chip span {
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  color: var(--clr-ink-heading) !important;
  line-height: 1.2 !important;
  display: block !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
/* 📸 CUSTOMER PHOTO WALL STYLES */
.photo-wall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .photo-wall-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .photo-wall-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.photo-wall-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3));
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #000;
}

.photo-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.photo-wall-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.photo-wall-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 11, 23, 0.92) 0%, rgba(6, 11, 23, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-wall-item:hover .photo-wall-overlay {
  opacity: 1;
}

.photo-wall-overlay strong {
  font-size: 0.88rem;
  color: #ffffff;
  margin-top: 2px;
}

.photo-wall-overlay p {
  font-size: 0.75rem;
  margin: 3px 0 0;
  color: #D1D8E6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill, 20px);
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3));
  background: #ffffff;
  color: var(--clr-ink-heading, #111);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  border-color: var(--clr-rust-glow, #FF451A);
  color: var(--clr-rust-glow, #FF451A);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-filter-btn { display: inline-flex !important; align-items: center; gap: 6px; }
  .filter-panel {
    position: fixed; inset: 0; z-index: 99999; background: #fff;
    padding: 24px; overflow-y: auto; display: none;
    animation: slideUp 0.3s ease;
  }
  .filter-panel.open { display: block !important; }
}
@media (min-width: 769px) {
  .mobile-filter-btn { display: none !important; }
}
@media (max-width: 480px) {
  .track-header-btn {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
  }
}

/* 📱 মোবাইল সার্চ বার ও ড্রয়ার স্টাইল */
.mobile-search-drawer {
  display: none;
  background: var(--clr-bg-canvas, #FFF9F5);
  padding: 10px 16px;
  border-bottom: 1.5px solid var(--clr-glass-border, #d49b27);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.mobile-search-drawer.open {
  display: block !important;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-search-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill, 20px);
  border: 1.5px solid var(--clr-glass-border, #d49b27);
  font-size: 0.9rem;
  background: #ffffff;
  outline: none;
}

@media (min-width: 769px) {
  .mobile-search-toggle,
  .mobile-search-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   LUXURY AUTO-SCROLLING HORIZONTAL CAROUSEL (TESTIMONIALS & PHOTO WALL)
   ========================================================================== */

/* ১. কমন হরিজন্টাল স্ক্রোল কন্টেইনার */
.testi-grid,
.photo-wall-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  overflow-x: auto !important;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 15px 8px 30px 8px !important;
  scrollbar-width: none !important; /* Firefox hidden scrollbar */
  -ms-overflow-style: none !important;
  cursor: grab;
}

.testi-grid::-webkit-scrollbar,
.photo-wall-grid::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera hidden scrollbar */
}

.testi-grid:active,
.photo-wall-grid:active {
  cursor: grabbing;
}

/* -------------------------------------------------- */
/* 🌟 টেস্টোমোনিয়াল (ক্রেতাদের মতামত) লক্স ডিজাইন */
/* -------------------------------------------------- */
.testi-card {
  flex: 0 0 320px !important; /* এক লাইনে ফিক্সড উইডথ */
  max-width: 320px !important;
  background: var(--grad-glass-card, linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,248,238,0.85) 100%)) !important;
  backdrop-filter: blur(16px) !important;
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.28)) !important;
  border-radius: var(--radius-md, 20px) !important;
  padding: 26px 22px !important;
  box-shadow: 0 10px 30px rgba(10, 17, 40, 0.08) !important;
  position: relative !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none;
}

.testi-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  box-shadow: 0 15px 35px rgba(255, 184, 0, 0.3) !important;
}

.testi-card::before {
  content: '“' !important;
  position: absolute !important;
  top: 6px !important;
  right: 18px !important;
  font-family: var(--font-display) !important;
  font-size: 5rem !important;
  color: rgba(212, 155, 39, 0.18) !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.testi-card .stars {
  display: flex !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
  color: var(--clr-gold-bright, #FFB800) !important;
  font-size: 1rem !important;
}

.testi-card p {
  font-size: 0.93rem !important;
  color: var(--clr-ink-body, #333A48) !important;
  line-height: 1.6 !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 0 18px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testi-user {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-top: 1px dashed rgba(212, 155, 39, 0.3) !important;
  padding-top: 14px !important;
}

.testi-user .av {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%)) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 12px rgba(255, 69, 26, 0.3) !important;
  border: 2px solid #fff !important;
  flex-shrink: 0 !important;
}

/* -------------------------------------------------- */
/* 📸 হ্যাপি ক্লায়েন্টস ফটো ওয়াল (Photo Wall) লক্স ডিজাইন */
/* -------------------------------------------------- */
.photo-wall-item {
  flex: 0 0 220px !important; /* এক লাইনে ফিক্সড উইডথ */
  max-width: 220px !important;
  height: 290px !important;
  position: relative !important;
  border-radius: var(--radius-md, 20px) !important;
  overflow: hidden !important;
  border: 2px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
  box-shadow: var(--shadow-md) !important;
  cursor: pointer !important;
  background: #060B17 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none;
}

.photo-wall-item:hover {
  transform: translateY(-8px) scale(1.03) !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  box-shadow: 0 14px 30px rgba(255, 184, 0, 0.35) !important;
}

.photo-wall-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease, filter 0.5s ease !important;
}

.photo-wall-item:hover img {
  transform: scale(1.1) !important;
  filter: brightness(0.9);
}

.photo-wall-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(6, 11, 23, 0.95) 0%, rgba(6, 11, 23, 0.3) 50%, transparent 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 16px 14px !important;
  color: #fff !important;
  opacity: 0.9 !important;
  transition: opacity 0.3s ease !important;
}

.photo-wall-overlay strong {
  font-size: 0.95rem !important;
  color: var(--clr-gold-bright, #FFB800) !important;
  font-family: var(--font-display) !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.photo-wall-overlay p {
  font-size: 0.78rem !important;
  margin: 4px 0 0 0 !important;
  color: #E2E8F0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35 !important;
}

/* ডার্ক মোড সাপোর্ট */
[data-theme="dark"] .testi-card {
  background: linear-gradient(135deg, #0E172A 0%, #152238 100%) !important;
  border-color: rgba(255, 184, 0, 0.22) !important;
}
[data-theme="dark"] .testi-card p {
  color: #CBD5E1 !important;
}

.testi-grid,
.photo-wall-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  overflow-x: auto !important;
  scroll-behavior: auto !important; /* ব্রাউজারের ব্যাকওয়ার্ড স্ক্রোলিং বন্ধ করবে */
  -webkit-overflow-scrolling: touch;
  padding: 15px 8px 30px 8px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.timer-box strong {
  font-variant-numeric: tabular-nums !important; /* সব ডিজিটের উইডথ সমান রাখবে */
  display: inline-block;
  min-width: 40px;
}

/* ==========================================================================
   📱 ULTRA-LUXURY MOBILE OPTIMIZED FOOTER STYLES
   ========================================================================== */

#site-footer {
  background: var(--clr-indigo-deep, #060B17) !important;
  color: #fff !important;
  padding: 45px 0 0 0 !important;
  margin-top: 50px !important;
  border-top: 4px solid var(--clr-gold-bright, #FFB800) !important;
  position: relative;
}

/* সোশ্যাল ডায়াল চিপস */
.footer-social-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.social-chip {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 184, 0, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.social-chip:hover {
  background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%)) !important;
  transform: translateY(-3px) scale(1.05) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(255, 69, 26, 0.4) !important;
}

/* কন্টাক্ট বাটন কার্ড */
.contact-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(212, 155, 39, 0.3) !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm, 14px) !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.footer-contact-btn:hover {
  background: rgba(255, 184, 0, 0.12) !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  transform: translateY(-2px) !important;
}

.footer-contact-btn .ic-wrap {
  font-size: 1.3rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-btn small {
  display: block;
  font-size: 0.72rem;
  color: #94A3B8;
}

.footer-contact-btn strong {
  display: block;
  font-size: 0.88rem;
  color: var(--clr-gold-bright, #FFB800);
}

.footer-address {
  font-size: 0.82rem;
  color: #A4B1C6;
  margin-top: 10px;
  line-height: 1.4;
}

/* 📱 মোবাইল স্পেসিফিক রেসপন্সিভ ফিক্স (≤৭৬৮px) */
@media (max-width: 768px) {
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    padding-bottom: 30px !important;
  }

  /* লিঙ্কসমূহ মোবাইলে ২ কলামে থাকবে */
  .footer-links-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-sm, 14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-col h4,
  #site-footer h4 {
    color: var(--clr-gold-bright, #FFB800) !important;
    font-size: 0.98rem !important;
    margin-bottom: 12px !important;
    font-weight: 800 !important;
  }

  .footer-col a {
    display: block !important;
    color: #CBD5E1 !important;
    font-size: 0.85rem !important;
    padding: 4px 0 !important;
    text-decoration: none !important;
  }

  /* মোবাইলের নিচের নেভিগেশন বারের জন্য সেফ প্যাডিং */
  .footer-bottom {
    padding: 18px 16px 85px 16px !important; /* ৮৫px প্যাডিং যাতে মোবাইল বটম মেনু লেখা না ঢাকে */
    background: rgba(0, 0, 0, 0.4) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #94A3B8 !important;
  }
}

/* 🖥️ ডেস্কটপ ডিসপ্লে (≥৭৬৯px) */
@media (min-width: 769px) {
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1.6fr 1.1fr !important;
    gap: 36px !important;
    padding-bottom: 40px !important;
  }
  .footer-links-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   🟢 ULTRA-LUXURY FLOATING WHATSAPP BUTTON WITH PULSE GLOW
   ========================================================================== */

#wa-float-btn {
  position: fixed !important;
  bottom: 30px !important; /* ডেস্কটপ ভিউ পজিশন */
  right: 25px !important;
  z-index: 99999 !important; /* সব কন্টেন্টের উপরে থাকবে */
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  animation: waPulseGlow 2.5s infinite !important;
}

#wa-float-btn:hover {
  transform: scale(1.12) translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6) !important;
  background: #20BA5A !important;
}

#wa-float-btn svg {
  width: 28px !important;
  height: 28px !important;
  fill: #ffffff !important;
}

/* পল্স বা গ্লো অ্যানিমেশন */
@keyframes waPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 📱 মোবাইল স্ক্রিনে বটম মেনু বারের ঠিক উপরে পজিশনিং ফিক্স */
@media (max-width: 768px) {
  #wa-float-btn {
    bottom: 85px !important; /* মোবাইলের ৬২px নিচের নেভিগেশন বারের ঠিক উপরে */
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
  }
  #wa-float-btn svg {
    width: 25px !important;
    height: 25px !important;
  }
}

/* ==========================================================================
   📱 MOBILE RESPONSIVE RE-ORDERING FOR PRODUCT DETAILS PAGE
   ========================================================================== */
@media (max-width: 768px) {
  /* ১. মেইন লেআউটকে সিঙ্গেল কলাম গ্রিড বানানো */
  .pd-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ২. গ্যালারি ও ইনফো কন্টেইনারকে unbox করে চাইল্ড এলিমেন্টগুলোকে রিকনফিগার করা */
  .pd-gallery,
  .pd-info {
    display: contents !important;
  }

  /* 🥇 Order 1: ক্যাটাগরি/ব্র্যান্ড ট্যাগ */
  #pd-cat {
    order: 1 !important;
    font-size: 0.78rem !important;
    margin-bottom: 2px !important;
  }

  /* 🥇 Order 2: প্রোডাক্টের নাম (Title) — ছবির উপরে দৃশ্যমান হবে */
  #pd-name {
    order: 2 !important;
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    color: var(--clr-ink-heading);
  }

  /* 🥇 Order 3: স্টার ও রিভিউ সংখ্যা */
  .pd-rating-row {
    order: 3 !important;
    margin: 0 0 10px 0 !important;
  }

  /* 🖼️ Order 4: প্রোডাক্টের মেইন ছবি */
  #main-image-box {
    order: 4 !important;
    margin-bottom: 8px !important;
  }

  /* 🖼️ Order 5: ছোট থাম্বনেইল ছবিসমূহ */
  #pd-thumbs {
    order: 5 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  /* 💰 Order 6: প্রোডাক্টের দাম (Price) */
  #pd-price {
    order: 6 !important;
    font-size: 1.6rem !important;
    margin-bottom: 4px !important;
  }

  /* ⚡ Order 7: স্টক অ্যালার্ট বা ওয়ার্নিং ব্যাজ */
  #pd-stock-wrap {
    order: 7 !important;
    margin-bottom: 6px !important;
  }

  /* 🚚 Order 8: আনুমানিক ডেলিভারি কার্ড */
  .delivery-estimate-card {
    order: 8 !important;
    margin: 8px 0 12px 0 !important;
  }

  /* 🏷️ Order 9: সাইজ / কালার / ভ্যারিয়েন্ট অপশন */
  #variant-options-wrap,
  #legacy-variant-wrap {
    order: 9 !important;
    margin: 10px 0 !important;
  }

  /* 🔢 Order 10: পরিমাণ (Quantity Stepper) */
  .pd-info > div:has(.qty-stepper) {
    order: 10 !important;
    margin-top: 6px !important;
  }

  /* 🛒 Order 11: কার্ট, বাই নাও ও হোয়াটসঅ্যাপ বাটন */
  .pd-actions {
    order: 11 !important;
    margin-top: 12px !important;
  }

  /* 📄 Order 12: শর্ট ডেসক্রিপশন (বিবরণ) */
  #pd-desc {
    order: 12 !important;
    margin-top: 12px !important;
  }

  /* 🔗 Order 13: সোশ্যাল শেয়ার বাটন (Facebook, WhatsApp share) */
  .share-box {
    order: 13 !important;
    margin-top: 16px !important;
  }

  /* 🎬 Order 14: ভিডিও প্রিভিউ (একেবারে নিচে চলে যাবে) */
  #pd-video-wrap {
    order: 14 !important;
    margin-top: 16px !important;
  }

  /* 📋 Order 15: স্পেসিফিকেশন টেবিল */
  #pd-specs {
    order: 15 !important;
  }
}

/* ==========================================================================
   📱 PERFECT MOBILE RE-ORDERING & DARK MODE FIX
   ========================================================================== */
@media (max-width: 768px) {
  /* ১. মেইন কনটেইনারকে ১-কলাম গ্রিড বানানো */
  #pd-content.pd-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ২. গ্যালারি ও ইনফো ডিভ দুটির বাউন্ডারি তুলে দেওয়া */
  .pd-gallery,
  .pd-info {
    display: contents !important;
  }

  /* ৩. সব চাইল্ডের ডিফল্ট অর্ডার ৯৯ করা (যাতে কোনো কিছু ভুল করে উপরে না ওঠে) */
  .pd-gallery > *,
  .pd-info > * {
    order: 99 !important;
  }

  /* ------------------ সঠিকভাবে ক্রমানুসারে সাজানো ------------------ */
  
  /* 🥇 ১. ক্যাটালগ/ব্র্যান্ড ট্যাগ */
  #pd-cat {
    order: 1 !important;
    font-size: 0.8rem !important;
  }

  /* 🥇 ২. প্রোডাক্টের নাম (Title) — ছবি ও ভিডিওর উপরে থাকবে */
  #pd-name {
    order: 2 !important;
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin: 4px 0 !important;
  }

  /* 🥇 ৩. স্টার রেটিং ও রিভিউ সংখ্যা */
  .pd-rating-row {
    order: 3 !important;
    margin-bottom: 8px !important;
  }

  /* 🖼️ ৪. মূল ছবি (Main Image Box) */
  #main-image-box {
    order: 4 !important;
    margin-bottom: 6px !important;
  }

  /* 🖼️ ৫. ছবির ছোট থাম্বনেইলগুলো */
  #pd-thumbs {
    order: 5 !important;
    margin-bottom: 10px !important;
  }

  /* 💰 ৬. প্রোডাক্টের প্রাইজ (Price) */
  #pd-price {
    order: 6 !important;
    font-size: 1.5rem !important;
    margin-bottom: 4px !important;
  }

  /* ⚡ ৭. স্টক টেক্সট/ব্যাজ */
  #pd-stock-wrap {
    order: 7 !important;
  }

  /* 🚚 ৮. ডেলিভারি টাইম কার্ড */
  .delivery-estimate-card {
    order: 8 !important;
    margin: 8px 0 !important;
  }

  /* 🏷️ ৯. সাইজ / কালার অপশন */
  #variant-options-wrap,
  #legacy-variant-wrap {
    order: 9 !important;
  }

  /* 🔢 ১০. পরিমাণ (Quantity Counter) */
  .pd-info > div:has(.qty-stepper) {
    order: 10 !important;
  }

  /* 🛒 ১১. কার্ট, বাই নাও ও হোয়াটসঅ্যাপ বাটন */
  .pd-actions {
    order: 11 !important;
    margin-top: 10px !important;
  }

  /* 📄 ১২. শর্ট ডেসক্রিপশন (বিবরণ) */
  #pd-desc {
    order: 12 !important;
    margin-top: 10px !important;
  }

  /* 🔗 ১৩. শেয়ার বাটনসমূহ */
  .share-box {
    order: 13 !important;
    margin-top: 14px !important;
  }

  /* 🎬 ১৪. ভিডিও প্রিভিউ (এখন নিশ্চিতভাবে এটি শেয়ারের নিচে থাকবে) */
  #pd-video-wrap {
    order: 14 !important;
    margin-top: 14px !important;
  }

  /* 📋 ১৫. স্পেসিফিকেশন */
  #pd-specs {
    order: 15 !important;
  }
}

/* 🌙 ডার্ক মোডে শেয়ার বাটনের লেখা ও ব্যাকগ্রাউন্ড ফিক্স */
[data-theme="dark"] .share-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
}

[data-theme="dark"] .share-btn:hover {
  background: var(--clr-rust-glow, #FF451A) !important;
  color: #FFFFFF !important;
}

/* 🟢 হোয়াটসঅ্যাপ ফ্লোটিং বাটন পজিশন ফিক্স */
#wa-float-btn {
  position: fixed !important;
  right: 14px !important;
  bottom: 85px !important;
  z-index: 999999 !important;
}

/* ==========================================================================
   📱 MOBILE STICKY BOTTOM CART BAR FIX
   ========================================================================== */
.sticky-bottom-cart-bar {
  position: fixed !important;
  bottom: 62px !important; /* মোবাইল নেভিগেশন বারের ঠিক উপরে বসানো হয়েছে */
  left: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  border-top: 2px solid var(--clr-gold-bright, #FFB800) !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  z-index: 99999 !important; /* নেভিগেশন বারের উপরে দৃশ্যমান রাখার জন্য high z-index */
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(200%) !important; /* ডিফল্টভাবে লুকিয়ে থাকবে */
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* যখন মূল বাটন স্ক্রোলের বাইরে চলে যাবে তখন এটি ভেসে উঠবে */
.sticky-bottom-cart-bar.visible {
  transform: translateY(0) !important;
}

/* 🌙 ডার্ক মোড সাপোর্ট */
[data-theme="dark"] .sticky-bottom-cart-bar {
  background: rgba(14, 23, 42, 0.98) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] #sticky-bar-title {
  color: #94A3B8 !important;
}

/* 🖥️ ডেস্কটপে সম্পূর্ণ হাইড থাকবে */
@media (min-width: 769px) {
  .sticky-bottom-cart-bar {
    display: none !important;
  }
}

/* ==========================================================================
   📌 PRODUCT TITLE BOLD & SIZE FIX FOR MOBILE
   ========================================================================== */

/* প্রোডাক্টের নাম ডিপ বোল্ড ও রেসপন্সিভ সাইজ */
#pd-name {
  font-weight: 800 !important; /* সম্পূর্ণ বোল্ড করা হলো */
  color: var(--clr-ink-heading, #0A1128) !important;
  letter-spacing: -0.01em !important;
}

/* 📱 মোবাইল স্ক্রিনের জন্য বিশেষ সাইজ ও বোল্ডনেস */
@media (max-width: 768px) {
  #pd-name {
    font-size: 1.6rem !important; /* আগে ১.৩rem ছিল, এখন বড় ও আকর্ষণীয় দেখাবে */
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 8px 0 10px 0 !important;
  }
  
  /* নিচের ফ্লোটিং কার্ট বারের ভেতরের নাম ফিক্স */
  #sticky-bar-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--clr-ink-heading) !important;
  }
}

/* ==========================================================================
   🌙 DARK MODE TAB CONTENT & TEXT CONTRAST FIX
   ========================================================================== */

/* ১. ডার্ক মোডে ট্যাবের ভেতরের ডেসক্রিপশন ও সব লেখার কালার স্পষ্ট করা */
[data-theme="dark"] .tab-panel,
[data-theme="dark"] .tab-panel p,
[data-theme="dark"] #tab-desc-text,
[data-theme="dark"] .tab-panel span,
[data-theme="dark"] .tab-panel li,
[data-theme="dark"] .tab-panel td {
  color: #E2E8F0 !important; /* উজ্জ্বল ধূসর-সাদা রঙ যাতে কালো ব্যাকগ্রাউন্ডে স্পষ্ট পড়া যায় */
}

/* ২. অনির্বাচিত ট্যাব বাটনের টেক্সট কালার ফিক্স */
[data-theme="dark"] .tab-btn {
  color: #94A3B8 !important;
}

/* ৩. নির্বাচিত (Active) ট্যাবের কালার */
[data-theme="dark"] .tab-btn.active {
  color: var(--clr-rust-glow, #FF451A) !important;
  border-bottom-color: var(--clr-rust-glow, #FF451A) !important;
}

/* ৪. ট্যাবের ভেতরের কার্ড ও টেবিল ব্যাকগ্রাউন্ড ডার্ক মোড ফিক্স */
[data-theme="dark"] .tab-panel .form-card,
[data-theme="dark"] .tab-panel table {
  background: #0E172A !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
  color: #F8FAFC !important;
}

/* ==========================================================================
   📝 DESCRIPTION LINE-BREAK & PARAGRAPH FORMATTING FIX
   ========================================================================== */

/* প্রোডাক্ট বিবরণীর নিউলাইন (\n) এবং লাইন স্পেসিং বজায় রাখা */
.pd-desc,
#tab-desc-text,
#tab-desc-text p,
.tab-panel p {
  white-space: pre-line !important; /* এন্টার/লাইন ব্রেক বজায় রাখবে */
  word-break: break-word !important; /* লম্বা শব্দ স্ক্রিন থেকে বের হওয়া বন্ধ করবে */
  line-height: 1.8 !important;       /* প্যারাগ্রাফের প্রতিটি লাইনের মাঝে সুন্দর ফাঁকা রাখবে */
  margin-bottom: 12px !important;
}

/* ==========================================================================
   🔔 SALES POPUP & TESTIMONIAL DARK MODE TEXT CONTRAST FIX
   ========================================================================== */

/* ১. সেলস নোটিফিকেশন পপআপ কালার ফিক্স (লাইটের সাথে ডার্ক এডজাস্টমেন্ট) */
.sales-popup-toast {
  background: #FFFFFF !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}

/* পপআপের ভেতরের কাস্টমার নাম ও টেক্সট কালার ফিক্স */
.sales-popup-toast div[style*="font-weight:700"],
.sales-popup-toast strong {
  color: #0A1128 !important; /* সবসময় স্পষ্ট কালো/নেভি ব্লু নাম দেখাবে */
}

.sales-popup-toast div[style*="clr-ink-muted"] {
  color: #475569 !important; /* সময় ও প্রাইস ট্যাগ স্পষ্ট করবে */
}

/* ডার্ক মোডে পপআপটি আকর্ষণীয় ডার্ক কার্ডে রূপান্তর */
[data-theme="dark"] .sales-popup-toast {
  background: #0E172A !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .sales-popup-toast div[style*="font-weight:700"],
[data-theme="dark"] .sales-popup-toast strong {
  color: #F8FAFC !important; /* ডার্ক মোডে স্পষ্ট সাদা কাস্টমার নাম */
}

[data-theme="dark"] .sales-popup-toast div[style*="clr-ink-muted"] {
  color: #94A3B8 !important;
}


/* 🌟 ২. রিভিউ/টেস্টিমোনিয়াল কার্ডের টেক্সট ও কাস্টমার নেম কালার ফিক্স */
.testi-card p {
  color: var(--clr-ink-body, #333A48) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

[data-theme="dark"] .testi-card p {
  color: #E2E8F0 !important; /* ডার্ক মোডে উজ্জ্বল সাদা-ধূসর লেখা */
}

.testi-user strong {
  color: var(--clr-ink-heading, #0A1128) !important;
}

[data-theme="dark"] .testi-user strong {
  color: #F8FAFC !important; /* কাস্টমারের নাম উজ্জ্বল করা হলো */
}

[data-theme="dark"] .testi-user small {
  color: #94A3B8 !important;
}

/* 🟢 WHATSAPP ICON PERFECT CENTER & SIZE FIX */
#wa-float-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#wa-float-btn svg {
  width: 28px !important;
  height: 28px !important;
  fill: #ffffff !important;
  display: block !important;
  margin: auto !important;
}

/* 🟢 WHATSAPP ORDER BUTTON ICON FIX */
.btn-whatsapp-order {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.25s ease !important;
}

.btn-whatsapp-order svg {
  width: 22px !important;
  height: 22px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   🌙 STORY BANNER DARK MODE TEXT CONTRAST FIX
   ========================================================================== */

/* ডার্ক মোডে স্টোরি ব্যানার ও সব সেকশনের প্যারাগ্রাফের রঙ উজ্জ্বল করা */
[data-theme="dark"] section p,
[data-theme="dark"] .section p[style*="544C3D"] {
  color: #CBD5E1 !important; /* উজ্জ্বল ধূসর-সাদা রঙ যাতে স্পষ্ট পড়া যায় */
}

/* ==========================================================================
   📱 MOBILE BOTTOM NAV BADGE POSITION FIX
   ========================================================================== */

/* আইকন র‍্যাপারের পজিশন ফিক্স */
.mobile-bottom-nav a .mob-icon-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* রেড নোটিফিকেশন ব্যাজটির পিক্সেল পারফেক্ট পজিশন */
.mobile-bottom-nav a .badge {
  position: absolute !important;
  top: -5px !important;
  right: -9px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  min-width: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
  padding: 0 3px !important;
  border-radius: 50% !important;
  background: var(--clr-rust-glow, #FF451A) !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(255, 69, 26, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ডার্ক মোডে ব্যাজের বর্ডার ফিক্স */
[data-theme="dark"] .mobile-bottom-nav a .badge {
  border-color: #0E172A !important;
}

/* ==========================================================================
   🔧 DASHBOARD NAV FIX (Dark Mode Icon Visibility & Active Glow)
   ========================================================================== */

/* ১. সব মেনু লিংকের ডিফল্ট কালার ফিক্স */
.dash-nav a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-xs, 12px) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: var(--clr-ink-heading) !important; /* ডার্ক মোডে সাদা, লাইটে কালো টেক্সট */
  background: transparent !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

/* ২. আইকন দৃশ্যমান করার ফিক্স (SVG stroke: currentColor) */
.dash-nav a svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important; /* টেক্সটের রঙের সাথে আইকনের রঙ অটো ম্যাচ করবে */
  fill: none !important;
  flex-shrink: 0 !important;
  transition: stroke 0.25s ease, transform 0.25s ease !important;
}

/* ৩. মাউস নিলে (Hover State) */
.dash-nav a:hover:not(.active) {
  background: rgba(255, 69, 26, 0.12) !important;
  color: var(--clr-rust-glow, #FF451A) !important;
  transform: translateX(4px) !important;
}

[data-theme="dark"] .dash-nav a:hover:not(.active) {
  background: rgba(255, 184, 0, 0.12) !important;
  color: var(--clr-gold-bright, #FFB800) !important;
}

/* ৪. বর্তমানে যে পেজে আছেন (Active State) */
.dash-nav a.active {
  background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%)) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(255, 69, 26, 0.35) !important;
}

.dash-nav a.active svg {
  stroke: #FFFFFF !important;
}

/* ==========================================================================
   📱 PERFECT 100% MOBILE SCREEN FIT & HORIZONTAL OVERFLOW FIX
   ========================================================================== */

/* ১. রুট এবং বডির সাইড-স্ক্রোল ১০০% বন্ধ করা (Sticky Header ঠিক রেখে) */
html {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* ২. সব সেকশন ও র্যাপার যেন স্ক্রিনের বাইরে না যায় */
main, header, footer, section, .wrap, .hero, .page-banner, .container-narrow {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* ৩. হিরো সেকশনের ব্যাকগ্রাউন্ড সার্কেল বা অ্যানিমেশন স্ক্রিন বড় করা বন্ধ করা */
.hero {
  overflow: hidden !important;
}

/* ৪. দীর্ঘ লেখা বা টেবিল স্ক্রিনের বাইরে যাওয়া বন্ধ করা */
p, h1, h2, h3, h4, h5, h6, span, a, td, th, div {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ৫. মোবাইল স্ক্রিনের (<= 480px) জন্য সুনির্দিষ্ট ফিটিং */
@media (max-width: 480px) {
  .wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* সার্চ ড্রপডাউন রেসপন্সিভ ফিক্স */
  #instant-search-dropdown {
    min-width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* ফ্ল্যাশ সেল কাউন্টডাউন বক্স রেসপন্সিভ */
  .countdown-timer {
    gap: 5px !important;
  }
  .timer-box {
    min-width: 50px !important;
    padding: 6px 4px !important;
  }
  .timer-box strong {
    font-size: 1.2rem !important;
  }

  /* টেস্টোমোনিয়াল ও ফটো ওয়াল অটো-স্ক্রোল কার্ড রেসপন্সিভ */
  .testi-card {
    flex: 0 0 82vw !important;
    max-width: 82vw !important;
  }
  .photo-wall-item {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    height: 220px !important;
  }

  /* স্মার্ট উপহার ফাইন্ডার ও ইনপুট রো ফিক্স */
  .price-inputs, 
  .coupon-row,
  .field-row {
    max-width: 100% !important;
  }
}

/* 🔗 Premium Social Share Button Styles */
.share-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill, 20px) !important;
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
  background: var(--clr-card-light, #ffffff) !important;
  color: var(--clr-ink-heading, #0A1128) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.share-btn svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.share-btn:hover {
  border-color: var(--clr-rust-glow, #FF451A) !important;
  color: var(--clr-rust-glow, #FF451A) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255, 69, 26, 0.15) !important;
}

.share-btn:hover svg {
  transform: scale(1.15) !important;
}

/* Dark Mode Adaptation */
[data-theme="dark"] .share-btn {
  background: #0E172A !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
}

[data-theme="dark"] .share-btn:hover {
  background: var(--clr-rust-glow, #FF451A) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   📱 PRODUCT DETAILS MOBILE APP-LIKE LUXURY REDESIGN
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. ওয়াটসঅ্যাপ ফ্লোটিং বাটন রি-পজিশনিং (যাতে কার্ট বাটন ব্লক না হয়) */
  body:has(#mobile-sticky-bar.visible) #wa-float-btn,
  #wa-float-btn {
    bottom: 140px !important; /* স্টিকি কার্ট ও বটম মেনুর অনেক উপরে তুলে দেওয়া হলো */
    right: 16px !important;
    width: 46px !important;
    height: 48px !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
  }

  /* ২. ক্যাটাগরি ট্যাগকে প্রিমিয়াম ব্যাজে রূপান্তর (jewelry tag fix) */
  #pd-cat {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 69, 26, 0.08) !important;
    color: var(--clr-rust-glow, #FF451A) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 69, 26, 0.2) !important;
    margin-bottom: 6px !important;
  }

  /* ৩. টাইটেল ও হেডিং স্টাইলিং */
  #pd-name {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: var(--clr-ink-heading, #0A1128) !important;
    margin: 4px 0 8px 0 !important;
  }

  /* ৪. স্টার রেটিং রো কে ক্যাপসুল ব্যাজে রূপান্তর */
  .pd-rating-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 184, 0, 0.1) !important;
    border: 1px solid rgba(255, 184, 0, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
  }
  
  .pd-rating-row #pd-stars {
    display: flex !important;
    align-items: center !important;
  }

  .pd-rating-row #pd-review-count {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--clr-ink-heading, #0A1128) !important;
  }

  /* ৫. প্রডাক্টের মূল ছবি প্রিমিয়াম কার্ড স্টাইল */
  #main-image-box {
    border-radius: 18px !important;
    border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
  }

  /* ৬. নিচের স্টিকি কার্ট বার রি-ডিজাইন (কমপ্যাক্ট ও আকর্ষণীয়) */
  .sticky-bottom-cart-bar {
    bottom: 62px !important; /* বটম নেভিগেশন বারের ঠিক উপরে */
    padding: 10px 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    border-top: 1.5px solid var(--clr-gold-bright, #FFB800) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12) !important;
  }

  #sticky-bar-price {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: var(--clr-rust-glow, #FF451A) !important;
  }

  #sticky-bar-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sticky-bottom-cart-bar button {
    padding: 10px 22px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border-radius: 25px !important;
    background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%)) !important;
    box-shadow: 0 4px 15px rgba(255, 69, 26, 0.35) !important;
  }
}

/* 🌙 ডার্ক মোডে স্টিকি বারের কালার */
[data-theme="dark"] .sticky-bottom-cart-bar {
  background: rgba(14, 23, 42, 0.96) !important;
}

/* 🏷️ PRODUCT DETAILS CATEGORY BADGE & TITLE POLISH */
.brand-tag, 
#pd-cat {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--clr-gold-soft, #FFF3D6) !important;
  color: var(--clr-rust-dark, #B33B18) !important;
  border: 1px solid var(--clr-gold-bright, #FFB800) !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.18) !important;
  margin-bottom: 8px !important;
}

/* ট্যাগের শুরুতে একটি প্রিমিয়াম স্টার চিহ্ন যোগ করবে */
#pd-cat::before {
  content: '✦';
  color: var(--clr-rust-glow, #FF451A);
  font-size: 0.75rem;
}

/* প্রোডাক্ট টাইটেল ফন্ট ও মার্জিন ফিক্স */
#pd-name {
  font-family: 'Hind Siliguri', var(--font-display) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: var(--clr-ink-heading, #0A1128) !important;
  margin: 6px 0 12px 0 !important;
  line-height: 1.35 !important;
}

/* ডার্ক মোড সাপোর্ট */
[data-theme="dark"] #pd-cat {
  background: rgba(255, 184, 0, 0.15) !important;
  color: var(--clr-gold-bright, #FFB800) !important;
  border-color: rgba(255, 184, 0, 0.4) !important;
}

/* ==========================================================================
   🎬 NATIVE INTEGRATED VIDEO PLAYER & YOUTUBE CROP MASKING
   ========================================================================== */

.native-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md, 18px);
  overflow: hidden !important; /* টাইটেল ক্রপ বজায় রাখার জন্য */
  background: #060B17;
  border: 2px solid var(--clr-glass-border, rgba(212, 155, 39, 0.4));
  box-shadow: 0 15px 40px rgba(6, 11, 23, 0.22);
}

/* ১৯:৯ হরিজন্টাল ভিডিও প্লেয়ার */
.native-video-wrapper.horizontal-native {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

/* ৯:১৬ শর্টস/রিলস ভিডিও প্লেয়ার */
.native-video-wrapper.vertical-shorts {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin: 0 auto;
}

/* ✂️ ইউটিউবের টাইটেল বার ("Raising the Flag...") এবং লোগো ক্রপ করার বিশেষ মাস্কিং */
.native-video-wrapper iframe {
  position: absolute !important;
  top: -62px !important; /* উপরের টাইটেল বার ক্রপ করে বাইরে পাঠিয়ে দেবে */
  left: 0 !important;
  width: 100% !important;
  height: calc(100% + 115px) !important; /* ক্রপ করার পর ভিডিও ফুলস্ক্রিন ধরে রাখার জন্য */
  border: 0 !important;
}

/* ডাইরেক্ট HTML5 MP4 ভিডিও প্লেয়ারের জন্য স্টাইলিং */
.native-video-wrapper.direct-native-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
  accent-color: var(--clr-rust-glow, #FF451A);
}

/* 🌟 FOOTER NATIVE SOCIAL CHIPS SVG STYLES */
.footer-social-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
  margin-bottom: 20px !important;
}

.social-chip {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid var(--clr-gold-bright, #FFB800) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--clr-gold-bright, #FFB800) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.social-chip:hover {
  background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%)) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(255, 69, 26, 0.4) !important;
}

.social-chip svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.social-chip:hover svg {
  transform: scale(1.1) !important;
}

.cat-chip .ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-gold-soft, #FFF3D6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-rust-glow, #FF451A);
  margin: 0 auto 10px;
  transition: all 0.25s ease;
}

.cat-chip .ic svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-rust-glow, #FF451A);
  display: block;
}

/* মাউস নিলে (Hover) আইকন ব্যাকগ্রাউন্ড ও কালার চেঞ্জ */
.cat-chip:hover .ic {
  background: var(--clr-rust-glow, #FF451A);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 69, 26, 0.25);
}

.cat-chip:hover .ic svg {
  stroke: #FFFFFF;
}

@media (max-width: 768px) {
  html {
    font-size: 90%; /* সাইটের সব টেক্সট ও উপাদান ১০% ছোট করবে */
  }
}
/* মোবাইলে হেডার ও কনটেন্ট ১০% ছোট করার সহজ কোড */
@media (max-width: 768px) {
  .nav-row {
    padding: 10px 10px !important; /* প্যাডিং ১০% কমানো */
    gap: 6px !important;          /* এলিমেন্টের গ্যাপ কমানো */
  }
  .brand {
    font-size: 1.1rem !important;  /* ব্র্যান্ড নেম ১০% ছোট */
  }
  .brand .brand-mark {
    width: 36px !important;        /* লোগো ১০% ছোট */
    height: 36px !important;
  }
  .nav-actions {
    transform: scale(0.9);        /* ডানপাশের বাটনগুলো ১০% ছোট */
    transform-origin: right center;
  }
}

/* ==========================================================================
   ✨ HERO MEDIA LUXURY ANIMATIONS (Floating & Ken Burns Zoom)
   ========================================================================== */

/* ১. হিরো ফ্রেমের ভাসমান ও বর্ডার গ্লো অ্যানিমেশন */
.hero-media .frame {
  animation: heroFrameFloat 6s ease-in-out infinite !important;
  will-change: transform, box-shadow;
}

@keyframes heroFrameFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.25);
    border-color: rgba(255, 184, 0, 0.4);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 184, 0, 0.5);
    border-color: rgba(255, 184, 0, 0.8);
  }
}

/* ২. মূল ছবির স্লো কেন-বার্নস (Ken Burns) জুম অ্যানিমেশন */
.hero-media img {
  animation: heroImgKenBurns 12s ease-in-out infinite alternate !important;
  transform-origin: center center;
  will-change: transform;
}

@keyframes heroImgKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* ৩. "খাঁটি হস্তশিল্প" ফ্লোটিং ব্যাজের স্মুথ অ্যানিমেশন */
.hero-media .float-card {
  animation: floatCardBounce 4.5s ease-in-out infinite 0.8s !important;
  will-change: transform;
}

@keyframes floatCardBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

/* ♿ রিকমেন্ডেশন: যেসকল ক্রেতার রিডিউসড মোশন অপশন চালু থাকে তাদের জন্য অ্যানিমেশন পজ করা */
@media (prefers-reduced-motion: reduce) {
  .hero-media .frame,
  .hero-media img,
  .hero-media .float-card {
    animation: none !important;
  }
}

/* ==========================================================================
   ✨ ULTRA-LUXURY PAGE LOAD & SCROLL REVEAL ANIMATIONS (60 FPS)
   ========================================================================== */

/* ১. পেজ ফার্স্ট লোড এনিমেশন (Initial Fade & Slide) */
@keyframes pageLoadFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageLoadFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ২. স্ক্রোল রিভিল বেস ক্লাস (Scroll Reveal Base Classes) */
.reveal,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0 !important;
  will-change: transform, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* রিভিল স্টেট ৩: নিচে থেকে উপরে উঠা (Default Fade Up) */
.reveal {
  transform: translateY(35px) !important;
}

/* রিভিল স্টেট ৪: স্কেল/জুম ইন হওয়া (Zoom In) */
.reveal-scale {
  transform: scale(0.92) translateY(20px) !important;
}

/* রিভিল স্টেট ৫: বাম ও ডান থেকে স্লাইড হওয়া */
.reveal-left {
  transform: translateX(-35px) !important;
}
.reveal-right {
  transform: translateX(35px) !important;
}

/* 🌟 স্ক্রিনে দৃশ্যমান হলে (Active State) */
.reveal.revealed,
.reveal-scale.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* ৩. গ্রিড আইটেমসমূহের ক্যাসকেডিং/স্টেগার্ড ডিলে (Staggered Animations)
   যাতে কার্ডগুলো একসাথে না এসে একটির পর একটি ভেসে ওঠে */
.product-grid > *:nth-child(1),
.cat-row > *:nth-child(1),
.usp-strip > *:nth-child(1),
.testi-grid > *:nth-child(1) { transition-delay: 0.05s !important; }

.product-grid > *:nth-child(2),
.cat-row > *:nth-child(2),
.usp-strip > *:nth-child(2),
.testi-grid > *:nth-child(2) { transition-delay: 0.12s !important; }

.product-grid > *:nth-child(3),
.cat-row > *:nth-child(3),
.usp-strip > *:nth-child(3),
.testi-grid > *:nth-child(3) { transition-delay: 0.19s !important; }

.product-grid > *:nth-child(4),
.cat-row > *:nth-child(4),
.usp-strip > *:nth-child(4),
.testi-grid > *:nth-child(4) { transition-delay: 0.26s !important; }

.product-grid > *:nth-child(5),
.cat-row > *:nth-child(5) { transition-delay: 0.33s !important; }
.product-grid > *:nth-child(6),
.cat-row > *:nth-child(6) { transition-delay: 0.40s !important; }
.product-grid > *:nth-child(7),
.cat-row > *:nth-child(7) { transition-delay: 0.47s !important; }
.product-grid > *:nth-child(8),
.cat-row > *:nth-child(8) { transition-delay: 0.54s !important; }

/* ৪. হিরো সেকশনের বিশেষ এন্ট্রান্স এনিমেশন */
.hero-copy h1 {
  animation: pageLoadFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-copy p {
  animation: pageLoadFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}
.hero-actions {
  animation: pageLoadFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}
.hero-stats {
  animation: pageLoadFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

/* ♿ রিডিউসড মোশন অ্যাক্সেসেবিলিটি */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right, body {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   ✨ ULTRA-SMOOTH 60FPS SCROLL REVEAL & PAGE LOAD ENGINE
   ========================================================================== */

/* ১. পেজ ফার্স্ট লোড এনিমেশন */
@keyframes pageLoadSmooth {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body {
  animation: pageLoadSmooth 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ২. স্ক্রোল রিভিল বেস ক্লাস (Hardware Accelerated) */
.reveal,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0 !important;
  will-change: transform, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* ৩. রিভিল ডিরেকশনসমূহ */
.reveal {
  transform: translate3d(0, 35px, 0) !important;
}

.reveal-scale {
  transform: scale(0.92) translate3d(0, 20px, 0) !important;
}

.reveal-left {
  transform: translate3d(-40px, 0, 0) !important;
}

.reveal-right {
  transform: translate3d(40px, 0, 0) !important;
}

/* 🌟 স্ক্রিনে দৃশ্যমান হলে (Active State) */
.reveal.revealed,
.reveal-scale.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* ৪. গ্রিড আইটেমসমূহের ক্যাসকেডিং স্টেগার্ড ডিলে (Staggered Animations) */
.product-grid > *:nth-child(1), .cat-row > *:nth-child(1), .usp-strip > *:nth-child(1) { transition-delay: 0.05s !important; }
.product-grid > *:nth-child(2), .cat-row > *:nth-child(2), .usp-strip > *:nth-child(2) { transition-delay: 0.12s !important; }
.product-grid > *:nth-child(3), .cat-row > *:nth-child(3), .usp-strip > *:nth-child(3) { transition-delay: 0.19s !important; }
.product-grid > *:nth-child(4), .cat-row > *:nth-child(4), .usp-strip > *:nth-child(4) { transition-delay: 0.26s !important; }
.product-grid > *:nth-child(5), .cat-row > *:nth-child(5) { transition-delay: 0.33s !important; }
.product-grid > *:nth-child(6), .cat-row > *:nth-child(6) { transition-delay: 0.40s !important; }
.product-grid > *:nth-child(7), .cat-row > *:nth-child(7) { transition-delay: 0.47s !important; }
.product-grid > *:nth-child(8), .cat-row > *:nth-child(8) { transition-delay: 0.54s !important; }

/* ♿ রিডিউসড মোশন সাপোর্ট */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right, body {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   🛒 CART DRAWER PERFECT FIXED POSITIONING & SCROLL FIX
   ========================================================================== */

/* ১. ড্রয়ার ব্যাকড্রপ */
.cart-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(6, 11, 23, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999998 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-drawer-backdrop.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ২. ফিক্সড সাইডবার কার্ট ড্রয়ার (ভিউলেভেল ১০০dvh) */
.cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  height: 100dvh !important; /* মোবাইল ব্রাউজার অ্যাড্রেসবারের জন্য ফ্লেক্সিবল হাইট */
  max-height: 100dvh !important;
  width: 100% !important;
  max-width: 420px !important;
  background: var(--clr-card-light, #ffffff) !important;
  z-index: 999999 !important; /* সবার উপরে থাকবে */
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3) !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important; /* বাহিরের স্ক্রোল বন্ধ রাখবে */
}

.cart-drawer.open {
  transform: translateX(0) !important;
}

/* ৩. ড্রয়ার হেডার (সবসময় উপরে ফিক্সড থাকবে) */
.drawer-header {
  padding: 16px 20px !important;
  border-bottom: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: var(--clr-card-light, #ffffff) !important;
  flex-shrink: 0 !important; /* হেডার কখনো চ্যাপ্টা বা স্ক্রোল হবে না */
}

/* ৪. ড্রয়ার বডি (শুধুমাত্র আইটেম লিস্ট স্ক্রোল হবে) */
.drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important; /* পেজের স্ক্রোল ড্রয়ারে ঢুকবে না */
  padding: 16px 20px !important;
  -webkit-overflow-scrolling: touch;
}

/* ৫. ড্রয়ার ফুটার (সাবটোটাল ও চেকআউট বাটন সবসময় নিচে ফিক্সড থাকবে) */
.drawer-footer {
  padding: 18px 20px !important;
  border-top: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
  background: var(--clr-card-light, #ffffff) !important;
  flex-shrink: 0 !important; /* ফুটার কখনো স্ক্রোল হবে না */
  margin-top: auto !important;
}

/* ৬. কার্ট খোলা থাকলে ব্যাকগ্রাউন্ড পেজ স্ক্রোল লক করার রুল */
body.cart-drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ৭. Body-র transform এনিমেশন ফিক্স (যাতে fixed অবস্থান নষ্ট না হয়) */
body {
  animation: pageLoadSmoothFade 0.5s ease forwards !important;
}

@keyframes pageLoadSmoothFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   🖼️ 1. PROFILE HEADER & STAT CARDS DARK MODE FIX
   ========================================================================== */

/* ডার্ক মোডে ড্যাশবোর্ড প্রোফাইল হেডার কার্ড */
[data-theme="dark"] .dash-header-card {
  background: linear-gradient(135deg, #0E172A 0%, #152238 100%) !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ডার্ক মোডে ৪টি স্ট্যাটস বক্স (মোট অর্ডার, চলতি অর্ডার ইত্যাদি) */
[data-theme="dark"] .stat-card {
  background: #1E293B !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .stat-card .num {
  color: var(--clr-gold-bright, #FFB800) !important;
}

[data-theme="dark"] .stat-card .lbl {
  color: #94A3B8 !important;
}

/* ==========================================================================
   🔔 2. SALES POPUP OVERLAP & Z-INDEX FIX
   ========================================================================== */

/* সেলস পপআপটি সাইডবার মেনুর নিচে থাকবে এবং কিছুটা ছোট ও মার্জিনসহ থাকবে */
.sales-popup-toast {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 9980 !important; /* সাইডবার ইন্টারঅ্যাকশনের নিচে থাকবে */
  max-width: 290px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* ডার্ক মোডে রিসেন্ট সেলস পপআপ কার্ড */
[data-theme="dark"] .sales-popup-toast {
  background: rgba(14, 23, 42, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .sales-popup-toast strong,
[data-theme="dark"] .sales-popup-toast span,
[data-theme="dark"] .sales-popup-toast div {
  color: #F8FAFC !important;
}

/* ==========================================================================
   💬 3. WHATSAPP WIDGET PERFECT ALIGNMENT FIX
   ========================================================================== */

#wa-widget-container {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9998 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.wa-chat-bubble {
  background: #ffffff !important;
  color: #060B17 !important;
  border: 1.5px solid var(--clr-gold-bright, #FFB800) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
  border-radius: 14px !important;
  padding: 8px 14px !important;
}

[data-theme="dark"] .wa-chat-bubble {
  background: #0E172A !important;
  color: #F8FAFC !important;
  border-color: var(--clr-gold-bright, #FFB800) !important;
}

/* 📱 মোবাইল ফুটার কমপ্যাক্ট গ্যাপ ফিক্স */
.footer-bottom-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.85rem;
  color: #94A3B8;
  text-align: center;
}

.footer-dev-sep {
  opacity: 0.25;
  font-weight: 300;
}

.dev-badge-link {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: #FFB800 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-decoration: none !important;
  background: rgba(255, 184, 0, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  transition: all 0.25s ease;
}

.dev-badge-link:hover {
  background: #FF451A !important;
  color: #FFF !important;
  border-color: #FF451A !important;
}

/* মোবাইলে ২ লাইনে ক্লিন লেআউট */
@media (max-width: 640px) {
  .footer-bottom-wrap {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .footer-dev-sep {
    display: none !important; /* মোবাইলে অতিরিক্ত দাগ গায়েব থাকবে */
  }
}

/* ... existing code ... */

/* ==========================================================================
   📱 MOBILE FOOTER, WHATSAPP BUTTON & SALES POPUP PERFECT ALIGNMENT FIX
   ========================================================================== */

/* 1. Mobile Footer Compact Spacing */
@media (max-width: 768px) {
  #site-footer {
    padding: 32px 0 0 0 !important;
    margin-top: 35px !important;
    border-top: 3px solid var(--clr-gold-bright, #FFB800) !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding-bottom: 20px !important;
  }

  .footer-brand-col p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .footer-social-row {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .social-chip {
    width: 36px !important;
    height: 36px !important;
  }

  .footer-links-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: var(--radius-sm, 12px) !important;
  }

  .footer-col h4,
  #site-footer h4 {
    font-size: 0.92rem !important;
    margin-bottom: 8px !important;
  }

  .footer-col a {
    font-size: 0.82rem !important;
    padding: 3px 0 !important;
    margin-bottom: 4px !important;
  }

  .contact-buttons-grid {
    gap: 8px !important;
  }

  .footer-contact-btn {
    padding: 8px 12px !important;
    border-radius: var(--radius-xs, 10px) !important;
  }

  .footer-contact-btn .ic-wrap {
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
  }

  .footer-contact-btn strong {
    font-size: 0.82rem !important;
  }

  /* 62px for mobile bottom nav + 12px padding = 74px bottom clearance */
  .footer-bottom {
    padding: 14px 12px 74px 12px !important;
    font-size: 0.78rem !important;
  }

  .footer-bottom-wrap {
    flex-direction: column !important;
    gap: 6px !important;
  }
}

/* 2. WhatsApp Floating Button Position Fix */
#wa-widget-container {
  position: fixed !important;
  bottom: 25px !important;
  right: 20px !important;
  z-index: 9998 !important;
}

#wa-float-btn {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
}

@media (max-width: 768px) {
  #wa-widget-container {
    bottom: 72px !important;
    right: 14px !important;
  }

  #wa-float-btn {
    width: 46px !important;
    height: 46px !important;
  }

  body:has(#mobile-sticky-bar.visible) #wa-widget-container {
    bottom: 122px !important;
  }
}

/* 3. Recent Sales Notifier Toast Alignment Fix */
.sales-popup-toast {
  position: fixed !important;
  bottom: 25px !important;
  left: 20px !important;
  z-index: 9990 !important;
  max-width: 310px !important;
}

@media (max-width: 768px) {
  .sales-popup-toast {
    bottom: 72px !important;
    left: 12px !important;
    right: auto !important;
    max-width: 280px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  .sales-popup-toast img {
    width: 40px !important;
    height: 40px !important;
  }

  body:has(#mobile-sticky-bar.visible) .sales-popup-toast {
    bottom: 122px !important;
  }
}

/* ==========================================================================
   📐 PERFECT 3:4 CARD ASPECT RATIO & COMPACT HEIGHT SYSTEM
   ========================================================================== */

/* ১. থিম কালার প্যালেট */
.product-card, .product-card[data-card-theme="gold"] {
  --card-accent: #E5A83B;
  --card-accent-rgb: 229, 168, 59;
  --btn-grad: linear-gradient(135deg, #B88022 0%, #D49B27 50%, #8A5E12 100%);
}
.product-card[data-card-theme="blue"] {
  --card-accent: #3882F6;
  --card-accent-rgb: 56, 130, 246;
  --btn-grad: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #1D4ED8 100%);
}
.product-card[data-card-theme="ruby"] {
  --card-accent: #EF4444;
  --card-accent-rgb: 239, 68, 68;
  --btn-grad: linear-gradient(135deg, #991B1B 0%, #EF4444 50%, #B91C1C 100%);
}
.product-card[data-card-theme="emerald"] {
  --card-accent: #10B981;
  --card-accent-rgb: 16, 185, 129;
  --btn-grad: linear-gradient(135deg, #065F46 0%, #10B981 50%, #047857 100%);
}

/* ২. ৩:৪ কার্ড কন্টেইনার */
.product-card {
  background: #060B14 !important;
  border: 1.5px solid rgba(var(--card-accent-rgb), 0.28) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  aspect-ratio: 3 / 4 !important; /* সম্পূর্ণ কার্ড ৩:৪ রেশিওতে লক করা হলো */
}

.product-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--card-accent) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 18px rgba(var(--card-accent-rgb), 0.3) !important;
}

/* ৩. কমপ্যাক্ট ইমেজ রেশিও (১৬:১০) */
.product-thumb {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important; /* ছবির হাইট কমানো হলো */
  overflow: hidden !important;
  background: #0A111E !important;
  flex-shrink: 0 !important;
}

.product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.product-card:hover .product-thumb img {
  transform: scale(1.08) !important;
}

.thumb-gradient-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(6, 11, 20, 0) 40%, #060B14 100%) !important;
  pointer-events: none !important;
}

/* ৪. টপ ট্যাগ ও উইশলিস্ট বাটন */
.hero-card-tag {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(6, 11, 20, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.5) !important;
  color: var(--card-accent) !important;
  padding: 3px 9px !important;
  border-radius: 16px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  z-index: 3 !important;
}

.wish-btn {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: rgba(6, 11, 20, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94A3B8 !important;
  z-index: 3 !important;
}

.wish-btn.active, .wish-btn:hover {
  color: #FF451A !important;
  border-color: #FF451A !important;
}

.wish-btn svg { width: 15px !important; height: 15px !important; }

/* ৫. কার্ডের ভেতরের টাইট ও কমপ্যাক্ট স্পেসিং */
.product-info {
  padding: 8px 12px 10px 12px !important; /* প্যাডিং কমানো হয়েছে */
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
  background: #060B14 !important;
}

/* ১ লাইনে ক্যাটাগরি ও রেটিং */
.card-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.35) !important;
  background: rgba(var(--card-accent-rgb), 0.08) !important;
  color: var(--card-accent) !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.stars-theme .rating { display: flex !important; gap: 1px !important; }
.stars-theme .rating svg { width: 11px !important; height: 11px !important; fill: var(--card-accent) !important; }
.stars-theme .rating span { color: #8A99AD !important; font-size: 0.68rem !important; margin-left: 2px !important; }

/* টাইটেল (কমপ্যাক্ট ২ লাইন) */
.product-info h3 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-family: 'Tiro Bangla', var(--font-body) !important;
  margin: 1px 0 !important;
  line-height: 1.25 !important;
  height: 2.5em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* প্রাইস সেকশন */
.price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 2px 0 4px 0 !important;
}

.price {
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  color: var(--card-accent) !important;
  font-family: 'Tiro Bangla', sans-serif !important;
}

.price-old {
  font-size: 0.8rem !important;
  color: #536275 !important;
  text-decoration: line-through !important;
}

/* ৬. পাতলা ও ছোট ৩-কলাম ফিচার বার */
.card-feature-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.18) !important;
  background: rgba(var(--card-accent-rgb), 0.03) !important;
  border-radius: 8px !important;
  padding: 4px 2px !important;
  margin-bottom: 6px !important;
}

.feat-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-size: 0.55rem !important;
  font-weight: 800 !important;
  color: #94A3B8 !important;
  text-align: center !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.feat-col:last-child { border-right: none !important; }
.feat-col svg { stroke: var(--card-accent) !important; }

/* ৭. কমপ্যাক্ট ADD TO CART বাটন */
.add-to-cart-hero-btn {
  width: 100% !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  background: var(--btn-grad) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.03em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 14px rgba(var(--card-accent-rgb), 0.3) !important;
  cursor: pointer !important;
}

.add-to-cart-hero-btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.15) !important;
}

.btn-inner-left { display: flex !important; align-items: center !important; gap: 6px !important; }

/* 📱 মোবাইল রেসপন্সিভ */
@media (max-width: 480px) {
  .product-info { padding: 6px 10px 8px 10px !important; }
  .product-info h3 { font-size: 0.88rem !important; }
  .price { font-size: 1.1rem !important; }
  .add-to-cart-hero-btn { padding: 7px 10px !important; font-size: 0.75rem !important; }
}

/* ==========================================================================
   🛒 DUAL ACTION BUTTON ROW (Cart Icon Box + Direct Buy Button)
   ========================================================================== */

.card-action-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

/* বামপাশের স্কয়ার কার্ট আইকন বাটন */
.cart-icon-square-btn {
  width: 40px !important;
  height: 38px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.3) !important;
  background: rgba(var(--card-accent-rgb), 0.08) !important;
  color: var(--card-accent) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}

.cart-icon-square-btn:hover {
  background: var(--card-accent) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(var(--card-accent-rgb), 0.4) !important;
}

.cart-icon-square-btn svg {
  stroke: currentColor !important;
}

/* ডানপাশের মেটালিক "এখনই কিনুন" বাটন */
.add-to-cart-hero-btn {
  flex: 1 !important;
  border: none !important;
  padding: 10px 16px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: var(--btn-grad) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 14px rgba(var(--card-accent-rgb), 0.3) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.add-to-cart-hero-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(var(--card-accent-rgb), 0.5) !important;
  filter: brightness(1.15) !important;
}

/* ==========================================================================
   ✨ OPTIMIZED COMPACT PRODUCT CARD (No Empty Space & Lifted Buttons)
   ========================================================================== */

/* ১. টাইটেলের অনাবশ্যক ফাঁকা জায়গা রিমুভ */
.product-info h3 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-family: 'Tiro Bangla', var(--font-body) !important;
  margin: 1px 0 4px 0 !important;
  line-height: 1.25 !important;
  height: auto !important; /* অতিরিক্ত খালি জায়গা রিমুভ করবে */
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ২. ডানপাশের খালি জায়গায় সুন্দর ট্যাগ বসানো */
.price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; /* ডানপাশের জায়গা সম্পূর্ণ কভার করবে */
  margin: 4px 0 6px 0 !important;
}

.price-side-tag {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  background: rgba(var(--card-accent-rgb), 0.15) !important;
  color: var(--card-accent) !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.3) !important;
  white-space: nowrap !important;
}

.price-side-tag.stock {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #10B981 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ৩. পাতলা ফিচার বার ও বাটনকে উপরে তুলে আনা */
.card-feature-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  border: 1px solid rgba(var(--card-accent-rgb), 0.18) !important;
  background: rgba(var(--card-accent-rgb), 0.03) !important;
  border-radius: 8px !important;
  padding: 4px 2px !important;
  margin: 4px 0 6px 0 !important; /* গ্যাপ কমানো হয়েছে */
}

.card-action-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 2px !important; /* বাটনগুলোকে উপরে তুলে আনা হয়েছে */
}

.cart-icon-square-btn {
  width: 38px !important;
  height: 36px !important;
}

.add-to-cart-hero-btn {
  height: 36px !important;
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
}

/* ৪. কার্ডের সামগ্রিক পেডিং টাইট করা */
.product-info {
  padding: 10px 14px 12px 14px !important;
}

/* ==========================================================================
   🛍️ SHOP PAGE PRODUCT GRID & CARD SIZE FIX
   ========================================================================== */

/* ১. শপ পেজে সাইডবার থাকা অবস্থায় গ্রিড স্পেসিং ফিক্স */
.shop-layout .product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
}

/* ২. বড় স্ক্রিনে (Desktop) শপ পেজে ৪টির বদলে ৩টি প্রপার উইডথের কার্ড দেখাবে */
@media (min-width: 1024px) {
  .shop-layout .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

/* ৩. কার্ডের মিনিমাম উইডথ ফিক্স যাতে চেপে না যায় */
.shop-layout .product-card {
  width: 100% !important;
  min-width: 250px !important;
}

/* ৪. শপ পেজ টুলবার ("৩টি পণ্য পাওয়া গেছে" ও ড্রপডাউন) এলাইনমেন্ট ফিক্স */
.shop-toolbar {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3)) !important;
  border-radius: 14px !important;
  padding: 12px 20px !important;
  margin-bottom: 24px !important;
}

[data-theme="dark"] .shop-toolbar {
  background: #0E172A !important;
}

/* ==========================================================================
   🎁 DYNAMIC BUNDLE / COMBO SHOWCASE STYLES
   ========================================================================== */

.bundle-showcase-container {
  background: var(--clr-card-light, #ffffff);
  border: 2px solid var(--clr-gold-bright, #FFB800);
  border-radius: var(--radius-md, 16px);
  padding: 18px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.bundle-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--clr-glass-border, rgba(212, 155, 39, 0.3));
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bundle-header-strip .b-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bundle-header-strip .b-icon {
  font-size: 1.8rem;
  background: var(--clr-gold-soft, #FFF3D6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--clr-gold-bright, #FFB800);
}

.bundle-header-strip h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-ink-heading, #0A1128);
}

.bundle-header-strip small {
  color: var(--clr-ink-muted, #6C768A);
  font-size: 0.8rem;
  font-weight: 600;
}

.bundle-savings-badge {
  background: var(--grad-rust-gold, linear-gradient(135deg, #FF451A 0%, #D49B27 100%));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 69, 26, 0.3);
  animation: pulseWarning 2s infinite;
}

/* বান্ডেল আইটেমস লিস্ট ও গ্রিড */
.bundle-items-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 12px 4px;
  scrollbar-width: thin;
}

.bundle-item-card {
  flex: 0 0 160px;
  background: var(--clr-paper-2, #F8F5EE);
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.3));
  border-radius: var(--radius-xs, 12px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bundle-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-rust-glow, #FF451A);
}

.b-item-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--clr-glass-border);
}

.b-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-item-qty-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--clr-rust-glow, #FF451A);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.b-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.b-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-ink-heading);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.2em;
}

.b-item-spec {
  font-size: 0.72rem;
  color: var(--clr-ink-muted);
}

.b-item-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-rust-glow);
  margin-top: 2px;
}

.bundle-plus-divider {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--clr-gold-bright, #FFB800);
  flex-shrink: 0;
}

/* পার্কেল/সুবিধা বার */
.bundle-perks-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--clr-glass-border);
  flex-wrap: wrap;
}

.b-perk {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-emerald-light, #167B51);
  background: rgba(22, 123, 81, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
}

/* 🌙 ডার্ক মোড অ্যাডজাস্টমেন্ট */
[data-theme="dark"] .bundle-showcase-container {
  background: #0E172A !important;
  border-color: var(--clr-gold-bright) !important;
}

[data-theme="dark"] .bundle-item-card {
  background: #1E293B !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
}

[data-theme="dark"] .b-item-name {
  color: #F8FAFC !important;
}

/* 📱 মোবাইল স্ক্রিন অপটিমাইজেশন */
@media (max-width: 600px) {
  .bundle-item-card {
    flex: 0 0 135px;
    padding: 8px;
  }
  .bundle-header-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .bundle-savings-badge {
    align-self: flex-start;
  }
}

/* ==========================================================================
   📱 1-COLUMN MOBILE PREMIUM CARD LAYOUT (SINGLE CARD PER ROW)
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. গ্রিড কনটেইনার - এক সারিতে ১টি করে প্রডাক্ট */
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 4px !important;
  }

  /* ২. মূল কার্ড ফ্রেম */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: var(--clr-card, #121824) !important;
    border: 1px solid var(--clr-glass-border, rgba(255, 255, 255, 0.12)) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2) !important;
  }

  /* ৩. ইমেজের চমৎকার ভিজ্যুয়াল হাইট (২০০px) */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    height: 200px !important; /* বড় ও স্পষ্ট ছবি */
    min-height: 200px !important;
    max-height: 200px !important;
    overflow: hidden !important;
  }

  .product-thumb a.thumb-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ৪. টপ ব্যাজ ও উইশ বাটন */
  .hero-card-tag {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    z-index: 2 !important;
  }

  .wish-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    z-index: 2 !important;
  }

  .wish-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* ৫. টেক্সট ও ইনফরমেশন অংশ */
  .product-info {
    padding: 12px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* ক্যাটাগরি ও রেটিং */
  .card-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2px !important;
  }

  .cat-pill {
    font-size: 0.75rem !important;
    padding: 3px 8px !important;
  }

  .stars-theme, .stars-theme .rating {
    font-size: 0.75rem !important;
  }

  /* টাইটেল */
  .title-link h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 4px 0 6px 0 !important;
    height: auto !important;
    max-height: 2.6em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* দাম ও ছাড়ের অংশ */
  .price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 4px 0 8px 0 !important;
  }

  .price-box .price {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--clr-gold, #FFB800) !important;
  }

  .price-box .price-old {
    font-size: 0.82rem !important;
  }

  .price-side-tag {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }

  /* ৬. ৩-কলামের ডাইনামিক ফিচার বার */
  .card-feature-bar {
    display: flex !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    border: 1px solid var(--clr-glass-border, rgba(255, 255, 255, 0.05)) !important;
  }

  .card-feature-bar .feat-col {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.7rem !important;
    color: var(--clr-ink-muted, #a0aec0) !important;
  }

  /* ৭. বাটন রো (কার্ট + এখনই কিনুন) */
  .card-action-row {
    display: flex !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .cart-icon-square-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .cart-icon-square-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .add-to-cart-hero-btn {
    flex: 1 !important;
    height: 42px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .add-to-cart-hero-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* ==========================================================================
   📱 ULTRA-COMPACT MOBILE CARD (ZERO WASTED SPACE FIX)
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. গ্রিড গ্যাপ কমানো */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* ২. প্রডাক্ট কার্ডের মূল ফ্রেম - টাইট ও স্লিম */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: var(--clr-card, #121824) !important;
    border: 1px solid var(--clr-glass-border, rgba(255, 255, 255, 0.08)) !important;
  }

  /* ৩. ছবির হাইট কমপ্যাক্ট (১৩৫ পিক্সেল) */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
    overflow: hidden !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .thumb-gradient-overlay {
    display: none !important;
  }

  /* টপ ব্যাজ ও উইশ বাটন কমপ্যাক্ট */
  .hero-card-tag {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
  }

  .wish-btn {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 26px !important;
    height: 26px !important;
  }

  /* ৪. ইনফো সেকশন - টাইট প্যাডিং ও জিরো ওয়েস্ট স্পেস */
  .product-info {
    padding: 6px 8px 8px !important; /* টাইট প্যাডিং */
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important; /* অহেতুক গ্যাপ দূর */
    background: var(--clr-card, #121824) !important;
  }

  /* ক্যাটাগরি ও রেটিং রো */
  .card-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2px !important;
    margin-top: 0 !important;
  }

  .cat-pill {
    font-size: 0.6rem !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
  }

  .stars-theme, .stars-theme .rating {
    font-size: 0.6rem !important;
  }

  /* টাইটেল - খালি ফিক্সড হাইট রিমুভ */
  .title-link {
    display: block !important;
    margin: 2px 0 4px 0 !important;
  }

  .title-link h3 {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--clr-ink-heading, #fff) !important;
    margin: 0 !important;
    height: auto !important; /* অহেতুক ফিক্সড জায়গা রিমুভ */
    min-height: 0 !important;
    max-height: 2.4em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  /* দাম ও ছাড় রো */
  .price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 2px 0 6px 0 !important;
  }

  .price-box {
    display: flex !important;
    align-items: baseline !important;
    gap: 3px !important;
  }

  .price-box .price {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: var(--clr-gold, #FFB800) !important;
  }

  .price-box .price-old {
    font-size: 0.68rem !important;
  }

  .price-side-tag {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
  }

  /* ৫. অহেতুক ৩-কলামের ফিচার বার সম্পূর্ণ বন্ধ */
  .card-feature-bar {
    display: none !important; /* অহেতুক ফাঁকা জায়গা দূর */
  }

  /* ৬. বাটন রো (কার্ট + এখনই কিনুন) */
  .card-action-row {
    display: flex !important;
    gap: 5px !important;
    margin-top: 2px !important;
  }

  .cart-icon-square-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    padding: 0 !important;
  }

  .add-to-cart-hero-btn {
    flex: 1 !important;
    height: 32px !important;
    padding: 0 6px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
  }
}

/* ==========================================================================
   🎯 UNIFIED & STANDARDIZED MOBILE PRODUCT CARD SYSTEM (GLOBAL FIX)
   হোমপেজ, শপ পেজ এবং প্রোডাক্ট ডিটেইলস—সব পেজের জন্য ১টি ইউনিফর্ম কার্ড
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. সব পেজে ইউনিফর্ম ২-কলাম প্রডাক্ট গ্রিড */
  .product-grid,
  .shop-layout .product-grid,
  #featured-grid,
  #product-grid,
  #related-grid,
  #recently-viewed-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* ২. প্রডাক্ট কার্ডের গ্লোবাল ডিজাইন ও ফিক্সড হাইট */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: var(--clr-card-light, #ffffff) !important;
    border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.25)) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  /* ডার্ক মোডে কার্ড ব্যাকগ্রাউন্ড */
  [data-theme="dark"] .product-card {
    background: #0E172A !important;
    border-color: rgba(255, 184, 0, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  }

  /* ৩. প্রডাক্ট ইমেজের পারফেক্ট ৪:৩ ক্রপ রেশিও */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: #F4EFE6 !important;
    flex-shrink: 0 !important;
  }

  [data-theme="dark"] .product-thumb {
    background: #1E293B !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .thumb-gradient-overlay {
    display: none !important;
  }

  /* ৪. ডিসকাউন্ট ব্যাজ ও উইশলিস্ট বাটন */
  .product-tag,
  .hero-card-tag {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    z-index: 3 !important;
  }

  .wish-btn {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  [data-theme="dark"] .wish-btn {
    background: rgba(14, 23, 42, 0.85) !important;
  }

  .wish-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* ৫. প্রডাক্ট তথ্য ও টাইটেল সেকশন */
  .product-info {
    padding: 8px 10px 10px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 4px !important;
  }

  /* ক্যাটাগরি ও রেটিং */
  .card-meta-row,
  .product-info .cat-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 2px !important;
  }

  .product-info .cat,
  .cat-pill {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
  }

  /* প্রডাক্টের নাম (সর্বোচ্চ ২ লাইন ফিক্সড) */
  .product-info h3,
  .title-link h3 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--clr-ink-heading, #0A1128) !important;
    margin: 2px 0 !important;
    height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  [data-theme="dark"] .product-info h3,
  [data-theme="dark"] .title-link h3 {
    color: #F8FAFC !important;
  }

  /* দাম সেকশন */
  .price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    margin-top: auto !important;
    padding-top: 2px !important;
  }

  .price,
  .price-box .price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--clr-rust-glow, #FF451A) !important;
  }

  .price-old {
    font-size: 0.72rem !important;
    color: var(--clr-ink-muted, #94A3B8) !important;
    text-decoration: line-through !important;
  }

  .card-feature-bar {
    display: none !important; /* মোবাইলে অতিরিক্ত জায়গা বাঁচাতে ফিচার বার বন্ধ রাখা হয়েছে */
  }

  /* ৬. কল-টু-অ্যাকশন বাটন সেকশন */
  .card-action-row,
  .quick-add {
    display: flex !important;
    gap: 6px !important;
    margin-top: 6px !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cart-icon-square-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn,
  .add-to-cart-hero-btn,
  .quick-add button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   🎯 ULTIMATE MOBILE PRODUCT CARD FIX (100% UNIFORM & BUG-FREE)
   সব পেজের (Index, Shop, Product-Details) প্রডাক্ট কার্ডের জন্য পারফেক্ট ফিক্স
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. গ্লোবাল গ্রিড ও স্ক্রিন ওভারফ্লো ফিক্স */
  .product-grid,
  .shop-layout .product-grid,
  #featured-grid,
  #product-grid,
  #related-grid,
  #recently-viewed-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ২. প্রডাক্ট কার্ডের ফিক্সড হাইট ও এলাইনমেন্ট */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: var(--clr-card-light, #ffffff) !important;
    border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.25)) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
  }

  [data-theme="dark"] .product-card {
    background: #0E172A !important;
    border-color: rgba(255, 184, 0, 0.2) !important;
  }

  /* ৩. ছবির সাইজ ফিক্স (Square 1:1 Aspect Ratio) */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    background: #F4EFE6 !important;
    flex-shrink: 0 !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ৪. ক্যাটাগরি ও রেটিং ওভারল্যাপ ফিক্স (নিচে নিচে সাজানো) */
  .card-meta-row,
  .product-info .rating-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    margin-bottom: 4px !important;
  }

  .cat-pill,
  .product-info .cat {
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .stars-theme,
  .product-info .rating {
    font-size: 0.65rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
  }

  .stars-theme svg,
  .product-info .rating svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* ৫. টাইটেল ফন্ট ও লাইন ব্রেক ফিক্স */
  .product-info {
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 4px !important;
  }

  .product-info h3,
  .title-link h3 {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--clr-ink-heading, #0A1128) !important;
    margin: 2px 0 !important;
    height: 2.5em !important; /* ফিক্সড ২ লাইন */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  [data-theme="dark"] .product-info h3 {
    color: #F8FAFC !important;
  }

  /* ৬. দাম ও ডিসকাউন্ট/স্টক ব্যাজ ফিক্স */
  .price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    margin-top: auto !important;
    padding-top: 2px !important;
  }

  .price-box {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }

  .price,
  .price-box .price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: var(--clr-rust-glow, #FF451A) !important;
  }

  .price-old {
    font-size: 0.7rem !important;
    color: #94A3B8 !important;
    text-decoration: line-through !important;
  }

  .price-side-tag,
  .stock-pill {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
  }

  /* ৭. বাটন রো (কার্ট + এখনই কিনুন) সমান এলাইনমেন্ট */
  .card-action-row,
  .quick-add {
    display: flex !important;
    gap: 5px !important;
    margin-top: 6px !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
  }

  .cart-icon-square-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cart-icon-square-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .btn,
  .add-to-cart-hero-btn,
  .quick-add button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 6px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    flex: 1 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  /* ৮. হোয়াটসঅ্যাপ আইকন ও সেলস পপআপ পজিশন ফিক্স (যাতে বাটন ঢেকে না ফেলে) */
  #wa-widget-container,
  #wa-float-btn {
    bottom: 75px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 9980 !important;
  }

  #wa-float-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  .sales-popup-toast {
    bottom: 75px !important;
    left: 8px !important;
    max-width: 230px !important;
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    z-index: 9970 !important;
  }

  .sales-popup-toast img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ==========================================================================
   🎯 MASTER FIX: UNIFIED MOBILE PRODUCT GRID & CARD FIT FOR ALL PAGES
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. shop সহ সব পেজে মোবাইলে পারফেক্ট ২-কলাম গ্রিড জোরপূর্বক সেট করা */
  .product-grid,
  .shop-layout .product-grid,
  #product-grid,
  #featured-grid,
  #related-grid,
  #recently-viewed-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* minmax(0, 1fr) স্ক্রিন ওভারফ্লো বন্ধ করে */
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ২. shop-layout কন্টেইনার ওভারফ্লো ফিক্স */
  .shop-layout,
  .shop-layout > div {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* ৩. কার্ডের ফিক্সড/মিনিমাম উইডথ রিমুভ করে ফ্লেক্সিবল করা */
  .product-card,
  .shop-layout .product-card {
    width: 100% !important;
    min-width: 0 !important; /* ২৫০px এর ফিক্সড উইডথ ওভাররাইড করা হলো */
    max-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  /* ৪. প্রডাক্ট থাম্বনেইল ছবির অনুপাত ও সাইজ ফিক্স */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* পারফেক্ট স্কয়ার ছবি */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ৫. প্রডাক্ট তথ্য ও টেক্সটের পারফেক্ট এলাইনমেন্ট */
  .product-info {
    padding: 8px 10px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }

  .product-info h3,
  .title-link h3 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 2px 0 !important;
    height: 2.5em !important; /* সর্বোচ্চ ২ লাইন টেক্সট */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  /* ৬. বাটন রো (কার্ট + কিনুন বাটন) সাইজ ও শেপ ফিক্স */
  .card-action-row,
  .quick-add {
    display: flex !important;
    gap: 6px !important;
    margin-top: 6px !important;
    width: 100% !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cart-icon-square-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .add-to-cart-hero-btn,
  .quick-add button {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 0.78rem !important;
    padding: 0 6px !important;
    border-radius: 8px !important;
    flex: 1 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   📱 EXACT COMPACT MOBILE CARD (16:9 IMAGE RATIO + ORIGINAL DESIGN PRESERVED)
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. shop সহ সব পেজে মোবাইলে সুন্দর ২-কলামের গ্রিড ফিটিং */
  .product-grid,
  .shop-layout .product-grid,
  #product-grid,
  #featured-grid,
  #related-grid,
  #recently-viewed-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .shop-layout,
  .shop-layout > div {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* ২. মূল কার্ড ফ্রেম - বিদ্যমান ডিজাইন ঠিক রেখে ফ্লেক্সিবল সাইজিং */
  .product-card,
  .shop-layout .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  /* ৩. প্রডাক্ট ইমেজের ১৬:৯ (16:9) কমপ্যাক্ট রেশিও */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important; /* প্রডাক্ট ছবি ১৬:৯ রেশিওতে লম্বায় ছোট করা হলো */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ৪. ইনফরমেশন এরিয়ার অতিরিক্ত ফাঁকা জায়গা (Padding/Margin/Gap) রিমুভ */
  .product-info {
    padding: 6px 8px 8px 8px !important; /* টাইট ও কমপ্যাক্ট প্যাডিং */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 2px !important; /* এলিমেন্টের মাঝে অপ্রয়োজনীয় ফাঁকা কমানো হলো */
    box-sizing: border-box !important;
  }

  /* ক্যাটাগরি ও রেটিং রো */
  .card-meta-row,
  .product-info .cat-row {
    margin-bottom: 2px !important;
  }

  .product-info .cat,
  .cat-pill {
    font-size: 0.62rem !important;
    padding: 1px 6px !important;
    line-height: 1.2 !important;
  }

  .product-info .rating,
  .stars-theme {
    font-size: 0.65rem !important;
  }

  /* প্রডাক্ট টাইটেল - অতিরিক্ত ফাঁকা জায়গা রিমুভ */
  .product-info h3,
  .title-link h3 {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 1px 0 3px 0 !important; /* টাইটেলের ওপর-নিচের অনাবশ্যক গ্যাপ রিমুভ */
    height: auto !important;
    max-height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  /* প্রাইজ ও ডিসকাউন্ট রো */
  .price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    margin: 2px 0 4px 0 !important;
    padding-top: 0 !important;
  }

  .price,
  .price-box .price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
  }

  .price-old {
    font-size: 0.7rem !important;
  }

  .price-side-tag,
  .stock-pill {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
  }

  /* ৫. কার্ট আইকন + বাই বাটন রো - পারফেক্ট কমপ্যাক্ট হাইট */
  .card-action-row,
  .quick-add {
    display: flex !important;
    gap: 6px !important;
    margin-top: 4px !important;
    width: 100% !important;
  }

  .cart-icon-square-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .add-to-cart-hero-btn,
  .quick-add button,
  .btn-primary {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    flex: 1 !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   ⚡ ULTRA-COMPACT MOBILE CARD FIX (ZERO WASTED GAP SYSTEM)
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. প্রডাক্ট গ্রিড কন্টেইনার */
  .product-grid,
  .shop-layout .product-grid,
  #product-grid,
  #featured-grid,
  #related-grid,
  #recently-viewed-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .shop-layout,
  .shop-layout > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ২. মূল প্রডাক্ট কার্ড ফ্রেম */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* ৩. ইমেজের কমপ্যাক্ট সাইজ (১৬:১০ রেশিও) */
  .product-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important; /* ইমেজের উচ্চতা কমিয়ে স্লিম করা হলো */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ৪. টাইট বডি প্যাডিং (জিরো স্পেসিং) */
  .product-info {
    padding: 6px 8px 8px !important; /* একদম টাইট প্যাডিং */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 0 !important; /* অহেতুক গ্যাপ বন্ধ */
    box-sizing: border-box !important;
  }

  /* 💡 ম্যাজিক ফিক্স: ক্যাটাগরি এবং রেটিং একই লাইনে (পাশাপাশি) আনা */
  .card-meta-row,
  .product-info .cat-row {
    display: flex !important;
    flex-direction: row !important; /* একই লাইনে পাশাপাশি */
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 0 2px 0 !important;
  }

  .cat-pill,
  .product-info .cat {
    font-size: 0.6rem !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 58% !important;
  }

  .stars-theme,
  .product-info .rating {
    font-size: 0.6rem !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 1px !important;
    white-space: nowrap !important;
  }

  .stars-theme svg,
  .product-info .rating svg {
    width: 10px !important;
    height: 10px !important;
  }

  /* ৫. প্রডাক্ট টাইটেল (নামের উপরের ও নিচের গ্যাপ জিরো) */
  .product-info h3,
  .title-link h3 {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 1px 0 3px 0 !important; /* মিনিমাল ১px মার্জিন */
    height: auto !important;
    min-height: 0 !important;
    max-height: 2.4em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  /* ৬. প্রাইজ ও স্টক/ডিসকাউন্ট রো */
  .price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2px !important;
    margin: 2px 0 4px 0 !important;
    padding-top: 0 !important;
  }

  .price-box {
    display: flex !important;
    align-items: baseline !important;
    gap: 3px !important;
  }

  .price,
  .price-box .price {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .price-old {
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }

  .price-side-tag,
  .stock-pill {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    line-height: 1.1 !important;
  }

  /* ৭. স্লিম বাটন রো (30px Height) */
  .card-action-row,
  .quick-add {
    display: flex !important;
    gap: 4px !important;
    margin-top: 2px !important;
    width: 100% !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cart-icon-square-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cart-icon-square-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  .btn,
  .add-to-cart-hero-btn,
  .quick-add button {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 6px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    flex: 1 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   🔘 GLOBAL MOBILE BUTTON THICKNESS & GIFT FINDER FIX
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. প্রডাক্ট কার্ড বাদে সাইটের সব গ্লোবাল অ্যাকশন বাটনের স্বাভাবিক থিকনেস রিস্টোর */
  .btn,
  .btn-primary,
  .btn-outline,
  button:not(.product-card button):not(.wish-btn):not(.qty-stepper button):not(.rating-input button) {
    min-height: 46px !important;
    height: auto !important;
    padding: 12px 22px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill, 30px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* ২. স্মার্ট উপহার ফাইন্ডার ফ্লেক্সিবল ফুল-উইডথ ও রেসপন্সিভ ফিক্স */
  .form-card div:has(> #gf-target) {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #gf-target,
  #gf-budget,
  #gf-search-btn {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    font-size: 0.92rem !important;
    border-radius: 25px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* ৩. শুধুমাত্র প্রডাক্ট কার্ডের ভেতরের বাটন স্পেসিফিকভাবে স্লিম রাখা */
  .product-card .btn,
  .product-card .add-to-cart-hero-btn,
  .product-card .cart-icon-square-btn,
  .product-card .quick-add button {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }
}

/* ==========================================================================
   📱 MOBILE HEADER & ICON BUTTONS PERFECT FIX
   ========================================================================== */

@media (max-width: 919px) {
  /* ১. মোবাইল হেডার ব্যাকগ্রাউন্ড ও পজিশন ফিক্স */
  #site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: var(--header-bg, rgba(255, 255, 255, 0.95)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--clr-glass-border, rgba(212, 155, 39, 0.25)) !important;
  }

  .nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    gap: 8px !important;
  }

  /* ২. লোগো ও টাইটেল রেসপন্সিভ সাইজ */
  .brand {
    font-size: 1.15rem !important;
    gap: 8px !important;
  }

  .brand .brand-mark {
    width: 36px !important;
    height: 36px !important;
  }

  /* ৩. মোবাইলে অনাবশ্যক ডেক্সটপ লিংক হাইড করা */
  .search-box,
  .nav-links,
  .nav-actions > .icon-btn:not(.mobile-toggle):not(#theme-toggle-btn):not(.mobile-search-toggle) {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* 💡 ম্যাজিক ফিক্স: ফাঁকা সাদা বৃত্ত দূর করে আইকন দৃশ্যমান করা */
  .nav-actions .icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--clr-input-bg, #ffffff) !important;
    border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.35)) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  /* লাইট মোডে আইকনের কালার গাঢ় ইনডিগো/কালো নিশ্চিত করা */
  .nav-actions .icon-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: var(--clr-indigo-deep, #060B17) !important; /* আইকন দেখা যাওয়ার জন্য গাঢ় রঙ */
    fill: none !important;
    stroke-width: 2 !important;
    display: block !important;
    margin: auto !important;
  }

  /* 🌙 ডার্ক মোডে আইকন ও বাটনের কালার অ্যাডজাস্টমেন্ট */
  [data-theme="dark"] #site-header {
    background: rgba(14, 23, 42, 0.95) !important;
  }

  [data-theme="dark"] .nav-actions .icon-btn {
    background: #1E293B !important;
    border-color: rgba(255, 184, 0, 0.35) !important;
  }

  [data-theme="dark"] .nav-actions .icon-btn svg {
    stroke: #F8FAFC !important; /* ডার্ক মোডে উজ্জ্বল সাদা আইকন */
  }
}

/* ==========================================================================
   🔍 DEFINITIVE FIX: MENU & THEME BUTTON SVG VISIBILITY ON MOBILE
   ========================================================================== */

@media (max-width: 919px) {
  /* ১. থিম বাটন ও মেনু বাটন বাধ্যতামূলকভাবে দৃশ্যমান করা */
  #theme-toggle-btn,
  .mobile-toggle,
  .mobile-search-toggle,
  .nav-actions .icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.35)) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* ২. থিম ও মেনু বাটনের ভেতরের SVG আইকন দৃশ্যমান করার ফিক্স */
  #theme-toggle-btn svg,
  .mobile-toggle svg,
  .mobile-search-toggle svg,
  .nav-actions .icon-btn svg,
  .nav-actions button svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: auto !important;
    /* stroke এবং fill উভয় প্রকার SVG-র রঙ গাঢ় ইনডিগো/কালো নিশ্চিতকরণ */
    stroke: var(--clr-indigo-deep, #060B17) !important;
    color: var(--clr-indigo-deep, #060B17) !important;
  }

  /* ৩. ডার্ক মোডে বাটন ও SVG আইকনের কালার ফিক্স */
  [data-theme="dark"] #theme-toggle-btn,
  [data-theme="dark"] .mobile-toggle,
  [data-theme="dark"] .nav-actions .icon-btn {
    background: #1E293B !important;
    border-color: rgba(255, 184, 0, 0.35) !important;
  }

  [data-theme="dark"] #theme-toggle-btn svg,
  [data-theme="dark"] .mobile-toggle svg,
  [data-theme="dark"] .nav-actions .icon-btn svg,
  [data-theme="dark"] .nav-actions button svg {
    stroke: #F8FAFC !important;
    color: #F8FAFC !important;
    fill: #F8FAFC !important;
  }
}

/* ==========================================================================
   🔴 PERFECT CIRCLE FIX FOR HEADER BUTTONS (PREVENT SQUISHING/OVAL)
   ========================================================================== */

@media (max-width: 919px) {
  /* সার্চ, থিম ও মেনু বাটনগুলোকে নিখুঁত বৃত্তে লক করা */
  #site-header .nav-actions .icon-btn,
  #theme-toggle-btn,
  .mobile-toggle,
  .mobile-search-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    aspect-ratio: 1 / 1 !important; /* গাণিতিকভাবে ১০০% নিখুঁত গোল শেপ */
    flex-shrink: 0 !important;       /* ফ্লেক্সবক্সে বাটন চ্যাপ্টা হওয়া বন্ধ করবে */
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   🛠️ WHATSAPP BUTTON OVERLAP & POSITIONING FIX
   ========================================================================== */

/* ১. বাইরের কন্টেইনার পজিশনিং (ডেস্কটপ) */
#wa-widget-container {
  position: fixed !important;
  bottom: 25px !important;
  right: 20px !important;
  z-index: 99990 !important;
}

/* ২. ভেতরের ফ্লোটিং বাটনের অতিরিক্ত fixed পজিশন রিমুভ */
#wa-float-btn {
  position: relative !important;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
}

/* ৩. মোবাইল পজিশন (৬২px বটম নেভিগেশন বারের ঠিক ৬px উপরে) */
@media (max-width: 768px) {
  #wa-widget-container {
    bottom: 68px !important; /* ৬২px নেভিগেশন বারের ঠিক ৬px উপরে থাকবে */
    right: 12px !important;
  }

  #wa-float-btn {
    width: 44px !important;
    height: 44px !important;
  }

  #wa-float-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* ৪. প্রোডাক্ট ডিটেইলস পেজে স্টিকি কার্ট বার এলে বাটনটির অবস্থান */
  body:has(#mobile-sticky-bar.visible) #wa-widget-container {
    bottom: 115px !important;
  }
}

/* ==========================================================================
   ❌ CART DRAWER CLOSE (CROSS) BUTTON VISIBILITY FIX
   ========================================================================== */

/* ১. ড্রয়ারের ক্লোজ বাটন সার্কেল ফিক্স */
#close-drawer-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  background: var(--clr-input-bg, #ffffff) !important;
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.4)) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

/* ২. ভেতরের ক্রস (✕) SVG আইকন দৃশ্যমান করার রুল */
#close-drawer-btn svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  stroke: var(--clr-ink-heading, #0A1128) !important; /* স্পষ্ট গাঢ় রঙ */
  stroke-width: 2.5px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: auto !important;
}

/* ৩. মাউস নিলে/টাচ করলে রেসপন্স */
#close-drawer-btn:hover {
  background: var(--clr-rust-glow, #FF451A) !important;
  border-color: var(--clr-rust-glow, #FF451A) !important;
  transform: scale(1.08) !important;
}

#close-drawer-btn:hover svg {
  stroke: #ffffff !important;
}

/* 🌙 ডার্ক মোড সাপোর্ট */
[data-theme="dark"] #close-drawer-btn {
  background: #1E293B !important;
  border-color: rgba(255, 184, 0, 0.4) !important;
}

[data-theme="dark"] #close-drawer-btn svg {
  stroke: #F8FAFC !important;
}

/* ==========================================================================
   📱 SALES NOTIFIER - MOBILE FULL-WIDTH APP TOAST
   ========================================================================== */

/* ১. ডেস্কটপ ভিউ স্টাইল (Floating Box) */
.sales-popup-toast {
  position: fixed;
  bottom: 25px;
  left: 20px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-card, #ffffff);
  border: 1.5px solid var(--clr-gold-bright, #FFB800);
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  max-width: 360px;
  animation: salesPopupSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sales-popup-toast img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--clr-glass-border, #eee);
  flex-shrink: 0;
}

.sales-popup-close {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--clr-ink-muted, #888);
  cursor: pointer;
  line-height: 1;
}

/* ২. মোবাইল ফুল-উইডথ অ্যাপ বারের মতো স্টাইল */
@media (max-width: 768px) {
  .sales-popup-toast {
    bottom: 72px !important; /* মোবাইল বটম মেনুর ঠিক ওপরে সুন্দরভাবে বসবে */
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    background: var(--clr-card, #ffffff) !important;
    border: 1.5px solid var(--clr-gold-bright, #FFB800) !important;
  }

  .sales-popup-toast img {
    width: 44px !important;
    height: 44px !important;
  }

  .sales-popup-close {
    top: 6px !important;
    right: 10px !important;
  }
}

@keyframes salesPopupSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   📜 ADDRESS & OTP MODAL SCROLLING FIX
   ========================================================================== */

/* ১. মোডাল ব্যাকড্রপ স্ক্রোল করার অনুমতি দেওয়া */
.otp-modal-overlay {
  overflow-y: auto !important;
  padding: 20px 16px !important;
  -webkit-overflow-scrolling: touch;
}

/* ২. মোডাল কার্ডের জন্য ম্যাক্স-হাইট ও স্ক্রোলবার সেট করা */
.otp-modal-card {
  max-height: 88vh !important;   /* স্ক্রিনের ৮৮% উচ্চতার বেশি হবে না */
  max-height: 88dvh !important;
  overflow-y: auto !important;   /* কন্টেন্ট বেশি হলে স্ক্রোলবার আসবে */
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
}

/* স্ক্রোলবার দেখতে আরও সুন্দর করার জন্য কমপ্যাক্ট স্টাইলিং */
.otp-modal-card::-webkit-scrollbar {
  width: 5px;
}
.otp-modal-card::-webkit-scrollbar-thumb {
  background: var(--clr-gold-bright, #FFB800);
  border-radius: 10px;
}

/* ==========================================================================
   📱 MOBILE FULL-SCREEN ADDRESS MODAL (APP-LIKE PAGE)
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. মোডাল কন্টেইনারকে মোবাইল স্ক্রিনে ১০০% ফুলস্ক্রিন করা */
  #add-addr-modal.otp-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--clr-bg-canvas, #FAF7F2) !important;
    z-index: 999999 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  /* ২. মোডাল কার্ডটিকে মোবাইল অ্যাপ পেজে রূপান্তর */
  #add-addr-modal .otp-modal-card {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;   /* বর্ডার রেডিয়াস বাতিল */
    border: none !important;        /* বর্ডার বাতিল */
    box-shadow: none !important;    /* শ্যাডো বাতিল */
    padding: 20px 16px 40px 16px !important;
    overflow-y: auto !important;   /* স্মুথ স্ক্রোল */
    background: var(--clr-bg-canvas, #FAF7F2) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* ৩. ফুলস্ক্রিন পেজের হেডার ডিজাইন */
  #add-addr-modal .otp-modal-card h3 {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: var(--clr-ink-heading, #0A1128) !important;
    border-bottom: 2px solid var(--clr-gold-bright, #FFB800) !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  /* ৪. ইনপুট ফিল্ডগুলো মোবাইলে সিঙ্গেল কলামে সাজানো */
  #add-addr-form .field-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 🌙 ডার্ক মোডে ফুলস্ক্রিন ব্যাকগ্রাউন্ড */
  [data-theme="dark"] #add-addr-modal.otp-modal-overlay,
  [data-theme="dark"] #add-addr-modal .otp-modal-card {
    background: #0E172A !important;
    color: #F8FAFC !important;
  }
}

/* ==========================================================================
   🔧 PRODUCT DETAILS BUTTONS & LAYOUT FIX
   ========================================================================== */

/* ১. "কার্টে যোগ করুন" বাটনের গ্রাডিয়েন্ট উজ্জ্বল ও স্মুথ করা */
.btn-primary {
  background: linear-gradient(135deg, #FF451A 0%, #FF6B00 100%) !important;
  color: #FFFFFF !important;
}

/* ২. বাটন কন্টেইনারের স্পেসিং ও ফ্লেক্স ফিক্স */
.pd-actions {
  margin-top: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.pd-actions > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ৩. "কার্টে যোগ করুন" ও "এখনই কিনুন" বাটন দুটো সমানভাবে জায়গা নিবে (কখনো স্ক্রিন থেকে বের হবে না) */
#add-cart-btn, 
#buy-now-btn {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 11px 6px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ৪. ৩ নম্বর গোল উইশলিস্ট বাটন কেটে যাওয়া বন্ধ ও আইকন সেন্টার করা */
#pd-wish-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  flex-shrink: 0 !important; /* বাটনটি কেটে যাওয়া রোধ করবে */
  border-radius: 50% !important;
  border: 1.5px solid var(--clr-glass-border, rgba(212, 155, 39, 0.4)) !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  cursor: pointer !important;
}

/* উইশলিস্ট আইকন ফিক্স */
#pd-wish-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--clr-rust-glow, #FF451A) !important;
  fill: none !important;
  display: block !important;
  margin: auto !important;
}

#pd-wish-btn.active svg {
  fill: var(--clr-rust-glow, #FF451A) !important;
}

/* ৫. WhatsApp বাটন টেক্সট ও আইকন পজিশন ফিক্স */
#wa-order-btn {
  width: 100% !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  justify-content: center !important;
  border-radius: 25px !important;
}

/* 🌙 ডার্ক মোড সাপোর্ট */
[data-theme="dark"] #pd-wish-btn {
  background: #1E293B !important;
  border-color: rgba(255, 184, 0, 0.4) !important;
}

[data-theme="dark"] #pd-wish-btn svg {
  stroke: #F8FAFC !important;
}

/* ==========================================================================
   📱 ACTION BUTTONS MOBILE AUTO-FIT & RESPONSIVE FIX
   ========================================================================== */

@media (max-width: 768px) {
  /* ১. সাইটের সব অ্যাকশন বাটন মোবাইলের জন্য অটো-ফিটিং করা */
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-whatsapp-order,
  #add-cart-btn,
  #buy-now-btn,
  #wa-order-btn,
  button[type="submit"],
  .summary-card .btn,
  .form-card .btn {
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 14px !important; /* বড় প্যাডিং কমিয়ে অটো-ফিটিং প্যাডিং দেওয়া হলো */
    font-size: 0.88rem !important;  /* মোবাইল ফ্রেন্ডলি ফন্ট সাইজ */
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  /* ২. কন্টেইনারের ভেতর বাটন যেন ১০০% এরিয়া অটো কাভার করে */
  .btn-block,
  .summary-card .btn,
  .checkout-layout .btn,
  .form-card button[type="submit"],
  .newsletter .btn {
    width: 100% !important;
    display: flex !important;
  }

  /* ৩. প্রোডাক্ট ডিটেইলস পেজের বাটন অটো-ফিট ফিক্স */
  .pd-actions {
    width: 100% !important;
    margin-top: 14px !important;
  }

  .pd-actions > div:first-child {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* কার্টে যোগ করুন ও এখনই কিনুন বাটন স্ক্রিনের জায়গা অনুযায়ী অটো ফ্লেক্স হবে */
  #add-cart-btn,
  #buy-now-btn {
    flex: 1 1 0% !important;  /* দুটো বাটন স্ক্রিনের জায়গা সমানভাবে ভাগ করে নিবে */
    min-width: 0 !important;    /* টেক্সট স্ক্রিনের বাইরে বের হওয়া বন্ধ করবে */
    padding: 10px 6px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* উইশলিস্ট গোল বাটন ফিক্স */
  #pd-wish-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important; /* বাটন ছোট বা চ্যাপ্টা হওয়া রোধ করবে */
  }
}

/* ৪. খুব ছোট স্ক্রিনে (<= 380px) বাটনগুলো একটার নিচে আরেকটা চমৎকারভাবে নেমে আসবে */
@media (max-width: 380px) {
  .pd-actions > div:first-child {
    flex-direction: column !important;
  }

  #add-cart-btn,
  #buy-now-btn,
  #pd-wish-btn {
    width: 100% !important;
    flex: none !important;
    border-radius: 25px !important;
  }
}