/* ==========================================
   SPORT ELITE - Main Stylesheet
   ========================================== */

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

/* ==========================================
   CSS Variables / Design Tokens
   ========================================== */
:root {
  /* Primary Theme: Light Mode (الوضع الأساسي والرئيسي) */
  --primary: #00A888;
  --primary-dark: #008269;
  --primary-glow: rgba(0, 168, 136, 0.15);
  --secondary: #6B21A8;
  --secondary-dark: #581C87;
  --secondary-glow: rgba(107, 33, 168, 0.15);
  --accent: #EA580C;
  --accent-glow: rgba(234, 88, 12, 0.15);

  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.96);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --border: #E2E8F0;
  --border-hover: rgba(0, 168, 136, 0.5);
  --border-active: var(--primary);

  --gradient-main: linear-gradient(135deg, #00A888 0%, #6B21A8 100%);
  --gradient-main-rev: linear-gradient(135deg, #6B21A8 0%, #00A888 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 168, 136, 0.06) 0%, rgba(107, 33, 168, 0.06) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 168, 136, 0.08) 0%, rgba(107, 33, 168, 0.08) 50%, rgba(248, 250, 252, 0.95) 100%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 6px 20px rgba(0, 168, 136, 0.2);
  --shadow-secondary: 0 6px 20px rgba(107, 33, 168, 0.2);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-primary: 'Outfit', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  --nav-height: 80px;
  --nav-bg-scrolled: rgba(255, 255, 255, 0.94);
  --nav-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --hero-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(255, 255, 255, 0.94) 100%);
  --footer-bg: #F1F5F9;
}

/* Explicit Light Theme (طابق للوضع الأساسي) */
[data-theme="light"],
body.light-theme {
  --primary: #00A888;
  --primary-dark: #008269;
  --primary-glow: rgba(0, 168, 136, 0.15);
  --secondary: #6B21A8;
  --secondary-dark: #581C87;
  --secondary-glow: rgba(107, 33, 168, 0.15);
  --accent: #EA580C;
  --accent-glow: rgba(234, 88, 12, 0.15);

  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.96);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --border: #E2E8F0;
  --border-hover: rgba(0, 168, 136, 0.5);
  --border-active: var(--primary);

  --gradient-main: linear-gradient(135deg, #00A888 0%, #6B21A8 100%);
  --gradient-main-rev: linear-gradient(135deg, #6B21A8 0%, #00A888 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 168, 136, 0.06) 0%, rgba(107, 33, 168, 0.06) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 168, 136, 0.08) 0%, rgba(107, 33, 168, 0.08) 50%, rgba(248, 250, 252, 0.95) 100%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 6px 20px rgba(0, 168, 136, 0.2);
  --shadow-secondary: 0 6px 20px rgba(107, 33, 168, 0.2);

  --nav-bg-scrolled: rgba(255, 255, 255, 0.94);
  --nav-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --hero-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(255, 255, 255, 0.94) 100%);
  --footer-bg: #F1F5F9;
}

/* Secondary Theme: Dark Mode (الوضع الفرعي) */
[data-theme="dark"],
body.dark-theme {
  --primary: #00D4AA;
  --primary-dark: #00A888;
  --primary-glow: rgba(0, 212, 170, 0.3);
  --secondary: #7B2FBE;
  --secondary-dark: #5a1f90;
  --secondary-glow: rgba(123, 47, 190, 0.3);
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.3);

  --bg-dark: #0A0A0F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.1);

  --text-primary: #F0F0F5;
  --text-secondary: #A0A0B0;
  --text-muted: #606070;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 170, 0.4);
  --border-active: var(--primary);

  --gradient-main: linear-gradient(135deg, #00D4AA 0%, #7B2FBE 100%);
  --gradient-main-rev: linear-gradient(135deg, #7B2FBE 0%, #00D4AA 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(123, 47, 190, 0.1) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(123, 47, 190, 0.2) 50%, rgba(10, 10, 15, 0.9) 100%);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.7);
  --shadow-primary: 0 8px 32px rgba(0, 212, 170, 0.25);
  --shadow-secondary: 0 8px 32px rgba(123, 47, 190, 0.25);

  --nav-bg-scrolled: rgba(10, 10, 15, 0.85);
  --nav-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --hero-overlay: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.8) 100%);
  --footer-bg: rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(0, 212, 170, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(123, 47, 190, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Utility Classes
   ========================================== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.badge-secondary {
  background: var(--secondary-glow);
  color: #B06EFF;
  border: 1px solid rgba(123, 47, 190, 0.3);
}

.badge-accent {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition);
}

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

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 170, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-strong);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-icon {
  padding: 12px;
  border-radius: var(--radius-md);
}

.btn-icon-sm {
  padding: 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--nav-bg-scrolled, rgba(10, 10, 15, 0.85));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--nav-shadow, 0 4px 30px rgba(0, 0, 0, 0.5));
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

img.logo-icon {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

[data-theme="light"] img.logo-icon {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
}

.nav-logo:hover .logo-icon {
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

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

.nav-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.nav-cart-btn:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  background: var(--gradient-main);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* تنسيق خلفية الفيديو لتغطية مساحة الـ Hero بالكامل وبقاءها في الخلف */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* لضمان ملء المساحة دون تشويه المحتوى */
  z-index: 0;
}

/* التأكد من أن طبقة الـ overlay والشعار والنصوص تظهر فوق الفيديو مباشرة */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 11, 24, 0.75);
  /* تغميق الخلفية قليلاً لإبراز الكتابة فوق الفيديو */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  /* لضمان بقاء النصوص والأزرار تفاعلية وفوق الفيديو تماماً */
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.8) 100%));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.6s ease forwards;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-title .line {
  display: block;
}

.hero-title .line-highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 0.7s 0.4s ease both;
}

.hero-stat-item {
  text-align: right;
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce 2s infinite;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--primary));
}

/* ==========================================
   Section Headers
   ========================================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==========================================
   Categories Section
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
}

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

.category-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow-primary);
  position: relative;
  z-index: 1;
}

.category-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.category-count {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ==========================================
   Products Grid
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

.product-card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
  opacity: 1;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card-cat {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: -1px;
}

.product-card-rating span {
  font-size: 13px;
  color: var(--text-muted);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

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

.product-price-current {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
}

.add-to-cart-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.5);
}

/* ==========================================
   Shop Page - Filters
   ========================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.filter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.filter-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.filter-option:hover {
  background: var(--bg-glass);
  border-color: var(--border);
}

.filter-option.active {
  background: var(--primary-glow);
  border-color: rgba(0, 212, 170, 0.3);
  color: var(--primary);
}

.filter-option-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.filter-option.active .filter-option-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 12px;
}

.price-range {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-inputs {
  display: flex;
  gap: 12px;
}

.price-input-wrapper {
  flex: 1;
}

.price-input-wrapper label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.price-input-wrapper input {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.price-input-wrapper input:focus {
  border-color: var(--primary);
  background: var(--primary-glow);
}

/* Price slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to left, var(--primary) 0%, var(--border) 0%);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Shop Top Bar */
.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-count {
  font-size: 15px;
  color: var(--text-secondary);
}

.shop-count strong {
  color: var(--text-primary);
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-sort {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.shop-sort:focus,
.shop-sort:hover {
  border-color: var(--primary);
}

.shop-view-btns {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

/* Search Bar */
.search-bar {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-bar input {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 20px 12px 48px;
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
}

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

.search-bar input:focus {
  border-color: var(--primary);
  background: var(--primary-glow);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.search-bar .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}

/* ==========================================
   Product Detail Page
   ========================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: calc(var(--nav-height) + 48px);
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.product-main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  padding: 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .product-main-image,
body:not([data-theme="light"]):not(.light-theme) .product-main-image {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.product-main-image.bg-white {
  background: #ffffff !important;
}

.product-main-image.bg-dark {
  background: #0f172a !important;
}

.product-main-image.bg-neutral {
  background: #f8fafc !important;
}

.product-main-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  user-select: none;
}

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

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

/* Floating Gallery Toolbar - Removed per design simplicity */
.gallery-toolbar {
  display: none !important;
}

.gallery-toolbar-group {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: inherit;
}

.gallery-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
}

.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Lightbox Modal */
.product-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

.lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.lightbox-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.lightbox-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lightbox-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.lightbox-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  border: none;
  font-size: 18px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-img-container {
  flex: 1;
  min-height: 480px;
  max-height: calc(90vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  background: #ffffff;
}

.lightbox-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
  transform-origin: center center;
}

.lightbox-footer {
  padding: 10px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #64748b;
  text-align: center;
}

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

/* .product-info — layout handled by parent grid */

.product-info-cat {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.product-info-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.rating-score {
  font-size: 18px;
  font-weight: 700;
  color: #FFB800;
}

.rating-count {
  color: var(--text-muted);
  font-size: 14px;
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.product-price-big {
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-price-big-old {
  font-size: 22px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price-discount {
  padding: 4px 10px;
  background: rgba(255, 107, 53, 0.2);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}

.product-info-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.product-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.qty-label {
  font-size: 15px;
  font-weight: 600;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.qty-value {
  min-width: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.product-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================
   Cart Page
   ========================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  padding-top: calc(var(--nav-height) + 48px);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-glass);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cart-item-cat {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
}

.cart-item-price {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.cart-item-remove {
  background: rgba(255, 70, 70, 0.1);
  border: 1px solid rgba(255, 70, 70, 0.2);
  color: #FF4646;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.cart-item-remove:hover {
  background: rgba(255, 70, 70, 0.2);
  transform: scale(1.05);
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.cart-summary-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.cart-summary-row:last-of-type {
  border-bottom: none;
}

.cart-summary-row.total {
  font-size: 20px;
  font-weight: 800;
  padding-top: 20px;
}

.cart-total-price {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coupon-input-row {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.coupon-input {
  flex: 1;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.coupon-input:focus {
  border-color: var(--primary);
}

/* ==========================================
   Checkout Page
   ========================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
  padding-top: calc(var(--nav-height) + 48px);
}

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}

.form-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-number {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 212, 170, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

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

.form-select option {
  background: var(--bg-dark);
}

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

/* Radio Options */
.radio-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.radio-option:hover {
  border-color: rgba(0, 212, 170, 0.3);
}

.radio-option.selected {
  border-color: var(--primary);
  background: rgba(0, 212, 170, 0.05);
}

.radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.radio-option.selected .radio-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.radio-option.selected .radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.radio-info {
  flex: 1;
}

.radio-label {
  font-size: 15px;
  font-weight: 600;
}

.radio-sublabel {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.radio-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

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

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-stars {
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 3px;
  display: block;
}

.testimonials-section {
  position: relative;
}

.testimonials-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonials-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonials-autoplay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.testimonials-autoplay-badge:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.testimonials-autoplay-badge.is-paused {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
  box-shadow: none;
}

.autoplay-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

.testimonials-autoplay-badge.is-paused .autoplay-pulse {
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.testimonials-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.t-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

.t-nav-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Scroller Container */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 12px 0 20px 0;
}

.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.testimonials-carousel-wrapper::before {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

.testimonials-carousel-wrapper::after {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.testimonials-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 4px 18px 4px;
}

.testimonials-slider-track::-webkit-scrollbar {
  display: none;
}

.testimonials-slider-track .testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  scroll-snap-align: start;
  user-select: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials-slider-track .testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.18;
  line-height: 1;
}

.testimonials-slider-track .testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.t-dot:hover {
  background: var(--primary);
  opacity: 0.75;
}

.t-dot.active {
  width: 30px;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.45);
}

@media (max-width: 991px) {
  .testimonials-slider-track .testimonial-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 290px;
  }
}

@media (max-width: 640px) {
  .testimonials-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials-actions {
    width: 100%;
    justify-content: space-between;
  }
  .testimonials-slider-track .testimonial-card {
    flex: 0 0 88%;
    min-width: 260px;
  }
}

/* ==========================================
   Features / Why Us
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition-bounce);
  text-align: center;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-primary);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   Newsletter
   ========================================== */
.newsletter-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
}

.newsletter-input {
  flex: 1;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--primary);
}

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

/* ==========================================
   About Page
   ========================================== */
.about-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-bounce);
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-main);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: calc(var(--nav-height) + 80px);
}

.contact-info {
  padding-top: 24px;
}

.contact-info-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  font-weight: 600;
}

/* ==========================================
   Page Header (Breadcrumb)
   ========================================== */
.page-header {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-primary);
}

.breadcrumb-sep {
  font-size: 12px;
}

.page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
}

/* ==========================================
   Pagination
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--footer-bg, rgba(0, 0, 0, 0.4));
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* .footer-brand — styling via child elements */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover .logo-icon {
  transform: scale(1.08);
}

.footer-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.footer-social-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-right: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================
   Toast Notifications
   ========================================== */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: var(--shadow-md);
  pointer-events: all;
  white-space: nowrap;
}

.toast.success {
  border-color: rgba(0, 212, 170, 0.4);
  color: var(--primary);
}

.toast.error {
  border-color: rgba(255, 70, 70, 0.4);
  color: #FF4646;
}

.toast.info {
  border-color: rgba(123, 47, 190, 0.4);
  color: #B06EFF;
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

/* ==========================================
   Loading Spinner
   ========================================== */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==========================================
   Empty State
   ========================================== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.empty-state-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ==========================================
   About Page Layout
   ========================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ==========================================
   Stats Bar
   ========================================== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.stat-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  width: 1px;
  height: 80%;
  background: var(--border);
}

.stat-bar-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.stat-bar-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 2.2;
  transition: all 0.3s ease;
}

.stat-bar-item:hover .stat-bar-icon {
  transform: translateY(-4px) scale(1.08);
  background: var(--gradient-main);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 212, 170, 0.3);
}

.stat-bar-item:hover .stat-bar-icon svg {
  stroke: #FFFFFF;
  transform: scale(1.05);
}

.stat-bar-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.stat-bar-num {
  font-size: 38px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-bar-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

[data-theme="light"] .stat-bar-icon {
  background: rgba(0, 168, 136, 0.08);
  border-color: rgba(0, 168, 136, 0.25);
  color: #00876c;
}

[data-theme="light"] .stat-bar-icon svg {
  stroke: #00876c;
}

[data-theme="light"] .stat-bar-item:hover .stat-bar-icon {
  background: var(--gradient-main);
  color: #FFFFFF;
}

[data-theme="light"] .stat-bar-item:hover .stat-bar-icon svg {
  stroke: #FFFFFF;
}

[data-theme="light"] .stat-bar-title {
  color: #0F172A;
}

[data-theme="light"] .stat-bar-label {
  color: #475569;
}

/* ==========================================
   Mobile Menu
   ========================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: rgba(15, 15, 25, 0.98);
  border-left: 1px solid var(--border);
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-panel a {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .shop-sidebar {
    position: static !important;
    width: 100% !important;
  }

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

  .product-detail {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .product-gallery {
    position: static !important;
    top: auto !important;
  }

  .cart-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .checkout-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {

  /* Prevent horizontal scroll globally */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  :root {
    --nav-height: 64px !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .section {
    padding: 44px 0 !important;
  }

  .section-sm {
    padding: 28px 0 !important;
  }

  /* General Button Wrapping on Mobile */
  .btn {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .btn-lg {
    padding: 13px 20px !important;
    font-size: 14.5px !important;
  }

  .btn-sm {
    padding: 7px 14px !important;
    font-size: 12px !important;
  }

  /* Header & Navigation */
  .navbar {
    height: 64px !important;
  }

  .nav-inner {
    gap: 8px !important;
    padding: 0 4px !important;
    height: 100% !important;
  }

  .nav-logo {
    font-size: 16px !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .nav-logo .logo-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }

  .nav-logo span span:last-child {
    display: none !important;
  }

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

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

  /* Navbar WhatsApp Button: Sleek Circular Icon on Mobile */
  .nav-actions .btn-whatsapp {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    min-width: 38px !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn-whatsapp .whatsapp-icon-svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }

  .theme-toggle-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    border-radius: var(--radius-sm) !important;
    flex-shrink: 0 !important;
  }

  .nav-cart-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    border-radius: var(--radius-sm) !important;
    flex-shrink: 0 !important;
  }

  .cart-count {
    top: -4px !important;
    left: -4px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
  }

  .nav-mobile-btn {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: var(--radius-sm) !important;
    flex-shrink: 0 !important;
  }

  /* Hero Section (index.html) */
  .hero {
    min-height: auto !important;
    padding-top: calc(var(--nav-height) + 20px) !important;
    padding-bottom: 44px !important;
  }

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

  .hero-badge {
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .hero-title {
    font-size: clamp(24px, 6.5vw, 34px) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }

  .hero-desc {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    margin-top: 32px !important;
    width: 100% !important;
  }

  .hero-stat-item {
    text-align: right !important;
    padding: 0 !important;
  }

  .hero-stat-num {
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  .hero-stat-label {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .hero-scroll-indicator {
    display: none !important;
  }

  /* Product Details Page (product.html) */
  .product-page-container {
    padding-top: calc(var(--nav-height) + 16px) !important;
    padding-bottom: 40px !important;
  }

  .product-detail {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 10px !important;
    width: 100% !important;
  }

  /* CRITICAL: Disable sticky on mobile so it doesn't overlap scrolled content */
  .product-gallery {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }

  .product-main-image {
    height: 320px !important;
    min-height: 250px !important;
    max-height: 48vh !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
    border-radius: var(--radius-md) !important;
  }

  .gallery-toolbar {
    display: none !important;
  }

  .gallery-zoom-hint {
    display: none !important;
  }

  .product-info {
    padding-top: 0 !important;
    width: 100% !important;
  }

  .product-info-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  .product-features {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 16px 0 !important;
  }

  .product-feature {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  .product-qty-row {
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  /* Lightbox Modal Mobile */
  .product-lightbox-modal {
    padding: 10px !important;
  }

  .lightbox-dialog {
    max-height: 94vh !important;
    border-radius: var(--radius-md) !important;
  }

  .lightbox-header {
    padding: 10px 14px !important;
  }

  .lightbox-title {
    font-size: 13px !important;
  }

  .lightbox-controls {
    gap: 4px !important;
  }

  .lightbox-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  .lightbox-img-container {
    min-height: 240px !important;
    padding: 12px !important;
  }

  /* About Page (about.html) */
  .about-hero {
    padding-top: calc(var(--nav-height) + 16px) !important;
    padding-bottom: 32px !important;
  }

  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Stats Bar */
  .stats-bar {
    padding: 24px 0 !important;
  }

  .stats-bar-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 12px !important;
  }

  .stat-bar-item {
    padding: 0 8px !important;
  }

  .stat-bar-item:not(:last-child)::after {
    display: none !important;
  }

  .stat-bar-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
  }

  .stat-bar-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .stat-bar-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .stat-bar-num {
    font-size: 26px !important;
  }

  .stat-bar-label {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* Products & Categories Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card-footer {
    padding: 10px 8px !important;
    gap: 6px !important;
  }

  .product-card-footer .btn {
    font-size: 11.5px !important;
    padding: 7px 10px !important;
  }

  .product-card-name {
    font-size: 13.5px !important;
  }

  /* Forms & Cart & Contact */
  .cart-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .cart-item-actions {
    flex-direction: row !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
  }

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

  /* Section Titles */
  .page-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .section-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  /* Floating WhatsApp & Cart on Mobile */
  .floating-whatsapp-widget {
    bottom: 16px !important;
    right: 16px !important;
  }

  .floating-whatsapp-anchor {
    width: 46px !important;
    height: 46px !important;
  }

  .floating-whatsapp-anchor .whatsapp-icon-svg {
    width: 24px !important;
    height: 24px !important;
  }

  .floating-whatsapp-tooltip {
    display: none !important;
  }

  .floating-cart-widget {
    bottom: 72px !important;
    right: 16px !important;
  }

  .floating-cart-anchor {
    width: 46px !important;
    height: 46px !important;
  }

  .floating-cart-anchor .cart-icon-svg {
    width: 22px !important;
    height: 22px !important;
  }

  .floating-cart-tooltip {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-actions {
    flex-direction: column !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ==========================================
   B2B & WhatsApp Inquiry Styling
   ========================================== */
.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #20ba5a !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: #20ba5a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-outline {
  background: rgba(37, 211, 102, 0.1) !important;
  color: #25D366 !important;
  border: 1.5px solid #25D366 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-whatsapp-outline:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.whatsapp-icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* B2B Product Badges & Tags */
.b2b-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.b2b-sku-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
  letter-spacing: 0.5px;
}

.b2b-moq-badge {
  background: rgba(255, 170, 0, 0.15);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.b2b-standard-badge {
  background: rgba(0, 150, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 150, 255, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Product Card B2B Action Buttons */
.b2b-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}

.b2b-card-actions .btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  justify-content: center;
}

/* Floating WhatsApp & Cart Widgets */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.floating-whatsapp-anchor {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseWhatsApp 2.2s infinite;
}

.floating-whatsapp-anchor:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-anchor .whatsapp-icon-svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp-tooltip {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-whatsapp-widget:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseWhatsApp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Floating Cart Widget (فوق زر الواتساب مباشرة) */
.floating-cart-widget {
  position: fixed;
  bottom: 102px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.floating-cart-anchor {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00D4AA 0%, #7B2FBE 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 212, 170, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseCart 2.4s infinite;
  text-decoration: none;
  position: relative;
}

.floating-cart-anchor:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(0, 212, 170, 0.7);
  color: #ffffff;
}

.floating-cart-anchor .cart-icon-svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  line-height: 1;
}

.floating-cart-tooltip {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-cart-widget:hover .floating-cart-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseCart {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(0, 212, 170, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
  }
}

/* B2B Quote Modal */
.b2b-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.b2b-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.b2b-modal-overlay.active .b2b-modal-content {
  transform: scale(1);
}

.b2b-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.b2b-modal-close:hover {
  color: #fff;
  background: rgba(255, 50, 50, 0.2);
  border-color: rgba(255, 50, 50, 0.4);
}

.b2b-modal-header {
  margin-bottom: 20px;
}

.b2b-badge-quote {
  background: var(--gradient-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.b2b-modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.b2b-modal-sku {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.b2b-product-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.b2b-product-mini img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.b2b-cat-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 600px) {
  .floating-whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }

  .floating-whatsapp-anchor {
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp-anchor .whatsapp-icon-svg {
    width: 28px;
    height: 28px;
  }

  .floating-whatsapp-tooltip {
    display: none;
  }

  .floating-cart-widget {
    bottom: 82px;
    right: 20px;
  }

  .floating-cart-anchor {
    width: 52px;
    height: 52px;
  }

  .floating-cart-anchor .cart-icon-svg {
    width: 25px;
    height: 25px;
  }

  .floating-cart-tooltip {
    display: none;
  }
}

/* ==========================================
   Theme Toggle Button & Light Mode Refinements
   ========================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 19px;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  transform: translateY(-2px) rotate(15deg);
}

.theme-toggle-btn:active {
  transform: scale(0.92);
}

.theme-toggle-btn svg,
.theme-toggle-btn .theme-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Mode Component Overrides */
[data-theme="light"] body::before,
body.light-theme::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(0, 168, 136, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(107, 33, 168, 0.04) 0%, transparent 60%);
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select,
body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="light"] select option,
body.light-theme select option {
  background: #FFFFFF;
  color: #0F172A;
}

[data-theme="light"] .b2b-modal-content,
body.light-theme .b2b-modal-content {
  background: #FFFFFF;
  border-color: var(--border);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .b2b-spec-table th,
body.light-theme .b2b-spec-table th {
  background: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] .b2b-spec-table td,
body.light-theme .b2b-spec-table td {
  border-color: var(--border);
  color: #334155;
}

[data-theme="light"] .cart-drawer,
body.light-theme .cart-drawer {
  background: #FFFFFF;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .mobile-menu-panel,
body.light-theme .mobile-menu-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
}

[data-theme="light"] .quick-view-modal,
body.light-theme .quick-view-modal {
  background: #FFFFFF;
}

[data-theme="light"] .product-card,
body.light-theme .product-card {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .product-card:hover,
body.light-theme .product-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* Secondary Dark Mode Component Overrides */
[data-theme="dark"] .b2b-modal-content,
body.dark-theme .b2b-modal-content,
[data-theme="dark"] .quick-view-modal,
body.dark-theme .quick-view-modal {
  background: #0F0F1E;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .cart-drawer,
body.dark-theme .cart-drawer {
  background: #0A0A10;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mobile-menu-panel,
body.dark-theme .mobile-menu-panel {
  background: rgba(10, 10, 15, 0.98);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] select option,
body.dark-theme select option {
  background: #0D0D1A;
  color: #F0F0F5;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.08);
}