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

:root {
  --primary: #002455;
  --primary-light: #003366;
  --primary-dark: #001833;
  --accent: #D4AF37;
  --accent-light: #E8C84A;
  --accent-dark: #B8962E;
  --success: #16A34A;
  --success-light: #22C55E;
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-gray: #F1F5F9;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Tajawal', 'Almarai', sans-serif;
  --font-secondary: 'Almarai', 'Tajawal', sans-serif;
  --whatsapp: #25D366;
  --star: #F59E0B;
  --danger: #EF4444;
  --orange: #F97316;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 4px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  overflow: hidden;
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.announcement-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.announcement-bar .icon {
  font-size: 1rem;
}

.announcement-bar .slider-track {
  display: flex;
  gap: 60px;
  animation: marquee 15s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 2)); }
}

@media (max-width: 768px) {
  .announcement-bar .container {
    justify-content: flex-start;
    overflow: hidden;
  }

  .announcement-bar .slider-track {
    gap: 40px;
    animation: marquee 8s linear infinite;
    padding: 0 10px;
  }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  color: var(--accent);
}

.logo-text .sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  letter-spacing: 1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

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

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icons .icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  font-size: 1.2rem;
  transition: var(--transition);
  position: relative;
}

.header-icons .icon-btn:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.header-icons .icon-btn .badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text);
}

.menu-toggle:hover {
  background: var(--bg-light);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text);
}

.mobile-menu-close:hover {
  background: var(--bg-light);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-overlay,
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.open,
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #001a3d 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><path fill="rgba(212,175,55,0.03)" d="M0,600L48,580C96,560,192,520,288,510C384,500,480,520,576,530C672,540,768,540,864,520C960,500,1056,460,1152,450C1248,440,1344,460,1392,470L1440,480L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

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

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

.hero h1 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

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

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-success:hover {
  background: var(--success-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.35);
}

/* Hero Trust Badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-trust .check {
  width: 20px;
  height: 20px;
  background: rgba(22, 163, 74, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.7rem;
}

/* Hero Image */
.hero-image {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 42%;
  z-index: 1;
  opacity: 0.6;
}

.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
}

/* ===== TRUST BANNER ===== */
.trust-banner {
  background: var(--bg-light);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
}

.trust-item .icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.trust-item .text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.trust-item .text small {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  gap: 16px;
  justify-content: center;
}

.category-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

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

.category-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.category-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

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

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

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

.product-card .image-wrapper {
  position: relative;
  padding-top: 100%;
  background: var(--bg-light);
  overflow: hidden;
}

.product-card .image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.product-card .badge.sale {
  background: var(--accent);
  color: var(--primary);
}

.product-card .badge.bestseller {
  background: var(--orange);
}

.product-card .badge.limited {
  background: var(--primary);
}

.product-card .badge.out-of-stock {
  background: var(--text-light);
}

.product-card .wishlist-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition);
  z-index: 2;
  opacity: 0;
  transform: translateX(-10px);
}

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

.product-card .wishlist-btn:hover {
  background: var(--danger);
  color: #fff;
}

.product-card .wishlist-btn.active {
  background: var(--danger);
  color: #fff;
  opacity: 1;
}

.product-card .quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
  white-space: nowrap;
}

.product-card:hover .quick-view {
  opacity: 1;
  bottom: 16px;
}

.product-card .info {
  padding: 20px;
}

.product-card .info .category-tag {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card .info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.product-card .info .rating .stars {
  color: var(--star);
  font-size: 0.85rem;
}

.product-card .info .rating span {
  font-size: 0.8rem;
  color: var(--text-light);
}

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

.product-card .info .price .current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.product-card .info .price .original {
  font-size: 0.9rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}

.product-card .info .orders {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.product-card .info .actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.product-card .info .actions .add-to-cart {
  flex: 1;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-card .info .actions .add-to-cart:hover {
  background: var(--primary-light);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3d 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 25L55 25L38 35L45 55L30 42L15 55L22 35L5 25L25 25Z' fill='rgba(212,175,55,0.05)'/%3E%3C/svg%3E");
  background-size: 120px;
}

.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.countdown-text h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.countdown-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.countdown-text .highlight {
  color: var(--accent);
}

.countdown-timer {
  display: flex;
  gap: 16px;
  direction: ltr;
}

.countdown-timer .unit {
  text-align: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius);
  min-width: 80px;
}

.countdown-timer .unit .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.countdown-timer .unit .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

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

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

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

.review-card .header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  border: none;
  position: static;
  background: none;
  backdrop-filter: none;
}

.review-card .header .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.review-card .header .info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-card .header .info .date {
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.review-card .stars {
  color: var(--star);
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.review-card .verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 12px;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

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

.step-card .number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
  position: relative;
}

.step-card .number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.2;
}

.step-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-item .question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}

.faq-item .question .icon {
  font-size: 0.8rem;
  color: var(--text-lighter);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .question .icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .answer {
  max-height: 300px;
}

.faq-item .answer p {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.guarantee-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

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

.guarantee-card .icon {
  width: 56px;
  height: 56px;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.guarantee-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--bg-light);
}

.newsletter-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 3L25 17L40 20L25 23L20 37L15 23L0 20L15 17Z' fill='rgba(212,175,55,0.05)'/%3E%3C/svg%3E");
  background-size: 80px;
}

.newsletter-card * {
  position: relative;
  z-index: 2;
}

.newsletter-card h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.newsletter-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

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

.newsletter-card .form input {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
}

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

.newsletter-card .form button {
  padding: 16px 32px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-card .form button:hover {
  background: var(--accent-light);
}

.offers-highlight {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0 8px;
}

.offer-highlight-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  min-width: 130px;
  backdrop-filter: blur(4px);
}

.discount-badge-large {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.offer-highlight-text {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-right: 4px;
}

.footer-col .social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-col .social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-col .social-links a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-payment {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-payment strong {
  color: var(--accent);
}

/* ===== SHOP PAGE ===== */
.shop-header {
  background: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.shop-header h1 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.shop-header p {
  color: var(--text-light);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0;
}

.shop-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

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

.sidebar-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

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

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  transition: var(--transition);
}

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

.filter-group label input[type="checkbox"],
.filter-group label input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-range input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  text-align: center;
}

.price-range input:focus {
  border-color: var(--accent);
}

.price-range span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.shop-toolbar .results {
  font-size: 0.9rem;
  color: var(--text-light);
}

.shop-toolbar .sort select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg);
  outline: none;
  cursor: pointer;
}

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

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.product-gallery {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.product-gallery .main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 16px;
  position: relative;
}

.product-gallery .main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

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

.product-gallery .thumbnails .thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
}

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

.product-gallery .thumbnails .thumb.active {
  border-color: var(--accent);
}

.product-info .badge-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-info h1 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

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

.product-info .rating-large .stars {
  color: var(--star);
  font-size: 1.2rem;
}

.product-info .rating-large span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.product-info .price-large {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-info .price-large .current {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.product-info .price-large .original {
  font-size: 1.2rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}

.product-info .price-large .discount {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.product-info .stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.product-info .stock-status.in-stock { color: var(--success); }
.product-info .stock-status.low-stock { color: var(--orange); }
.product-info .stock-status.out-of-stock { color: var(--danger); }

.product-info .description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-info .specs {
  margin-bottom: 24px;
}

.product-info .specs h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-info .specs table {
  width: 100%;
}

.product-info .specs td {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.product-info .specs td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 120px;
}

.product-info .features {
  margin-bottom: 24px;
}

.product-info .features h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-info .features ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 6px 0;
}

.product-info .features ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

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

.product-info .quantity label {
  font-weight: 600;
  font-size: 0.95rem;
}

.product-info .quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-info .quantity-control button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: var(--transition);
}

.product-info .quantity-control button:hover {
  background: var(--bg-light);
}

.product-info .quantity-control input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.product-info .product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-info .product-actions .btn {
  flex: 1;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
}

.product-info .trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.product-info .trust-section .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.product-info .trust-section .item .icon {
  width: 28px;
  height: 28px;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background: var(--bg);
  z-index: 3000;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  left: 0;
}

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

.cart-sidebar-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-sidebar-header .close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text);
}

.cart-sidebar-header .close-btn:hover {
  background: var(--bg-light);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-item .image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  overflow: hidden;
  flex-shrink: 0;
}

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

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

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

.cart-item .details .price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-item .details .cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.cart-item .details .cart-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text);
}

.cart-item .details .cart-qty button:hover {
  background: var(--bg-light);
}

.cart-item .details .cart-qty span {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.cart-item .remove-btn {
  color: var(--text-lighter);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-sidebar-footer .total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-sidebar-footer .total .amount {
  color: var(--primary);
  font-size: 1.3rem;
}

.cart-sidebar-footer .btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty .icon {
  font-size: 3rem;
  color: var(--text-lighter);
  margin-bottom: 16px;
}

.cart-empty p {
  color: var(--text-light);
}

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

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

.checkout-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.checkout-form h2 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}

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

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

.form-group label .required {
  color: var(--danger);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

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

.checkout-summary {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-summary h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-summary .item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.checkout-summary .item.total .amount {
  color: var(--primary);
  font-size: 1.3rem;
}

.checkout-summary .cod-notice {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3d 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.about-hero h1 {
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4/3;
}

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

.about-text h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

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

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 60px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-method:hover {
  background: var(--bg);
  box-shadow: var(--shadow);
}

.contact-method .icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method .details strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-method .details span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-method.whatsapp .icon {
  background: var(--whatsapp);
}

.contact-form-wrapper h2 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px;
}

.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  background: var(--bg-light);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== QUICK VIEW MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

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

.modal-close:hover {
  background: var(--border);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ===== CHECKOUT POPUP ===== */
.checkout-popup {
  max-width: 520px;
  padding: 28px 20px;
}

.checkout-popup .popup-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.checkout-popup .popup-header h2 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Offer Cards Grid */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.offer-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 10px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.offer-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
}

.offer-card.selected {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.18);
  transform: scale(1.03);
  background: #fff;
}

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

.offer-card.selected .offer-radio {
  border-color: var(--accent);
  background: var(--accent);
}

.offer-card .offer-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: var(--transition);
}

.offer-card.selected .offer-radio::after {
  opacity: 1;
}

.offer-card .offer-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.offer-card .offer-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
}

.offer-card .offer-qty {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.offer-card .offer-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.offer-card .offer-original {
  font-size: 0.75rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}

.offer-card .offer-discount {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 700;
}

/* Section Card */
.section-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.section-card .option-row {
  margin-bottom: 12px;
}

.section-card .option-row:last-child {
  margin-bottom: 0;
}

.section-card .option-row label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 5px;
  color: var(--text);
}

.section-card .option-row select {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  outline: none;
}

.section-card .option-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Form Fields */
.checkout-popup .form-group {
  margin-bottom: 10px;
}

.checkout-popup .form-group input,
.checkout-popup .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.checkout-popup .form-group input:focus,
.checkout-popup .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* Sticky Checkout Button */
.checkout-sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 12px 0 0;
  margin-top: 8px;
}

.checkout-sticky .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 420px) {
  .offers-grid {
    gap: 6px;
  }

  .offer-card {
    padding: 16px 6px 12px;
  }

  .offer-card .offer-image {
    width: 44px;
    height: 44px;
  }

  .offer-card .offer-price {
    font-size: 1rem;
  }

  .offer-card .offer-qty {
    font-size: 0.75rem;
  }

  .checkout-popup {
    padding: 20px 12px;
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

/* ===== FLOATING BUTTONS ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

.floating-order {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  z-index: 99;
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  border-top: 1px solid var(--border);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--bg-light) 25%, var(--border) 50%, var(--bg-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
  max-width: 360px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

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

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

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-image { display: none; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: static;
    display: none;
  }
  .shop-sidebar.open { display: block; }
  .modal-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-icons .icon-btn.search-btn { display: none; }
  
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 12px; }
  .hero-trust span { font-size: 0.8rem; }
  
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }
  
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card .info { padding: 14px; }
  .product-card .info h3 { font-size: 0.85rem; }
  .product-card .info .price .current { font-size: 1rem; }
  .product-card .info .actions .add-to-cart { padding: 10px; font-size: 0.8rem; }
  .product-card .quick-view { display: none; }
  .product-card .wishlist-btn { opacity: 1; transform: none; }
  
  .categories-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 130px)); gap: 10px; }
  .category-card { padding: 20px 12px; }
  .category-card .icon { font-size: 1.6rem; }
  .category-card h3 { font-size: 0.8rem; }
  
  .countdown-wrapper { flex-direction: column; text-align: center; }
  .countdown-text h2 { font-size: 1.5rem; }
  .countdown-timer .unit { padding: 12px 16px; min-width: 60px; }
  .countdown-timer .unit .number { font-size: 1.5rem; }
  
  .reviews-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
  
  .newsletter-card { padding: 32px 20px; }
  .newsletter-card h2 { font-size: 1.3rem; }
  .newsletter-card .form { flex-direction: column; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  
  .trust-grid { gap: 16px; }
  .trust-item { padding: 6px 12px; }
  
  .product-detail { padding: 20px 0; }
  .product-info h1 { font-size: 1.3rem; }
  .product-info .price-large .current { font-size: 1.5rem; }
  .product-info .product-actions { flex-direction: column; }
  .product-info .trust-section { grid-template-columns: 1fr; }
  
  .checkout-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  
  .cart-sidebar { width: 100%; left: -100%; }
  
  .about-hero h1 { font-size: 2rem; }
  .about-text h2 { font-size: 1.5rem; }
  
  .floating-order { display: block; }
  .scroll-top { bottom: 80px; right: 20px; }
  .floating-whatsapp { width: 48px; height: 48px; font-size: 1.3rem; bottom: 80px; left: 20px; }
  
  .shop-toolbar { flex-direction: column; gap: 12px; align-items: stretch; }
  
  .product-card .badge { font-size: 0.65rem; padding: 3px 8px; }
  
  .countdown-section { padding: 40px 0; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero h1 { font-size: 1.6rem; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-badge { font-size: 0.75rem; }
  .section-header { margin-bottom: 32px; }
}

/* ===== DOWNSELL MODAL ===== */
.downsell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
  padding: 20px;
}

.downsell-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.downsell-modal {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

.downsell-overlay.open .downsell-modal {
  transform: scale(1) translateY(0);
}

.downsell-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-gray);
  color: var(--text-light);
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.downsell-close:hover {
  background: var(--border);
}

.downsell-header {
  margin-bottom: 24px;
}

.downsell-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37, #E8C84A);
  color: #002455;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.downsell-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.downsell-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.5;
}

.downsell-body {
  margin-bottom: 28px;
}

.downsell-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.downsell-discount-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,36,85,0.25);
  position: relative;
}

.downsell-discount-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px dashed var(--accent);
  animation: spin 12s linear infinite;
}

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

.downsell-discount-pct {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.downsell-discount-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.downsell-message {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

.downsell-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.downsell-cta {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  justify-content: center;
}

.downsell-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,36,85,0.3);
}

.downsell-skip {
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: inherit;
}

.downsell-skip:hover {
  border-color: var(--text-lighter);
  color: var(--text);
}

/* ===== CART DISCOUNT ===== */
.cart-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

.cart-discount .amount.discount-amount {
  color: var(--success);
}

.item.discount {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ===== POPUP DISCOUNT INFO ===== */
.popup-discount-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 6px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.popup-original {
  color: var(--text-lighter);
  text-decoration: line-through;
}

.popup-saved-label {
  color: var(--success);
  font-weight: 700;
}

.popup-saved {
  font-weight: 800;
}
