/* NextGenStore Custom Styling & Animations */
/* High-Contrast Design System: #ffffff, #00070f, #297DD2 */
:root {
  --color-base: #00070f;
  --color-primary: #297DD2;
  --color-accent: #297DD2;
  --color-dark: #00070f;
  --color-surface: #00070f;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-cream: #ffffff;
  --color-coral: #297DD2;
  --color-sage: #297DD2;
  --color-navy: #00070f;
}

/* Smooth Scrolling & Typography System (Shopify Digital Store Standard) */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #00070f !important;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #00070f !important;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Shopify Digital Heading Tracking & Typography Hierarchy */
h1, h2, h3, .shopify-heading {
  letter-spacing: -0.025em;
}

/* Shopify Tabular Numerals for Pricing (Prevents Jitter across Currencies) */
[data-price-id], #cart-subtotal, #modal-total-price, .tabular-nums, .price-display {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv02" 1;
}

/* Shopify Digital Kicker Micro-Badges */
.shopify-kicker {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

/* Shopify Top Announcement Bar Ticker */
.shopify-announcement-bar {
  background-color: #00070f;
  border-bottom: none;
  color: #ffffff;
}

/* Shopify Digital Trust Pillars Card */
.shopify-trust-card {
  background-color: #00070f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shopify-trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 125, 210, 0.5);
  box-shadow: 0 10px 24px -6px rgba(0, 7, 15, 0.5), 0 0 0 1px rgba(41, 125, 210, 0.3);
}

body.admin-body {
  background-color: #00070f !important;
  color: #ffffff !important;
}

/* Background Grid disabled so exact colors are preserved with zero alterations */
.bg-subtle-grid {
  background-image: none !important;
}

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* True Horizontal Sliding Track (1 Deal at a Time) */
.hero-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 400% !important; /* 4 slides, each 100% width */
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide-item {
  width: 25% !important; /* Exactly 100% of viewport */
  min-width: 25% !important;
  max-width: 25% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  min-height: auto;
}

@media (min-width: 640px) {
  .hero-slide-item {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .hero-slide-item {
    min-height: 520px;
  }
}

/* Cinematic Gradient Overlay (PlayStation Style with Clean Artwork Visibility) */
.hero-cinematic-overlay {
  background: linear-gradient(
    90deg, 
    rgba(0, 7, 15, 0.75) 0%, 
    rgba(0, 7, 15, 0.20) 40%, 
    transparent 70%
  );
}

@media (max-width: 768px) {
  .hero-cinematic-overlay {
    background: linear-gradient(
      180deg, 
      transparent 0%, 
      rgba(0, 7, 15, 0.40) 40%, 
      rgba(0, 7, 15, 0.85) 100%
    );
  }
}

/* Hero Progress Indicator Bars */
.hero-indicator-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.hero-indicator-progress {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.1s linear;
}

/* Card Hover Lift & Glow */
.game-card {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 25px -8px rgba(0, 7, 15, 0.7), 0 0 0 1px rgba(41, 125, 210, 0.45);
}

/* Micro-interaction Button Press */
.btn-press {
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-press:active {
  transform: scale(0.96);
}

/* Chatbot Bubbles */
.chat-bubble-user {
  background-color: #297DD2;
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
}

.chat-bubble-bot {
  background-color: #00070f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px 18px 18px 4px;
}

/* ==========================================================================
   PLAYSTATION & STEAM DESIGN SYSTEM EXTENSIONS
   Typography, Consistent 16:9 Image Ratios, Media Galleries & Badges
   ========================================================================== */

/* Rigid Aspect Containers - Prevents any image stretching or distortion */
.media-frame-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #00070f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 10;
  transition: filter 0.3s ease;
}

.game-card:hover .media-cover {
  /* Keep whole pic visible without zoom in */
  transform: none;
  filter: brightness(1.06);
}

/* Cashback Styling */
.cashback-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: -0.01em;
}

.cashback-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 700;
}

.customer-note-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.media-ambient-blur {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(28px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Steam & PlayStation Typography & Badges */
.steam-discount-pill {
  background: #297DD2;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.steam-score-badge {
  background: #00070f;
  border: 1px solid #297DD2;
  color: #297DD2;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ps-platform-tag {
  background: #00070f;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.slot-toggle-btn {
  transition: all 0.2s ease;
}

.slot-toggle-btn.active {
  background: #297DD2;
  color: #ffffff;
  font-weight: 900;
  border-color: #297DD2;
  box-shadow: 0 4px 14px rgba(41, 125, 210, 0.45);
}

.slot-toggle-btn:not(.active) {
  background: #00070f;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slot-toggle-btn:not(.active):hover {
  background: #00070f;
  border-color: #297DD2;
  color: #297DD2;
}

/* PlayStation Product Media Stage */
.ps-stage-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #00070f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.9);
}

.ps-gallery-viewport {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #297DD2 #00070f;
}

.ps-gallery-thumb {
  position: relative;
  flex: 0 0 100px;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 640px) {
  .ps-gallery-thumb {
    flex: 0 0 120px;
  }
}

.ps-gallery-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ps-gallery-thumb.active {
  opacity: 1;
  border-color: #297DD2;
  box-shadow: 0 0 12px rgba(41, 125, 210, 0.5);
  transform: translateY(-2px);
}

/* Subtle image shimmer animation while loading */
@keyframes mediaShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.media-shimmer {
  background: linear-gradient(90deg, #00070f 25%, rgba(255, 255, 255, 0.08) 50%, #00070f 75%);
  background-size: 200% 100%;
  animation: mediaShimmer 2s infinite ease-in-out;
}


/* ==========================================================================
   FLOATING & INTERACTIVE GAMING LOGOS ANIMATIONS
   PlayStation, Xbox, Steam & Switch Floating Particles & Dock
   ========================================================================== */

@keyframes floatSlow1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(4deg);
  }
}

@keyframes floatSlow2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(-5deg);
  }
}

@keyframes floatSlow3 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}

@keyframes floatSlow4 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(-4deg);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(41, 125, 210, 0.35);
  }
  50% {
    box-shadow: 0 0 25px rgba(41, 125, 210, 0.65), 0 0 12px rgba(41, 125, 210, 0.5);
  }
}

.float-orb-1 {
  animation: floatSlow1 5.2s infinite ease-in-out;
}

.float-orb-2 {
  animation: floatSlow2 6.4s infinite ease-in-out 0.8s;
}

.float-orb-3 {
  animation: floatSlow3 5.8s infinite ease-in-out 1.6s;
}

.float-orb-4 {
  animation: floatSlow4 7s infinite ease-in-out 2.4s;
}

.floating-logo-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #00070f;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-logo-orb:hover {
  transform: scale(1.18) translateY(-4px) !important;
  border-color: #297DD2;
  box-shadow: 0 12px 30px -4px rgba(41, 125, 210, 0.55), 0 0 20px rgba(41, 125, 210, 0.45);
}

.floating-logo-orb:active {
  transform: scale(0.92) !important;
}

/* ==========================================================================
   NEXTGEN CLEAN LIGHT MODE DESIGN SYSTEM
   Pure Crisp White (#ffffff) Background & Bold High-Contrast Black (#000000) Text
   100% Original Logo Graphics with Zero Filters
   ========================================================================== */

/* 1. Global Page Background & High-Contrast Typography */
html.theme-light,
html.theme-light body:not(.admin-body) {
  background-color: #ffffff !important;
  color: #000000 !important;
}

html.theme-light {
  color-scheme: light;
}

/* All Headings Solid Black */
html.theme-light h1,
html.theme-light h2,
html.theme-light h3,
html.theme-light h4,
html.theme-light h5,
html.theme-light h6,
html.theme-light .shopify-heading {
  color: #000000 !important;
}

/* General Body & Paragraph Text in Light Mode */
html.theme-light p {
  color: #1e293b;
}

/* 2. Brand Logo: Dedicated high-contrast asset in light mode with crisp zero-blur rendering */
html.theme-light header a img[alt*="NextGenStore"],
html.theme-light img[alt*="NextGenStore"],
html.theme-light footer a img[alt*="NextGenStore"],
html.theme-light .admin-body img[alt*="NextGenStore"] {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
}

/* 3. Universal Border Protection: Transform low-contrast white borders into clean slate */
html.theme-light .border-white\/10,
html.theme-light .border-white\/15,
html.theme-light .border-white\/20,
html.theme-light .border-white\/30,
html.theme-light .border-white\/40,
html.theme-light .border-white\/50,
html.theme-light .border-white\/60 {
  border-color: #e2e8f0 !important;
}

/* 4. Top Announcement Bar */
html.theme-light .shopify-announcement-bar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #000000 !important;
}

html.theme-light .shopify-announcement-bar span,
html.theme-light .shopify-announcement-bar .text-white\/90,
html.theme-light .shopify-announcement-bar .text-white\/80 {
  color: #000000 !important;
}

html.theme-light .shopify-announcement-bar .text-white\/50,
html.theme-light .shopify-announcement-bar .text-white\/30 {
  color: #94a3b8 !important;
}

/* 5. Sticky Header in Light Mode: Pure White with Slate Border */
html.theme-light header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

/* Header Action Buttons (Cart, Wishlist, Theme, Mobile Menu, Currency, Category) */
html.theme-light header button#category-dropdown-btn,
html.theme-light header button#currency-btn,
html.theme-light header button#currency-dropdown-btn,
html.theme-light header button#open-wishlist-btn,
html.theme-light header button#open-cart-btn,
html.theme-light header button#mobile-menu-toggle,
html.theme-light header button#theme-toggle-btn,
html.theme-light header #category-dropdown-container a,
html.theme-light header #category-dropdown-container button,
html.theme-light header #currency-menu-container button,
html.theme-light header #currency-dropdown-container button {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light header button#category-dropdown-btn:hover,
html.theme-light header button#currency-btn:hover,
html.theme-light header button#currency-dropdown-btn:hover,
html.theme-light header button#open-wishlist-btn:hover,
html.theme-light header button#open-cart-btn:hover,
html.theme-light header button#mobile-menu-toggle:hover,
html.theme-light header button#theme-toggle-btn:hover,
html.theme-light header #category-dropdown-container a:hover,
html.theme-light header #category-dropdown-container button:hover,
html.theme-light header #currency-menu-container button:hover,
html.theme-light header #currency-dropdown-container button:hover {
  background-color: #f1f5f9 !important;
  border-color: #297DD2 !important;
  color: #000000 !important;
}

/* Ensure Catalog text and Currency text inside header buttons are crisp solid black (Image 3 fix) */
html.theme-light #category-selected-label,
html.theme-light #current-currency-label,
html.theme-light #currency-selected-label,
html.theme-light header button#category-dropdown-btn span,
html.theme-light header button#currency-btn span,
html.theme-light header button#currency-dropdown-btn span {
  color: #000000 !important;
}

/* Header Button Icons: Ensure shopping cart, hamburger, etc. are crisp black, not white */
html.theme-light header button#open-cart-btn i,
html.theme-light header button#open-cart-btn svg,
html.theme-light header button#mobile-menu-toggle i,
html.theme-light header button#mobile-menu-toggle svg,
html.theme-light header button#currency-btn i,
html.theme-light header button#currency-btn svg,
html.theme-light header button#currency-dropdown-btn i,
html.theme-light header button#currency-dropdown-btn svg,
html.theme-light header button#category-dropdown-btn i,
html.theme-light header button#open-wishlist-btn i:not(.fill-\[\#297DD2\]),
html.theme-light header button i.text-\[\#ffffff\],
html.theme-light header button.text-\[\#ffffff\] {
  color: #000000 !important;
  stroke: #000000 !important;
}

/* Keep the globe icon blue as brand accent */
html.theme-light header button#currency-btn i[data-lucide="globe"],
html.theme-light header button#currency-dropdown-btn i[data-lucide="globe"] {
  color: #297DD2 !important;
  stroke: #297DD2 !important;
}

/* Cart & Wishlist Badge stays sharp */
html.theme-light #cart-badge,
html.theme-light #wishlist-badge {
  color: #ffffff !important;
  background-color: #297DD2 !important;
}

/* Header Search inputs */
html.theme-light input#search-input,
html.theme-light input#mobile-search-input {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light input#search-input::placeholder,
html.theme-light input#mobile-search-input::placeholder {
  color: #64748b !important;
}

html.theme-light #search-dropdown,
html.theme-light #mobile-search-dropdown {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

html.theme-light .search-result-item {
  color: #000000 !important;
}

html.theme-light .search-result-item:hover {
  background-color: #f1f5f9 !important;
}

/* Header Dropdowns & Option Menus (Image 4 & Currency Dropdown fix) */
html.theme-light #category-dropdown-menu,
html.theme-light #currency-dropdown,
html.theme-light #currency-dropdown-menu,
html.theme-light #search-dropdown,
html.theme-light #mobile-search-dropdown {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Every single option, button, and span inside category and currency dropdown menus */
html.theme-light #category-dropdown-menu button,
html.theme-light #category-dropdown-menu a,
html.theme-light #category-dropdown-menu span,
html.theme-light #category-dropdown-menu div,
html.theme-light .category-dropdown-option,
html.theme-light #currency-dropdown button,
html.theme-light #currency-dropdown span,
html.theme-light #currency-dropdown-menu button,
html.theme-light #currency-dropdown-menu span {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Country label secondary text in currency dropdown (e.g. "Pakistan", "United States") */
html.theme-light #currency-dropdown span.text-slate-400,
html.theme-light #currency-dropdown-menu span.text-slate-400 {
  color: #64748b !important;
}

/* Hover states for currency and category options */
html.theme-light .category-dropdown-option:hover,
html.theme-light #category-dropdown-menu button:hover,
html.theme-light #currency-dropdown button:hover,
html.theme-light #currency-dropdown-menu button:hover {
  background-color: #f1f5f9 !important;
}

html.theme-light #category-dropdown-menu button:hover span,
html.theme-light #currency-dropdown button:hover span,
html.theme-light #currency-dropdown-menu button:hover span {
  color: #297DD2 !important;
}

html.theme-light #category-dropdown-menu i[data-lucide="chevron-down"],
html.theme-light #currency-dropdown i[data-lucide="chevron-down"],
html.theme-light #currency-dropdown-menu i[data-lucide="chevron-down"],
html.theme-light #category-dropdown-chevron,
html.theme-light #currency-dropdown-chevron {
  color: #000000 !important;
}

/* 6. Trust Pillar Cards */
html.theme-light .shopify-trust-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light .shopify-trust-card:hover {
  border-color: #297DD2 !important;
  box-shadow: 0 10px 24px -6px rgba(41, 125, 210, 0.2) !important;
}

html.theme-light .shopify-trust-card h4 {
  color: #000000 !important;
}

html.theme-light .shopify-trust-card p {
  color: #334155 !important;
}

/* 7. Hero Section Slider indicators */
html.theme-light #hero-indicators-container {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

html.theme-light .hero-indicator-label {
  color: #000000 !important;
}

/* 8. NextGen Cinema Theater */
html.theme-light #nextgen-theater-section h2 {
  color: #000000 !important;
}

html.theme-light #nextgen-theater-section a[href="#product-grid"] {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light #nextgen-theater-section a[href="#product-grid"]:hover {
  border-color: #297DD2 !important;
  background-color: #f8fafc !important;
}

/* 9. Category & Subcategory Filter Pills */
html.theme-light .cat-pill:not(.bg-\[\#297DD2\]),
html.theme-light .sub-cat-pill:not(.bg-\[\#297DD2\]),
html.theme-light .sub-pill:not(.bg-\[\#297DD2\]) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light .cat-pill:not(.bg-\[\#297DD2\]):hover,
html.theme-light .sub-cat-pill:not(.bg-\[\#297DD2\]):hover,
html.theme-light .sub-pill:not(.bg-\[\#297DD2\]):hover {
  background-color: #f8fafc !important;
  border-color: #297DD2 !important;
  color: #297DD2 !important;
}

html.theme-light .sub-filter-row {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* 10. Catalog Budget Filter & Sort Bar (Resolves Image 1) */
html.theme-light #catalog-filter-bar,
html.theme-light #catalog-section > div.flex.flex-col.sm\:flex-row {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light #catalog-filter-bar span,
html.theme-light #catalog-filter-bar label,
html.theme-light #catalog-section span.text-slate-300,
html.theme-light #catalog-section label.text-slate-300 {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light .price-filter-pill:not(.bg-\[\#297DD2\]) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light .price-filter-pill:not(.bg-\[\#297DD2\]):hover {
  background-color: #f1f5f9 !important;
  border-color: #297DD2 !important;
  color: #297DD2 !important;
}

html.theme-light #catalog-sort-select,
html.theme-light #catalog-limit-select {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light #catalog-sort-select option,
html.theme-light #catalog-limit-select option {
  background-color: #ffffff !important;
  color: #000000 !important;
}

html.theme-light #catalog-count-badge {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #297DD2 !important;
}

/* 11. Product Cards (.game-card) in Light Mode */
html.theme-light .game-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light .game-card:hover {
  border-color: #297DD2 !important;
  box-shadow: 0 14px 28px -6px rgba(0, 7, 15, 0.12), 0 0 0 1px rgba(41, 125, 210, 0.45) !important;
}

html.theme-light .game-card h3,
html.theme-light .game-card h3.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light .game-card p.text-slate-300,
html.theme-light .game-card p.text-slate-400 {
  color: #334155 !important;
}

html.theme-light .game-card [data-price-id],
html.theme-light .game-card [id^="card-price-"] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light .game-card .bg-\[\#00070f\] {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
}

html.theme-light .game-card button.text-slate-300 {
  color: #000000 !important;
}

html.theme-light .game-card .ps-platform-tag {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light .game-card button[aria-label="Wishlist"] {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

/* 12. "How It Works" 1-2-3 Section (Resolves Image 4) */
html.theme-light #how-it-works-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html.theme-light #how-it-works-section h2,
html.theme-light #how-it-works-section h2.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light #how-it-works-section .grid > div {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light #how-it-works-section h3,
html.theme-light #how-it-works-section h3.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light #how-it-works-section p,
html.theme-light #how-it-works-section p.text-\[\#ffffff\]\/75 {
  color: #1e293b !important;
  font-weight: 500 !important;
}

/* 13. Customer Reviews Section */
html.theme-light #reviews-container + section h2,
html.theme-light section:has(#reviews-container) h2,
html.theme-light #reviews-container ~ * h2 {
  color: #000000 !important;
}

html.theme-light #reviews-container > div {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light #reviews-container span.text-\[\#ffffff\]\/60 {
  color: #475569 !important;
}

html.theme-light #reviews-container p.text-\[\#ffffff\]\/80 {
  color: #1e293b !important;
}

html.theme-light #reviews-container span.font-extrabold.text-\[\#ffffff\] {
  color: #000000 !important;
}

html.theme-light #reviews-container .border-white\/15 {
  border-color: #e2e8f0 !important;
}

/* 14. FAQ Section & Accordion (Resolves Image 5) */
html.theme-light #faq-section {
  background-color: #ffffff !important;
}

html.theme-light #faq-section h2,
html.theme-light #faq-section h2.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light #faq-section p.text-slate-300 {
  color: #334155 !important;
}

html.theme-light .faq-category-pill:not(.bg-\[\#297DD2\]) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light .faq-category-pill:not(.bg-\[\#297DD2\]):hover {
  background-color: #f1f5f9 !important;
  border-color: #297DD2 !important;
  color: #297DD2 !important;
}

html.theme-light .faq-item-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light .faq-item-card:hover {
  border-color: #297DD2 !important;
}

html.theme-light .faq-item-card button:hover {
  background-color: #f8fafc !important;
}

/* Crucial: Question Text in FAQ Accordion */
html.theme-light .faq-item-card span.text-\[\#ffffff\],
html.theme-light .faq-item-card button span {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light .faq-item-card svg.text-slate-400 {
  color: #000000 !important;
  stroke: #000000 !important;
}

html.theme-light .faq-answer-block {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html.theme-light .faq-answer-block p {
  color: #1e293b !important;
}

html.theme-light .faq-answer-block strong.text-\[\#ffffff\],
html.theme-light .faq-answer-block strong {
  color: #000000 !important;
}

/* FAQ Help / Still Have a Question Card (Image 2 fix) */
html.theme-light #faq-help-card,
html.theme-light #faq-section div.mt-8.p-6.rounded-3xl,
html.theme-light #faq-section div[class*="rounded-3xl"][class*="bg-[#00070f]"].mt-8 {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light #faq-help-card h4,
html.theme-light #faq-section div.mt-8.p-6.rounded-3xl h4,
html.theme-light #faq-help-card h4.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light #faq-help-card p,
html.theme-light #faq-section div.mt-8.p-6.rounded-3xl p,
html.theme-light #faq-help-card p.text-slate-300 {
  color: #334155 !important;
}

html.theme-light #faq-help-card button,
html.theme-light #faq-section div.mt-8.p-6.rounded-3xl button {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light #faq-help-card button:hover,
html.theme-light #faq-section div.mt-8.p-6.rounded-3xl button:hover {
  background-color: #f1f5f9 !important;
  border-color: #297DD2 !important;
}

/* 15. Replacement Guarantee Banner */
html.theme-light section[class*="from-[#00070f]"],
html.theme-light section.bg-gradient-to-r.from-\[\#00070f\] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
}

html.theme-light section[class*="from-[#00070f]"] h3,
html.theme-light section[class*="from-[#00070f]"] h3.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light section[class*="from-[#00070f]"] p.text-slate-300 {
  color: #1e293b !important;
}

html.theme-light section[class*="from-[#00070f]"] a[href="index.html#faq-section"] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

/* 16. Floating AI Chat Assistant & Drawer */
html.theme-light #ai-chat-btn,
html.theme-light #ai-assistant-drawer > div {
  color: #000000 !important;
}

html.theme-light #ai-assistant-drawer > div {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html.theme-light .chat-bubble-bot {
  background-color: #f1f5f9 !important;
  color: #000000 !important;
  border-color: #e2e8f0 !important;
}

/* 17. Modals & Drawers in Light Mode */
html.theme-light #mobile-drawer > div,
html.theme-light #cart-drawer > div,
html.theme-light #wishlist-drawer > div,
html.theme-light #policy-modal .bg-\[\#00070f\],
html.theme-light #checkout-modal .bg-\[\#00070f\],
html.theme-light #user-modal .bg-\[\#00070f\] {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
}

html.theme-light #checkout-modal input,
html.theme-light #user-modal input {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light #checkout-modal label,
html.theme-light #user-modal label {
  color: #000000 !important;
}

html.theme-light #policy-modal-title,
html.theme-light #checkout-modal h3,
html.theme-light #checkout-total-display,
html.theme-light #cart-subtotal {
  color: #000000 !important;
}

html.theme-light #policy-modal-body,
html.theme-light #checkout-modal p {
  color: #1e293b !important;
}

html.theme-light #mobile-drawer a,
html.theme-light #mobile-drawer button {
  color: #000000 !important;
}

html.theme-light #mobile-drawer a:hover,
html.theme-light #mobile-drawer button:hover {
  background-color: #f1f5f9 !important;
}

html.theme-light #cart-drawer div[id*="cart-items"] > div,
html.theme-light #wishlist-drawer div[id*="wishlist-items"] > div {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #000000 !important;
}

/* 18. Product Details Page (product.html) */
html.theme-light #breadcrumb-title {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light #breadcrumb-category,
html.theme-light a[href="index.html"] {
  color: #334155 !important;
}

html.theme-light a[href="index.html#catalog-section"].border-white\/15 {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light #product-details-container h1,
html.theme-light #product-details-container h1.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light #product-details-container span.font-bold.text-\[\#ffffff\] {
  color: #000000 !important;
}

html.theme-light #product-details-container p.text-slate-300,
html.theme-light #product-details-container p.text-slate-200 {
  color: #1e293b !important;
}

html.theme-light #product-details-container .bg-\[\#00070f\].rounded-3xl.p-5 {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.theme-light #product-details-container .bg-\[\#00070f\].rounded-3xl.p-5 h4,
html.theme-light #product-details-container .bg-\[\#00070f\].rounded-3xl.p-5 span.text-\[\#ffffff\] {
  color: #000000 !important;
}

html.theme-light #product-details-container .bg-\[\#00070f\].rounded-3xl.p-5 span.text-\[\#ffffff\]\/70 {
  color: #334155 !important;
}

html.theme-light #product-details-container .grid-cols-2 > div.bg-\[\#00070f\] {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.theme-light #product-details-container div.p-5.rounded-3xl.bg-\[\#00070f\] {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.theme-light #detail-current-price,
html.theme-light #detail-current-price.text-\[\#ffffff\] {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light #product-details-container span.text-slate-300 {
  color: #334155 !important;
}

html.theme-light #slots-options-container .slot-option-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

html.theme-light #slots-options-container .slot-option-card:hover {
  border-color: #297DD2 !important;
}

html.theme-light #slots-options-container .slot-option-card.border-\[\#297DD2\],
html.theme-light #slots-options-container .slot-option-card[class*="border-[#297DD2]"] {
  background-color: #f0f7ff !important;
  border-color: #297DD2 !important;
}

html.theme-light #slots-options-container .slot-option-card.border-emerald-500,
html.theme-light #slots-options-container .slot-option-card[class*="border-emerald-500"] {
  background-color: #ecfdf5 !important;
  border-color: #10b981 !important;
}

html.theme-light #slots-options-container .slot-option-card h4 {
  color: #000000 !important;
}

html.theme-light #slots-options-container .slot-option-card p {
  color: #334155 !important;
}

html.theme-light #slots-options-container .slot-option-card span[data-price-id] {
  color: #000000 !important;
}

/* Specifications Grid & Trust Badges */
html.theme-light #product-details-container .p-3.rounded-2xl.bg-\[\#00070f\],
html.theme-light #product-details-container .p-2\.5.rounded-2xl.bg-\[\#00070f\],
html.theme-light #product-details-container .p-4.rounded-2xl.bg-\[\#00070f\] {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.theme-light #product-details-container .p-3.rounded-2xl span.font-extrabold.text-\[\#ffffff\],
html.theme-light #product-details-container .p-2\.5.rounded-2xl span.font-extrabold.text-\[\#ffffff\],
html.theme-light #product-details-container .p-3.rounded-2xl span.font-extrabold,
html.theme-light #product-details-container .p-2\.5.rounded-2xl span.font-extrabold {
  color: #000000 !important;
}

html.theme-light #product-details-container .p-3.rounded-2xl span.text-\[\#ffffff\]\/70,
html.theme-light #product-details-container .p-2\.5.rounded-2xl span.text-\[\#ffffff\]\/70,
html.theme-light #product-details-container .p-3.rounded-2xl span.text-slate-300 {
  color: #64748b !important;
}

html.theme-light #product-details-container span[class*="bg-[#00070f]"] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

/* Customer Advisory & Cashback Banners */
html.theme-light .customer-note-banner {
  background: #fffbeb !important;
  border-color: #fcd34d !important;
  color: #92400e !important;
}

html.theme-light .customer-note-banner strong {
  color: #b45309 !important;
}

html.theme-light .cashback-banner {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
  color: #065f46 !important;
}

html.theme-light .cashback-banner strong {
  color: #047857 !important;
}

/* Product Detailed Tabs (Game Overview, How to Redeem, Warranty & Guarantee) in Light Mode */
html.theme-light #product-tabs-container,
html.theme-light #product-details-container div.mt-14.sm\:mt-20.bg-\[\#00070f\],
html.theme-light #product-details-container div[class*="mt-14"][class*="rounded-3xl"] {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #000000 !important;
}

html.theme-light #product-tabs-container .border-b,
html.theme-light #product-details-container div[class*="mt-14"] .border-b {
  border-color: #e2e8f0 !important;
}

html.theme-light .tab-btn {
  color: #64748b !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

html.theme-light .tab-btn:hover {
  color: #297DD2 !important;
}

html.theme-light .tab-btn.tab-btn-active,
html.theme-light .tab-btn.bg-\[\#00070f\],
html.theme-light .tab-btn[class*="bg-[#00070f]"] {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #297DD2 !important;
  box-shadow: 0 2px 8px rgba(41, 125, 210, 0.15) !important;
  font-weight: 800 !important;
}

html.theme-light #product-tabs-container h3,
html.theme-light #product-tabs-container h3.text-\[\#ffffff\],
html.theme-light #product-tabs-container h4,
html.theme-light #product-tabs-container h4.text-\[\#ffffff\],
html.theme-light #product-details-container div[class*="mt-14"] h3,
html.theme-light #product-details-container div[class*="mt-14"] h4 {
  color: #000000 !important;
  font-weight: 900 !important;
}

html.theme-light #product-tabs-container p,
html.theme-light #product-tabs-container p.text-slate-300,
html.theme-light #product-tabs-container p.text-slate-200,
html.theme-light #product-details-container div[class*="mt-14"] p {
  color: #1e293b !important;
}

html.theme-light #product-tabs-container .rounded-2xl.bg-\[\#00070f\],
html.theme-light #product-tabs-container div[class*="bg-[#00070f]"],
html.theme-light #product-tabs-container .p-4.rounded-2xl,
html.theme-light #product-tabs-container .p-5.rounded-2xl,
html.theme-light #product-tabs-container .p-3\.5.rounded-2xl,
html.theme-light #product-details-container div[class*="mt-14"] .rounded-2xl {
  background-color: #f8fafc !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

html.theme-light #product-tabs-container h4.text-\[\#297DD2\] {
  color: #297DD2 !important;
}

html.theme-light #product-tabs-container ul,
html.theme-light #product-tabs-container li,
html.theme-light #product-tabs-container ul.text-slate-300 li,
html.theme-light #product-details-container div[class*="mt-14"] li {
  color: #334155 !important;
}

html.theme-light #product-tabs-container .text-slate-200,
html.theme-light #product-tabs-container .text-\[\#ffffff\]\/85,
html.theme-light #product-details-container div[class*="mt-14"] .text-slate-200,
html.theme-light #product-details-container div[class*="mt-14"] .text-\[\#ffffff\]\/85 {
  color: #334155 !important;
}

html.theme-light #product-tabs-container strong,
html.theme-light #product-details-container div[class*="mt-14"] strong {
  color: #000000 !important;
}

html.theme-light #product-details-container div[class*="overflow-x-auto"].bg-\[\#00070f\] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html.theme-light #product-details-container button[id^="detail-dur-filter-"]:not(.bg-\[\#297DD2\]) {
  color: #475569 !important;
}

html.theme-light #product-details-container button[id^="detail-dur-filter-"]:not(.bg-\[\#297DD2\]):hover {
  color: #000000 !important;
}

html.theme-light #standard-actions label,
html.theme-light #detail-qty-label {
  color: #000000 !important;
}

html.theme-light #standard-actions div[class*="border-white/15"].bg-\[\#00070f\] {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

html.theme-light #standard-actions button.bg-\[\#00070f\] {
  background-color: #f1f5f9 !important;
  color: #000000 !important;
}

/* Floating AI Assistant & Chatbot in Light Mode */
html.theme-light #chatbot-toggle-btn {
  background-color: #ffffff !important;
  border-color: #297DD2 !important;
  color: #000000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

html.theme-light #chatbot-toggle-btn span {
  color: #000000 !important;
}

html.theme-light #chatbot-window {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  color: #000000 !important;
}

html.theme-light #chatbot-window header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #000000 !important;
}

html.theme-light #chatbot-window header h3,
html.theme-light #chatbot-window header span {
  color: #000000 !important;
}

html.theme-light #chatbot-messages {
  background-color: #f8fafc !important;
}

html.theme-light .chat-bubble-bot {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
}

html.theme-light #chatbot-form {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

html.theme-light #chatbot-input {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light section.mt-16.sm\:mt-24 h2 {
  color: #000000 !important;
}

html.theme-light section.mt-16.sm\:mt-24 p {
  color: #334155 !important;
}

/* 19. Footer in Light Mode */
html.theme-light footer {
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

html.theme-light footer h4 {
  color: #000000 !important;
  font-weight: 800 !important;
}

html.theme-light footer p,
html.theme-light footer li,
html.theme-light footer a,
html.theme-light footer button,
html.theme-light footer .text-\[\#ffffff\]\/75,
html.theme-light footer .text-\[\#ffffff\]\/70,
html.theme-light footer .text-\[\#ffffff\]\/60,
html.theme-light footer .text-\[\#ffffff\]\/50 {
  color: #334155 !important;
}

html.theme-light footer a:hover,
html.theme-light footer button:hover {
  color: #297DD2 !important;
}

html.theme-light footer a[title="WhatsApp"],
html.theme-light footer a[title="Facebook"],
html.theme-light footer a[title="Instagram"],
html.theme-light footer a[title="Telegram"] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #000000 !important;
}

html.theme-light footer a[title="WhatsApp"]:hover,
html.theme-light footer a[title="Facebook"]:hover,
html.theme-light footer a[title="Instagram"]:hover,
html.theme-light footer a[title="Telegram"]:hover {
  background-color: #297DD2 !important;
  border-color: #297DD2 !important;
  color: #ffffff !important;
}

html.theme-light footer a[href="admin.html"] {
  color: #94a3b8 !important;
}

html.theme-light footer a[href="admin.html"]:hover {
  color: #297DD2 !important;
}

/* 20. Essential Contrast Anchor: Action buttons retain crisp white text */
html.theme-light .bg-\[\#297DD2\],
html.theme-light .bg-\[\#297DD2\] *,
html.theme-light button.bg-\[\#297DD2\],
html.theme-light button.bg-\[\#297DD2\] *,
html.theme-light a.bg-\[\#297DD2\],
html.theme-light a.bg-\[\#297DD2\] *,
html.theme-light .bg-emerald-600,
html.theme-light .bg-emerald-600 *,
html.theme-light .bg-red-600,
html.theme-light .bg-red-600 *,
html.theme-light .cat-pill.bg-\[\#297DD2\],
html.theme-light .sub-cat-pill.bg-\[\#297DD2\],
html.theme-light .sub-pill.bg-\[\#297DD2\],
html.theme-light .price-filter-pill.bg-\[\#297DD2\],
html.theme-light .faq-category-pill.bg-\[\#297DD2\] {
  color: #ffffff !important;
}


