/* ═══════════════════════════════════════════════════════
   SOLARAIZE — Design System & Global Styles
   Premium Solar Energy Store for the Algerian Market
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Primary Palette — Solar warmth */
  --amber-50: #fffdf0;
  --amber-100: #fffbca;
  --amber-200: #fff893;
  --amber-300: #fff35c;
  --amber-400: #ffe816; /* Brand Yellow */
  --amber-500: #facc15; /* Pure Yellow */
  --amber-600: #ca8a04; /* Gold-Yellow */
  --amber-700: #a16207; /* Dark Gold */

  /* Secondary — Deep night sky */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Accent */
  --orange-500: #ffe816; /* Replaced orange-500 with brand yellow */
  --emerald-400: #34d399;
  --emerald-500: #10b981;

  /* Semantic */
  --bg-primary: #050a14;
  --bg-secondary: #0a1628;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.45);
  --border-glass: rgba(255, 232, 22, 0.12); /* Uses brand yellow */
  --border-subtle: rgba(148, 163, 184, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glow-amber: rgba(255, 232, 22, 0.25);
  --glow-amber-strong: rgba(255, 232, 22, 0.5);


  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #ffe816 0%, #fde047 50%, #ca8a04 100%);
  --gradient-gold: linear-gradient(135deg, #ffe816 0%, #fde047 50%, #facc15 100%);
  --gradient-dark: linear-gradient(180deg, #050a14 0%, #0a1628 100%);
  --gradient-card: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(5, 10, 20, 0.9) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 232, 22, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px var(--glow-amber);
  --shadow-glow-strong: 0 0 60px var(--glow-amber-strong);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

/* ── Utility ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Animated Background Particles ── */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.bg-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--amber-400);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.navbar.scrolled {
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo img,
.footer-logo img {
  height: 38px;
  width: 211px;
  display: block;
  object-fit: contain;
}

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

.logo-dark {
  display: block !important;
}

body.light-mode .logo-light {
  display: block !important;
}

body.light-mode .logo-dark {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--amber-400);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-gold) !important;
  color: var(--slate-900) !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 0 20px var(--glow-amber);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.4) 0%,
    rgba(5, 10, 20, 0.2) 40%,
    rgba(5, 10, 20, 0.7) 80%,
    rgba(5, 10, 20, 1) 100%
  );
}

/* Animated sun glow behind hero */
.hero-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-amber) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.15); }
}

.hero-container {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber-300);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald-400);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.8rem;
  animation: fadeInUp 0.8s 0.15s var(--ease-out-expo) both;
}

.hero h1 .gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s 0.3s var(--ease-out-expo) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s var(--ease-out-expo) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  background: var(--gradient-gold);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-secondary:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--amber-500);
  transform: translateY(-2px);
}

/* Hero Stats Card */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s 0.6s var(--ease-out-expo) both;
}

.hero-stat {
  text-align: center;
  position: relative;
  padding: 0.5rem 1rem;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child::after {
  display: none;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   TRUST BAR / MARQUEE
   ══════════════════════════════════════ */
.trust-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

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

.trust-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.trust-bar::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.trust-marquee {
  display: flex;
  animation: marquee 25s linear infinite;
}

.trust-marquee .trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--duration-normal) ease;
}

.trust-marquee .trust-item:hover {
  opacity: 1;
}

.trust-marquee .trust-item svg {
  width: 28px;
  height: 28px;
  fill: var(--amber-500);
  opacity: 0.6;
}

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

/* ══════════════════════════════════════
   FEATURES / ADVANTAGES
   ══════════════════════════════════════ */
.features {
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.feature-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 25px var(--glow-amber);
  transform: scale(1.08);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   PRODUCTS / STORE
   ══════════════════════════════════════ */
.products {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
  backdrop-filter: blur(8px);
}

.filter-tab:hover {
  color: var(--amber-400);
  border-color: rgba(245, 158, 11, 0.2);
}

.filter-tab.active {
  background: var(--gradient-gold);
  color: var(--slate-900);
  border-color: transparent;
  box-shadow: 0 0 20px var(--glow-amber);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out-expo);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-amber);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  z-index: 3;
}

.product-badge.new {
  background: var(--emerald-500);
  color: white;
}

.product-badge.promo {
  background: var(--orange-500);
  color: var(--slate-900);
  font-weight: 700;
}

.product-badge.best {
  background: var(--gradient-gold);
  color: var(--slate-900);
}

.product-image {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out-expo);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

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

.product-image .quick-view {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6rem 1.6rem;
  background: var(--gradient-gold);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.product-card:hover .product-image .quick-view {
  bottom: 1rem;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.product-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.06);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

.product-spec svg {
  width: 14px;
  height: 14px;
  fill: var(--amber-500);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price .current {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber-400);
  line-height: 1.2;
}

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

.product-cart-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 0 15px var(--glow-amber);
}

.product-cart-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--slate-900);
}

.product-cart-btn:hover {
  transform: scale(1.12);
  box-shadow: var(--shadow-glow-strong);
}

/* ══════════════════════════════════════
   WHY CHOOSE US - SPLIT SECTION
   ══════════════════════════════════════ */
.why-us {
  position: relative;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-elevated);
}

.why-visual-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.why-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(5, 10, 20, 0.8) 100%
  );
}

/* Floating stat card */
.floating-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1.2rem 1.6rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-stat .fs-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber-400);
  line-height: 1;
}

.floating-stat .fs-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.why-content {
  padding-left: 1rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.why-item:hover {
  border-color: var(--border-glass);
  transform: translateX(8px);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.why-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--amber-400);
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--slate-900);
}

.testimonial-info .t-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-info .t-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */
.cta-section {
  position: relative;
  z-index: 2;
}

.cta-card {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem);
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--glow-amber) 0%, transparent 50%);
  opacity: 0.08;
  animation: rotateCTA 20s linear infinite;
}

@keyframes rotateCTA {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-card .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.contact-card:hover {
  border-color: var(--border-glass);
  transform: translateX(6px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  padding: 2.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: max(0.9rem, 16px); /* Prevents iOS auto-zoom on focus */
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--slate-800);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-gold);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.footer-social a:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--amber-500);
  color: var(--amber-400);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.footer-col ul li a:hover {
  color: var(--amber-400);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--amber-500);
  transition: color var(--duration-fast) ease;
}

.footer-bottom a:hover {
  color: var(--amber-400);
}

/* ══════════════════════════════════════
   CART SIDEBAR
   ══════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

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

.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

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

.filter-dropdown {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: max(1rem, 16px);
  transition: border-color var(--duration-fast) ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.filter-dropdown:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right var(--duration-slow) var(--ease-out-expo);
}

.cart-sidebar.active {
  right: 0;
}

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

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.06);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.cart-close:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty .cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber-400);
  font-size: 0.95rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast) ease;
}

.cart-item-qty button:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--amber-500);
}

.cart-item-qty span {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  align-self: flex-start;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px;
  transition: color var(--duration-fast) ease;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

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

.cart-total span:first-child {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cart-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber-400);
}

.cart-checkout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-gold);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

/* Cart badge count */
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--orange-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-900);
  border: 2px solid var(--bg-primary);
  opacity: 0;
  transform: scale(0);
  transition: all var(--duration-normal) var(--ease-spring);
}

@keyframes cartPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); transform: scale(1); }
}

@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.25) rotate(-10deg); }
  60% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1); }
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
  animation: cartPulse 2s infinite var(--ease-spring);
}

.nav-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.nav-cart-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--amber-500);
  color: var(--amber-400);
}

.nav-cart-btn.bump {
  animation: cartBump 0.4s var(--ease-spring);
  border-color: var(--amber-500);
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3000;
  transform: translateX(120%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  box-shadow: var(--shadow-card);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  font-size: 1rem;
}

.toast-text {
  font-size: 0.88rem;
  font-weight: 500;
}

.toast-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ══════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: 50%;
  color: var(--slate-900);
  font-size: 1.2rem;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-strong);
}

/* ══════════════════════════════════════
   STORE CONTROLS (SEARCH & FILTERS)
   ══════════════════════════════════════ */
.store-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.2rem;
  min-width: 300px;
  flex: 1;
  max-width: 500px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.search-bar:focus-within {
  border-color: var(--amber-500);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.search-bar svg {
  color: var(--text-muted);
  margin-right: 0.8rem;
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}

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

.store-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-dropdown {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.6rem 2.5rem 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.filter-dropdown:hover, .filter-dropdown:focus {
  border-color: var(--amber-500);
}

.filter-dropdown option {
  background: var(--slate-900);
  color: var(--text-primary);
}

/* ══════════════════════════════════════
   PRODUCT DETAILS MODAL
   ══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

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

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-elevated);
  transition: all var(--duration-normal) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.product-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  z-index: 10;
  transition: all var(--duration-fast) ease;
}

.modal-close:hover {
  background: var(--amber-500);
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-main-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.modal-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumbnails {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.modal-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb.active {
  border-color: var(--amber-400);
}

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

.modal-brand {
  font-size: 0.85rem;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.modal-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.modal-specs {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.modal-specs h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
}

.modal-spec-row:last-child {
  border-bottom: none;
}

.modal-spec-key {
  color: var(--text-muted);
  font-weight: 500;
}

.modal-spec-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--duration-fast) ease;
  flex: 1;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-btn-cart {
  flex: 2;
  justify-content: center;
}

/* ══════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-gold);
  z-index: 9999;
  transition: width 50ms linear;
  box-shadow: 0 0 10px var(--glow-amber);
}

/* ══════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.breadcrumbs a:hover {
  color: var(--amber-400);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--amber-400);
  font-weight: 500;
}

/* ══════════════════════════════════════
   SKELETON LOADING
   ══════════════════════════════════════ */
.product-skeleton {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-image {
  height: 260px;
  background: rgba(15, 23, 42, 0.8);
}

.skeleton-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skeleton-line {
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.08);
}

.skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.skeleton-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.08);
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: 6rem;
}

.pd-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
  cursor: zoom-in;
}

.pd-main-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.pd-thumbnails {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.pd-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb.active {
  border-color: var(--amber-400);
}

.pd-brand {
  font-size: 0.85rem;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pd-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.pd-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pd-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber-400);
  margin-bottom: 1rem;
}

.pd-capacity {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-400);
  margin-bottom: 1.5rem;
}

.pd-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pd-specs {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.pd-specs h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
}

.spec-key {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.pd-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pd-actions .btn-primary,
.pd-actions .btn-secondary,
.pd-actions .btn-download {
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.pd-add-cart {
  flex: 2 !important;
}

.related-products {
  padding-top: 2rem;
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ══════════════════════════════════════
   WISHLIST BUTTON ON CARDS
   ══════════════════════════════════════ */
.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  z-index: 5;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

/* ══════════════════════════════════════
   TAB COUNT BADGE
   ══════════════════════════════════════ */
.tab-count {
  font-size: 0.75em;
  opacity: 0.7;
  font-weight: 400;
}

.filter-tab.active .tab-count {
  opacity: 1;
}

/* ══════════════════════════════════════
   IMAGE ZOOM
   ══════════════════════════════════════ */
.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.4s var(--ease-out-expo);
}

.zoomable-image.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  z-index: 100;
}

/* ══════════════════════════════════════
   CALCULATOR
   ══════════════════════════════════════ */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.calc-form-card,
.calc-results-card,
.calc-placeholder {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.calc-form-card h3,
.calc-results-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.calc-input-group {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.calc-input-group:focus-within {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.calc-input-group input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: max(1rem, 16px);
  outline: none;
}

.calc-suffix {
  padding: 0 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 1px solid var(--border-subtle);
  background: rgba(148, 163, 184, 0.04);
}

.calc-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.calc-radio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.calc-radio input {
  display: none;
}

.calc-radio-icon {
  font-size: 1.5rem;
}

.calc-radio.active,
.calc-radio:hover {
  border-color: var(--amber-500);
  background: rgba(245, 158, 11, 0.08);
  color: var(--amber-400);
}

.calc-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Calculator Results */
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-result-item {
  text-align: center;
  padding: 1.2rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-md);
}

.calc-result-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber-400);
  margin-bottom: 0.25rem;
}

.calc-result-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-system-info {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.calc-system-info h4 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-spec-row:last-child {
  border-bottom: none;
}

.calc-spec-row strong {
  color: var(--text-primary);
}

.calc-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.calc-cta .btn-primary,
.calc-cta .btn-secondary {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  text-align: center;
}

.calc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  min-height: 400px;
  gap: 1.5rem;
}

.calc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.calc-info-card {
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.calc-info-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.calc-info-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-info-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--amber-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.faq-item:hover {
  border-color: var(--border-glass);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out-expo), padding var(--duration-normal) ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--amber-400);
  text-decoration: underline;
}

.faq-cta {
  margin-top: 3rem;
}

/* ══════════════════════════════════════
   ABOUT PAGE STATS
   ══════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.about-stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════
   DARK / LIGHT MODE TOGGLE
   ══════════════════════════════════════ */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.theme-toggle:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--amber-500);
  color: var(--amber-400);
}

.theme-icon-light {
  display: none;
}

/* ══════════════════════════════════════
   LIGHT MODE — Comprehensive Overrides
   ══════════════════════════════════════ */
body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(245, 158, 11, 0.2);
  --border-subtle: rgba(148, 163, 184, 0.2);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.1);
  --glow-amber: rgba(245, 158, 11, 0.15);
  --glow-amber-strong: rgba(245, 158, 11, 0.3);
}

/* ── Particles ── */
body.light-mode .bg-particles .particle {
  background: var(--amber-500);
}

/* ── Navbar ── */
body.light-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

body.light-mode .nav-links a {
  color: var(--text-secondary);
}

body.light-mode .nav-links a:hover {
  color: var(--amber-600);
}

body.light-mode .nav-links a.active {
  color: var(--amber-600);
}

body.light-mode .hamburger span {
  background: var(--text-primary);
}

body.light-mode .nav-cart-btn,
body.light-mode .theme-toggle,
body.light-mode .lang-btn {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

body.light-mode .nav-cart-btn:hover,
body.light-mode .theme-toggle:hover,
body.light-mode .lang-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--amber-500);
  color: var(--amber-600);
}



body.light-mode .why-visual-card::after {
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(248, 250, 252, 0.95) 100%
  );
}

/* ── Hero Section ── */
body.light-mode .hero-bg img {
  filter: brightness(0.92) saturate(1.1);
}

body.light-mode .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.45) 0%,
    rgba(248, 250, 252, 0.75) 50%,
    rgba(248, 250, 252, 1) 100%
  );
}

body.light-mode .hero-content,
body.light-mode .hero h1,
body.light-mode .hero-description {
  color: var(--text-primary);
}

body.light-mode .hero-badge {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber-600);
}

body.light-mode .hero h1 .gradient-text {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-stats {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-stat::after {
  background: rgba(148, 163, 184, 0.2);
}

body.light-mode .hero-stat .stat-number {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-stat .stat-label {
  color: var(--text-secondary);
}

body.light-mode .hero-glow {
  opacity: 0.15;
}

/* ── Section Headers ── */
body.light-mode .section-tag {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.18);
}

/* ── Feature Cards ── */
body.light-mode .feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .feature-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1);
}

body.light-mode .feature-icon {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.15);
}

body.light-mode .feature-icon svg,
body.light-mode .contact-card-icon svg {
  color: var(--amber-600);
}

body.light-mode .feature-card h3 {
  color: var(--text-primary);
}

/* ── Products ── */
body.light-mode .products {
  background: var(--bg-secondary);
}

body.light-mode .product-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

body.light-mode .product-image {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

body.light-mode .product-spec {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-secondary);
}

body.light-mode .product-footer {
  border-top-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .filter-tab {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

body.light-mode .filter-tab:hover {
  color: var(--amber-600);
  border-color: rgba(245, 158, 11, 0.25);
}

body.light-mode .filter-tab.active {
  background: var(--gradient-gold);
  color: var(--slate-900);
  border-color: transparent;
}

/* ── Store Controls / Search ── */
body.light-mode .search-bar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
}

body.light-mode .search-bar input {
  color: var(--text-primary);
}

body.light-mode .filter-dropdown {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
}

body.light-mode .filter-dropdown option {
  background: #fff;
  color: var(--text-primary);
}

/* ── Why Us Section ── */
body.light-mode .why-visual-card {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .floating-stat {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .why-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .why-item:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

body.light-mode .why-item-icon {
  background: rgba(245, 158, 11, 0.08);
}

/* ── CTA Section ── */
body.light-mode .cta-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ── Testimonials ── */
body.light-mode .testimonials {
  background: var(--bg-secondary);
}

body.light-mode .testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .testimonial-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

/* ── Contact ── */
body.light-mode .contact {
  background: var(--bg-secondary);
}

body.light-mode .contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.light-mode .contact-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

body.light-mode .contact-card-icon {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.12);
}

body.light-mode .contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-primary);
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
  color: #94a3b8;
}

body.light-mode .form-group select option {
  background: #fff;
}

/* ── Calculator ── */
body.light-mode .calc-form-card,
body.light-mode .calc-results-card,
body.light-mode .calc-placeholder {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .calc-input-group {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.25);
}

body.light-mode .calc-input-group input {
  color: var(--text-primary);
}

body.light-mode .calc-suffix {
  background: rgba(148, 163, 184, 0.06);
  border-left-color: rgba(148, 163, 184, 0.2);
}

body.light-mode .calc-radio {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

body.light-mode .calc-radio.active,
body.light-mode .calc-radio:hover {
  border-color: var(--amber-500);
  background: rgba(245, 158, 11, 0.06);
  color: var(--amber-600);
}

body.light-mode .calc-result-item {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.1);
}

body.light-mode .calc-system-info {
  background: rgba(248, 250, 252, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .calc-info-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.light-mode .calc-info-icon {
  color: var(--amber-600);
}

/* ── FAQ ── */
body.light-mode .faq-item {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .faq-item:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

body.light-mode .faq-question {
  color: var(--text-primary);
}

body.light-mode .faq-answer p {
  color: var(--text-secondary);
}

/* ── About Page Stats ── */
body.light-mode .about-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ── Accent colors for light mode ── */
body.light-mode .about-stat-card .stat-number {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .gradient-text {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .floating-stat .fs-number,
body.light-mode .calc-result-value,
body.light-mode .product-price .current,
body.light-mode .cart-item-price,
body.light-mode .cart-total span:last-child,
body.light-mode .pd-price,
body.light-mode .pd-brand,
body.light-mode .modal-brand,
body.light-mode .faq-category-title,
body.light-mode .faq-item.open .faq-chevron,
body.light-mode .breadcrumb-current,
body.light-mode .product-category,
body.light-mode .rv-price {
  color: var(--amber-600);
}

/* ── Cart & Wishlist Sidebar ── */
body.light-mode .cart-sidebar {
  background: #fff;
  border-left-color: rgba(148, 163, 184, 0.2);
}

body.light-mode .cart-header {
  border-bottom-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .cart-item {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .cart-item-img {
  background: rgba(241, 245, 249, 0.9);
}

body.light-mode .cart-item-qty button {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
}

body.light-mode .cart-item-qty button:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--amber-500);
}

body.light-mode .cart-footer {
  border-top-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .cart-close {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-secondary);
}

body.light-mode .cart-close:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-600);
}

body.light-mode .cart-count {
  border-color: #fff;
}

/* ── Checkout Form (in cart sidebar) ── */
body.light-mode .checkout-view input {
  background: rgba(248, 250, 252, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: var(--text-primary) !important;
}

body.light-mode .checkout-view p {
  color: var(--text-secondary) !important;
}

body.light-mode .checkout-view label {
  color: var(--text-secondary) !important;
}

/* ── Product Modal ── */
body.light-mode .product-modal {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.99) 100%);
  border-color: rgba(148, 163, 184, 0.2);
}

body.light-mode .modal-overlay {
  background: rgba(15, 23, 42, 0.5);
}

body.light-mode .modal-close {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-primary);
}

body.light-mode .modal-close:hover {
  background: var(--amber-500);
  color: #fff;
}

body.light-mode .modal-main-img {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .modal-thumb {
  background: rgba(241, 245, 249, 0.8);
}

body.light-mode .modal-specs {
  background: rgba(248, 250, 252, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .btn-download {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
}

body.light-mode .btn-download:hover {
  background: rgba(241, 245, 249, 1);
}

/* ── Product Detail Page ── */
body.light-mode .pd-main-img {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .pd-thumb {
  background: rgba(241, 245, 249, 0.8);
}

body.light-mode .pd-specs {
  background: rgba(248, 250, 252, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

/* ── Toast ── */
body.light-mode .toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

/* ── Skeleton Loading ── */
body.light-mode .product-skeleton {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .skeleton-image {
  background: rgba(241, 245, 249, 0.9);
}

body.light-mode .skeleton-line {
  background: rgba(148, 163, 184, 0.1);
}

body.light-mode .skeleton-circle {
  background: rgba(148, 163, 184, 0.1);
}

body.light-mode .shimmer::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

/* ── Trust Bar ── */
body.light-mode .trust-bar {
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .trust-bar::before {
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

body.light-mode .trust-bar::after {
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

/* ── Breadcrumbs ── */
body.light-mode .breadcrumbs a {
  color: var(--text-secondary);
}

/* ── Recently Viewed ── */
body.light-mode .rv-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .rv-item img {
  background: rgba(241, 245, 249, 0.9);
}

/* ── Language Dropdown ── */
body.light-mode .lang-dropdown {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-dropdown a {
  color: var(--text-secondary);
}

body.light-mode .lang-dropdown a:hover {
  background: rgba(245, 158, 11, 0.06);
  color: var(--amber-600);
}

/* ── Wishlist Button ── */
body.light-mode .wishlist-btn {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
}

/* ── Back to Top ── */
body.light-mode .back-to-top {
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* ── Scroll Progress ── */
body.light-mode .scroll-progress {
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

/* ── btn-secondary in light mode ── */
body.light-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-primary);
}

body.light-mode .btn-secondary:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--amber-500);
}

/* ── Mobile nav in light mode ── */
@media (max-width: 768px) {
  body.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
  }

  body.light-mode .nav-links a {
    color: var(--text-primary);
  }
}

/* ── Footer light mode overrides ── */
body.light-mode .footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
}

body.light-mode .footer .footer-col h4 {
  color: var(--text-primary);
}

body.light-mode .footer .footer-brand div {
  color: var(--text-primary) !important;
}

body.light-mode .footer .footer-brand p,
body.light-mode .footer-bottom {
  color: var(--text-secondary);
}

body.light-mode .footer .footer-col ul li a {
  color: var(--text-secondary);
}

body.light-mode .footer .footer-col ul li a:hover {
  color: var(--amber-600);
}

body.light-mode .footer .footer-social a {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-secondary);
}

body.light-mode .footer .footer-social a:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--amber-500);
  color: var(--amber-600);
}

body.light-mode .footer .footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.15);
}

/* ══════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.7rem;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.lang-btn:hover {
  border-color: var(--amber-500);
  color: var(--amber-400);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration-fast) ease;
  z-index: 1010;
  overflow: hidden;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.lang-dropdown a:hover {
  background: rgba(245, 158, 11, 0.08);
  color: var(--amber-400);
}

.lang-dropdown a.active {
  color: var(--amber-400);
  font-weight: 600;
}

/* ══════════════════════════════════════
   NAV ACTIVE STATE
   ══════════════════════════════════════ */
.nav-links a.active {
  color: var(--amber-400);
}

.nav-links a.active::after {
  width: 100%;
}

/* ══════════════════════════════════════
   RECENTLY VIEWED BAR
   ══════════════════════════════════════ */
.recently-viewed-bar {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.recently-viewed-bar h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recently-viewed-items {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.rv-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  min-width: 200px;
  transition: all var(--duration-fast) ease;
}

.rv-item:hover {
  border-color: var(--border-glass);
}

.rv-item img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: rgba(15, 23, 42, 0.8);
}

.rv-info {
  display: flex;
  flex-direction: column;
}

.rv-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.rv-price {
  font-size: 0.75rem;
  color: var(--amber-400);
  font-weight: 700;
}

/* ══════════════════════════════════════
   PRODUCT NAME LINKS
   ══════════════════════════════════════ */
.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.product-name a:hover {
  color: var(--amber-400);
}

/* ══════════════════════════════════════
   RTL SUPPORT (Arabic)
   ══════════════════════════════════════ */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .breadcrumb-sep {
  transform: scaleX(-1);
}

[dir="rtl"] .why-content {
  padding-left: 0;
  padding-right: 1rem;
}

[dir="rtl"] .why-item:hover {
  transform: translateX(-8px);
}

[dir="rtl"] .contact-card:hover {
  transform: translateX(-6px);
}

[dir="rtl"] .footer-col ul li a:hover {
  padding-left: 0;
  padding-right: 6px;
}

[dir="rtl"] .search-bar svg {
  margin-right: 0;
  margin-left: 0.8rem;
}

[dir="rtl"] .calc-suffix {
  border-left: none;
  border-right: 1px solid var(--border-subtle);
}

[dir="rtl"] .faq-question {
  flex-direction: row-reverse;
}

[dir="rtl"] .floating-stat {
  right: auto;
  left: -20px;
}

/* ══════════════════════════════════════
   SHOP CTA SECTION
   ══════════════════════════════════════ */
.shop-cta-section {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
}

.shop-cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.shop-cta-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-amber) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0.15;
  animation: pulseGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.shop-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.shop-cta-badge svg {
  color: var(--amber-400);
}

.shop-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.shop-cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.shop-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.shop-cta-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.shop-cta-feature svg {
  color: var(--emerald-400);
  flex-shrink: 0;
}

.shop-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual side */
.shop-cta-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.shop-cta-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--glow-amber-strong) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.shop-cta-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.shop-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1.2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out-expo);
  text-align: center;
}

.shop-icon-item svg {
  color: var(--amber-400);
}

.shop-icon-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.shop-icon-item:hover {
  border-color: var(--amber-500);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--glow-amber);
}

.shop-icon-item:hover svg {
  color: var(--amber-300);
}

/* Light mode overrides */
body.light-mode .shop-cta-section {
  background: var(--bg-secondary);
}

body.light-mode .shop-cta-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .shop-cta-badge {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--amber-600);
}

body.light-mode .shop-cta-badge svg {
  color: var(--amber-600);
}

body.light-mode .shop-icon-item {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.15);
}

body.light-mode .shop-icon-item svg {
  color: var(--amber-600);
}

body.light-mode .shop-icon-item:hover {
  border-color: var(--amber-500);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.1);
}

/* ══════════════════════════════════════
   PAGE SECTION (offset for fixed nav)
   ══════════════════════════════════════ */
.page-section {
  min-height: 60vh;
}

/* ══════════════════════════════════════
   MEDIA QUERIES
   ══════════════════════════════════════ */


/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-content {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .modal-content {
    gap: 1.5rem;
  }

  .shop-cta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .shop-cta-visual {
    min-height: 200px;
  }
}

/* ── Mobile landscape & small tablets (≤768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 10, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) ease;
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -5%;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.5rem;
  }

  .hero-stat {
    padding: 0.5rem;
  }

  .hero-stat::after {
    display: none;
  }

  .hero-stat .stat-number {
    font-size: 1.8rem;
  }

  .hero-stat .stat-label {
    font-size: 0.78rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .product-image {
    height: 220px;
  }

  .product-card:hover .product-image .quick-view {
    bottom: -50px;
  }

  .product-image .quick-view {
    bottom: 0.8rem;
    opacity: 1;
    pointer-events: auto;
  }

  /* Store Controls */
  .store-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .store-filters {
    flex-direction: column;
  }

  .filter-dropdown {
    width: 100%;
  }

  /* Filter Tabs - horizontal scroll */
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Why Us */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-content {
    padding-left: 0;
  }

  .why-visual-card img {
    height: 280px;
  }

  .floating-stat {
    bottom: -15px;
    right: 10px;
    padding: 1rem 1.2rem;
  }

  .floating-stat .fs-number {
    font-size: 1.4rem;
  }

  .why-item {
    padding: 1rem;
  }

  .why-item:hover {
    transform: none;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Shop CTA */
  .shop-cta-card {
    padding: 2rem 1.5rem;
  }

  .shop-cta-visual {
    display: none;
  }

  .shop-cta-actions {
    flex-direction: column;
  }

  .shop-cta-actions .btn-primary,
  .shop-cta-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* CTA */
  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card p {
    font-size: 0.95rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  /* Product Modal - near full-screen on mobile */
  .product-modal {
    width: 96%;
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }

  .modal-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-price {
    font-size: 1.4rem;
  }

  .modal-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .modal-specs {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn-primary,
  .modal-actions .btn-download {
    justify-content: center;
    text-align: center;
  }

  .modal-main-img {
    aspect-ratio: 4/3;
  }

  .modal-thumbnails {
    gap: 0.5rem;
  }

  .modal-thumb {
    width: 56px;
    height: 56px;
  }

  /* Cart Sidebar - full width on small screens */
  .cart-sidebar {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }

  .cart-header {
    padding: 1.2rem;
  }

  .cart-items {
    padding: 1rem;
  }

  .cart-footer {
    padding: 1.2rem;
  }

  /* Toast */
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    transform: translateY(120%);
    border-radius: var(--radius-md);
  }

  .toast.show {
    transform: translateY(0);
  }

  /* Back to Top */
  .back-to-top {
    bottom: 1.2rem;
    left: 1.2rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  /* Hero refinements */
  .hero h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.2rem;
  }

  .hero-content {
    padding-top: 4.5rem;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .hero-stat .stat-label {
    font-size: 0.68rem;
  }

  /* Section headers */
  .section-title {
    font-size: 1.7rem;
    letter-spacing: -0.8px;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 0.35rem 0.8rem;
  }

  /* Feature cards */
  .feature-card {
    padding: 1.5rem 1.2rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .feature-card h3 {
    font-size: 1.05rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  /* Product cards */
  .product-image {
    height: 200px;
  }

  .product-info {
    padding: 1.2rem;
  }

  .product-name {
    font-size: 1rem;
  }

  .product-price .current {
    font-size: 1.2rem;
  }

  .product-cart-btn {
    width: 42px;
    height: 42px;
  }

  /* CTA */
  .cta-card {
    padding: 2rem 1.2rem;
  }

  .cta-card h2 {
    font-size: 1.6rem;
  }

  .cta-card p {
    font-size: 0.88rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Contact cards */
  .contact-card {
    padding: 1rem 1.2rem;
  }

  .contact-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .contact-card h4 {
    font-size: 0.88rem;
  }

  .contact-card p {
    font-size: 0.8rem;
  }

  /* Contact form */
  .contact-form {
    padding: 1.2rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
  }

  .form-submit {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  /* Why section */
  .why-visual-card img {
    height: 220px;
  }

  .why-item h4 {
    font-size: 0.92rem;
  }

  .why-item p {
    font-size: 0.82rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-col h4 {
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
  }

  .footer-col ul li a {
    font-size: 0.82rem;
  }

  .footer-bottom {
    font-size: 0.72rem;
    padding-top: 1.5rem;
  }

  /* Modal on very small screens */
  .product-modal {
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: translateY(100%);
  }

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

  .modal-content {
    padding: 1rem;
    padding-top: 3rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-price {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  /* Cart sidebar on very small screens */
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .cart-item-img {
    width: 56px;
    height: 56px;
  }

  .cart-item-name {
    font-size: 0.82rem;
  }

  .cart-item-price {
    font-size: 0.88rem;
  }

  .cart-total span:last-child {
    font-size: 1.3rem;
  }

  /* Nav */
  .nav-links a {
    font-size: 1.15rem;
  }
}

/* ── Tiny screens (≤360px) ── */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-stat .stat-number {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }

  .product-image {
    height: 180px;
  }

  .modal-content {
    padding: 0.8rem;
    padding-top: 2.5rem;
  }
}

/* ── Safe area padding for notched devices ── */
@supports(padding: max(0px)) {
  .navbar .container {
    padding-left: max(var(--container-padding), env(safe-area-inset-left));
    padding-right: max(var(--container-padding), env(safe-area-inset-right));
  }

  .cart-sidebar {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer-bottom {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* ── Disable hover effects on touch devices ── */
@media (hover: none) {
  .feature-card:hover {
    transform: none;
    border-color: var(--border-subtle);
    box-shadow: none;
  }

  .feature-card:hover::before {
    opacity: 0;
  }

  .feature-card:hover .feature-icon {
    background: rgba(245, 158, 11, 0.1);
    box-shadow: none;
    transform: none;
  }

  .product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-subtle);
  }

  .product-card:hover .product-image img {
    transform: none;
  }

  .why-item:hover {
    transform: none;
    border-color: var(--border-subtle);
  }

  .contact-card:hover {
    transform: none;
    border-color: var(--border-subtle);
  }

  .testimonial-card:hover {
    transform: none;
    border-color: var(--border-subtle);
  }

  /* Make quick-view always visible on touch */
  .product-image .quick-view {
    bottom: 0.8rem;
    opacity: 1;
  }
}

/* ═══════════════════════════════════
   NEW COMPONENTS RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pd-gallery {
    position: static;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .calc-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pd-title {
    font-size: 1.5rem;
  }

  .pd-price {
    font-size: 1.6rem;
  }

  .pd-actions {
    flex-direction: column;
  }

  .pd-actions .btn-primary,
  .pd-actions .btn-secondary,
  .pd-actions .btn-download {
    min-width: unset;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-info-grid {
    grid-template-columns: 1fr;
  }

  .calc-form-card,
  .calc-results-card,
  .calc-placeholder {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1rem 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat-card .stat-number {
    font-size: 2rem;
  }

  .lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .recently-viewed-bar {
    padding: 1.5rem 0;
  }

  .rv-item {
    min-width: 160px;
  }

  .breadcrumbs {
    font-size: 0.78rem;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .calc-radio-group {
    grid-template-columns: 1fr;
  }

  .calc-cta {
    flex-direction: column;
  }

  .calc-cta .btn-primary,
  .calc-cta .btn-secondary {
    min-width: unset;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .pd-thumbnails {
    gap: 0.5rem;
  }

  .pd-thumb {
    width: 55px;
    height: 55px;
  }

  .nav-logo img,
  .footer-logo img {
    height: 30px;
    width: 167px;
  }
}
