/**
 * MAX SAT SOLUTIONS - Master Stylesheet
 * Location: Galle, Sri Lanka | Phone: 077 356 8828
 * Modern Luxury Tech Dark & Glassmorphism Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root, [data-theme="theme-cyan"] {
  /* Color Palette (Theme 1: Electric Cyan - Default) */
  --bg-body: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  --bg-surface-glass: rgba(15, 23, 42, 0.75);
  --bg-input: #131d31;

  --border-subtle: #1e293b;
  --border-focus: #00f2fe;
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Brand Accents */
  --primary: #00f2fe;
  --primary-dark: #0061ff;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #0061ff 100%);
  --secondary: #38bdf8;
  --accent-gold: #fbbf24;
  --accent-gold-dark: #f59e0b;
  --accent-purple: #a855f7;

  /* Status Colors */
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #0284c7;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-gold: 0 0 20px rgba(251, 191, 36, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme 2: Royal Gold & Matte Black */
[data-theme="theme-gold"] {
  --bg-body: #080808;
  --bg-surface: #121212;
  --bg-surface-elevated: #1a1a1a;
  --bg-surface-glass: rgba(18, 18, 18, 0.85);
  --bg-input: #171717;

  --border-subtle: #262626;
  --border-focus: #fbbf24;
  --border-glass: rgba(251, 191, 36, 0.15);

  --primary: #fbbf24;
  --primary-dark: #d97706;
  --primary-gradient: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #d97706 100%);
  --secondary: #f59e0b;
  --shadow-neon: 0 0 25px rgba(251, 191, 36, 0.35);
}

/* Theme 3: Vibrant Emerald Green & Charcoal */
[data-theme="theme-green"] {
  --bg-body: #060e0a;
  --bg-surface: #0c1813;
  --bg-surface-elevated: #13241d;
  --bg-surface-glass: rgba(12, 24, 19, 0.85);
  --bg-input: #10211a;

  --border-subtle: #1c352a;
  --border-focus: #10b981;
  --border-glass: rgba(16, 185, 129, 0.15);

  --primary: #10b981;
  --primary-dark: #059669;
  --primary-gradient: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #059669 100%);
  --secondary: #34d399;
  --shadow-neon: 0 0 25px rgba(16, 185, 129, 0.35);
}

/* Theme 4: Bold Crimson Red & Dark Slate */
[data-theme="theme-red"] {
  --bg-body: #0e0708;
  --bg-surface: #180d0f;
  --bg-surface-elevated: #241417;
  --bg-surface-glass: rgba(24, 13, 15, 0.85);
  --bg-input: #1f1013;

  --border-subtle: #331c20;
  --border-focus: #ef4444;
  --border-glass: rgba(239, 68, 68, 0.15);

  --primary: #ef4444;
  --primary-dark: #b91c1c;
  --primary-gradient: linear-gradient(135deg, #fca5a5 0%, #ef4444 50%, #b91c1c 100%);
  --secondary: #f87171;
  --shadow-neon: 0 0 25px rgba(239, 68, 68, 0.35);
}

/* Theme 5: Cyberpunk Neon Purple & Midnight Obsidian */
[data-theme="theme-purple"] {
  --bg-body: #090511;
  --bg-surface: #120b20;
  --bg-surface-elevated: #1d1233;
  --bg-surface-glass: rgba(18, 11, 32, 0.85);
  --bg-input: #160e27;

  --border-subtle: #2d1b4d;
  --border-focus: #a855f7;
  --border-glass: rgba(168, 85, 247, 0.15);

  --primary: #a855f7;
  --primary-dark: #7c3aed;
  --primary-gradient: linear-gradient(135deg, #d8b4fe 0%, #a855f7 50%, #7c3aed 100%);
  --secondary: #c084fc;
  --shadow-neon: 0 0 25px rgba(168, 85, 247, 0.35);
}

/* ==========================================================================
   10 Dedicated Background Styles & Custom Studio
   ========================================================================== */

/* 1. Deep Space Midnight Navy (Default) */
[data-bg="bg-midnight"] {
  --bg-body: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-glass: rgba(15, 23, 42, 0.75);
}

/* 2. Pure OLED Pitch Black */
[data-bg="bg-oled-black"] {
  --bg-body: #000000 !important;
  --bg-surface: #0a0a0a !important;
  --bg-surface-elevated: #141414 !important;
  --bg-surface-glass: rgba(10, 10, 10, 0.9) !important;
  --bg-input: #121212 !important;
  --border-subtle: #1f1f1f !important;
  --border-glass: rgba(255, 255, 255, 0.08) !important;
}

/* 3. Cyber Mesh Tech Grid */
[data-bg="bg-carbon-grid"] {
  --bg-body: #080c14 !important;
  --bg-surface: #0d1522 !important;
  --bg-surface-glass: rgba(13, 21, 34, 0.85) !important;
  background-color: #080c14 !important;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.04) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
}

/* 4. Dark Titanium Graphite */
[data-bg="bg-graphite-slate"] {
  --bg-body: #111318 !important;
  --bg-surface: #191c24 !important;
  --bg-surface-elevated: #222631 !important;
  --bg-surface-glass: rgba(25, 28, 36, 0.85) !important;
  --bg-input: #1b1f28 !important;
  --border-subtle: #2a2f3d !important;
}

/* 5. Aurora Ambient Mesh Glow */
[data-bg="bg-aurora-glow"] {
  --bg-body: #080a12 !important;
  --bg-surface: #0e1220 !important;
  --bg-surface-glass: rgba(14, 18, 32, 0.8) !important;
  background: radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
              #080a12 !important;
  background-attachment: fixed !important;
}

/* 6. Futuristic Starfield Dot Matrix */
[data-bg="bg-obsidian-dots"] {
  --bg-body: #06070a !important;
  --bg-surface: #0f121a !important;
  --bg-surface-glass: rgba(15, 18, 26, 0.85) !important;
  background-color: #06070a !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
}

/* 7. Royal Dark Onyx & Gold Sheen */
[data-bg="bg-royal-gold-dark"] {
  --bg-body: #0a0805 !important;
  --bg-surface: #14110b !important;
  --bg-surface-elevated: #1e1910 !important;
  --bg-surface-glass: rgba(20, 17, 11, 0.85) !important;
  --bg-input: #17140e !important;
  --border-subtle: #292215 !important;
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.06) 0%, transparent 60%), #0a0805 !important;
  background-attachment: fixed !important;
}

/* 8. Deep Forest Cyber Emerald */
[data-bg="bg-emerald-deep"] {
  --bg-body: #040a07 !important;
  --bg-surface: #091510 !important;
  --bg-surface-elevated: #0f221a !important;
  --bg-surface-glass: rgba(9, 21, 16, 0.85) !important;
  --bg-input: #0c1c15 !important;
  --border-subtle: #173327 !important;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%), #040a07 !important;
}

/* 9. Deep Crimson Abyss */
[data-bg="bg-crimson-abyss"] {
  --bg-body: #0a0405 !important;
  --bg-surface: #15090b !important;
  --bg-surface-elevated: #200e11 !important;
  --bg-surface-glass: rgba(21, 9, 11, 0.85) !important;
  --bg-input: #1a0b0e !important;
  --border-subtle: #301419 !important;
  background: radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.06) 0%, transparent 50%), #0a0405 !important;
}

/* 10. Clean Modern Light Mode */
[data-bg="bg-clean-light"] {
  --bg-body: #f8fafc !important;
  --bg-surface: #ffffff !important;
  --bg-surface-elevated: #f1f5f9 !important;
  --bg-surface-glass: rgba(255, 255, 255, 0.9) !important;
  --bg-input: #f1f5f9 !important;
  --border-subtle: #e2e8f0 !important;
  --border-glass: rgba(0, 0, 0, 0.08) !important;
  --text-main: #0f172a !important;
  --text-secondary: #475569 !important;
  --text-muted: #64748b !important;
  --text-inverse: #ffffff !important;
}
[data-bg="bg-clean-light"] .glass-card,
[data-bg="bg-clean-light"] .product-card,
[data-bg="bg-clean-light"] .header-main,
[data-bg="bg-clean-light"] .site-footer {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
[data-bg="bg-clean-light"] .top-bar {
  background: #0f172a !important;
  color: #ffffff !important;
}
[data-bg="bg-clean-light"] .product-title,
[data-bg="bg-clean-light"] h1,
[data-bg="bg-clean-light"] h2,
[data-bg="bg-clean-light"] h3,
[data-bg="bg-clean-light"] strong {
  color: #0f172a !important;
}

/* 11. Fully Custom User Background */
[data-bg="bg-custom"],
html[data-bg="bg-custom"] {
  --bg-body: var(--custom-bg-body, #090d16) !important;
  --bg-surface: var(--custom-bg-surface, #0f172a) !important;
  --bg-surface-elevated: var(--custom-bg-surface, #0f172a) !important;
  --bg-surface-glass: var(--custom-bg-surface, #0f172a) !important;
  --bg-input: var(--custom-bg-surface, #0f172a) !important;
  --border-subtle: var(--custom-bg-border, rgba(255, 255, 255, 0.08)) !important;
  --border-glass: var(--custom-bg-border, rgba(255, 255, 255, 0.08)) !important;
}
html[data-bg="bg-custom"] body {
  background-color: var(--custom-bg-body, #090d16) !important;
}
html[data-bg="bg-custom"] .glass-card,
html[data-bg="bg-custom"] .product-card,
html[data-bg="bg-custom"] .header-main,
html[data-bg="bg-custom"] .site-footer {
  background: var(--custom-bg-surface, #0f172a) !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  touch-action: pan-y !important; /* Locks touch gestures to vertical scrolling only */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
  touch-action: pan-y !important;
  margin: 0 !important;
  padding: 0 !important;
}

main {
  flex: 1;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

img, video, iframe, embed, object {
  max-width: 100% !important;
  height: auto;
  box-sizing: border-box !important;
}

input, select, textarea, button {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box !important;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box !important;
}

/* Utility Classes */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-center { text-align: center; }
.text-end { text-align: right; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-medium { font-weight: 500; }

/* Responsive Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-inline-flex { display: inline-flex !important; }

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-grid { display: grid !important; }
  .d-md-inline-block { display: inline-block !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-grid { display: grid !important; }
  .d-lg-inline-block { display: inline-block !important; }
}

.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Grid Helper Classes */
.contact-grid {
  gap: 2.5rem;
}
.about-story-grid {
  gap: 3rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 580px) {
  .form-row-cols {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .stat-badges-grid {
    gap: 0.75rem !important;
  }
  .stat-badges-grid > div {
    padding: 0.85rem 1rem !important;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
  color: #000000;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-glass);
}

.btn-secondary:hover {
  background: #28384e;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 242, 254, 0.05);
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000000;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
  color: #000000;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-new {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-sale {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-primary {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
  background: #18243b;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: #060910;
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-info a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a:hover {
  color: var(--primary);
}

/* Sticky Header Container (Wraps Main Bar & Nav Bar) */
.site-sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 990;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.site-sticky-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 242, 254, 0.12);
}

.header-main {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 50;
  width: 100%;
  transition: var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-wrapper:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.logo-img {
  height: 48px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.2));
  transition: all 0.25s ease;
}

@media (max-width: 991.98px) {
  .logo-img {
    height: 42px;
    max-width: 180px;
  }
}

@media (max-width: 767.98px) {
  .logo-img {
    height: 36px;
    max-width: 150px;
  }
}

/* Search Bar in Header */
.search-wrapper {
  flex: 1;
  max-width: 540px;
  position: relative;
  z-index: 60;
}

.search-form {
  position: relative;
  display: flex;
}

.search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #18243b;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-gradient);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Live Search Results Dropdown - High Z-Index to Always Float Above Nav Bar */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #0b1220 !important;
  border: 1.5px solid rgba(0, 242, 254, 0.45) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 254, 0.2) !important;
  z-index: 999999 !important;
  max-height: 420px;
  overflow-y: auto;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
  color: var(--text-main);
}

.search-result-item:hover {
  background: var(--bg-surface-elevated);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #090d16;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.action-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
}

/* Navigation Menu Bar */
.nav-bar {
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 10;
  width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
}

/* ==========================================================================
   Hero Carousel & Banners
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.12) 0%, rgba(9, 13, 22, 1) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-feature-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

/* Hero Carousel Slider */
.hero-carousel-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.15);
  background: #090d16;
  min-height: 380px;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 380px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.25rem 2rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateX(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateX(0);
  z-index: 2;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.hero-slide-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero-slide-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hero-slide-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.hero-slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.hero-slide-price-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.hero-slide-price {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.hero-slide-ambient {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
}

/* Controls */
.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: all 0.25s ease;
}

.hero-carousel-container:hover .hero-carousel-prev,
.hero-carousel-container:hover .hero-carousel-next {
  opacity: 1;
}

.hero-carousel-prev { left: 12px; }
.hero-carousel-next { right: 12px; }

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 24px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section {
  padding: 2.5rem 0 1.5rem;
}

/* Desktop & Tablet Categories Grid (>= 768px) */
.categories-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 1rem !important;
}

@media (max-width: 1199.98px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.category-tile-compact {
  text-decoration: none;
  padding: 1.25rem 0.85rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-tile-compact:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(16, 26, 48, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.15);
}

.category-tile-compact .category-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.category-tile-compact:hover .category-icon-box {
  transform: scale(1.1);
}

.category-tile-compact .category-tile-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.category-tile-compact:hover .category-tile-title {
  color: var(--primary);
}

/* Mobile Category Grid (Hidden on Desktop, Visible on Mobile) */
.mobile-cat-grid {
  display: none !important;
}

@media (max-width: 767.98px) {
  .categories-grid {
    display: none !important;
  }
  .mobile-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem 0.35rem !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.mobile-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 0.35rem;
  padding: 0.2rem 0.1rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.mobile-cat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-cat-item:active .mobile-cat-icon {
  transform: scale(0.9);
}

.mobile-cat-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
  font-family: var(--font-body);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 242, 254, 0.15);
}

.product-card-thumb {
  position: relative;
  aspect-ratio: 1;
  background: #0b1120;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.06);
}

.product-badge-pos {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-rating {
  margin-bottom: 0.75rem;
  font-size: 0.825rem;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--accent-gold);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
}

.product-regular-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.koko-badge-small {
  font-size: 0.75rem;
  color: #c084fc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.product-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

.gallery-main-view {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.gallery-nav-btn {
  opacity: 0.85;
  transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1) !important;
  background: rgba(0, 242, 254, 0.2) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.gallery-zoom-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 242, 254, 0.25) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: 4px;
}

.gallery-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-surface);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.gallery-thumb-item.active {
  border-color: #00f2fe;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  transform: scale(1.04);
}

.gallery-thumb-item:hover {
  border-color: #00f2fe;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

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

/* Koko BNPL Banner on Product Details */
.koko-box {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.koko-box-text {
  font-size: 0.9rem;
}

.koko-box-text strong {
  color: #c084fc;
}

/* Technical Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table th, .specs-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  text-align: left;
  font-size: 0.9rem;
}

.specs-table th {
  background: var(--bg-surface);
  color: var(--text-secondary);
  width: 35%;
}

.specs-table td {
  color: var(--text-main);
}

/* ==========================================================================
   Slide-out Quick Cart Drawer
   ========================================================================== */
body.cart-drawer-open .mobile-bottom-bar,
body.cart-drawer-open .floating-whatsapp {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  bottom: 0;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  width: 350px;
  max-width: 84vw;
  background: #090e1a;
  border-left: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 18px 0 0 18px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95);
  z-index: 10000001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.active {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: 0.85rem 1.15rem;
  background: #060a12;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-item-row {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
}

.cart-item-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #090d16;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-drawer-footer {
  padding: 0.85rem 1.15rem 1.25rem;
  background: #060a12;
  border-top: 1px solid var(--border-glass);
  flex-shrink: 0;
  box-sizing: border-box;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Checkout & Payment Method Options
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.payment-method-card {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--bg-surface);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-method-card:hover {
  border-color: var(--primary);
}

.payment-method-card.selected {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-details-box {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  font-size: 0.875rem;
  display: none;
}

.payment-method-card.selected .payment-details-box {
  display: block;
}

/* Slip Upload Box */
.slip-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-input);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 0.75rem;
}

.slip-dropzone:hover {
  border-color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-widget-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-gradient);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  min-width: 280px;
  animation: slideIn 0.3s ease forwards;
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Visibility Helpers
   ========================================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-flex { display: inline-flex !important; }
.d-flex { display: flex !important; }

@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-flex { display: inline-flex !important; }
  .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-flex { display: inline-flex !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
  .d-lg-flex { display: flex !important; }
}

/* ==========================================================================
   Mobile Header & Navigation Drawer
   ========================================================================== */
.mobile-nav-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--primary);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  transform: scale(1.05);
}

.mobile-search-wrapper {
  margin-top: 0.75rem;
  width: 100%;
}

.mobile-search-wrapper .search-form {
  position: relative;
  width: 100%;
}

.mobile-search-wrapper .search-input {
  width: 100%;
  padding: 0.65rem 2.75rem 0.65rem 1rem;
  background: #0d1424;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.mobile-search-wrapper .search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.mobile-search-wrapper .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================================================
   Mobile Slide-Out Navigation Drawer
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #070b14;
  border-right: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.9);
  z-index: 1000001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0f1d;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 1.15rem 1.25rem 3rem;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-body);
}

.mobile-user-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.5) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.mobile-nav-group {
  margin-bottom: 1.35rem;
}

.mobile-nav-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 0.5rem;
  padding-left: 0.35rem;
  font-family: var(--font-heading);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin: 0;
  padding: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  color: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  font-family: var(--font-body);
}

.mobile-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-nav-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav-arrow {
  font-size: 0.68rem;
  color: #64748b;
  margin-left: auto;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
  background: rgba(0, 242, 254, 0.08);
  color: #00f2fe;
}

.mobile-nav-list a:hover .mobile-nav-icon,
.mobile-nav-list a:active .mobile-nav-icon {
  transform: scale(1.08);
}

.mobile-nav-list a:hover .mobile-nav-arrow,
.mobile-nav-list a:active .mobile-nav-arrow {
  color: #00f2fe;
  transform: translateX(3px);
}

/* ==========================================================================
   Mobile App Bottom Floating Bar
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.mobile-bottom-item i {
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.mobile-bottom-item:hover, .mobile-bottom-item.active {
  color: var(--primary);
}

.mobile-bottom-item.active i {
  transform: translateY(-2px);
  color: var(--primary);
}

/* Search Form & Mobile Search Styling */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.65rem 3rem 0.65rem 1.25rem;
  background: #0f172a;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 24px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

.search-input:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  background: #0b1120;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #0284c7);
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.mobile-search-wrapper {
  margin-top: 0.65rem;
  padding-bottom: 0.25rem;
}

/* Notification Cyan Dot (Matches Screenshot) */
.notif-cyan-dot {
  position: absolute;
  top: 1px;
  right: -1px;
  width: 8px;
  height: 8px;
  background: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f2fe;
}

/* Mobile Search Pill Form (Matches Screenshot Exactly) */
.mobile-search-pill-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background: #0c1322;
  border: 1.5px solid #00f2fe;
  border-radius: 28px;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
  padding: 3px 5px 3px 12px;
  transition: all 0.25s ease;
}

.mobile-search-pill-form:focus-within {
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.55);
  border-color: #38bdf8;
}

.mobile-search-hamburger-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  padding: 4px 8px 4px 2px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
}

.mobile-search-pill-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  padding: 0.35rem 0.5rem !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.mobile-search-pill-input::placeholder {
  color: #94a3b8 !important;
}

.mobile-search-pill-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  background: #00f2fe !important;
  border: none !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5) !important;
  color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
  padding: 0 !important;
}

.mobile-search-pill-btn i {
  color: #000000 !important;
}

.mobile-search-pill-btn:active {
  transform: scale(0.92) !important;
}

/* ==========================================================================
   Base Mobile Component Styles & Desktop Layouts
   ========================================================================== */

/* Hero Grid (Desktop Default) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Product Detail Grid (Desktop Default) */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.gallery-main-view {
  aspect-ratio: 1;
  background: #0b1120;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb-item {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  cursor: pointer;
  background: #0b1120;
  transition: var(--transition-fast);
}

.gallery-thumb-item.active, .gallery-thumb-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

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

/* Shop & Cart Layout Grids (Desktop Default) */
.shop-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: start;
}

.product-bnpl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Bottom Bar Hidden on Desktop */
.mobile-bottom-bar {
  display: none;
}

/* Horizontal Category Chips */
.mobile-category-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.35rem 0.1rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-category-scroll::-webkit-scrollbar {
  display: none;
}
.mobile-cat-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.mobile-cat-chip.active, .mobile-cat-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture (< 992px)
   ========================================================================== */
@media (max-width: 991px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    position: relative !important;
  }

  body {
    padding-bottom: 66px !important; /* Fixed bottom dock spacer */
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  /* Compact Header & Mobile Sticky Navigation */
  .top-bar {
    display: none !important;
  }

  .site-sticky-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 990 !important;
    background: rgba(9, 13, 22, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55) !important;
  }

  .header-main {
    padding: 0.4rem 0 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 0.15rem 0 !important;
    box-sizing: border-box !important;
  }

  .logo-wrapper {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .logo-img {
    height: 30px !important;
    width: auto !important;
    max-width: 125px !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    padding-right: 6px !important;
    margin: 0 !important;
  }

  .desktop-only-action {
    display: none !important;
  }

  .header-icon-link {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-icon-link i {
    font-size: 1.25rem !important;
    color: #ffffff !important;
  }

  .mobile-search-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0.35rem !important;
    padding: 0 1px !important;
  }

  /* Hero Section Mobile Stacking & Containment */
  .hero-section {
    padding: 1.25rem 0 1rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }

  .hero-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding-top: 0.75rem !important;
    margin-top: 1rem !important;
  }

  .hero-feature-item {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-width: 135px !important;
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
  }

  .hero-carousel-container,
  .hero-slides-wrapper {
    min-height: 310px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-slide {
    padding: 1.25rem 1rem 1.75rem !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-slide-title {
    font-size: 1.15rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
  }

  .hero-slide-desc {
    font-size: 0.82rem !important;
    margin-bottom: 1rem !important;
    max-width: 100% !important;
  }

  /* Grid and Container Safety on Mobile */
  .grid {
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .glass-card {
    padding: 1.25rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2-Column Product Grid on Mobile (Shop, Homepage, Category, Wishlist, Related) */
  .grid-cols-4,
  .grid-cols-3,
  .product-grid,
  .shop-page .grid,
  .grid:has(.product-card),
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compact 4-Column Mobile Category Icon Grid */
  .mobile-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem 0.35rem !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-cat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 0.35rem !important;
    padding: 0.2rem 0.1rem !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
  }

  .mobile-cat-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
    margin: 0 auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .mobile-cat-item:active .mobile-cat-icon {
    transform: scale(0.9) !important;
  }

  .mobile-cat-name {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
    max-width: 100% !important;
    font-family: var(--font-body) !important;
  }

  .categories-section {
    padding: 1.25rem 0 0.5rem !important;
  }

  .category-tile {
    padding: 0.75rem !important;
    border-radius: 10px !important;
  }

  /* Compact 2-Column Product Cards on Mobile */
  .product-card {
    border-radius: 12px !important;
    padding: 5px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .product-card-thumb {
    aspect-ratio: 1 !important;
    border-radius: 8px !important;
    margin: 0 !important;
  }

  .product-card-body {
    padding: 0.35rem 0.15rem 0.15rem !important;
    gap: 0.25rem !important;
  }

  .product-category {
    font-size: 0.65rem !important;
    margin-bottom: 0.15rem !important;
  }

  .product-title,
  .product-card .product-title {
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
    height: 2.45em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.25rem !important;
  }

  .product-card .product-price {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
  }

  .product-card .price-current {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
  }

  .product-card .price-original {
    font-size: 0.65rem !important;
  }

  .product-card .installment-chip {
    font-size: 0.6rem !important;
    padding: 2px 4px !important;
  }

  .product-card .product-bnpl-bar {
    padding: 3px 5px !important;
    margin-bottom: 0.35rem !important;
    gap: 2px !important;
    border-radius: 6px !important;
  }

  .product-card .product-bnpl-bar span {
    font-size: 0.65rem !important;
  }

  .product-card .product-bnpl-bar strong {
    font-size: 0.7rem !important;
  }

  .product-card .product-bnpl-bar img {
    height: 10px !important;
  }

  .product-card .btn,
  .product-card .btn.js-add-to-cart {
    padding: 0.35rem 0.35rem !important;
    font-size: 0.7rem !important;
    gap: 3px !important;
    border-radius: 18px !important;
  }

  .product-card .btn.js-wishlist-toggle {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .product-card .btn.js-wishlist-toggle i {
    font-size: 0.75rem !important;
  }

  /* Single Column Content Sections on Mobile */
  .shop-layout-grid,
  .cart-layout-grid,
  .checkout-grid,
  .cart-grid,
  .product-detail-grid,
  .product-details-grid,
  .account-grid,
  .contact-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .shop-sidebar {
    display: none !important;
  }

  .product-bnpl-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  .payment-method-card {
    padding: 0.85rem !important;
  }

  .gallery-main-view {
    border-radius: var(--radius-md) !important;
  }

  .gallery-thumbs {
    gap: 0.5rem !important;
  }

  .gallery-thumb-item {
    width: 55px !important;
    height: 55px !important;
  }

  .site-footer {
    padding: 2rem 0 1.25rem !important;
    margin-top: 2rem !important;
  }

  .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], select, textarea {
    font-size: 16px !important;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-whatsapp {
    bottom: 66px !important;
    right: 12px !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 1.35rem !important;
    z-index: 99990 !important;
  }

  /* Permanently Fixed Viewport Bottom Navigation Dock */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    background: #090d16 !important;
    border-top: 1px solid rgba(0, 242, 254, 0.35) !important;
    border-radius: 0 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8) !important;
    margin: 0 !important;
    z-index: 999999 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
  }

  .mobile-bottom-item {
    flex: 1 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px 0 !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    font-size: 0.68rem !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
  }

  .mobile-bottom-item i {
    font-size: 1.15rem !important;
  }

  .mobile-bottom-item.active,
  .mobile-bottom-item:hover {
    color: var(--primary) !important;
    background: rgba(0, 242, 254, 0.08) !important;
  }

  .mobile-bottom-item.active i {
    color: var(--primary) !important;
  }

  /* Mobile Sticky Bottom Buy Bar on Product Page */
  .mobile-sticky-buy-bar {
    position: fixed !important;
    bottom: 56px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 54px !important;
    z-index: 999990 !important;
    background: rgba(9, 13, 22, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid var(--border-glass) !important;
    padding: 0.4rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .mobile-sticky-buy-bar .sticky-buy-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: var(--primary) !important;
    font-family: var(--font-heading) !important;
    line-height: 1.1 !important;
  }

  .mobile-sticky-buy-bar .sticky-buy-stock {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
  }

  .mobile-sticky-buy-bar .sticky-buy-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.45rem !important;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  .product-trust-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Ultra-compact Phones (<= 360px) */
@media (max-width: 360px) {
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .hero-title {
    font-size: 1.3rem !important;
  }

  .hero-slide-title {
    font-size: 1rem !important;
  }

  .product-card .price-current {
    font-size: 0.8rem !important;
  }

  .product-card .btn {
    font-size: 0.66rem !important;
    padding: 0.35rem 0.4rem !important;
  }
}

.gallery-main-view {
  aspect-ratio: 1;
  background: #0b1120;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb-item {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  cursor: pointer;
  background: #0b1120;
  transition: var(--transition-fast);
}

.gallery-thumb-item.active, .gallery-thumb-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

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



/* Modern Category Tile Hover Effect */
.category-tile {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
}
.category-tile:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(0, 242, 254, 0.4) !important;
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.12), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  background: rgba(18, 28, 48, 0.85) !important;
}
.category-tile:hover span i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* Floating Wishlist Button on Product Cards */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.wishlist-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: scale(1.15);
}
.wishlist-btn i.fas {
  color: #ef4444;
}

/* ==========================================================================
   Hardware-Accelerated Modern CSS Animations & Micro-Interactions
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.35), 0 0 20px rgba(0, 242, 254, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.65), 0 0 35px rgba(0, 242, 254, 0.25);
  }
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

/* Entrance Animations */
.hero-content {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-badge {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Badge Pulsing Glow */
.badge-hot, .badge-sale {
  animation: pulseGlow 3s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
}

/* Fast Mobile Touch & Smooth Scroll */
html {
  scroll-behavior: smooth;
}
a, button, input, select, textarea {
  touch-action: manipulation;
}

/* Smooth Product Card Transitions */
.product-card {
  will-change: transform, box-shadow;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.12) !important;
  border-color: rgba(0, 242, 254, 0.35) !important;
}

.product-card-thumb img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

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

/* Button Hover Micro-Interactions */
.btn {
  will-change: transform, box-shadow;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
}

.btn:active {
  transform: translateY(1px) !important;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35) !important;
}

/* Action Badge Bounce */
.action-badge {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Search Dropdown Smooth Reveal */
.search-dropdown.active {
  animation: fadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Cart Drawer Smooth Slide */
.cart-drawer {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cart-overlay {
  will-change: opacity, visibility;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Status Pills for Customer Tracking & Orders */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pill.pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.status-pill.processing { background: rgba(2, 132, 199, 0.15); color: #38bdf8; border: 1px solid rgba(2, 132, 199, 0.35); }
.status-pill.shipped { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.status-pill.delivered, .status-pill.paid { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.35); }
.status-pill.cancelled, .status-pill.failed, .status-pill.unpaid { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.35); }
.status-pill.pending_verification { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.35); }

/* ==========================================================================
   PREMIUM GLOBAL ENHANCEMENTS — Professional Corporate Look
   ========================================================================== */

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #090d16; }
::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 242, 254, 0.5); }

/* Text Selection Color */
::selection { background: rgba(0, 242, 254, 0.25); color: #fff; }
::-moz-selection { background: rgba(0, 242, 254, 0.25); color: #fff; }

/* Smooth page entry fade-in */
@keyframes pageEntryFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
main { animation: pageEntryFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Shimmer skeleton loading effect */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 8px;
}

/* Premium top-bar upgrade */
.top-bar {
  background: linear-gradient(90deg, #04060d 0%, #070d1b 50%, #04060d 100%) !important;
  border-bottom: 1px solid rgba(0, 242, 254, 0.12) !important;
}

/* Section heading separator */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  opacity: 0.5;
}

/* Trust badge row */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.trust-badge-item i { color: var(--primary); font-size: 1rem; }

/* Glowing divider */
.glow-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,242,254,0.4) 50%, transparent 100%);
  margin: 2.5rem 0;
}

/* Card hover glow ring */
.glow-card-hover {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.glow-card-hover:hover {
  box-shadow: 0 0 0 1px rgba(0,242,254,0.3), 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(0,242,254,0.08);
  transform: translateY(-3px);
}

/* Floating label inputs (opt-in) */
.input-float-wrap { position: relative; }
.input-float-wrap .form-control { padding-top: 1.35rem; padding-bottom: 0.5rem; }
.input-float-label {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.18s ease;
}
.input-float-wrap .form-control:focus ~ .input-float-label,
.input-float-wrap .form-control:not(:placeholder-shown) ~ .input-float-label {
  top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product card out-of-stock overlay */
.product-card.out-of-stock .product-card-thumb img {
  filter: grayscale(0.6) opacity(0.7);
}

/* Mobile helper: inline-flex on lg */
@media (min-width: 992px) {
  .d-lg-inline-flex { display: inline-flex !important; }
}

/* Page banner heading stripe */
.page-banner-stripe {
  background: linear-gradient(135deg, rgba(0,242,254,0.08) 0%, rgba(0,97,255,0.05) 60%, transparent 100%);
  border-bottom: 1px solid rgba(0,242,254,0.12);
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}

/* Premium number counter text */
.counter-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* Notification dot indicator */
.notif-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(239,68,68,0.6);
  animation: notifPulse 1.8s infinite;
}
@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(239,68,68,0.6); }
  50% { box-shadow: 0 0 14px rgba(239,68,68,0.9); }
}

/* Glass input focus ring on dark bg */
.form-control:focus {
  background: rgba(24, 36, 59, 0.9) !important;
}

/* Hero section animated gradient background */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,242,254,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.6; }
  to   { transform: translate(-30px, 30px) scale(1.1); opacity: 1; }
}

/* Footer link hover underline */
.site-footer a {
  position: relative;
}
.site-footer .footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.site-footer .footer-link:hover::after { width: 100%; }

/* ==========================================================================
   PRODUCT DESCRIPTION & RICH OVERVIEW (Crystal Clear High-Contrast Styling)
   ========================================================================== */
.product-description-content {
  color: #f1f5f9 !important;
  font-size: 1rem;
  line-height: 1.8;
}

.product-description-content p {
  color: #e2e8f0 !important;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.product-description-content h3 {
  color: #00f2fe !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-description-content h4 {
  color: #38bdf8 !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-description-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  display: grid;
  gap: 0.65rem;
}

.product-description-content ul li {
  color: #f1f5f9 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.65rem;
}

.product-description-content ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981 !important;
  font-weight: bold;
  font-size: 1rem;
}

.product-description-content ol {
  padding-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  color: #f1f5f9 !important;
}

.product-description-content ol li {
  color: #f1f5f9 !important;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.product-description-content strong,
.product-description-content b {
  color: #ffffff !important;
  font-weight: 700;
}

.product-description-content em {
  color: #94a3b8 !important;
  font-style: italic;
}

.product-description-content a {
  color: #00f2fe !important;
  text-decoration: underline;
}

