/* ==========================================================================
   VENOM STORE — QUIET POWER & DARK LUXURY DESIGN SYSTEM
   Modern, Authoritative, High-Contrast & Mobile-First
   ========================================================================== */

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

/* ── CSS Custom Properties (Design Tokens) ────────────────────────────── */
:root {
  /* Dark Luxury Theme (Default) */
  --bg-primary: #08090c;
  --bg-secondary: #0e1117;
  --bg-card: #12151e;
  --bg-card-hover: #181d2a;
  --bg-glass: rgba(10, 12, 17, 0.88);
  --bg-glass-strong: rgba(10, 12, 17, 0.96);
  --bg-input: #10131b;
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-heading: #ffffff;

  /* Quiet Luxury Crimson & Burgundy Accents */
  --accent: #9f1239;              /* Deep Burgundy / Wine */
  --accent-vibrant: #e11d48;      /* Focused Vibrant Crimson */
  --accent-hover: #be123c;        /* Refined Hover Crimson */
  --accent-glow: rgba(225, 29, 72, 0.15); /* Soft Understated Warmth */
  --accent-soft: rgba(225, 29, 72, 0.08); /* Soft Tint for active pills */
  --accent-border: rgba(225, 29, 72, 0.35);

  /* System States */
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #38bdf8;

  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.7);

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 74px;
  --bottom-nav-height: 64px;
}

/* Light Mode (Clean, High-End Aesthetic) */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-strong: rgba(255, 255, 255, 0.98);
  --bg-input: #f1f5f9;
  --bg-subtle: rgba(0, 0, 0, 0.02);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-heading: #0f172a;

  --accent: #9f1239;
  --accent-vibrant: #e11d48;
  --accent-hover: #be123c;
  --accent-glow: rgba(225, 29, 72, 0.1);
  --accent-soft: rgba(225, 29, 72, 0.06);
  --accent-border: rgba(225, 29, 72, 0.25);

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* ── Reset & Base Styles ─────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Cairo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition), color var(--transition);
  padding-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

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

::-webkit-scrollbar-thumb {
  background: #272d3d;
  border-radius: var(--radius-full);
}

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

/* ── HEADER (Sleek, Translucent & Quiet) ──────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition);
}

.logo-wrap:hover img {
  transform: scale(1.04);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 0.8px;
  line-height: 1.15;
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Desktop Header Navigation (Pill-Tabs) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.header-nav .nav-link {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}

.header-nav .nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.header-nav .nav-link.active {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(159, 18, 57, 0.4);
}

.header-nav .nav-offers {
  color: #f43f5e;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.search-toggle-btn,
.theme-toggle,
.mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.search-toggle-btn:hover,
.theme-toggle:hover,
.mobile-menu-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.search-toggle-btn svg {
  width: 19px;
  height: 19px;
}

.lang-switch-btn {
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.lang-switch-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-vibrant);
  transform: translateY(-1px);
}

.lang-globe-icon {
  font-size: 0.95rem;
  line-height: 1;
  pointer-events: none;
}

.lang-code-text {
  font-weight: 800;
  font-size: 0.75rem;
  pointer-events: none;
}

/* Cart Button in Header */
.cart-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.cart-btn-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(159, 18, 57, 0.35);
  transform: translateY(-1px);
}

.cart-btn-icon {
  width: 17px;
  height: 17px;
}

.cart-count {
  background: var(--accent-vibrant);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
  line-height: 1.2;
}

/* Mobile Hamburger Menu Trigger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  padding: 0 9px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── MOBILE DRAWER OVERLAY & MENU ─────────────────────────────────────── */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2600;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
}

.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--accent);
  color: #fff;
}

.drawer-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.drawer-search-wrap svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.drawer-search-wrap input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
  outline: none;
}

.drawer-lang-section {
  margin-bottom: 1.25rem;
}

.drawer-lang-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
}

.drawer-lang-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-vibrant);
}

.drawer-lang-btn * {
  pointer-events: none;
}

.drawer-lang-icon {
  font-size: 1.1rem;
}


.drawer-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-align: right;
  width: 100%;
}

.drawer-nav-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  transform: translateX(-4px);
}

.drawer-nav-link.drawer-offer-link {
  color: #f43f5e;
}

.drawer-link-icon {
  font-size: 1.1rem;
}

.drawer-social-section {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.drawer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-social-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all var(--transition);
}

.drawer-social-btn svg {
  width: 18px;
  height: 18px;
}

.drawer-social-btn.whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.drawer-social-btn.community:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* ── HERO SECTION (Quiet Power & Cinematic Calm) ─────────────────────── */
.hero {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(159, 18, 57, 0.18), transparent 70%),
    linear-gradient(180deg, #090b10 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(159, 18, 57, 0.12) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Salawat Banner (Sleek, Refined Luxury Pill) */
.salawat-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.2px;
}

/* Realism Trust Tag (No Fake Counters) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #fda4af;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-vibrant);
  box-shadow: 0 0 8px var(--accent-vibrant);
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

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

.hero-title {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Single Refined CTA Button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(159, 18, 57, 0.35);
  transition: all var(--transition);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(159, 18, 57, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta-btn .cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.hero-cta-btn:hover .cta-arrow {
  transform: translateY(2px);
}

/* ── TRUST PILLARS SECTION (Real Guarantees & Values) ─────────────────── */
.trust-section {
  max-width: 1360px;
  margin: -1rem auto 2.5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.trust-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.trust-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.trust-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── CATEGORIES BAR (Flat Minimal Tabs with Mobile Horizontal Scroll & Indicator) ── */
.categories-container {
  max-width: 1360px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  position: relative;
}

.categories-nav-wrapper {
  position: relative;
  max-width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none; /* Touches pass through naturally */
  -webkit-tap-highlight-color: transparent;
}

.cat-scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.cat-indicator-left {
  left: 0;
  padding-left: 6px;
  justify-content: flex-start;
}

.cat-indicator-right {
  right: 0;
  padding-right: 6px;
  justify-content: flex-end;
}

/* Atmospheric Fade Gradient Overlays */
.cat-fade-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cat-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-card) 45%, rgba(18, 21, 30, 0));
  border-top-left-radius: var(--radius-full);
  border-bottom-left-radius: var(--radius-full);
}

.cat-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-card) 45%, rgba(18, 21, 30, 0));
  border-top-right-radius: var(--radius-full);
  border-bottom-right-radius: var(--radius-full);
}

[data-theme="light"] .cat-fade-left {
  background: linear-gradient(to right, var(--bg-card) 45%, rgba(255, 255, 255, 0));
}

[data-theme="light"] .cat-fade-right {
  background: linear-gradient(to left, var(--bg-card) 45%, rgba(255, 255, 255, 0));
}

/* Subtle Quiet Luxury Chevron Badge */
.cat-chevron-badge {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14, 17, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 10px rgba(225, 29, 72, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
  pointer-events: auto; /* Clickable for quick tap scrolling */
  cursor: pointer;
  touch-action: pan-x; /* Gestures can still pan */
}

.cat-scroll-indicator:hover .cat-chevron-badge {
  background: var(--accent);
  border-color: var(--accent-vibrant);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.5);
  transform: scale(1.06);
}

.cat-chevron-badge svg {
  width: 13px;
  height: 13px;
  stroke: #ffffff;
}

[data-theme="light"] .cat-chevron-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

[data-theme="light"] .cat-chevron-badge svg {
  stroke: #0f172a;
}

[data-theme="light"] .cat-scroll-indicator:hover .cat-chevron-badge svg {
  stroke: #ffffff;
}

/* Gentle 2-Second Subtle Nudge Keyframes */
@keyframes catNudgeLeft {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-3.5px);
  }
}

@keyframes catNudgeRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3.5px);
  }
}

.cat-indicator-left .cat-chevron-badge {
  animation: catNudgeLeft 2s ease-in-out infinite;
}

.cat-indicator-right .cat-chevron-badge {
  animation: catNudgeRight 2s ease-in-out infinite;
}

.categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: fit-content;
  margin: 0 auto;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.cat-btn-icon {
  font-size: 1rem;
}

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

.cat-btn.active {
  background: #1c2230;
  color: #ffffff;
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .cat-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.cat-btn.offers-btn {
  color: #f43f5e;
}

.cat-btn.offers-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, #be123c 100%);
  border-color: transparent;
  color: #ffffff;
}

/* ── SUBCATEGORIES BAR ─────────────────────────────────────────────────── */
.subcategories-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem 1.5rem;
  flex-wrap: wrap;
}

.sub-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}

.sub-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.sub-btn.active {
  background: var(--accent-soft);
  color: var(--accent-vibrant);
  border-color: var(--accent-border);
}

/* ── PRODUCTS SECTION & CENTERED SEARCH ──────────────────────────────── */
.products-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.products-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  text-align: center;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.3px;
}

.search-wrap {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-wrap:focus-within {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card-hover);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.search-wrap:focus-within .search-icon {
  color: var(--accent-vibrant);
}

.search-wrap input {
  background: none;
  border: none;
  padding: 0.8rem 0;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
}

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

/* ── PRODUCTS GRID & CARD ARCHITECTURE ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Product Card — Understated, Confident Luxury */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-input);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.product-card-img.lazy-load {
  opacity: 0;
}

.product-card-img.lazy-loaded {
  opacity: 1;
}

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

/* Badges (Understated & Elegant) */
.offer-badge,
.pre-order-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  z-index: 5;
  letter-spacing: 0.3px;
}

.offer-badge {
  background: #be123c;
  color: #ffffff;
}

.pre-order-badge {
  background: #eab308;
  color: #0f172a;
}

/* Card Body */
.product-card-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
  letter-spacing: -0.3px;
}

[data-theme="light"] .price-current {
  color: #0f172a;
}

.price-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Variations for PlayStation Slots (Minimal, Clean Pills) */
.card-variations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.variation-btn-pill {
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all var(--transition);
  text-align: center;
}

.variation-btn-pill:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.variation-btn-pill.selected {
  background: #1e2535;
  border-color: var(--accent-border);
  color: #ffffff;
}

.variation-btn-pill:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Card Action Button (Single, Clean, Authoritative CTA) */
.card-actions-row {
  margin-top: auto;
  display: flex;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.card-action-cart {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition);
}

.card-action-cart:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(159, 18, 57, 0.3);
}

.card-action-buy {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-action-buy:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Dropdowns for PUBG / Gift Cards */
.pubg-uc-select,
.freefire-diamonds-select,
.giftcard-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  margin-bottom: 0.85rem;
  transition: border-color var(--transition);
}

.pubg-uc-select:focus,
.freefire-diamonds-select:focus,
.giftcard-select:focus {
  border-color: var(--accent-border);
}

/* ── PRODUCT DETAIL MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(15px);
  transition: transform 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-input);
}

.modal-body {
  padding: 1.5rem;
}

.modal-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Quantity Selector */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 130px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.qty-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.qty-input {
  width: 48px;
  height: 36px;
  text-align: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── FORMS & BUTTONS ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  min-height: 85px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  width: 100%;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(159, 18, 57, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.btn-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: #15803d;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

/* ── SHOPPING CART DRAWER ────────────────────────────────────────────── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2600;
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
}

.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.cart-close:hover {
  background: var(--accent);
  color: #fff;
}

.cart-items {
  flex: 1;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  position: relative;
  align-items: center;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-input);
}

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

.cart-item-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cart-item-total {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.cart-item-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
}

.cart-item-delete:hover {
  color: var(--danger);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.btn-checkout {
  width: 100%;
  margin-bottom: 0.5rem;
  background: #15803d;
  color: #ffffff;
}

.btn-checkout:hover {
  background: #16a34a;
}

.btn-clear-cart {
  width: 100%;
}

/* Floating Cart (Desktop Fallback) */
.cart-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 900;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.cart-floating-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-vibrant);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ── MOBILE BOTTOM NAVIGATION BAR (Luxury App-Style Thumb Bar) ────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 1500;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--transition);
  padding: 6px 0;
  min-height: 44px;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent-vibrant);
}

.mobile-nav-item.active svg {
  transform: translateY(-1px);
}

.bnav-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bnav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--accent-vibrant);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.social-media-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-store-link {
  color: var(--text-primary);
  font-weight: 700;
}

.developer-credit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dev-link {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ── TIPS FLOATING BUTTON & MODAL ─────────────────────────────────────── */
.tips-floating-btn {
  position: fixed;
  left: 20px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.tips-floating-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.tips-svg-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.tips-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
}

.tips-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.tips-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.tips-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}

.tips-modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(90deg);
}

.tips-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.tips-modal-header p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.tips-modal-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.tips-custom-notice {
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── ADMIN OVERLAY & CONTROLS ─────────────────────────────────────────── */
.admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
}

.admin-overlay.active {
  display: flex;
}

.admin-login {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-login-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.login-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

.admin-dashboard {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
}

.admin-dashboard.active {
  display: flex;
}

.admin-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.admin-sidebar {
  width: 220px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 1rem 0;
  overflow-y: auto;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.admin-sidebar-link:hover,
.admin-sidebar-link.active {
  background: var(--bg-card);
  color: #ffffff;
  border-left: 3px solid var(--accent);
}

.admin-main {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-input);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.admin-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.admin-form-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-form-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.75rem;
}

.admin-card-actions {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  z-index: 10;
}

.card-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.add-product-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1.5px dashed var(--accent-border);
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
}

.add-product-card:hover {
  background: rgba(159, 18, 57, 0.15);
  border-color: var(--accent);
}

.add-product-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.plus-icon {
  font-size: 2.5rem;
  color: var(--accent-vibrant);
}

.add-text {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── TOAST NOTIFICATIONS ──────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  border-right: 3px solid var(--accent-vibrant);
  animation: toastIn 0.3s ease;
}

.toast.error {
  border-right-color: var(--danger);
}

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

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

.animate-in {
  animation: fadeInUp 0.4s ease forwards;
}

/* ── EMPTY STATE ─────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.empty-state .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.empty-state p {
  font-size: 0.95rem;
}

/* ── RESPONSIVE BREAKPOINTS (Mobile-First Optimization) ───────────────── */

/* Desktop & Large Screens (≥ 1024px) */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

/* Smart Phones & Small Screens (< 768px) — Highest Priority Mobile-First System */
@media (max-width: 767px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: calc(var(--bottom-nav-height) + 16px) !important;
  }

  /* ── Header: Compact, Zero-Overflow, 1-Line Layout ── */
  .header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .header-inner {
    padding: 0.5rem 0.75rem !important;
    height: 60px !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-nav {
    display: none !important;
  }

  .logo-wrap {
    gap: 0.45rem !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .logo-wrap img {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: 0.95rem !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap;
  }

  .logo-tag {
    display: none !important;
  }

  .header-actions {
    gap: 0.3rem !important;
    flex-shrink: 0;
  }

  /* Hide search button in header on mobile since search is in bottom nav & products section */
  .search-toggle-btn {
    display: none !important;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0;
  }

  .lang-switch-btn {
    height: 34px !important;
    padding: 0 0.45rem !important;
    font-size: 0.72rem !important;
    gap: 0.25rem !important;
    flex-shrink: 0;
  }

  .cart-btn-nav {
    height: 34px !important;
    padding: 0 0.55rem !important;
    gap: 0.35rem !important;
    flex-shrink: 0;
  }

  .cart-btn-nav .cart-btn-text {
    display: none !important;
  }

  .cart-count {
    font-size: 0.65rem !important;
    padding: 0.1rem 0.38rem !important;
    min-width: 17px !important;
  }

  /* ── Hero: Centered, Zero Horizontal Overflow ── */
  .hero {
    padding: 2.25rem 0.75rem 1.75rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-ambient-glow {
    width: 320px !important;
    height: 220px !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .salawat-banner {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
  }

  .hero-badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.65rem !important;
    margin-bottom: 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.65rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5 !important;
    padding: 0 0.25rem !important;
  }

  .hero-cta-btn {
    width: 100% !important;
    max-width: 280px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* ── Trust Pillars: 2 Columns, Zero-Overflow ── */
  .trust-section {
    padding: 0 0.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .trust-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .trust-card {
    padding: 0.65rem 0.4rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.4rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .trust-icon-box {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.1rem !important;
  }

  .trust-info h3 {
    font-size: 0.78rem !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.25 !important;
  }

  .trust-info p {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* ── Categories Bar: Responsive Horizontal Strip ── */
  .categories-container {
    padding: 0 0.5rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .categories-nav-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
  }

  .cat-chevron-badge {
    width: 24px !important;
    height: 24px !important;
  }

  .cat-chevron-badge svg {
    width: 11px !important;
    height: 11px !important;
  }

  .cat-fade-mask {
    width: 44px !important;
  }

  .categories-bar {
    justify-content: flex-start !important;
    padding: 0.35rem 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .cat-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 0.35rem !important;
  }

  /* ── Subcategories Bar ── */
  .subcategories-bar {
    padding: 0 0.5rem 1rem !important;
    gap: 0.35rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .sub-btn {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.74rem !important;
  }

  /* ── Products Section & Grid (2 Columns, Strictly Contained) ── */
  .products-section {
    padding: 1rem 0.5rem 2.5rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .products-header {
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.85rem !important;
  }

  .section-title {
    font-size: 1.15rem !important;
  }

  .search-wrap {
    max-width: 100% !important;
    padding: 0 0.85rem !important;
    height: 42px !important;
    box-sizing: border-box !important;
  }

  .search-wrap input {
    padding: 0.5rem 0 !important;
    font-size: 0.82rem !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── Product Card: Strictly Zero Overflow Inside 2-Column Grid ── */
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }

  .product-card-body {
    padding: 0.55rem 0.45rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .product-card-cat {
    font-size: 0.65rem !important;
    margin-bottom: 0.2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .product-card-title,
  .product-card.playstation-card .product-card-title {
    font-size: 0.78rem !important;
    min-height: 2.2em !important;
    height: auto !important;
    max-height: 2.4em !important;
    line-height: 1.2 !important;
    margin-bottom: 0.3rem !important;
    -webkit-line-clamp: 2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .product-card-price,
  .product-card.playstation-card .price-current {
    font-size: 0.88rem !important;
    margin-bottom: 0.35rem !important;
    white-space: nowrap !important;
  }

  .card-variations {
    gap: 0.25rem !important;
    margin-top: 0.35rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .variation-btn-pill {
    padding: 0.3rem 0.4rem !important;
    font-size: 0.68rem !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0.2rem !important;
  }

  .variation-btn-pill span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  .pubg-uc-select,
  .freefire-diamonds-select,
  .giftcard-select {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-top: 0.25rem !important;
  }

  .card-actions-row {
    gap: 0.25rem !important;
    margin-top: 0.45rem !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .card-action-cart,
  .card-action-buy {
    min-width: 0 !important;
    flex: 1 1 0% !important;
    padding: 0.45rem 0.2rem !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  /* ── Mobile Bottom Navigation Bar (Active on Mobile) ── */
  .mobile-bottom-nav {
    display: flex !important;
    width: 100vw !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Hide floating cart on mobile because bottom nav has cart */
  .cart-floating-btn {
    display: none !important;
  }

  /* Position guidelines button safely above bottom navigation */
  .tips-floating-btn {
    bottom: calc(var(--bottom-nav-height) + 12px) !important;
    left: 12px !important;
    width: 42px !important;
    height: 42px !important;
  }

  [dir="ltr"] .tips-floating-btn {
    left: auto !important;
    right: 12px !important;
  }

  /* ── Footer ── */
  .footer {
    padding: 2.25rem 0.85rem calc(var(--bottom-nav-height) + 1.5rem) !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .social-media-bar {
    gap: 0.5rem !important;
  }

  .social-icon-btn {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.76rem !important;
  }

  /* ── Admin on Mobile ── */
  .admin-sidebar {
    width: 54px !important;
  }

  .admin-sidebar-link span:last-child {
    display: none !important;
  }

  .admin-sidebar-link {
    justify-content: center !important;
    padding: 0.75rem 0 !important;
  }

  /* ── Modals on Mobile ── */
  .modal-overlay {
    padding: 0.65rem !important;
  }

  .modal {
    max-width: 100% !important;
    border-radius: var(--radius-lg) !important;
  }

  .modal-body {
    padding: 1rem 0.85rem !important;
  }

  .modal-title {
    font-size: 1.15rem !important;
  }
}

/* Extra Small Screens (≤ 360px) */
@media (max-width: 360px) {
  .header-inner {
    padding: 0.4rem 0.5rem !important;
  }

  .logo-text {
    font-size: 0.85rem !important;
  }

  .hero-title {
    font-size: 1.25rem !important;
  }

  .products-grid {
    gap: 0.35rem !important;
  }

  .product-card-body {
    padding: 0.45rem 0.35rem !important;
  }

  .card-action-cart,
  .card-action-buy {
    font-size: 0.64rem !important;
    padding: 0.4rem 0.15rem !important;
  }
}





/* ── QUIET LUXURY PLAYSTATION & DIGITAL CARDS STYLES ───────────────── */

.product-card.playstation-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition) !important;
}

.product-card.playstation-card:hover {
  border-color: var(--accent-border) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-4px);
}

.product-card.playstation-card .product-card-title {
  color: var(--text-primary) !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.4rem !important;
  height: 2.8rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product-card.playstation-card .price-current {
  color: var(--accent-vibrant) !important;
  font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
}

/* Badges */
.pre-order-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d97706;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.offer-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Variations Wrapper */
.card-variations {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
  width: 100%;
}

.variation-btn-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: right;
  direction: rtl;
}

.variation-btn-pill:hover:not(:disabled) {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--text-primary);
}

.variation-btn-pill.selected {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 2px 10px rgba(159, 18, 57, 0.4);
}

.variation-btn-pill:disabled {
  opacity: 0.35 !important;
  color: var(--text-muted) !important;
  border-color: transparent !important;
  background: var(--bg-secondary) !important;
  cursor: not-allowed;
}

.variation-btn-pill .unavailable-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: normal;
}

/* Loan Duration Segmented Control */
.duration-segmented-control {
  display: flex;
  gap: 0.3rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

.duration-btn {
  flex: 1;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.duration-btn:hover {
  color: var(--text-primary);
  background: var(--accent-soft);
}

.duration-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(159, 18, 57, 0.3);
}

/* Direct Action Buttons on Card */
.card-actions-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
  min-width: 0;
}

.card-action-cart {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition);
  cursor: pointer;
}

.card-action-cart:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-vibrant);
}

.card-action-buy {
  background: var(--accent);
  border: none;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  flex: 1.3;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(159, 18, 57, 0.3);
  cursor: pointer;
}

.card-action-buy:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(159, 18, 57, 0.5);
  transform: translateY(-1px);
}

/* PlayStation Plus Specific Premium Card */
.product-card.ps-plus-card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(159, 18, 57, 0.3) !important;
}

.product-card.ps-plus-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 12px 32px rgba(159, 18, 57, 0.15), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.product-card.ps-plus-card .product-card-title {
  color: var(--text-primary) !important;
}

.product-card.ps-plus-card .product-card-cat {
  color: #e2e8f0 !important;
  font-weight: 700;
}

.product-card.ps-plus-card .price-current {
  color: var(--accent-vibrant) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
}

/* Custom Selects for PUBG, FreeFire, Gift Cards */
.pubg-uc-select,
.freefire-diamonds-select,
.giftcard-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.4rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pubg-uc-select:focus,
.freefire-diamonds-select:focus,
.giftcard-select:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

[data-theme="light"] .pubg-uc-select,
[data-theme="light"] .freefire-diamonds-select,
[data-theme="light"] .giftcard-select {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

/* ── LTR SUPPORT (ENGLISH MODE) ───────────────────────────────────────── */
[dir="ltr"] body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

[dir="ltr"] .logo-text-group {
  text-align: left;
}

[dir="ltr"] .mobile-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
}

[dir="ltr"] .mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(0);
}

[dir="ltr"] .cart-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
}

[dir="ltr"] .cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

[dir="ltr"] .cart-item-actions {
  margin-left: 0;
  margin-right: auto;
}

[dir="ltr"] .cart-item-delete {
  right: auto;
  left: 8px;
}

[dir="ltr"] .toast {
  border-right: none;
  border-left: 3px solid var(--accent-vibrant);
}

[dir="ltr"] .toast.error {
  border-left-color: var(--danger);
}

[dir="ltr"] .pre-order-badge,
[dir="ltr"] .offer-badge {
  right: auto;
  left: 10px;
}

[dir="ltr"] .variation-btn-pill {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .admin-card-actions {
  left: auto;
  right: 8px;
}

[dir="ltr"] .tips-floating-btn {
  left: auto;
  right: 20px;
}

@media (max-width: 767px) {
  [dir="ltr"] .trust-card {
    text-align: left;
  }
}

