/* ==========================================================================
   AURA - Ultra-Clean Minimalist Luxury Design System
   Inspired by Linear, Stripe, Apple Store, Zando & SSENSE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700;800;900&display=swap');

:root {
  --font-brand: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --primary: #ff3366;
  --primary-hover: #e62254;
  --primary-glow: rgba(255, 51, 102, 0.25);
  --primary-gradient: linear-gradient(135deg, #ff3366 0%, #ff6b8b 100%);
  --nav-gradient: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%);
  --accent-gold: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  /* Light Theme Variables */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --hover-shadow: 0 20px 35px -10px rgba(255, 51, 102, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-body: #090d16;
  --bg-surface: #111827;
  --bg-surface-secondary: #1a2234;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #242f44;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --hover-shadow: 0 20px 35px -10px rgba(255, 51, 102, 0.35);
}

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  padding-top: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hardware accelerated smooth fade */
@keyframes pageFadeIn {
  0% {
    opacity: 0.96;
  }
  100% {
    opacity: 1;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Header & Navigation Bar (Fixed / Sticky Top Navbar)
   ========================================================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  padding: 10px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.2s ease;
  will-change: transform;
}

.navbar-custom.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

[data-theme="dark"] .navbar-custom {
  background: rgba(17, 24, 39, 0.96);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .navbar-custom.is-scrolled {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

/* Responsive Mobile Navigation Drawer */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
  }
  .nav-search-container {
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 14px 0 !important;
  }
  .nav-actions-wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px !important;
  }
}

.flash-sale-banner {
  background: linear-gradient(90deg, #ff3366 0%, #8b5cf6 50%, #2563eb 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 600;
  position: relative;
  z-index: 1040;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.countdown-box {
  background: rgba(0, 0, 0, 0.4);
  color: var(--accent-gold);
  padding: 2px 10px;
  border-radius: 50rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  min-width: 130px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.brand-aura {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: 2px;
  color: #0f172a !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

[data-theme="dark"] .brand-aura {
  color: #ffffff !important;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.brand-aura:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-image: url("../backend/uploads/aura_1787733886_8630.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent !important;
  font-size: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

[data-theme="dark"] .brand-logo-icon {
  background-image: url("../backend/uploads/aura_1787733886_8630.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  box-shadow: 0 0 15px var(--primary-glow);
}

.brand-sub {
  display: none !important;
}

.nav-link {
  color: #1e293b !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

[data-theme="dark"] .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover {
  color: #ff3366 !important;
  background: #fff0f3;
  transform: translateY(-1px);
}

[data-theme="dark"] .nav-link:hover {
  color: #ff3366 !important;
  background: rgba(255, 51, 102, 0.15);
}

.nav-link.active {
  color: #ff3366 !important;
  font-weight: 800;
  background: #fff0f3;
}

[data-theme="dark"] .nav-link.active {
  color: #ff3366 !important;
  background: rgba(255, 51, 102, 0.2);
}

/* Header Live Search */
.nav-search-container {
  position: relative;
  min-width: 200px;
  max-width: 260px;
}

.nav-search-input {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a !important;
  border-radius: var(--radius-full);
  padding: 7px 14px 7px 36px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.nav-search-input::placeholder {
  color: #94a3b8;
}

.nav-search-input:focus {
  background: #ffffff;
  border-color: #ff3366;
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.15);
}

[data-theme="dark"] .nav-search-input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

[data-theme="dark"] .nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .nav-search-input:focus {
  border-color: #ff3366;
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.25);
}

.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.85rem;
}

[data-theme="dark"] .nav-search-icon {
  color: rgba(255, 255, 255, 0.65);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-color);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1060;
  display: none;
}

.search-results-dropdown.show { display: block; }

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-main);
}

.search-item:hover {
  background: #fff0f3;
  color: #ff3366;
}

.search-item img { width: 46px; height: 46px; object-fit: cover; border-radius: var(--radius-sm); }

/* Navbar Action Buttons */
.nav-action-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.nav-action-btn:hover {
  background: #ff3366;
  border-color: #ff3366;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

[data-theme="dark"] .nav-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

[data-theme="dark"] .nav-action-btn:hover {
  background: #ff3366;
  border-color: #ff3366;
  color: #ffffff !important;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--primary-glow);
}

.currency-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.currency-btn:hover {
  background: #fff0f3;
  color: #ff3366;
  border-color: #ff3366;
}

[data-theme="dark"] .currency-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

[data-theme="dark"] .currency-btn:hover {
  background: rgba(255, 51, 102, 0.15);
  color: #ff3366;
  border-color: #ff3366;
}

.user-avatar-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.user-avatar-btn:hover {
  background: #fff0f3;
  color: #ff3366;
  border-color: #ff3366;
}

[data-theme="dark"] .user-avatar-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

[data-theme="dark"] .user-avatar-btn:hover {
  background: rgba(255, 51, 102, 0.15);
  color: #ff3366;
}

.nav-signin-btn {
  background: var(--primary);
  color: #ffffff !important;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--primary-glow);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-signin-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

[data-theme="dark"] .nav-signin-btn {
  background: var(--primary);
  color: #ffffff !important;
}

.navbar-toggler {
  color: #0f172a !important;
  border: none !important;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  transition: var(--transition);
}

.navbar-toggler:hover {
  background: #e2e8f0;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(255, 51, 102, 0.25) !important;
  outline: none;
}

[data-theme="dark"] .navbar-toggler {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Mobile & Tablet Navbar Optimizations */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  
  [data-theme="dark"] .navbar-collapse {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  }

  .nav-search-container {
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
  }

  .nav-actions-wrap {
    flex-wrap: wrap;
    gap: 8px !important;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 10px 14px !important;
    margin-bottom: 2px;
  }
}

.user-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
}

.dropdown-menu-custom {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 8px;
  min-width: 220px;
}

.dropdown-menu-custom .dropdown-item {
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.dropdown-menu-custom .dropdown-item:hover {
  background: var(--bg-surface-secondary);
  color: var(--primary);
  transform: translateX(4px);
}

/* ==========================================================================
   1. INSTAGRAM STORY CATEGORY CIRCLES
   ========================================================================== */
.stories-bar-container {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.stories-bar-container::-webkit-scrollbar { display: none; }

.stories-track {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
}

@media (min-width: 992px) {
  .stories-track { justify-content: center; }
}

.story-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
  width: 78px;
  text-align: center;
}

.story-circle-item:hover { transform: translateY(-4px); }

.story-avatar-wrap {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f59e0b, #ff3366, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.25);
  position: relative;
}

.story-avatar-wrap.hot::after {
  content: 'HOT';
  position: absolute;
  bottom: -2px;
  background: #ff3366;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  border: 1px solid #fff;
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
}

.story-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  max-width: 74px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   2. SPLIT PROMO CAMPAIGN TILES
   ========================================================================== */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 3rem;
}

.campaign-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}

.campaign-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  color: #fff;
}

.campaign-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.campaign-tile:hover img { transform: scale(1.06); }

.campaign-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(9, 13, 22, 0.85) 100%);
  z-index: 2;
}

.campaign-content { position: relative; z-index: 3; }
.campaign-content h3 {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.campaign-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.campaign-cta-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.campaign-tile:hover .campaign-cta-btn {
  background: var(--primary);
  border-color: var(--primary);
}

.tile-span-8 { grid-column: span 8; }
.tile-span-4 { grid-column: span 4; }
.tile-span-6 { grid-column: span 6; }

@media (max-width: 991px) {
  .tile-span-8, .tile-span-4, .tile-span-6 { grid-column: span 12; height: 260px; }
}

/* ==========================================================================
   3. COLOR SWATCHES & PRODUCT CARDS
   ========================================================================== */
.section-title {
  position: relative;
  margin-bottom: 1.8rem;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--text-main);
  text-align: center;
  font-family: var(--font-brand);
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  margin: 8px auto 0;
}

.filter-pills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.filter-pill {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ==========================================================================
   Skeleton Shimmer & Zero-CLS Placeholders
   ========================================================================== */
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, var(--bg-surface-secondary) 0%, var(--border-color) 50%, var(--bg-surface-secondary) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite linear;
}

.skeleton-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.skeleton-thumb {
  height: 270px;
  width: 100%;
}

.skeleton-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.skeleton-line {
  border-radius: var(--radius-sm);
  height: 14px;
}

/* Product Card Entrance */
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(255, 51, 102, 0.4);
}

.product-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-secondary);
  height: 270px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-thumb img { transform: scale(1.07); }

.badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.vip-points-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.color-swatches-container {
  display: flex;
  gap: 6px;
  margin: 6px 0 10px;
  align-items: center;
}

.color-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.color-swatch-dot:hover, .color-swatch-dot.active {
  transform: scale(1.3);
  border-color: var(--primary);
  box-shadow: 0 0 6px var(--primary-glow);
}

.card-actions-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  transition: var(--transition);
  z-index: 6;
}

.product-card:hover .card-actions-overlay { bottom: 0; }

.btn-card-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
  cursor: pointer;
}

.btn-card-action:hover, .btn-card-action.active {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--bg-surface);
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-rating {
  color: var(--accent-gold);
  font-size: 0.8rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-primary);
}

.product-old-price {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 500;
}

.btn-add-cart {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-add-cart:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-buy-now {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.78rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.btn-buy-now:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

[data-theme="dark"] .btn-buy-now {
  background: var(--primary);
  color: #fff;
}
[data-theme="dark"] .btn-buy-now:hover {
  background: var(--primary-hover);
}

.brand-logo-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  vertical-align: middle;
}

.brand-aura:hover .brand-logo-svg {
  transform: rotate(-6deg) scale(1.08);
}

/* ==========================================================================
   4. CART DRAWER & CROSS-SELL UPSELLS
   ========================================================================== */
.cart-drawer, .wishlist-drawer {
  width: 440px !important;
  max-width: 92vw;
  background: var(--bg-surface) !important;
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 35px rgba(0,0,0,0.25);
}
.drawer-header {
  background: var(--nav-gradient);
  color: #fff;
  padding: 16px 20px;
}
.drawer-header h5 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.free-shipping-box {
  background: var(--bg-surface-secondary);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
}
.shipping-progress-text {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.shipping-progress-bar {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  overflow: hidden;
}
.shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.drawer-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px);
  overflow-y: auto;
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-secondary);
  flex-shrink: 0;
}
.cart-item-details { flex-grow: 1; }
.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-main);
}
.cart-item-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.92rem;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-surface-secondary);
  padding: 2px 6px;
}
.btn-qty {
  border: none;
  background: transparent;
  width: 22px;
  height: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
}
.qty-number {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
}
.btn-item-delete {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}
.btn-item-delete:hover { color: #ef4444; }

/* Cross-Sell Upsell Box inside Cart Drawer */
.cart-upsell-box {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 14px;
}
.cart-upsell-box h6 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-main);
}

.cart-summary-footer {
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  background: var(--bg-surface);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.summary-row.total-row {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}
.coupon-group {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.coupon-input {
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  text-transform: uppercase;
  background: var(--bg-surface-secondary);
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-checkout {
  width: 100%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn-checkout:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. RECENTLY VIEWED CAROUSEL
   ========================================================================== */
.recently-viewed-section {
  padding: 35px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}
.recently-viewed-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
}
.recent-card-mini {
  min-width: 160px;
  max-width: 160px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.recent-card-mini:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.recent-card-mini img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.recent-card-mini h6 {
  font-size: 0.78rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   6. CLEAN MINIMALIST FOOTER
   ========================================================================== */
.clean-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 55px 0 25px;
  margin-top: auto;
}
.footer-brand-title {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
  margin-bottom: 16px;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li { margin-bottom: 9px; }
.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.footer-nav-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.newsletter-box {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}
.newsletter-box h6 {
  font-weight: 800;
  margin-bottom: 4px;
}
.newsletter-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.newsletter-form { display: flex; gap: 6px; }
.newsletter-input {
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  border-color: var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
}
.btn-newsletter {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-newsletter:hover { background: var(--primary-hover); }

.payment-badge-pill {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 22px;
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-social-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  margin-left: 6px;
}
.footer-social-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Carousel & Banner */
.hero-carousel .carousel-item { height: 480px; background-color: #090d16; }
.hero-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-caption {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(9, 13, 22, 0.92) 100%);
  bottom: 0; left: 0; right: 0; padding: 50px 30px 40px; text-align: left;
}
.hero-caption h1, .hero-caption h2 {
  font-family: var(--font-brand); font-size: 2.8rem; font-weight: 900; color: #fff;
}
.flash-sale-banner {
  background: linear-gradient(90deg, #ff3366 0%, #7928ca 50%, #0070f3 100%);
  color: #fff; padding: 10px 0; font-size: 0.88rem; font-weight: 600;
}
.countdown-box {
  background: rgba(0, 0, 0, 0.35); padding: 2px 10px; border-radius: var(--radius-full);
  font-family: 'Space Grotesk', monospace; letter-spacing: 1px; color: var(--accent-gold); font-weight: 800;
}

/* Modals & Tracking Stepper */
.size-pill {
  border: 1px solid var(--border-color); padding: 6px 14px; border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: var(--transition);
  color: var(--text-main); background: var(--bg-surface-secondary);
}
.size-pill:hover, .size-pill.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.quick-view-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-md); }

.size-guide-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.size-guide-table th, .size-guide-table td { padding: 9px 12px; border: 1px solid var(--border-color); text-align: center; }
.size-guide-table th { background: var(--bg-surface-secondary); font-weight: 700; }

.order-tracking-stepper { display: flex; justify-content: space-between; position: relative; margin: 24px 10px 14px; }
.order-tracking-stepper::before { content: ''; position: absolute; top: 17px; left: 20px; right: 20px; height: 4px; background: var(--border-color); z-index: 1; border-radius: 4px; }
.stepper-progress-fill { position: absolute; top: 17px; left: 20px; height: 4px; background: var(--accent-green); z-index: 1; border-radius: 4px; transition: width 0.4s ease; max-width: calc(100% - 40px); }
.tracking-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.tracking-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--border-color); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 0.88rem; margin: 0 auto 6px; transition: var(--transition); }
.tracking-step.completed .tracking-dot { background: var(--accent-green); border-color: var(--accent-green); color: #fff; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.tracking-step.active .tracking-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 5px var(--primary-glow); }
.tracking-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); margin-top: 4px; }
.tracking-step.active .tracking-label, .tracking-step.completed .tracking-label { color: var(--text-main); }

.star-rating-picker { display: flex; gap: 6px; font-size: 1.3rem; color: #cbd5e1; cursor: pointer; }
.star-rating-picker i:hover, .star-rating-picker i.active { color: var(--accent-gold); }
.review-item-card { background: var(--bg-surface-secondary); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; }

/* Toasts */
.toast-notification-container { position: fixed; bottom: 24px; right: 24px; z-index: 2100; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.custom-toast { background: #0f172a; color: #fff; padding: 12px 16px; border-radius: var(--radius-md); box-shadow: 0 15px 35px rgba(0,0,0,0.35); display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 400px; pointer-events: auto; animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-left: 4px solid var(--primary); }
.custom-toast.success { border-left-color: var(--accent-green); }
.custom-toast.error { border-left-color: #ef4444; }
.custom-toast.info { border-left-color: #3b82f6; }
.custom-toast.warning { border-left-color: var(--accent-gold); }
.toast-content { flex-grow: 1; }
.toast-title { font-size: 0.85rem; font-weight: 800; margin-bottom: 2px; }
.toast-message { font-size: 0.78rem; color: #cbd5e1; }
@keyframes toastSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastFadeOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

.modal-content { background-color: var(--bg-surface) !important; color: var(--text-main); border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.modal-checkout-header { background: var(--nav-gradient); color: #fff; border-radius: var(--radius-md) var(--radius-md) 0 0; padding: 18px 20px; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.payment-method-card { border: 2px solid var(--border-color); border-radius: var(--radius-md); padding: 12px 8px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-surface); color: var(--text-main); }
.payment-method-card:hover { border-color: var(--text-muted); }
.payment-method-card.selected { border-color: var(--primary); background: rgba(255, 51, 102, 0.06); box-shadow: 0 4px 12px var(--primary-glow); }
.credit-card-preview { background: linear-gradient(135deg, #090d16 0%, #1e293b 100%); color: #fff; border-radius: var(--radius-md); padding: 18px 22px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); margin-bottom: 18px; }
.receipt-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px; }
.receipt-table { width: 100%; font-size: 0.85rem; color: var(--text-main); }
.receipt-table th, .receipt-table td { padding: 6px 4px; }

/* ==========================================================================
   Scroll-Reveal Animations for Home & Catalog Products
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(38px) scale(0.97);
  filter: blur(3px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger grid animations for children */
.stagger-grid > *:nth-child(1) .reveal-on-scroll, .stagger-grid > *:nth-child(1).reveal-on-scroll { transition-delay: 0.05s; }
.stagger-grid > *:nth-child(2) .reveal-on-scroll, .stagger-grid > *:nth-child(2).reveal-on-scroll { transition-delay: 0.12s; }
.stagger-grid > *:nth-child(3) .reveal-on-scroll, .stagger-grid > *:nth-child(3).reveal-on-scroll { transition-delay: 0.19s; }
.stagger-grid > *:nth-child(4) .reveal-on-scroll, .stagger-grid > *:nth-child(4).reveal-on-scroll { transition-delay: 0.26s; }
.stagger-grid > *:nth-child(5) .reveal-on-scroll, .stagger-grid > *:nth-child(5).reveal-on-scroll { transition-delay: 0.33s; }
.stagger-grid > *:nth-child(6) .reveal-on-scroll, .stagger-grid > *:nth-child(6).reveal-on-scroll { transition-delay: 0.40s; }
.stagger-grid > *:nth-child(7) .reveal-on-scroll, .stagger-grid > *:nth-child(7).reveal-on-scroll { transition-delay: 0.47s; }
.stagger-grid > *:nth-child(8) .reveal-on-scroll, .stagger-grid > *:nth-child(8).reveal-on-scroll { transition-delay: 0.54s; }

/* Enhanced hover animation for product cards */
.product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 51, 102, 0.15);
}
.product-card .product-thumb img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

/* ==========================================================================
   ZANDO-INSPIRED PRODUCT VIEW & DETAIL PAGE STYLING
   ========================================================================== */
.product-view-container {
  padding: 30px 0 60px;
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.product-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.product-breadcrumbs a:hover {
  color: var(--primary);
}

.gallery-wrapper {
  display: flex;
  gap: 16px;
  position: sticky;
  top: 95px;
}

.vertical-thumbs-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 76px;
  flex-shrink: 0;
}

.thumb-strip-item {
  width: 76px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  background: var(--bg-surface-secondary);
  transition: var(--transition);
}
.thumb-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-strip-item:hover {
  border-color: var(--text-muted);
}
.thumb-strip-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.main-stage-showcase {
  flex-grow: 1;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-stage-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.main-stage-showcase:hover img {
  transform: scale(1.04);
}

.stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.stage-nav-arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.stage-nav-arrow.prev { left: 16px; }
.stage-nav-arrow.next { right: 16px; }

.stage-floating-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

/* Right Detail Pane */
.product-details-pane {
  padding-left: 20px;
}

.product-brand-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-detail-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
}

.price-box-zando {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.price-current-red {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.discount-pill-tag {
  background: rgba(255, 51, 102, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.price-original-struck {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.color-variants-section {
  margin-bottom: 22px;
}
.variant-title-row {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.variant-swatches-grid {
  display: flex;
  gap: 10px;
}
.variant-swatch-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-surface);
  transition: var(--transition);
  width: 72px;
}
.variant-swatch-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}
.variant-swatch-card span {
  font-size: 0.72rem;
  font-weight: 700;
  display: block;
  color: var(--text-muted);
}
.variant-swatch-card:hover {
  border-color: var(--text-muted);
}
.variant-swatch-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}
.variant-swatch-card.selected span {
  color: var(--primary);
}

.size-selection-section {
  margin-bottom: 22px;
}
.size-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.size-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zando-size-btn {
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.zando-size-btn:hover {
  border-color: var(--text-main);
}
.zando-size-btn.selected {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
[data-theme="dark"] .zando-size-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
}

.quantity-row-zando {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.qty-stepper-box {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}
.qty-btn-step {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn-step:hover {
  background: var(--bg-surface-secondary);
}
.qty-val-display {
  width: 44px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.action-buttons-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-zando-add-bag {
  flex-grow: 1;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  transition: var(--transition);
  cursor: pointer;
}
.btn-zando-add-bag:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--primary-glow);
  color: #fff;
}
.btn-zando-wishlist {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-zando-wishlist:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-zando-wishlist.active {
  background: rgba(255, 51, 102, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.perks-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
}
.perk-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}
.perk-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Accordion Styling */
.zando-accordion .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.zando-accordion .accordion-button {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 18px;
  box-shadow: none !important;
}
.zando-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--bg-surface-secondary);
}
.zando-accordion .accordion-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 16px 18px;
}

@media (max-width: 991px) {
  .gallery-wrapper {
    flex-direction: column-reverse;
    position: static;
  }
  .vertical-thumbs-track {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .thumb-strip-item {
    width: 65px;
    height: 80px;
  }
  .main-stage-showcase {
    height: 420px;
  }
  .product-details-pane {
    padding-left: 0;
    margin-top: 24px;
  }
}

/* ==========================================================================
   DELIVERY MAP PIN PICKER & INTERACTIVE PAYMENT METHODS
   ========================================================================== */
.delivery-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  margin-top: 10px;
  position: relative;
}
#deliveryMapPicker {
  height: 200px;
  width: 100%;
  z-index: 1;
}
.map-toolbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
}
.map-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}
.btn-locate-me {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-locate-me:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Interactive Card Visual Preview */
.interactive-card-preview {
  width: 100%;
  max-width: 380px;
  height: 190px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  color: #fff;
  padding: 20px;
  margin: 0 auto 20px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-preview-chip {
  width: 40px;
  height: 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.card-preview-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.card-preview-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.card-preview-holder-label, .card-preview-exp-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}
.card-preview-holder-val {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-preview-exp-val {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.card-type-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
}

/* COD Notice Box */
.cod-notice-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px dashed #10b981;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.cod-notice-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 12px auto;
}

/* Real Payment Badges */
.payment-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.payment-badge-pill:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.payment-badge-pill svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ==========================================================================
   AUTHENTIC ZANDO STYLE AUTH MODAL (LOGIN / REGISTER / GOOGLE)
   ========================================================================== */
.zando-auth-dialog {
  max-width: 440px;
}
.zando-auth-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: var(--bg-surface);
}
.zando-auth-tabs {
  display: flex;
  gap: 28px;
}
.zando-auth-tab {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #94a3b8;
  padding-bottom: 14px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.zando-auth-tab:hover {
  color: var(--text-main);
}
.zando-auth-tab.active {
  color: #0f172a;
}
.zando-auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0f172a;
  border-radius: 2px 2px 0 0;
}
.zando-auth-body {
  padding: 24px 28px 32px 28px;
  background: var(--bg-surface);
}
.zando-field-group {
  margin-bottom: 18px;
}
.zando-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.zando-auth-input {
  height: 48px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--text-main);
  background: var(--bg-surface);
  transition: var(--transition);
}
.zando-auth-input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
  outline: none;
}
.password-input-wrapper {
  position: relative;
}
.btn-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.btn-toggle-pw:hover {
  color: #0f172a;
}
.zando-auth-btn {
  height: 48px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.zando-auth-btn:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}
.zando-forgot-box {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 18px;
}
.zando-forgot-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}
.zando-forgot-link:hover {
  text-decoration: underline;
}
.zando-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
}
.zando-divider::before,
.zando-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}
.zando-divider span {
  padding: 0 14px;
}
.zando-google-btn {
  height: 48px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
}
.zando-google-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.zando-auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: #64748b;
}
.zando-auth-switch a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}
.zando-auth-switch a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   DYNAMIC GOOGLE ACCOUNT PICKER (OAUTH 2.0 / GIS)
   ========================================================================== */
.google-picker-dialog {
  max-width: 420px;
}
.google-picker-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid #dadce0;
  background: #ffffff;
  color: #202124;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.google-picker-header {
  padding: 24px 28px 16px 28px;
  text-align: center;
}
.google-brand-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.google-picker-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #202124;
  margin-bottom: 4px;
}
.google-picker-subtitle {
  font-size: 0.9rem;
  color: #5f6368;
}
.google-accounts-list {
  border-top: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  max-height: 280px;
  overflow-y: auto;
}
.google-account-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f3f4;
}
.google-account-row:last-child {
  border-bottom: none;
}
.google-account-row:hover {
  background: #f8f9fa;
}
.google-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.google-account-info {
  flex-grow: 1;
  min-width: 0;
}
.google-account-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: #202124;
  margin-bottom: 2px;
}
.google-account-email {
  font-size: 0.8rem;
  color: #5f6368;
}
.google-use-another-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  width: 100%;
  border: none;
  background: transparent;
  color: #1a73e8;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.google-use-another-btn:hover {
  background: #f8f9fa;
}
.google-custom-account-pane {
  padding: 20px 24px;
  background: #f8f9fa;
  border-top: 1px solid #dadce0;
}
.google-picker-footer {
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #5f6368;
  background: #ffffff;
}
.google-picker-footer a {
  color: #5f6368;
  text-decoration: none;
}
.google-picker-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Delivery Map Satellite & Attribution Hiding (User Request)
   ========================================================================== */
.leaflet-control-attribution,
.leaflet-control-attribution a,
.leaflet-control-attribution svg {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.delivery-map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-top: 6px;
}

#deliveryMapPicker {
  height: 230px;
  width: 100%;
  background: #0f172a;
}

.map-toolbar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.map-status-pill {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-locate-me {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-locate-me:hover {
  background: #ff3366;
  color: #ffffff;
  border-color: #ff3366;
}

/* Modal and Backdrop Z-Index Hierarchy */
.modal-backdrop {
  z-index: 1065 !important;
}

.modal {
  z-index: 1070 !important;
}

.offcanvas-backdrop {
  z-index: 1040 !important;
}

.offcanvas {
  z-index: 1045 !important;
}

.dropdown-menu-custom {
  z-index: 1055 !important;
}

/* ==========================================================================
   Smooth Scrolling, Transitions & Scroll Reveal
   ========================================================================== */
border: 1px solid #dadce0;
  background: #ffffff;
  color: #202124;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.google-picker-header {
  padding: 24px 28px 16px 28px;
  text-align: center;
}
.google-brand-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.google-picker-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #202124;
  margin-bottom: 4px;
}
.google-picker-subtitle {
  font-size: 0.9rem;
  color: #5f6368;
}
.google-accounts-list {
  border-top: 1px solid #dadce0;
  border-bottom: 1px solid #dadce0;
  max-height: 280px;
  overflow-y: auto;
}
.google-account-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f3f4;
}
.google-account-row:last-child {
  border-bottom: none;
}
.google-account-row:hover {
  background: #f8f9fa;
}
.google-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.google-account-info {
  flex-grow: 1;
  min-width: 0;
}
.google-account-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: #202124;
  margin-bottom: 2px;
}
.google-account-email {
  font-size: 0.8rem;
  color: #5f6368;
}
.google-use-another-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  width: 100%;
  border: none;
  background: transparent;
  color: #1a73e8;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.google-use-another-btn:hover {
  background: #f8f9fa;
}
.google-custom-account-pane {
  padding: 20px 24px;
  background: #f8f9fa;
  border-top: 1px solid #dadce0;
}
.google-picker-footer {
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #5f6368;
  background: #ffffff;
}
.google-picker-footer a {
  color: #5f6368;
  text-decoration: none;
}
.google-picker-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Delivery Map Satellite & Attribution Hiding (User Request)
   ========================================================================== */
.leaflet-control-attribution,
.leaflet-control-attribution a,
.leaflet-control-attribution svg {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.delivery-map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-top: 6px;
}

#deliveryMapPicker {
  height: 230px;
  width: 100%;
  background: #0f172a;
}

.map-toolbar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-surface-secondary);
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.map-status-pill {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-locate-me {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-locate-me:hover {
  background: #ff3366;
  color: #ffffff;
  border-color: #ff3366;
}

/* Modal and Backdrop Z-Index Hierarchy */
.modal-backdrop {
  z-index: 1065 !important;
}

.modal {
  z-index: 1070 !important;
}

.offcanvas-backdrop {
  z-index: 1040 !important;
}

.offcanvas {
  z-index: 1045 !important;
}

.dropdown-menu-custom {
  z-index: 1055 !important;
}

/* ==========================================================================
   Smooth Scrolling, Transitions & Scroll Reveal
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  text-indent: -9999px;
  content-visibility: auto;
}

/* Smooth modal and drawer transitions */
.modal.fade .modal-dialog {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.offcanvas {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Frontend Luxury Preloader & Loading State
   ========================================================================== */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

[data-theme="light"] .site-preloader {
  background: #ffffff;
}

[data-theme="dark"] .site-preloader {
  background: #ffffff;
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-preloader-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  animation: sitePulseGlow 1.8s infinite ease-in-out;
}

.site-preloader-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 51, 102, 0.2);
  border-top-color: #ff3366;
  border-radius: 50%;
  animation: siteSpin 0.8s linear infinite;
  margin-bottom: 14px;
}

.site-preloader-text {
  font-family: var(--font-brand, -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.8px;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
}

@keyframes siteSpin {
  to { transform: rotate(360deg); }
}

@keyframes sitePulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 20px rgba(255, 51, 102, 0.7)); }
}

/* Site Top Loading Progress Line */
.site-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff3366, #3b82f6, #10b981);
  z-index: 99998;
  transition: width 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Skeleton Loading Animation Engine (Frontend & Modals)
   ========================================================================== */
.skeleton-box {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: skeletonShimmer 1.4s ease infinite;
  border-radius: 8px;
  display: block;
}

[data-theme="dark"] .skeleton-box {
  background: linear-gradient(90deg, #1e293b 25%, #334155 37%, #1e293b 63%);
  background-size: 400% 100%;
}

@keyframes skeletonShimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.skeleton-card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .skeleton-card {
  background: #0f172a;
  border-color: rgba(51, 65, 85, 0.6);
}

.skeleton-img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.skeleton-title {
  height: 18px;
  width: 70%;
  margin-bottom: 10px;
}

.skeleton-text {
  height: 14px;
  width: 90%;
  margin-bottom: 8px;
}

.skeleton-pill {
  height: 24px;
  width: 35%;
  border-radius: 12px;
}

.skeleton-btn {
  height: 36px;
  width: 100%;
  border-radius: 20px;
  margin-top: 10px;
}

/* ==========================================================================
   Comprehensive Dark Mode System & Smooth Global Transitions
   ========================================================================== */
*, *::before, *::after {
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.18s ease, 
              box-shadow 0.22s ease;
}

.site-preloader-spinner, .fa-spin, .spinner-border, .site-top-progress {
  transition: none !important;
}

[data-theme="dark"], [data-bs-theme="dark"] {
  --bg-body: #090d16;
  --bg-surface: #111827;
  --bg-surface-secondary: #1a2234;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #242f44;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --bs-body-bg: #090d16;
  --bs-body-color: #f8fafc;
  --bs-border-color: #242f44;
}

/* Modals & Dialogs */
[data-theme="dark"] .modal-content,
[data-bs-theme="dark"] .modal-content {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .btn-close,
[data-bs-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Offcanvas Drawers */
[data-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .offcanvas {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .offcanvas-header,
[data-theme="dark"] .offcanvas-footer,
[data-bs-theme="dark"] .offcanvas-header,
[data-bs-theme="dark"] .offcanvas-footer {
  border-color: var(--border-color) !important;
}

/* Form Controls & Inputs */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
  background-color: var(--bg-surface-secondary) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.25) !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-bs-theme="dark"] .form-control::placeholder {
  color: var(--text-muted) !important;
}

/* Dropdowns & Popovers */
[data-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .dropdown-menu {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .dropdown-item {
  color: var(--text-main) !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus,
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
  background-color: var(--bg-surface-secondary) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .dropdown-divider,
[data-bs-theme="dark"] .dropdown-divider {
  border-color: var(--border-color) !important;
}

/* Cards & Containers */
[data-theme="dark"] .card,
[data-bs-theme="dark"] .card {
  background-color: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-item {
  background-color: var(--bg-surface) !important;
  border-color: var(--border-color) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .accordion-button {
  background-color: var(--bg-surface-secondary) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: rgba(255, 51, 102, 0.12) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .list-group-item {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

/* Tables */
[data-theme="dark"] .table,
[data-bs-theme="dark"] .table {
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .table th,
[data-theme="dark"] .table-light,
[data-theme="dark"] .table-light th,
[data-bs-theme="dark"] .table th,
[data-bs-theme="dark"] .table-light,
[data-bs-theme="dark"] .table-light th {
  background-color: var(--bg-surface-secondary) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .table td,
[data-bs-theme="dark"] .table td {
  background-color: transparent !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .table-hover tbody tr:hover td,
[data-bs-theme="dark"] .table-hover tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Common Background and Text Helpers */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-body,
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-body {
  background-color: var(--bg-surface) !important;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-body-secondary,
[data-theme="dark"] .bg-body-tertiary,
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-body-secondary,
[data-bs-theme="dark"] .bg-body-tertiary {
  background-color: var(--bg-surface-secondary) !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-body,
[data-bs-theme="dark"] .text-dark,
[data-bs-theme="dark"] .text-body {
  color: var(--text-main) !important;
}

[data-theme="dark"] .text-black-50,
[data-bs-theme="dark"] .text-black-50 {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end,
[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
  border-color: var(--border-color) !important;
}

