
/* ═══════════════════════════════════════════════════════════════
   RTX STORE — Premium Design System v2.0
   Bold, Vibrant, Glassmorphic, Animated
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Colors */
  --color-primary: #6C5CE7;
  --color-primary-light: #a29bfe;
  --color-primary-dark: #4834d4;
  --color-secondary: #FF6B6B;
  --color-secondary-light: #ff8787;
  --color-accent: #F39C12;
  --color-accent-light: #f9ca24;
  --color-success: #00B894;
  --color-success-light: #55efc4;
  --color-warning: #fdcb6e;
  --color-danger: #e17055;
  --color-info: #74b9ff;

  /* Backgrounds */
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-card: #151530;
  --bg-card-hover: #1a1a40;
  --bg-surface: #1e1e45;
  --bg-input: #12122e;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b8b8d4;
  --text-muted: #6c6c8a;
  --text-accent: #a29bfe;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #6C5CE7 0%, #e84393 50%, #F39C12 100%);
  --gradient-primary: linear-gradient(135deg, #6C5CE7, #a29bfe);
  --gradient-secondary: linear-gradient(135deg, #FF6B6B, #ee5a24);
  --gradient-accent: linear-gradient(135deg, #F39C12, #f9ca24);
  --gradient-card: linear-gradient(145deg, #151530, #1a1a40);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow-primary: 0 0 30px rgba(108,92,231,0.3);
  --shadow-glow-secondary: 0 0 30px rgba(255,107,107,0.3);
  --shadow-glow-accent: 0 0 30px rgba(243,156,18,0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

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

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1280px;
  --nav-height: 72px;

  /* Z-Index Hierarchy */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-search: 2000;
  --z-toast: 3000;
  --z-modal-backdrop: 99998;
  --z-modal: 99999;
}

body.modal-open {
  overflow: hidden !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: var(--font-body);
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ═══════════════════════════════════════════
   NOISE TEXTURE OVERLAY (Depth)
   ═══════════════════════════════════════════ */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Animated Background Blobs ── */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: blobFloat 35s ease-in-out infinite;
}

.bg-blobs .blob:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -15%;
  left: -8%;
  animation-delay: 0s;
}

.bg-blobs .blob:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  top: 35%;
  right: -12%;
  animation-delay: -7s;
}

.bg-blobs .blob:nth-child(3) {
  width: 450px;
  height: 450px;
  background: var(--color-accent);
  bottom: -8%;
  left: 25%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  20% { transform: translate(40px, -60px) scale(1.08) rotate(5deg); }
  40% { transform: translate(-30px, 30px) scale(0.95) rotate(-3deg); }
  60% { transform: translate(60px, 40px) scale(1.05) rotate(8deg); }
  80% { transform: translate(-20px, -30px) scale(1.02) rotate(-5deg); }
}

/* ═══════════════════════════════════════════
   NAVIGATION — Premium Glassmorphism
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--space-lg);
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition-normal);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,92,231,0.3), rgba(232,67,147,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar.scrolled::after {
  opacity: 1;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.nav-brand .brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.6);
}

.nav-brand .brand-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(108,92,231,0.4));
  animation: brandPulse 3s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(108,92,231,0.4)); }
  50% { filter: drop-shadow(0 0 16px rgba(108,92,231,0.6)); }
}

.nav-brand .brand-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  background-size: 200% 100%;
  border-radius: 2px;
  transition: width var(--transition-normal);
  animation: gradientSlide 3s linear infinite;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-search-btn,
.nav-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: all var(--transition-normal);
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}

.nav-search-btn:hover,
.nav-cart-btn:hover {
  background: rgba(108,92,231,0.15);
  color: var(--color-primary-light);
  border-color: rgba(108,92,231,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108,92,231,0.2);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(255,107,107,0.4);
}

.cart-badge.badge-bounce {
  animation: badgeBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

@keyframes badgeBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.5); }
  50% { transform: scale(0.8); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   HERO SECTION — Dramatic & Animated
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated gradient mesh */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232,67,147,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(243,156,18,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(0,184,148,0.08) 0%, transparent 40%);
  animation: heroMeshShift 12s ease-in-out infinite alternate;
}

@keyframes heroMeshShift {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05) rotate(1deg); }
  100% { opacity: 1; transform: scale(1.02) rotate(-0.5deg); }
}

/* Dot grid pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(162,155,254,0.5);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.hero-particles .particle:nth-child(1) { left: 10%; top: 20%; animation-duration: 18s; animation-delay: 0s; width: 3px; height: 3px; }
.hero-particles .particle:nth-child(2) { left: 25%; top: 60%; animation-duration: 22s; animation-delay: -3s; width: 5px; height: 5px; background: rgba(255,107,107,0.4); }
.hero-particles .particle:nth-child(3) { left: 55%; top: 15%; animation-duration: 20s; animation-delay: -6s; width: 4px; height: 4px; background: rgba(243,156,18,0.4); }
.hero-particles .particle:nth-child(4) { left: 75%; top: 70%; animation-duration: 24s; animation-delay: -9s; width: 6px; height: 6px; background: rgba(0,184,148,0.3); }
.hero-particles .particle:nth-child(5) { left: 90%; top: 35%; animation-duration: 16s; animation-delay: -12s; width: 3px; height: 3px; }
.hero-particles .particle:nth-child(6) { left: 40%; top: 85%; animation-duration: 21s; animation-delay: -4s; width: 4px; height: 4px; background: rgba(232,67,147,0.4); }

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-200px) translateX(40px) scale(1.5); opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-400px) translateX(-20px) scale(0.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out 0.1s both;
  position: relative;
  overflow: hidden;
}

/* Animated border glow */
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(108,92,231,0.4), transparent, rgba(232,67,147,0.3), transparent);
  animation: borderRotate 4s linear infinite;
  z-index: -1;
}

.hero-badge::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(10,10,26,0.9);
  z-index: -1;
}

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

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(0,184,148,0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(0,184,148,0.6); }
  50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 16px rgba(0,184,148,0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  position: relative;
}

/* Text glow behind gradient text */
.hero h1 .gradient-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(30px);
  opacity: 0.5;
  z-index: -1;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--space-2xl) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   WHY CHOOSE US — Feature Cards
   ═══════════════════════════════════════════ */
.features-section {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  position: relative;
  padding: var(--space-xl);
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(108,92,231,0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,92,231,0.2);
  box-shadow: 0 8px 30px rgba(108,92,231,0.1);
}

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

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-md);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.15);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(108,92,231,0.2);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(255,107,107,0.1);
  border-color: rgba(255,107,107,0.15);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(243,156,18,0.1);
  border-color: rgba(243,156,18,0.15);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(0,184,148,0.1);
  border-color: rgba(0,184,148,0.15);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   BUTTONS — Premium Interactions
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}

/* Ripple effect container */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108,92,231,0.45);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.05);
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-accent {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,107,0.45);
}

.btn-accent:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-success {
  background: var(--gradient-accent);
  color: #1a1a2e;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(243,156,18,0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(243,156,18,0.45);
}

.btn-success:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   CATEGORY PILLS
   ═══════════════════════════════════════════ */
.category-pills {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.category-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.category-pill:hover {
  background: rgba(108,92,231,0.1);
  color: var(--color-primary-light);
  border-color: rgba(108,92,231,0.3);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

/* ═══════════════════════════════════════════
   PRODUCT CARDS — Premium with Shimmer
   ═══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Shimmer border sweep on hover */
.product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0%, transparent 25%, rgba(108,92,231,0.5) 30%, rgba(232,67,147,0.4) 35%, transparent 40%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
  animation: shimmerRotate 3s linear infinite;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--gradient-card);
  z-index: 0;
}

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

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(108,92,231,0.15), 0 0 30px rgba(108,92,231,0.08);
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-surface);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.1);
}

/* Gradient overlay on image bottom */
.product-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(21,21,48,0.9), transparent);
  pointer-events: none;
  z-index: 1;
}

.product-card-image .card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.card-badge.featured {
  background: var(--gradient-accent);
  color: #1a1a2e;
  box-shadow: 0 2px 10px rgba(243,156,18,0.3);
}

.card-badge.category {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Quick view icon on hover */
.product-card-image .quick-view-icon {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-normal);
}

.product-card:hover .quick-view-icon {
  opacity: 1;
  transform: translateY(0);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .card-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg) var(--space-lg);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
}

.product-price .currency {
  font-size: 0.9rem;
  font-weight: 600;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-accent);
}

.product-rating .star {
  color: var(--color-accent);
}

.product-rating .rating-value {
  font-weight: 600;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  font-size: 1.2rem;
  transition: all var(--transition-spring);
  box-shadow: 0 4px 15px rgba(108,92,231,0.3);
  flex-shrink: 0;
}

.add-to-cart-btn:hover {
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 6px 25px rgba(108,92,231,0.5);
}

/* ═══════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════ */
.product-detail {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.product-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 360px;
  background: rgba(10, 10, 20, 0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 10px;
}

.product-detail-image:hover img {
  transform: scale(1.02);
}

.product-detail-image .zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Lightbox Modal for Full Product Picture */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
  background: rgba(15, 15, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e1e38;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.lightbox-open-new {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #a5b4fc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.lightbox-open-new:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.product-detail-info {
  padding: var(--space-lg) 0;
}

.product-detail-info .detail-category {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(108,92,231,0.15);
  color: var(--color-primary-light);
  border: 1px solid rgba(108,92,231,0.2);
  margin-bottom: var(--space-md);
}

.product-detail-info h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.product-detail-info .detail-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 1rem;
  color: var(--color-accent);
}

.product-detail-info .detail-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 30px rgba(243,156,18,0.2);
}

.product-detail-info .detail-price .currency {
  font-size: 1.5rem;
}

.product-detail-info .detail-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.product-detail-info .detail-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.product-detail-info .detail-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-detail-info .detail-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,184,148,0.15);
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.detail-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════════ */
.search-bar-container {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.search-bar {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.search-bar:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.12), 0 4px 20px rgba(108,92,231,0.1);
}

.search-bar::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   SEARCH OVERLAY (from nav button)
   ═══════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,26,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.search-overlay-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 var(--space-lg);
  transform: translateY(-30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0) scale(1);
}

.search-overlay input {
  width: 100%;
  padding: 20px 24px;
  background: rgba(21,21,48,0.8);
  border: 2px solid rgba(108,92,231,0.3);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1.2rem;
  font-family: var(--font-heading);
  backdrop-filter: blur(10px);
}

.search-overlay input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1), var(--shadow-glow-primary);
}

.search-overlay input::placeholder {
  color: var(--text-muted);
}

.search-overlay .search-hint {
  text-align: center;
  margin-top: var(--space-md);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.search-results-dropdown {
  margin-top: var(--space-md);
  background: rgba(21,21,48,0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(108,92,231,0.1);
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.search-result-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════ */
.cart-page {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  min-height: 100vh;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-normal);
}

.cart-item:hover {
  border-color: rgba(108,92,231,0.15);
  transform: translateX(4px);
}

/* Cart item removal animation */
.cart-item.removing {
  animation: slideOutLeft 0.4s ease forwards;
}

@keyframes slideOutLeft {
  to {
    transform: translateX(-100%);
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
  }
}

.cart-item-image {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info .cart-item-category {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  margin: 0 var(--space-md);
}

.cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,107,107,0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: rgba(255,107,107,0.2);
  transform: scale(1.1) rotate(90deg);
}

.cart-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.cart-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.cart-empty h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.cart-empty p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Cart Summary — Glassmorphism */
.cart-summary {
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  overflow: hidden;
}

/* Subtle glow behind total */
.cart-summary::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(108,92,231,0.08), transparent 70%);
  pointer-events: none;
}
  
/* Variant Selector */
.variant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.variant-pill {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.variant-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}
.variant-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.4);
}
.cart-item-variant {
  font-size: 12px;
  color: var(--primary);
  background: rgba(108, 92, 231, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 2px solid rgba(255,255,255,0.08);
}

.summary-row .value {
  color: var(--color-accent);
  font-weight: 600;
}

.summary-row.total .value {
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(243,156,18,0.3);
}

.cart-summary .btn {
  width: 100%;
  margin-top: var(--space-lg);
}

/* ═══════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════ */
.checkout-page {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  min-height: 100vh;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
  align-items: start;
}

.checkout-form-section {
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-xl);
}

.checkout-form-section h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(18,18,46,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
  background: rgba(18,18,46,1);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c6c8a'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Payment Method Selector — Animated Selection */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background: rgba(18,18,46,0.6);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payment-method::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(108,92,231,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.payment-method:hover {
  border-color: rgba(108,92,231,0.3);
  transform: translateY(-2px);
}

.payment-method:hover::before {
  opacity: 1;
}

.payment-method.selected {
  border-color: var(--color-primary);
  background: rgba(108,92,231,0.08);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.1), 0 4px 20px rgba(108,92,231,0.15);
}

.payment-method.selected::before {
  opacity: 1;
}

.payment-method .pm-icon {
  font-size: 2rem;
  transition: transform var(--transition-spring);
}

.payment-method:hover .pm-icon {
  transform: scale(1.15);
}

.payment-method .pm-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.payment-method .pm-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   ORDER CONFIRMATION
   ═══════════════════════════════════════════ */
.order-confirmation {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  min-height: 100vh;
  text-align: center;
}

.order-success-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Confetti-like decoration */
.order-success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.order-success-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(0,184,148,0.12);
  border: 2px solid rgba(0,184,148,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--space-lg);
  animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% { transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

.order-success-card h1 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.order-success-card .order-id-display {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary-light);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.2);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  display: inline-block;
  margin: var(--space-md) 0 var(--space-lg);
}

.payment-instructions {
  text-align: left;
  background: rgba(243,156,18,0.06);
  border: 1px solid rgba(243,156,18,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.payment-instructions h3 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.payment-instructions ol {
  padding-left: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.9;
}

.payment-instructions .highlight-number {
  display: inline-block;
  background: rgba(108,92,231,0.15);
  color: var(--color-primary-light);
  padding: 2px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  user-select: all;
}

.txid-form {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.txid-form input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(18,18,46,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.txid-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}

/* ═══════════════════════════════════════════
   NEWSLETTER CTA
   ═══════════════════════════════════════════ */
.newsletter-section {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0;
}

.newsletter-card {
  position: relative;
  background: rgba(21,21,48,0.6);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-3xl);
  text-align: center;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(232,67,147,0.05), rgba(243,156,18,0.03));
  pointer-events: none;
}

.newsletter-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  position: relative;
}

.newsletter-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(18,18,46,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER — Modern with Gradient Mesh
   ═══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  margin-top: var(--space-4xl);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

/* Gradient mesh background */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(108,92,231,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(232,67,147,0.05) 0%, transparent 50%),
    rgba(10,10,26,0.7);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.footer-socials a:hover {
  background: rgba(108,92,231,0.15);
  border-color: rgba(108,92,231,0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(108,92,231,0.2);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS — Premium with Progress
   ═══════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-md));
  right: var(--space-lg);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(21,21,48,0.9);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 300px;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

/* Progress bar timer */
.toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

.toast.toast-success {
  border-left: none;
  box-shadow: 0 0 20px rgba(0,184,148,0.1), 0 8px 32px rgba(0,0,0,0.3);
}

.toast.toast-success::after {
  background: var(--color-success);
}

.toast.toast-error {
  border-left: none;
  box-shadow: 0 0 20px rgba(255,107,107,0.1), 0 8px 32px rgba(0,0,0,0.3);
}

.toast.toast-error::after {
  background: var(--color-secondary);
}

.toast.toast-info {
  border-left: none;
  box-shadow: 0 0 20px rgba(116,185,255,0.1), 0 8px 32px rgba(0,0,0,0.3);
}

.toast.toast-info::after {
  background: var(--color-info);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.9rem;
  flex: 1;
}

.toast-close {
  background: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
}

.toast-exit {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* ═══════════════════════════════════════════
   LOADING & SKELETON
   ═══════════════════════════════════════════ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(108,92,231,0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-surface) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.skeleton-card .skeleton-image {
  height: 210px;
}

.skeleton-card .skeleton-text {
  height: 16px;
  margin: var(--space-md) var(--space-lg);
}

.skeleton-card .skeleton-text:last-child {
  width: 60%;
  margin-bottom: var(--space-lg);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }
.animate-in:nth-child(7) { animation-delay: 0.35s; }
.animate-in:nth-child(8) { animation-delay: 0.4s; }

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow-primary);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(108,92,231,0.5);
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION
   ═══════════════════════════════════════════ */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.page-enter {
  animation: pageSlideIn 0.5s ease-out;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .hero-stat:not(:last-child)::after {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-image {
    width: 70px;
    height: 55px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .txid-form {
    flex-direction: column;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }

  .newsletter-card {
    padding: var(--space-xl);
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    width: 100%;
  }

  .toast-container {
    right: var(--space-md);
    left: var(--space-md);
  }

  .toast {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(108,92,231,0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ═══════════════════════════════════════════
   MISC
   ═══════════════════════════════════════════ */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin: var(--space-md) auto;
  position: relative;
  overflow: hidden;
}

/* Animated divider shimmer */
.divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: dividerShimmer 3s ease-in-out infinite;
}

@keyframes dividerShimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Quantity control in cart (for future use) */
.qty-control {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-control button:hover {
  background: rgba(108,92,231,0.1);
  color: var(--color-primary-light);
}

/* ═══════════════════════════════════════════
   ADMIN CONTROL PANEL STYLES
   ═══════════════════════════════════════════ */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.admin-header h2 {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-glow);
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-stat-info .stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.admin-stat-info .stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 42, 0.5);
}

.admin-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  font-size: 0.95rem;
}

.admin-table tr:hover td {
  background: rgba(108, 92, 231, 0.05);
}

.admin-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-featured {
  background: rgba(0, 184, 148, 0.15);
  color: var(--color-success-light);
  border: 1px solid rgba(0, 184, 148, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-standard {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.action-btns {
  display: flex;
  gap: var(--space-xs);
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary-light);
}

.btn-icon.delete:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary-light);
}

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2147483647;
  isolation: isolate;
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.admin-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admin-modal-content {
  position: relative;
  z-index: 2147483647;
  isolation: isolate;
  background: var(--bg-secondary);
  border: 1px solid rgba(108, 92, 231, 0.4);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(108, 92, 231, 0.35);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.admin-modal-overlay.open .admin-modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem var(--space-md);
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.image-presets {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.preset-thumb {
  width: 44px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: opacity 0.2s;
}

.preset-thumb:hover {
  border-color: var(--color-primary-light);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   DYNAMIC THEME & LIGHT MODE SUPPORT
   ═══════════════════════════════════════════════════════════════ */
body.theme-light {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}
body.theme-light .navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .nav-brand .brand-text {
  color: #0f172a !important;
}
body.theme-light .nav-links a {
  color: #475569 !important;
}
body.theme-light .nav-links a.active,
body.theme-light .nav-links a:hover {
  color: var(--color-primary) !important;
}
body.theme-light .nav-search-btn,
body.theme-light .nav-cart-btn {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}
body.theme-light .product-card,
body.theme-light .category-card,
body.theme-light .cart-container,
body.theme-light .checkout-card,
body.theme-light .track-card,
body.theme-light .footer {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}
body.theme-light .product-card h3,
body.theme-light .category-card h3,
body.theme-light .footer h3,
body.theme-light .footer h4 {
  color: #0f172a !important;
}
body.theme-light .product-card p,
body.theme-light .footer p,
body.theme-light .footer li a {
  color: #475569 !important;
}
body.theme-light .form-input,
body.theme-light input[type="text"],
body.theme-light input[type="number"],
body.theme-light input[type="email"],
body.theme-light select,
body.theme-light textarea {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body.theme-light .noise-overlay {
  opacity: 0.015;
}


