/* ================================================================
   KANZ COLLECTION - Main Stylesheet
   Premium Islamic Fashion eCommerce
   ================================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Poppins:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ================================================================
   CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Brand Colors */
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --secondary: #ec4899;
  --secondary-light: #f9a8d4;
  --accent-gold: #d97706;
  --accent-rose: #f43f5e;
  --accent-teal: #0d9488;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #ec4899 100%);
  --gradient-rainbow: linear-gradient(135deg, #f093fb 0%, #f5576c 25%, #4facfe 50%, #43e97b 75%, #fa709a 100%);
  --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --gradient-soft: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  --gradient-purple-pink: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #9ca3af;
  --text-white: #ffffff;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #faf8ff;
  --bg-tertiary: #f3f0ff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-dark: #0f0a1e;
  --bg-dark-secondary: #1a1035;

  /* Border */
  --border-color: #e8e0f0;
  --border-light: #f0eaf8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 4px 20px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.18);
  --shadow-xl: 0 20px 60px rgba(124, 58, 237, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(124, 58, 237, 0.2);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1320px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-overlay: 400;
  --z-toast: 500;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #0f0a1e;
  --bg-secondary: #1a1035;
  --bg-tertiary: #231850;
  --bg-card: rgba(26, 16, 53, 0.9);
  --text-primary: #f0eaf8;
  --text-secondary: #c4b5d9;
  --text-muted: #7c6b9e;
  --border-color: #2d1f5e;
  --border-light: #231850;
  --shadow-card: 0 4px 24px 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-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

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

/* ================================================================
   ISLAMIC PATTERN BACKGROUND
   ================================================================ */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.04'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0zm0 8L8 40l32 32 32-32L40 8zm0 8l24 24-24 24-24-24 24-24z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-bg-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cdefs%3E%3Cpattern id='a' patternUnits='userSpaceOnUse' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='1' fill='%237c3aed' fill-opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23a)'/%3E%3C/svg%3E");
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.display-1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.display-2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.heading-1 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.heading-2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.heading-3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

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

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

.text-arabic {
  font-family: var(--font-arabic);
  font-size: 1.1em;
  line-height: 1.8;
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.section-title .divider span {
  height: 2px;
  width: 60px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title .divider i {
  color: var(--primary);
  font-size: 1rem;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(15, 10, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-new { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #065f46; }
.badge-sale { background: linear-gradient(135deg, #f5576c, #f093fb); color: #fff; }
.badge-hot { background: linear-gradient(135deg, #fa709a, #fee140); color: #fff; }
.badge-out { background: linear-gradient(135deg, #6b7280, #9ca3af); color: #fff; }
.badge-trending { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #fff; }
.badge-halal { background: linear-gradient(135deg, #43e97b, #0d9488); color: #fff; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-gold {
  background: var(--gradient-gold);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

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

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

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: var(--transition-normal);
}

.top-bar {
  background: var(--gradient-primary);
  color: white;
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: rgba(255,255,255,0.9);
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: white;
}

.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: var(--transition-normal);
}

[data-theme="dark"] .main-header {
  background: rgba(15, 10, 30, 0.95);
  border-bottom-color: var(--border-color);
}

.header-scrolled .main-header {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.main-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

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

.header-search input {
  width: 100%;
  padding: 10px 50px 10px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.header-search input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.header-search .search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  z-index: var(--z-dropdown);
  max-height: 400px;
  overflow-y: auto;
}

.search-dropdown.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-light);
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover { background: var(--bg-secondary); }

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1.5px solid transparent;
}

.header-action-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.header-action-btn .badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
}

/* Navigation */
.main-nav {
  background: var(--gradient-primary);
  position: relative;
}

.main-nav .container {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.15);
}

.nav-link i.chevron {
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 700px;
  padding: 30px;
  display: none;
  border: 1px solid var(--border-light);
  z-index: var(--z-dropdown);
}

.nav-item:hover .mega-menu {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-menu-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.mega-menu-col ul li a {
  display: block;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mega-menu-col ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.mega-banner {
  background: var(--gradient-purple-pink);
  border-radius: var(--radius-md);
  padding: 20px;
  color: white;
}

.mega-banner h4 {
  font-size: 1.1rem;
  color: white !important;
  border: none !important;
}

/* Simple Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 10px 0;
  display: none;
  border: 1px solid var(--border-light);
  z-index: var(--z-dropdown);
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: var(--bg-secondary);
  padding-left: 26px;
}

/* ================================================================
   MOBILE NAVIGATION
   ================================================================ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: var(--z-modal);
  overflow-y: auto;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-xl);
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-modal) - 1);
  display: none;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-header {
  padding: 20px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-header .close-btn {
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav-list {
  padding: 10px 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

.mobile-nav-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.mobile-sub-nav {
  display: none;
  background: var(--bg-secondary);
  padding: 8px 0;
}

.mobile-sub-nav.open {
  display: block;
}

.mobile-sub-nav a {
  display: block;
  padding: 10px 36px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-sub-nav a:hover {
  color: var(--primary);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  margin-top: 130px; /* header height */
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,10,30,0.7) 0%, rgba(124,58,237,0.3) 50%, rgba(236,72,153,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 640px;
  padding: 60px 0;
}

.hero-content .pre-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

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

.hero-stat-item .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-item .label {
  font-size: 0.78rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  width: 30px;
  background: white;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1rem;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Hero Floating Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-float-card:nth-child(1) { right: 10%; top: 25%; animation-delay: 0s; }
.hero-float-card:nth-child(2) { right: 15%; bottom: 30%; animation-delay: 1s; }
.hero-float-card:nth-child(3) { right: 5%; top: 55%; animation-delay: 2s; }

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

/* ================================================================
   ANNOUNCEMENT MARQUEE
   ================================================================ */
.marquee-bar {
  background: var(--gradient-primary);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.marquee-item i {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

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

/* ================================================================
   CATEGORY SHOWCASE
   ================================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  transition: var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,30,0.8) 0%, rgba(15,10,30,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.category-card-overlay h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
}

.category-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  color: white;
  transition: var(--transition-normal);
}

.category-card:hover .category-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-grid-5 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  position: relative;
  border: 1px solid var(--border-light);
}

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

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-normal);
}

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

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
}

.product-action-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.product-action-btn.wishlist-active {
  background: var(--secondary);
  color: white;
}

.quick-view-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(124,58,237,0.9);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(100%);
  transition: var(--transition-normal);
  cursor: pointer;
}

.product-card:hover .quick-view-overlay {
  transform: translateY(0);
}

.product-card-body {
  padding: 14px 16px 16px;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-hidden {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--primary-light);
}

.product-card-footer {
  display: flex;
  gap: 8px;
}

.product-card-footer .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.8rem;
}

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.product-detail {
  padding: 40px 0 80px;
}

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

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

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

.breadcrumb span {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb i {
  font-size: 0.7rem;
}

.product-gallery {
  position: sticky;
  top: 130px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  margin-bottom: 12px;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

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

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

.product-info .product-category {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-info .product-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.star-rating {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.variant-group {
  margin-bottom: 20px;
}

.variant-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: block;
}

.size-options, .color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-option {
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0 12px;
}

.size-option:hover,
.size-option.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.color-option.active,
.color-option:hover {
  border-color: var(--primary);
  transform: scale(1.15);
}

.color-option::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid white;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.qty-input {
  width: 56px;
  text-align: center;
  border: none;
  background: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 4px;
  color: var(--text-primary);
}

.product-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.product-cta .btn {
  flex: 1;
  min-width: 160px;
}

.product-features {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-feature-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* ================================================================
   CART
   ================================================================ */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-item-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-remove {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.cart-remove:hover {
  color: var(--accent-rose);
}

.cart-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
  padding-top: 16px;
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.coupon-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: white;
  color: var(--text-primary);
}

.coupon-form input:focus {
  outline: none;
  border-color: var(--primary-light);
}

/* ================================================================
   CHECKOUT
   ================================================================ */
.checkout-section {
  padding: 60px 0;
}

.checkout-form {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
}

.checkout-form h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gradient-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

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

.payment-method {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary);
  background: var(--bg-tertiary);
}

.payment-method input[type="radio"] {
  accent-color: var(--primary);
}

/* WhatsApp Order Box */
.whatsapp-order-box {
  background: linear-gradient(135deg, rgba(37,211,102,0.1) 0%, rgba(18,140,126,0.1) 100%);
  border: 2px solid rgba(37,211,102,0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.whatsapp-order-box .wa-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

/* ================================================================
   BANNERS & PROMOTIONS
   ================================================================ */
.promo-banner {
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  right: -80px;
  top: -80px;
}

.promo-banner::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  left: -60px;
  bottom: -60px;
}

.promo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Flash Sale */
.flash-sale-card {
  background: linear-gradient(135deg, #1a1035, #2d1f5e);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.countdown-timer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 70px;
  backdrop-filter: blur(10px);
}

.countdown-item .number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.countdown-item .label {
  font-size: 0.68rem;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  font-family: var(--font-display);
  color: var(--primary-light);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 0l30 30-30 30L0 30 30 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.2);
}

/* ================================================================
   FLOATING WHATSAPP BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  transition: var(--transition-normal);
  position: relative;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,0.6);
}

.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2s ease infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0; }
}

.wa-tooltip {
  background: white;
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  display: none;
  animation: fadeIn 0.3s ease;
}

.whatsapp-float:hover .wa-tooltip {
  display: block;
}

/* ================================================================
   MODAL / QUICK VIEW
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  backdrop-filter: blur(4px);
}

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

.modal-box {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-normal);
}

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

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--accent-rose);
  color: white;
}

.modal-body {
  padding: 24px;
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.toast {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  border-left: 4px solid var(--primary);
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: var(--accent-rose); }
.toast.warning { border-left-color: var(--accent-gold); }
.toast.info { border-left-color: #3b82f6; }

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { color: #22c55e; }
.toast.error .toast-icon { color: var(--accent-rose); }
.toast.warning .toast-icon { color: var(--accent-gold); }
.toast.info .toast-icon { color: #3b82f6; }

.toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ================================================================
   SKELETON LOADING
   ================================================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0f0a1e;
  color: rgba(255,255,255,0.8);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand .logo-text .name {
  color: white;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item i {
  color: var(--primary-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary-light);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.payment-icons {
  display: flex;
  gap: 8px;
}

.payment-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ================================================================
   SHOP PAGE - FILTERS
   ================================================================ */
.shop-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 130px;
}

.filter-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.filter-checkbox:hover {
  color: var(--primary);
}

.filter-checkbox input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.price-range {
  margin-top: 14px;
}

.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  cursor: pointer;
}

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

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1.5px solid transparent;
}

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

/* ================================================================
   BLOG
   ================================================================ */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 100px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.value-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

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

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 14px;
}

/* ================================================================
   ADMIN PANEL
   ================================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f2ff;
}

.admin-sidebar {
  width: 260px;
  background: #0f0a1e;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: #0f0a1e;
  z-index: 1;
}

.admin-nav {
  padding: 16px 0;
}

.admin-nav-group {
  margin-bottom: 6px;
}

.admin-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 10px 20px 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  border-left: 3px solid transparent;
}

.admin-nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.admin-nav-link.active {
  color: white;
  background: rgba(124,58,237,0.2);
  border-left-color: var(--primary);
}

.admin-nav-link i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  padding: 14px 28px;
  border-bottom: 1px solid #e8e0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-content {
  padding: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f0eaf8;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-info .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-info .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-info .change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-info .change.up { color: #22c55e; }
.stat-info .change.down { color: var(--accent-rose); }

.admin-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f0eaf8;
  margin-bottom: 22px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0eaf8;
}

.admin-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.admin-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #faf8ff;
  border-bottom: 1px solid #f0eaf8;
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid #f8f5ff;
  font-size: 0.875rem;
  color: var(--text-secondary);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #faf8ff;
}

.admin-table .product-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.pending { background: #fef3c7; color: #92400e; }
.status-badge.processing { background: #dbeafe; color: #1e40af; }
.status-badge.shipped { background: #d1fae5; color: #065f46; }
.status-badge.delivered { background: #d1fae5; color: #065f46; }
.status-badge.cancelled { background: #fee2e2; color: #991b1b; }
.status-badge.active { background: #d1fae5; color: #065f46; }
.status-badge.inactive { background: #f3f4f6; color: #6b7280; }
.status-badge.in-stock { background: #d1fae5; color: #065f46; }
.status-badge.low-stock { background: #fef3c7; color: #92400e; }
.status-badge.out-of-stock { background: #fee2e2; color: #991b1b; }

/* ================================================================
   CUSTOMER ACCOUNT
   ================================================================ */
.account-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: 700;
  margin: 0 auto 14px;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  margin-bottom: 4px;
}

.account-nav-link:hover,
.account-nav-link.active {
  background: var(--bg-tertiary);
  color: var(--primary);
}

.account-nav-link i {
  width: 18px;
  text-align: center;
}

/* ================================================================
   ANIMATIONS & EFFECTS
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

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

.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }

/* ================================================================
   ISLAMIC DECORATIVE ELEMENTS
   ================================================================ */
.arabic-bismillah {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.6;
}

.islamic-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.islamic-divider::before,
.islamic-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gradient-primary);
}

.islamic-star {
  color: var(--primary);
  font-size: 1.2rem;
  animation: rotate 8s linear infinite;
}

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

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-link.prev,
.page-link.next {
  width: auto;
  padding: 0 14px;
  gap: 6px;
}

/* ================================================================
   RESPONSIVE - MEDIA QUERIES
   ================================================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .mega-menu {
    min-width: 560px;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 60px 0;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-search {
    display: none;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    width: 260px;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .promo-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .hero-slide {
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-float-card {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

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

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

  .checkout-form {
    padding: 20px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .section-padding {
    padding: 50px 0;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero-section {
    margin-top: 110px;
  }

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

  .product-card-body {
    padding: 10px 12px 12px;
  }

  .product-card-title {
    font-size: 0.88rem;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
  }

  .wa-float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .hero-slide {
    min-height: 50vh;
  }

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

  .newsletter-form .btn {
    width: 100%;
  }
}

/* ================================================================
   SCROLLBAR STYLING
   ================================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

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

/* ================================================================
   UTILITIES
   ================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.d-none { display: none !important; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-100 { width: 100%; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }

.text-primary-color { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-gradient { background: var(--gradient-primary); }
.bg-secondary { background: var(--bg-secondary); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Row Grid system */
.row {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 768px) {
  .col-2, .col-3, .col-4 { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 992px) {
  .col-3, .col-4 { grid-template-columns: repeat(2, 1fr); }
}
