/* ============================================
   BANAFSAJ STORE - Premium CSS Design
   Luxury Dark Navy + Gold Theme
   ============================================ */

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

:root {
  --navy: #0a1628;
  --navy-2: #0f2040;
  --navy-3: #162a52;
  --gold: #c9a44a;
  --gold-light: #e2c06a;
  --gold-dark: #a8832c;
  --white: #ffffff;
  --off-white: #f8f5ef;
  --text: #1a1a2e;
  --text-muted: #8892a4;
  --border: #e8e0d0;
  --danger: #e74c3c;
  --success: #27ae60;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.2);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201,164,74,0.2);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.top-bar-center span { color: var(--gold-light); }
.top-bar-links { display: flex; align-items: center; gap: 20px; }
.top-bar-links a { color: rgba(255,255,255,0.7); font-size: 13px; transition: var(--transition); }
.top-bar-links a:hover { color: var(--gold-light); }
.top-bar-social { display: flex; align-items: center; gap: 14px; }
.top-bar-social a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.top-bar-social a:hover { color: var(--gold-light); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10,22,40,0.08);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo img { height: 52px; width: auto; }
.logo-text h1 {
  font-family: 'Amiri', serif;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.1;
  font-weight: 700;
}
.logo-text span {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
  max-width: 480px;
  width: 100%;
}
.header-search:focus-within {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,164,74,0.1);
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 20px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  width: 46px;
  height: 46px;
  background: var(--gold);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 0 50px 50px 0;
  flex-shrink: 0;
}
.header-search button:hover { background: var(--gold-dark); }
.header-actions { display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 11px;
  font-family: 'Tajawal', sans-serif;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}
.header-action-btn:hover { background: var(--off-white); color: var(--gold); }
.header-action-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 4px;
  left: 8px;
  background: var(--gold);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   NAVBAR
   ============================================ */
.main-nav {
  background: var(--navy);
  position: relative;
  z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}
.nav-link svg { width: 14px; height: 14px; opacity: 0.7; }
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--border);
  z-index: 100;
  padding: 8px 0;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--off-white); color: var(--gold); padding-right: 26px; }
.nav-promo {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(201,164,74,0.4);
  border-radius: 20px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.slide {
  min-width: 100%;
  height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.slide:hover .slide-bg { transform: scale(1.03); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.6) 55%, rgba(10,22,40,0.15) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 640px;
  animation: slideIn 0.8s ease forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,164,74,0.15);
  border: 1px solid rgba(201,164,74,0.5);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.slide-title {
  font-family: 'Amiri', serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.slide-title em { color: var(--gold-light); font-style: normal; }
.slide-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
}
.slide-actions { display: flex; gap: 14px; align-items: center; }
.btn-slide-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(201,164,74,0.4);
  border: none;
}
.btn-slide-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,164,74,0.5);
}
.btn-slide-secondary {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-slide-secondary:hover { color: var(--gold-light); }
.slide-deco {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow {
  pointer-events: all;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }
.slider-counter {
  position: absolute;
  bottom: 24px;
  left: 40px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  z-index: 10;
}
.slider-counter span { color: var(--gold-light); font-weight: 700; }

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
  background: var(--navy-2);
  padding: 0;
  border-bottom: 1px solid rgba(201,164,74,0.15);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: vertical;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.feature-item:last-child { border-left: none; }
.feature-item:hover { background: rgba(201,164,74,0.05); }
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(201,164,74,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-text strong {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-text span { color: rgba(255,255,255,0.5); font-size: 12px; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 70px 0; }
.section-alt { background: var(--off-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-title-wrap { }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
}
.section-title {
  font-family: 'Amiri', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.section-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.section-link:hover { border-bottom-color: var(--gold); gap: 10px; }

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf7, white);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(201,164,74,0.15);
}
.cat-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.category-card:hover .cat-icon-wrap { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.cat-img-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
}
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.category-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ============================================
   PRODUCT TABS
   ============================================ */
.tabs-header {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--off-white);
  border-radius: 50px;
  padding: 4px;
}
.tab-pill {
  padding: 9px 22px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.tab-pill.active { background: white; color: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,22,40,0.12);
  border-color: rgba(201,164,74,0.3);
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f5ef, #ede8df);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

/* Placeholder when no image */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.product-img-placeholder .ph-icon { font-size: 52px; opacity: 0.6; }
.product-img-placeholder .ph-name { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }

.badge {
  position: absolute;
  top: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.badge-sale { right: 12px; background: var(--danger); color: white; }
.badge-new { right: 12px; background: var(--navy); color: var(--gold-light); }
.badge-best { right: 12px; background: var(--gold); color: white; }
.badge-2 { right: 64px; }

.card-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(10,22,40,0.85) 0%, transparent 100%);
  padding: 40px 16px 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.product-card:hover .card-actions-overlay { opacity: 1; transform: translateY(0); }
.card-action-btn {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  border: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-cart { background: var(--gold); color: white; }
.btn-cart:hover { background: var(--gold-dark); }
.btn-wish { background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); color: white; width: 38px; flex: none; }
.btn-wish:hover { background: rgba(231,76,60,0.8); }
.btn-wish.active { background: rgba(231,76,60,0.8); }

.product-card-body { padding: 16px; }
.product-brand-tag {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--gold); }
.product-short-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.price-group { display: flex; align-items: baseline; gap: 8px; }
.price-main { font-size: 18px; font-weight: 800; color: var(--navy); }
.price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-discount {
  font-size: 12px;
  color: var(--danger);
  font-weight: 600;
  background: rgba(231,76,60,0.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.rating-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.rating-mini .stars { color: #f39c12; font-size: 11px; }

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-section {
  padding: 0 0 70px;
}
.promo-banner-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #1a3a6e 100%);
  border-radius: 20px;
  padding: 60px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.promo-banner-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,164,74,0.12) 0%, transparent 70%);
  left: -100px;
  top: -100px;
  border-radius: 50%;
}
.promo-banner-inner::after {
  content: '🌸';
  position: absolute;
  font-size: 200px;
  opacity: 0.04;
  left: 40px;
  bottom: -40px;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,164,74,0.15);
  border: 1px solid rgba(201,164,74,0.4);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.promo-title {
  font-family: 'Amiri', serif;
  font-size: 36px;
  color: white;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.promo-title em { color: var(--gold-light); font-style: normal; }
.promo-desc { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.7; max-width: 480px; }
.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(201,164,74,0.35);
  flex-shrink: 0;
}
.promo-btn:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: white; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,164,74,0.3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: white; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-3); }
.btn-block { display: flex; width: 100%; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
  background: var(--off-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span:last-child { color: var(--navy); font-weight: 600; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img { height: 44px; width: auto; filter: brightness(10); }
.footer-logo-text h2 {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: white;
  font-weight: 700;
}
.footer-logo-text span { font-size: 12px; color: var(--gold); }
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '←'; font-size: 10px; color: var(--gold); opacity: 0; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-right: 4px; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item span:first-child { font-size: 16px; }
.footer-newsletter {}
.newsletter-form { display: flex; gap: 0; margin-top: 14px; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 12px 16px;
  color: white;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form button {
  background: var(--gold);
  border: none;
  color: white;
  padding: 12px 18px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-payment { display: flex; align-items: center; gap: 10px; }
.payment-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 9998;
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.6); }
}

/* Toast */
.toast-container { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(201,164,74,0.3);
  box-shadow: 0 4px 24px rgba(10,22,40,0.25);
  animation: toastIn 0.3s ease forwards;
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.toast.success { border-color: rgba(39,174,96,0.4); }
.toast.error { border-color: rgba(231,76,60,0.4); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.5);
  backdrop-filter: blur(3px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 100vh;
  background: white;
  z-index: 9991;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 32px rgba(10,22,40,0.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition);
}
.cart-drawer-close:hover { background: var(--border); color: var(--navy); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}
.cart-total-row strong { font-size: 20px; color: var(--gold); font-weight: 800; }

/* Cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--off-white); }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 14px; color: var(--gold); font-weight: 700; }
.cart-item-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; transition: var(--transition); font-size: 16px; }
.cart-item-remove:hover { color: var(--danger); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,74,0.1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full-width { grid-column: 1 / -1; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }

/* ============================================
   ALERTS
   ============================================ */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ============================================
   PAGE TITLE
   ============================================ */
.page-title { font-family: 'Amiri', serif; font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 28px; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--gold); border-color: var(--gold); color: white; }

/* ============================================
   STATUS BADGES
   ============================================ */
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cfe2ff; color: #084298; }
.status-shipped { background: #e2d9f3; color: #432874; }
.status-delivered { background: #d1e7dd; color: #0f5132; }
.status-cancelled { background: #f8d7da; color: #842029; }
.status-active { background: #d1e7dd; color: #0f5132; }
.status-inactive { background: #f8d7da; color: #842029; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page-section { padding: 48px 0; }
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.products-sidebar {}
.sidebar-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.sidebar-list a:hover, .sidebar-list a.active { background: var(--off-white); color: var(--navy); font-weight: 600; }
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.products-toolbar p { font-size: 14px; color: var(--text-muted); }
.products-toolbar select { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-family: 'Tajawal', sans-serif; font-size: 14px; outline: none; background: white; }

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-section { padding: 48px 0 80px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 70px; }
.gallery-main { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--off-white); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; cursor: pointer; border: 2px solid var(--border); transition: var(--transition); }
.thumb-img.active, .thumb-img:hover { border-color: var(--gold); }
.product-brand { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.product-title { font-family: 'Amiri', serif; font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.stars .star { color: #ddd; font-size: 16px; }
.stars .star.filled { color: #f39c12; }
.rating-count { font-size: 13px; color: var(--text-muted); }
.product-price-box { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.price-current { font-size: 36px; font-weight: 800; color: var(--gold); }
.price-old { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.price-save { background: rgba(231,76,60,0.08); color: var(--danger); padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.product-short-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 22px; font-size: 15px; }
.product-variants { margin-bottom: 22px; }
.variant-label { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn { padding: 8px 18px; border: 2px solid var(--border); border-radius: 8px; background: white; cursor: pointer; font-family: 'Tajawal', sans-serif; font-size: 14px; transition: var(--transition); }
.variant-btn.active, .variant-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,164,74,0.05); }
.product-stock { margin-bottom: 22px; font-size: 14px; }
.in-stock { color: var(--success); font-weight: 600; }
.low-stock { color: #f39c12; font-weight: 600; }
.out-stock { color: var(--danger); font-weight: 600; }
.product-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.quantity-selector { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.quantity-selector button { width: 42px; height: 46px; background: var(--off-white); border: none; cursor: pointer; font-size: 18px; transition: var(--transition); }
.quantity-selector button:hover { background: var(--gold); color: white; }
.quantity-selector input { width: 52px; height: 46px; border: none; text-align: center; font-size: 15px; font-family: 'Tajawal', sans-serif; outline: none; }
.btn-add-cart { flex: 1; height: 50px; background: var(--navy); color: white; border: none; border-radius: 50px; font-size: 15px; font-weight: 700; font-family: 'Tajawal', sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); }
.btn-add-cart:hover { background: var(--gold); }
.btn-add-cart:disabled { background: #ccc; cursor: not-allowed; }
.btn-wishlist { width: 50px; height: 50px; border: 1.5px solid var(--border); border-radius: 50%; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--text-muted); }
.btn-wishlist.active, .btn-wishlist:hover { border-color: var(--danger); color: var(--danger); background: rgba(231,76,60,0.04); }
.btn-whatsapp-order { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: #25d366; color: white; border-radius: 50px; font-weight: 700; font-size: 15px; margin-bottom: 22px; transition: var(--transition); }
.btn-whatsapp-order:hover { background: #128c7e; }
.product-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.feat-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.product-share { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.product-share a { color: var(--gold); font-weight: 600; }

/* Product Tabs */
.product-tabs-section { margin-top: 60px; }
.tabs-nav-line { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.tab-btn { padding: 14px 24px; background: none; border: none; font-size: 15px; font-family: 'Tajawal', sans-serif; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); font-weight: 600; }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.description-content { line-height: 2; color: var(--text); font-size: 15px; }
.reviews-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.review-item { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.reviewer-name { font-weight: 700; color: var(--navy); }
.review-stars .star { font-size: 13px; color: #ddd; }
.review-stars .star.filled { color: #f39c12; }
.review-date { color: var(--text-muted); font-size: 12px; margin-right: auto; }
.review-text { color: var(--text-muted); line-height: 1.7; }
.add-review-form { padding: 24px; background: var(--off-white); border-radius: var(--radius); }
.star-select { font-size: 30px; margin-bottom: 14px; cursor: pointer; }
.star-pick { color: #ddd; transition: var(--transition); }
.star-pick.filled { color: #f39c12; }
.add-review-form textarea { width: 100%; padding: 12px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Tajawal', sans-serif; resize: vertical; margin-bottom: 14px; font-size: 14px; outline: none; }
.add-review-form textarea:focus { border-color: var(--gold); }
.no-reviews { color: var(--text-muted); padding: 20px 0; }
.review-login a { color: var(--gold); }
.related-products { margin-top: 70px; }

/* ============================================
   CART PAGE
   ============================================ */
.cart-page-section { padding: 48px 0 80px; }
.cart-page-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
.cart-items-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item-row { display: flex; align-items: center; gap: 18px; padding: 18px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.cart-item-row:hover { border-color: rgba(201,164,74,0.3); }
.cart-item-row img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--off-white); }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cart-item-info h4 a { color: var(--navy); }
.cart-item-variant-tag { font-size: 12px; color: var(--text-muted); background: var(--off-white); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.cart-item-price-tag { color: var(--gold); font-weight: 700; font-size: 15px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-ctrl button { width: 34px; height: 34px; border: none; background: var(--off-white); cursor: pointer; font-size: 16px; transition: var(--transition); }
.qty-ctrl button:hover { background: var(--gold); color: white; }
.qty-ctrl span { width: 36px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item-total { font-weight: 800; font-size: 16px; color: var(--navy); }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; transition: var(--transition); }
.cart-remove:hover { color: var(--danger); }
.cart-summary-sticky { position: sticky; top: 100px; }
.cart-summary-box { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.cart-summary-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary-line.total { font-weight: 800; font-size: 17px; color: var(--navy); border-bottom: none; padding-top: 14px; }
.summary-line.total span:last-child { color: var(--gold); font-size: 20px; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Tajawal', sans-serif; font-size: 14px; outline: none; }
.coupon-row input:focus { border-color: var(--gold); }
.coupon-row button { padding: 10px 16px; background: var(--navy); color: white; border: none; border-radius: 8px; font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.coupon-row button:hover { background: var(--gold); }
.coupon-msg { font-size: 13px; margin-top: 6px; }
.text-success { color: var(--success); }
.text-error { color: var(--danger); }
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart svg { display: block; margin: 0 auto 20px; }
.empty-cart h2 { font-size: 22px; margin-bottom: 10px; }
.empty-cart p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-section { padding: 48px 0 80px; }
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step.active { color: var(--gold); }
.step.active .step-num { border-color: var(--gold); background: var(--gold); color: white; }
.step-line { flex: 1; max-width: 80px; height: 2px; background: var(--border); margin: 0 14px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
.checkout-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.checkout-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.addr-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px solid var(--border); border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: var(--transition); }
.addr-option:has(input:checked) { border-color: var(--gold); background: rgba(201,164,74,0.03); }
.addr-option strong { display: block; font-size: 14px; }
.addr-option span { display: block; font-size: 13px; color: var(--text-muted); }
.shipping-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--border); border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: var(--transition); }
.shipping-option:has(input:checked) { border-color: var(--gold); }
.shipping-option-info { flex: 1; }
.shipping-option-info strong { display: block; font-size: 14px; }
.shipping-option-info span { font-size: 12px; color: var(--text-muted); }
.shipping-option-price { font-weight: 700; color: var(--gold); font-size: 15px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--border); border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: var(--transition); }
.payment-option:has(input:checked) { border-color: var(--gold); }
.checkout-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.checkout-item-row img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--off-white); }
.checkout-item-row > div { flex: 1; font-size: 13px; }
.checkout-item-row > div small { display: block; color: var(--text-muted); }

/* ============================================
   AUTH
   ============================================ */
.auth-section { padding: 70px 0; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 920px; margin: 0 auto; align-items: start; }
.auth-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.auth-card h2 { font-family: 'Amiri', serif; font-size: 28px; margin-bottom: 6px; color: var(--navy); }
.auth-subtitle { color: var(--text-muted); margin-bottom: 28px; }
.password-input { position: relative; }
.password-input input { padding-left: 44px; }
.password-input button { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text-muted); }
.auth-divider { text-align: center; color: var(--text-muted); margin: 20px 0; font-size: 13px; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border); }
.auth-divider::before { right: 0; }
.auth-divider::after { left: 0; }
.form-row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.forgot-link { color: var(--gold); font-size: 13px; }
.auth-info { padding-top: 20px; }
.auth-info h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.auth-info ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.auth-info li { font-size: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.auth-info li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ============================================
   ACCOUNT
   ============================================ */
.account-section { padding: 48px 0 80px; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.account-sidebar { background: var(--navy); border-radius: 16px; padding: 24px; height: fit-content; position: sticky; top: 90px; }
.avatar-circle { width: 68px; height: 68px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: white; margin: 0 auto 12px; }
.account-avatar { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.account-avatar h3 { font-size: 16px; color: white; }
.account-avatar p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); margin-bottom: 3px; }
.account-nav a:hover, .account-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.account-nav a.logout-link { color: rgba(255,100,100,0.7); margin-top: 16px; }
.account-main h2 { font-family: 'Amiri', serif; font-size: 26px; color: var(--navy); margin-bottom: 24px; }
.account-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
.acc-stat { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; }
.acc-stat .num { display: block; font-size: 22px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.acc-stat .lbl { font-size: 13px; color: var(--text-muted); }
.account-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.account-card .card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.account-card .card-head h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.account-card .card-head a { color: var(--gold); font-size: 13px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders-table th, .orders-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--border); }
.orders-table th { background: var(--off-white); font-weight: 700; color: var(--navy); }
.empty-state { text-align: center; padding: 50px; }
.empty-state p { color: var(--text-muted); margin-bottom: 18px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; border: 1px solid var(--border); background: white; cursor: pointer; text-decoration: none; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; transition: var(--transition); }
.btn-sm:hover { background: var(--gold); color: white; border-color: var(--gold); }

/* ============================================
   ORDER SUCCESS
   ============================================ */
.order-success-section { padding: 80px 0; }
.success-card { max-width: 560px; margin: 0 auto; text-align: center; background: white; border-radius: 20px; padding: 60px 40px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.success-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 24px; }
.success-card h1 { font-family: 'Amiri', serif; font-size: 28px; margin-bottom: 8px; color: var(--navy); }
.order-num { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.order-num strong { color: var(--gold); }
.order-details-box { background: var(--off-white); border-radius: 10px; padding: 18px; margin: 20px 0; text-align: right; }
.od-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.od-row:last-child { border-bottom: none; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.btn-whatsapp { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: #25d366; color: white; border-radius: 50px; font-weight: 700; font-size: 14px; transition: var(--transition); }
.btn-whatsapp:hover { background: #128c7e; }

/* ============================================
   SEARCH
   ============================================ */
.search-section { padding: 48px 0 80px; }
.search-form-large { display: flex; gap: 0; max-width: 600px; margin: 0 auto 40px; border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; transition: var(--transition); }
.search-form-large:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,74,0.1); }
.search-form-large input { flex: 1; padding: 14px 24px; border: none; font-size: 15px; font-family: 'Tajawal', sans-serif; outline: none; }
.search-form-large button { padding: 14px 28px; background: var(--gold); color: white; border: none; cursor: pointer; font-size: 16px; transition: var(--transition); }
.search-form-large button:hover { background: var(--gold-dark); }
.search-results-info { margin-bottom: 28px; color: var(--text-muted); font-size: 15px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 18px; border: 1.5px solid var(--border); border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.tag:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { padding: 60px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.contact-info-item:hover { border-color: var(--gold); }
.ci-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ci-text h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ci-text p { font-size: 13px; color: var(--text-muted); }
.ci-text a { color: var(--gold); }
.contact-form-box { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 32px; }

/* ============================================
   STATIC PAGE
   ============================================ */
.static-page-section { padding: 60px 0 80px; }
.static-page-content { max-width: 800px; margin: 0 auto; }
.static-page-content h1 { font-family: 'Amiri', serif; font-size: 36px; margin-bottom: 32px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 16px; }
.page-body { line-height: 2; font-size: 15px; color: var(--text); }
.page-body h2, .page-body h3 { margin: 28px 0 12px; color: var(--navy); font-family: 'Amiri', serif; }
.page-body p { margin-bottom: 16px; }
.page-body ul { padding-right: 24px; margin-bottom: 16px; }
.page-body li { margin-bottom: 8px; }

/* ============================================
   WISHLIST
   ============================================ */
.wishlist-section { padding: 48px 0 80px; }

/* ============================================
   ADMIN EXTRA CSS
   ============================================ */
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.admin-page-header h1 { font-size: 22px; font-weight: 700; }
.back-link { display: block; color: #888; text-decoration: none; font-size: 13px; margin-bottom: 4px; }
.total-count { background: var(--gold, #c9a44a); color: white; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.filter-bar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { padding: 10px 14px; border: 1px solid #dee2e6; border-radius: 8px; font-family: inherit; font-size: 14px; }
.filter-bar input { flex: 1; min-width: 200px; }
.status-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.stab-content { display: none; }
.stab-content.active { display: block; }
.settings-tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.stab { padding: 10px 18px; border: 1px solid #dee2e6; border-radius: 8px; background: #fff; cursor: pointer; font-family: inherit; font-size: 14px; }
.stab.active { background: #c9a44a; color: white; border-color: #c9a44a; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.modal-content { background: white; border-radius: 12px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid #eee; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: #888; }
.modal-content form { padding: 24px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.toggle-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.image-upload-area { border: 2px dashed #dee2e6; border-radius: 12px; padding: 28px; text-align: center; cursor: pointer; margin-bottom: 12px; }
.image-upload-area input { display: none; }
.image-upload-area label { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #888; }
.current-images, .image-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.current-img-item, .preview-img { position: relative; }
.current-img-item img, .preview-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.remove-img-btn { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; background: #e74c3c; color: white; border: none; border-radius: 50%; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; margin-bottom: 10px; align-items: center; }
.variant-row input { padding: 8px 12px; border: 1px solid #dee2e6; border-radius: 6px; font-family: inherit; }
.remove-variant-btn { width: 32px; height: 32px; border-radius: 50%; background: #fee; color: #e74c3c; border: 1px solid #e74c3c; cursor: pointer; }
.product-form-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.product-cell { display: flex; align-items: center; gap: 10px; }
.product-cell img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.status-select { padding: 6px 10px; border-radius: 6px; border: 1px solid; font-family: inherit; font-size: 13px; background: white; cursor: pointer; }
.summary-rows {}
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 17px; border-bottom: none; padding-top: 12px; }
.input-row { display: flex; gap: 10px; }
.input-row input { flex: 1; }
.help-text { font-size: 13px; color: #888; margin-bottom: 14px; }
.help-text a { color: #c9a44a; }
.payment-info { margin-top: 14px; border-top: 1px solid #f0f0f0; padding-top: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .product-detail-grid, .cart-page-grid, .checkout-grid,
  .auth-grid, .account-grid, .contact-grid,
  .product-form-grid, .order-detail-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-sidebar { position: static; }
  .cart-summary-sticky { position: static; }
  .slide { height: 460px; }
  .slide-title { font-size: 38px; }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .slide { height: 360px; }
  .slide-title { font-size: 28px; }
  .slide-content { padding: 0 30px; }
  .promo-banner-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .promo-title { font-size: 26px; }
  .top-bar-links, .top-bar-social { display: none; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .category-card { padding: 12px 6px; }
  .cat-icon-wrap { width: 44px; height: 44px; font-size: 18px; }
  .category-card h3 { font-size: 11px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .slide { height: 300px; }
  .slide-title { font-size: 22px; }
  .btn-slide-primary { padding: 11px 22px; font-size: 13px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-info { display: none; }
  .account-stats { grid-template-columns: 1fr; }
}
