/* ============================================================
   FASHIONCOMPANY FASHION — MAIN STYLESHEET
   Author: Fashion Company (Purna Sai & Prabhas)
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* === BRAND COLORS === */
  --primary:            #1a1a2e;
  --primary-light:      #16213e;
  --accent-blue:        #4f8ef7;
  --accent-blue-light:  #7eb3ff;
  --accent-purple:      #9b5de5;
  --accent-gold:        #c9a84c;
  --accent-gold-light:  #e4c97e;
  --accent-cyan:        #00d4ff;
  --accent-silver:      #c0c0d0;

  /* === BACKGROUND LAYERS (DARK MODE) === */
  --bg-base:      #0a0a14;
  --bg-surface:   #141422;
  --bg-elevated:  #1e1e30;

  /* === GLASS SYSTEM (DARK MODE) === */
  --glass-bg:           rgba(18, 18, 32, 0.75);
  --glass-bg-strong:    rgba(25, 25, 42, 0.88);
  --glass-bg-dark:      rgba(10, 10, 20, 0.65);
  --glass-border:       rgba(255, 255, 255, 0.10);
  --glass-border-dark:  rgba(255, 255, 255, 0.06);
  --glass-blur:         saturate(180%) blur(20px);
  --glass-blur-sm:      saturate(150%) blur(12px);
  --glass-blur-lg:      saturate(200%) blur(40px);

  /* === TEXT (DARK MODE) === */
  --text-primary:   #f0f0f5;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --text-muted:     rgba(255, 255, 255, 0.50);
  --text-white:     #ffffff;
  --text-gold:      #c9a84c;

  /* === TYPOGRAPHY === */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* === SIZING === */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --radius-full: 9999px;

  /* === SPACING SCALE === */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* === SHADOWS (DARK MODE) === */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.20), 0 1px 2px rgba(0,0,0,0.14);
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.14);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.18);
  --shadow-lg:  0 16px 56px rgba(0,0,0,0.32), 0 8px 20px rgba(0,0,0,0.20);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.38), 0 16px 32px rgba(0,0,0,0.22);
  --shadow-glow-blue:   0 0 40px rgba(79,142,247,0.30), 0 0 80px rgba(79,142,247,0.12);
  --shadow-glow-purple: 0 0 40px rgba(155,93,229,0.30), 0 0 80px rgba(155,93,229,0.12);
  --shadow-glow-gold:   0 0 40px rgba(201,168,76,0.30), 0 0 80px rgba(201,168,76,0.12);

  /* === TRANSITIONS === */
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --dur-fast:   150ms;
  --dur-normal: 300ms;
  --dur-slow:   500ms;
  --dur-slower: 800ms;

  /* === LAYOUT === */
  --container-max: 1540px;
  --container-pad: clamp(20px, 5vw, 60px);
  --nav-height: 90px;
  --nav-top-offset: 18px;
  --nav-side-offset: clamp(16px, 3vw, 40px);
}


/* ============================================================
   CUSTOM STYLISH DESKTOP SCROLLBARS (THEME MATCHED)
   ============================================================ */

/* Desktop & Large Screens (≥ 769px): Sleek, glowing indigo theme scrollbar */
@media (min-width: 769px) {
  html, body, * {
    scrollbar-width: thin !important;
    scrollbar-color: #6366f1 rgba(10, 10, 20, 0.6) !important;
  }

  ::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
    display: block !important;
  }

  ::-webkit-scrollbar-track {
    background: rgba(10, 10, 20, 0.6) !important;
    border-radius: 99px !important;
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #4f46e5) !important;
    border-radius: 99px !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4) !important;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #818cf8, #6366f1) !important;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.8) !important;
  }
}

/* Small Screens / Mobile (< 769px): Hide scrollbars completely for smooth touch */
@media (max-width: 768px) {
  html, body, *, *::before, *::after {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  ::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
    background: transparent !important;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

iframe {
  border: none;
}

/* ============================================================
   NOISE TEXTURE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ============================================================
   AMBIENT LIGHT ORBS (Mesh Gradient Background)
   ============================================================ */
.ambient-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.6) 0%, rgba(155, 93, 229, 0.3) 60%, transparent 100%);
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.4) 0%, rgba(79, 142, 247, 0.2) 60%, transparent 100%);
  animation-delay: -7s;
  animation-duration: 25s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(155, 93, 229, 0.3) 0%, rgba(0, 212, 255, 0.2) 60%, transparent 100%);
  animation-delay: -14s;
  animation-duration: 18s;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease-spring),
              box-shadow var(--dur-slow) var(--ease-smooth),
              border-color var(--dur-normal) var(--ease-smooth);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.95);
}

.glass-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(10, 10, 30, 0.85) 0%,
    rgba(10, 10, 30, 0.4) 50%,
    transparent 100%
  );
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  padding: 0.75em 1.75em;
  transition: all var(--dur-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a5a 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2a2a5a 0%, var(--accent-purple) 100%);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.50), var(--shadow-glow-purple);
  transform: translateY(-2px);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(13,13,20,0.25);
}

.btn-ghost:hover {
  background: rgba(13,13,20,0.06);
  border-color: rgba(13,13,20,0.50);
  transform: translateY(-2px);
}

/* Glass Button */
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1.5px solid var(--glass-border);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255,255,255,0.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Sizes */
.btn-lg {
  font-size: 1rem;
  padding: 0.875em 2.25em;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.6em 1.4em;
}

.btn-xs {
  font-size: 0.8125rem;
  padding: 0.5em 1.2em;
}

.btn-full {
  width: 100%;
}

/* Ripple effect placeholder — handled by JS */
.ripple-btn {
  overflow: hidden;
}

/* ============================================================
   NAVBAR — FLOATING GLASS PILL
   ============================================================ */

/* Outer wrapper — full width fixed, provides the floating offset */
.navbar {
  position: fixed;
  top: var(--nav-top-offset);
  left: var(--nav-side-offset);
  right: var(--nav-side-offset);
  z-index: 1000;
  height: var(--nav-height);
  /* No background on the wrapper — inner pill handles it */
  background: transparent;
  pointer-events: none; /* Let clicks pass through the gap */
}

/* The pill itself — contains everything visible */
.nav-container {
  pointer-events: auto;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;

  /* Floating WHITE translucent glass pill — always visible */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10),
              0 2px 8px  rgba(0, 0, 0, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.90);

  /* Smooth transitions */
  transition: background    var(--dur-slow) var(--ease-smooth),
              border-color  var(--dur-slow) var(--ease-smooth),
              box-shadow    var(--dur-slow) var(--ease-smooth),
              backdrop-filter var(--dur-slow) var(--ease-smooth);
}

/* Transparent state — still white frosted glass, just slightly lighter */
.navbar.nav-transparent .nav-container {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08),
              0 2px 6px  rgba(0, 0, 0, 0.04),
              inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

/* Scrolled state — deeper, more opaque white frosted glass */
.navbar.nav-scrolled .nav-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(200%) blur(36px);
  -webkit-backdrop-filter: saturate(200%) blur(36px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10),
              0 4px 12px  rgba(0, 0, 0, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo text — always dark since pill is always white */
.navbar.nav-transparent .logo-text {
  color: var(--text-primary);
}

.navbar.nav-scrolled .logo-text {
  color: var(--text-primary);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--text-white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(79,142,247,0.4);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.logo-text em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-blue);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  transition: color var(--dur-fast), background var(--dur-fast);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

/* Always dark links since pill is always white frosted glass */
.navbar.nav-transparent .nav-link {
  color: var(--text-secondary);
}

.navbar.nav-transparent .nav-link:hover,
.navbar.nav-transparent .nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

/* Dark links on scrolled */
.navbar.nav-scrolled .nav-link {
  color: var(--text-secondary);
}

.navbar.nav-scrolled .nav-link:hover,
.navbar.nav-scrolled .nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.chevron {
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-smooth),
              transform var(--dur-normal) var(--ease-smooth),
              visibility var(--dur-normal);
  border-radius: var(--radius-lg);
}

/* Invisible bridge that fills the gap between trigger and dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.dropdown-item:hover {
  background: rgba(79,142,247,0.08);
  color: var(--accent-blue);
}

.dropdown-icon {
  font-size: 1rem;
  opacity: 0.6;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  margin-left: auto !important;
}

/* Icon buttons — white on transparent, dark on scrolled */
.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.navbar.nav-transparent .nav-icon-btn {
  color: var(--text-secondary);
}

.navbar.nav-transparent .nav-icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
  transform: scale(1.08);
}

.navbar.nav-scrolled .nav-icon-btn {
  color: var(--text-secondary);
}

.navbar.nav-scrolled .nav-icon-btn:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-primary);
  transform: scale(1.08);
}

.nav-icon-btn:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-primary);
  transform: scale(1.08);
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--accent-blue);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease-spring);
}

/* Ghost button — always dark since pill is always white */
.navbar.nav-transparent .btn-ghost {
  color: var(--text-primary);
  border-color: rgba(13, 13, 20, 0.25);
}

.navbar.nav-transparent .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(13, 13, 20, 0.45);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.hamburger:hover {
  background: rgba(0,0,0,0.06);
}

/* Hamburger bars white on transparent */
.navbar.nav-transparent .ham-bar {
  background: rgba(255, 255, 255, 0.90);
}

.navbar.nav-transparent .hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ham-bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  display: block;
  transition: transform var(--dur-normal) var(--ease-smooth),
              opacity var(--dur-normal),
              width var(--dur-normal);
}

.hamburger.open .ham-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open .ham-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open .ham-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
/* ============================================================
   ULTRA-PREMIUM MOBILE DRAWER MENU & HEADER SEARCH (WOW EDITION)
   ============================================================ */

/* Mobile Menu Overlay Drawer */
.mobile-menu {
  position: fixed;
  top: calc(var(--nav-height) + var(--nav-top-offset) + 12px);
  left: var(--space-4);
  right: var(--space-4);
  z-index: 9999;
  padding: 20px;
  background: rgba(8, 8, 22, 0.72) !important;
  backdrop-filter: saturate(200%) blur(28px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 32px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
  max-width: 520px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  margin: 0 auto;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* User Greeting Header Box */
.mobile-user-greeting {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  margin-bottom: 20px;
}

.user-avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)) !important;
  border: 1px solid rgba(129, 140, 248, 0.3) !important;
  color: #a5b4fc !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.user-greeting-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-greeting-sub {
  font-size: 10px !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4) !important;
  font-weight: 700;
}

.user-greeting-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.01em;
}

/* Mobile Links List */
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: 1px solid transparent !important;
  text-decoration: none;
}

.mobile-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-link-left svg {
  opacity: 0.7;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s;
}

.mobile-link-chevron {
  opacity: 0.25;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
}

.mobile-link:hover .mobile-link-left svg {
  transform: scale(1.08);
  opacity: 1;
}

.mobile-link:hover .mobile-link-chevron {
  transform: translateX(3px);
  opacity: 0.6;
}

.mobile-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.08)) !important;
  color: #a5b4fc !important;
  font-weight: 700 !important;
  border: 1px solid rgba(129, 140, 248, 0.22) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.10) !important;
}

.mobile-link.active .mobile-link-left svg {
  color: #a5b4fc !important;
  opacity: 1;
}

.mobile-link.active .mobile-link-chevron {
  color: #a5b4fc !important;
  opacity: 0.5;
}

/* Mobile Category Group */
.mobile-category-block {
  margin: 8px 0 2px;
}

.mobile-category-header {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3) !important;
  padding: 10px 18px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-category-header svg {
  opacity: 0.4;
}

.mobile-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.mobile-sub-link {
  font-size: 13.5px !important;
  padding: 12px 18px 12px 38px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 16px !important;
}

.mobile-sub-link .mobile-link-left {
  gap: 10px;
}

.mobile-sub-link:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
}

.mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06) !important;
  margin: 16px 18px;
}

/* Mobile Actions & Logout Button */
.mobile-actions {
  margin-top: 16px;
  padding: 0 4px;
}

.mobile-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border: none !important;
  border-radius: 9999px !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #fca5a5 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

.mobile-logout-btn:hover {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Override Inline Style for Admin item from script.js */
#mobile-admin-item a {
  color: #fcd34d !important;
  background: rgba(251, 191, 36, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  font-weight: 700 !important;
  border-radius: 18px !important;
  padding: 14px 18px !important;
  margin-top: 8px !important;
  text-decoration: none;
}
#mobile-admin-item a:hover {
  background: rgba(251, 191, 36, 0.15) !important;
}

/* Header Search Bar (Commercial E-Commerce Wide Sizing — Amazon/Flipkart Style) */
.nav-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1050px !important;
  width: 100%;
  flex: 2.5 !important;
  margin: 0 16px;
}

.nav-search-input {
  width: 100%;
  height: 52px !important;
  padding: 13px 60px 13px 26px !important;
  font-size: 1.05rem !important;
  font-family: 'Inter', sans-serif;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9999px !important;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease;
  box-sizing: border-box !important;
}

.nav-search-input::placeholder {
  color: #64748b !important;
  font-weight: 500;
}

.nav-search-input:focus {
  background: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.nav-search-btn {
  position: absolute;
  right: 5px;
  background: #6366f1 !important;
  border: none;
  color: #ffffff !important;
  cursor: pointer;
  width: 42px !important;
  height: 42px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.nav-search-btn:hover {
  background: #4f46e5 !important;
  transform: scale(1.05);
}

.nav-search-btn svg {
  stroke: #ffffff !important;
}

.nav-search-btn:hover {
  transform: scale(1.1);
  background: #4f46e5 !important;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(79,142,247,0.08);
  color: var(--accent-blue);
}

.mobile-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: var(--space-3) 0;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Account for floating navbar: height + top offset */
  padding-top: calc(var(--nav-height) + var(--nav-top-offset) + 20px);
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center center;
  will-change: transform;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 8, 20, 0.75) 0%,
    rgba(8, 8, 20, 0.45) 50%,
    rgba(8, 8, 20, 0.20) 100%
  );
  z-index: 1;
}

.hero-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(248, 247, 244, 0.12) 100%
  );
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-full);
  padding: 0.4em 1em;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero Title */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
}

.title-italic {
  font-style: italic;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--accent-blue-light) 50%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.70);
  margin-bottom: var(--space-10);
  max-width: 480px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.stat-pill {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Scroll Indicator — Removed */
.scroll-indicator {
  display: none !important;
}
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.45);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-out 2s both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.50);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #2a1a5e 50%, var(--primary) 100%);
  padding: var(--space-3) 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.announcement-track {
  display: flex;
  gap: var(--space-16);
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}

.announcement-item {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.80);
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-3);
  position: relative;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-blue);
  vertical-align: middle;
  margin: 0 var(--space-3);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CATEGORY EDITORIAL CARDS (new)
   Side by side desktop — stacked mobile
   ============================================================ */
.categories-section {
  position: relative;
  z-index: 1;
  padding: var(--space-10) 0 var(--space-20);
}

/* ── Grid: 3 equal columns on desktop ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

/* ── Individual Card ── */
.cat-card {
  position: relative;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
  cursor: pointer;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.cat-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.25) !important;
}

/* ── Clickable link fills the whole card ── */
.cat-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  border-radius: 24px !important;
  overflow: hidden !important;
}

/* ── Photo wrapper ── */
.cat-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #0f172a !important;
  isolation: isolate;
}

/* ── Photo image ── */
.cat-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: block;
}

/* Kids photo — centre on the child, not the sky */
.cat-photo--kids {
  object-position: center 40%;
}

.cat-card:hover .cat-photo {
  transform: scale(1.06) !important;
}

/* ── Gradient overlay (dark bottom → transparent top) ── */
.cat-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px !important;
  background: linear-gradient(
    to top,
    rgba(5, 5, 18, 0.92) 0%,
    rgba(5, 5, 18, 0.58) 40%,
    rgba(5, 5, 18, 0.12) 70%,
    transparent 100%
  ) !important;
  transition: opacity 0.4s ease !important;
  pointer-events: none;
}

.cat-card:hover .cat-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 5, 18, 0.96) 0%,
    rgba(5, 5, 18, 0.68) 45%,
    rgba(5, 5, 18, 0.18) 75%,
    transparent 100%
  ) !important;
}

/* ── Top badge ── */
.cat-badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  padding: 0.3em 0.9em;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

/* Gold badge for featured */
.cat-badge--gold {
  background: rgba(201, 168, 76, 0.22);
  border-color: rgba(201, 168, 76, 0.50);
  color: var(--accent-gold-light);
}

/* ── Bottom text content ── */
.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-8) var(--space-6);
  /* Slide up slightly on hover */
  transform: translateY(4px);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.cat-card:hover .cat-content {
  transform: translateY(0);
}

/* Category eyebrow label */
.cat-eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin: 0 0 var(--space-2);
}

/* Category title */
.cat-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.02em;
}

/* Style count */
.cat-meta {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 var(--space-5);
  letter-spacing: 0.04em;
}

/* CTA button */
.cat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(18, 18, 36, 0.75) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: var(--radius-full);
  padding: 0.65em 1.4em;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cat-card:hover .cat-cta-btn,
.cat-link:hover .cat-cta-btn,
.accessories-collection:hover .cat-cta-btn,
.accessories-collection:focus-within .cat-cta-btn,
.editorial-main:hover .cat-cta-btn,
.editorial-small:hover .cat-cta-btn,
.editorial-main:focus-within .cat-cta-btn,
.editorial-small:focus-within .cat-cta-btn,
.cat-cta-btn:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  gap: var(--space-3) !important;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.6) !important;
  transform: translateY(-2px);
}

.cat-cta-btn svg {
  transition: transform 0.3s ease !important;
  flex-shrink: 0;
  stroke: #ffffff !important;
}

.cat-card:hover .cat-cta-btn svg,
.cat-link:hover .cat-cta-btn svg,
.cat-cta-btn:hover svg {
  transform: translateX(4px);
  stroke: #ffffff !important;
}



.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-smooth);
}

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

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 20, 0.60) 0%,
    rgba(8, 8, 20, 0.10) 50%,
    transparent 100%
  );
  transition: opacity var(--dur-slow) var(--ease-smooth);
}

.category-card:hover .card-img-overlay {
  opacity: 0.7;
}

.card-floating-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.3em 0.9em;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
}

.card-badge-gold {
  background: rgba(201,168,76,0.25);
  border-color: rgba(201,168,76,0.40);
  color: var(--accent-gold-light);
}

/* Card Featured (Women's) */
.card-featured {
  position: relative;
}

.card-featured .card-image-wrapper {
  aspect-ratio: 3 / 4.6;
}

.card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
  z-index: -1;
  opacity: 0.6;
  transition: opacity var(--dur-normal);
}

.card-featured:hover::before {
  opacity: 1;
}

/* Card Body */
.card-body {
  padding: var(--space-6);
  background: var(--glass-bg-strong);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.card-category {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(79,142,247,0.10);
  color: var(--accent-blue);
  transition: background var(--dur-fast), transform var(--dur-normal) var(--ease-spring);
}

.category-card:hover .card-arrow {
  background: var(--accent-blue);
  color: white;
  transform: translateX(4px);
}

/* ============================================================
   EDITORIAL SECTION
   ============================================================ */
.editorial-section {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto var(--space-32);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-6);
  aspect-ratio: 21 / 10;
  height: auto;
}

.editorial-main,
.editorial-small {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.editorial-small {
  flex: 1;
}

.editorial-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-smooth);
}

.editorial-main:hover .editorial-img,
.editorial-small:hover .editorial-img {
  transform: scale(1.05);
}

.editorial-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-10);
  z-index: 2;
}

.editorial-content-sm {
  padding: var(--space-6);
}

.editorial-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: var(--space-3);
  padding: 0.25em 0.7em;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-full);
  background: rgba(201,168,76,0.10);
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.editorial-title-sm {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.editorial-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

/* ============================================================
   WHY CHOOSE US — BENTO GRID
   ============================================================ */
.why-section {
  position: relative;
  z-index: 1;
  padding: var(--space-32) 0;
  background: linear-gradient(180deg, #10101a 0%, #1a1a2e 100%);
}

.why-section .section-title {
  color: #ffffff;
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.why-section .bento-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

.why-section .bento-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.why-section .bento-title {
  color: #ffffff;
}

.why-section .bento-desc {
  color: rgba(255, 255, 255, 0.6);
}

.why-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

.bento-card {
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-spring),
              box-shadow var(--dur-slow) var(--ease-smooth);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-large {
  grid-column: span 2;
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.bento-medium {
  grid-column: span 2;
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.bento-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(79,142,247,0.12), rgba(155,93,229,0.10));
  border: 1px solid rgba(79,142,247,0.20);
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform var(--dur-normal) var(--ease-spring),
              background var(--dur-normal);
}

.bento-card:hover .bento-icon {
  transform: scale(1.10) rotate(-5deg);
  background: linear-gradient(135deg, rgba(79,142,247,0.20), rgba(155,93,229,0.18));
}

.bento-content {
  flex: 1;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-visual {
  position: absolute;
  bottom: -30px;
  right: -30px;
  pointer-events: none;
}

.bento-glow {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  filter: blur(50px);
  opacity: 0.20;
  transition: opacity var(--dur-slow);
}

.bento-card:hover .bento-glow {
  opacity: 0.35;
}

.bento-glow-blue   { background: var(--accent-blue); }
.bento-glow-purple { background: var(--accent-purple); }
.bento-glow-gold   { background: var(--accent-gold); }
.bento-glow-cyan   { background: var(--accent-cyan); }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  position: relative;
  z-index: 1;
  padding: var(--space-24) 0;
}

.newsletter-glass {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) var(--space-20);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(79,142,247,0.08) 0%,
    rgba(255,255,255,0.65) 50%,
    rgba(155,93,229,0.08) 100%
  );
  border: 1px solid rgba(255,255,255,0.80);
}

.newsletter-orb {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.newsletter-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.newsletter-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.form-input {
  flex: 1;
  height: 52px;
  padding: 0 var(--space-5);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  border-radius: var(--radius-full);
  border: none;
  outline: none;
  transition: box-shadow var(--dur-normal), border-color var(--dur-normal);
}

.glass-input {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-sm);
}

.glass-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79,142,247,0.18), var(--shadow-sm);
  border-color: var(--accent-blue);
}

.glass-input::placeholder {
  color: #6a6a8c;
  font-weight: 500;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-message {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  min-height: 20px;
  transition: all var(--dur-normal);
}

.form-message.success { color: #28a745; }
.form-message.error   { color: #dc3545; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #10101a 0%, #1a1a2e 100%);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: var(--space-24) 0 var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: var(--space-12);
}

.footer-logo {
  margin-bottom: var(--space-5);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--dur-fast), color var(--dur-fast),
              transform var(--dur-normal) var(--ease-spring),
              box-shadow var(--dur-normal);
}

.social-btn:hover {
  background: var(--accent-blue);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(79,142,247,0.3);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

/* Footer Address */
.footer-address {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.address-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-gold-light);
}

/* Map */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-fast);
}

.footer-legal-link:hover {
  color: #ffffff;
}

.footer-made {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-made strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================================
   MOUSE GLOW
   ============================================================ */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(79,142,247,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-slow);
  will-change: transform;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26,26,46,0.35);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--dur-normal), transform var(--dur-normal) var(--ease-spring), visibility var(--dur-normal), background var(--dur-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-blue);
  transform: translateY(-4px);
}

/* ============================================================
   AUTH PAGES (Login & Sign Up)
   ============================================================ */
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Profile Page (mirrors auth-page layout, but keeps mobile bottom nav visible) ── */
.profile-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Read-only field styling */
.profile-readonly-field {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  cursor: default !important;
  pointer-events: none;
  opacity: 1 !important;
}

/* Profile view/edit mode buttons */
.profile-edit-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-lg, 12px);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.profile-edit-btn:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.7);
  color: #c7d2fe;
}

.profile-cancel-btn {
  width: 100%;
  padding: 12px 24px;
  border-radius: var(--radius-lg, 12px);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text-muted, #9ca3af);
  margin-top: 10px;
  transition: all 0.2s ease;
}
.profile-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary, #fff);
}

/* Not-logged-in card */
.profile-not-logged-in {
  text-align: center;
  padding: var(--space-8, 32px) var(--space-6, 24px);
}
.profile-not-logged-in .nli-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-not-logged-in h2 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-primary, #fff);
  margin-bottom: 8px;
}
.profile-not-logged-in p {
  color: var(--text-muted, #9ca3af);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.profile-login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg, 12px);
  background: #6366f1;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.profile-login-link:hover {
  background: #4f46e5;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.auth-main-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--nav-top-offset) + 40px) var(--space-4) var(--space-16);
  position: relative;
  z-index: 2;
}

.auth-card-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-xl);
  background: rgba(18, 18, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.12);
}

.auth-card-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-2);
}

.auth-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.auth-description {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Social Logins */
.social-auth-container {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.btn-social {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-primary);
  height: 48px;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

/* Google Only authentication styles */
.google-only-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.google-auth-wrapper {
  margin: var(--space-8) 0 var(--space-4);
}

.btn-google-only {
  background: linear-gradient(135deg, var(--primary) 0%, #252542 100%);
  color: var(--text-white);
  height: 52px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.15);
}

.btn-google-only:hover {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.3), var(--shadow-glow-blue);
  transform: translateY(-2px);
  color: var(--text-white);
}

.auth-separator {
  position: relative;
  text-align: center;
  margin: var(--space-6) 0;
}

.auth-separator::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.auth-separator span {
  position: relative;
  z-index: 2;
  background: var(--bg-base); /* match page background */
  padding: 0 var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
}

/* Auth Forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group-input {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label-input {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-blue);
  transition: color var(--dur-fast);
}

.forgot-link:hover {
  color: var(--accent-purple);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color var(--dur-fast);
}

.glass-input-field {
  width: 100%;
  height: 50px;
  padding: 0 var(--space-5) 0 44px; /* extra left padding for icon */
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: var(--glass-blur-sm);
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.glass-input-field:focus {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.15), var(--shadow-sm);
}

.glass-input-field:focus + .input-icon {
  color: var(--accent-blue);
}

.glass-input-field.input-error {
  border-color: #dc3545;
  background: rgba(253, 237, 237, 0.45);
}

.glass-input-field.input-error:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.field-error-message {
  font-size: 0.75rem;
  color: #dc3545;
  font-weight: 500;
  min-height: 16px;
  margin-top: 2px;
  transition: opacity var(--dur-fast);
}

/* Password Toggle */
.password-toggle-btn {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  z-index: 20 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: color var(--dur-fast), background var(--dur-fast);
}

.password-toggle-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

.password-toggle-btn svg {
  pointer-events: none !important;
}

.eye-icon {
  display: block;
}

/* Custom Checkbox */
.form-checkbox-row {
  margin: var(--space-2) 0;
}

.custom-checkbox-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  height: 20px;
  width: 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xs);
  margin-right: var(--space-3);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.custom-checkbox-container:hover input ~ .custom-checkbox {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent-blue);
}

.custom-checkbox-container input:checked ~ .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.custom-checkbox::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .custom-checkbox::after {
  display: block;
}

.checkbox-label {
  vertical-align: middle;
}

/* Auth Card Footer */
.auth-card-footer {
  text-align: center;
  margin-top: var(--space-8);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Multi-step Signup Sizing & Progress */
.multi-step-signup-card {
  max-width: 520px;
  margin: 0 auto;
}

.signup-step-indicator {
  position: relative;
  margin-bottom: var(--space-8);
  padding: var(--space-2) 0;
}

.step-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-50%);
  z-index: 1;
}

.step-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  transition: width var(--dur-normal) var(--ease-smooth);
}

.step-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.step-node {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 2px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.step-node.active {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(79, 142, 247, 0.25);
}

.step-node.completed {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--text-white);
}

/* Steps Containers */
.signup-step-container {
  display: none;
  animation: fadeIn 0.4s var(--ease-smooth);
}

.signup-step-container.active {
  display: block;
}

/* Inputs & Rows Layouts */
.phone-input-row {
  display: flex;
  gap: var(--space-2);
}

.country-picker-wrapper {
  flex-shrink: 0;
}

.glass-select {
  height: 50px;
  padding: 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: var(--glass-blur-sm);
  outline: none;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.glass-select:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.85);
}

.otp-inputs-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.otp-field {
  width: 50px;
  height: 56px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.45);
  outline: none;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.otp-field:focus {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.15);
}

.otp-field.input-error {
  border-color: #dc3545;
}

.otp-timer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: var(--space-6);
}

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

.resend-btn {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-blue);
  transition: color var(--dur-fast);
  background: none;
  border: none;
}

.resend-btn.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.resend-btn:not(.disabled):hover {
  color: var(--accent-purple);
}

.step-nav-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.form-grid-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.glass-input-field.no-icon {
  padding-left: var(--space-5);
}

.flex-grow {
  flex-grow: 1;
}

@media (max-width: 480px) {
  .otp-field {
    width: 40px;
    height: 48px;
    font-size: 1.25rem;
  }
  .form-grid-row-2 {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* Email Verification Button Inside Wrapper */
.email-verify-btn {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(79, 142, 247, 0.15);
  border: 1px solid rgba(79, 142, 247, 0.25);
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.email-verify-btn:hover {
  background: var(--accent-blue);
  color: var(--text-white);
  border-color: var(--accent-blue);
}

.email-verify-btn.verified {
  background: #28a745;
  color: var(--text-white);
  border-color: #28a745;
  cursor: not-allowed;
}

/* Email OTP Slide Down Block */
.email-otp-container {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: var(--space-2) 0;
  animation: fadeIn 0.3s var(--ease-smooth);
}

.email-otp-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* Password Rules Checklist */
.password-rules-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
}

.rule-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

.rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  position: relative;
  transition: all var(--dur-fast);
}

/* Met rules turn green with checkmark style */
.rule-item.met {
  color: #28a745;
  font-weight: 500;
}

.rule-item.met .rule-dot {
  background: #28a745;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.4);
}

.auth-redirect-link {
  font-weight: 600;
  color: var(--accent-blue);
  transition: color var(--dur-fast);
}

.auth-redirect-link:hover {
  color: var(--accent-purple);
}


/* Simplified Auth Footer */
.auth-footer {
  padding: var(--space-8) 0;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================================
   SCROLL REVEAL CLASSES (set by JS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slower) var(--ease-smooth),
              transform var(--dur-slower) var(--ease-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   LOCATION SUBBAR FLOATING LAYOUT & OFFSETS
   ============================================================ */

/* High Visibility Desktop Location Button (Matches Search Bar & Web UI Theme) */
.desktop-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9999px !important;
  padding: 8px 18px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  margin: 0 8px !important;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  height: 44px !important;
  box-sizing: border-box !important;
}

.desktop-location-btn:hover {
  background: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.25) !important;
  transform: translateY(-1px) !important;
}

.desktop-location-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #4f46e5 !important;
  font-weight: 800 !important;
}

.desktop-location-text {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Dark mode adjustment if dark theme */
[data-theme="dark"] .desktop-location-btn {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #f8fafc !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .desktop-location-label {
  color: #a5b4fc !important;
}

[data-theme="dark"] .desktop-location-text {
  color: #f8fafc !important;
}

/* Hide desktop location button on mobile screens */
@media (max-width: 768px) {
  .desktop-location-btn {
    display: none !important;
  }
}

/* Hide separate location subbar ONLY on desktop screens (min-width: 769px) */
@media (min-width: 769px) {
  .location-subbar {
    display: none !important;
  }
}

.location-subbar {
  position: fixed;
  top: calc(var(--nav-height) + var(--nav-top-offset) + 10px);
  left: var(--nav-side-offset);
  right: var(--nav-side-offset);
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 999;
  height: 48px;
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 2px 8px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  pointer-events: auto;
  transition: all var(--dur-normal) var(--ease-smooth);
}

.location-subbar-container {
  width: 100%;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Offset overrides to prevent overlapping content */
.hero {
  padding-top: calc(var(--nav-height) + var(--nav-top-offset) + 84px) !important;
}
.auth-main-container {
  padding-top: calc(var(--nav-height) + var(--nav-top-offset) + 104px) !important;
}

/* ============================================================
   CATEGORY FILTER & SORT BY CONTROLS (WOW EDITION)
   ============================================================ */
.cat-controls-bar {
  position: sticky;
  top: calc(var(--nav-top-offset, 16px) + var(--nav-height, 70px) + 12px);
  z-index: 900;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 10px 0;
  margin: 16px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.filter-pill.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.sort-select {
  padding: 9px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  background: #1e1e32;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ============================================================
   LEFT SLIDE-OVER FILTER DRAWER
   ============================================================ */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop: floating capsule side panel */
.filter-drawer {
  position: fixed;
  top: 12px;
  left: 12px;
  bottom: 12px;
  height: calc(100vh - 24px);
  max-height: calc(100vh - 24px);
  width: 380px;
  max-width: calc(100vw - 24px);
  z-index: 1000000;
  background: rgba(14, 14, 30, 0.95);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(-100% - 24px));
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  color: #e8e8f0;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

.filter-drawer-overlay.active .filter-drawer {
  transform: translateX(0);
}

/* ---- Header ---- */
.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.filter-drawer-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filter-drawer-close:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* ---- Scrollable Body ---- */
.filter-drawer-body {
  padding: 14px 18px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 1 0px !important;
  min-height: 0 !important;
  max-height: 100% !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.filter-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.filter-drawer-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.filter-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
.filter-drawer-body::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* ---- Section Title (standalone, non-accordion) ---- */
.filter-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a5b4fc;
  margin-bottom: 10px;
}

/* ---- Accordion Cards ---- */
.filter-accordion {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.filter-accordion:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.filter-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease;
}

.filter-accordion-btn:hover {
  color: #a5b4fc;
}

.accordion-arrow {
  stroke: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s;
  flex-shrink: 0;
}

.filter-accordion-btn.active .accordion-arrow {
  transform: rotate(180deg);
  stroke: #a5b4fc;
}

.filter-accordion-content {
  display: none;
  padding: 0 14px 12px;
}

.filter-accordion-content.active {
  display: block;
}

/* ---- Price Inputs ---- */
.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-price-divider {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.filter-price-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}

.filter-price-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.filter-price-input:focus {
  border-color: #6366f1;
}

/* ---- Checkbox List ---- */
.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.filter-checkbox-list::-webkit-scrollbar { width: 3px; }
.filter-checkbox-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.filter-checkbox-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.filter-checkbox-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  width: 18px;
  height: 18px;
  outline: none;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.filter-checkbox-item input[type="checkbox"]:checked {
  background: #6366f1;
  border-color: #818cf8;
}

.filter-checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---- Category Breadcrumbs ---- */
.category-breadcrumb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
}

.category-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.category-breadcrumb-item:hover {
  color: #a5b4fc;
}

/* ---- Locked filter items (category pages) ---- */
.filter-checkbox-item.locked {
  opacity: 0.6;
  cursor: default;
}

.locked-badge {
  font-size: 10px;
  font-weight: 700;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: auto;
}

/* ---- Footer ---- */
.filter-drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  background: rgba(10, 10, 26, 0.95);
  flex-shrink: 0;
}

.filter-btn-reset,
#reset-drawer-filters-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 9999px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.filter-btn-reset:hover,
#reset-drawer-filters-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.filter-btn-apply,
#apply-drawer-filters-btn {
  flex: 2;
  padding: 12px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.filter-btn-apply:hover,
#apply-drawer-filters-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Force header icons (wishlist, cart, search, hamburger lines, chevron) to solid black */
.nav-icon-btn {
  color: #000000 !important;
}
.nav-icon-btn svg {
  stroke: #000000 !important;
}
.nav-search-btn {
  color: #000000 !important;
}
.nav-search-btn svg {
  stroke: #000000 !important;
}
.ham-bar {
  background: #000000 !important;
}
.chevron {
  stroke: #000000 !important;
  color: #000000 !important;
}


/* ============================================================
   BOTTOM-TO-TOP LOCATION DRAWER SHEET (Git Commit 157e17a UI)
   ============================================================ */
.location-bottom-sheet-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.location-bottom-sheet-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.location-bottom-sheet {
  width: 100% !important;
  max-width: 540px !important;
  max-height: 88vh !important;
  background: #ffffff !important;
  color: #111827 !important;
  border-top-left-radius: 28px !important;
  border-top-right-radius: 28px !important;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.35) !important;
  overflow-y: auto !important;
  transform: translateY(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 1000000 !important;
}

.location-bottom-sheet-backdrop.active .location-bottom-sheet {
  transform: translateY(0) !important;
}

.sheet-drag-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #d1d5db;
  margin: 12px auto 0;
}

.btn-add-location-dashed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px dashed rgba(99, 102, 241, 0.35);
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.04);
  color: #6366f1;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-location-dashed:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: #6366f1;
}

.saved-address-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saved-address-card:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.03);
}

.saved-address-card.selected {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.type-pill-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.active-pill-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #10b981;
  color: #ffffff;
}

.method-choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.method-choice-card:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.04);
  transform: translateY(-1px);
}

.manual-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.manual-form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.chip-type-btn {
  padding: 8px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 99px;
  background: #fafafa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}

.chip-type-btn:hover {
  border-color: #6366f1;
  color: #6366f1;
}

.chip-type-btn.active {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

/* ============================================================
   GRAND SHOP MARKETPLACE CAROUSELS (WOW EDITION)
   ============================================================ */
.shop-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.badge-mens {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-womens {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.badge-kids {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-bestseller {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.shop-carousel-wrap {
  position: relative;
  margin-bottom: 56px;
}

.shop-carousel-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
}

.shop-carousel-row::-webkit-scrollbar {
  height: 6px;
}

.shop-carousel-row::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.5);
  border-radius: 99px;
}

.shop-carousel-card {
  flex: 0 0 280px;
  width: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.shop-carousel-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   PRODUCT CARD IMAGE & ASPECT RATIO STANDARDS (R1)
   ============================================================ */
.product-card-img-wrap,
.shop-carousel-card-img-wrap,
.wishlist-card-img-wrap,
.category-product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0d0e1a;
  border-radius: 18px 18px 0 0;
}

.product-card-img,
.product-card-img-wrap img,
.shop-carousel-card-img-wrap img,
.wishlist-card-img-wrap img,
.category-product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-wow:hover .product-card-img,
.shop-carousel-card:hover .product-card-img,
.wishlist-card:hover .product-card-img,
.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: all 0.2s ease;
}

.scroll-btn:hover {
  background: #6366f1;
  border-color: #6366f1;
  transform: translateY(-50%) scale(1.1);
}

.scroll-left-btn {
  left: -20px;
}

.scroll-right-btn {
  right: -20px;
}

/* ============================================================
   LOCKED CATEGORY FILTER STYLING
   ============================================================ */
.filter-checkbox-item.locked {
  opacity: 0.75;
  cursor: not-allowed !important;
  color: #a5b4fc !important;
}

.filter-checkbox-item.locked input[type="checkbox"] {
  cursor: not-allowed !important;
  accent-color: #6366f1;
}

.locked-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: auto;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   GLOBAL UI VISIBILITY & READABILITY ENHANCEMENTS (THEME MATCHED)
   ============================================================ */

/* 1. Global Contrast & Typography Tokens */
:root {
  --text-primary: #ffffff !important;
  --text-secondary: rgba(255, 255, 255, 0.92) !important;
  --text-muted: rgba(255, 255, 255, 0.72) !important;
  --text-white: #ffffff !important;
}

/* 2. All Text Fields, Inputs, Textareas & Selects */
input,
textarea,
select,
.glass-input,
.glass-input-field,
.form-input,
.manual-form-input,
.nav-search-input,
.filter-price-input,
.otp-field {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: rgba(20, 20, 38, 0.92) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease-in-out !important;
}

/* Placeholder Contrast Enhancement */
::placeholder,
input::placeholder,
textarea::placeholder,
.glass-input-field::placeholder,
.nav-search-input::placeholder,
.manual-form-input::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Input Focus States */
input:focus,
textarea:focus,
select:focus,
.glass-input:focus,
.glass-input-field:focus,
.form-input:focus,
.manual-form-input:focus,
.nav-search-input:focus,
.otp-field:focus {
  background: rgba(26, 26, 48, 0.96) !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.32), 0 4px 18px rgba(99, 102, 241, 0.20) !important;
}

/* 3. Input Icons & Labels */
.form-label-input,
.checkbox-label,
.label-row label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700 !important;
}

.input-icon,
.input-wrapper svg,
.password-toggle-btn svg {
  color: #a5b4fc !important; /* Visible lavender-indigo icon */
  opacity: 0.95 !important;
}

.input-wrapper:focus-within .input-icon,
.input-wrapper:focus-within svg {
  color: #818cf8 !important;
}

/* Password Toggle Button */
.password-toggle-btn {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  color: #a5b4fc !important;
  padding: 4px 8px !important;
}

/* 4. Button Contrast & Hierarchy */
.btn-primary,
button[type="submit"] {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, #818cf8, #6366f1) !important;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.65) !important;
}

.btn-ghost,
.btn-outline,
.btn-secondary {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
}

.btn-ghost:hover,
.btn-outline:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Header Nav Icon Buttons — Unboxed White Icons */
.nav-icon-btn,
#hamburger,
#cart-nav-btn,
#wishlist-nav-btn {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.nav-icon-btn svg,
#hamburger svg,
#cart-nav-btn svg,
#wishlist-nav-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.ham-bar {
  background-color: #ffffff !important;
}

.nav-icon-btn:hover,
#hamburger:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border: none !important;
  transform: scale(1.1) !important;
}

.scroll-btn,
.back-to-top {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.scroll-btn:hover,
.back-to-top:hover {
  background: rgba(99, 102, 241, 0.28) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
}

/* ── Top-Left Back to Home Button on Auth Pages ── */
.auth-back-home-btn {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(18, 18, 36, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-back-home-btn svg {
  stroke: #ffffff !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0;
}

.auth-back-home-btn:hover,
.auth-back-home-btn:focus {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(79, 70, 229, 0.45)) !important;
  border-color: rgba(129, 140, 248, 0.75) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.55) !important;
  transform: translateY(-2px);
}

.auth-back-home-btn:hover svg,
.auth-back-home-btn:focus svg {
  transform: translateX(-4px) !important;
  stroke: #ffffff !important;
}

/* 5. Cards & Containers */
.product-card,
.glass-card,
.cat-card,
.bento-card,
.newsletter-glass {
  background: rgba(18, 18, 34, 0.90) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}

.product-card-title,
.cat-title,
.hero-title,
.section-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.product-card-price,
.hero-price {
  color: #818cf8 !important;
  font-weight: 800 !important;
}

/* 6. Modals, Bottom Sheets & Popups */
.mobile-categories-sheet,
.mobile-menu,
.filter-panel,
.location-bottom-sheet {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.mobile-sheet-close,
#close-loc-sheet,
.close-filter-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: 50% !important;
}

/* 7. Toast & Alert Messages */
.field-error-message,
.input-error-msg {
  color: #fca5a5 !important;
  font-weight: 600 !important;
}

.toast.toast-error {
  background: rgba(239, 68, 68, 0.22) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
}

.toast.toast-success {
  background: rgba(34, 197, 94, 0.22) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #ffffff !important;
}

/* 8. Admin & Worker Tables */
.admin-table,
.table {
  color: #ffffff !important;
}

.admin-table th {
  background: rgba(30, 30, 50, 0.95) !important;
  color: #a5b4fc !important;
  font-weight: 800 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18) !important;
}

.admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Desktop storefront header contrast.
   Keeps the light glass navigation readable after global dark-theme overrides. */
@media (min-width: 769px) {
  .navbar .nav-container {
    background: rgba(248, 248, 252, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }

  .navbar.nav-transparent .nav-container {
    background: rgba(248, 248, 252, 0.74) !important;
  }

  .navbar .nav-link,
  .navbar.nav-transparent .nav-link,
  .navbar.nav-scrolled .nav-link,
  .navbar .dropdown-trigger {
    color: #1f2937 !important;
    text-shadow: none !important;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active,
  .navbar.nav-transparent .nav-link:hover,
  .navbar.nav-transparent .nav-link.active,
  .navbar.nav-scrolled .nav-link:hover,
  .navbar.nav-scrolled .nav-link.active {
    color: #111827 !important;
    background: rgba(17, 24, 39, 0.08) !important;
  }

  .navbar .chevron,
  .navbar .nav-icon-btn,
  .navbar #wishlist-nav-btn,
  .navbar #cart-nav-btn {
    color: #1f2937 !important;
  }

  .navbar .nav-icon-btn svg,
  .navbar #wishlist-nav-btn svg,
  .navbar #cart-nav-btn svg,
  .navbar .chevron {
    stroke: #1f2937 !important;
  }

  .navbar .nav-icon-btn:hover {
    background: rgba(17, 24, 39, 0.08) !important;
    color: #111827 !important;
  }

  .navbar .nav-search-wrapper {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(48, 49, 59, 0.18) !important;
    border-radius: 99px !important;
    box-shadow: 0 1px 3px rgba(24, 24, 32, 0.06) !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
  }

  .navbar .nav-search-wrapper:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(48, 49, 59, 0.32) !important;
    transform: none;
  }

  .navbar .nav-search-wrapper:focus-within {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  }

  .navbar .nav-search-input {
    color: #1f2937 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .navbar .nav-search-input::placeholder {
    color: #5f626e !important;
    opacity: 1;
  }

  .navbar .nav-search-btn {
    color: #ffffff !important;
    background: #6366f1 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 4px rgba(24, 24, 32, 0.16) !important;
    transform: none;
  }

  .navbar .nav-search-btn svg {
    stroke: #ffffff !important;
  }

  .navbar #login-btn,
  .navbar #signup-btn {
    min-height: 36px;
    padding: 9px 14px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600 !important;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: none !important;
    box-shadow: none !important;
    transform: none;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .navbar #login-btn {
    color: #30313b !important;
    background: transparent !important;
    border: 1px solid rgba(48, 49, 59, 0.22) !important;
  }

  .navbar #login-btn:hover {
    background: rgba(48, 49, 59, 0.07) !important;
    border-color: rgba(48, 49, 59, 0.35) !important;
  }

  .navbar #signup-btn {
    color: #ffffff !important;
    background: #4f46e5 !important;
    border: 1px solid #4f46e5 !important;
  }

  .navbar #signup-btn:hover { background: #4338ca !important; border-color: #4338ca !important; }

  .navbar #login-btn:focus-visible,
  .navbar #signup-btn:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 3px;
  }

  #desktop-user-container {
    gap: 8px !important;
  }

  .desktop-admin-link,
  .desktop-orders-link,
  .desktop-settings-link,
  .desktop-logout-btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    color: #30313b !important;
    background: transparent !important;
    border: 1px solid rgba(48, 49, 59, 0.18) !important;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .desktop-admin-link {
    color: #ffffff !important;
    background: #292a34 !important;
    border-color: #292a34 !important;
  }

  .desktop-orders-link {
    color: #30313b !important;
  }

  .desktop-settings-link {
    color: #30313b !important;
  }

  .desktop-logout-btn {
    color: #555661 !important;
  }

  .desktop-admin-link:hover,
  .desktop-orders-link:hover,
  .desktop-settings-link:hover,
  .desktop-logout-btn:hover {
    background: rgba(48, 49, 59, 0.07) !important;
    border-color: rgba(48, 49, 59, 0.35) !important;
    color: #20212b !important;
  }

  .desktop-admin-link:hover {
    background: #3c3d48 !important;
    border-color: #3c3d48 !important;
    color: #ffffff !important;
  }

  .desktop-admin-link:focus-visible,
  .desktop-orders-link:focus-visible,
  .desktop-settings-link:focus-visible,
  .desktop-logout-btn:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 3px;
  }

  .location-subbar {
    background: rgba(248, 248, 252, 0.84) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }

  .location-subbar,
  .location-subbar span {
    color: #374151 !important;
  }

  #subbar-location-text {
    color: #3730a3 !important;
    background: rgba(99, 102, 241, 0.12) !important;
  }

  #subbar-change-location-btn {
    color: #3730a3 !important;
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(67, 56, 202, 0.24) !important;
  }
}

/* Custom Dropdown Component */
.custom-dropdown-container {
  position: relative;
  width: 100%;
}

.custom-dropdown-trigger {
  width: 100%;
  height: 38px;
  min-height: 38px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.custom-dropdown-trigger:hover,
.custom-dropdown-trigger:focus {
  border-color: rgba(129, 140, 248, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
}

.custom-dropdown-container.open .dropdown-chevron {
  transform: rotate(180deg);
  color: #a5b4fc;
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 22, 0.95) !important;
  backdrop-filter: saturate(200%) blur(28px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-dropdown-container.open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown-option {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.custom-dropdown-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.custom-dropdown-option.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.08));
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.15);
}

/* Hide native select once converted */
select.sort-select[data-converted="true"],
select.filter-sort-select[data-converted="true"] {
  display: none !important;
}
