/* =====================================================
   EMARKET247 - Fashion & Jewellery
   Design System & Global Styles
   ─────────────────────────────────────────────────────
   LOGO BASE COLORS (extracted from logo image):
     Crimson Red  #E11A22  — 'e' badge + '7' accent
     Charcoal     #1D1D1D  — badge bg, body text
     Pure White   #FFFFFF  — logo background

   EXPERT COMPLEMENTARY PALETTE (60-30-10 rule):
     60% → Ivory/Warm White  #FBF4EC  (page bg, cards)
     30% → Charcoal variants  #1D1D1D / #2E2E2E  (structure)
     10% → Crimson + Champagne Gold  #E11A22 / #C8902A  (CTA, accents)

   Color Theory Applied:
     • Warm Champagne Gold  #C8902A  — analogous-warm to crimson,
       represents luxury jewellery. Sits on the warm side of the
       red-orange wheel, harmonious with crimson.
     • Burgundy  #A8151A  — monochromatic dark of crimson, depth.
     • Blush Rose  #FDE8E9  — monochromatic light tint, soft UI tones.
     • Ivory  #FBF4EC  — analogous warm neutral, luxury page base.
   ===================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* ── LOGO BASE COLORS (exact from logo) ── */
  --red: #E11A22;              /* Crimson — exact logo 'e' badge & '7' */
  --charcoal: #1D1D1D;         /* Near-black — exact logo badge background */
  --white: #FFFFFF;            /* Pure white — logo canvas */

  /* ── MONOCHROMATIC RED SCALE ── */
  --red-dark: #A8151A;         /* Burgundy — dark monochromatic of crimson */
  --red-mid: #C91720;          /* Mid crimson — hover states */
  --red-light: #FDE8E9;        /* Blush rose — monochromatic light tint */
  --red-pale: #FFF5F5;         /* Near-white blush — subtle backgrounds */

  /* ── ANALOGOUS WARM GOLD (luxury accent, 10% rule) ── */
  --gold: #C8902A;             /* Champagne gold — analogous-warm to crimson */
  --gold-dark: #A6741E;        /* Deep gold — hover/pressed states */
  --gold-mid: #D9A23A;         /* Mid gold — highlights */
  --gold-light: #FBF4EC;       /* Ivory cream — 60% luxury page background */
  --gold-pale: #FEF9F2;        /* Warm white — card/section backgrounds */

  /* ── CHARCOAL SCALE (structure & typography) ── */
  --charcoal-soft: #2E2E2E;    /* Soft charcoal — body text variant */
  --charcoal-mid: #3D3D3D;     /* Mid charcoal — secondary text */
  --charcoal-light: #5A5A5A;   /* Light charcoal — muted labels */

  /* Neutrals */
  --gray-100: #F7F4F0;         /* Warm gray — slight ivory tint to match brand */
  --gray-200: #EDE8E2;
  --gray-300: #DDD8D0;
  --gray-400: #BCBAB6;
  --gray-500: #9A9896;
  --gray-600: #757370;
  --gray-700: #4A4845;
  --gray-800: #2D2B28;

  /* Semantic */
  --success: #27AE60;
  --warning: #F39C12;
  --info: #2980B9;
  --danger: #E74C3C;

  /* Typography */
  --font-primary: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Hind Siliguri', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --shadow-red: 0 4px 16px rgba(225,26,34,0.28);
  --shadow-gold: 0 4px 16px rgba(200,144,42,0.30);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-base); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-charcoal { color: var(--charcoal); }
.text-muted { color: var(--gray-500); }

/* --- Layout Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (max-width: 768px) { .container { padding: 0 var(--space-md); } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(211,30,36,0.40); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.45); filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-red { background: var(--red); color: white; }
.badge-gold { background: var(--gold); color: var(--charcoal); }
.badge-new { background: var(--success); color: white; }
.badge-hot { background: #FF4500; color: white; }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

/* Top announcement bar — slim, minimal, rotating */
#announcement-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-bangla, 'Hind Siliguri', sans-serif);
}
#announcement-bar::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,144,42,0.12), transparent);
  animation: shimmer 5s infinite;
}
@keyframes shimmer { to { left: 200%; } }

/* Rotating announcement messages */
.ann-messages {
  position: relative;
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ann-msg {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ann-msg.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ann-msg .ann-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ann-msg .ann-dot {
  color: var(--gold);
  font-size: 0.6rem;
}
@media (max-width: 480px) {
  #announcement-bar { font-size: 0.72rem; }
  .ann-msg { gap: 6px; white-space: normal; padding: 0 12px; text-align: center; }
}

/* Header */
#site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition-base);
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding: 12px 0;
}
@media (max-width: 768px) {
  .header-inner { gap: var(--space-sm); padding: 8px 0; }
}

/* Logo */
/* ─── Logo: stacked layout — large image + tagline below ─── */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  /* Subtle hover lift */
  transition: transform var(--transition-base);
}
.site-logo:hover { transform: translateY(-1px); }

.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* Logo image — increased from 56px to 76px, prominent and clear */
.site-logo img {
  height: 76px;
  width: auto;
  display: block;
  /* Crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Tagline below logo */
.logo-tagline {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  font-family: var(--font-body);
  white-space: nowrap;
  line-height: 1;
  /* Champagne gold underline accent */
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

/* Mobile: slightly smaller but still prominent */
@media (max-width: 768px) {
  .site-logo img { height: 56px; }
  .logo-tagline { font-size: 0.5rem; letter-spacing: 2px; }
}

/* Legacy support — hide old logo-text if still present */
.logo-text { display: none !important; }

/* Search bar */
.header-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.header-search input {
  width: 100%;
  padding: 11px 50px 11px 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  background: var(--gray-100);
  transition: all var(--transition-base);
  outline: none;
}
.header-search input:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-light);
}
.header-search input::placeholder { color: var(--gray-400); }
.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.search-btn:hover { background: var(--red-dark); }

/* Search suggestions dropdown */
#search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  display: none;
  max-height: 380px;
  overflow-y: auto;
}
#search-suggestions.show { display: block; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.suggestion-item:hover { background: var(--gray-100); }
.suggestion-item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); }
.suggestion-item-info .name { font-size: 0.9rem; font-weight: 600; }
.suggestion-item-info .price { font-size: 0.82rem; color: var(--red); font-weight: 700; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--charcoal);
  transition: all var(--transition-base);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.action-btn:hover { color: var(--red); background: var(--red-light); }
.action-btn i { font-size: 1.25rem; }
.action-btn .count-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Navigation */
#main-nav {
  background: var(--charcoal);
  border-top: 3px solid var(--red);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}
.nav-link i { font-size: 0.75rem; opacity: 0.7; }
.nav-item.featured > .nav-link {
  color: var(--gold);
  font-weight: 700;
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 600px;
  background: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  display: none;
  z-index: var(--z-dropdown);
  border-top: 3px solid var(--red);
}
.nav-item:hover .mega-dropdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.dropdown-category h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 8px; font-weight: 700; }
.dropdown-category a {
  display: block;
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}
.dropdown-category a:hover { color: var(--red); padding-left: 6px; }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition-base);
}
@media (max-width: 768px) { .mobile-menu-btn { display: flex; } }

#mobile-nav {
  display: none;
  background: var(--charcoal);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: var(--z-modal);
  overflow-y: auto;
  padding: var(--space-lg);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}
#mobile-nav.open { display: block; transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-header img { height: 44px; }
.mobile-close {
  color: white;
  font-size: 1.5rem;
  padding: 8px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition-fast);
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-link i { width: 20px; text-align: center; color: var(--gold); }

/* =====================================================
   HERO SECTION
   ===================================================== */
#hero {
  background: var(--charcoal);
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
}
.hero-slider {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-slide {
  flex: 0 0 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(211,30,36,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  color: var(--red);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}
.hero-eyebrow i { font-size: 0.8rem; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 460px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-display);
}
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-img {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.hero-img-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-img-badge .badge-icon { width: 40px; height: 40px; background: var(--red-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.2rem; }
.hero-img-badge .badge-text strong { display: block; font-size: 0.9rem; color: var(--charcoal); }
.hero-img-badge .badge-text span { font-size: 0.78rem; color: var(--gray-500); }

.hero-img-badge2 {
  position: absolute;
  top: 30px;
  right: -10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: var(--shadow-gold);
  animation: float 4s ease-in-out infinite reverse;
}
.hero-img-badge2 .badge-val { font-size: 1.4rem; font-weight: 800; color: var(--charcoal); }
.hero-img-badge2 .badge-lbl { font-size: 0.72rem; color: var(--charcoal); font-weight: 600; text-transform: uppercase; }

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition-base);
}
.hero-dot.active { width: 28px; background: var(--gold); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

@media (max-width: 768px) {
  .hero-slide { grid-template-columns: 1fr; min-height: auto; padding: var(--space-2xl) 0; }
  .hero-image-wrap { display: none; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: var(--space-lg); }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
#trust-bar {
  background: var(--gold-light);
  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: var(--space-lg) 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 12px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.trust-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--charcoal); }
.trust-text span { font-size: 0.78rem; color: var(--gray-600); }
@media (max-width: 768px) {
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-items { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .trust-text { display: none; }
  .trust-item { justify-content: center; }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}
.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.section-title { margin-bottom: var(--space-sm); }
.section-subtitle { color: var(--gray-600); font-size: 1rem; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }
.section-dark .section-title { color: var(--white); }

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}
.section-header-flex .section-header { text-align: left; margin: 0; }
@media (max-width: 600px) {
  .section-header-flex { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* =====================================================
   CATEGORY CARDS
   ===================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .categories-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); } }

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
  aspect-ratio: 3/4;
  background: var(--gray-200);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover img { transform: scale(1.08); }
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
}
.category-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  z-index: 2;
}
.category-card-info h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 2px;
}
.category-card-info span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
}
.category-card .category-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: white;
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 2;
  transition: transform var(--transition-base);
}
.category-card:hover .category-badge { transform: rotate(15deg) scale(1.1); }

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); } }
@media (max-width: 380px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 34px;
  height: 34px;
  background: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}
.product-action-btn:hover { background: var(--red); color: white; }
.product-action-btn.wishlisted { background: var(--red); color: white; }

.quick-view-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(34,34,34,0.9);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  backdrop-filter: blur(4px);
}
.product-card:hover .quick-view-btn { transform: translateY(0); }

.product-info { padding: 14px; }
.product-category-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.stars { color: var(--gold); font-size: 0.78rem; }
.review-count { font-size: 0.75rem; color: var(--gray-500); }

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--red); }
.price-original { font-size: 0.85rem; color: var(--gray-400); text-decoration: line-through; }
.price-save { font-size: 0.75rem; background: var(--red-light); color: var(--red); padding: 1px 6px; border-radius: var(--radius-full); font-weight: 700; }

.add-to-cart-btn {
  width: 100%;
  padding: 10px;
  background: var(--charcoal);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-to-cart-btn:hover { background: var(--red); }
.add-to-cart-btn.added { background: var(--success); }

/* =====================================================
   TABS
   ===================================================== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-base);
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-btn:hover:not(.active) { color: var(--charcoal); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* =====================================================
   OFFER BANNERS
   ===================================================== */
.offer-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 768px) { .offer-banners { grid-template-columns: 1fr; } }

.offer-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: var(--space-xl);
}
.offer-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-banner-overlay {
  position: absolute;
  inset: 0;
}
.offer-banner-content { position: relative; z-index: 2; }
.offer-banner-content .eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.offer-banner-content h3 { font-size: 1.4rem; margin-bottom: 4px; }
.offer-banner-content p { font-size: 0.88rem; margin-bottom: 14px; opacity: 0.9; }

/* =====================================================
   COUNTDOWN TIMER
   ===================================================== */
.countdown-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--red-dark) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.countdown-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212,175,55,0.07);
  pointer-events: none;
}
.countdown-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3xl);
  align-items: center;
}
@media (max-width: 768px) { .countdown-inner { grid-template-columns: 1fr; } }
.countdown-product { display: flex; gap: var(--space-xl); align-items: center; }
.countdown-img {
  width: 140px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  box-shadow: var(--shadow-xl);
}
.countdown-info .eyebrow { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.countdown-info h3 { color: white; font-size: 1.4rem; margin-bottom: 6px; }
.countdown-info .price { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.countdown-info .original { font-size: 1rem; color: rgba(255,255,255,0.5); text-decoration: line-through; margin-left: 8px; }
.countdown-progress { margin-top: 10px; }
.progress-bar { background: rgba(255,255,255,0.15); border-radius: var(--radius-full); height: 6px; overflow: hidden; }
.progress-fill { background: var(--gold); height: 100%; border-radius: var(--radius-full); transition: width 1s ease; }
.progress-text { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

.countdown-timer { text-align: center; }
.countdown-timer h4 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-md); opacity: 0.8; }
.timer-units { display: flex; gap: var(--space-sm); }
.timer-unit {
  text-align: center;
  min-width: 70px;
}
.timer-val {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  display: block;
  min-width: 70px;
}
.timer-lbl { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; display: block; }
.timer-sep { color: var(--gold); font-size: 2rem; font-weight: 800; align-self: flex-start; padding-top: 12px; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red-light);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: var(--space-md); }
.testimonial-text { color: var(--gray-700); font-size: 0.92rem; line-height: 1.7; margin-bottom: var(--space-md); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold-light);
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-location { font-size: 0.78rem; color: var(--gray-500); }
.verified-badge { margin-left: auto; color: var(--success); font-size: 0.78rem; display: flex; align-items: center; gap: 3px; }

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
@media (max-width: 768px) { .newsletter-inner { grid-template-columns: 1fr; text-align: center; } }
.newsletter-content h2 { color: white; margin-bottom: var(--space-sm); }
.newsletter-content p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.newsletter-input-group { display: flex; gap: var(--space-sm); }
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-base);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.25); }
.newsletter-note { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* =====================================================
   CART SIDEBAR
   ===================================================== */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(2px);
}
#cart-overlay.open { opacity: 1; pointer-events: all; }

#cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 95vw;
  background: white;
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}
#cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-close { font-size: 1.4rem; color: var(--gray-600); padding: 4px 8px; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.cart-close:hover { background: var(--red-light); color: var(--red); }

.cart-items { flex: 1; overflow-y: auto; padding: var(--space-md); }

.cart-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 0.92rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.qty-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.qty-val { font-size: 0.9rem; font-weight: 600; min-width: 24px; text-align: center; }
.cart-item-remove { color: var(--gray-400); font-size: 1rem; cursor: pointer; padding: 4px; transition: color var(--transition-fast); align-self: flex-start; }
.cart-item-remove:hover { color: var(--red); }

.cart-empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--gray-500);
}
.cart-empty i { font-size: 3rem; margin-bottom: var(--space-md); color: var(--gray-300); }
.cart-empty h4 { margin-bottom: var(--space-sm); color: var(--charcoal); }

.cart-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--gray-100);
}
.cart-summary { margin-bottom: var(--space-md); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.cart-summary-row.total { font-size: 1.05rem; font-weight: 800; color: var(--charcoal); border-top: 1px solid var(--gray-300); padding-top: 8px; margin-top: 8px; }
.free-shipping-msg { font-size: 0.8rem; color: var(--success); text-align: center; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
}
.footer-top {
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 52px; margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: var(--space-lg); max-width: 300px; }
.footer-socials { display: flex; gap: var(--space-sm); }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-base);
  font-size: 0.95rem;
}
.social-link:hover { background: var(--red); color: white; transform: translateY(-2px); }
.social-link.facebook:hover { background: #1877F2; }
.social-link.instagram:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.youtube:hover { background: #FF0000; }
.social-link.whatsapp:hover { background: #25D366; }

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 10px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: all var(--transition-fast); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--red); font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item div strong { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.9); margin-bottom: 2px; }
.footer-contact-item div span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.payment-icon.bkash { color: #E2136E; background: rgba(226,19,110,0.15); border-color: rgba(226,19,110,0.3); }
.payment-icon.nagad { color: #F47B20; background: rgba(244,123,32,0.15); border-color: rgba(244,123,32,0.3); }
.payment-icon.rocket { color: #8C3494; background: rgba(140,52,148,0.15); border-color: rgba(140,52,148,0.3); }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
#toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--charcoal);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 320px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  border-left: 3px solid var(--gold);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--red); }
.toast i { font-size: 1rem; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--red); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
#scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  width: 44px;
  height: 44px;
  background: var(--red);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* =====================================================
   QUICK VIEW MODAL
   ===================================================== */
#quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
#quick-view-modal.open { display: flex; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}
.modal-close:hover { background: var(--red); color: white; }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
}
@media (max-width: 640px) { .modal-body { grid-template-columns: 1fr; } }
.modal-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.modal-product-info {}
.modal-product-info .modal-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); font-weight: 600; margin-bottom: 6px; }
.modal-product-info h2 { font-size: 1.4rem; margin-bottom: var(--space-sm); }
.modal-product-info .modal-price-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.modal-product-info .modal-price { font-size: 1.8rem; font-weight: 800; color: var(--red); }
.modal-product-info .modal-original { font-size: 1rem; color: var(--gray-400); text-decoration: line-through; }
.modal-product-info .modal-desc { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; margin-bottom: var(--space-md); }
.modal-stock { font-size: 0.85rem; margin-bottom: var(--space-md); display: flex; align-items: center; gap: 6px; }
.modal-stock.in-stock { color: var(--success); }
.modal-actions { display: flex; gap: var(--space-sm); }

/* =====================================================
   LOADING SKELETON
   ===================================================== */
.skeleton { background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius-md); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =====================================================
   STICKY BOTTOM BAR (Mobile)
   ===================================================== */
#mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  z-index: var(--z-sticky);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
@media (max-width: 768px) { #mobile-bottom-bar { display: flex; } }
.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  gap: 3px;
}
.bottom-bar-item i { font-size: 1.2rem; }
.bottom-bar-item.active, .bottom-bar-item:hover { color: var(--red); }
.bottom-bar-item .bb-badge {
  position: absolute;
  top: 6px;
  right: 20%;
  background: var(--red);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
#whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: var(--z-dropdown);
  transition: all var(--transition-base);
  animation: pulse 2.5s infinite;
}
#whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,0.7); } }
@media (max-width: 768px) { #whatsapp-float { bottom: 80px; right: 16px; width: 46px; height: 46px; font-size: 1.3rem; } }

/* =====================================================
   UTILITY
   ===================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--gray-200); margin: var(--space-xl) 0; }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.view-all-wrap { text-align: center; margin-top: var(--space-xl); }

@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .section { padding: var(--space-2xl) 0; }
  #main-nav { display: none; }
  .action-btn span:not(.count-badge) { display: none; }
  .header-search { max-width: none; }
}

/* =====================================================
   HOMEPAGE CUSTOM SECTIONS & FAQ CHEVRON ROTATION
   ===================================================== */
/* Special Collections Banner */
.collections-banner {
  background: linear-gradient(135deg, #1a0808 0%, #222 50%, #1a0808 100%) !important;
  padding: 48px 0 !important;
}
.collections-banner-container {
  text-align: center !important;
}
.collections-banner-eyebrow {
  color: var(--gold) !important;
}
.collections-banner-title {
  color: white !important;
  margin-bottom: 8px !important;
}
.collections-banner-desc {
  color: rgba(255,255,255,0.65) !important;
  max-width: 520px !important;
  margin: 0 auto 32px !important;
  font-size: 1rem !important;
}
.collections-banner-actions {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

/* Why Choose Us Grid */
.why-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.why-card {
  text-align: center !important;
  padding: 32px 24px !important;
  border-radius: 16px !important;
  border: 1px solid var(--gray-200) !important;
  transition: all 0.25s !important;
}
.why-card:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-4px) !important;
  border-color: var(--gold) !important;
}
.why-icon-wrap {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  font-size: 1.8rem !important;
}
.why-icon-wrap.red {
  background: var(--red-light) !important;
  color: var(--red) !important;
}
.why-icon-wrap.gold {
  background: rgba(212,175,55,0.12) !important;
  color: var(--gold-dark) !important;
}
.why-icon-wrap.green {
  background: rgba(39,174,96,0.1) !important;
  color: var(--success) !important;
}
.why-card-title {
  font-size: 1.1rem !important;
  margin-bottom: 8px !important;
}
.why-card-desc {
  font-size: 0.88rem !important;
  color: var(--gray-600) !important;
  line-height: 1.7 !important;
}
@media(max-width:768px){
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Rating Summary */
.rating-summary-card {
  text-align: center !important;
  margin-top: 40px !important;
  padding: 24px !important;
  background: white !important;
  border-radius: 16px !important;
  border: 1px solid var(--gray-200) !important;
  max-width: 360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.rating-summary-score {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: var(--charcoal) !important;
  font-family: var(--font-display) !important;
}
.rating-summary-stars {
  color: var(--gold) !important;
  font-size: 1.2rem !important;
  margin: 4px 0 !important;
}
.rating-summary-count {
  font-size: 0.85rem !important;
  color: var(--gray-500) !important;
}
.rating-summary-badges {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

/* FAQ Section */
.faq-section {
  background: var(--gray-50, #fafafa) !important;
}
.faq-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}
.faq-details {
  background: white !important;
  border-radius: 12px !important;
  border: 1px solid var(--gray-200) !important;
  padding: 20px 24px !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
}
.faq-summary {
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--charcoal) !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  outline: none !important;
}
.faq-summary::-webkit-details-marker {
  display: none !important;
}
.faq-chevron {
  color: var(--gold) !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
  transition: transform var(--transition-base) !important;
}
.faq-details[open] .faq-chevron {
  transform: rotate(180deg) !important;
}
.faq-answer {
  margin-top: 12px !important;
  font-size: 0.88rem !important;
  color: var(--gray-600) !important;
  line-height: 1.8 !important;
}
@media(max-width:768px){
  .faq-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   GLOBAL ACCESSIBILITY & PERFORMANCE
   Focus states, reduced-motion, touch, and numeric alignment.
   Appended site-wide; applies to every page that loads style.css.
   ============================================================ */

/* Visible keyboard focus on every interactive control.
   :focus-visible shows the ring for keyboard users but not on
   mouse click, so it never interferes with pointer interactions. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.btn:focus-visible,
.action-btn:focus-visible,
.nav-link:focus-visible,
.tab-btn:focus-visible,
.hero-dot:focus-visible,
.hero-arrow:focus-visible,
.mobile-nav-link:focus-visible,
.bottom-bar-item:focus-visible,
.social-link:focus-visible,
.payment-method:focus-within {
  outline: 3px solid var(--gold, #C9A227);
  outline-offset: 2px;
  border-radius: 4px;
}

/* The search input and FAQ summary remove the default outline
   with only a :focus fallback; restore a real focus-visible ring. */
.header-search input:focus-visible,
.faq-summary:focus-visible {
  outline: 3px solid var(--gold, #C9A227) !important;
  outline-offset: 2px !important;
}

/* Anchored sections should not hide under the sticky header. */
:target,
[id] {
  scroll-margin-top: 100px;
}

/* Faster, intentional taps on touch devices (removes 300ms delay). */
a, button, .btn, .action-btn, [role="button"], summary {
  touch-action: manipulation;
}

/* Keep overscroll inside scrollable overlays (cart drawer, modals). */
#cart-sidebar,
#quick-view-modal,
.modal,
.cart-sidebar {
  overscroll-behavior: contain;
}

/* Numeric columns (prices, timers, counts) should not jitter. */
.price,
.timer-val,
.cart-count,
.order-item-price,
.total-row span,
.number,
[class*="price"] {
  font-variant-numeric: tabular-nums;
}

/* Respect users who ask for less motion: near-instant transitions,
   no infinite loops, no smooth-scroll. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* Skip-to-content link: hidden until focused, then jumps into view.
   Lets keyboard/screen-reader users bypass the header and nav. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--red, #E11A22);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top var(--transition-base, 0.2s) ease;
}
.skip-link:focus {
  top: 0;
}

