/* ===================================================
   BÖRNER MOROCCO - PREMIUM FRONTEND CSS
   Author: Antigravity AI
   Version: 1.0.0
=================================================== */

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

/* ---------- CSS Variables ---------- */
:root {
  --primary: #C0392B;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;
  --secondary: #111827;
  --dark: #0F172A;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --gold: #D4AF37;
  --success: #10b981;
  --warning: #f59e0b;
  --font-main: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.7;
}

html[lang="ar"] body,
body.rtl-body {
  font-family: var(--font-ar);
  direction: rtl;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar a {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.topbar a:hover { color: var(--primary-light); }
.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
}
.topbar-social a:hover { background: var(--primary); color: #fff; }

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.lang-switcher a {
  color: #94a3b8 !important;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--primary);
  color: #fff !important;
}
.lang-switcher span { color: #475569; font-size: 10px; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1000;
}
.main-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.14);
}
.navbar-logo {
  max-height: 52px;
  width: auto;
}
.navbar-logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.navbar-logo-text span { color: var(--primary); }

.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; }

/* Search */
.search-input-wrapper { position: relative; }
.search-input {
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 8px 40px 8px 18px;
  font-size: 13px;
  width: 220px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-main);
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.search-btn:hover { color: var(--primary); }

/* Cart Icon */
.cart-icon, .cart-icon-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text);
  font-size: 20px;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  border: 2px solid var(--border);
}
.cart-icon:hover, .cart-icon-mobile:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
  animation: bounceIn 0.4s ease;
}
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ---------- Flash Toast ---------- */
.alert-toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
}
.alert-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.alert-toast-success { background: #10b981; color: #fff; }
.alert-toast-error { background: var(--primary); color: #fff; }
.rtl-body .alert-toast {
  right: auto;
  left: 24px;
  transform: translateX(-120%);
}
.rtl-body .alert-toast.show { transform: translateX(0); }

/* ---------- Hero Slider ---------- */
.hero-swiper { width: 100%; height: 620px; }
@media (max-width: 768px) { .hero-swiper { height: 420px; } }
@media (max-width: 480px) { .hero-swiper { height: 320px; } }

.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.swiper-slide-active .hero-slide-img { transform: scale(1.06); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease 0.2s both;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease 0.5s both;
  box-shadow: 0 8px 30px rgba(192,57,43,0.4);
}
.hero-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(192,57,43,0.5);
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255,255,255,0.95) !important;
  border-radius: 50% !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  transition: var(--transition) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 16px !important; font-weight: 800 !important; }
.swiper-button-next:hover,
.swiper-button-prev:hover { background: var(--primary) !important; color: #fff !important; transform: scale(1.1); }
.swiper-pagination-bullet { background: rgba(255,255,255,0.6) !important; width: 10px !important; height: 10px !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; width: 30px !important; border-radius: 5px !important; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(192,57,43,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 0 auto 12px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Product Cards ---------- */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(192,57,43,0.2);
}
.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-light);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.08); }
.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rtl-body .product-card-badges { left: auto; right: 12px; }
.badge-new { background: var(--success); color: #fff; }
.badge-sale { background: var(--primary); color: #fff; }
.badge-bestseller { background: var(--gold); color: var(--dark); }
.badge-out { background: #475569; color: #fff; }
.product-card-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-quick {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(15,23,42,0.9);
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  transition: var(--transition);
}
.product-card:hover .product-card-quick { bottom: 0; }
.quick-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  cursor: pointer;
}
.quick-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.product-card-name a:hover { color: var(--primary); }
.product-card-colors {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
}
.color-dot:hover { transform: scale(1.3); border-color: var(--primary); }
.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-badge {
  background: rgba(192,57,43,0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.product-card-stock {
  font-size: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.stock-in { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--text-muted); }
.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
}
.btn-add-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}
.btn-add-cart:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- Category Cards ---------- */
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  height: 220px;
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.1); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  text-align: center;
}
.category-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
}
.category-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.category-card-count {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

/* ---------- Why Börner Section ---------- */
.why-borner { background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%); }
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(192,57,43,0.4);
}
.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(192,57,43,0.35);
}
.why-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ---------- Promo Banner ---------- */
.promo-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #7f1010 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.promo-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.promo-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 30px; }
.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.promo-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); color: var(--primary); }

/* ---------- Review Cards ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-style: italic; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.review-avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.review-city { font-size: 12px; color: var(--text-muted); }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.08); }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-title a { color: inherit; text-decoration: none; transition: var(--transition); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.blog-read-more { color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.blog-read-more:hover { gap: 10px; }

/* ---------- Journey Timeline ---------- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), rgba(192,57,43,0.1));
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline::before { left: 30px; transform: none; }
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}
@media (max-width: 768px) {
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 70px;
    padding-right: 0;
  }
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 1;
}
@media (max-width: 768px) { .timeline-dot { left: 22px; transform: none; } }
.timeline-year {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(-28px);
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 768px) { .timeline-year { left: 0; transform: none; } }
.timeline-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 420px;
  width: 100%;
  transition: var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.timeline-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Checkout & Cart ---------- */
.cart-table th {
  background: var(--bg-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  padding: 14px 16px;
}
.cart-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.cart-product-img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.cart-product-name { font-weight: 600; color: var(--dark); font-size: 14px; }
.cart-product-color { font-size: 12px; color: var(--text-muted); }
.qty-input {
  width: 70px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-weight: 600;
  font-family: var(--font-main);
}
.order-summary-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.order-summary-header {
  background: var(--dark);
  color: #fff;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
}
.order-summary-body { padding: 24px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.checkout-form label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.checkout-form .form-control,
.checkout-form .form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
  font-family: var(--font-main);
}
.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.btn-place-order {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  letter-spacing: 0.3px;
}
.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(192,57,43,0.4);
}

/* ---------- Product Detail ---------- */
.product-detail-gallery .swiper { border-radius: var(--radius); overflow: hidden; }
.product-detail-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.product-detail-thumb img:hover, .product-detail-thumb img.active { border-color: var(--primary); }
.product-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.product-price-block { margin-bottom: 20px; }
.product-price { font-size: 2rem; font-weight: 900; color: var(--primary); }
.product-price-original { font-size: 1.2rem; color: var(--text-muted); text-decoration: line-through; margin-left: 10px; }
.product-discount-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 10px;
}
.color-selector { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.color-option.selected .color-swatch,
.color-option:hover .color-swatch { border-color: var(--primary); transform: scale(1.15); }
.color-label { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.qty-selector { display: flex; align-items: center; gap: 0; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-display {
  width: 60px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  padding: 8px;
  outline: none;
  font-family: var(--font-main);
}

/* ---------- Order Tracking ---------- */
.tracking-steps { position: relative; }
.tracking-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}
.tracking-step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}
.tracking-step:last-child::before { display: none; }
.tracking-step.done::before { background: var(--primary); }
.tracking-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid var(--border);
  background: var(--bg-light);
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 1;
}
.tracking-step.done .tracking-step-icon { background: var(--primary); border-color: var(--primary); color: #fff; }
.tracking-step.current .tracking-step-icon { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(192,57,43,0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(192,57,43,0.2); } 50% { box-shadow: 0 0 0 8px rgba(192,57,43,0.1); } }
.tracking-step-label { font-size: 14px; font-weight: 600; color: var(--text-muted); padding-top: 10px; }
.tracking-step.done .tracking-step-label,
.tracking-step.current .tracking-step-label { color: var(--dark); }

/* ---------- Admin Login Card ---------- */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 430px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  font-weight: 700;
  border-radius: var(--radius-sm) !important;
  padding: 10px 24px;
  transition: var(--transition) !important;
}
.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.3) !important;
}
.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  font-weight: 700;
  border-radius: var(--radius-sm) !important;
  padding: 10px 24px;
  transition: var(--transition) !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---------- Sections Spacing ---------- */
section, .section { padding: 80px 0; }
@media (max-width: 768px) { section, .section { padding: 50px 0; } }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in-up { animation: fadeInUp 0.7s ease both; }
.fade-in { animation: fadeIn 0.6s ease both; }

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  z-index: 998;
  transition: var(--transition);
  animation: fadeIn 1s ease 2s both;
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; box-shadow: 0 10px 35px rgba(37,211,102,0.7); }
.rtl-body .whatsapp-float { right: auto; left: 24px; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 997;
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }
.rtl-body .back-to-top { right: auto; left: 24px; }

/* ---------- Breadcrumb ---------- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
  padding: 40px 0;
  color: #fff;
}
.page-header-title { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 8px; }
.breadcrumb { background: none; margin: 0; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb-item.active { color: var(--primary-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---------- Product Filters ---------- */
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.filter-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.filter-check .form-check-label { font-size: 14px; color: var(--text); }
.filter-check .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

/* ---------- Page / Policy Styles ---------- */
.page-content { font-size: 15px; line-height: 1.9; color: var(--text); }
.page-content h2, .page-content h3 { color: var(--dark); font-weight: 700; margin-top: 28px; }
.page-content p { margin-bottom: 16px; }

/* ---------- Certificates ---------- */
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-card img { max-height: 120px; object-fit: contain; margin-bottom: 16px; }
.cert-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.cert-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Order Success ---------- */
.order-success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--success), #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  margin: 0 auto 24px;
  animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* ---------- Lazy Load Images ---------- */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* ---------- Responsive Utilities ---------- */
@media (max-width: 991px) {
  .navbar-nav { padding: 16px 0; }
  .navbar-nav .nav-link { border-bottom: 1px solid var(--border); border-radius: 0; }
  .search-input { width: 100%; }
  .timeline::before { left: 30px; transform: none; }
}

/* ---------- Print Styles ---------- */
@media print {
  .topbar, .main-navbar, .main-footer, .whatsapp-float, .back-to-top { display: none !important; }
  body { font-size: 12px; }
  .container { max-width: 100%; padding: 0; }
}
