/* ============================================================
   1. المتغيرات العامة والتصميم العصري (Modern Neon-Warm Orange & Navy Palette)
   ============================================================ */
:root {
  /* ألوان الهوية المطلوبة */
  --primary-orange: #F15A24;         /* اللون الأساسي / الأزرار */
  --primary-orange-hover: #D94716;   /* تأثير الهوفر للأزرار */
  --primary-navy: #172B4D;           /* الهيدر والنافبار والتدرجات */
  --navy-dark: #0f1c33;              /* كحلي أعمق للتذييل والتباين */
  --navy-light: #223c68;             /* كحلي مضيء */
  --body-bg: #F5F6F8;                /* خلفية الموقع (أبيض مائل للرمادي) */
  --text-dark: #222222;              /* النصوص الأساسية */
  --text-muted: #667085;             /* نصوص ثانوية */
  --surface: #ffffff;                /* كروت وخلفيات بيضاء نقية */
  --border: #e4e7ec;                 /* خطوط التقسيم */
  --border-light: rgba(255, 255, 255, 0.12);

  /* ألوان وتوهجات مودرن */
  --orange-light: #ffedd5;
  --orange-glow: rgba(241, 90, 36, 0.35);
  --orange-glow-lg: 0 10px 30px rgba(241, 90, 36, 0.35);
  --navy-glow: 0 12px 36px rgba(23, 43, 77, 0.18);
  --card-shadow: 0 10px 25px -5px rgba(23, 43, 77, 0.07), 0 8px 10px -6px rgba(23, 43, 77, 0.04);
  --card-shadow-hover: 0 20px 35px -5px rgba(241, 90, 36, 0.18), 0 10px 15px -5px rgba(23, 43, 77, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --tr: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   2. الأساسيات وتنسيق الصفحة
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background-color: var(--body-bg);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: var(--tr);
}

::selection {
  background: var(--primary-orange);
  color: #fff;
}

/* شريط التمرير */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--body-bg);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid var(--body-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* فئات مساعدة */
.text-orange { color: var(--primary-orange) !important; }
.text-navy { color: var(--primary-navy) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-body-custom { background-color: var(--body-bg) !important; }
.bg-surface { background-color: var(--surface) !important; }

/* ============================================================
   3. الأزرار العصرية ذات التوهج والتأثيرات
   ============================================================ */
.btn-orange,
.btn-gold {
  background: linear-gradient(135deg, var(--primary-orange), #ff7033);
  border: none;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(241, 90, 36, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-orange:hover,
.btn-gold:hover {
  background: linear-gradient(135deg, var(--primary-orange-hover), var(--primary-orange));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(241, 90, 36, 0.45);
  color: #ffffff !important;
}

.btn-orange:active,
.btn-gold:active {
  transform: translateY(-1px);
}

.btn-navy-pill,
.btn-dark-pill {
  background: var(--primary-navy);
  border: 1px solid var(--primary-navy);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(23, 43, 77, 0.2);
}

.btn-navy-pill:hover,
.btn-dark-pill:hover {
  background: var(--navy-dark);
  border-color: var(--primary-orange);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 43, 77, 0.3);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-ghost-light:hover {
  background: #ffffff;
  color: var(--primary-navy) !important;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-orange {
  background: transparent;
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange) !important;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--orange-glow-lg);
}

/* ============================================================
   4. عناوين الأقسام (Section Headers)
   ============================================================ */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-orange);
  background: rgba(241, 90, 36, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.section-head h2 {
  font-weight: 900;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0;
  color: var(--primary-navy);
}

.section-head p {
  color: var(--text-muted);
  margin: 0.9rem auto 0;
  max-width: 580px;
  font-size: 1rem;
}

.section-head .divider {
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-orange), #ff9f76);
  margin: 1.1rem auto 0;
}

/* ============================================================
   5. الشريط العلوي (Topbar)
   ============================================================ */
.topbar {
  background: var(--navy-dark);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #cbd5e1;
}

.topbar a:hover {
  color: var(--primary-orange);
}

.topbar .sep {
  opacity: 0.3;
  margin: 0 0.75rem;
}

/* ============================================================
   6. شريط التنقل واللوجو (Modern White & Orange Navbar)
   ============================================================ */
.main-nav {
  background: rgba(255, 255, 255, 0.96); /* خلفية بيضاء نقية مودرن */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(241, 90, 36, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
  transition: all 0.35s ease;
  z-index: 1030;
}

.main-nav.scrolled {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--primary-orange);
  padding: 0.5rem 0;
}

/* اللوجو */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: var(--tr);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

.brand:hover .brand-logo-img {
  transform: scale(1.05) rotate(-1deg);
}

.brand-text {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary-orange); /* برتقالي */
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--primary-navy);
}

/* روابط القائمة باللون البرتقالي */
.nav-link-custom {
  position: relative;
  color: var(--primary-orange); /* الكلام برتقالي */
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
  transition: all 0.25s ease;
  display: inline-block;
  border-radius: var(--radius-sm);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0px;
  right: 0.95rem;
  left: 0.95rem;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-orange-hover);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 10px rgba(241, 90, 36, 0.5);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-orange-hover);
  background: rgba(241, 90, 36, 0.08);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* أيقونات شريط التنقل */
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 90, 36, 0.08);
  border: 1px solid rgba(241, 90, 36, 0.2);
  color: var(--primary-orange); /* برتقالي */
  font-size: 1.15rem;
  transition: var(--tr);
}

.icon-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(241, 90, 36, 0.35);
}

.icon-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.icon-badge.pulse {
  animation: badgePop 0.45s ease;
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* شريط البحث المنسدل */
.search-panel {
  background: #ffffff;
  border-bottom: 2px solid var(--primary-orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.search-panel .form-control {
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(241, 90, 36, 0.25);
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  background: var(--body-bg);
  color: var(--text-dark);
}

.search-panel .form-control::placeholder {
  color: var(--text-muted);
}

.search-panel .form-control:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.25);
  border-color: var(--primary-orange);
  color: var(--text-dark);
}

.search-panel .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-panel .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.35);
  border-color: var(--primary-orange);
  color: #ffffff;
}

/* ============================================================
   7. القسم الرئيسي السلايدر بأنيميشن سينمائي مبهر (Cinematic Zoom & Slide)
   ============================================================ */
.hero-swiper {
  height: clamp(560px, 88vh, 820px);
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* خلفية الصورة مع تأثير Ken Burns Zoom السينمائي */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.18);
  transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

/* التدرجات اللونية الفاخرة فوق الصورة */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to left,
    rgba(15, 28, 51, 0.94) 0%,
    rgba(23, 43, 77, 0.82) 42%,
    rgba(23, 43, 77, 0.45) 75%,
    rgba(23, 43, 77, 0.25) 100%
  ); */
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 1, 3, 0.3) 42%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(23, 43, 77, 0.2) 100%
  );
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  /* background: linear-gradient(to top, var(--body-bg), transparent); */
  pointer-events: none;
  z-index: 1;
}

/* نصوص وعناصر السلايدر وأنيميشن الظهور المتتابع */
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 660px;
}

.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-text,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.swiper-slide-active .hero-content .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.swiper-slide-active .hero-content .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.swiper-slide-active .hero-content .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.swiper-slide-active .hero-content .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(241, 90, 36, 0.22);
  border: 1.5px solid rgba(241, 90, 36, 0.6);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(241, 90, 36, 0.25);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title span {
  color: var(--primary-orange);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 25px rgba(241, 90, 36, 0.4);
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(241, 90, 36, 0.35);
  border-radius: 4px;
  z-index: -1;
}

.hero-text {
  font-size: 1.15rem;
  color: #f1f5f9;
  margin-bottom: 2.4rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* أسهم ومؤشرات السلايدر */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  box-shadow: 0 0 25px rgba(241, 90, 36, 0.65);
  transform: scale(1.12);
}

.hero-pagination {
  bottom: 25px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.45;
  transition: all 0.4s ease;
  margin: 0 6px !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 38px;
  border-radius: 8px;
  background: var(--primary-orange);
  opacity: 1;
  box-shadow: 0 0 16px rgba(241, 90, 36, 0.8);
}

/* ============================================================
   8. شريط المزايا (Features Bar)
   ============================================================ */
.feature-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: var(--tr);
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(241, 90, 36, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.12), rgba(241, 90, 36, 0.04));
  color: var(--primary-orange);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  transition: var(--tr);
  border: 1px solid rgba(241, 90, 36, 0.2);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-orange), #ff7033);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.35);
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: var(--primary-navy);
}

.feature-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   9. كروت التصنيفات (Category Cards)
   ============================================================ */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  cursor: pointer;
  height: 450px;
  background: var(--primary-navy);
  box-shadow: var(--card-shadow);
  transition: var(--tr);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 28, 51, 0.95) 15%, rgba(23, 43, 77, 0.4) 55%, transparent 100%);
  z-index: 1;
  transition: var(--tr);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(23, 43, 77, 0.22);
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card:hover::before {
  background: linear-gradient(to top, rgba(241, 90, 36, 0.85) 5%, rgba(15, 28, 51, 0.85) 60%, transparent 100%);
}

.cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem;
  z-index: 2;
  color: #ffffff;
  transition: var(--tr);
}

.cat-info h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 0.3rem;
  color: #ffffff;
}

.cat-info span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.cat-arrow {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-orange);
  background: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  transform: translateY(15px);
  opacity: 0;
  transition: var(--tr);
}

.cat-card:hover .cat-arrow {
  transform: translateY(0);
  opacity: 1;
}

/* زر «المزيد» يبقى ظاهرًا على شاشات اللمس */
@media (hover: none) {
  .cat-arrow {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================================
   10. أزرار تصفية المنتجات (Filter Pills)
   ============================================================ */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-btn:hover {
  background: var(--orange-light);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.filter-btn.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(241, 90, 36, 0.35);
}

/* ============================================================
   11. بطاقة المنتج الفاخرة (Modern Product Card)
   ============================================================ */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(241, 90, 36, 0.35);
}

.product-thumb {
  position: relative;
  overflow: hidden;
  padding-top: 110%; /* نسبة صورة ملائمة للأزياء */
  background: #f1f3f7;
}

.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

/* شارات المنتجات */
.badge-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 3;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.badge-tag.sale {
  background: #dc2626;
  color: #fff;
}

.badge-tag.new {
  background: var(--primary-orange);
  color: #fff;
}

.badge-tag.hot {
  background: #e11d48;
  color: #fff;
}

/* زر المفضلة */
.wish-btn {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: none;
  display: grid;
  place-items: center;
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--tr);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.wish-btn:hover {
  background: #ffffff;
  color: #dc2626;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.wish-btn.active {
  background: #fee2e2;
  color: #dc2626;
}

/* زر أضف للسلة العائم */
.product-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  transform: translateY(115%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-actions {
  transform: translateY(0);
}

.btn-add {
  width: 100%;
  background: var(--primary-navy);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--tr);
  box-shadow: 0 6px 20px rgba(23, 43, 77, 0.35);
}

.btn-add:hover {
  background: var(--primary-orange);
  box-shadow: 0 8px 24px rgba(241, 90, 36, 0.5);
  transform: scale(1.02);
}

/* جسم البطاقة */
.product-body {
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.product-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 0.5rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9em;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr);
}

.product-title a:hover {
  color: var(--primary-orange);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-inline-start: 0.3rem;
}

.product-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.product-price .price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-navy);
}

.product-price .old-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ============================================================
   12. بانر العرض الترويجي والعد التنازلي
   ============================================================ */
.promo-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--navy-glow);
  border: 1px solid rgba(241, 90, 36, 0.25);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.25), transparent 70%);
  pointer-events: none;
}

.promo-img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.countdown {
  display: flex;
  gap: 0.8rem;
}

.cd-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  min-width: 72px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.cd-box strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
}

.cd-box small {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
}

/* أسهم السلايدرات الثانوية */
.arr-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary-navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: var(--tr);
}

.arr-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(241, 90, 36, 0.35);
}

/* ============================================================
   13. بطاقات آراء العملاء
   ============================================================ */
.testi-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: var(--tr);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(241, 90, 36, 0.3);
}

.testi-card .quote {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-light);
  color: var(--primary-orange);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.testi-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testi-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-orange);
}

.testi-user h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  color: var(--primary-navy);
}

.testi-user small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

/* ============================================================
   14. النشرة البريدية (Newsletter)
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1c3660 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--navy-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter::after {
  content: '';
  position: absolute;
  inset-inline-end: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.35), transparent 70%);
  pointer-events: none;
}

.newsletter h3 {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 0;
}

.newsletter .form-control {
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}

.newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.4);
  border-color: var(--primary-orange);
  color: #ffffff;
}

/* ============================================================
   15. التذييل الفاخر (Footer - Deep Navy)
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 5rem 0 0;
  border-top: 3px solid var(--primary-orange);
}

.footer h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 42px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #94a3b8;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: #cbd5e1;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer ul li a:hover {
  color: var(--primary-orange);
  transform: translateX(-5px);
}

.footer .contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.95rem;
  color: #cbd5e1;
}

.footer .contact-line i {
  color: var(--primary-orange);
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--tr);
}

.social-links a:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(241, 90, 36, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.pay-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 1.6rem;
  color: #cbd5e1;
}

.pay-icons i:hover {
  color: var(--primary-orange);
}

/* ============================================================
   16. سلة التسوق (Cart Drawer)
   ============================================================ */
.offcanvas {
  --bs-offcanvas-width: 420px;
}

.offcanvas-header {
  background: var(--primary-navy);
  color: #ffffff;
}

.offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cart-item img.cart-thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 72px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--body-bg);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: var(--tr);
}

.qty-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

.cart-empty i {
  font-size: 3.5rem;
  color: #cbd5e1;
}

.cart-empty p {
  color: var(--text-muted);
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* قائمة الجوال */
.mobile-menu .nav-link-custom {
  color: var(--text-dark);
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.mobile-menu .nav-link-custom::after {
  display: none;
}

.mobile-menu .nav-link-custom:hover {
  color: var(--primary-orange);
  padding-inline-start: 0.5rem;
}

/* زر الصعود للأعلى */
.to-top {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1040;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--tr);
  box-shadow: 0 8px 24px rgba(241, 90, 36, 0.45);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--primary-navy);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(23, 43, 77, 0.4);
}

/* ============================================================
   17. التوافق والاستجابة
   ============================================================ */
@media (max-width: 991.98px) {
  .section {
    padding: 3.8rem 0;
  }
  .hero-swiper {
    height: 72vh;
    min-height: 490px;
  }
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-swiper {
    height: 80vh;
    min-height: 520px;
  }
  .hero-slide::before {
    background: linear-gradient(to top, rgba(15, 28, 51, 0.95) 20%, rgba(23, 43, 77, 0.7) 65%, rgba(23, 43, 77, 0.35) 100%);
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .cd-box {
    min-width: 62px;
  }
  .cd-box strong {
    font-size: 1.3rem;
  }
  .newsletter {
    padding: 2.5rem 1.4rem;
  }
  .offcanvas {
    --bs-offcanvas-width: 88vw;
  }
}

/* ============================================================
   عارض الصور (Lightbox) — عام لكل الصفحات
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 28, 51, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb-stage {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1080px;
}

.lb-figure {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.lb-figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.lb-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  color: #ffffff;
}

.lb-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.lb-counter {
  direction: ltr;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.lb-nav,
.lb-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--tr);
}

.lb-nav {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
}

.lb-close {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.lb-nav:hover,
.lb-close:hover {
  background: var(--primary-orange);
  color: #ffffff;
}

.lb-nav:focus-visible,
.lb-close:focus-visible {
  outline: 3px solid var(--primary-orange);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .lightbox {
    padding: 1rem;
  }
  .lb-stage {
    gap: 0.5rem;
  }
  .lb-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .lb-figure img {
    max-height: 62vh;
  }
  .lb-title {
    font-size: 0.92rem;
  }
}
