/* ============================================================
   SCRIPTIFYZONE — Main Stylesheet v3.0
   Aesthetic: "Obsidian Luxe" — Razor-sharp dark marketplace
   Fonts: Oxanium (display) · Outfit (body) · JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Core palette — Scriptifyzone Logo Colors */
  --primary:       #00D4D4; /* Logo Cyan */
  --primary-light: #4DEBEB;
  --primary-glow:  #00D4D4;
  --accent:        #F3A021; /* Logo Orange */
  --accent-light:  #FFBD59;
  --emerald:       #10B981;
  --sky:           #38BDF8;
  --rose:          #F43F5E;
  --amber:         #FBBF24;

  /* Ink blacks — Navy Depths */
  --bg-base:       #080E1B;
  --bg-surface:    #0B1325;
  --bg-card:       #111A31;
  --bg-elevated:   #162241;
  --bg-hover:      #1C2A4F;
  --bg-input:      #121C35;
  --bg-overlay:    rgba(8,14,27,0.95);

  /* Borders */
  --border:        rgba(0,212,212,0.15);
  --border-subtle: rgba(255,255,255,0.06);
  --border-glow:   rgba(0,212,212,0.45);
  --border-accent:  rgba(243,160,33,0.35);
  --border-bright: rgba(255,255,255,0.12);

  /* Text */
  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --text-bright:    #FFFFFF;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #00D4D4 0%, #009999 100%);
  --grad-accent:     linear-gradient(135deg, #F3A021 0%, #D18210 100%);
  --grad-logo:      linear-gradient(135deg, #00D4D4 0%, #F3A021 100%);
  --grad-emerald:   linear-gradient(135deg, #10B981 0%, #00D4D4 100%);
  --grad-card:      linear-gradient(145deg, rgba(0,212,212,0.08) 0%, rgba(243,160,33,0.03) 100%);
  --grad-shine:     linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  --grad-glow:      radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0,212,212,0.2) 0%, transparent 65%);
  --grad-mesh:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0,212,212,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(243,160,33,0.08) 0%, transparent 60%);

  /* Radii */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 36px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-xs:   0 1px 3px rgba(0,0,0,0.5);
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.6);
  --shadow-md:   0 4px 28px rgba(0,0,0,0.7);
  --shadow-lg:   0 8px 50px rgba(0,0,0,0.8);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 28px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(0,212,212,0.35), 0 0 80px rgba(0,212,212,0.12);
  --shadow-accent:0 0 30px rgba(243,160,33,0.3);
}

[data-theme="light"] {
  --bg-base:       #F8FAFC;
  --bg-surface:    #F1F5F9;
  --bg-card:       #FFFFFF;
  --bg-elevated:   #FFFFFF;
  --bg-hover:      #E2E8F0;
  --bg-input:      #F8FAFC;
  --bg-overlay:    rgba(255,255,255,0.95);

  --border:        rgba(0,212,212,0.3);
  --border-subtle: rgba(0,0,0,0.06);
  --border-bright: rgba(0,0,0,0.12);

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #64748B;
  --text-bright:    #0F172A;

  --shadow-card: 0 1px 0 rgba(0,0,0,0.04) inset, 0 4px 20px rgba(0,0,0,0.08);
}

:root {
  /* Typography */
  --font-display: 'Oxanium', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Transitions */
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-out:    cubic-bezier(0,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-expo:   cubic-bezier(0.19,1,0.22,1);
  --t-fast:  0.15s var(--ease);
  --t-base:  0.25s var(--ease);
  --t-slow:  0.4s var(--ease-expo);

  /* Kept for legacy compat */
  --blue: var(--violet);
  --blue-light: var(--violet-light);
  --green: var(--emerald);
  --red: var(--rose);
  --transition: var(--t-base);
  --transition-slow: var(--t-slow);
  /* ── Aliases for compatibility ─────────────────────────────── */
  --indigo:           var(--violet);
  --indigo-light:     var(--violet-light);
  --cyan:             var(--sky);
  --purple:           var(--violet);
  --purple-light:     var(--violet-light);

}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet-light); }

/* Selection */
::selection { background: rgba(109,40,217,0.4); color: var(--text-bright); }

/* Focus */
:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; border-radius: var(--radius-sm); }

/* Grain texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-secondary); line-height: 1.75; }
a  { color: var(--violet-glow); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--text-bright); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-gap { padding: 5rem 0; }

/* ── Gradient text ──────────────────────────────────────────── */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: var(--grad-coral);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass Card ─────────────────────────────────────────────── */
.card-glass {
  background: var(--bg-card);
  background-image: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-slow), transform var(--t-slow);
}
.card-glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4), rgba(56,189,248,0.3), transparent);
  pointer-events: none;
}
.card-glass:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(109,40,217,0.12), 0 0 60px rgba(109,40,217,0.07);
  transform: translateY(-3px);
}

/* ── Divider ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1.25rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* Primary gradient button */
.btn-primary-gradient {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(109,40,217,0.4);
}
.btn-primary-gradient::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-shine);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn-primary-gradient:hover {
  box-shadow: 0 6px 30px rgba(109,40,217,0.55), 0 2px 8px rgba(56,189,248,0.2);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary-gradient:hover::before { opacity: 1; }
.btn-primary-gradient:active { transform: translateY(0); }

/* Coral accent button */
.btn-coral {
  background: var(--grad-coral);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-coral:hover { box-shadow: 0 6px 28px rgba(249,115,22,0.5); transform: translateY(-1px); color: #fff; }

/* Success */
.btn-success-gradient {
  background: var(--grad-emerald);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.btn-success-gradient:hover { box-shadow: 0 6px 24px rgba(16,185,129,0.45); transform: translateY(-1px); color: #fff; }

/* Outline */
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--violet-light); color: var(--text-primary); background: rgba(109,40,217,0.08); }

.btn-outline-blue {
  border: 1px solid rgba(109,40,217,0.35);
  color: var(--violet-glow);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t-base);
}
.btn-outline-blue:hover { background: rgba(109,40,217,0.12); border-color: var(--violet-light); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border); }

/* Sizes */
.btn-sm  { padding: 0.38rem 0.85rem; font-size: 0.78rem; border-radius: var(--radius-xs); }
.btn-lg  { padding: 0.75rem 1.75rem; font-size: 1rem;    border-radius: var(--radius-md); }
.btn-xl  { padding: 0.95rem 2.25rem; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 9px;
  border-radius: var(--radius-full);
}
.badge-sale     { background: rgba(244,63,94,0.14);   color: #FB7185; border: 1px solid rgba(244,63,94,0.25); }
.badge-new      { background: rgba(56,189,248,0.1);   color: var(--sky); border: 1px solid rgba(56,189,248,0.2); }
.badge-featured { background: rgba(251,191,36,0.12);  color: var(--amber); border: 1px solid rgba(251,191,36,0.25); }
.badge-bundle   { background: rgba(16,185,129,0.12);  color: var(--emerald); border: 1px solid rgba(16,185,129,0.25); }
.badge-flash    { background: rgba(249,115,22,0.14);  color: var(--coral-light); border: 1px solid rgba(249,115,22,0.2);
                  animation: pulse-badge 1.4s ease-in-out infinite; }
.badge-free     { background: rgba(109,40,217,0.14);  color: var(--violet-glow); border: 1px solid rgba(109,40,217,0.25); }
.badge-category { background: rgba(109,40,217,0.1);   color: var(--violet-glow); border: 1px solid rgba(109,40,217,0.18); font-size:0.68rem; }

@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(249,115,22,0); }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-sz {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--t-slow), border-color var(--t-slow), backdrop-filter var(--t-slow);
  padding: 0 1.5rem;
}
.navbar-sz.scrolled {
  background: rgba(3,3,5,0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 1.75rem;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
}
.brand-icon {
  width: 32px; height: 32px;
  background: var(--grad-primary);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
  -webkit-text-fill-color: white;
  box-shadow: 0 4px 14px rgba(109,40,217,0.5);
}
.navbar-nav-links { display: flex; align-items: center; gap: 0.2rem; flex: 1; }
.nav-link-sz {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--t-fast); white-space: nowrap;
}
.nav-link-sz:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link-sz.active { color: var(--text-primary); }

/* Search */
.navbar-search { position: relative; flex: 1; max-width: 300px; }
.navbar-search input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem 0.45rem 2.4rem;
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text-primary);
  transition: var(--t-base);
}
.navbar-search input:focus {
  outline: none; border-color: var(--violet);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.15);
}
.navbar-search input::placeholder { color: var(--text-muted); }
.navbar-search .search-icon {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.78rem; pointer-events: none;
}
.search-results-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 360px; overflow-y: auto;
  display: none; z-index: 200;
}
.search-results-dropdown.show { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1rem; cursor: pointer;
  transition: var(--t-fast);
  border-bottom: 1px solid var(--border-subtle);
}
.search-result-item:hover { background: var(--bg-hover); }
.search-result-img { width: 40px; height: 30px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }

/* Navbar actions */
.navbar-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.navbar-icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer; transition: var(--t-fast);
  background: transparent; border: none; position: relative; font-size: 0.9rem;
}
.navbar-icon-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }
.notif-badge {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: var(--coral); border-radius: 50%;
  border: 2px solid var(--bg-base);
}
.cart-count-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: var(--grad-primary);
  border-radius: 9px; font-size: 0.62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff; padding: 0 4px;
}

/* User button */
.navbar-user {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  cursor: pointer; transition: var(--t-base);
  background: var(--bg-elevated);
}
.navbar-user:hover { border-color: var(--border-glow); background: var(--bg-hover); }
.navbar-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.72rem; color: #fff; flex-shrink: 0;
}
.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200; overflow: hidden;
}
.notif-header {
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 0.875rem;
  display: flex; justify-content: space-between; align-items: center;
}
.notif-item {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-subtle);
  display: flex; gap: 0.75rem; align-items: flex-start;
  transition: var(--t-fast);
}
.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { background: rgba(109,40,217,0.05); }
.notif-dot { width: 8px; height: 8px; background: var(--violet); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }

/* Mobile */
.navbar-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 10px;
  color: var(--text-secondary); cursor: pointer;
}
.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(3,3,5,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem; z-index: 999;
}
.mobile-menu.open { display: block; }

/* ── Hero Section ────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 88px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(109,40,217,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,40,217,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
}
/* Radial glow at top center */
.hero-bg::after {
  content: '';
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(109,40,217,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(109,40,217,0.12);
  border: 1px solid rgba(109,40,217,0.28);
  border-radius: var(--radius-full);
  padding: 5px 16px 5px 10px;
  font-size: 0.76rem; font-weight: 600; color: var(--violet-glow);
  margin-bottom: 1.75rem; letter-spacing: 0.03em;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--violet-light); border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary); max-width: 540px;
  line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 0.875rem;
  align-items: center; margin-bottom: 3.5rem;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-stat-value {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 800; line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* Floating card decoration */
.hero-float-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-lg);
  animation: float 3.5s ease-in-out infinite;
}
.hero-float-card:nth-child(2) { animation-delay: 1.2s; }
.hero-float-card:nth-child(3) { animation-delay: 2.1s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

#particles-canvas { position: absolute; inset: 0; pointer-events: none; opacity: 0.45; }

/* ── Stats Ticker ────────────────────────────────────────────── */
.stats-ticker {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0; overflow: hidden;
}
.stats-ticker-inner {
  display: flex; gap: 3.5rem;
  animation: ticker-scroll 28s linear infinite;
}
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  white-space: nowrap; flex-shrink: 0;
  font-size: 0.8rem; color: var(--text-secondary);
}
.ticker-item strong { color: var(--text-primary); font-family: var(--font-display); }
.ticker-item .ticker-dot { color: var(--violet-light); font-size: 0.55rem; }

/* ── Section Labels ─────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--violet-glow); margin-bottom: 0.75rem;
}
.section-label::before {
  content: ''; width: 22px; height: 2px;
  background: var(--grad-primary); border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 0.75rem;
}

/* ── Product Cards ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-slow), transform var(--t-slow);
  position: relative; cursor: pointer;
}
/* Top edge accent line */
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
  opacity: 0; transition: opacity var(--t-base);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  border-color: rgba(109,40,217,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(109,40,217,0.12), 0 0 80px rgba(109,40,217,0.06);
  transform: translateY(-5px);
}

.product-card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg-elevated);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-expo);
}
.product-card:hover .product-card-img img { transform: scale(1.07); }

.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(3,3,5,0.9) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem; gap: 0.5rem;
  opacity: 0; transition: opacity var(--t-base);
}
.product-card:hover .product-card-overlay { opacity: 1; }

/* Badges on card */
.product-card-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; flex-direction: column; gap: 0.35rem; z-index: 2;
}
.product-card-img > .product-card-badges { z-index: 2; }

/* Wishlist button */
.wishlist-btn {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 32px; height: 32px;
  background: rgba(3,3,5,0.75); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 0.8rem;
  transition: all var(--t-base);
  opacity: 0; transform: scale(0.75);
}
.product-card:hover .wishlist-btn { opacity: 1; transform: scale(1); }
.wishlist-btn:hover, .wishlist-btn.active { color: var(--rose); background: rgba(244,63,94,0.2); border-color: rgba(244,63,94,0.3); }

/* Card body */
.product-card-body { padding: 1rem 1.1rem 1.2rem; }
.product-card-category {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--violet-glow); margin-bottom: 0.45rem;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.35; margin-bottom: 0.6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.75rem; font-size: 0.75rem; color: var(--text-muted);
}
.product-card-rating { color: var(--amber); }
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
.product-price {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 1.05rem; color: var(--text-primary);
}
.price-original {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--text-muted); text-decoration: line-through;
}
.price-free { font-family: var(--font-mono); font-weight: 700; color: var(--emerald); font-size: 1rem; }
.cart-add-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(109,40,217,0.14);
  border: 1px solid rgba(109,40,217,0.25);
  color: var(--violet-glow);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.85rem; transition: var(--t-fast); flex-shrink: 0;
}
.cart-add-btn:hover { background: var(--violet); color: #fff; border-color: var(--violet); box-shadow: 0 4px 14px rgba(109,40,217,0.4); }

/* ── Category Cards ──────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.875rem; }
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem; text-align: center;
  cursor: pointer; transition: all var(--t-slow);
  text-decoration: none; display: block; position: relative; overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary); transform: scaleX(0);
  transition: transform var(--t-base); border-radius: 1px;
}
.category-card:hover {
  border-color: var(--border-glow); transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 40px rgba(109,40,217,0.08);
}
.category-card:hover::after { transform: scaleX(1); }
.category-icon {
  width: 52px; height: 52px;
  background: rgba(109,40,217,0.1); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 0.85rem;
  color: var(--violet-glow); transition: var(--t-base);
}
.category-card:hover .category-icon { background: rgba(109,40,217,0.22); color: var(--violet-glow); transform: scale(1.08); }
.category-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.category-count { font-size: 0.7rem; color: var(--text-muted); }

/* ── Flash Sale ──────────────────────────────────────────────── */
.flash-sale-section {
  position: relative;
  background: linear-gradient(135deg, rgba(249,115,22,0.07) 0%, rgba(244,63,94,0.05) 100%);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius-xl); overflow: hidden; padding: 2.5rem;
}
.flash-sale-section::before {
  content: '';
  position: absolute; top: -60%; left: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.flash-sale-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem;
}
.flash-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.76rem; font-weight: 700; color: var(--coral-light);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.countdown { display: flex; gap: 0.5rem; align-items: center; }
.countdown-unit { text-align: center; min-width: 54px; }
.countdown-num {
  background: var(--bg-elevated); border: 1px solid rgba(249,115,22,0.25);
  border-radius: var(--radius-sm); padding: 0.5rem;
  font-family: var(--font-mono); font-size: 1.45rem; font-weight: 700;
  color: var(--coral-light); line-height: 1; display: block; text-align: center;
}
.countdown-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 4px; }
.countdown-sep { font-family: var(--font-mono); font-size: 1.45rem; font-weight: 700; color: var(--coral-light); line-height: 1; margin-bottom: 16px; }

/* ── Bundle Cards ────────────────────────────────────────────── */
.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--t-slow); position: relative;
}
.bundle-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-emerald);
}
.bundle-card:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.55), 0 0 40px rgba(16,185,129,0.07);
}
.bundle-price-tag {
  font-family: var(--font-mono); font-size: 2.1rem; font-weight: 700;
  background: var(--grad-emerald);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-control, .form-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  transition: var(--t-base); width: 100%;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.15);
  color: var(--text-primary);
}
.form-control::placeholder { color: var(--text-muted); }
.form-select option { background: var(--bg-elevated); }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.4rem; display: block; }
.form-group { margin-bottom: 1.25rem; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: 0; }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; flex-shrink: 0; }
.form-check-input { accent-color: var(--violet); width: 15px; height: 15px; cursor: pointer; }
.form-switch .form-check-input {
  width: 2.2em; height: 1.2em;
  background-color: var(--bg-elevated); border-color: var(--border);
}
.form-switch .form-check-input:checked { background-color: var(--violet); border-color: var(--violet); }

/* ── Filter Sidebar ─────────────────────────────────────────── */
.filter-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: sticky; top: 80px;
}
.filter-section { margin-bottom: 1.5rem; }
.filter-section:last-child { margin-bottom: 0; }
.filter-heading {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-muted); margin-bottom: 0.75rem;
}
.filter-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 0; cursor: pointer; font-size: 0.875rem; color: var(--text-secondary);
  transition: var(--t-fast);
}
.filter-option:hover { color: var(--text-primary); }
.filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(109,40,217,0.1); border: 1px solid rgba(109,40,217,0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px; font-size: 0.75rem; color: var(--violet-glow);
  cursor: pointer; transition: var(--t-fast);
}
.filter-chip:hover, .filter-chip.active { background: rgba(109,40,217,0.2); border-color: rgba(109,40,217,0.4); }
.filter-chip .close { opacity: 0.55; font-size: 0.62rem; }
.filter-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.range-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--bg-elevated); border-radius: 2px; cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  background: var(--violet); border-radius: 50%; cursor: pointer;
  border: 2px solid var(--bg-card); box-shadow: 0 0 8px rgba(109,40,217,0.5);
}

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 5rem 1.5rem 3rem;
  background: var(--bg-base); position: relative; overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh); pointer-events: none;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg), 0 0 100px rgba(109,40,217,0.08);
  position: relative; z-index: 1;
}
.auth-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--sky), transparent);
  opacity: 0.5; border-radius: 1px;
}
.auth-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.auth-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0; color: var(--text-muted); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Dashboard ──────────────────────────────────────────────── */
.dashboard-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: var(--t-fast); margin-bottom: 2px;
}
.dashboard-sidebar-link:hover { background: var(--bg-hover); color: var(--text-primary); }
.dashboard-sidebar-link.active {
  background: rgba(109,40,217,0.1);
  color: var(--violet-glow);
  border: 1px solid rgba(109,40,217,0.18);
}
.dashboard-sidebar-link i { width: 16px; text-align: center; flex-shrink: 0; }

/* ── Toast / Alert ───────────────────────────────────────────── */
.sz-toast {
  position: fixed; top: 80px; right: 1.5rem; z-index: 9999;
  min-width: 280px; max-width: 380px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.875rem 1rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
  box-shadow: var(--shadow-lg); font-size: 0.875rem;
  animation: toast-in 0.3s var(--ease-spring);
}
.sz-toast.toast-out { animation: toast-out 0.25s var(--ease) forwards; }
.sz-toast.success { border-left: 3px solid var(--emerald); }
.sz-toast.error   { border-left: 3px solid var(--rose); }
.sz-toast.info    { border-left: 3px solid var(--sky); }
.sz-toast.warning { border-left: 3px solid var(--amber); }
@keyframes toast-in  { from{transform:translateX(110%);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes toast-out { from{transform:translateX(0);opacity:1}    to{transform:translateX(110%);opacity:0} }

.alert { padding: 0.875rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; margin-bottom: 0.75rem; }
.alert-success { background: rgba(16,185,129,0.1);  border: 1px solid rgba(16,185,129,0.25); color: #6EE7B7; }
.alert-error   { background: rgba(244,63,94,0.1);   border: 1px solid rgba(244,63,94,0.25);  color: #FCA5A5; }
.alert-info    { background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.2);  color: #BAE6FD; }
.alert-warning { background: rgba(251,191,36,0.1);  border: 1px solid rgba(251,191,36,0.25); color: #FDE68A; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--sky), transparent);
  opacity: 0.4;
}
.footer::after {
  content: '';
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(109,40,217,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.75rem; display: inline-block;
}
.footer-desc { font-size: 0.875rem; color: var(--text-muted); max-width: 260px; line-height: 1.75; }
.footer-heading { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.footer-link {
  display: block; font-size: 0.875rem; color: var(--text-secondary);
  padding: 0.3rem 0; transition: var(--t-fast);
}
.footer-link:hover { color: var(--text-primary); padding-left: 5px; }
.footer-social {
  width: 36px; height: 36px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--t-base); font-size: 0.875rem;
}
.footer-social:hover { background: rgba(109,40,217,0.15); border-color: var(--border-glow); color: var(--violet-glow); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--text-muted);
}
.payment-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.payment-badge {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 4px 10px; font-size: 0.68rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.02em;
}

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: none; z-index: 9000;
  background: rgba(22, 34, 65, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--primary);
  border-radius: 0; padding: 0.8rem 2rem;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}

/* ── WhatsApp Float ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 8000;
  width: 52px; height: 52px; background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--t-base);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); color: #fff; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; list-style: none; padding: 0; }
.breadcrumb-item { font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--text-primary); }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; margin-right: 0.35rem; opacity: 0.35; }
.breadcrumb-item.active { color: var(--text-secondary); }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination { display: flex; gap: 0.35rem; align-items: center; list-style: none; padding: 0; }
.page-item .page-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-secondary);
  font-size: 0.85rem; transition: var(--t-fast); cursor: pointer;
}
.page-item .page-link:hover { border-color: var(--violet); color: var(--text-primary); background: rgba(109,40,217,0.08); }
.page-item.active .page-link { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ── Spinner / Loading ──────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.65s linear infinite; display: inline-block;
}
@keyframes spin { to{transform:rotate(360deg)} }

#nprogress .bar { background: var(--grad-primary) !important; height: 3px !important; }
#nprogress .peg { box-shadow: 0 0 10px var(--violet), 0 0 5px var(--violet) !important; }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(3,3,5,0.97);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(16px);
}
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* ── Dropdowns ──────────────────────────────────────────────── */
.dropdown-menu {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 0.5rem; min-width: 180px;
}
.dropdown-item {
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text-secondary);
  cursor: pointer; transition: var(--t-fast);
  display: flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.dropdown-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.dropdown-item.danger:hover { background: rgba(244,63,94,0.1); color: var(--rose); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.35rem 0; }

/* ── Star Rating ────────────────────────────────────────────── */
.star-rating { display: flex; gap: 2px; }
.star-rating .star { cursor: pointer; color: var(--text-muted); font-size: 1.2rem; transition: var(--t-fast); }
.star-rating .star.active, .star-rating .star:hover { color: var(--amber); }
.stars-display { color: var(--amber); font-size: 0.85rem; letter-spacing: 1px; }
.rating-bar-fill { height: 5px; background: var(--grad-primary); border-radius: 3px; }
.rating-bar-bg { height: 5px; background: var(--bg-elevated); border-radius: 3px; flex: 1; overflow: hidden; }

/* ── Utility classes ────────────────────────────────────────── */
.text-blue, .text-violet { color: var(--violet-glow) !important; }
.text-cyan  { color: var(--sky) !important; }
.text-green { color: var(--emerald) !important; }
.text-amber { color: var(--amber) !important; }
.text-rose, .text-red { color: var(--rose) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bg-hover { background: var(--bg-hover); }
.border-glow { border-color: var(--border-glow) !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .navbar-nav-links { display: none; }
  .navbar-search { max-width: 220px; }
}
@media (max-width: 991px) {
  .navbar-search { display: none; }
  .navbar-toggle { display: flex; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2.6rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.875rem; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .hero-stats { gap: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 1rem; }
  .section-gap { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .auth-card { padding: 1.75rem 1.25rem; }
  .hero-title { font-size: 2.1rem; }
}

/* ── Swiper overrides ───────────────────────────────────────── */
.swiper-pagination-bullet { background: var(--text-muted) !important; width: 6px; height: 6px; }
.swiper-pagination-bullet-active { background: var(--violet) !important; width: 20px; border-radius: 3px; }
.swiper-button-next, .swiper-button-prev {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px !important; height: 36px !important;
  color: var(--text-primary) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.75rem !important; font-weight: 700; }

/* ── Bootstrap overrides ────────────────────────────────────── */
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.modal-header  { border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.modal-body    { padding: 1.5rem; }
.modal-footer  { border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
.btn-close-white { filter: invert(1) grayscale(1) brightness(2); }
.offcanvas { background: var(--bg-surface) !important; }
.offcanvas-header { border-bottom: 1px solid var(--border); }
.table { --bs-table-color: var(--text-secondary); --bs-table-border-color: var(--border); }

/* ── HOTFIX: Force visibility for AOS elements ──────────────── */
/* This prevents the entire page content from remaining hidden (opacity: 0) if the AOS animation observer fails to trigger due to overflow rules or scroll locks. */
[data-aos] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}
