/* ==========================================================================
   Bir Games - Luxury Dark Gaming E-Commerce Marketplace Stylesheet
   Brand Theme: Deep Obsidian (#000000) & Royal Navy Blue (#1d4ed8, #2563eb, #38bdf8)
   ========================================================================== */

:root {
  /* Brand Golden Accents (Matte, refined amber gold) */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: rgba(37, 99, 235, 0.12);
  --primary-glow: rgba(37, 99, 235, 0.28);
  
  --secondary: #000000;
  --accent: #38bdf8;
  --accent-gold: #2563eb;
  --danger: #ef4444;
  --success: #10b981;
  --info: #38bdf8;

  /* Button colors: Matte, simple, elegant */
  --btn-primary-bg: #1d4ed8;
  --btn-primary-hover: #1e40af;
  --btn-primary-text: #ffffff;
  --btn-primary-border: rgba(59, 130, 246, 0.45);

  /* Clean gradients */
  --gold-gradient: #1d4ed8;
  --gold-gradient-hover: #1e40af;
  --gold-text-gradient: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  --dark-gradient: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  --card-gradient: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  
  /* True Deep Black Surfaces (Tam Qara Dizayn) */
  --bg-body: #000000;
  --bg-surface: #0a0a0a;
  --bg-card: #121212;
  --bg-alt: #161616;
  --bg-input: #141414;
  --bg-hover: #1e1e1e;
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  /* Borders: unified, crisp, subtle */
  --border-color: #1f1f1f;
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(37, 99, 235, 0.3);
  
  /* Shadows (Simple, clean, no glaring glows) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 36px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 2px 10px rgba(29, 78, 216, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --container-max: 1760px;
  --transition: all 0.22s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #000000;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 96%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==================== GLOBAL DARK OVERRIDES FOR INLINE STYLES ==================== */
[style*="background: #ffffff"],
[style*="background:#ffffff"],
[style*="background: #fff"],
[style*="background:#fff"],
[style*="background-color: #ffffff"],
[style*="background-color: #fff"] {
  background-color: var(--bg-card) !important;
  color: var(--text-main);
  border-color: var(--border-color) !important;
}

[style*="background: #f8fafc"],
[style*="background: #f1f5f9"],
[style*="background-color: #f8fafc"],
[style*="background-color: #f1f5f9"] {
  background-color: var(--bg-alt) !important;
  color: var(--text-main);
  border-color: var(--border-color) !important;
}

[style*="color: #0f172a"],
[style*="color: #1e293b"] {
  color: var(--text-main) !important;
}

/* Payment & Checkout */
.payment-method-card {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

.payment-method-card.selected {
  border-color: var(--primary) !important;
  background: rgba(37, 99, 235, 0.14) !important;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.cart-item-row {
  border-color: var(--border-color) !important;
}

.cart-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.btn-qty {
  color: var(--text-main) !important;
}

.btn-qty:hover {
  background: var(--bg-hover) !important;
  color: var(--primary) !important;
}

/* Profile & Wallet in Dark Mode */
.profile-sidebar-card,
.profile-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

/* ==================== TOP ANNOUNCEMENT BAR ==================== */
.top-notice-bar {
  background: #000000;
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-notice-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-notice-item i {
  color: var(--primary);
}

.top-notice-item strong {
  color: #60a5fa;
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  color: #94a3b8;
  transition: var(--transition);
}

.top-link:hover {
  color: var(--primary);
}

/* ==================== MAIN HEADER / NAVBAR ==================== */
.main-header {
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 76px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: var(--transition);
  overflow: hidden;
}

.brand-logo:hover .brand-logo-frame {
  transform: scale(1.05);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.logo-gold {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 2px;
}

.logo-white {
  color: #ffffff;
}

.brand-subtag {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--primary);
  text-transform: uppercase;
  opacity: 0.85;
}

.logo-beta-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-left: 0.45rem;
  vertical-align: middle;
  line-height: 1.1;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Neon Purple GTA 6 Nav Chip */
.chip-gta6-neon {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.28), rgba(168, 85, 247, 0.18)) !important;
  border: 1.5px solid #c084fc !important;
  color: #f3e8ff !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5), inset 0 0 8px rgba(168, 85, 247, 0.25) !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  transition: all 0.25s ease !important;
}

.chip-gta6-neon i {
  color: #e879f9 !important;
  filter: drop-shadow(0 0 6px #d946ef);
}

.chip-gta6-neon:hover {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.5), rgba(192, 132, 252, 0.35)) !important;
  border-color: #e879f9 !important;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.85), inset 0 0 12px rgba(192, 132, 252, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03);
}

.chip-gta6-neon .gta6-neon-text {
  background: linear-gradient(90deg, #f3e8ff, #ffffff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.7);
}

/* Netflix & Spotify Nav Chips */
.chip-netflix:hover i {
  color: #e50914 !important;
}

.chip-spotify:hover i {
  color: #1db954 !important;
}

/* Legacy fallback badges */
.logo-badge {
  background: var(--btn-primary-bg);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.logo-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 1.5rem;
}

/* Catalog Button (Legacy & Modals) */
.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.catalog-btn:hover {
  background: var(--btn-primary-hover);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.catalog-btn .btn-icon {
  font-size: 1.05rem;
}

/* ==================== SUB-NAV BAR (ROW BELOW LOGO) ==================== */
.sub-nav-bar {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 950;
  padding: 4px 0 !important;
}

.sub-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 48px;
  min-height: 48px;
}

/* Kataloq Dropdown Button (Gold Accent Pill) */
.sub-nav-catalog-wrapper {
  position: relative;
  flex-shrink: 0;
}

.sub-nav-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1d4ed8;
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.7);
  border-radius: var(--radius-full);
  padding: 0.42rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.35);
  user-select: none;
  flex-shrink: 0;
}

.sub-nav-catalog-btn:hover {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.sub-nav-catalog-btn.active {
  background: #1e40af;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.6);
}

.sub-nav-catalog-btn .btn-icon {
  font-size: 0.95rem;
}

.sub-nav-catalog-btn .btn-chevron {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.sub-nav-catalog-btn.active .btn-chevron {
  transform: rotate(180deg);
}

/* Sub-Nav Horizontal Links */
.sub-nav-links-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 6px 0.5rem 6px 0;
  box-sizing: border-box;
}

.sub-nav-links-track::-webkit-scrollbar {
  display: none;
}

.sub-nav-marquee-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  height: 100%;
  padding: 4px 0;
  box-sizing: border-box;
}

.sub-nav-marquee-clone {
  display: none;
}

/* Mobile: Infinite Moving Marquee */
@media (max-width: 991px) {
  .sub-nav-links-track {
    overflow: hidden !important;
    position: relative !important;
    height: 100% !important;
    padding: 6px 0 !important;
    box-sizing: border-box !important;
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent) !important;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent) !important;
  }

  .sub-nav-marquee-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 4px 0.4rem 4px 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    animation: subNavMarquee 26s linear infinite !important;
    will-change: transform;
  }

  .sub-nav-marquee-clone {
    display: flex !important;
  }

  .sub-nav-links-track:hover .sub-nav-marquee-group,
  .sub-nav-links-track:active .sub-nav-marquee-group {
    animation-play-state: paused !important;
  }

  .sub-nav-chip:hover,
  .chip-gta6-neon:hover,
  .chip-cod-neon:hover {
    transform: none !important;
  }
}

@keyframes subNavMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.sub-nav-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 0.85rem !important;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box !important;
  vertical-align: middle;
}

.sub-nav-chip i {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.18s ease;
}

.sub-nav-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.sub-nav-chip:hover i {
  color: #60a5fa;
}

.sub-nav-chip.active {
  background: rgba(37, 99, 235, 0.16);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.45);
  font-weight: 700;
}

.sub-nav-chip.active i {
  color: #60a5fa;
}

/* ==================== FROSTED GLASS MEGA DROPDOWN (CAM ŞƏFFAF DUMANLI) ==================== */
.glass-mega-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px) brightness(0.5);
  -webkit-backdrop-filter: blur(14px) brightness(0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  pointer-events: none;
}

.glass-mega-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Deep cinematic background blur on page content when mega menu is open */
body.mega-menu-open main,
body.mega-menu-open footer,
body.mega-menu-open .hero-banner-section,
body.mega-menu-open .ticker-section,
body.mega-menu-open .section-block {
  filter: blur(12px) brightness(0.5);
  transition: filter 0.25s ease;
  pointer-events: none;
  user-select: none;
}

.glass-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
  padding-top: 10px;
}

.glass-mega-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.glass-mega-panel {
  background: rgba(12, 13, 17, 0.90);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.75rem;
}

.glass-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 18px;
}

.glass-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.glass-cat-info {
  flex: 1;
  min-width: 0;
}

.glass-cat-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.glass-cat-count {
  font-size: 0.725rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.glass-cat-card:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.glass-cat-card:hover .glass-cat-name {
  color: #60a5fa;
}

.glass-cat-card:hover .glass-cat-icon {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.5);
}

.glass-cat-card:hover .glass-cat-count {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}

.glass-mega-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.glass-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.18s ease;
}

.glass-view-all-link:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateX(3px);
}

/* Search Bar */
.search-wrapper {
  flex: 1;
  max-width: 680px;
  position: relative;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 3.2rem 0 1.25rem;
  border: 1px solid #242424;
  border-radius: var(--radius-md);
  background: #121212;
  font-size: 0.9375rem;
  color: #ffffff;
  transition: var(--transition);
  outline: none;
}

.search-input::placeholder {
  color: #64748b;
}

.search-input:focus {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.search-submit-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 36px;
  background: #1c1c1c;
  border: 1px solid #292929;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.95rem;
}

.search-submit-btn:hover {
  background: var(--btn-primary-bg);
  color: #ffffff;
  border-color: var(--btn-primary-bg);
}

/* Live Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #121212;
  border-radius: var(--radius-md);
  border: 1px solid #242424;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1100;
  display: none;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(37, 99, 235, 0.12);
}

.search-sugg-img {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.search-sugg-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #f8fafc;
}

.search-sugg-price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  margin-left: auto;
}

/* Nav Action Icons (Favorites, Cart, Cabinet) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.45rem 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.action-icon-wrapper {
  position: relative;
  font-size: 1.35rem;
}

.action-btn-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

.action-btn:hover .action-btn-label {
  color: var(--primary);
}

.badge-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--btn-primary-bg);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Personal Cabinet (Dropdown Menu) */
.cabinet-dropdown-wrapper {
  position: relative;
}

.cabinet-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #141414;
  border: 1px solid #222222;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  transition: var(--transition);
}

.cabinet-btn:hover {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.2);
}

.cabinet-btn i.fa-user-circle, .cabinet-btn i.fa-circle-user {
  font-size: 1.35rem;
  color: var(--primary);
}

.cabinet-btn .chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.cabinet-dropdown-wrapper.active .chevron {
  transform: rotate(180deg);
}

.cabinet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #121212;
  border: 1px solid #222222;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
  padding: 0.75rem;
  display: none;
  z-index: 1100;
}

.cabinet-dropdown-wrapper.active .cabinet-dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.cabinet-menu-header {
  padding: 0.5rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
}

.cabinet-menu-header .welcome-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cabinet-menu-header .user-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.cabinet-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.cabinet-menu-item:hover {
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
}

.cabinet-menu-item.logout {
  color: var(--danger);
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.cabinet-menu-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.auth-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.btn-login-main {
  background: var(--btn-primary-bg);
  color: #ffffff;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  transition: var(--transition);
}

.btn-login-main:hover {
  background: var(--btn-primary-hover);
}

.btn-register-alt {
  background: #141414;
  color: #ffffff;
  border: 1px solid #222222;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  transition: var(--transition);
}

.btn-register-alt:hover {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==================== CATALOG DRAWER / MODAL ==================== */
.catalog-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.catalog-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.catalog-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0d0d0d;
  border-right: 1px solid #1f1f1f;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.catalog-drawer.active {
  transform: translateX(0);
}

.catalog-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #1f1f1f;
  background: #080808;
}

.catalog-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
}

.drawer-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.catalog-drawer-close {
  background: #1a1a1a;
  border: 1px solid #292929;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.catalog-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.catalog-drawer-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  background: #141414;
  border: 1px solid #1f1f1f;
}

.drawer-cat-link:hover {
  background: var(--btn-primary-bg);
  color: #ffffff;
  transform: translateX(4px);
  border-color: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.drawer-cat-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.drawer-cat-info i {
  font-size: 1.15rem;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.drawer-cat-link:hover .drawer-cat-info i {
  color: #090a0f;
}

/* ==================== HERO PROMO BANNER SECTION ==================== */
.hero-banner-section {
  padding: 1.25rem 0 0.75rem;
}

.hero-banner-grid {
  display: grid;
  grid-template-columns: 67% calc(33% - 12px);
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.banner-large {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-large:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
}

/* Pure Banner Display (Clean Visuals & Link) */
.banner-pure-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141414;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.banner-large.banner-pure-link {
  width: 100%;
  aspect-ratio: 2.38 / 1;
  min-height: 260px;
  max-height: 540px;
  height: 100%;
}

/* Hero Main Banner 3-Second Slider (10 Reklama Qədər) */
.banner-large.banner-slider-wrapper {
  width: 100%;
  aspect-ratio: 2.38 / 1;
  min-height: 260px;
  max-height: 540px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.banner-slider-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(1.02);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.banner-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.banner-slide-item .banner-pure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide Navigation Arrows */
.banner-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.22s ease, background 0.2s ease, transform 0.2s ease;
}

.banner-large.banner-slider-wrapper:hover .banner-slider-arrow {
  opacity: 1;
}

.banner-slider-arrow.prev {
  left: 12px;
}

.banner-slider-arrow.next {
  right: 12px;
}

.banner-slider-arrow:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-50%) scale(1.08);
}

/* Slide Counter Badge (2/12 Style) */
.banner-slider-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  z-index: 10;
  letter-spacing: 0.5px;
}

/* Slide Pagination Dots */
.banner-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s ease;
}

.banner-dot.active {
  background: #2563eb;
  width: 18px;
  border-radius: 999px;
}

.banner-side-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.banner-small.banner-pure-link {
  flex: 1;
  min-height: 0;
  border-radius: 12px;
}

.banner-pure-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}

.banner-pure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.banner-pure-link:hover .banner-pure-img {
  transform: scale(1.015);
}

@media (max-width: 960px) {
  .hero-banner-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .banner-large.banner-pure-link,
  .banner-large.banner-slider-wrapper {
    aspect-ratio: 2.38 / 1;
    height: auto !important;
    min-height: 160px !important;
    max-height: none !important;
    border-radius: 10px !important;
  }
  .banner-side-stack {
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .banner-small.banner-pure-link {
    aspect-ratio: 2.38 / 1;
    height: auto !important;
    min-height: 80px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 540px) {
  .banner-large.banner-pure-link,
  .banner-large.banner-slider-wrapper {
    aspect-ratio: 2.38 / 1;
    height: auto !important;
    min-height: 130px !important;
  }
  .banner-small.banner-pure-link {
    aspect-ratio: 2.38 / 1;
    height: auto !important;
    min-height: 65px !important;
  }
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 2.25rem;
  color: #ffffff;
  max-width: 600px;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.banner-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.banner-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-action {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.banner-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.banner-curr-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #60a5fa;
}

.banner-old-price {
  font-size: 0.9375rem;
  color: #64748b;
  text-decoration: line-through;
}

.btn-banner-buy {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--btn-primary-border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-banner-buy:hover {
  background: var(--btn-primary-hover);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.banner-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.banner-small {
  position: relative;
  flex: 1;
  min-height: 170px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
  border: 1px solid #1f1f1f;
}

.banner-small:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8);
}

.banner-small .banner-content {
  padding: 1.25rem;
}

.banner-small .banner-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.banner-small .banner-curr-price {
  font-size: 1.2rem;
}

/* ==================== TICKER / RUNNING CATEGORY RIBBON ==================== */
.ticker-section {
  padding: 0.5rem 0;
  background: transparent;
  margin: 1.25rem 0 2rem;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: transparent !important;
  border: none !important;
  padding: 0.25rem 0;
  overflow: hidden;
  box-shadow: none !important;
}

.ticker-heading-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 44px;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #60a5fa !important;
  padding: 0 1.25rem;
  border-radius: var(--radius-full) !important;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.06) !important;
  transition: all 0.2s ease;
}

.ticker-heading-badge i {
  font-size: 1rem;
}

.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 44px;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #e2e8f0;
  padding: 0 1.25rem;
  border-radius: var(--radius-full) !important;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.ticker-item:hover {
  background: #1c1c1c;
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.ticker-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* ==================== PRODUCT SECTION, VERTICAL CARDS & SLIDERS ==================== */
.section-block {
  margin-bottom: 2.75rem;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.section-link:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

/* Slider Controls */
.slider-nav-arrows {
  display: none !important;
}

.slider-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #141414;
  border: 1px solid #242424;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.slider-arrow-btn:hover {
  background: var(--btn-primary-bg);
  color: #ffffff;
  border-color: var(--btn-primary-bg);
}

/* Single-row Horizontal Carousel / Slider */
.product-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
}

.product-slider-track::-webkit-scrollbar {
  height: 6px;
}

.product-slider-track::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-full);
}

/* Product Grid */
.product-grid,
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Base Product Card (Used across Catalog, Categories, Search, etc.) */
.product-card {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  width: 100%;
  min-width: 0;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
}

/* Vertical Game Poster Card in Horizontal Sliders */
.product-card.vertical-card {
  flex: 0 0 240px;
  min-width: 240px;
  max-width: 240px;
  scroll-snap-align: start;
}

.product-grid .product-card.vertical-card,
.catalog-products-grid .product-card.vertical-card {
  flex: none;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

/* Poster vertical aspect ratio (3:4 portrait) */
.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #000000;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.card-thumb-wrap a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.card-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.45s ease;
  display: block !important;
}

.product-card:hover .card-thumb,
.vertical-card:hover .card-thumb {
  transform: scale(1.06);
}

.card-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.card-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}

.card-wishlist-btn:hover {
  background: #ffffff;
  color: var(--danger);
  transform: scale(1.1);
}

.card-wishlist-btn.active {
  background: #ffffff;
  color: var(--danger);
}

.card-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #111111;
}

.card-platform-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
  align-self: flex-start;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5rem;
  transition: var(--transition);
}

.card-title:hover {
  color: #60a5fa;
}

.card-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.card-rating-row .stars {
  color: #fbbf24;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid #1c1c1c;
}

.card-price-box {
  display: flex;
  flex-direction: column;
}

.card-price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: #60a5fa;
}

.card-price-old {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: line-through;
}

.btn-add-cart {
  background: #181818;
  color: #e2e8f0;
  border: 1px solid #262626;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--btn-primary-bg);
  color: #ffffff;
  border-color: var(--btn-primary-bg);
}

/* ==================== UNIFIED PRODUCT DETAIL CONTAINER ==================== */
.product-unified-container {
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
  margin-bottom: 3rem;
}

.product-detail-main-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-main-poster-wrap {
  width: 100%;
}

.product-poster-column {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #090a0f;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.product-poster-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-poster-column:hover img {
  transform: scale(1.02);
}

.product-main-content-wrap {
  display: flex;
  flex-direction: column;
}

.product-detail-title {
  font-size: 2.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.product-detail-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Price Box */
.product-detail-price-box {
  background: transparent;
  padding: 0.75rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-val-wrapper {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.price-val-main {
  font-size: 2.5rem;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
}

.price-val-old {
  font-size: 1.2rem;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 600;
}

.price-discount-badge {
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* Action Buttons (Bir kliklə al + Səbətə at + Wishlist) */
.product-main-actions-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn-action-large {
  flex: 1.4;
  height: 50px;
  font-size: 1.05rem;
}

.btn-add-cart-large {
  flex: 1.2;
  height: 50px;
  background: #121212;
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-add-cart-large:hover {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-wishlist-btn-detail {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  background: #141414 !important;
  border: 1px solid #1f1f1f !important;
  border-radius: var(--radius-md) !important;
  color: #94a3b8 !important;
  font-size: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.card-wishlist-btn-detail:hover {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  transform: none !important;
}

.card-wishlist-btn-detail.active {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

/* Variant Option Pills */
.variant-pill-btn {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.variant-pill-btn:hover {
  border-color: var(--primary);
  background: #1a1a1a;
}

.variant-pill-btn.active {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.v-pill-price {
  color: #60a5fa;
  font-weight: 800;
  font-size: 0.8125rem;
}

/* Installment Section */
.installment-unified-card {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.installment-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.installment-bank-badges {
  display: flex;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
}

.bank-tag {
  background: #181818;
  border: 1px solid #242424;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #94a3b8;
}

.installment-months-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.installment-month-btn {
  background: #161616;
  border: 1px solid #242424;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: #ffffff;
}

.installment-month-btn:hover {
  border-color: var(--primary);
}

.installment-month-btn.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
  color: #93c5fd;
}

.month-label {
  font-weight: 800;
  font-size: 0.9375rem;
}

.installment-action-bar {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 0.85rem;
  align-items: center;
}

.installment-calc-result-box {
  background: #141414;
  border: 1px dashed rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
}

.calc-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 600;
}

.calc-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #60a5fa;
}

.btn-installment-buy {
  height: 46px;
  background: #059669;
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-installment-buy:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Trust Badges Grid */
.product-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.trust-badge-item {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge-item i {
  font-size: 1.35rem;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-badge-item strong {
  display: block;
  font-size: 0.8125rem;
  color: #ffffff;
}

.trust-badge-item span {
  display: block;
  font-size: 0.7125rem;
  color: #94a3b8;
}

.product-unified-divider {
  height: 1px;
  background: var(--border-color);
  margin: 2.25rem 0 1.75rem;
}

/* Tabs Navigation */
.detail-tabs-header {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.75rem;
}

.detail-tab-btn {
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.detail-tab-btn:hover {
  color: var(--primary);
}

.detail-tab-btn.active {
  color: #60a5fa;
  border-bottom-color: var(--primary);
}

.detail-tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.detail-tab-panel.active {
  display: block;
}

/* Activation / Installation Steps */
.install-step-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #121212;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid #1f1f1f;
}

.install-step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--btn-primary-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Reviews List & Rating Breakdown */
.reviews-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.review-item-card {
  padding: 1.25rem;
  background: #121212;
  border-radius: var(--radius-md);
  border: 1px solid #1f1f1f;
  margin-bottom: 1rem;
}

.btn-one-click-buy {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-one-click-buy:hover {
  background: var(--btn-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Quick Buy Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #121212;
  border: 1px solid #242424;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: var(--transition);
  position: relative;
  color: #ffffff;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #1c1c1c;
  border: 1px solid #292929;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
}

/* ==================== TRUST / FEATURES BAR ==================== */
.trust-features-section {
  background: #0d0d0d;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #141414;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid #242424;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.feature-desc {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==================== FOOTER ==================== */
.main-footer {
  background: #000000;
  color: #94a3b8;
  padding-top: 3.5rem;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-logo-frame {
  width: 44px;
  height: 44px;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #141414;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid #242424;
}

.social-btn:hover {
  background: var(--btn-primary-bg);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--btn-primary-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 1.4rem;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: #141414;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  animation: slideInUp 0.3s ease;
  border: 1px solid #242424;
  border-left: 4px solid var(--primary);
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-error {
  border-left-color: var(--danger);
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== BASE RESPONSIVE HELPERS ==================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.mobile-filter-bar {
  display: none;
}
.mobile-sidebar-close {
  display: none;
}
.catalog-layout-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.catalog-layout-grid > main {
  min-width: 0;
  width: 100%;
}
.catalog-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.cart-items-box {
  background: #121212;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.checkout-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Wishlist Products Grid */
.wishlist-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.wishlist-card-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wishlist-card-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wishlist-card-item .card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 135%;
  background: #000000;
  overflow: hidden;
}
.wishlist-card-item .card-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== MOBILE BOTTOM NAVIGATION BAR ==================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #222222;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.65);
  z-index: 999;
  padding: 0 0.25rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  background: transparent;
  border: none;
  padding: 3px 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #60a5fa;
}

.mobile-nav-icon-wrap {
  position: relative;
  font-size: 1.15rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.mobile-nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Center Elevated Profile Item */
.mobile-nav-center {
  margin-top: -12px;
}

.mobile-nav-center-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border: 2px solid #2563eb;
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  overflow: hidden;
  margin-bottom: 2px;
}

.mobile-nav-center.active .mobile-nav-center-bubble {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
  transform: scale(1.05);
}

.mobile-nav-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mobile-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #121212;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-detail-main-grid {
    grid-template-columns: 300px 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .top-notice-bar {
    display: none;
  }

  /* Hide Trust Features Bar on Mobile */
  .trust-features-section,
  .trust-features-container {
    display: none !important;
  }

  /* Show Mobile Bottom Navigation */
  .mobile-bottom-nav {
    display: flex !important;
    align-items: center;
    justify-content: space-around;
  }

  /* Toast Notification Position above mobile nav */
  .toast-container {
    bottom: 74px !important;
    left: 16px !important;
    right: 16px !important;
  }

  /* Header on Mobile: Logo on Left + Search right beside it in ONE line */
  .header-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.65rem !important;
    height: 56px !important;
    padding: 0 0.85rem !important;
  }
  .site-header {
    height: 56px !important;
  }
  .brand-logo {
    flex-shrink: 0 !important;
    gap: 0.5rem !important;
  }
  .brand-logo-frame {
    width: 34px !important;
    height: 34px !important;
  }
  .brand-title {
    font-size: 1.05rem !important;
  }
  .brand-subtag {
    display: none !important;
  }
  /* Sub-nav bar and mega menu on mobile */
  .sub-nav-inner {
    height: 48px !important;
    min-height: 48px !important;
    gap: 0.5rem !important;
    padding: 0 0.85rem !important;
  }
  .sub-nav-catalog-btn {
    height: 32px !important;
    padding: 0 0.85rem !important;
    font-size: 0.8rem !important;
    gap: 5px !important;
  }
  .sub-nav-chip {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 0.75rem !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
    box-sizing: border-box !important;
  }
  .glass-mega-dropdown {
    padding-top: 4px !important;
  }
  .glass-mega-panel {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
  .glass-mega-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
  }
  .glass-cat-card {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .glass-cat-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .glass-cat-name {
    font-size: 0.8rem !important;
  }
  .glass-cat-count {
    font-size: 0.68rem !important;
    padding: 1px 6px !important;
  }

  /* Hide Desktop Action Icons from header on mobile */
  .header-actions {
    display: none !important;
  }
  /* Search input fills the rest of header row */
  .search-wrapper {
    display: block !important;
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    order: 0 !important;
    margin: 0 !important;
    position: relative !important;
  }
  .search-form {
    height: 38px !important;
  }
  .search-input {
    height: 38px !important;
    font-size: 0.8125rem !important;
    padding-left: 0.85rem !important;
    padding-right: 2.25rem !important;
  }
  .search-submit-btn {
    width: 34px !important;
    font-size: 0.85rem !important;
  }
  .search-suggestions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 4px) !important;
    max-height: 320px !important;
    z-index: 10001 !important;
  }

  /* ==================== COMPACT HERO PROMO BANNERS ==================== */
  .hero-banner-section {
    padding: 0.65rem 0 0.5rem !important;
  }
  .hero-banner-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }
  .banner-large {
    min-height: 165px !important;
    max-height: 200px !important;
    border-radius: var(--radius-md) !important;
  }
  .banner-large .banner-content {
    padding: 0.85rem 1rem !important;
    max-width: 100% !important;
  }
  .banner-large .banner-tag {
    font-size: 0.625rem !important;
    padding: 2px 7px !important;
    margin-bottom: 0.35rem !important;
  }
  .banner-large .banner-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }
  .banner-large .banner-desc {
    display: none !important;
  }
  .banner-large .banner-action {
    gap: 0.75rem !important;
    margin-top: 0.25rem !important;
  }
  .banner-large .banner-curr-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
  }
  .banner-large .banner-old-price {
    font-size: 0.75rem !important;
  }
  .banner-large .btn-banner-buy {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.775rem !important;
    border-radius: var(--radius-full) !important;
  }
  /* Side Banners as 2-column compact row */
  .banner-side-stack {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .banner-small {
    min-height: 110px !important;
    border-radius: var(--radius-md) !important;
  }
  .banner-small .banner-content {
    padding: 0.65rem 0.75rem !important;
  }
  .banner-small .banner-tag {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
    margin-bottom: 0.25rem !important;
  }
  .banner-small .banner-title {
    font-size: 0.825rem !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .banner-small .banner-action {
    gap: 0.35rem !important;
    justify-content: space-between !important;
  }
  .banner-small .banner-curr-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }
  .banner-small .btn-banner-buy {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.6875rem !important;
  }

  /* ==================== 2-COLUMN RESPONSIVE PRODUCT GRID ==================== */
  .product-grid,
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .product-card {
    border-radius: var(--radius-md) !important;
  }
  .product-card .card-thumb-wrap {
    height: 160px !important;
    padding-top: 0 !important;
  }
  .product-card .card-thumb {
    height: 100% !important;
    object-fit: cover !important;
  }
  .product-card .card-badge-discount {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
    top: 6px !important;
    left: 6px !important;
  }
  .product-card .card-wishlist-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
    top: 6px !important;
    right: 6px !important;
  }
  .product-card .card-body {
    padding: 0.65rem !important;
  }
  .product-card .card-platform-tag {
    font-size: 0.625rem !important;
    padding: 2px 5px !important;
    margin-bottom: 0.25rem !important;
  }
  .product-card .card-title {
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    height: 2.5em !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.35rem !important;
  }
  .product-card .card-rating-row {
    font-size: 0.65rem !important;
    margin-bottom: 0.5rem !important;
  }
  .product-card .card-price-current {
    font-size: 1rem !important;
    font-weight: 800 !important;
  }
  .product-card .card-price-old {
    font-size: 0.7rem !important;
  }
  .product-card .btn-add-cart {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  /* Hide Moving Catalogs (Ticker) completely on Mobile */
  .ticker-section {
    display: none !important;
  }

  /* 3 Products Visible Simultaneously on Mobile Screen */
  .product-slider-track {
    gap: 8px !important;
    padding-bottom: 0.5rem !important;
    scroll-snap-type: x mandatory !important;
  }
  .product-card.vertical-card {
    flex: 0 0 calc((100% - 16px) / 3) !important;
    min-width: calc((100% - 16px) / 3) !important;
    max-width: calc((100% - 16px) / 3) !important;
    border-radius: var(--radius-md) !important;
  }
  .product-card.vertical-card .card-thumb-wrap {
    padding-top: 135% !important;
    height: auto !important;
  }
  .product-card.vertical-card .card-badge-discount {
    font-size: 0.52rem !important;
    padding: 1px 3px !important;
    top: 4px !important;
    left: 4px !important;
  }
  .product-card.vertical-card .card-wishlist-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.65rem !important;
    top: 4px !important;
    right: 4px !important;
  }
  .product-card.vertical-card .card-body {
    padding: 4px 5px !important;
  }
  .product-card.vertical-card .card-platform-tag {
    font-size: 0.5rem !important;
    padding: 1px 3px !important;
    margin-bottom: 0.15rem !important;
  }
  .product-card.vertical-card .card-title {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    height: 2.5em !important;
    margin-bottom: 0.2rem !important;
  }
  .product-card.vertical-card .card-rating-row {
    font-size: 0.55rem !important;
    margin-bottom: 0.25rem !important;
  }
  .product-card.vertical-card .card-rating-row span:not(.stars) {
    display: none !important;
  }
  .product-card.vertical-card .card-footer {
    gap: 4px !important;
  }
  .product-card.vertical-card .card-price-current {
    font-size: 0.775rem !important;
    font-weight: 800 !important;
  }
  .product-card.vertical-card .card-price-old {
    font-size: 0.58rem !important;
  }
  .product-card.vertical-card .btn-add-cart {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
  }

  /* Wishlist Products Grid on Mobile - Clean 2-column balanced layout */
  .wishlist-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .wishlist-card-item .card-thumb-wrap {
    padding-top: 135% !important;
    height: auto !important;
  }
  .wishlist-card-item .card-body {
    padding: 0.65rem !important;
  }
  .wishlist-card-item .card-title {
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    height: 2.5em !important;
  }

  .section-header {
    margin-bottom: 0.85rem !important;
  }
  .section-title {
    font-size: 1.15rem !important;
  }

  /* ==================== CATALOG PAGE RESPONSIVE ==================== */
  .catalog-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .mobile-filter-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
    background: #141414 !important;
    border: 1px solid #222 !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
  }
  .btn-mobile-filter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .catalog-sidebar {
    display: none;
  }
  .catalog-sidebar.active {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: #121212 !important;
    padding: 1.5rem !important;
    overflow-y: auto !important;
  }
  .mobile-sidebar-close {
    display: block !important;
    text-align: right !important;
    color: #ef4444 !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    margin-bottom: 1rem !important;
  }

  /* ==================== CART PAGE RESPONSIVE ==================== */
  .cart-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .cart-item-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.85rem !important;
    padding: 0.85rem !important;
    align-items: center !important;
    background: #121212 !important;
    border-bottom: 1px solid #222 !important;
  }
  .cart-item-row img {
    width: 64px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
  }

  /* ==================== CHECKOUT PAGE RESPONSIVE ==================== */
  .checkout-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .checkout-two-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  /* Product Details & Other Blocks */
  .product-unified-container {
    padding: 1rem !important;
  }
  .product-detail-main-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .product-poster-column {
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .product-main-actions-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
  }
  .btn-action-large {
    flex: 1 1 100% !important;
    height: 48px !important;
  }
  .btn-add-cart-large {
    flex: 1 1 calc(100% - 58px) !important;
    height: 48px !important;
  }
  .card-wishlist-btn-detail {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    flex: 0 0 48px !important;
  }
  .installment-action-bar {
    grid-template-columns: 1fr !important;
  }
  .product-trust-badges-grid {
    grid-template-columns: 1fr !important;
  }
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-tabs-header {
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-bottom-inner {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  /* Maintain 2-column product grid with neat proportions */
  .product-grid,
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .product-card .card-thumb-wrap {
    height: 140px !important;
    padding-top: 0 !important;
  }
  .banner-title {
    font-size: 1.1rem !important;
  }
  .installment-months-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}



/* Neon Green Call of Duty MW4 Nav Chip */
.chip-cod-neon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(74, 222, 128, 0.14)) !important;
  border: 1.5px solid #22c55e !important;
  color: #dcfce7 !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45), inset 0 0 8px rgba(34, 197, 94, 0.2) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  transition: all 0.25s ease !important;
}

.chip-cod-neon i {
  color: #4ade80 !important;
  filter: drop-shadow(0 0 6px #22c55e);
}

.chip-cod-neon:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(74, 222, 128, 0.28)) !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.75), inset 0 0 12px rgba(34, 197, 94, 0.35) !important;
  transform: translateY(-1px);
}
