/* =====================================================
   ARORA ELECTRICALS - Professional Design System
   ===================================================== */

:root {
  --primary: #1e5fcc;
  --primary-dark: #1e3a8a;
  --primary-light: #eff6ff;
  --secondary: #f59e0b;
  --accent: #10b981;
  --danger: #ef4444;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── SPLASH ── */
#welcomeSplash {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #fff 0%, #f4f7fe 100%);
  z-index: 99999; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s;
  animation: autoHideSplash 1.5s forwards 1.2s; /* Bulletproof auto-hide */
}
@keyframes autoHideSplash {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#splashContent { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
#splashLogo {
  height: 100px; width: auto; border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  animation: floatLogo 3s ease-in-out infinite;
}
.splash-title {
  font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: #111;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s;
}
.splash-title span { color: var(--primary); }
.splash-sub {
  color: #555; font-size: 1rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s;
}
#splashSpinner {
  position: absolute; bottom: 60px; display: flex; flex-direction: column;
  align-items: center; gap: 10px; opacity: 0; animation: fadeUp 0.8s ease forwards 1s;
}
.spinner-ring {
  width: 36px; height: 36px; border: 3px solid rgba(30,95,204,0.2);
  border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite;
}
#splashSpinner span { font-size: 0.8rem; color: #888; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.splash-hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff; overflow: hidden; height: 38px; display: flex; align-items: center;
}
.announcement-content {
  display: flex; white-space: nowrap; animation: marquee 30s linear infinite;
  font-size: 0.82rem; font-weight: 500;
}
.announcement-content span { padding-right: 60px; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 20px;
}
.header-logo img { height: 52px; width: auto; border-radius: 8px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--primary-light); color: var(--primary); }
.header-search-bar {
  flex: 1; max-width: 440px; display: flex; align-items: center;
  background: #f8fafc; border: 2px solid var(--border); border-radius: 10px;
  overflow: hidden; position: relative; transition: var(--transition);
}
.header-search-bar:focus-within { border-color: var(--primary); }
.header-search-bar select {
  border: none; outline: none; padding: 10px 14px; font-size: 0.85rem; font-weight: 500;
  background: transparent; border-right: 1px solid var(--border); color: var(--text-dark); min-width: 120px;
}
.header-search-bar input {
  flex: 1; border: none; outline: none; padding: 10px 14px;
  font-size: 0.9rem; background: transparent; font-family: inherit;
}
#headerSearchBtn {
  background: var(--primary); border: none; padding: 10px 16px;
  color: #fff; display: flex; align-items: center;
}
.search-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md); z-index: 200; display: none;
}
.search-dropdown.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  cursor: pointer; transition: 0.15s; border-bottom: 1px solid #f8fafc;
}
.search-result-item:hover { background: var(--primary-light); }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: #f1f5f9; }
.search-result-item .s-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.search-result-item .s-price { font-size: 0.8rem; color: var(--primary); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.login-header-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: var(--primary); color: #fff; font-size: 0.85rem; font-weight: 600;
  border-radius: 24px; transition: var(--transition); box-shadow: 0 4px 12px rgba(30,95,204,0.25);
}
.login-header-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,95,204,0.35); }
.cart-btn {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: #fff; border: 2px solid var(--border); border-radius: 24px;
  font-size: 0.9rem; font-weight: 700; transition: var(--transition); color: var(--text-dark);
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count {
  background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none;
}
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: 0.3s; display: block; }

/* ── CATEGORY NAV BAR ── */
.category-nav-wrapper {
  position: relative; background: #fff;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.category-nav-bar {
  flex: 1; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; position: static;
}
.category-nav-bar::-webkit-scrollbar { display: none; }
.category-nav-inner {
  display: flex; max-width: 1400px; margin: 0 auto; padding: 0 24px;
  justify-content: center; /* Center the items */
}
.mega-menu-item { position: static; flex-shrink: 0; }
.mega-menu-item > a {
  display: block; padding: 12px 16px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-mid); white-space: nowrap; transition: var(--transition);
}
.mega-menu-item > a:hover { color: var(--primary); }
.mega-menu-item > a .arrow { font-size: 0.65rem; opacity: 0.6; margin-left: 4px; }

/* Mega Dropdown */
.mega-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: none; padding: 20px 24px; z-index: 2000;
}
.mega-menu-item:hover .mega-dropdown { display: block; }
.mega-dropdown-inner {
  max-width: 1400px; margin: 0 auto; display: flex; gap: 20px;
  flex-wrap: wrap; align-items: center; justify-content: center;
}
.mega-dropdown-inner a {
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-dark); background: #f8fafc; border-radius: 8px;
  transition: 0.2s; white-space: nowrap;
}
.mega-dropdown-inner a:hover { background: var(--primary-light); color: var(--primary); }
.mega-title { border: 1px solid var(--primary); color: var(--primary) !important; background: #fff !important; }
.mega-empty { font-size: 0.85rem; color: #888; padding: 8px 16px; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; flex-direction: column; padding: 20px;
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 14px 16px; font-size: 1rem; font-weight: 600; border-radius: 10px;
  transition: 0.15s; color: var(--text-dark);
}
.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }

/* ── SECTION HELPERS ── */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block; padding: 4px 14px; background: rgba(30,95,204,0.1);
  color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 12px;
}
.section-title .highlight { color: var(--primary); }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ── CERTIFICATES SECTION ── */
.certificates-section { padding: 30px 0; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.certs-ticker { margin-top: 50px; overflow: hidden; position: relative; padding: 10px 0; }
.certs-ticker::before, .certs-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.certs-ticker::before { left: 0; background: linear-gradient(90deg, #f8fafc, transparent); }
.certs-ticker::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.certs-track { display: flex; gap: 40px; animation: ticker 25s linear infinite; width: max-content; }
.certs-track:hover { animation-play-state: paused; }
.cert-card { 
  background: #fff; width: 340px; border-radius: 16px; overflow: hidden; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  flex-shrink: 0;
  display: flex; flex-direction: column;
}
.cert-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 35px rgba(30, 95, 204, 0.15); border-color: rgba(30, 95, 204, 0.3); }
.cert-img-wrap { width: 100%; aspect-ratio: 1.4/1; background: #000; overflow: hidden; position: relative; }
.cert-img-wrap::after {
  content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 20px rgba(0,0,0,0.1); pointer-events: none;
}
.cert-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; opacity: 0.95; }
.cert-card:hover .cert-img-wrap img { transform: scale(1.1); opacity: 1; }
.cert-info { padding: 20px 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.cert-title { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.cert-desc { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ── WHY US SECTION ── */
.hero-section {
  position: relative; min-height: 600px; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e5fcc 100%);
  overflow: hidden; display: flex; align-items: center;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.hero-bolt {
  position: absolute; font-size: 8rem; opacity: 0.04; pointer-events: none;
  animation: boltsway 4s ease-in-out infinite;
}
.bolt-tl { top: -30px; left: -20px; }
.bolt-br { bottom: -30px; right: -20px; animation-delay: 2s; }
.hero-creative-inner {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%;
}
.hero-trust-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px; color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 600;
  backdrop-filter: blur(8px); margin-bottom: 24px;
}
.trust-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.hero-title-creative {
  font-family: 'Outfit', sans-serif; font-size: 3.8rem; font-weight: 900;
  color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-word-switch { color: var(--secondary); }
.hero-highlight-word { color: rgba(255,255,255,0.75); }
.hero-desc { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 32px; max-width: 500px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-btn-shop {
  display: flex; align-items: center; gap: 8px; padding: 14px 28px;
  background: var(--secondary); color: #fff; font-size: 1rem; font-weight: 700;
  border-radius: 50px; transition: var(--transition); box-shadow: 0 8px 25px rgba(245,158,11,0.35);
}
.hero-btn-shop:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(245,158,11,0.45); }
.hero-btn-call {
  display: flex; align-items: center; gap: 8px; padding: 14px 28px;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1rem; font-weight: 600; border-radius: 50px;
  backdrop-filter: blur(8px); transition: var(--transition);
}
.hero-btn-call:hover { background: rgba(255,255,255,0.2); }
.hero-stats-row { display: flex; gap: 24px; margin-bottom: 28px; }
.hero-stat { text-align: center; }
.hero-stat strong { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: #fff; }
.hero-stat span { color: var(--secondary); font-weight: 900; font-size: 1.5rem; }
.hero-stat p { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-top: 2px; }
.hero-stat-sep { width: 1px; background: rgba(255,255,255,0.2); }
.hero-brand-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-brand-pills span {
  padding: 5px 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px; color: rgba(255,255,255,0.8); font-size: 0.78rem; font-weight: 600;
}
.hero-right-collage { position: relative; }
.collage-main {
  border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.05);
}
.collage-main-img { width: 100%; height: 380px; object-fit: cover; }
.collage-card {
  position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: floatCard 4s ease-in-out infinite; z-index: 10;
}
.collage-card img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.collage-card strong { display: block; font-size: 0.82rem; font-weight: 700; color: #111; }
.collage-card span { font-size: 0.72rem; color: var(--text-light); }
.cc-1 { top: 20px; left: -20px; animation-delay: 0s; }
.cc-2 { bottom: 80px; left: -30px; animation-delay: 1.5s; }
.cc-3 { top: 40px; right: -20px; animation-delay: 0.8s; }
.hero-isi-badge {
  position: absolute; bottom: 30px; right: -10px; z-index: 10;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff; border-radius: 12px;
  padding: 10px 14px; text-align: center; box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}
.hero-isi-badge strong { display: block; font-size: 1.2rem; font-weight: 900; }
.hero-isi-badge span { font-size: 0.7rem; opacity: 0.9; }
.hero-rating-bubble {
  position: absolute; top: 160px; right: -15px; z-index: 10;
  background: #fff; border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); text-align: center;
}
.hero-rating-bubble strong { display: block; font-size: 1rem; font-weight: 800; color: #111; }
.hero-rating-bubble span { font-size: 0.68rem; color: var(--text-light); }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 0.8rem; cursor: pointer; animation: bounce 2s ease-in-out infinite;
}

/* ── CATEGORIES SECTION ── */
.categories-section { padding: 30px 0; background: #fff; }
.banner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px;
}
.banner-item {
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  text-decoration: none; transition: var(--transition); border-radius: var(--radius); overflow: hidden;
}
.banner-item:hover { transform: translateY(-6px); }
.banner-box {
  position: relative; border-radius: 12px; overflow: hidden; height: 180px;
  box-shadow: var(--shadow-md);
}
.banner-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.4s; }
.banner-item:hover .banner-bg { transform: scale(1.08); }
.banner-box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.banner-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  z-index: 2; color: #fff;
}
.banner-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.banner-btn {
  display: inline-block; padding: 5px 14px; background: #fff; color: #111;
  border: none; border-radius: 16px; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: 0.2s;
}
.banner-item:hover .banner-btn { background: var(--primary); color: #fff; }
.banner-label { text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--text-mid); padding: 4px 0; }

/* ── PRODUCTS SECTION ── */
.products-section { padding: 30px 0; }
.products-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px; border: 2px solid var(--border); border-radius: 24px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-mid); background: #fff;
  transition: var(--transition); cursor: pointer;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px;
}
.product-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer; position: relative;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(30,95,204,0.2); }
.product-img-wrap { position: relative; background: #f8fafc; height: 200px; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; }
.badge {
  padding: 3px 8px; border-radius: 6px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
}
.badge-hot { background: #fef3c7; color: #d97706; }
.badge-new { background: #d1fae5; color: #059669; }
.badge-sale { background: #fee2e2; color: #dc2626; }
.product-wishlist {
  position: absolute; top: 10px; right: 10px; background: #fff; border: none;
  border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-sm); transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-quick-view {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  background: rgba(30,95,204,0.95); color: #fff; border: none; border-radius: 8px;
  padding: 8px; font-size: 0.8rem; font-weight: 700; text-align: center;
  opacity: 0; transition: 0.3s; backdrop-filter: blur(4px);
}
.product-card:hover .product-quick-view { opacity: 1; }
.product-info { padding: 14px 16px; display: flex; flex-direction: column; flex-grow: 1; }
.product-brand { font-size: 0.72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 0.8rem; }
.rating-count { font-size: 0.72rem; color: var(--text-light); }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.product-old-price { font-size: 0.82rem; color: var(--text-light); text-decoration: line-through; }
.product-discount { font-size: 0.75rem; font-weight: 700; color: #dc2626; background: #fee2e2; padding: 2px 6px; border-radius: 4px; }
.add-to-cart-btn {
  width: 100%; padding: 10px; background: var(--primary); color: #fff; border: none;
  border-radius: 8px; font-size: 0.85rem; font-weight: 700; transition: var(--transition);
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.add-to-cart-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.products-load-more { text-align: center; margin-top: 36px; }
.load-more-btn {
  padding: 12px 36px; background: var(--white); border: 2px solid var(--primary);
  color: var(--primary); border-radius: 50px; font-size: 0.9rem; font-weight: 700;
  transition: var(--transition);
}
.load-more-btn:hover { background: var(--primary); color: #fff; }

/* ── STATS BANNER ── */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 40px 24px;
}
.stats-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 16px 40px; flex-shrink: 0; }
.stat-number {
  display: block; font-family: 'Outfit', sans-serif; font-size: 2.8rem;
  font-weight: 900; color: #fff;
}
.stat-suffix { color: var(--secondary); font-weight: 900; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500; margin-top: 4px; display: block; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); margin: 20px 0; }

/* ── WHY US ── */
.why-us-section { padding: 30px 0; background: #fff; }
.why-us-body { padding: 30px 0 0; }
.why-us-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-heading { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 900; margin-bottom: 14px; line-height: 1.2; }
.gradient-text { background: linear-gradient(135deg, var(--primary), #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.why-subtext { color: var(--text-light); margin-bottom: 32px; font-size: 1rem; }
.feature-cards { display: flex; flex-direction: column; gap: 16px; }
.feature-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: #f8fafc; border-radius: 12px; border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { border-color: var(--primary); background: var(--primary-light); box-shadow: var(--shadow-sm); }
.feature-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.feature-desc { font-size: 0.83rem; color: var(--text-light); }
.testimonials-panel { background: #f8fafc; border-radius: 20px; padding: 28px; border: 1px solid var(--border); }
.testimonials-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 0.95rem; }
.rating-overall { font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.testimonial-card { display: none; }
.testimonial-card.active { display: block; }
.testimonial-quote { font-size: 3rem; color: var(--primary); opacity: 0.2; line-height: 1; margin-bottom: -10px; }
.testimonial-text { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-footer img { width: 44px; height: 44px; border-radius: 50%; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-stars { color: var(--secondary); font-size: 0.85rem; }
.testimonial-dots { display: flex; gap: 6px; margin-top: 16px; justify-content: center; }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: 0.3s; }
.tdot.active { background: var(--primary); width: 20px; border-radius: 4px; }

/* ── OFFER BANNER ── */
.offer-banner {
  background: linear-gradient(135deg, #1e3a8a, #7c3aed);
  padding: 60px 24px; overflow: hidden; position: relative;
}
.offer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.offer-badge { display: inline-block; padding: 4px 12px; background: rgba(255,255,255,0.15); border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.offer-text h2 { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.highlight-white { color: var(--secondary); }
.offer-text p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.btn-white { display: inline-block; padding: 12px 28px; background: #fff; color: var(--primary-dark); font-weight: 700; border-radius: 50px; transition: var(--transition); }
.btn-white:hover { background: var(--secondary); color: #fff; }
.offer-img-stack { position: relative; height: 260px; }
.offer-main-img { height: 240px; object-fit: contain; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }
.offer-float-img { width: 80px; height: 80px; object-fit: contain; position: absolute; animation: floatCard 4s ease-in-out infinite; }
.offer-fi-1 { top: 0; right: 10%; animation-delay: 0.5s; }
.offer-fi-2 { top: 20px; left: 10%; animation-delay: 1.5s; }

/* ── BRANDS SECTION ── */
.brands-section { padding: 30px 0; background: #f8fafc; }
.brands-ticker { overflow: hidden; margin-top: 32px; position: relative; }
.brands-ticker::before,
.brands-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.brands-ticker::before { left: 0; background: linear-gradient(90deg, #f8fafc, transparent); }
.brands-ticker::after { right: 0; background: linear-gradient(-90deg, #f8fafc, transparent); }
.brands-track { display: flex; gap: 16px; animation: ticker 15s linear infinite; width: max-content; }
.brands-track:hover { animation-play-state: paused; }
.brand-chip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 160px; padding: 14px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition);
  flex-shrink: 0;
}
.brand-chip:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.brand-chip img { width: 32px; height: 32px; object-fit: contain; }
.brand-chip span { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); text-decoration: none; }
a.brand-chip { text-decoration: none; color: inherit; }

/* ── CART SIDEBAR ── */
.cart-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 900; backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
  height: 100vh; background: #fff; z-index: 901; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { font-size: 1.15rem; font-weight: 800; }
.cart-close { background: #f8fafc; border: none; width: 34px; height: 34px; border-radius: 8px; font-size: 1.1rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 12px; padding: 12px; background: #f8fafc; border-radius: 10px; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; background: #e2e8f0; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-brand { font-size: 0.72rem; color: var(--text-light); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 26px; height: 26px; border: 2px solid var(--border); border-radius: 6px; background: #fff; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: 0.15s; }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-value { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: var(--primary); }
.cart-item-del { background: none; border: none; color: var(--text-light); font-size: 1.1rem; padding: 4px; }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.discount-label { color: #059669; font-weight: 600; }
.discount-value { color: #059669; font-weight: 700; }
.cart-coupon { display: flex; gap: 8px; margin-bottom: 10px; }
.cart-coupon input { flex: 1; padding: 8px 12px; border: 2px solid var(--border); border-radius: 8px; font-size: 0.85rem; outline: none; }
.cart-coupon input:focus { border-color: var(--primary); }
.cart-coupon button { padding: 8px 16px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 0.8rem; font-weight: 700; }
.checkout-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border: none; border-radius: 10px; font-size: 0.95rem; font-weight: 700; transition: 0.2s; margin-top: 8px; }
.checkout-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-light); padding: 40px; }
.btn-primary-sm { padding: 10px 22px; background: var(--primary); color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.85rem; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1000; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative;
}
.product-modal { max-width: 800px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: #f8fafc; border: none;
  width: 32px; height: 32px; border-radius: 8px; font-size: 1rem; color: var(--text-light);
  z-index: 10; display: flex; align-items: center; justify-content: center;
}
.modal-header { padding: 22px 28px 16px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 1.2rem; font-weight: 800; }
.modal-body { padding: 24px 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-summary { background: #f8fafc; border-radius: 10px; padding: 14px; margin-bottom: 16px; font-size: 0.85rem; }
.checkout-summary-item { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--border); }
.checkout-summary-item:last-child { border-bottom: none; font-weight: 800; font-size: 0.95rem; }

/* ── PRODUCT QUICK VIEW ── */
.qv-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; }
.qv-images { display: flex; flex-direction: column; gap: 10px; }
.qv-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f8fafc; }
.qv-thumb-row { display: flex; gap: 8px; }
.qv-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.qv-thumb.active { border-color: var(--primary); }
.qv-info { display: flex; flex-direction: column; gap: 12px; }
.qv-brand { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; }
.qv-name { font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.qv-price-row { display: flex; align-items: center; gap: 10px; }
.qv-price { font-size: 1.6rem; font-weight: 900; color: var(--text-dark); }
.qv-old-price { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.qv-discount { background: #fee2e2; color: #dc2626; padding: 3px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 800; }
.qv-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.qv-features { display: flex; flex-direction: column; gap: 6px; }
.qv-feature { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.qv-feature::before { content: '✓'; color: #059669; font-weight: 700; }
.qv-actions { display: flex; gap: 10px; margin-top: 6px; }
.qv-cart-btn { flex: 1; padding: 13px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 700; transition: 0.2s; }
.qv-cart-btn:hover { background: var(--primary-dark); }
.qv-whatsapp { padding: 13px 18px; background: #25d366; color: #fff; border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* ── FOOTER ── */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 52px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.social-icons { display: flex; gap: 12px; }
.social-icons img { width: 28px; height: 28px; filter: brightness(0) invert(0.7); transition: 0.2s; }
.social-icons a:hover img { filter: brightness(0) invert(1); }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.85rem; transition: 0.2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.contact-item { display: flex; gap: 10px; font-size: 0.85rem; }
.contact-item span:first-child { flex-shrink: 0; }
.contact-item a { color: rgba(255,255,255,0.75); transition: 0.2s; }
.contact-item a:hover { color: #fff; }
.gst-badge { display: inline-block; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 6px 12px; font-size: 0.78rem; font-family: monospace; color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 24px; z-index: 100;
  background: #25d366; border-radius: 50%; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 35px rgba(37,211,102,0.5); }
.whatsapp-float img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.scroll-top {
  position: fixed; bottom: 30px; right: 24px; z-index: 100;
  background: var(--primary); color: #fff; border: none; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--shadow-md); transition: var(--transition); display: none;
}
.scroll-top.visible { display: flex; align-items: center; justify-content: center; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── LOADING SKELETON ── */
.skeleton { background: linear-gradient(90deg, #f0f4f8 0%, #e2e8f0 50%, #f0f4f8 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .emoji { font-size: 3.5rem; display: block; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; }

/* ── PAGINATION ── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn { width: 40px; height: 40px; border-radius: 8px; border: 2px solid var(--border); background: #fff; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.15s; }
.page-btn:hover, .page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatLogo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes boltsway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }

.animate-fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
/* ── RESPONSIVE PAGE LAYOUTS ── */
.page-layout-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.page-layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.page-layout-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; margin-bottom: 80px; }
.page-layout-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title-creative { font-size: 3rem; }
}
@media (max-width: 992px) {
  .desktop-nav, .header-search-bar, .category-nav-wrapper { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-creative-inner { grid-template-columns: 1fr; }
  .hero-right-collage { display: none; }
  
  /* Layout Updates */
  .page-layout-sidebar { grid-template-columns: 200px 1fr; gap: 20px; }
  .page-layout-split { gap: 24px; margin-bottom: 40px; }
  .page-layout-4col { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
  .page-layout-3col { grid-template-columns: repeat(2, 1fr); }
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-container { grid-template-columns: 1fr; }
  .offer-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-banner-inner { gap: 0; }
  .stat-item { padding: 14px 20px; }
}

/* ── SPIN AND WIN FEATURE ── */
.spin-float-btn { position: fixed; bottom: 30px; right: 30px; z-index: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; background: #fff; border-radius: 50%; box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4); border: 4px solid #ef4444; animation: floatBump 2s infinite cubic-bezier(0.36, 0, 0.66, -0.56); transition: transform 0.3s; }
.spin-float-btn:hover { transform: scale(1.1); animation-play-state: paused; }
.spin-gift-icon { font-size: 2rem; animation: wobble 2s infinite; }
.spin-tooltip { position: absolute; right: 110%; background: #ef4444; color: #fff; padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; white-space: nowrap; opacity: 0; transform: translateX(10px); transition: all 0.3s; pointer-events: none; }
.spin-tooltip::before { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #ef4444; }
.spin-float-btn:hover .spin-tooltip { opacity: 1; transform: translateX(0); }

@keyframes floatBump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(15deg) scale(1.1); } }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.spin-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 1000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.spin-modal-overlay.open { display: flex; opacity: 1; }
.spin-modal { background: #fff; border-radius: 20px; padding: 40px; width: 90%; max-width: 450px; text-align: center; position: relative; transform: scale(0.9); transition: transform 0.3s; box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.spin-modal-overlay.open .spin-modal { transform: scale(1); }
.spin-close { position: absolute; top: 15px; right: 15px; background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: #475569; transition: 0.2s; }
.spin-close:hover { background: #e2e8f0; color: #0f172a; transform: rotate(90deg); }
.spin-title { font-size: 1.8rem; font-weight: 800; color: #0f172a; margin-bottom: 5px; }
.spin-subtitle { color: #64748b; font-size: 0.95rem; margin-bottom: 25px; }

.wheel-container { position: relative; width: 340px; height: 340px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3)); }
.wheel-arrow { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 40px solid #ef4444; z-index: 10; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4)); }
.wheel-arrow::after { content: ''; position: absolute; top: -40px; left: -15px; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 30px solid #7f1d1d; z-index: -1; }
.wheel { width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden; border: 12px solid #fbbf24; box-shadow: 0 0 0 8px #1e293b, inset 0 0 20px rgba(0,0,0,0.5); transition: transform 5s cubic-bezier(0.1, 0.7, 0.1, 1); background: conic-gradient(#b91c1c 0deg 36deg, #fbbf24 36deg 72deg, #b91c1c 72deg 108deg, #fbbf24 108deg 144deg, #b91c1c 144deg 180deg, #fbbf24 180deg 216deg, #b91c1c 216deg 252deg, #fbbf24 252deg 288deg, #b91c1c 288deg 324deg, #fbbf24 324deg 360deg); }
.wheel::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.4) 100%); pointer-events: none; }
.segment { position: absolute; inset: 0; transform-origin: 50% 50%; display: flex; justify-content: center; align-items: flex-start; padding-top: 15px; }
.seg-content { display: flex; flex-direction: column; align-items: center; text-align: center; width: 65px; gap: 5px; }
.seg-content img { width: 35px; height: 35px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.5)); }
.seg-content span { font-size: 0.75rem; font-weight: 900; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); line-height: 1.1; }
.segment:nth-child(even) .seg-content span { color: #7f1d1d; text-shadow: none; }
.seg-1 { transform: rotate(18deg); }
.seg-2 { transform: rotate(54deg); }
.seg-3 { transform: rotate(90deg); }
.seg-4 { transform: rotate(126deg); }
.seg-5 { transform: rotate(162deg); }
.seg-6 { transform: rotate(198deg); }
.seg-7 { transform: rotate(234deg); }
.seg-8 { transform: rotate(270deg); }
.seg-9 { transform: rotate(306deg); }
.seg-10 { transform: rotate(342deg); }

.spin-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, #fbbf24, #d97706); border: 4px solid #fff; color: #7f1d1d; font-weight: 900; font-size: 1.2rem; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.4), inset 0 2px 5px rgba(255,255,255,0.8); z-index: 5; transition: 0.2s; text-shadow: 0 1px 1px rgba(255,255,255,0.5); }
.spin-btn:hover { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.8); }
.spin-btn:disabled { opacity: 0.8; cursor: not-allowed; transform: translate(-50%, -50%); filter: grayscale(0.5); }

.win-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.8); z-index: 1001; display: none; align-items: center; justify-content: center; }
.win-overlay.open { display: flex; animation: fadeIn 0.3s forwards; }
.win-card { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border-radius: 20px; padding: 40px; text-align: center; max-width: 350px; width: 90%; box-shadow: 0 25px 50px rgba(0,0,0,0.5); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.win-coupon { background: #0f172a; color: #10b981; font-family: monospace; font-size: 1.5rem; font-weight: 900; padding: 12px; border-radius: 8px; border: 2px dashed #334155; margin: 20px 0; letter-spacing: 2px; }
.win-claim-btn { background: #10b981; color: #fff; padding: 12px 24px; border: none; border-radius: 10px; font-weight: 700; font-size: 1.1rem; cursor: pointer; width: 100%; transition: 0.2s; }
.win-claim-btn:hover { background: #059669; }

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE — E-COMMERCE STANDARD
   Only applies ≤ 640px. Desktop unchanged.
══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Base ── */
  body { font-size: 15px; }
  .section-container { padding: 0 14px; }

  /* ── Announcement bar ── */
  .announcement-bar { height: 32px; font-size: 0.75rem; }

  /* ── Header ── */
  .header-inner { height: 60px; padding: 0 14px; gap: 10px; }
  .header-logo img { height: 40px; }
  /* Show mobile search in header on mobile */
  .header-search-bar {
    display: flex !important;
    flex: 1;
    max-width: unset;
    border-radius: 8px;
  }
  .header-search-bar select { display: none; }  /* hide category select on mobile */
  .header-search-bar input { font-size: 0.85rem; padding: 8px 10px; }
  #headerSearchBtn { padding: 8px 12px; }
  .login-header-btn { display: none; }           /* hide admin btn on mobile */
  .cart-btn { padding: 6px 10px; font-size: 0.8rem; gap: 4px; border-radius: 20px; }
  #cartHeaderTotal { display: none; }            /* only show icon + count */

  /* ── Mobile Nav drawer ── */
  .mobile-nav { top: 60px; padding: 16px; gap: 4px; }
  .mobile-nav-link { padding: 12px 14px; font-size: 0.95rem; border-radius: 8px; }

  /* ── Splash ── */
  .splash-title { font-size: 1.6rem; }
  #splashLogo { height: 72px; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 20px; }
  .section-title { font-size: 1.5rem; margin-bottom: 8px; }
  .section-subtitle { font-size: 0.88rem; }
  .section-badge { font-size: 0.72rem; padding: 3px 10px; margin-bottom: 8px; }

  /* ── Hero ── */
  .hero-title-creative { font-size: 1.9rem; min-height: unset; }
  .hero-creative-inner { padding: 24px 14px; gap: 20px; }
  .hero-subtitle { font-size: 0.88rem; }
  .hero-right-collage { display: none; }
  .hero-stats-row { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .hero-stat strong { font-size: 1.3rem; }
  .hero-stat span { font-size: 0.72rem; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 0.88rem; }
  .hero-cta-row { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* ── Page Layout Classes ── */
  .page-layout-sidebar { grid-template-columns: 1fr; gap: 16px; }
  .page-layout-split   { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .page-layout-4col    { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
  .page-layout-3col    { grid-template-columns: 1fr; gap: 12px; }
  #filterSidebar {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    margin-bottom: 16px;
    padding: 14px !important;
  }

  /* ── Certificates ticker ── */
  .certificates-section { padding: 20px 0; }
  .certs-ticker { margin-top: 20px; }
  .cert-card { width: 230px !important; }
  .cert-info { padding: 12px; }
  .cert-title { font-size: 0.95rem; margin-bottom: 4px; }
  .cert-desc { font-size: 0.8rem; line-height: 1.4; }

  /* ── Category grid: 4 columns ── */
  .categories-section { padding: 20px 0; }
  .banner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
  }
  .banner-box { height: 75px; border-radius: 8px; }
  .banner-content { padding: 6px; }
  .banner-title { font-size: 0.58rem; }
  .banner-btn { display: none; }
  .banner-label { font-size: 0.6rem; padding: 3px 0; }
  .banner-bg { border-radius: 8px; }

  /* ── Products section ── */
  .products-section { padding: 20px 0; }
  .products-filter {
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .products-filter::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
    border-radius: 20px;
  }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img-wrap { height: 150px; }
  .product-info { padding: 10px 12px; }
  .product-brand { font-size: 0.68rem; }
  .product-name { font-size: 0.82rem; margin-bottom: 6px; }
  .product-rating { margin-bottom: 6px; }
  .stars { font-size: 0.72rem; }
  .rating-count { font-size: 0.68rem; }
  .product-price { font-size: 1rem; }
  .product-old-price { font-size: 0.8rem; }
  .product-discount { font-size: 0.7rem; padding: 2px 5px; }
  .add-to-cart-btn { padding: 8px; font-size: 0.78rem; border-radius: 7px; }
  .products-load-more { margin-top: 20px; }
  .load-more-btn { padding: 10px 24px; font-size: 0.88rem; }

  /* ── Stats / Why Us ── */
  .stats-banner-inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 12px 10px; }
  .stat-item strong { font-size: 1.3rem; }
  .stat-divider { display: none; }
  .why-us-section { padding: 20px 0; }
  .why-us-body { padding: 20px 0 0; }
  .why-us-container { grid-template-columns: 1fr; gap: 24px; padding: 0 14px; }
  .why-heading { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 16px 12px; }
  .feature-icon { font-size: 1.6rem; }
  .feature-title { font-size: 0.88rem; }
  .feature-desc { font-size: 0.78rem; }

  /* ── Offer banner ── */
  .offer-inner { grid-template-columns: 1fr; padding: 24px 14px; gap: 20px; }
  .offer-text h2 { font-size: 1.5rem; }
  .offer-image { display: none; }

  /* ── Brands ── */
  .brands-section { padding: 20px 0; }
  .brand-chip { padding: 7px 14px; font-size: 0.82rem; }
  .brand-chip img { height: 22px; }

  /* ── Cart Sidebar ── */
  .cart-sidebar { width: 100vw; }
  .cart-header h3 { font-size: 1rem; }

  /* ── Quick View Modal → Full Screen ── */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    width: 100%;
    max-width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }
  .product-modal { max-width: 100%; }
  .modal-header { padding: 14px 16px; }
  .modal-header h2 { font-size: 1rem; }
  .modal-body { padding: 16px; }
  .qv-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
  }
  .qv-main-img { border-radius: 10px; max-height: 260px; object-fit: contain; }
  .qv-thumb-row { gap: 6px; }
  .qv-thumb { width: 48px; height: 48px; }
  .qv-name { font-size: 1.1rem; }
  .qv-price { font-size: 1.4rem; }
  .qv-cart-btn, .qv-whatsapp { padding: 12px; font-size: 0.88rem; }
  .qv-desc { font-size: 0.85rem; }

  /* ── Checkout modal ── */
  .modal-box:not(.product-modal) {
    height: auto;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
  }
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer { padding: 30px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 14px 24px;
  }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { font-size: 0.82rem; margin-bottom: 12px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-logo { margin: 0 auto; height: 42px; margin-bottom: 10px; }
  .footer-col h4 { font-size: 0.88rem; margin-bottom: 10px; }
  .footer-col ul { gap: 6px; }
  .footer-col ul li a { font-size: 0.8rem; }
  .contact-item { font-size: 0.8rem; }
  .footer-bottom { padding: 12px 14px; font-size: 0.75rem; text-align: center; }
  .footer-bottom p + p { margin-top: 4px; }
  .contact-strip { display: none; }
  .social-icons a { width: 34px; height: 34px; }

  /* ── Spin & Win ── */
  .spin-float-btn { right: 16px; bottom: 16px; width: 52px; height: 52px; border-width: 3px; }
  .spin-gift-icon { font-size: 1.5rem; }
  .spin-tooltip { display: none; }
  .spin-modal-overlay { padding: 0; align-items: flex-end; }
  .spin-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px 20px;
  }
  .spin-title { font-size: 1.3rem; }
  .spin-subtitle { font-size: 0.82rem; margin-bottom: 16px; }
  .wheel-container { transform: scale(0.82); transform-origin: top center; margin-bottom: -50px; }

  /* ── Win card ── */
  .win-card { padding: 28px 20px; border-radius: 20px 20px 0 0; }
  .win-coupon { font-size: 1.2rem; padding: 10px; }
  .win-claim-btn { font-size: 0.95rem; padding: 12px 20px; }

  /* ── Pagination ── */
  .pagination { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .page-btn { width: 34px; height: 34px; font-size: 0.82rem; border-radius: 8px; }

  /* ── Product quick-view hide hover-only elements ── */
  .product-quick-view { display: none; }
  .product-wishlist { opacity: 1; top: 6px; right: 6px; width: 28px; height: 28px; font-size: 0.9rem; }

  /* ── Scroll to top ── */
  .scroll-top { width: 38px; height: 38px; font-size: 1rem; bottom: 80px; right: 14px; }

  /* ── WhatsApp float ── */
  .whatsapp-float { width: 48px; height: 48px; bottom: 80px; left: 14px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ── Extra small phones (< 400px) ── */
@media (max-width: 400px) {
  .banner-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .banner-box { height: 65px; }
  .banner-title { font-size: 0.52rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-img-wrap { height: 130px; }
  .wheel-container { transform: scale(0.72); transform-origin: top center; margin-bottom: -75px; }
  .spin-modal { padding: 20px 12px 16px; }
  .hero-title-creative { font-size: 1.65rem; }
  .section-title { font-size: 1.3rem; }
}

/* ══════════════════════════════════════════
   PRODUCTS PAGE — Desktop base styles
   (these show on desktop, hidden on mobile)
══════════════════════════════════════════ */
.products-page-main { padding: 40px 0; }
.products-breadcrumb {
  font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px;
}
.products-breadcrumb a { color: var(--primary); }
.products-desktop-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
/* Mobile-only elements hidden on desktop */
.mob-topbar { display: none; }
.mob-filter-overlay { display: none; }
.mob-filter-drawer { display: none; }

/* ══════════════════════════════════════════
   PRODUCTS PAGE — Mobile only (≤ 640px)
══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Main layout */
  .products-page-main { padding: 0; }
  .products-breadcrumb { font-size: 0.78rem; margin-bottom: 10px; padding-top: 10px; }

  /* Hide desktop sidebar + desktop header on mobile */
  #filterSidebar { display: none !important; }
  .products-desktop-header { display: none !important; }

  /* ── Sticky Mobile Topbar ── */
  .mob-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .mob-filter-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
  }
  .mob-filter-dot {
    width: 7px; height: 7px; background: var(--danger);
    border-radius: 50%; position: absolute; top: -2px; right: -2px;
    border: 1.5px solid #fff;
  }
  .mob-title {
    flex: 1; min-width: 0;
    font-size: 0.88rem; font-weight: 700;
    color: var(--text-dark);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    display: flex; flex-direction: column; line-height: 1.2;
  }
  .mob-title small {
    font-size: 0.72rem; color: var(--text-light); font-weight: 400;
  }
  .mob-sort-select {
    padding: 7px 10px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    flex-shrink: 0;
    max-width: 100px;
  }

  /* ── Filter Drawer Overlay ── */
  .mob-filter-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 500;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
  }
  .mob-filter-overlay.open { opacity: 1; pointer-events: all; }

  /* ── Filter Drawer (slides from left) ── */
  .mob-filter-drawer {
    display: flex; flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 82vw; max-width: 300px;
    background: #fff;
    z-index: 600;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  }
  .mob-filter-drawer.open { transform: translateX(0); }

  .mob-filter-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 800; font-size: 1rem; color: var(--text-dark);
    flex-shrink: 0;
  }
  .mob-filter-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: #f1f5f9; border: none;
    font-size: 1rem; color: var(--text-mid);
    display: flex; align-items: center; justify-content: center;
  }

  .mob-filter-body {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .mob-filter-search {
    width: 100%; padding: 10px 12px;
    border: 2px solid var(--border); border-radius: 10px;
    font-size: 0.88rem; font-family: inherit; outline: none;
    margin-bottom: 14px;
  }
  .mob-filter-search:focus { border-color: var(--primary); }
  .mob-cat-label {
    font-size: 0.72rem; font-weight: 700; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 6px; margin-top: 4px;
  }
  .mob-cat-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
    transition: 0.15s; border: 1px solid transparent;
  }
  .mob-cat-link:hover { background: var(--primary-light); color: var(--primary); }
  .mob-cat-link.active {
    background: var(--primary-light); color: var(--primary);
    font-weight: 700; border-color: rgba(30,95,204,0.2);
  }
  .mob-cat-link span { font-size: 0.72rem; color: var(--text-light); }

  /* Products grid on products page */
  .products-grid { gap: 10px; }
  .product-price-row { flex-wrap: wrap; gap: 3px; }
}
