@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Tajawal:wght@300;400;500;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Tajawal, Almarai, and Inter fonts imported from Google Fonts with font-display swap */
:root {
  /* Colors */
  --bg-dark: #0a0b10;
  --bg-card: #12131a;
  --bg-card-alt: #161722;
  --bg-card-hover: #1e202e;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  /* Cyber Neon / RGB Colors */
  --neon-cyan: #00f0ff;
  --neon-pink: #ff007f;
  --neon-green: #39ff14;
  --neon-orange: #ff5e00;
  
  /* Semi-transparent glows */
  --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.4), 0 0 20px rgba(0, 240, 255, 0.2);
  --glow-pink: 0 0 10px rgba(255, 0, 127, 0.4), 0 0 20px rgba(255, 0, 127, 0.2);
  --glow-green: 0 0 10px rgba(57, 255, 20, 0.4), 0 0 20px rgba(57, 255, 20, 0.2);
  
  /* Transition durations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  /* Layout */
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  /* Breakpoints */
  --bp-xs: 0;        /* <576px */
  --bp-sm: 576px;    /* ≥576px */
  --bp-md: 768px;    /* ≥768px */
  --bp-lg: 992px;    /* ≥992px */
  --bp-xl: 1200px;   /* ≥1200px */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body, #root {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Almarai', 'Tajawal', 'Inter', sans-serif;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Custom RGB-themed scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-alt);
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
/* Arabic Specific Font Weights & Styles when RTL */
[dir="rtl"] {
  font-family: 'Almarai', 'Tajawal', 'Inter', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}
/* Utilities */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-dark);
  position: relative;
  padding-bottom: 80px; /* Mobile bottom bar space */
  overscroll-behavior-y: contain; /* Prevents pull-to-refresh on mobile for app-like feel */
}
@media (min-width: 769px) {
  .app-container {
    padding-bottom: 0 !important;
  }
}
.bottom-nav-bar {
  display: flex;
  user-select: none;
}
@media (min-width: 769px) {
  .bottom-nav-bar {
    display: none !important;
  }
}
.categories-scroll-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  width: 100%;
  padding: 10px 4px;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
}
.categories-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
@media (min-width: 769px) {
  .categories-scroll-wrapper {
    justify-content: center;
    overflow-x: visible;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.cart-drawer-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
@media (max-width: 640px) {
  .cart-drawer-content {
    padding: 16px !important;
  }
}
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Cybercard glowing hover effect */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.cyber-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  transition: box-shadow var(--transition-normal);
  pointer-events: none;
}
.cyber-card:hover {
  transform: scale(1.02) translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.15);
}
.cyber-card:hover::after {
  box-shadow: inset 0 0 25px rgba(0, 240, 255, 0.05);
}
/* Pink cyber-card modifier */
.cyber-card-pink:hover {
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: 0 12px 35px rgba(255, 0, 127, 0.15);
}
.lazy-image-container img {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.cyber-card:hover .lazy-image-container img {
  transform: scale(1.08) rotate(1deg);
}
/* Neon buttons (Pure Glassmorphic) */
.btn-neon-cyan {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--neon-cyan);
  border: 1.5px solid var(--neon-cyan);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  text-shadow: 0 0 4px rgba(0, 240, 255, 0.2);
}
.light-theme .btn-neon-cyan {
  background: rgba(15, 23, 42, 0.04);
}
.btn-neon-cyan:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: var(--glow-cyan);
  border-color: var(--neon-cyan);
}
.btn-neon-pink {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--neon-pink);
  border: 1.5px solid var(--neon-pink);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  text-shadow: 0 0 4px rgba(255, 0, 127, 0.2);
}
.light-theme .btn-neon-pink {
  background: rgba(15, 23, 42, 0.04);
}
.btn-neon-pink:hover {
  background: var(--neon-pink);
  color: #000;
  box-shadow: var(--glow-pink);
  border-color: var(--neon-pink);
}
.btn-neon-solid {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #f3f4f6;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.1);
}
.light-theme .btn-neon-solid {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}
.btn-neon-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35), 0 0 30px rgba(255, 0, 127, 0.25);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  color: #fff;
  border-color: transparent;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.light-theme .btn-glass {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.light-theme .btn-glass:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.2);
}
/* Glow Badge */
.badge-neon {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
}
.badge-neon-pink {
  background: rgba(255, 0, 127, 0.1);
  color: var(--neon-pink);
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
}
/* Animations */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow: 0 0 4px rgba(0, 240, 255, 0.6), 0 0 10px rgba(0, 240, 255, 0.2);
  }
  50% {
    text-shadow: 0 0 8px rgba(0, 240, 255, 1), 0 0 20px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.2);
  }
}
.animate-neon-text {
  animation: neon-pulse 3s infinite alternate;
}
@keyframes rgb-border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.rgb-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 24px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.rgb-border::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-green), var(--neon-cyan));
  background-size: 400%;
  border-radius: calc(var(--border-radius-md) + 2px);
  z-index: -1;
  animation: rgb-border-flow 6s linear infinite;
  opacity: 0.7;
}
/* Lazy Loaded Image Loader Placeholder */
.lazy-image-container {
  position: relative;
  background: var(--bg-card-alt);
  overflow: hidden;
}
.lazy-image-container::before {
  content: '';
  position: absolute;
  top: 0; left: -150%; width: 150%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: loading-shimmer 1.5s infinite;
}
@keyframes loading-shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}
/* Glassmorphism overlays */
.glass-overlay {
  background: rgba(10, 11, 16, 0.7) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
/* Typography styles - Fluid responsive */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }
p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
}
/* Global responsive images */
img {
  max-width: 100%;
  height: auto;
}
/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-card-alt);
  border: 1px solid rgba(128, 128, 128, 0.2);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}
/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--neon-cyan);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  animation: slide-in 0.3s forwards;
}
.toast.toast-error {
  border-left-color: var(--neon-pink);
}
.toast.toast-success {
  border-left-color: var(--neon-green);
}
@keyframes slide-in {
  to { transform: translateX(0); }
}
/* Light Theme variables & styles */
.light-theme {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-card-hover: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --neon-cyan: #0284c7;
  --neon-pink: #db2777;
  --neon-green: #16a34a;
  --neon-orange: #ea580c;
  --glow-cyan: 0 0 10px rgba(2, 132, 199, 0.25);
  --glow-pink: 0 0 10px rgba(219, 39, 119, 0.25);
  --glow-green: 0 0 10px rgba(22, 163, 74, 0.25);
}
.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6 {
  color: #0f172a;
}
.light-theme .cyber-card {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}
.light-theme .cyber-card:hover {
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.12);
}
.light-theme .glass-overlay {
  background: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.light-theme .form-input,
.light-theme .form-select,
.light-theme .form-textarea {
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
  background: #ffffff;
}
.light-theme .form-input:focus,
.light-theme .form-select:focus,
.light-theme .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.2);
}
.light-theme .toast {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
/* Category Slider Marquee Keyframes */
@keyframes category-marquee-ltr {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes category-marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
/* Responsive Grids */
.builder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}
.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.builder-actions-wrapper {
  display: flex;
  gap: 12px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  align-items: start;
}
.admin-grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 1024px) {
  .builder-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .budget-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* Giveaway / Contest Premium Styles */
.giveaway-card {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.04), rgba(255, 0, 127, 0.04));
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: all var(--transition-normal);
}
.giveaway-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15), 0 8px 30px rgba(255, 0, 127, 0.08);
  transform: translateY(-2px);
}
.giveaway-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}
.giveaway-flex-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.giveaway-info {
  flex: 1.3;
}
.giveaway-image-wrapper {
  flex: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
}
.light-theme .giveaway-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05), rgba(219, 39, 119, 0.05));
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.contest-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(8px);
  padding: 20px;
}
.light-theme .contest-modal {
  background: rgba(15, 23, 42, 0.45);
}
/* Light Theme Contrast Enhancements */
.light-theme .form-label {
  color: #0f172a;
}
.light-theme input::placeholder {
  color: #94a3b8;
}
/* Responsive Header & Slider Styles */
.hero-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, var(--bg-card-alt) 0%, var(--bg-dark) 100%);
  padding: 24px 60px;
  flex-shrink: 0;
}
.hero-slide-content {
  flex: 1.2;
  z-index: 2;
  padding: 10px;
}
.hero-slide-title {
  font-size: 2.2rem;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}
.hero-slide-image-wrapper {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
/* ============================================================
   RESPONSIVE DESIGN SYSTEM - Professional Multi-Device Support
   Devices: Mobile (≤576px), Tablet (577-992px), Desktop (≥993px)
   ============================================================ */
/* --- TABLET LANDSCAPE & SMALL DESKTOP (≤1024px) --- */
@media (max-width: 1024px) {
  .builder-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-grid-2-equal {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* --- TABLET PORTRAIT (≤768px) --- */
@media (max-width: 768px) {
  .budget-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-hide-mobile {
    display: none !important;
  }
  .sidebar-settings-mobile {
    display: flex !important;
  }

  /* Hero Slide - stacked layout */
  .hero-slide {
    width: 100% !important;
    height: 100% !important;
    flex-direction: column-reverse !important;
    justify-content: center !important;
    padding: 16px 36px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }
  .hero-slide-content {
    flex: none !important;
    padding: 0 !important;
    width: 100%;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-slide-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  .hero-slide-content p {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem) !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
  }
  .hero-slide-content button {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    min-height: 44px;
  }
  .hero-slide-image-wrapper {
    flex: none !important;
    height: 140px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }
  .hero-slide-image-wrapper img {
    max-height: 130px !important;
    max-width: 85% !important;
    object-fit: contain;
  }

  .hero-arrow-btn {
    display: none !important;
  }

  /* General layouts */
  html, body, #root {
    overflow-x: hidden !important;
    width: 100%;
  }

  .container {
    padding: 0 16px !important;
  }

  /* Hero Banner Slider Container */
  .hero-slider-container {
    height: 340px !important;
    padding-bottom: 0 !important;
  }

  /* Giveaway Widget */
  .giveaway-card {
    padding: 20px 16px !important;
  }
  .giveaway-card h2 {
    font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .giveaway-flex-container {
    flex-direction: column-reverse !important;
    gap: 16px !important;
    width: 100%;
  }
  .giveaway-info,
  .giveaway-image-wrapper {
    min-width: 100% !important;
    text-align: center !important;
    flex: 1 1 100% !important;
  }
  .giveaway-card .btn-neon-solid {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    min-height: 44px;
  }

  /* Callout PC builder Banner */
  .callout-banner {
    padding: 20px 16px !important;
    text-align: center !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .callout-banner > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .callout-banner h3 {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
  }
  .callout-banner button {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 8px;
    min-height: 44px;
  }

  /* Builder Grid */
  .builder-header-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .builder-header-wrapper h2 {
    font-size: 1.5rem !important;
  }
  .builder-header-wrapper p {
    font-size: 0.85rem !important;
  }
  .builder-actions-wrapper {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .builder-actions-wrapper button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px;
  }
  .builder-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .builder-grid > div {
    padding: 14px !important;
  }
  .rgb-border {
    padding: 16px !important;
  }
  .builder-grid h2 {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
  }
  .builder-grid .badge-neon-pink {
    font-size: 0.7rem !important;
  }
  /* Mobile Stepper for Builder steps */
  .builder-steps-list {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
    gap: 12px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .builder-steps-list::-webkit-scrollbar {
    display: none !important;
  }
  .builder-step-item {
    flex-shrink: 0 !important;
    width: auto !important;
    padding: 8px 14px !important;
    border-radius: 30px !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
  }
  .builder-step-item > div {
    gap: 6px !important;
  }
  .builder-step-item button {
    display: none !important; /* Hide trash button in the horizontal stepper view for cleanliness */
  }

  .builder-product-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  .builder-product-info {
    width: 100% !important;
  }
  .builder-product-info h4 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.3 !important;
    font-size: 0.85rem !important;
  }
  .builder-product-action-price {
    justify-content: space-between !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* Clear space for fixed bottom bar globally on mobile pages */
  main {
    padding-bottom: 120px !important;
  }

  /* Budget Grid */
  .budget-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .budget-grid > div {
    padding: 14px !important;
  }
  .budget-grid h3 {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem) !important;
  }

  /* Hide horizontal scrollbar on category filters */
  div[style*="overflow-x: auto"]::-webkit-scrollbar,
  div[style*="overflowX: auto"]::-webkit-scrollbar {
    display: none !important;
  }

  /* All buttons - touch-friendly */
  button {
    min-height: 40px;
  }

  /* Contest Modal */
  .contest-modal {
    padding: 12px !important;
  }
  .contest-modal > div {
    max-width: 95vw !important;
    max-height: 90vh !important;
    overflow-y: auto;
  }

  /* Toast notifications on mobile */
  .toast-container {
    left: 12px !important;
    right: 12px !important;
    bottom: 80px !important;
  }
  .toast {
    padding: 12px 16px !important;
    font-size: 0.85rem;
  }

  /* Admin Grid */
  .admin-grid {
    gap: 14px !important;
  }
  .admin-grid > div {
    padding: 14px !important;
  }

  /* Cyber cards on mobile - less hover effects */
  .cyber-card {
    padding: 16px;
  }
  .cyber-card:hover {
    transform: none;
  }

  /* Forms on mobile */
  .form-input, .form-select, .form-textarea {
    padding: 12px 14px;
    font-size: 16px !important; /* prevents iOS zoom on focus */
    min-height: 44px;
  }

  /* Neon buttons - bigger touch targets */
  .btn-neon-cyan,
  .btn-neon-pink,
  .btn-neon-solid,
  .btn-glass {
    padding: 10px 16px !important;
    min-height: 44px;
    font-size: 0.85rem !important;
    justify-content: center;
    width: 100%;
  }

  /* Badges */
  .badge-neon,
  .badge-neon-pink {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}
/* --- SMALL MOBILE (≤576px) --- */
@media (max-width: 576px) {
  .container {
    padding: 0 12px !important;
  }

  /* Hero */
  .hero-slide {
    padding: 12px 24px !important;
  }
  .hero-slide-title {
    font-size: clamp(1rem, 5vw, 1.3rem) !important;
  }
  .hero-slide-content p {
    font-size: 0.75rem !important;
    margin-bottom: 10px !important;
  }
  .hero-slide-image-wrapper {
    height: 110px !important;
  }
  .hero-slide-image-wrapper img {
    max-height: 100px !important;
  }
  .hero-slider-container {
    height: 310px !important;
  }

  /* Cart overlay drawer - full width on small mobile */
  .cart-overlay-drawer {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Invoice print area */
  #invoice-print {
    padding: 14px !important;
  }
  #invoice-print h3 {
    font-size: 0.95rem !important;
  }
  #invoice-print p,
  #invoice-print td,
  #invoice-print th,
  #invoice-print table {
    font-size: 0.7rem !important;
  }

  /* Giveaway */
  .giveaway-card {
    padding: 14px 12px !important;
  }
  .giveaway-card h2 {
    font-size: 1.05rem !important;
  }

  /* Builder & Budget grids */
  .builder-grid > div,
  .budget-grid > div {
    padding: 12px !important;
  }

  /* Neon buttons stacked full width */
  .btn-neon-cyan,
  .btn-neon-pink,
  .btn-neon-solid,
  .btn-glass {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.8rem !important;
    min-height: 48px;
    border-radius: var(--border-radius-md);
  }

  /* Callout */
  .callout-banner {
    padding: 16px 12px !important;
  }
  .callout-banner h3 {
    font-size: 1rem !important;
  }

  /* Contest modal full screen on small phones */
  .contest-modal {
    padding: 8px !important;
  }
  .contest-modal > div {
    max-width: 100vw !important;
    width: 100% !important;
    border-radius: var(--border-radius-md) !important;
  }

  /* Admin table horizontal scroll */
  .admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table-wrapper table {
    min-width: 600px;
  }

  /* Reduce animations on small devices for performance */
  .cyber-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .rgb-border::before {
    animation-duration: 12s;
  }
}
/* --- EXTRA SMALL MOBILE (≤375px) --- */
@media (max-width: 375px) {
  .container {
    padding: 0 8px !important;
  }

  .hero-slide {
    padding: 8px 16px !important;
  }
  .hero-slide-title {
    font-size: 1rem !important;
  }
  .hero-slide-image-wrapper {
    height: 90px !important;
  }
  .hero-slide-image-wrapper img {
    max-height: 80px !important;
  }
  .hero-slider-container {
    height: 280px !important;
  }

  .giveaway-card {
    padding: 12px 8px !important;
  }
  .giveaway-card h2 {
    font-size: 0.95rem !important;
  }

  .btn-neon-cyan,
  .btn-neon-pink,
  .btn-neon-solid,
  .btn-glass {
    font-size: 0.75rem !important;
    padding: 10px 12px !important;
  }

  .builder-grid > div,
  .budget-grid > div,
  .admin-grid > div {
    padding: 10px !important;
  }

  /* Smaller scrollbar */
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
}
/* --- iPad / Tablet Portrait (768px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-slide {
    padding: 24px 30px !important;
  }
  .hero-slide-title {
    font-size: 1.6rem !important;
  }
  .hero-slide-image-wrapper {
    height: 200px !important;
  }

  .container {
    padding: 0 20px !important;
  }

  .cyber-card {
    padding: 20px;
  }

  .btn-neon-cyan,
  .btn-neon-pink,
  .btn-neon-solid,
  .btn-glass {
    width: auto;
    min-height: 44px;
  }

  .giveaway-flex-container {
    flex-direction: row !important;
    gap: 24px !important;
  }
  .giveaway-info,
  .giveaway-image-wrapper {
    min-width: auto !important;
    flex: 1 !important;
  }
}
/* --- LARGE DESKTOP (≥1200px) --- */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
    padding: 0 32px;
  }

  .hero-slide {
    padding: 32px 80px !important;
  }
  .hero-slide-title {
    font-size: 2.5rem !important;
  }
}
/* --- LANDSCAPE MODE on phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slide {
    min-height: 200px !important;
    flex-direction: row !important;
    padding: 10px 20px !important;
  }
  .hero-slide-content {
    flex: 1 !important;
    text-align: left !important;
  }
  .hero-slide-image-wrapper {
    height: 100% !important;
    flex: 0.5 !important;
  }
  .hero-slider-container {
    min-height: 200px !important;
  }
}
/* --- PRINT STYLES --- */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .cyber-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  .rgb-border::before {
    display: none !important;
  }
  button, .btn-neon-cyan, .btn-neon-pink, .btn-glass {
    display: none !important;
  }
  #invoice-print {
    display: block !important;
  }
}
/* --- Accessibility: Reduced motion preference --- 
   (Removed to allow animations for all users) */
/* --- Custom Animations --- */
@keyframes marquee-scroll {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100vw); }
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
@keyframes slider-progress-run {
  0% { width: 0%; }
  100% { width: 100%; }
}
/* Budget Card Responsive Padding */
.budget-card {
  padding: 24px;
}
@media (max-width: 768px) {
  .budget-card {
    padding: 14px !important;
  }
}
/* Announcements Marquee Container & Content classes */
.marquee-container {
  background: linear-gradient(90deg, #ff007f33, #00f0ff33);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  white-space: nowrap;
  direction: ltr;
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 100%;
  animation: marquee-scroll 80s linear infinite;
}
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-grid .cyber-card {
    padding: 12px;
  }
  .products-grid h4 {
    font-size: 0.85rem !important;
  }
  .products-grid .price-tag {
    font-size: 0.95rem !important;
  }
}
/* PC Builder mobile fixes to override global button styles */
@media (max-width: 768px) {
  .builder-product-action-price button,
  .builder-step-nav button,
  .builder-selected-action button {
    width: auto !important;
    flex: 1 !important;
  }
}
@keyframes pulse-animation {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}
.pulse-dot {
  animation: pulse-animation 1.2s infinite ease-in-out;
}
/* Infinite Marquee Scroll Animation */
@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.marquee-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  user-select: none;
  padding: 12px 0 36px 0 !important; /* Extra bottom padding for external labels */
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}
.marquee-scroll-track {
  display: flex;
  gap: 20px;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-scroll-left 40s linear infinite;
}
[dir="rtl"] .marquee-scroll-track {
  animation: marquee-scroll-right 40s linear infinite;
}
.marquee-scroll-container:hover .marquee-scroll-track {
  animation-play-state: paused;
}
/* Mobile: DraggableScrollRow uses requestAnimationFrame+scrollLeft.
   On touch devices this can freeze. Override with CSS animation for the inner wrapper. */
@media (max-width: 768px) {
  /* Make the draggable scroll row auto-animate via CSS on mobile */
  .draggable-scroll-row {
    /* Allow normal overflow scroll on mobile for drag/touch */
    overflow-x: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .draggable-scroll-row::-webkit-scrollbar {
    display: none !important;
  }
  /* The brand marquee: use CSS animation instead of JS on mobile */
  .brand-marquee .draggable-scroll-row {
    overflow: hidden !important;
  }
  .brand-marquee .draggable-scroll-row > * {
    /* Animate all children as a group using marquee animation */
    animation: none;
  }
  /* Wrap brand items inside with auto-animation on mobile */
  .brand-marquee {
    overflow: hidden !important;
  }
}
.category-card-ityan {
  position: relative !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 105px !important;
  height: 105px !important;
  border-radius: 50% !important;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0px !important; /* No padding so image can fill completely */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}
:root:not(.light-theme) .category-card-ityan {
  background: rgba(15, 18, 24, 0.7) !important;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
:root:not(.light-theme) .category-card-ityan:hover {
  transform: scale(1.08) translateY(-4px) !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 
    0 12px 25px rgba(0, 240, 255, 0.35),
    0 0 15px rgba(0, 240, 255, 0.15) !important;
}
:root:not(.light-theme) .category-card-ityan.is-selected {
  border-color: var(--neon-pink) !important;
  box-shadow: 
    0 12px 25px rgba(255, 0, 127, 0.35),
    0 0 15px rgba(255, 0, 127, 0.15) !important;
}
.category-card-ityan img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important; /* Force image to cover and fill the circle */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.category-card-ityan:hover img {
  transform: scale(1.08) rotate(-2deg);
}
.category-card-ityan span {
  position: absolute !important;
  bottom: -28px !important; /* Position absolutely below the circle container */
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 110px !important;
  color: var(--text-main) !important; /* brand colors */
}
/* Light Mode Category Cards (Circular, Prominent 3D) */
.light-theme .category-card-ityan {
  background: #ffffff !important;
  border: 2px solid rgba(15, 23, 42, 0.18) !important; /* Thick prominent border */
  box-shadow: 
    0 8px 16px rgba(15, 23, 42, 0.08), 
    inset 0 2px 4px rgba(255, 255, 255, 0.9), 
    inset 0 -2px 4px rgba(0, 0, 0, 0.05) !important; /* Inset shadow for 3D bubble effect */
}
.light-theme .category-card-ityan:hover {
  transform: scale(1.08) translateY(-4px) !important;
  border-color: var(--neon-cyan) !important; /* #0284c7 */
  box-shadow: 
    0 12px 25px rgba(2, 132, 199, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.9) !important;
}
.light-theme .category-card-ityan.is-selected {
  border-color: var(--neon-pink) !important; /* #db2777 */
  box-shadow: 
    0 12px 25px rgba(219, 39, 119, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.9) !important;
}
.products-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-scroll-left 50s linear infinite;
}
[dir="rtl"] .products-marquee-track {
  animation: marquee-scroll-right 50s linear infinite;
}
.marquee-scroll-container:hover .products-marquee-track {
  animation-play-state: paused;
}
.products-marquee-track .cyber-card {
  width: 290px;
  flex-shrink: 0;
}
/* Brand marquee always visible */
.brand-marquee {
  opacity: 1 !important;
  transition: opacity 0.3s;
}
/* Brand logos: dark mode = white SVGs (default), light mode = darken them */
.brand-logo-img {
  /* Dark mode: keep as-is (white logos on dark bg) */
  filter: none;
  transition: filter 0.3s ease;
}
.light-theme .brand-logo-img {
  /* Light mode: invert white→black and adjust hue to look natural */
  filter: invert(1) brightness(0.15) saturate(0) !important;
}
/* Brand name fallback text: use dark color in light mode */
.light-theme .brand-name-fallback {
  color: #0f172a !important;
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .products-marquee-track {
    animation-duration: 8s !important;
  }
  .products-marquee-track .cyber-card {
    width: 260px;
  }
}
/* ============================================================
   PRODUCT CARDS DESIGN SYSTEM (Rectangular, Glassmorphic & 3D)
   ============================================================ */
/* Base styling for all themes */
.product-card {
  height: 360px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 16px !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color 0.4s ease,
              box-shadow 0.4s ease !important;
}
.product-card .lazy-image-container {
  height: 140px !important;
}
/* Unified title clamping for visual symmetry and card alignment */
.product-card h4, .products-grid h4 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 42px !important;
  line-height: 1.35 !important;
  font-size: 0.92rem !important;
  margin: 6px 0 !important;
  font-weight: 700 !important;
}
/* ------------------------------------------------------------
   DARK THEME SPECIFIC (Glassmorphic + 3D)
   ------------------------------------------------------------ */
:root:not(.light-theme) .product-card {
  background: rgba(20, 24, 33, 0.8) !important; /* Higher contrast background */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important; /* Thicker, more prominent border */
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
  transform-style: preserve-3d;
  perspective: 1000px;
}
/* Light reflection sheen effect for 3D glass */
:root:not(.light-theme) .product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.02) 50%,
    transparent 100%
  );
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 1;
}
:root:not(.light-theme) .product-card:hover::before {
  transform: translateX(50%);
}
/* 3D tilt and glow on hover */
:root:not(.light-theme) .product-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(4deg) rotateY(-2deg) !important; /* Elevated lift */
  border-color: rgba(0, 240, 255, 0.75) !important;
  background: rgba(26, 32, 44, 0.85) !important;
  box-shadow: 
    0 25px 50px rgba(0, 240, 255, 0.3),
    0 0 20px rgba(0, 240, 255, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.05) !important;
}
/* Pink cyber-card modifier hover glow in dark theme */
:root:not(.light-theme) .product-card.cyber-card-pink:hover,
:root:not(.light-theme) .product-card[style*="rgba(255, 0, 127"]:hover {
  border-color: rgba(255, 0, 127, 0.8) !important;
  box-shadow: 
    0 25px 50px rgba(255, 0, 127, 0.3),
    0 0 20px rgba(255, 0, 127, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.05) !important;
}
/* Inner elements 3D lifts */
:root:not(.light-theme) .product-card .lazy-image-container {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transform: translateZ(20px);
  transition: transform 0.4s ease;
}
:root:not(.light-theme) .product-card h4 {
  transform: translateZ(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
:root:not(.light-theme) .product-card .price-tag {
  transform: translateZ(15px);
}
/* ------------------------------------------------------------
   LIGHT THEME SPECIFIC (Prominent 3D Cards)
   ------------------------------------------------------------ */
.light-theme .product-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(15, 23, 42, 0.16) !important; /* Thick, clearly defined border */
  box-shadow: 
    0 12px 28px -5px rgba(15, 23, 42, 0.15), 
    0 8px 12px -6px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9) !important; /* Deep, physical 3D shadows */
  border-radius: var(--border-radius-md) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color 0.4s ease,
              box-shadow 0.4s ease !important;
}
/* Light theme hover state (Prominent 3D Lift & Shadow) */
.light-theme .product-card:hover {
  transform: translateY(-12px) scale(1.03) !important; /* Elevated 3D lift */
  border-color: var(--neon-cyan) !important; /* Highlight blue border */
  box-shadow: 
    0 25px 40px -10px rgba(15, 23, 42, 0.25), 
    0 15px 25px -10px rgba(15, 23, 42, 0.15),
    0 0 15px rgba(2, 132, 199, 0.2) !important;
}
/* Light theme pink card modifier hover */
.light-theme .product-card.cyber-card-pink:hover,
.light-theme .product-card[style*="rgba(255, 0, 127"]:hover {
  border-color: var(--neon-pink) !important; /* Highlight pink border */
  box-shadow: 
    0 25px 40px -10px rgba(219, 39, 119, 0.3), 
    0 15px 25px -10px rgba(219, 39, 119, 0.2),
    0 0 15px rgba(219, 39, 119, 0.2) !important;
}
.light-theme .product-card .lazy-image-container {
  background: #f1f5f9 !important; /* Solid contrast background for image */
  border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: var(--border-radius-sm) !important;
}
/* ------------------------------------------------------------
   MOBILE RESPONSIVE STYLING FOR PRODUCT CARDS
   ------------------------------------------------------------ */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .product-card {
    height: 300px !important;
    padding: 12px !important;
    border-radius: var(--border-radius-md) !important;
  }
  
  .product-card .lazy-image-container {
    height: 110px !important;
  }
  
  .product-card h4 {
    font-size: 0.82rem !important;
    height: 34px !important;
    margin: 4px 0 !important;
    line-height: 1.3 !important;
  }
  
  /* Mobile hover states */
  :root:not(.light-theme) .product-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 12px 25px rgba(0, 240, 255, 0.25) !important;
  }

  :root:not(.light-theme) .product-card.cyber-card-pink:hover,
  :root:not(.light-theme) .product-card[style*="rgba(255, 0, 127"]:hover {
    box-shadow: 0 12px 25px rgba(255, 0, 127, 0.25) !important;
  }

  .light-theme .product-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2) !important;
  }

  .light-theme .product-card.cyber-card-pink:hover,
  .light-theme .product-card[style*="rgba(255, 0, 127"]:hover {
    box-shadow: 0 15px 30px rgba(219, 39, 119, 0.2) !important;
  }}
.draggable-scroll-row::-webkit-scrollbar {
  display: none !important;
}

