/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  --bg-void:        #080b0f;
  --bg-surface:     #0d1117;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.08);
  --border-subtle:  rgba(255,255,255,0.08);
  --border-glow:    rgba(0,255,135,0.4);

  /* Neon Category Icon Colors */
  --color-icon-all: #00ff87;
  --color-icon-controllers: #00f0ff;
  --color-icon-monitors: #00ffaa;
  --color-icon-headsets: #ff007f;
  --color-icon-keyboards: #bd00ff;
  --color-icon-mice: #ff5e00;
  --color-icon-laptops: #00a2ff;
  --color-icon-gpu: #00ffcc;
  --color-icon-vr: #ffde00;
  --color-icon-chairs: #ff2a2a;

  --neon:           #00ff87;
  --neon-dim:       #00cc6a;
  --neon-glow:      0 0 12px rgba(0,255,135,0.55), 0 0 30px rgba(0,255,135,0.2);
  --neon-glow-btn:  0 0 8px rgba(0,255,135,0.6), 0 0 20px rgba(0,255,135,0.3),
                    inset 0 0 12px rgba(0,255,135,0.08);

  --text-primary:   #eef2ff;
  --text-secondary: #8892a4;
  --text-muted:     #4a5568;

  --star-fill:      #ffd700;
  --star-empty:     #2d3748;

  --radius-card:  16px;
  --radius-btn:   10px;
  --radius-input: 10px;

  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --sidebar-w: 260px;
  --nav-h:      70px;
}

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

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(0,255,135,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(100,50,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,200,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px; /* سمك الشريط */
    background: linear-gradient(
        90deg,
        transparent,
        var(--neon),
        var(--neon),
        transparent
    );
    width: 0%; /* هيبدأ من الصفر والجافا سكريبت هي اللي هتزوده */
    z-index: 9999; /* عشان يفضل فوق كل عناصر الموقع */
    transition: width 0.1s linear; /* عشان الحركة تكون سلسة وتناسب القراءة */
    box-shadow: 0 0 10px var(--neon);
}


/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  background: rgba(8,11,15,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.3;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--neon), #00aaff);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--neon-glow);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  border-radius: inherit;
}

.logo-icon svg {
  width: 20px; height: 20px;
  fill: var(--bg-void);
  position: relative;
  z-index: 1;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--neon) 0%, #00aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text span {
  -webkit-text-fill-color: var(--text-primary);
  font-weight: 400;
}

.nav-search {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.nav-search input {
  width: 100%;
  padding: 10px 18px 10px 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-base),
              background var(--transition-base),
              box-shadow var(--transition-base);
}

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

.nav-search input:focus {
  border-color: var(--neon);
  background: rgba(0,255,135,0.04);
  box-shadow: 0 0 0 3px rgba(0,255,135,0.1);
}

.nav-search .search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-base);
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 350px;  /* أو أي عرض تريده */
}
.search-container input {
  padding-right: 50px;  /* مساحة للأيقونة */
  border-left: 1px solid #444;
}
.search-btn {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.search-icon {
  color: var(--neon);
  width: 22px;
  height: 22px;
}


.nav-search input:focus ~ .search-icon { color: var(--neon); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 30px at var(--x, -50px) var(--y, -50px), rgba(0, 255, 135, 0.25) 0%, transparent 85%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.nav-btn:hover::before {
  opacity: 1;
}

.nav-btn:hover {
  background: rgba(0,255,135,0.08);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--neon-glow);
}

.nav-btn svg { width: 18px; height: 18px; position: relative; z-index: 2; }

/* ── WhatsApp Support Button ──────────────────────────────────── */
.whatsapp-btn {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.06);
  position: relative;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 0;   transform: scale(1.22); }
}

.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.15) !important;
  border-color: #25d366 !important;
  color: #25d366 !important;
  box-shadow: 0 0 12px rgba(37,211,102,0.55), 0 0 28px rgba(37,211,102,0.2) !important;
}

.whatsapp-btn svg {
  width: 19px;
  height: 19px;
  filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.5));
}

.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--neon);
  color: var(--bg-void);
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-void);
  z-index: 2;
}

/* ── Page Layout ──────────────────────────────────────────────── */
.page {
  display: flex;
  padding-top: var(--nav-h);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  padding: 28px 20px;
  border-right: 1px solid var(--border-subtle);
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 2px; }

.sidebar-section { margin-bottom: 36px; }

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 4px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base),
              color var(--transition-base), padding-left var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.filter-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--neon);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform var(--transition-base);
  transform-origin: center;
}

.filter-item:hover {
  background: rgba(0,255,135,0.06);
  border-color: var(--border-glow);
  color: var(--neon);
  padding-left: 20px;
  box-shadow: inset 0 0 20px rgba(0,255,135,0.03);
}

.filter-item:hover::before { transform: scaleY(1); }

.filter-item.active {
  background: rgba(0,255,135,0.1);
  border-color: var(--neon);
  color: var(--neon);
  font-weight: 600;
  box-shadow: inset 0 0 20px rgba(0,255,135,0.05), 0 0 12px rgba(0,255,135,0.08);
}

.filter-item.active::before { transform: scaleY(1); }

.filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.filter-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  stroke: currentColor;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.filter-item:hover .filter-icon svg {
  transform: scale(1.15);
}

/* Category-specific Colored Neon Styles */
.filter-icon.icon-all { color: var(--color-icon-all); }
.filter-icon.icon-controllers { color: var(--color-icon-controllers); }
.filter-icon.icon-monitors { color: var(--color-icon-monitors); }
.filter-icon.icon-headsets { color: var(--color-icon-headsets); }
.filter-icon.icon-keyboards { color: var(--color-icon-keyboards); }
.filter-icon.icon-mice { color: var(--color-icon-mice); }
.filter-icon.icon-laptops { color: var(--color-icon-laptops); }
.filter-icon.icon-gpu { color: var(--color-icon-gpu); }
.filter-icon.icon-vr { color: var(--color-icon-vr); }
.filter-icon.icon-chairs { color: var(--color-icon-chairs); }

/* Glowing glow only in dark theme */
body:not(.light-theme) .filter-icon svg {
  filter: drop-shadow(0 0 3px currentColor);
}

.filter-count {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2px 8px;
  color: var(--text-muted);
  transition: background var(--transition-base), color var(--transition-base);
}

.filter-item:hover .filter-count,
.filter-item.active .filter-count {
  background: rgba(0,255,135,0.15);
  color: var(--neon);
}

.price-range { padding: 4px 0; }

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price-labels span:last-child { color: var(--neon); }

.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  margin-bottom: 16px;
  cursor: pointer;
  outline: none;
}

.price-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
}

.price-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0,255,135,0.6), 0 0 0 3px var(--bg-void);
  margin-top: -5px;
  transition: transform var(--transition-base), background var(--transition-base);
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #00ffaa;
  box-shadow: 0 0 12px rgba(0,255,135,0.8), 0 0 0 3px var(--bg-void);
}

.price-slider::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0,255,135,0.6), 0 0 0 3px var(--bg-void);
  transition: transform var(--transition-base), background var(--transition-base);
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #00ffaa;
  box-shadow: 0 0 12px rgba(0,255,135,0.8), 0 0 0 3px var(--bg-void);
}


.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.brand-item:hover { color: var(--text-primary); }

.brand-checkbox {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-subtle);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-base),
              background var(--transition-base),
              box-shadow var(--transition-base);
}

.brand-item:hover .brand-checkbox {
  border-color: var(--neon);
  box-shadow: 0 0 6px rgba(0,255,135,0.3);
}

.filter-checkbox {
  display: none;
}

.brand-item:has(.filter-checkbox:checked) {
  color: var(--text-primary);
}

.brand-item:has(.filter-checkbox:checked) .brand-checkbox {
  background: var(--neon);
  border-color: var(--neon);
}

.brand-item:has(.filter-checkbox:checked) .brand-checkbox::after {
  content: '✓';
  font-size: 10px;
  color: var(--bg-void);
  font-weight: 800;
  line-height: 1;
}

/* ── Main Content ─────────────────────────────────────────────── */
.main {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.catalog-title span {
  background: linear-gradient(135deg, var(--neon) 0%, #00aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalog-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.catalog-controls { display: flex; align-items: center; gap: 10px; }

.sort-select {
  padding: 9px 32px 9px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892a4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sort-select:focus { border-color: var(--neon); background-color: rgba(0,255,135,0.04); }
.sort-select option { background: var(--bg-surface); color: var(--text-primary); }

.view-toggle {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
}

.view-radio-hidden {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.view-btn {
  width: 34px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition-base), color var(--transition-base);
}

.view-btn:has(.view-radio-hidden:checked) { background: rgba(0,255,135,0.12); color: var(--neon); }
.view-btn svg { width: 15px; height: 15px; }

/* Pure CSS Layout Switcher (Grid to List View) */
body:has(.view-radio-hidden[value="list"]:checked) .product-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 601px) {
  body:has(.view-radio-hidden[value="list"]:checked) .product-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-badge {
    top: 20px;
    left: 24px;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-wishlist {
    top: 20px;
    right: 24px;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-image {
    width: 180px;
    height: 135px;
    aspect-ratio: auto;
    border-radius: 12px;
    flex-shrink: 0;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-body {
    padding: 0;
    flex: 1;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-footer {
    border-top: none;
    border-left: 1px solid rgba(255,255,255,0.05);
    margin-top: 0;
    padding: 0 0 0 24px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: 100px;
    width: 180px;
    flex-shrink: 0;
  }
  
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .btn-cart {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  body:has(.view-radio-hidden[value="list"]:checked) .product-card {
    flex-direction: column;
    padding: 16px;
  }
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  body:has(.view-radio-hidden[value="list"]:checked) .product-card .card-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-left: none;
    padding-left: 0;
    padding-top: 14px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
  }
}
.Up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle) !important;
  color: var(--neon) !important;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: opacity var(--transition-base), transform var(--transition-base),
              border-color var(--transition-base), box-shadow var(--transition-base),
              color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
}
.Up.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.Up:hover {
  border-color: var(--neon) !important;
  color: #ffffff !important;
  box-shadow: var(--neon-glow);
  transform: translateY(-3px);
}
.Up:active {
  transform: translateY(-1px) scale(0.95);
}
.Up svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  fill: none;
  stroke: currentColor;
  transition: transform var(--transition-base);
}
.Up:hover svg {
  transform: translateY(-2px);
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.25);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--neon);
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.filter-chip:hover { background: rgba(0,255,135,0.14); }
.filter-chip .remove { font-size: 0.9rem; line-height: 1; opacity: 0.7; }

/* ── Product Grid ─────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  transition: opacity 0.6s ease-out, transform 0.15s ease-out, border-color var(--transition-slow), background var(--transition-slow), box-shadow var(--transition-slow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform-style: preserve-3d;
  background: radial-gradient(circle at var(--x, 0px) var(--y, 0px), rgba(57, 255, 20, 0.15) 0%, transparent 70%), #1f1f1f;
}
.product-card.active {
    opacity: 1;
    transform: translateY(0); /* يرجع لمكانه الطبيعي */
}

.product-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent,
    rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 70%, transparent);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5),
              0 0 0 1px var(--border-glow),
              0 0 30px rgba(0,255,135,0.08);
}

.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-new  { background: var(--neon); color: var(--bg-void); }
.badge-sale { background: #ff4466; color: white; }
.badge-hot  { background: #ff8c00; color: white; }

.card-wishlist {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(13,17,23,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: background var(--transition-base), border-color var(--transition-base),
              color var(--transition-base), box-shadow var(--transition-base);
}

.wishlist-checkbox-hidden {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.card-wishlist:hover {
  background: rgba(255,65,65,0.12);
  border-color: rgba(255,65,65,0.4);
  color: #ff4466;
  box-shadow: 0 0 10px rgba(255,65,65,0.2);
}

.card-wishlist:has(.wishlist-checkbox-hidden:checked) {
  background: rgba(255,65,65,0.16);
  border-color: rgba(255,65,65,0.5);
  color: #ff4466;
  box-shadow: 0 0 12px rgba(255,65,65,0.3);
}

.card-wishlist:has(.wishlist-checkbox-hidden:checked) .heart-icon {
  display: none;
}

.card-wishlist:has(.wishlist-checkbox-hidden:checked)::after {
  content: '♥';
  font-size: 1.1rem;
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,255,135,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.product-card:hover .card-image::after { opacity: 1; }

/* .product-icon {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-slow);
  filter: drop-shadow(0 0 20px rgba(0,255,135,0.15));
}

.product-card:hover .product-icon {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 0 28px rgba(0,255,135,0.3));
} */

.card-body { padding: 18px 18px 0; flex: 1; }

.card-category {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.8;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color var(--transition-base);
}

.product-card:hover .card-title { color: #fff; }

.card-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.stars, .stars-container { display: flex; gap: 2px; }

.star {
font-size: 20px;
    color: #333; /* لون رمادي مطفي في البداية */
    cursor: pointer;
    transition: color 0.2s ease;
}
.star.glow {
    color: #39FF14; /* لون نيون أخضر أو أصفر براحتك */
    text-shadow: 0 0 8px #39FF14; /* تأثير التوهج */
}

.star.filled { color: var(--star-fill); text-shadow: 0 0 6px rgba(255,215,0,0.5); }
.star.half   { color: var(--star-fill); opacity: 0.6; }
.rating-count { font-size: 0.78rem; color: var(--text-muted); }

.card-footer {
  padding: 14px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 14px;
}

.card-pricing { display: flex; flex-direction: column; }

.price-original {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 0 14px rgba(0,255,135,0.4);
}

.btn-cart {
  flex-shrink: 0;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid var(--neon);
  border-radius: var(--radius-btn);
  color: var(--neon);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-base), background var(--transition-base),
              border-color var(--transition-base), box-shadow var(--transition-base),
              transform var(--transition-base);
}

.btn-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.btn-cart span { position: relative; z-index: 1; }

.btn-cart:hover {
  color: var(--bg-void);
  border-color: var(--neon);
  box-shadow: var(--neon-glow-btn);
  transform: translateY(-1px);
}

.btn-cart:hover::before { transform: scaleX(1); }
.btn-cart:active { transform: translateY(0) scale(0.97); }

/* ── Featured Banner ──────────────────────────────────────────── */
.featured-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg,
    rgba(0,255,135,0.06) 0%, rgba(0,170,255,0.04) 50%, rgba(100,50,255,0.06) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}

.featured-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,255,135,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.featured-banner::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(0,170,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.featured-content { position: relative; z-index: 1; }

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 10px;
}

.featured-tag::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,135,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(0,255,135,0); }
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.featured-sub { color: var(--text-secondary); font-size: 0.9rem; }

.featured-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.btn-primary {
  padding: 12px 28px;
  background: var(--neon);
  color: var(--bg-void);
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: box-shadow var(--transition-base), transform var(--transition-base),
              background var(--transition-base);
  box-shadow: 0 0 20px rgba(0,255,135,0.3);
}

.btn-primary:hover {
  background: #00ffaa;
  box-shadow: 0 0 32px rgba(0,255,135,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base),
              background var(--transition-base);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE SECTIONS
═══════════════════════════════════════════════════════════════ */

/* ── Features Strip ───────────────────────────────────────────── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base);
}

.feature-item:last-child { border-right: none; }

.feature-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.feature-item:hover { background: rgba(0,255,135,0.025); }
.feature-item:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(0,255,135,0.07);
  border: 1px solid rgba(0,255,135,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-base), border-color var(--transition-base),
              box-shadow var(--transition-base), transform var(--transition-base);
}

.feature-item:hover .feature-icon-wrap {
  background: rgba(0,255,135,0.13);
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(0,255,135,0.18);
  transform: scale(1.06);
}

.feature-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--neon);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-text { min-width: 0; }

.feature-text-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.feature-text-sub {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Stats Row ────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-void);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base);
}

.stat-item:last-child { border-right: none; }

.stat-item::before {
  content: '';
  position: absolute;
  top: -30px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 60px;
  background: radial-gradient(ellipse, rgba(0,255,135,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.stat-item:hover { background: rgba(0,255,135,0.015); }
.stat-item:hover::before { opacity: 1; }

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--neon) 0%, #00aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ── Brands Marquee ───────────────────────────────────────────── */
.brands-section {
  padding: 50px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.brands-section::before,
.brands-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.brands-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-surface), transparent);
}

.brands-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-surface), transparent);
}

.brands-label {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 28px;
}

.marquee-wrapper { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  margin: 0 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color var(--transition-base), border-color var(--transition-base),
              background var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
  user-select: none;
}

.brand-pill:hover {
  color: var(--neon);
  border-color: rgba(0,255,135,0.35);
  background: rgba(0,255,135,0.05);
  box-shadow: 0 0 12px rgba(0,255,135,0.08);
}

.brand-pill .b-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter-section {
  padding: 88px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-void);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,255,135,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 8%;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(100,50,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.22);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.nl-dot {
  width: 7px; height: 7px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.newsletter-title {
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.newsletter-title span {
  background: linear-gradient(135deg, var(--neon) 0%, #00aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 490px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 5px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  z-index: 1;
}

.newsletter-form:focus-within {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,255,135,0.1), 0 0 20px rgba(0,255,135,0.06);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-width: 0;
}

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

.newsletter-form button {
  padding: 11px 22px;
  background: var(--neon);
  color: var(--bg-void);
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.87rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition-base), box-shadow var(--transition-base),
              transform var(--transition-base);
}

.newsletter-form button:hover {
  background: #00ffaa;
  box-shadow: 0 0 22px rgba(0,255,135,0.45);
  transform: translateY(-1px);
}

.newsletter-form button:active { transform: translateY(0) scale(0.98); }

.newsletter-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.newsletter-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.nl-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.nl-perk-icon { color: var(--neon); font-size: 1rem; line-height: 1; }

/* ── Rich Footer ──────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-void) 100%);
  border-top: 1px solid rgba(0, 255, 135, 0.15);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 135, 0.03);
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon) 40%, var(--neon) 60%, transparent 100%);
  opacity: 0.6;
}

.footer-brand-logo .nav-logo {
  transition: transform var(--transition-base);
}

.footer-brand-logo .nav-logo:hover {
  transform: translateY(-2px);
}

.footer-brand-logo .nav-logo:hover .logo-icon {
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.7), 0 0 30px rgba(0, 170, 255, 0.4);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 52px 60px;
}

@media (min-width: 901px) {
  .footer-top > div {
    border-left: 1px dashed rgba(255, 255, 255, 0.08);
    padding-left: 32px;
  }
  .footer-top > :first-child {
    border-left: none;
    padding-left: 0;
  }
}

.footer-brand-logo { margin-bottom: 20px; }

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
  opacity: 0.85;
}

.footer-brand-desc::after {
  content: 'STATUS: ACTIVE // SERVERS_ONLINE 🟢';
  display: block;
  margin-top: 20px;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon);
  background: rgba(0, 255, 135, 0.04);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 6px 12px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.1);
  animation: status-pulse 2.5s infinite ease-in-out;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.85; box-shadow: 0 0 8px rgba(0, 255, 135, 0.1); }
  50% { opacity: 1; box-shadow: 0 0 16px rgba(0, 255, 135, 0.25); }
}

.footer-socials { display: flex; gap: 12px; }

.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-base);
  cursor: pointer;
}

.social-btn::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-color: var(--text-secondary);
  transition: background-color var(--transition-base);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Social Buttons SVGs using masks */
.social-btn[aria-label*="Twitter"]::before,
.social-btn[aria-label*="X"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.social-btn[aria-label*="Discord"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994.021-.041.001-.09-.041-.106a13.094 13.094 0 0 1-1.873-.894.077.077 0 0 1-.008-.128c.126-.093.252-.19.372-.287a.075.075 0 0 1 .077-.011c3.92 1.793 8.18 1.793 12.061 0a.073.073 0 0 1 .078.009c.12.099.246.195.373.289a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.894.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084-.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.156-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.156 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.156-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.156 2.418z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994.021-.041.001-.09-.041-.106a13.094 13.094 0 0 1-1.873-.894.077.077 0 0 1-.008-.128c.126-.093.252-.19.372-.287a.075.075 0 0 1 .077-.011c3.92 1.793 8.18 1.793 12.061 0a.073.073 0 0 1 .078.009c.12.099.246.195.373.289a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.894.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084-.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.156-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.156 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.156-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.156 2.418z'/%3E%3C/svg%3E");
}

.social-btn[aria-label*="YouTube"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.163a3.003 3.003 0 0 0-2.11-2.11C19.517 3.545 12 3.545 12 3.545s-7.517 0-9.388.508a3.003 3.003 0 0 0-2.11 2.11C0 8.033 0 12 0 12s0 3.967.502 5.837a3.003 3.003 0 0 0 2.11 2.11c1.871.508 9.388.508 9.388.508s7.517 0 9.388-.508a3.003 3.003 0 0 0 2.11-2.11C24 15.967 24 12 24 12s0-3.967-.502-5.837zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.163a3.003 3.003 0 0 0-2.11-2.11C19.517 3.545 12 3.545 12 3.545s-7.517 0-9.388.508a3.003 3.003 0 0 0-2.11 2.11C0 8.033 0 12 0 12s0 3.967.502 5.837a3.003 3.003 0 0 0 2.11 2.11c1.871.508 9.388.508 9.388.508s7.517 0 9.388-.508a3.003 3.003 0 0 0 2.11-2.11C24 15.967 24 12 24 12s0-3.967-.502-5.837zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.social-btn[aria-label*="Instagram"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E");
}

.social-btn[aria-label*="TikTok"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.6-1.6-1 .01 2.92.01 5.84 0 8.76-.04 1.65-.49 3.32-1.48 4.66-.99 1.36-2.5 2.37-4.17 2.74-1.74.41-3.63.26-5.26-.52-1.64-.78-3-2.16-3.75-3.82-.82-1.78-.92-3.87-.29-5.71.61-1.84 2.02-3.41 3.8-4.22 1.48-.68 3.16-.83 4.77-.45.01 1.43-.01 2.85-.02 4.28-1.12-.34-2.37-.17-3.32.5-.94.67-1.47 1.83-1.42 2.99.04 1.1.66 2.14 1.62 2.69.95.55 2.16.57 3.12.04.99-.54 1.6-1.6 1.61-2.73.02-3.92.02-7.85.02-11.78z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.6-1.6-1 .01 2.92.01 5.84 0 8.76-.04 1.65-.49 3.32-1.48 4.66-.99 1.36-2.5 2.37-4.17 2.74-1.74.41-3.63.26-5.26-.52-1.64-.78-3-2.16-3.75-3.82-.82-1.78-.92-3.87-.29-5.71.61-1.84 2.02-3.41 3.8-4.22 1.48-.68 3.16-.83 4.77-.45.01 1.43-.01 2.85-.02 4.28-1.12-.34-2.37-.17-3.32.5-.94.67-1.47 1.83-1.42 2.99.04 1.1.66 2.14 1.62 2.69.95.55 2.16.57 3.12.04.99-.54 1.6-1.6 1.61-2.73.02-3.92.02-7.85.02-11.78z'/%3E%3C/svg%3E");
}

/* Custom brand colors on hover for social buttons */
.social-btn[aria-label*="Twitter"]:hover,
.social-btn[aria-label*="X"]:hover {
  background-color: rgba(255,255,255,0.08) !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.social-btn[aria-label*="Twitter"]:hover::before,
.social-btn[aria-label*="X"]:hover::before {
  background-color: #ffffff;
}

.social-btn[aria-label*="Discord"]:hover {
  background-color: rgba(88, 101, 242, 0.15) !important;
  border-color: #5865f2 !important;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
  transform: translateY(-3px);
}
.social-btn[aria-label*="Discord"]:hover::before {
  background-color: #5865f2;
}

.social-btn[aria-label*="YouTube"]:hover {
  background-color: rgba(255, 0, 0, 0.15) !important;
  border-color: #ff0000 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transform: translateY(-3px);
}
.social-btn[aria-label*="YouTube"]:hover::before {
  background-color: #ff0000;
}

.social-btn[aria-label*="Instagram"]:hover {
  background-color: rgba(225, 48, 108, 0.15) !important;
  border-color: #e1306c !important;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
  transform: translateY(-3px);
}
.social-btn[aria-label*="Instagram"]:hover::before {
  background-color: #e1306c;
}

.social-btn[aria-label*="TikTok"]:hover {
  background-color: rgba(0, 242, 254, 0.1) !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transform: translateY(-3px);
}
.social-btn[aria-label*="TikTok"]:hover::before {
  background-color: #00f2fe;
}

.footer-col-title {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: monospace;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.footer-links a::before {
  content: '// ';
  color: var(--text-muted);
  transition: color var(--transition-base);
  opacity: 0.6;
}

.footer-links a:hover {
  color: var(--neon);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  color: var(--neon);
  opacity: 1;
}

.new-tag {
  font-size: 0.58rem;
  font-family: monospace;
  font-weight: 800;
  padding: 1px 5px;
  background: var(--neon);
  color: var(--bg-void);
  border-radius: 2px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 52px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 11, 15, 0.6);
  flex-wrap: wrap;
  gap: 20px;
  font-family: monospace;
}

.footer-copy { font-size: 0.78rem; color: var(--text-secondary); opacity: 0.8; }
.footer-copy a { color: var(--neon); text-decoration: none; font-weight: 700; }
.footer-copy a:hover { text-shadow: 0 0 8px var(--neon); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.8;
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer-bottom-links a:hover { color: var(--neon); opacity: 1; text-shadow: 0 0 6px rgba(0, 255, 135, 0.4); }

.footer-payments { display: flex; align-items: center; gap: 8px; }

.pay-badge {
  padding: 4px 8px;
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition-base);
}

.pay-badge:hover {
  border-color: var(--neon) !important;
  color: var(--neon) !important;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
  background: rgba(0, 255, 135, 0.04);
  transform: translateY(-1px);
}

/* ── Filter toggle button ── */
.filter-toggle-btn {
  display: none;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding: 48px 36px 40px; }
  .footer-top > :last-child { display: none; }
}

@media (max-width: 900px) {
  .sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100vh;
    background: var(--bg-surface) !important;
    border-right: 1px solid var(--border-subtle);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.8);
    padding: 24px 20px;
    overflow-y: auto;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-mobile-header {
    display: flex !important;
  }
  body:has(.sidebar.open)::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    pointer-events: auto;
  }
  .filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
  }
  .filter-toggle-btn:hover {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(0, 255, 135, 0.04);
  }
  .filter-toggle-btn svg {
    width: 14px;
    height: 14px;
  }

  .main { padding: 20px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .featured-banner { flex-direction: column; text-align: center; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 24px 32px; }
  .footer-top > :last-child { display: block; }
  .footer-bottom { padding: 18px 24px; }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 120px;
  }
  .nav {
    height: var(--nav-h);
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 6px;
  }
  .nav-logo {
    order: 1;
  }
  .nav-actions {
    order: 2;
    gap: 8px;
  }
  .nav-btn {
    width: 38px; height: 38px;
    border-radius: 9px;
  }
  .nav-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    margin-top: 4px;
  }
  .nav-search input {
    padding: 8px 14px 8px 38px;
  }
  .logo-text { display: none; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .catalog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .catalog-controls { width: 100%; justify-content: space-between; gap: 8px; }
  .sort-select { flex: 1; min-width: 0; }
  .view-toggle { display: none; }
  
  .features-strip { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .newsletter-title { font-size: 1.9rem; }
  .newsletter-section { padding: 56px 20px; }
  .newsletter-perks { gap: 14px; }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding: 48px 24px;
  }
  .footer-brand-desc {
    margin: 0 auto 24px;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-col-title {
    justify-content: center;
  }
  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col-title::before {
    display: none;
  }
  .footer-links a {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-payments {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .price-current {
    font-size: 1.15rem;
  }
  .btn-cart {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .product-card {
    border-radius: 12px;
  }
  .card-body {
    padding: 12px 12px 0;
  }
  .card-footer {
    padding: 10px 12px 12px;
    margin-top: 10px;
  }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAILS PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */
.product-page-layout {
  padding-top: var(--nav-h);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}
.breadcrumbs a:hover {
  color: var(--neon);
}
.breadcrumbs .divider {
  color: var(--text-muted);
}
.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 500;
}

.p-details-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .p-details-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.p-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-main-image-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.p-main-image-wrap img {
  width: 75%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
  filter: drop-shadow(0 0 24px rgba(0,255,135,0.15));
}
.p-main-image-wrap:hover img {
  transform: scale(1.04);
}
.p-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumb-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  aspect-ratio: 1/1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.thumb-btn img {
  width: 80%;
  height: auto;
  object-fit: contain;
}
.thumb-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.thumb-btn.active,
.p-details-hero:has(input[value="carbon"]:checked) .p-thumb-grid .thumb-btn:nth-child(1),
.p-details-hero:has(input[value="white"]:checked) .p-thumb-grid .thumb-btn:nth-child(2),
.p-details-hero:has(input[value="red"]:checked) .p-thumb-grid .thumb-btn:nth-child(3),
.p-details-hero:has(input[value="blue"]:checked) .p-thumb-grid .thumb-btn:nth-child(4) {
  border-color: var(--neon);
  box-shadow: 0 0 8px rgba(0,255,135,0.35);
  background: rgba(0, 255, 135, 0.02);
}

.p-info-col {
  display: flex;
  flex-direction: column;
}
.p-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.p-badge-new {
  background: var(--neon);
  color: var(--bg-void);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
}
.p-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.p-title {
  font-size: 2.2rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.p-rating-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.p-rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.p-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 24px;
}
.p-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(0,255,135,0.4);
}
.p-stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #00ff87;
  font-weight: 600;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #00ff87;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,255,135,0.6);
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,135,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(0,255,135,0); }
}

.p-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.p-options-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}
.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.option-label .selected-val {
  color: var(--text-primary);
  text-transform: none;
  font-weight: 500;
  margin-left: 4px;
}
.option-selectors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.opt-radio-hidden {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.opt-pill-btn {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base),
              background var(--transition-base), box-shadow var(--transition-base);
}
.opt-pill:has(.opt-radio-hidden:checked) .opt-pill-btn {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(0,255,135,0.06);
  box-shadow: 0 0 10px rgba(0,255,135,0.15);
}
.opt-pill-btn:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.cart-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.qty-selector {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  overflow: hidden;
  height: 46px;
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base);
}
.qty-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.qty-input {
  width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.p-add-cart-btn {
  flex: 1;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
}
.p-wishlist-btn {
  position: static !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: var(--radius-btn) !important;
}

.trust-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}
@media (max-width: 600px) {
  .trust-tags {
    grid-template-columns: 1fr;
  }
}
.tag-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tag-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.tag-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.tag-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.p-tabs-section {
  margin-bottom: 56px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
}
.tab-input {
  display: none;
}
.tab-labels-container {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-labels-container::-webkit-scrollbar {
  display: none;
}
.tab-label-btn {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 14px;
  cursor: pointer;
  transition: color var(--transition-base);
  position: relative;
  white-space: nowrap;
}
.tab-label-btn:hover {
  color: var(--text-primary);
}
.tab-label-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  box-shadow: var(--neon-glow);
}

#tab-overview:checked ~ .tab-labels-container label[for="tab-overview"],
#tab-specs:checked ~ .tab-labels-container label[for="tab-specs"],
#tab-reviews:checked ~ .tab-labels-container label[for="tab-reviews"] {
  color: var(--neon);
}
#tab-overview:checked ~ .tab-labels-container label[for="tab-overview"]::after,
#tab-specs:checked ~ .tab-labels-container label[for="tab-specs"]::after,
#tab-reviews:checked ~ .tab-labels-container label[for="tab-reviews"]::after {
  transform: scaleX(1);
}

.tab-contents-wrap .tab-content {
  display: none;
}

#tab-overview:checked ~ .tab-contents-wrap .overview-content,
#tab-specs:checked ~ .tab-contents-wrap .specs-content,
#tab-reviews:checked ~ .tab-contents-wrap .reviews-content {
  display: block;
  animation: tabFadeIn var(--transition-base);
}

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

.content-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}
.f-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 8px;
}
.f-card-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}
.specs-table th {
  font-weight: 700;
  color: var(--text-secondary);
  width: 250px;
}
.specs-table td {
  color: var(--text-primary);
}
.specs-table tr:hover {
  background: rgba(255,255,255,0.01);
}

.reviews-summary-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  margin-bottom: 32px;
  align-items: center;
}
@media (max-width: 600px) {
  .reviews-summary-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.score-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.score-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.rating-bar {
  height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
}
.fill-bar {
  height: 100%;
  background: var(--star-fill);
  box-shadow: 0 0 6px rgba(255,215,0,0.4);
  border-radius: inherit;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.author-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 8px;
}
.badge-verified {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--neon);
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.2);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.review-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.review-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 0 8px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.related-products-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 56px;
}
.section-title-label {
  font-size: 1.5rem;
  font-weight: 850;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}
.section-title-label span {
  background: linear-gradient(135deg, var(--neon) 0%, #00aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}
.card-title a:hover {
  color: var(--neon);
}

/* ── Pure CSS Color Image Swapping ──────────────────────────── */
.p-main-img {
  display: none;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  animation: imgFadeIn var(--transition-base);
}

@keyframes imgFadeIn {
  from { opacity: 0.75; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Toggle images based on the selected color radio input value */
.p-details-hero:has(input[value="carbon"]:checked) .img-carbon,
.p-details-hero:has(input[value="white"]:checked) .img-white,
.p-details-hero:has(input[value="red"]:checked) .img-red,
.p-details-hero:has(input[value="blue"]:checked) .img-blue {
  display: block;
}

/* ── Light Theme Variables ────────────────────────────────────── */
body.light-theme {
  --bg-void:        #f3f4f6;
  --bg-surface:     #ffffff;
  --bg-card:        rgba(0,0,0,0.03);
  --bg-card-hover:  rgba(0,0,0,0.06);
  --border-subtle:  rgba(0,0,0,0.08);
  --border-glow:    rgba(0,180,90,0.3);
  --text-primary:   #111827;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --star-empty:     #e5e7eb;

  /* Richer/Darker Icon Colors for Light Mode Contrast */
  --color-icon-all: #00b45a;
  --color-icon-controllers: #008fa5;
  --color-icon-monitors: #00a877;
  --color-icon-headsets: #d60062;
  --color-icon-keyboards: #8e00c7;
  --color-icon-mice: #d14600;
  --color-icon-laptops: #0070b4;
  --color-icon-gpu: #00b48f;
  --color-icon-vr: #bfa300;
  --color-icon-chairs: #d11515;
}
body.light-theme::before {
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(0,255,135,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(100,50,255,0.04) 0%, transparent 55%);
}
body.light-theme .nav {
  background: rgba(255,255,255,0.85);
}
body.light-theme .site-footer {
  background: #f9fafb;
}
body.light-theme .sidebar {
  background: #ffffff;
}
body.light-theme .view-btn {
  background: rgba(0,0,0,0.03);
}
body.light-theme .cart-drawer-content {
  background: #ffffff;
}

/* ── Cart Drawer Styles ───────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility var(--transition-base);
}
.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}
.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 9, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.cart-drawer.open .cart-drawer-overlay {
  opacity: 1;
}
.cart-drawer-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #0d1117;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.cart-drawer.open .cart-drawer-content {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-base);
}
.cart-close-btn:hover {
  color: var(--neon);
}
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty-state {
  margin: auto;
  text-align: center;
  color: var(--text-secondary);
}
.cart-empty-state .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.01);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  margin-bottom: 20px;
}
.checkout-btn {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Individual Cart Item Card */
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neon);
}
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}
.cart-item-qty-btn {
  width: 24px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
}
.cart-item-qty-input {
  width: 30px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color var(--transition-base);
}
.cart-item-remove:hover {
  color: #ff4a4a;
}
/* 1. تحديد عرض شريط التمرير بالكامل */
::-webkit-scrollbar {
    width: 12px; /* سمك الشريط على اليمين */
}

/* 2. خلفية المجرى اللي الشريط بيمشي جواه (Track) */
::-webkit-scrollbar-track {
    background: #000000; /* لون غامق نفس خلفية موقعك عشان يختفي جواه */
    border-left: 1px solid rgba(255, 255, 255, 0.05); /* خط نحيف جداً يفصله عن الموقع */
}

/* 3. الزرار نفسه اللي بتسحبه بماوس (Thumb) */
::-webkit-scrollbar-thumb {
    background: #1390bd; /* لون الزرار الأساسي رمادي غامق */
    border: 3px solid #121212; /* حركة صايعة: بتعمل بوردر بنفس لون الخلفية عشان الزرار يبان نحيف ومستدير */
    border-radius: 10px; /* تخلي حواف الزرار دائرية وناعمة */
    transition: background 0.3s ease;
}

/* 4. شكل الزرار لما المستخدم يقف عليه بالماوس (Hover) */
::-webkit-scrollbar-thumb:hover {
    background: #39FF14; /* يقلب نيون أخضر مشع أول ما تلمسه بالماوس! */
    box-shadow: 0 0 10px #39FF14; /* يعطي توهج خفيف للنيون */
}
/* الحاوية الكبيرة اللي بتغطي الشاشة كلها */
.exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* تعتيم الخلفية */
    backdrop-filter: blur(8px);
    z-index: 10000;
   
    /* السطور دي هي اللي بتجيبه في السنتر بالظبط */
    display: none; /* سيبه none وبكرة الجافا سكريبت هي اللي هتشغله */
    justify-content: center;
    align-items: center;
}
/* كارت الخصم نفسه */
.modal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #39FF14; /* بوردر نيون أخضر */
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3); /* توهج */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    max-width: 400px;
    width: 90%;
    margin: 20px;
    box-sizing: border-box;
}

.close-btn {
    background-color: #39FF14;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

/* ── Viewers Counter Styling ── */
.viewers-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0, 255, 135, 0.02);
  border: 1px solid rgba(0, 255, 135, 0.08);
  padding: 5px 12px;
  border-radius: 30px;
  margin-top: 2px;
  margin-bottom: 14px;
  width: fit-content;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: monospace;
  box-shadow: inset 0 0 8px rgba(0, 255, 135, 0.01);
  transition: all var(--transition-base);
}

.viewers-text::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon);
  animation: pulse-green-dot 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse-green-dot {
  0%, 100% { opacity: 0.45; box-shadow: 0 0 4px rgba(0, 255, 135, 0.3); }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 135, 0.8); }
}

.product-card:hover .viewers-text {
  color: var(--text-primary);
  border-color: rgba(0, 255, 135, 0.3);
  background: rgba(0, 255, 135, 0.06);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.08), inset 0 0 8px rgba(0, 255, 135, 0.02);
}

.viewers-count {
  color: var(--neon); /* Neon Green */
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 255, 135, 0.45);
  font-family: monospace;
  transition: text-shadow var(--transition-base);
}

.product-card:hover .viewers-count {
  text-shadow: 0 0 12px rgba(0, 255, 135, 0.8), 0 0 20px rgba(0, 255, 135, 0.4);
}

/* ── Shake Cart Animation ── */
@keyframes shake-cart-anim {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2) rotate(-10deg); }
  50% { transform: scale(1.2) rotate(10deg); }
  75% { transform: scale(1.2) rotate(-5deg); }
}

.shake-cart {
  animation: shake-cart-anim 0.5s ease-in-out;
  color: var(--neon) !important;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.35);
  border-radius: 50%;
}

/* ── Neon Toast Notification ── */
.neon-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 135, 0.2);
  color: var(--text-primary);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.neon-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.neon-toast::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--neon);
  color: var(--bg-void);
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Dynamic Bulk Discount Badge ── */
.p-discount-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--neon);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 12px;
  font-family: monospace;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(0, 255, 135, 0.3);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.1);
  vertical-align: middle;
  transition: all 0.3s ease;
}

/* ── Product Image Zoom Loupe ── */
.p-main-image-wrap {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.img-zoom-lens {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  box-shadow: 0 0 25px rgba(0, 255, 135, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.6);
  cursor: none;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-repeat: no-repeat;
  z-index: 10;
}

.p-main-image-wrap:hover .img-zoom-lens {
  opacity: 1;
  transform: scale(1);
}

/* ── No Search Results State ── */
.no-search-results {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text-secondary);
  animation: fadeIn 0.4s ease-out;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.2));
}

.no-search-results h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.no-search-results p {
  font-size: 0.9rem;
  max-width: 400px;
  line-height: 1.6;
}

/* ── Product Card Comparison Button ── */
.card-compare {
  position: absolute;
  top: 56px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(13,17,23,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: background var(--transition-base), border-color var(--transition-base),
              color var(--transition-base), box-shadow var(--transition-base);
}

.compare-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.3;
  display: block;
  pointer-events: none;
  transition: transform var(--transition-base);
}

.compare-checkbox-hidden {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.card-compare:hover {
  background: rgba(0, 255, 135, 0.12);
  border-color: rgba(0, 255, 135, 0.4);
  color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.card-compare:hover .compare-icon {
  transform: scale(1.08);
}

.card-compare:has(.compare-checkbox-hidden:checked) {
  background: rgba(0, 255, 135, 0.16);
  border-color: rgba(0, 255, 135, 0.5);
  color: var(--neon);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.3);
}

/* ── Comparison Bar Fixed at Bottom ── */
.comparison-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(0, 255, 135, 0.2);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  padding: 16px 40px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.comparison-bar.open {
  transform: translateY(0);
}

.comp-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.comp-bar-info {
  min-width: 200px;
}

.comp-bar-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.comp-bar-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.comp-bar-items {
  display: flex;
  align-items: center;
  gap: 15px;
}

.comp-item-slot {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-item-slot.filled {
  border-color: rgba(0, 255, 135, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.05);
}

.comp-item-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 0.3s ease;
}

.comp-item-remove {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255, 68, 102, 0.85);
  color: white;
  border: none;
  font-size: 0.7rem;
  font-weight: bold;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.comp-item-slot:hover .comp-item-remove {
  opacity: 1;
}

.comp-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Comparison Modal ── */
.comparison-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 15, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.comparison-modal.open {
  display: flex;
}

.comp-modal-card {
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 135, 0.15);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlideUp {
  0% { transform: translateY(40px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.comp-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comp-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.comp-modal-title span {
  color: var(--neon);
}

.comp-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.comp-modal-close:hover {
  color: #ff4466;
}

.comp-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.comp-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.comp-table th:last-child, .comp-table td:last-child {
  border-right: none;
}

.comp-table tr:last-child th, .comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 700;
  width: 25%;
}

.comp-table td {
  color: var(--text-secondary);
}

.comp-table .comp-header-row td {
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
}

.comp-table .comp-product-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.comp-table .comp-product-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.comp-table .comp-price-val {
  color: var(--neon);
  font-weight: 800;
  font-size: 1.1rem;
}

.comp-table .comp-rating-val {
  color: var(--star-fill);
  font-weight: bold;
}

/* ── Order Tracking Modal ── */
.tracking-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 15, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tracking-modal.open {
  display: flex;
}

.tracking-modal-content {
  width: 100%;
  max-width: 520px;
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 135, 0.15);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tracking-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tracking-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.tracking-modal-title span {
  color: var(--neon);
}

.tracking-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  padding: 0 5px;
}

.tracking-modal-close:hover {
  color: #ff4466;
}

.tracking-modal-body {
  padding: 24px;
}

.tracking-modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.tracking-form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tracking-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.tracking-input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.1), 0 0 10px rgba(0, 255, 135, 0.05);
}

.tracking-btn {
  padding: 0 24px;
  height: 46px;
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}

.tracking-results {
  min-height: 0;
  transition: all 0.3s ease;
}

/* ── Loader Styling ── */
.tracking-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  gap: 15px;
}

.tracking-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 255, 135, 0.1);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: tracking-spin 0.8s linear infinite;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.15);
}

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

.tracking-loader-text {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--neon);
  letter-spacing: 0.5px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ── Error state ── */
.tracking-error {
  background: rgba(255, 68, 102, 0.08);
  border: 1px solid rgba(255, 68, 102, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ff4466;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ── Order info cards ── */
.tracking-info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tracking-info-item {
  display: flex;
  flex-direction: column;
}

.tracking-info-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.tracking-info-value {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 700;
}

.tracking-info-value.status-glow {
  color: var(--neon);
  text-shadow: 0 0 8px rgba(0, 255, 135, 0.3);
}

/* ── Stepper ── */
.tracking-stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
  margin-top: 10px;
}

.tracking-stepper::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.stepper-progress-line {
  position: absolute;
  left: 28px;
  top: 10px;
  width: 2px;
  background: var(--neon);
  z-index: 2;
  height: 0; /* will be animated or styled dynamically */
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 3;
}

.step-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.stepper-step.completed .step-marker {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--bg-void);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.stepper-step.active .step-marker {
  background: var(--bg-void);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: markerPulse 1.5s infinite alternate;
}

@keyframes markerPulse {
  0% { transform: scale(1); box-shadow: 0 0 5px rgba(0, 255, 135, 0.3); }
  100% { transform: scale(1.15); box-shadow: 0 0 15px rgba(0, 255, 135, 0.8); }
}

.step-details {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.stepper-step.completed .step-title,
.stepper-step.active .step-title {
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stepper-step.active .step-desc {
  color: var(--text-secondary);
}

/* ── Footer Order Tracking Widget ── */
.footer-track-box {
  display: flex;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  padding: 3px;
  max-width: 220px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.footer-track-box:focus-within {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.15);
}
.footer-track-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 10px;
  color: var(--text-primary);
  font-size: 0.8rem;
  min-width: 0;
}
.footer-track-input::placeholder {
  color: var(--text-muted);
}
.footer-track-btn {
  background: var(--neon);
  color: var(--bg-void);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.footer-track-btn:hover {
  background: #00ffaa;
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

/* ── Notifications Center Dropdown ── */
.notif-badge-container {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 9px;
  height: 9px;
  background: #ff0055;
  border-radius: 50%;
  border: 1.5px solid var(--bg-void);
  box-shadow: 0 0 10px #ff0055, 0 0 5px #ff0055;
  animation: pulse 1.8s infinite;
  z-index: 10;
}

.notifications-dropdown {
  position: fixed;
  top: 75px;
  right: 30px;
  width: 330px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 135, 0.1);
  border-radius: 14px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  animation: dropdownFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.notifications-dropdown.open {
  display: flex;
}

@keyframes dropdownFadeIn {
  0% { transform: translateY(10px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.notif-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.notif-clear-all {
  background: transparent;
  border: none;
  color: var(--neon);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.notif-clear-all:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.notif-list {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.notif-list::-webkit-scrollbar {
  width: 4px;
}
.notif-list::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 2px;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background var(--transition-base);
  position: relative;
}

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

.notif-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.notif-item.unread {
  background: rgba(0, 255, 135, 0.02);
  border-left: 2.5px solid var(--neon);
}

.notif-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

.notif-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.notif-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notif-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 3px;
}

.notif-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  gap: 8px;
}

.notif-empty span {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.notif-empty p {
  font-size: 0.8rem;
  margin: 0;
}

/* ── Auth Modal ── */
.auth-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.auth-modal.open {
  pointer-events: auto;
}
.auth-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.auth-modal.open .auth-modal-overlay {
  opacity: 1;
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.auth-modal.open .auth-modal-card {
  opacity: 1;
  transform: translateY(0);
}
.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 15px;
}
.auth-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.auth-modal-title span {
  color: var(--neon);
}
.auth-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0;
}
.auth-modal-close:hover {
  color: var(--text-primary);
}
.auth-form .form-group {
  margin-bottom: 15px;
}
.auth-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-form input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-color);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

/* Google Auth Button */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 15px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.auth-divider span {
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: bold;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background: var(--surface-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  margin-bottom: 10px;
}
.btn-google:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* ===============================================================
   CUSTOM RESPONSIVE ALERT MODAL SYSTEM
   =============================================================== */
.custom-alert-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.custom-alert-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.custom-alert-card {
  background: rgba(13, 17, 23, 0.95);
  border: 2px solid var(--border-subtle);
  border-radius: 18px;
  width: 90%;
  max-width: 445px;
  padding: 30px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(40px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  z-index: 11001;
  text-align: center;
  box-sizing: border-box;
}
.custom-alert-overlay.open .custom-alert-card {
  transform: translateY(0) scale(1);
}

/* Status variations with beautiful neon glows */
.custom-alert-card.alert-success {
  border-color: #00ff87;
  box-shadow: 0 0 35px rgba(0, 255, 135, 0.25), 0 10px 40px rgba(0, 0, 0, 0.7);
}
.custom-alert-card.alert-error {
  border-color: #ff3366;
  box-shadow: 0 0 35px rgba(255, 51, 102, 0.25), 0 10px 40px rgba(0, 0, 0, 0.7);
}
.custom-alert-card.alert-warning {
  border-color: #ffcc00;
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.25), 0 10px 40px rgba(0, 0, 0, 0.7);
}
.custom-alert-card.alert-info {
  border-color: #00ccff;
  box-shadow: 0 0 35px rgba(0, 204, 255, 0.25), 0 10px 40px rgba(0, 0, 0, 0.7);
}

.custom-alert-icon {
  font-size: 3.2rem;
  margin-bottom: 18px;
  display: block;
}
.custom-alert-card.alert-success .custom-alert-icon { filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.6)); }
.custom-alert-card.alert-error .custom-alert-icon { filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.6)); }
.custom-alert-card.alert-warning .custom-alert-icon { filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.6)); }
.custom-alert-card.alert-info .custom-alert-icon { filter: drop-shadow(0 0 8px rgba(0, 204, 255, 0.6)); }

.custom-alert-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 12px;
  font-family: inherit;
}
.custom-alert-card.alert-success .custom-alert-title { color: #00ff87; text-shadow: 0 0 10px rgba(0, 255, 135, 0.2); }
.custom-alert-card.alert-error .custom-alert-title { color: #ff3366; text-shadow: 0 0 10px rgba(255, 51, 102, 0.2); }
.custom-alert-card.alert-warning .custom-alert-title { color: #ffcc00; text-shadow: 0 0 10px rgba(255, 204, 0, 0.2); }
.custom-alert-card.alert-info .custom-alert-title { color: #00ccff; text-shadow: 0 0 10px rgba(0, 204, 255, 0.2); }

.custom-alert-message {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.custom-alert-btn {
  background: var(--neon);
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}
.custom-alert-card.alert-success .custom-alert-btn {
  background: #00ff87;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}
.custom-alert-card.alert-error .custom-alert-btn {
  background: #ff3366;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}
.custom-alert-card.alert-warning .custom-alert-btn {
  background: #ffcc00;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}
.custom-alert-card.alert-info .custom-alert-btn {
  background: #00ccff;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.4);
}
.custom-alert-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.custom-alert-btn:active {
  transform: translateY(0);
}

/* ===============================================================
   NEON TOAST RESPONSIVE STYLING (REPLACING INLINE STYLES)
   =============================================================== */
.neon-toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.neon-toast {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--neon);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.2), 0 5px 15px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--text-primary);
  width: 320px;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(50px) scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  box-sizing: border-box;
}
.neon-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.neon-toast-header {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--neon);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toast-close {
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  transition: color 0.2s;
}
.toast-close:hover {
  color: #ff3366;
}
.neon-toast-message {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===============================================================
   MOBILE RESPONSIVENESS AND BOTTOM DRAWERS
   =============================================================== */
@media (max-width: 600px) {
  /* Center Toast Notifications on Mobile */
  .neon-toast-container {
    bottom: 20px;
    left: 20px;
    right: 20px;
    align-items: center;
  }
  .neon-toast {
    width: 100%;
    max-width: 100%;
  }

  /* Slide-up Bottom sheet Drawer for notifications on mobile */
  .notif-badge-container {
    position: static !important; /* Keep dropdown full width */
  }
  .notifications-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 75vh !important;
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    border-top: 2px solid var(--neon) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 135, 0.25) !important;
    transform: translateY(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: flex !important; /* Always display as flex to allow smooth transitions */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.35s ease, visibility 0.35s ease !important;
  }
  .notifications-dropdown.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .notif-list {
    max-height: calc(75vh - 70px) !important;
  }
  
  /* Ensure auth modal centers and scales perfectly down on super small screens without cut-offs */
  .auth-modal {
    align-items: flex-start !important; /* Prevent top/bottom cut-offs in flex containers */
    overflow-y: auto !important; /* Enable scrolling for tall form content on short viewports */
    padding: 30px 10px !important;
  }
  .auth-modal.open {
    pointer-events: auto !important;
  }
  .auth-modal-card {
    margin: auto !important; /* Centering fallback */
    width: 100% !important;
    max-width: 385px !important;
    padding: 24px 18px !important; /* Slightly more compact padding */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 255, 135, 0.05) !important;
  }
  .auth-form input {
    font-size: 0.98rem !important; /* Prevent automatic iOS browser zoom-on-focus issues */
    padding: 11px 12px !important;
  }

  /* Close button for notifications on mobile */
  .notif-close-btn {
    display: block !important;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s;
  }
  .notif-close-btn:hover {
    color: #ff3366;
  }

  /* Backdrop dimming overlay when notifications drawer is open on mobile */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 9, 0.75);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  body.notif-open {
    overflow: hidden; /* Prevent scrolling when drawer is open */
  }
  body.notif-open::after {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Close button hidden by default on desktop */
.notif-close-btn {
  display: none;
}

/* ── Skeleton Loading Skeletons ─────────────────────────────────── */
.skeleton-card {
  background: rgba(13, 17, 23, 0.7);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.skeleton-card::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: -150px;
  height: 100%; width: 150px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 135, 0.15), transparent);
  animation: skeleton-glow 1.5s infinite linear;
}

@keyframes skeleton-glow {
  0% { left: -150px; }
  100% { left: 100%; }
}

.skeleton-image {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  width: 100%;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.02);
}

.skeleton-text {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-title {
  width: 75%;
  height: 20px;
}

.skeleton-category {
  width: 40%;
  height: 12px;
}

.skeleton-price {
  width: 25%;
  height: 16px;
  margin-top: 10px;
}

.skeleton-button {
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: 6px;
  width: 100%;
  height: 38px;
  margin-top: auto;
}

/* ── RGB Theme Presets ─────────────────────────────────────────── */
body.theme-pink {
  --neon:           #ff007f;
  --neon-dim:       #cc0066;
  --neon-glow:      0 0 12px rgba(255,0,127,0.55), 0 0 30px rgba(255,0,127,0.2);
  --neon-glow-btn:  0 0 8px rgba(255,0,127,0.6), 0 0 20px rgba(255,0,127,0.3), inset 0 0 12px rgba(255,0,127,0.08);
  --border-glow:    rgba(255,0,127,0.4);
}
body.theme-pink .logo-icon svg path,
body.theme-pink .invoice-logo .logo-icon svg path {
  fill: #ff007f !important;
}
body.theme-pink .logo-text span {
  color: #ff007f !important;
}

body.theme-cyan {
  --neon:           #00f0ff;
  --neon-dim:       #00bccc;
  --neon-glow:      0 0 12px rgba(0,240,255,0.55), 0 0 30px rgba(0,240,255,0.2);
  --neon-glow-btn:  0 0 8px rgba(0,240,255,0.6), 0 0 20px rgba(0,240,255,0.3), inset 0 0 12px rgba(0,240,255,0.08);
  --border-glow:    rgba(0,240,255,0.4);
}
body.theme-cyan .logo-icon svg path,
body.theme-cyan .invoice-logo .logo-icon svg path {
  fill: #00f0ff !important;
}
body.theme-cyan .logo-text span {
  color: #00f0ff !important;
}

body.theme-gold {
  --neon:           #ffde00;
  --neon-dim:       #ccb200;
  --neon-glow:      0 0 12px rgba(255,222,0,0.55), 0 0 30px rgba(255,222,0,0.2);
  --neon-glow-btn:  0 0 8px rgba(255,222,0,0.6), 0 0 20px rgba(255,222,0,0.3), inset 0 0 12px rgba(255,222,0,0.08);
  --border-glow:    rgba(255,222,0,0.4);
}
body.theme-gold .logo-icon svg path,
body.theme-gold .invoice-logo .logo-icon svg path {
  fill: #ffde00 !important;
}
body.theme-gold .logo-text span {
  color: #ffde00 !important;
}

/* ── RGB Gear Customizer Panel ─────────────────────────────────── */
.rgb-customizer-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  font-family: monospace;
}

.rgb-toggle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle) !important;
  color: var(--neon) !important;
  cursor: pointer;
  box-shadow: var(--neon-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  padding: 0;
}

.rgb-toggle-btn:hover {
  transform: rotate(45deg) scale(1.05);
  border-color: var(--neon) !important;
  box-shadow: 0 0 15px var(--neon);
}

.rgb-gear-icon {
  width: 24px;
  height: 24px;
  animation: gear-spin 8s infinite linear;
}

@keyframes gear-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.rgb-menu {
  position: absolute;
  bottom: 65px;
  left: 0;
  width: 250px;
  background: rgba(8, 11, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transition: opacity var(--transition-base), transform var(--transition-base);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), var(--neon-glow);
}

.rgb-customizer-container.open .rgb-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.rgb-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.rgb-menu-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
}

.rgb-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
  transition: color 0.2s;
}

.rgb-close-btn:hover {
  color: var(--neon);
}

.rgb-menu-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.rgb-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rgb-option-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  font-family: inherit;
  outline: none;
}

.rgb-option-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.rgb-option-btn.active {
  background: rgba(255,255,255,0.08);
  border-color: var(--neon);
  box-shadow: inset 0 0 8px rgba(0,255,135,0.05);
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

/* ── Invoice Checkout Modal ─────────────────────────────────────── */
.invoice-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: 20px;
}

.invoice-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.invoice-modal-content {
  background: #0d1117;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--neon-glow);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-base);
  max-height: 90vh;
  overflow-y: auto;
}

.invoice-modal-overlay.open .invoice-modal-content {
  transform: translateY(0) scale(1);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.invoice-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.invoice-meta {
  text-align: right;
  font-family: monospace;
}

.invoice-meta h3 {
  color: var(--neon);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
  margin-top: 0;
}

.invoice-meta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 2px 0;
}

.invoice-separator {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 20px 0;
}

.invoice-billing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.invoice-billing strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-family: monospace;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.invoice-billing p {
  margin: 2px 0;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 15px 0;
}

.invoice-table th {
  border-bottom: 2px solid rgba(255,255,255,0.08);
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  padding: 10px 0;
}

.invoice-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}

.invoice-item-title {
  color: #fff;
  font-weight: 600;
}

.invoice-item-option {
  font-size: 0.75rem;
  color: var(--neon);
  margin-top: 2px;
}

.invoice-summary-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.promo-code-container {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 14px;
}

.promo-code-container label {
  display: block;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.promo-input-group {
  display: flex;
  gap: 8px;
}

.promo-input-group input {
  flex: 1;
  background: #080b0f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  padding: 6px 10px;
  font-family: monospace;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.promo-input-group input:focus {
  border-color: var(--neon);
}

.promo-input-group button {
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}

.promo-input-group button:hover {
  background: var(--neon);
  color: #080b0f;
}

#invoice-promo-status {
  font-size: 0.75rem;
  margin-top: 8px;
  font-family: monospace;
}

#invoice-promo-status.success {
  color: #00ff87;
}

#invoice-promo-status.error {
  color: #ff007f;
}

.invoice-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.totals-row span:last-child {
  color: #fff;
  font-family: monospace;
}

.grand-total-row {
  font-size: 1.15rem;
  font-weight: bold;
  color: #fff !important;
}

.grand-total-row span:last-child {
  color: var(--neon) !important;
  text-shadow: 0 0 10px rgba(0,255,135,0.3);
}

.invoice-footer-notes {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.invoice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.invoice-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  outline: none;
}

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

.invoice-btn-cancel:hover {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.invoice-btn-print {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

.invoice-btn-print:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.invoice-btn-whatsapp {
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid var(--neon);
  color: var(--neon);
}

.invoice-btn-whatsapp:hover {
  background: var(--neon);
  color: #080b0f;
}

/* ── Print Specific Styles ─────────────────────────────────────── */
@media print {
  body * {
    visibility: hidden;
  }
  
  .invoice-modal-overlay,
  .invoice-modal-overlay.open {
    position: absolute;
    inset: 0;
    background: #fff !important;
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  
  .invoice-modal-content {
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    max-height: none !important;
  }
  
  .invoice-modal-content * {
    visibility: visible;
    color: #000 !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  
  .no-print {
    display: none !important;
  }
  
  .invoice-separator {
    background: #ccc !important;
    height: 1px !important;
    margin: 15px 0 !important;
  }
  
  .invoice-logo span,
  .invoice-meta h3,
  .grand-total-row span:last-child {
    color: #000 !important;
  }
  
  .promo-code-container {
    display: none !important;
  }
  
  .invoice-summary-section {
    display: block !important;
  }
  
  .invoice-totals {
    width: 50% !important;
    float: right;
  }
  
  .invoice-footer-notes {
    margin-top: 100px !important;
    clear: both;
  }
}

/* ── Static Info Pages ─────────────────────────────────────────── */
.info-page-container {
  max-width: 900px;
  margin: 120px auto 60px; /* offset navbar */
  padding: 40px;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--neon-glow);
}

.info-header-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.info-header-title span {
  color: var(--neon);
  text-shadow: var(--neon-glow);
}

.info-last-updated {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: monospace;
  margin-bottom: 30px;
  display: block;
}

.info-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.98rem;
}

.info-content h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 12px;
  font-family: monospace;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.info-content p {
  margin-bottom: 15px;
}

.info-content ul, .info-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.info-content li {
  margin-bottom: 8px;
}

/* ── Holographic 3D Showroom ────────────────────────────────────── */
.showroom-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  max-width: 1300px;
  margin: 100px auto 50px;
  padding: 20px;
  min-height: 75vh;
}

.showroom-sidebar {
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 25px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.showroom-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  font-family: monospace;
  letter-spacing: 1px;
}

.showroom-title span {
  color: var(--neon);
  text-shadow: var(--neon-glow);
}

.showroom-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gear-selector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gear-select-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.gear-select-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.gear-select-btn.active {
  border-color: var(--neon);
  background: rgba(0, 255, 135, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 255, 135, 0.08), 0 0 12px rgba(0, 255, 135, 0.15);
  color: var(--neon);
}

.showroom-stage-wrapper {
  background: radial-gradient(circle at center, rgba(13, 20, 30, 0.4) 0%, #080b0f 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.5);
  cursor: grab;
  user-select: none;
  height: 550px;
}

.showroom-stage-wrapper:active {
  cursor: grabbing;
}

/* 3D Room effects */
.grid-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 250px;
  background-image: linear-gradient(rgba(0, 255, 135, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 255, 135, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  transform: perspective(500px) rotateX(70deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s;
  z-index: 1;
}

/* Hologram Podium */
.podium-base {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 20px;
  background: #11151d;
  border: 2px solid var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--neon), inset 0 0 20px rgba(0,255,135,0.4);
  pointer-events: none;
  z-index: 2;
}

.podium-ring-outer {
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 30px;
  border: 1px dashed var(--neon);
  border-radius: 50%;
  animation: ring-spin-clockwise 15s infinite linear;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.podium-ring-inner {
  position: absolute;
  bottom: 77px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 26px;
  border: 1px solid var(--neon);
  border-radius: 50%;
  animation: ring-spin-counter 10s infinite linear;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}

@keyframes ring-spin-clockwise {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes ring-spin-counter {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(-360deg); }
}

/* Holographic Rays */
.holo-rays {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 350px;
  background: linear-gradient(to top, rgba(0, 255, 135, 0.15) 0%, transparent 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at bottom, rgba(0,0,0,1), rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at bottom, rgba(0,0,0,1), rgba(0,0,0,0) 70%);
  z-index: 3;
}

/* 3D Holo Stage Object */
.holo-stage-3d {
  position: relative;
  width: 500px;
  height: 500px;
  transform-style: preserve-3d;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease-out;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  z-index: 4;
}

.holo-stage-object {
  position: relative;
  width: 420px;
  height: 420px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: holo-float 5s infinite ease-in-out;
}

@keyframes holo-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.holo-stage-object img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transform: translateZ(20px) scale(var(--scale, 1.4));
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.holo-stage-object::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: var(--neon, #00ff87);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(10px);
  transition: background 0.3s;
}

/* Hologram Scanning Line */
.holo-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--neon);
  box-shadow: 0 0 15px var(--neon), 0 0 30px var(--neon);
  opacity: 0.8;
  animation: scan-move 4s infinite ease-in-out;
  pointer-events: none;
  z-index: 10;
  transform: translateZ(50px);
}

@keyframes scan-move {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 90%; opacity: 0; }
}

/* Technical Hotspots */
.tech-hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.4);
  border: 2px solid var(--neon);
  box-shadow: 0 0 8px var(--neon);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(40px);
  transition: transform 0.2s, background 0.2s;
}

.tech-hotspot:hover {
  transform: translateZ(45px) scale(1.2);
  background: var(--neon);
}

.tech-hotspot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--neon);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite ease-out;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-hud {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 200px;
  background: rgba(8, 11, 15, 0.95);
  border: 1px solid var(--neon);
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  font-family: monospace;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5), var(--neon-glow);
  z-index: 100;
  line-height: 1.4;
  text-align: left;
}

.tech-hotspot:hover .hotspot-hud {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.hud-title {
  color: var(--neon);
  font-weight: bold;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2px;
  letter-spacing: 0.5px;
}

/* Upload Widget inside sidebar */
.upload-gear-box {
  background: rgba(255,255,255,0.01);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.upload-gear-box:hover {
  border-color: var(--neon);
  background: rgba(0,255,135,0.02);
}

.upload-gear-box svg {
  width: 32px;
  height: 32px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  transition: color 0.2s;
}

.upload-gear-box:hover svg {
  color: var(--neon);
}

.upload-gear-box p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.hidden-file-input {
  display: none;
}

/* Controls inside sidebar */
.showroom-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showroom-control-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
}

.showroom-color-picker {
  display: flex;
  gap: 8px;
}

.showroom-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.showroom-color-dot:hover {
  transform: scale(1.15);
  border-color: #fff;
}

.showroom-color-dot.active {
  transform: scale(1.15);
  border-color: #fff;
  box-shadow: 0 0 10px currentColor;
}

/* Responsive Showroom */
@media (max-width: 900px) {
  .showroom-container {
    grid-template-columns: 1fr;
    margin-top: 90px;
  }
  
  .showroom-stage-wrapper {
    height: 450px;
  }
}

/* ===============================================================
   PREMIUM BILINGUAL (ARABIC / RTL) LAYOUT CUSTOM STYLES
   =============================================================== */
body.lang-ar {
  direction: rtl;
  text-align: right;
  font-family: 'Outfit', 'Cairo', 'Inter', sans-serif;
}

body.lang-ar .nav-search svg {
  left: auto;
  right: 15px;
}

body.lang-ar .nav-search input {
  padding-left: 15px;
  padding-right: 42px;
}

body.lang-ar .cart-badge {
  left: auto;
  right: 18px;
}

body.lang-ar .sidebar {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
}

body.lang-ar .filter-icon {
  margin-right: 0;
  margin-left: 12px;
}

body.lang-ar .filter-count {
  margin-left: 0;
  margin-right: auto;
}

body.lang-ar .card-wishlist {
  right: auto;
  left: 12px;
}

body.lang-ar .card-compare {
  right: auto;
  left: 12px;
}

body.lang-ar .card-rating .stars {
  margin-right: 0;
  margin-left: 8px;
}

body.lang-ar .comp-bar-info {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
  margin-right: 0;
  margin-left: 20px;
  padding-right: 0;
  padding-left: 20px;
}

body.lang-ar .custom-alert-icon {
  filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.6));
}

body.lang-ar .invoice-meta {
  text-align: left;
}

body.lang-ar .invoice-billing {
  text-align: right;
}

body.lang-ar .invoice-billing div:last-child {
  text-align: left !important;
}

body.lang-ar .invoice-totals {
  text-align: left;
}

body.lang-ar .write-review-section {
  text-align: right;
}

body.lang-ar .tech-hotspot .hotspot-hud {
  text-align: right;
}

/* ===============================================================
   PREMIUM DYNAMIC WRITE REVIEW FORM STYLING
   =============================================================== */
.write-review-section {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 35px;
  margin-bottom: 20px;
}

.write-review-section h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-family: monospace;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.write-review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 550px;
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-rating-stars {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
  color: #3a3f47;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s;
}

.review-rating-stars .review-star {
  transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
}

.review-rating-stars .review-star:hover {
  transform: scale(1.2);
}

.review-rating-stars .review-star.glow {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
}

/* ===============================================================
   PREMIUM GLOWING NEON FLOATING SUPPORT CHATBOT WIDGET
   =============================================================== */
.support-bot-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

body.lang-ar .support-bot-container {
  left: auto;
  right: 30px;
}

.support-bot-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--neon);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.3), inset 0 0 10px rgba(0, 255, 135, 0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.support-bot-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.6), inset 0 0 15px rgba(0, 255, 135, 0.3);
}

.support-bot-btn svg {
  width: 28px;
  height: 28px;
}

.support-bot-card {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 350px;
  height: 480px;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 255, 135, 0.35);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 135, 0.1);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: supportBotFadeIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-sizing: border-box;
}

body.lang-ar .support-bot-card {
  left: auto;
  right: 0;
}

.support-bot-card.open {
  display: flex;
}

@keyframes supportBotFadeIn {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.support-bot-header {
  padding: 16px 20px;
  background: rgba(0, 255, 135, 0.05);
  border-bottom: 1px solid rgba(0, 255, 135, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-bot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-bot-avatar {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1.5px solid var(--neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 8px var(--neon);
}

.support-bot-title-group {
  display: flex;
  flex-direction: column;
}

.support-bot-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.support-bot-subtitle {
  font-size: 0.68rem;
  color: var(--neon);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.support-bot-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0;
}

.support-bot-close:hover {
  color: #ff3366;
}

.support-bot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.support-bot-messages::-webkit-scrollbar {
  width: 4px;
}
.support-bot-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.bot-msg {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.bot-msg.incoming {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

body.lang-ar .bot-msg.incoming {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 2px;
  align-self: flex-start;
}

.bot-msg.outgoing {
  background: var(--neon);
  color: #000;
  font-weight: 700;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 3px 12px rgba(57, 255, 20, 0.15);
}

body.lang-ar .bot-msg.outgoing {
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 2px;
  align-self: flex-end;
}

.support-bot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.support-bot-option-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 6px 12px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.support-bot-option-btn:hover {
  background: rgba(0, 255, 135, 0.05);
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-1.5px);
  box-shadow: 0 3px 8px rgba(0, 255, 135, 0.15);
}

.support-bot-input-area {
  padding: 12px;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 8px;
}

.support-bot-input {
  flex: 1;
  background: var(--bg-void, #040609);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 8px 16px;
  color: #fff;
  font-size: 0.8rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.support-bot-input:focus {
  border-color: var(--neon);
}

.support-bot-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--neon);
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  flex-shrink: 0;
}

.support-bot-send:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.support-bot-send svg {
  width: 16px;
  height: 16px;
}

/* Chatbot dynamic loading skeleton dots */
.bot-typing-dots {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
}

.bot-typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: botTypingDot 1.4s infinite both;
}

.bot-typing-dots span:nth-child(2) { animation-delay: .2s; }
.bot-typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes botTypingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 450px) {
  .support-bot-card {
    width: calc(100vw - 40px);
    height: 400px;
    bottom: 70px;
  }
}

/* ── ADDITIONAL MOBILE & RESPONSIVE LAYOUT OVERRIDES ── */

@media (max-width: 900px) {
  .holo-stage-3d {
    width: 100% !important;
    max-width: 380px !important;
    height: 380px !important;
  }
  .holo-stage-object {
    width: 100% !important;
    max-width: 320px !important;
    height: 320px !important;
  }
}

@media (max-width: 550px) {
  .holo-stage-3d {
    width: 100% !important;
    max-width: 290px !important;
    height: 290px !important;
  }
  .holo-stage-object {
    width: 100% !important;
    max-width: 240px !important;
    height: 240px !important;
  }
  .podium-ring-outer {
    width: 200px !important;
    height: 20px !important;
  }
  .podium-ring-inner {
    width: 160px !important;
    height: 16px !important;
  }
  .podium-base {
    width: 140px !important;
    height: 20px !important;
  }
  .holo-rays {
    width: 100px !important;
    height: 180px !important;
  }
}

@media (max-width: 600px) {
  /* Comparison Bar overrides */
  .comparison-bar {
    padding: 10px 15px !important;
  }
  .comp-bar-container {
    gap: 10px !important;
    justify-content: center !important;
  }
  .comp-bar-info {
    text-align: center !important;
    min-width: 100% !important;
    margin-bottom: 5px !important;
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .comp-bar-items {
    justify-content: center !important;
    width: 100% !important;
  }
  .comp-bar-actions {
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* Showroom button controls override */
  .gear-selector-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .gear-select-btn {
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  /* Newsletter Perks */
  .newsletter-perks {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 8px !important;
  }
  .nl-perk {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  /* Newsletter layout overrides */
  .newsletter-title {
    font-size: 1.8rem !important;
  }
  .newsletter-form {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .newsletter-form input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .newsletter-form button {
    width: 100% !important;
  }
  .newsletter-perks {
    grid-template-columns: 1fr !important;
  }
  
  /* Auth Modal wrapper */
  .auth-modal-card {
    width: calc(100vw - 30px) !important;
    padding: 20px 15px !important;
  }
}

/* Hide floating chatbot and theme customizer on mobile/small screens when cart is open */
@media (max-width: 900px) {
  body.cart-open #neontech-support-chatbot,
  body.cart-open #rgb-customizer {
    display: none !important;
  }
}