/* ============================================================================
   MUJEZA V3 — COMPLETE STORE REDESIGN
   معجزة الشفاء — تصميم المتجر الكامل الجديد
   ============================================================================
   Color System: Light theme inspired by logo (Red + Gold + White)
   Strategy: Trojan Horse — Health & Wellness Store
   Prefix: mj- (to avoid conflicts with Salla theme)
   ============================================================================ */

/* ---- FONTS ---- */
/* @import removed for performance — font loaded via <link preload> in HTML */

/* ============================================================================
   1. CSS VARIABLES
   ============================================================================ */
:root {
  /* Primary Colors (from logo) */
  --mj-red: #C62828;
  --mj-red-dark: #A31F1F;
  --mj-red-light: #EF5350;
  --mj-red-bg: #FEF2F2;

  /* Gold (from logo hexagons) */
  --mj-gold: #C4A835;
  --mj-gold-dark: #9A8429;
  --mj-gold-light: #E8D78A;
  --mj-gold-bg: #FBF8EC;

  /* Backgrounds */
  --mj-bg: #FFFFFF;
  --mj-bg-warm: #FBF9F4;
  --mj-bg-section: #F7F5F0;
  --mj-bg-card: #FFFFFF;

  /* Text */
  --mj-text: #2D2D2D;
  --mj-text-secondary: #6B7280;
  --mj-text-muted: #9CA3AF;
  --mj-text-on-dark: #F9FAFB;

  /* Borders & Shadows */
  --mj-border: #E8E5DE;
  --mj-border-light: #F0EDE8;
  --mj-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --mj-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --mj-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --mj-shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --mj-shadow-gold: 0 4px 16px rgba(196,168,53,0.2);
  --mj-shadow-red: 0 4px 16px rgba(198,40,40,0.2);

  /* Functional */
  --mj-success: #059669;
  --mj-success-bg: #ECFDF5;
  --mj-warning: #D97706;
  --mj-warning-bg: #FFFBEB;

  /* Typography */
  --mj-font: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif;
  --mj-fs-xs: 12px;
  --mj-fs-sm: 14px;
  --mj-fs-base: 16px;
  --mj-fs-lg: 18px;
  --mj-fs-xl: 20px;
  --mj-fs-2xl: 24px;
  --mj-fs-3xl: 28px;
  --mj-fs-4xl: 32px;
  --mj-fs-5xl: 40px;
  --mj-fs-6xl: 48px;

  /* Spacing */
  --mj-sp-xs: 4px;
  --mj-sp-sm: 8px;
  --mj-sp-md: 16px;
  --mj-sp-lg: 24px;
  --mj-sp-xl: 32px;
  --mj-sp-2xl: 48px;
  --mj-sp-3xl: 64px;

  /* Radius */
  --mj-radius-sm: 8px;
  --mj-radius-md: 12px;
  --mj-radius-lg: 16px;
  --mj-radius-xl: 20px;
  --mj-radius-full: 9999px;

  /* Transitions */
  --mj-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --mj-transition-fast: all 0.15s ease;
}

/* ============================================================================
   2. RESET & BASE
   ============================================================================ */
.mj-store,
.mj-store * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mj-store {
  font-family: var(--mj-font);
  color: var(--mj-text);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  background: var(--mj-bg);
  overflow-x: hidden;
  /* Break out of Salla container */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  position: relative;
}

.mj-store img {
  max-width: 100%;
  height: auto;
  display: block;
  content-visibility: auto;
}

.mj-store a {
  text-decoration: none;
  color: inherit;
  transition: var(--mj-transition);
}

/* --- PERFORMANCE: Content-visibility for offscreen sections --- */
.mj-cats-section,
.mj-bundles-section,
.mj-honey-section,
.mj-clearance-section,
.mj-stats-section,
.mj-more-products-section,
.mj-final-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.mj-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--mj-sp-md);
}

/* ============================================================================
   3. ANNOUNCEMENT BAR — Vertical Slide (نص واحد يتبدل عمودياً)
   ============================================================================ */
.mj-announce {
  background: #fbbf24 !important;
  color: #200808 !important;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  position: relative;
  z-index: 100;
  width: 100%;
  height: 34px;
  display: block;
  direction: rtl;
  text-align: center;
  font-family: var(--mj-font);
}

.mj-announce-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mj-announce-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 12px;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mj-announce-slide.mj-announce-active {
  opacity: 1;
  transform: translateY(0);
}

.mj-announce-slide.mj-announce-exit {
  opacity: 0;
  transform: translateY(-100%);
}

/* ============================================================================
   4. HERO SECTION (القسم الرئيسي)
   ============================================================================ */
.mj-hero {
  position: relative;
  overflow: hidden;
  /* Push hero image below the absolute-positioned header + announce bar */
  padding-top: 48px;
}

/* Hero — Image-only banner */
.mj-hero-banner-img {
  width: 100%;
  line-height: 0;
}

.mj-hero-banner-img .mj-hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1; /* Reserve space — prevents CLS */
  object-fit: contain;
}

/* ============================================================================
   5. BUTTONS
   ============================================================================ */
.mj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--mj-radius-md);
  font-family: var(--mj-font);
  font-size: var(--mj-fs-base);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--mj-transition);
  text-decoration: none;
  white-space: nowrap;
}

.mj-btn svg {
  width: 18px;
  height: 18px;
}

.mj-btn-primary {
  background: linear-gradient(135deg, var(--mj-red), var(--mj-red-dark));
  color: #FFFFFF;
  box-shadow: var(--mj-shadow-red);
}

.mj-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198,40,40,0.35);
}

.mj-btn-gold {
  background: linear-gradient(135deg, var(--mj-gold), var(--mj-gold-dark));
  color: #FFFFFF;
  box-shadow: var(--mj-shadow-gold);
}

.mj-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,168,53,0.35);
}

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

.mj-btn-outline:hover {
  background: var(--mj-red);
  color: #FFFFFF;
}

.mj-btn-sm {
  padding: 8px 24px;
  font-size: 13px;
  border-radius: 20px;
  border-width: 1.5px;
}

.mj-btn-white {
  background: #FFFFFF;
  color: var(--mj-red);
  border: 1px solid var(--mj-border);
  box-shadow: var(--mj-shadow-sm);
}

.mj-btn-white:hover {
  border-color: var(--mj-red);
  box-shadow: var(--mj-shadow-md);
}

.mj-btn-sm {
  padding: 10px 20px;
  font-size: var(--mj-fs-sm);
}

.mj-btn-lg {
  padding: 16px 36px;
  font-size: var(--mj-fs-lg);
}

/* ============================================================================
   6. TRUST BAR (شريط الثقة)
   ============================================================================ */
.mj-trust {
  background: var(--mj-bg);
  border-top: 1px solid var(--mj-border-light);
  border-bottom: 1px solid var(--mj-border-light);
  padding: var(--mj-sp-md) 0;
}

.mj-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mj-sp-md);
}

.mj-trust-item {
  display: flex;
  align-items: center;
  gap: var(--mj-sp-sm);
  padding: var(--mj-sp-sm);
}

.mj-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--mj-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mj-trust-icon--gold {
  background: var(--mj-gold-bg);
  color: var(--mj-gold-dark);
}

.mj-trust-icon--red {
  background: var(--mj-red-bg);
  color: var(--mj-red);
}

.mj-trust-icon--green {
  background: var(--mj-success-bg);
  color: var(--mj-success);
}

.mj-trust-icon svg {
  width: 22px;
  height: 22px;
}

/* Trust icon subtle animation */
.mj-trust-icon--animated {
  animation: mj-trust-bounce 3s ease-in-out infinite;
}
.mj-trust-item:nth-child(2) .mj-trust-icon--animated { animation-delay: 0.4s; }
.mj-trust-item:nth-child(3) .mj-trust-icon--animated { animation-delay: 0.8s; }
.mj-trust-item:nth-child(4) .mj-trust-icon--animated { animation-delay: 1.2s; }

@keyframes mj-trust-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mj-trust-text strong {
  display: block;
  font-size: var(--mj-fs-sm);
  font-weight: 700;
  color: var(--mj-text);
}

.mj-trust-text span {
  font-size: var(--mj-fs-xs);
  color: var(--mj-text-muted);
}

/* ============================================================================
   7. SECTION TITLES
   ============================================================================ */
.mj-section {
  padding: var(--mj-sp-lg) 0;
}

.mj-section--alt {
  background: var(--mj-bg-section);
}

.mj-section--warm {
  background: var(--mj-bg-warm);
}

.mj-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mj-red-bg);
  color: var(--mj-red);
  padding: 5px 14px;
  border-radius: var(--mj-radius-full);
  font-size: var(--mj-fs-xs);
  font-weight: 700;
  margin-bottom: var(--mj-sp-sm);
  letter-spacing: 0.5px;
}

/* ---- Interactive Section Title with Animated Bee ---- */
.mj-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--mj-text);
  margin-bottom: 4px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  position: relative;
  padding-bottom: 12px;
  width: 100%;
  text-align: center;
}

.mj-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--mj-gold), var(--mj-red));
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.mj-section-header:hover .mj-section-title::after {
  width: 90px;
}

.mj-title-bee {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  animation: mj-title-bee-hover 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(196,168,53,0.3));
  cursor: default;
}

.mj-title-bee svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes mj-title-bee-hover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-8deg); }
  50% { transform: translateY(-1px) rotate(5deg); }
  75% { transform: translateY(-6px) rotate(-3deg); }
}

.mj-section-subtitle {
  font-size: 13px;
  color: var(--mj-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.mj-section-header {
  text-align: center;
  margin-bottom: var(--mj-sp-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================================
   8. HEALTH CATEGORIES (الفئات الصحية)
   ============================================================================ */
.mj-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mj-sp-md);
}

.mj-cat-card {
  position: relative;
  border-radius: var(--mj-radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--mj-transition);
  box-shadow: var(--mj-shadow-sm);
}

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

.mj-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--mj-transition);
}

.mj-cat-card:hover img {
  transform: scale(1.05);
}

.mj-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--mj-sp-md);
}

.mj-cat-card-title {
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: -6px;
  font-size: 14px;
  align-self: center;
}

.mj-cat-card-count {
  color: rgba(255,255,255,0.8);
  font-size: var(--mj-fs-xs);
  align-self: center;
}

.mj-cat-card-arrow {
  position: absolute;
  top: var(--mj-sp-sm);
  left: var(--mj-sp-sm);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--mj-transition);
}

.mj-cat-card:hover .mj-cat-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mj-cat-card-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--mj-red);
}

/* ============================================================================
   8B. HONEY TYPES SLIDER (تسوق حسب نوع العسل)
   ============================================================================ */
/* --- Background: Gold-to-Crimson gradient from logo --- */
.mj-honey-section {
  background: linear-gradient(180deg, #FBF8EC 0%, #F5EFD8 50%, #FBF8EC 100%);
  padding: var(--mj-sp-2xl) 0 var(--mj-sp-xl);
  position: relative;
  overflow: hidden;
}
.mj-honey-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mj-gold-light), var(--mj-gold), var(--mj-gold-light), transparent);
}
.mj-honey-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mj-gold-light), var(--mj-gold), var(--mj-gold-light), transparent);
}

/* Decorative hexagons */
.mj-honey-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.mj-honey-deco--1 {
  top: 8px;
  left: 5%;
  animation: mj-float-deco 6s ease-in-out infinite;
}

.mj-honey-deco--2 {
  bottom: 12px;
  right: 6%;
  animation: mj-float-deco 8s ease-in-out infinite 2s;
}

.mj-honey-deco--3 {
  top: 40%;
  right: 2%;
  animation: mj-float-deco 10s ease-in-out infinite 1s;
}

.mj-honey-deco--4 {
  bottom: 25%;
  left: 3%;
  animation: mj-float-deco 7s ease-in-out infinite 3s;
}

@keyframes mj-float-deco {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section header */
.mj-honey-section-header {
  text-align: center;
  margin-bottom: var(--mj-sp-lg);
  position: relative;
  z-index: 1;
}

.mj-honey-bee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  animation: mj-bee-wobble 3s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

@keyframes mj-bee-wobble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(3deg); }
  75% { transform: translateY(2px) rotate(-3deg); }
}

.mj-honey-section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--mj-text);
  margin-bottom: 6px;
}

.mj-honey-section-subtitle {
  font-size: 14px;
  color: var(--mj-text-secondary);
  font-weight: 500;
}

/* Slider container */
.mj-honey-slider-wrap {
  position: relative;
  z-index: 1;
}

.mj-honey-slider {
  display: flex;
  gap: var(--mj-sp-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--mj-sp-md) var(--mj-sp-md);
  margin: 0 calc(-1 * var(--mj-sp-md));
}

.mj-honey-slider::-webkit-scrollbar {
  display: none;
}

/* Individual slide */
.mj-honey-slide {
  flex: 0 0 155px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--mj-transition);
}

.mj-honey-slide:hover {
  transform: translateY(-6px);
}

.mj-honey-slide-img {
  width: 160px;
  height: 160px;
  border-radius: 10%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
}

.mj-honey-slide:hover .mj-honey-slide-img {
  box-shadow: 0 12px 32px rgba(196,168,53,0.4), 0 0 0 2px var(--mj-gold);
  transform: scale(1.06);
}

.mj-honey-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20%;
  transition: transform 0.4s ease;
}

.mj-honey-slide:hover .mj-honey-slide-img img {
  transform: scale(1.06);
}

.mj-honey-slide-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--mj-text);
  text-align: center;
  line-height: 1.4;
  max-width: 145px;
  transition: color 0.3s;
}

.mj-honey-slide:hover .mj-honey-slide-name {
  color: var(--mj-gold-dark);
}

/* ============================================================================
   8C. HERO BEES — نحلات على صورة الهيرو فقط
   ============================================================================ */
.mj-hero-bee {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  opacity: 0.8;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  will-change: transform;
}

.mj-hero-bee svg {
  display: block;
}

/* Bee 1 — Top right area, gentle diagonal float */
.mj-hero-bee--1 {
  top: 18%;
  right: 8%;
  animation: mj-bee-float-1 6s ease-in-out infinite;
}

/* Bee 2 — Center left area, circular drift */
.mj-hero-bee--2 {
  top: 45%;
  left: 12%;
  opacity: 0.75;
  animation: mj-bee-float-2 8s ease-in-out infinite;
}

/* Bee 3 — Bottom right area, small wobble */
.mj-hero-bee--3 {
  bottom: 20%;
  right: 18%;
  opacity: 0.7;
  animation: mj-bee-float-3 7s ease-in-out infinite;
}

@keyframes mj-bee-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-12px, -8px) rotate(-5deg); }
  50% { transform: translate(-6px, 10px) rotate(3deg); }
  75% { transform: translate(8px, -5px) rotate(-3deg); }
}

@keyframes mj-bee-float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, 6px) rotate(4deg); }
  50% { transform: translate(15px, -8px) rotate(-3deg); }
  75% { transform: translate(-5px, -10px) rotate(2deg); }
}

@keyframes mj-bee-float-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-8px, 5px) rotate(-4deg); }
  66% { transform: translate(6px, -7px) rotate(5deg); }
}

/* ============================================================================
   9. PRODUCT CARDS (بطاقات المنتجات) — Horizontal Slider
   ============================================================================ */

/* Slider wrapper with navigation */
.mj-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 4px;
}

.mj-products-scroll {
  display: flex;
  gap: 12px;
  padding: var(--mj-sp-sm) 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.mj-products-scroll::-webkit-scrollbar {
  display: none;
}

.mj-products-scroll .mj-product-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
}

/* Slider Navigation Arrows */
.mj-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid var(--mj-border);
  box-shadow: var(--mj-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--mj-text);
  padding: 0;
}

.mj-slider-nav:hover {
  background: var(--mj-gold);
  color: #FFFFFF;
  border-color: var(--mj-gold);
  box-shadow: var(--mj-shadow-gold);
  transform: translateY(-50%) scale(1.1);
}

.mj-slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.mj-slider-nav--prev {
  right: -2px;
}

.mj-slider-nav--next {
  left: -2px;
}

.mj-slider-nav svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

/* Slider progress dots */
.mj-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.mj-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mj-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mj-slider-dot.mj-active {
  background: linear-gradient(135deg, var(--mj-gold), var(--mj-red));
  width: 22px;
  border-radius: 4px;
}

/* Fade edges for slider */
.mj-slider-wrap::before,
.mj-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  z-index: 5;
  pointer-events: none;
}

.mj-slider-wrap::before {
  right: 0;
  background: linear-gradient(to left, var(--mj-bg, #FFF), transparent);
}

.mj-slider-wrap::after {
  left: 0;
  background: linear-gradient(to right, var(--mj-bg, #FFF), transparent);
}

.mj-section--alt .mj-slider-wrap::before {
  background: linear-gradient(to left, var(--mj-bg-section), transparent);
}

.mj-section--alt .mj-slider-wrap::after {
  background: linear-gradient(to right, var(--mj-bg-section), transparent);
}

.mj-section--warm .mj-slider-wrap::before {
  background: linear-gradient(to left, var(--mj-bg-warm), transparent);
}

.mj-section--warm .mj-slider-wrap::after {
  background: linear-gradient(to right, var(--mj-bg-warm), transparent);
}

.mj-product-card {
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-border-light);
  overflow: hidden;
  transition: var(--mj-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mj-product-card:hover {
  border-color: var(--mj-gold-light);
  box-shadow: var(--mj-shadow-md);
  transform: translateY(-3px);
}

/* Product loading skeleton */
.mj-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: mj-shimmer 1.5s infinite;
  border-radius: var(--mj-radius-sm);
}

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

/* (Section 10 — شيل بريال — removed) */

/* ============================================================================
   11. BUNDLES / PACKAGES (البكجات) — Horizontal Slider (same as products)
   ============================================================================ */
/* ---- Bundles Section Special Background ---- */
.mj-bundles-section {
  background: linear-gradient(180deg, var(--mj-bg-warm) 0%, #FFF8E8 50%, var(--mj-bg-warm) 100%);
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}
.mj-bundles-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mj-gold-light), var(--mj-gold), var(--mj-gold-light), transparent);
}

.mj-badge-fire {
  background: linear-gradient(135deg, var(--mj-red), var(--mj-red-dark)) !important;
  color: #fff !important;
}

/* ---- Bundle Tabs ---- */
.mj-bundle-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mj-bundle-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--mj-radius-md);
  border: 2px solid var(--mj-border);
  background: var(--mj-bg-card);
  font-family: var(--mj-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--mj-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.mj-bundle-tab:hover {
  border-color: var(--mj-gold-light);
  color: var(--mj-text);
  box-shadow: var(--mj-shadow-sm);
}

.mj-bundle-tab--active {
  background: linear-gradient(135deg, var(--mj-gold-bg), #FFF8E8);
  border-color: var(--mj-gold);
  color: var(--mj-gold-dark);
  box-shadow: var(--mj-shadow-gold);
}
.mj-bundle-tab--active svg {
  color: var(--mj-gold-dark);
}

.mj-tab-label {
  white-space: nowrap;
}

.mj-tab-badge-save {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--mj-radius-full);
  background: var(--mj-red);
  color: #fff;
  white-space: nowrap;
  animation: mj-tab-badge-pulse 2s ease infinite;
}
@keyframes mj-tab-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.mj-bundle-tab--active .mj-tab-badge-save {
  background: var(--mj-gold-dark);
}

/* ---- Bundle Panels ---- */
.mj-bundle-panel {
  display: none;
  animation: mj-panel-fade 0.4s ease;
}
.mj-bundle-panel--active {
  display: block;
}
@keyframes mj-panel-fade {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Panel header info */
.mj-bundle-panel-header {
  margin-bottom: 14px;
}
.mj-bundle-panel-info {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: var(--mj-text-secondary);
  background: var(--mj-bg-card);
  border: 1px solid var(--mj-border-light);
  border-radius: var(--mj-radius-md);
  padding: 10px 16px;
}
.mj-bundle-panel-info strong {
  color: var(--mj-red);
}
.mj-bph-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mj-gold-bg);
  color: var(--mj-gold-dark);
  flex-shrink: 0;
}
.mj-bph-icon--green {
  background: var(--mj-success-bg);
  color: var(--mj-success);
}

/* ---- Bundles Grid (shared) ---- */
.mj-bundles-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.mj-bundles-grid::-webkit-scrollbar {
  display: none;
}

.mj-bundles-grid .mj-bundle-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
}

/* ---- CTA below bundles ---- */
.mj-bundle-cta-wrap {
  text-align: center;
  margin-top: 20px;
}
.mj-bundle-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mj-red);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-red);
  background: transparent;
  transition: all 0.3s;
}
.mj-bundle-cta-link:hover {
  background: var(--mj-red);
  color: #fff;
  box-shadow: var(--mj-shadow-red);
}

/* ============================================================================
   12. SOCIAL PROOF (الإثبات الاجتماعي)
   ============================================================================ */
.mj-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mj-sp-md);
}

.mj-stat-card {
  text-align: center;
  padding: var(--mj-sp-lg);
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-lg);
  border: 1px solid var(--mj-border-light);
  transition: var(--mj-transition);
}

.mj-stat-card:hover {
  border-color: var(--mj-gold-light);
  box-shadow: var(--mj-shadow-sm);
}

.mj-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--mj-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mj-sp-sm);
  background: var(--mj-gold-bg);
  color: var(--mj-gold-dark);
}

.mj-stat-icon svg {
  width: 24px;
  height: 24px;
}

.mj-stat-num {
  font-size: var(--mj-fs-3xl);
  font-weight: 900;
  color: var(--mj-text);
  line-height: 1;
  margin-bottom: 4px;
}

.mj-stat-label {
  font-size: var(--mj-fs-sm);
  color: var(--mj-text-secondary);
}

/* Reviews */
.mj-reviews-scroll {
  display: flex;
  gap: var(--mj-sp-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--mj-sp-sm) var(--mj-sp-md);
  margin: 0 calc(-1 * var(--mj-sp-md));
}

.mj-reviews-scroll::-webkit-scrollbar {
  display: none;
}

.mj-review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-lg);
  border: 1px solid var(--mj-border-light);
  padding: var(--mj-sp-lg);
}

.mj-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--mj-sp-sm);
}

.mj-review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--mj-gold);
  color: var(--mj-gold);
}

.mj-review-text {
  font-size: var(--mj-fs-sm);
  color: var(--mj-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--mj-sp-md);
}

.mj-review-author {
  display: flex;
  align-items: center;
  gap: var(--mj-sp-sm);
}

.mj-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mj-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--mj-fs-sm);
  color: var(--mj-gold-dark);
}

.mj-review-name {
  font-size: var(--mj-fs-sm);
  font-weight: 700;
  color: var(--mj-text);
}

.mj-review-date {
  font-size: var(--mj-fs-xs);
  color: var(--mj-text-muted);
}

/* ============================================================================
   13. WHY US (لماذا نحن)
   ============================================================================ */
.mj-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mj-sp-md);
}

.mj-why-card {
  padding: var(--mj-sp-lg);
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-lg);
  border: 1px solid var(--mj-border-light);
  transition: var(--mj-transition);
  text-align: center;
}

.mj-why-card:hover {
  border-color: var(--mj-red);
  box-shadow: var(--mj-shadow-sm);
}

.mj-why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--mj-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mj-sp-md);
  background: var(--mj-red-bg);
  color: var(--mj-red);
}

.mj-why-icon svg {
  width: 26px;
  height: 26px;
}

.mj-why-title {
  font-size: var(--mj-fs-base);
  font-weight: 700;
  color: var(--mj-text);
  margin-bottom: 6px;
}

.mj-why-desc {
  font-size: var(--mj-fs-xs);
  color: var(--mj-text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   14. FAQ (الأسئلة الشائعة)
   ============================================================================ */
.mj-faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--mj-sp-sm);
}

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

.mj-faq-item.mj-active {
  border-color: var(--mj-red);
}

.mj-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--mj-sp-md) var(--mj-sp-lg);
  cursor: pointer;
  font-weight: 700;
  font-size: var(--mj-fs-base);
  color: var(--mj-text);
  gap: var(--mj-sp-md);
  user-select: none;
}

.mj-faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--mj-text-muted);
  transition: var(--mj-transition);
  flex-shrink: 0;
}

.mj-faq-item.mj-active .mj-faq-q svg {
  transform: rotate(180deg);
  color: var(--mj-red);
}

.mj-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.mj-faq-a-inner {
  padding: 0 var(--mj-sp-lg) var(--mj-sp-md);
  font-size: var(--mj-fs-sm);
  color: var(--mj-text-secondary);
  line-height: 1.8;
}

/* ============================================================================
   15. FINAL CTA — URGENCY SECTION
   ============================================================================ */
.mj-final-cta {
  background: linear-gradient(135deg, #1a0000 0%, #3a0000 25%, var(--mj-red-dark) 60%, var(--mj-red) 100%);
  padding: 56px var(--mj-sp-lg) 48px;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* --- Background particle effects --- */
.mj-final-cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mj-cta-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: mjCtaFloat 8s ease-in-out infinite;
}

.mj-cta-particle--1 {
  width: 120px; height: 120px;
  background: var(--mj-gold);
  top: -30px; right: 10%;
  animation-delay: 0s;
}
.mj-cta-particle--2 {
  width: 80px; height: 80px;
  background: #fff;
  bottom: 15%; left: 5%;
  animation-delay: -2s;
  animation-duration: 10s;
}
.mj-cta-particle--3 {
  width: 60px; height: 60px;
  background: var(--mj-gold);
  top: 40%; right: 3%;
  animation-delay: -4s;
  animation-duration: 7s;
}
.mj-cta-particle--4 {
  width: 100px; height: 100px;
  background: #fff;
  top: 10%; left: -20px;
  animation-delay: -1s;
  animation-duration: 12s;
}
.mj-cta-particle--5 {
  width: 50px; height: 50px;
  background: var(--mj-gold-light);
  bottom: 5%; right: 20%;
  animation-delay: -3s;
  animation-duration: 9s;
}

@keyframes mjCtaFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.06; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.12; }
}

/* --- Container z-index --- */
.mj-final-cta .mj-container {
  position: relative;
  z-index: 1;
}

/* --- Urgency badge with live dot --- */
.mj-cta-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  animation: mjBadgePulse 3s ease-in-out infinite;
}

.mj-cta-live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.mj-cta-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.4);
  animation: mjLivePulse 1.5s ease-out infinite;
}

@keyframes mjLivePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes mjBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
  50% { box-shadow: 0 0 20px 4px rgba(251,191,36,0.15); }
}

/* --- Title --- */
.mj-final-cta-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- Subtitle --- */
.mj-final-cta-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 28px;
  font-weight: 400;
}

/* --- Features strip --- */
.mj-cta-features {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.mj-cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 170px;
  text-align: right;
  transition: transform 0.3s, background 0.3s;
}

.mj-cta-feature:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.mj-cta-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(251,191,36,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.mj-cta-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mj-cta-feature-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.mj-cta-feature-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

/* --- Stock warning --- */
.mj-cta-stock-warning {
  max-width: 420px;
  margin: 0 auto 24px;
}

.mj-cta-stock-bar-wrap {
  margin-bottom: 10px;
}

.mj-cta-stock-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.mj-cta-stock-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #fbbf24);
  border-radius: 10px;
  animation: mjStockFill 2s ease-out 0.5s forwards;
  position: relative;
}

.mj-cta-stock-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 0 10px 10px 0;
  animation: mjStockShimmer 2s ease-in-out infinite 2.5s;
}

@keyframes mjStockFill {
  to { width: 70%; }
}

@keyframes mjStockShimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.mj-cta-stock-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
}

.mj-cta-stock-text svg {
  flex-shrink: 0;
}

/* --- CTA Button --- */
.mj-cta-buttons {
  margin-bottom: 20px;
}

.mj-cta-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a0000;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(251,191,36,0.4);
}

.mj-cta-main-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(251,191,36,0.5);
}

.mj-cta-main-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  animation: mjBtnShine 3s ease-in-out infinite;
}

@keyframes mjBtnShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  30%, 100% { transform: translateX(100%) rotate(45deg); }
}

.mj-cta-btn-text {
  position: relative;
  z-index: 1;
}

.mj-cta-btn-arrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  animation: mjArrowBounce 1.5s ease-in-out infinite;
}

@keyframes mjArrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

/* --- FOMO text --- */
.mj-cta-fomo-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

/* --- Animate-in (triggered by IntersectionObserver or scroll) --- */
.mj-cta-animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: mjCtaSlideIn 0.7s ease-out forwards;
}

.mj-cta-animate-in:nth-child(1) { animation-delay: 0.1s; }
.mj-cta-animate-in:nth-child(2) { animation-delay: 0.2s; }
.mj-cta-animate-in:nth-child(3) { animation-delay: 0.3s; }
.mj-cta-animate-in:nth-child(4) { animation-delay: 0.4s; }
.mj-cta-animate-in:nth-child(5) { animation-delay: 0.5s; }
.mj-cta-animate-in:nth-child(6) { animation-delay: 0.6s; }
.mj-cta-animate-in:nth-child(7) { animation-delay: 0.7s; }

@keyframes mjCtaSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive: Mobile adjustments --- */
@media (max-width: 640px) {
  .mj-final-cta {
    padding: 40px 16px 36px;
  }

  .mj-final-cta-title {
    font-size: 22px;
  }

  .mj-final-cta-subtitle {
    font-size: 13.5px;
    line-height: 1.9;
  }

  .mj-cta-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .mj-cta-feature {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }

  .mj-cta-main-btn {
    font-size: 16px;
    padding: 14px 28px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .mj-cta-urgency-badge {
    font-size: 11.5px;
    padding: 7px 16px;
  }
}

/* --- Old desc class (kept for backwards compat) --- */
.mj-final-cta-desc {
  font-size: var(--mj-fs-lg);
  opacity: 0.9;
  margin-bottom: var(--mj-sp-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================================
   16. FLOATING ELEMENTS (FOMO + WhatsApp + Back to Top)
   ============================================================================ */
.mj-whatsapp-float {
  position: fixed;
  bottom: 80px;
  left: 16px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9999;
  cursor: pointer;
  transition: var(--mj-transition);
  animation: mj-pulse 2s infinite;
}

.mj-whatsapp-float:hover {
  transform: scale(1.1);
}

.mj-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

@keyframes mj-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

.mj-back-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--mj-bg-card);
  border: 1px solid var(--mj-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mj-shadow-md);
  z-index: 9998;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--mj-transition);
}

.mj-back-top.mj-visible {
  opacity: 1;
  transform: translateY(0);
}

.mj-back-top svg {
  width: 20px;
  height: 20px;
  color: var(--mj-text);
}

/* FOMO Popup */
.mj-fomo {
  position: fixed;
  bottom: 20px;
  right: 70px;
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-lg);
  box-shadow: var(--mj-shadow-xl);
  padding: var(--mj-sp-md);
  display: flex;
  align-items: center;
  gap: var(--mj-sp-md);
  z-index: 9990;
  max-width: 320px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--mj-border-light);
}

.mj-fomo.mj-show {
  transform: translateY(0);
  opacity: 1;
}

.mj-fomo-img {
  width: 52px;
  height: 52px;
  border-radius: var(--mj-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.mj-fomo-text {
  font-size: var(--mj-fs-xs);
  color: var(--mj-text-secondary);
  line-height: 1.5;
  flex: 1;
}

.mj-fomo-text strong {
  color: var(--mj-text);
  display: block;
  font-size: 13px;
}

.mj-fomo-close {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mj-bg-section);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--mj-text-muted);
}

/* Viewers counter */
.mj-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.25);
  color: #bbf7d0;
  padding: 4px 12px;
  border-radius: var(--mj-radius-full);
  font-size: 11px;
  font-weight: 700;
  /* backdrop-filter removed for performance */
}

.mj-viewers-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: mj-blink 1.5s infinite;
}

@keyframes mj-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Exit intent popup — REMOVED (replaced by Wheel of Fortune) */

/* Sticky bottom bar (mobile) */
/* Sticky bar removed */

/* ============================================================================
   17. SALLA NATIVE OVERRIDES (تنسيق عناصر سلة)
   ============================================================================ */
/* Force light mode */
html {
  color-scheme: light !important;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light !important;
  }
}

body {
  background-color: #FFFFFF !important;
  color: #2D2D2D !important;
}

/* Salla product cards */
custom-salla-product-card,
salla-product-card,
.product-card {
  background: #FFFFFF !important;
  border: 1px solid #F0EDE8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

custom-salla-product-card:hover,
salla-product-card:hover,
.product-card:hover {
  border-color: #E8D78A !important;
  box-shadow: 0 8px 24px rgba(196,168,53,0.15) !important;
}

/* ── Salla Header — Dark Crimson Gradient Design ──
   Colors: deep maroon edges → subtle red center
   Matches brand identity (عنابي/أحمر غامق)
   ────────────────────────────────────────────── */

/* Override Salla CSS variable */
:root {
  --header-bg: #3a0000 !important;
}

/* Header gradient background */
header.store-header {
  background: linear-gradient(135deg, #3a0000 0%, #5a0a0a 20%, #7a1515 45%, #8b1a1a 55%, #5a0a0a 80%, #3a0000 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* Make inner containers transparent so gradient shows through */
header.store-header .main-nav-container,
header.store-header .main-nav-container .inner,
header.store-header .main-nav-container .inner.bg-inherit,
header.store-header .bg-inherit {
  background: transparent !important;
  background-color: transparent !important;
}

/* All header icons and text — white */
header.store-header a,
header.store-header span,
header.store-header i,
header.store-header p,
header.store-header button,
header.store-header .header-icon,
header.store-header .header-btn__icon,
header.store-header .sicon-menu,
header.store-header .sicon-search,
header.store-header .sicon-user,
header.store-header .sicon-cart,
header.store-header .menu-label {
  color: #FFFFFF !important;
}

/* Cart icon — yellow circle */
header.store-header salla-cart-summary .s-cart-summary-icon {
  background: #fbbf24 !important;
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

header.store-header salla-cart-summary .sicon-cart {
  color: #FFFFFF !important;
  font-size: 18px !important;
}

/* Cart count badge */
header.store-header .s-cart-summary-count {
  background: #fbbf24 !important;
  color: #3a0000 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
}

/* Cart total text */
header.store-header .s-cart-summary-total,
header.store-header .s-cart-summary-content,
header.store-header .s-cart-summary-content b {
  color: #FFFFFF !important;
}

/* Sticky header — keep same dark gradient */
header.store-header.is-sticky,
header.store-header.header-is-sticky,
header.store-header[style*="position: fixed"],
header.store-header[style*="position:fixed"] {
  background: linear-gradient(135deg, #3a0000 0%, #5a0a0a 20%, #7a1515 45%, #8b1a1a 55%, #5a0a0a 80%, #3a0000 100%) !important;
}

/* Salla footer */
.store-footer,
footer.store-footer {
  background: #2D2D2D !important;
  color: #E5E7EB !important;
  font-family: 'Tajawal', sans-serif !important;
}

.store-footer__inner {
  background: #2D2D2D !important;
  padding: 48px 24px 32px !important;
}

.store-footer h3,
.store-footer h4 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.store-footer a {
  color: #C4A835 !important;
}

.store-footer a:hover {
  color: #E8D78A !important;
}

.store-footer p,
.store-footer span,
.store-footer li {
  color: #9CA3AF !important;
}

.footer-bottom {
  background: #1F1F1F !important;
  border-top: 1px solid rgba(196,168,53,0.2) !important;
}

/* S-block resets */
section.s-block {
  margin: 0 !important;
}

.s-block--bundle-html-content {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================================
   CRITICAL: PREVENT FOOTER FLASH & LOADING SCREEN
   ============================================================================ */

/* 1. Force main to fill viewport — prevents footer from rising */
.app-inner main {
  min-height: 100vh !important;
  flex-grow: 1 !important;
}

/* 2. Hide footer until store content is ready */
footer.store-footer {
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}
body.mj-ready footer.store-footer {
  opacity: 1 !important;
}

/* 3. Loading overlay — shows immediately, hides when content loads */
.mj-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mj-loader.mj-loader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mj-loader-logo {
  width: 120px;
  height: auto;
  animation: mj-loader-pulse 1.2s ease-in-out infinite;
}
.mj-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #F0EDE8;
  border-top-color: #C4A835;
  border-radius: 50%;
  animation: mj-loader-spin 0.8s linear infinite;
}
.mj-loader-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: #9CA3AF;
  font-weight: 500;
}
@keyframes mj-loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes mj-loader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

/* 4. Prevent flash of sections before JS initializes them */
.mj-fade-in:not(.mj-visible) {
  opacity: 0;
}

/* ============================================================================
   18. ANIMATIONS
   ============================================================================ */
.mj-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.mj-fade-in-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mj-fade-in-left.mj-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fallback if JS doesn't fire */
@keyframes mj-fallback-show {
  to { opacity: 1; transform: translateY(0) translateX(0); }
}

.mj-fade-in:not(.mj-visible),
.mj-fade-in-left:not(.mj-visible) {
  animation: mj-fallback-show 0.6s ease 2.5s forwards;
}

/* Certification banner — full width no borders */
.mj-cert-banner {
  padding: 0;
  overflow: hidden;
}

.mj-cert-banner img {
  width: 100%;
  display: block;
}

/* Salla navbar/menu — gold/crimson from logo */
nav,
.store-nav,
.s-header-v2-nav,
.header-nav,
.s-nav-v2-wrapper,
[class*="header-nav"],
[class*="store-nav"],
.header-bottom,
.store-header nav {
  background: linear-gradient(135deg, var(--mj-gold-dark), var(--mj-gold)) !important;
  color: #FFFFFF !important;
}

nav a,
.store-nav a,
.s-header-v2-nav a,
.header-nav a,
[class*="header-nav"] a,
[class*="store-nav"] a,
.header-bottom a,
.store-header nav a {
  color: #FFFFFF !important;
}

nav a:hover,
.store-nav a:hover,
.header-bottom a:hover {
  color: var(--mj-red-bg) !important;
}

/* 18B removed — announce bar now handled by JS injection with vertical slide */

/* ============================================================================
   19. RESPONSIVE — TABLET (min-width: 600px)
   ============================================================================ */
@media (min-width: 600px) {
  .mj-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mj-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mj-honey-slide {
    flex: 0 0 170px;
  }

  .mj-honey-slide-img {
    width: 140px;
    height: 140px;
    border-radius: 20px;
  }
  .mj-honey-slide-img img {
    border-radius: 20px;
  }

  .mj-honey-section-title {
    font-size: 28px;
  }

  .mj-announce-slide {
    font-size: 13px;
  }

  .mj-products-scroll .mj-product-card {
    flex: 0 0 200px;
  }

  .mj-bundles-grid .mj-bundle-card {
    flex: 0 0 200px;
  }

  .mj-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mj-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mj-section-title {
    font-size: 26px;
  }

  .mj-title-bee {
    width: 32px;
    height: 32px;
  }

  .mj-section {
    padding: var(--mj-sp-xl) 0;
  }

  /* promo-title removed */

  .mj-slider-nav {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================================
   20. RESPONSIVE — DESKTOP (min-width: 1024px)
   ============================================================================ */
@media (min-width: 1024px) {
  .mj-container {
    padding: 0 var(--mj-sp-xl);
  }

  .mj-section-title {
    font-size: 30px;
  }

  .mj-title-bee {
    width: 36px;
    height: 36px;
  }

  .mj-section {
    padding: var(--mj-sp-2xl) 0;
  }

  .mj-products-scroll .mj-product-card {
    flex: 0 0 230px;
  }

  .mj-bundles-grid .mj-bundle-card {
    flex: 0 0 230px;
  }

  .mj-slider-nav {
    width: 44px;
    height: 44px;
  }

  .mj-slider-nav svg {
    width: 20px;
    height: 20px;
  }

  .mj-review-card {
    flex: 0 0 320px;
  }

  .mj-sticky-bar {
    display: none;
  }

  .mj-fomo {
    bottom: 30px;
    right: 30px;
  }
}

/* ============================================================================
   21. JS-GENERATED PRODUCT CARD STYLES
   العناصر التي يبنيها JavaScript ديناميكياً
   ============================================================================ */

/* ============================================================================
   21. UNIFIED CARD SYSTEM (كارد موحد — منتجات + بكجات)
   ============================================================================ */

/* --- Shared image wrapper (products & bundles) --- */
.mj-product-card-img-wrap,
.mj-bundle-card-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: #FFFFFF;
  overflow: hidden;
  border-radius: var(--mj-radius-md) var(--mj-radius-md) 0 0;
}

.mj-product-card-img-wrap img.mj-product-card-img,
.mj-bundle-card-img-wrap img.mj-bundle-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--mj-transition);
  padding: 0;
  background: #fff;
}

.mj-product-card:hover .mj-product-card-img-wrap img,
.mj-bundle-card:hover .mj-bundle-card-img-wrap img {
  transform: scale(1.06);
}

/* --- Badge (discount / save) --- */
.mj-product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--mj-red);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--mj-radius-full);
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.mj-bundle-save {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--mj-gold), var(--mj-gold-dark));
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--mj-radius-full);
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

/* --- Shared card body --- */
.mj-product-card-body,
.mj-bundle-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

/* --- Product/Bundle Name --- */
.mj-product-card-name,
.mj-bundle-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--mj-text);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.mj-product-card-name a,
.mj-bundle-card-name a {
  color: var(--mj-text);
  text-decoration: none;
}

.mj-product-card-name a:hover,
.mj-bundle-card-name a:hover {
  color: var(--mj-red);
}

/* --- Subtitle row (shared) --- */
.mj-product-card-subtitle,
.mj-bundle-card-subtitle {
  font-size: 11px;
  color: #7d7c7c;
  margin: -4px 0 8px;
  line-height: 1.4;
  font-weight: 400;
}

/* --- Price row (shared) --- */
.mj-product-card-price,
.mj-bundle-card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mj-price-current {
  font-size: 17px;
  font-weight: 900;
  color: var(--mj-red);
}

.mj-price-old {
  font-size: 13px;
  color: var(--mj-text-muted);
  text-decoration: line-through;
}

/* --- Option pills (weight/size selector) --- */
.mj-option-selector {
  margin-top: 8px;
  margin-bottom: 4px;
}

.mj-option-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.mj-option-pill {
  padding: 5px 12px;
  border: 1.5px solid #E0D5C0;
  border-radius: 20px;
  background: #FFFDF8;
  color: #8B7355;
  font-family: var(--mj-font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.mj-option-pill:hover {
  border-color: var(--mj-gold);
  color: var(--mj-gold-dark);
  background: #FFF8E8;
}

.mj-option-pill.mj-option-active {
  border-color: var(--mj-red);
  background: linear-gradient(135deg, var(--mj-red), var(--mj-red-dark));
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(198,40,40,0.25);
}

/* --- Buttons — stacked vertically --- */
.mj-card-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.mj-card-btns .mj-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 8px;
  background: linear-gradient(135deg, var(--mj-red), var(--mj-red-dark));
  color: #FFFFFF;
  border: none;
  border-radius: var(--mj-radius-sm);
  font-family: var(--mj-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--mj-transition);
}

.mj-card-btns .mj-add-cart:hover {
  box-shadow: var(--mj-shadow-red);
  transform: translateY(-1px);
}

/* Gentle pulse — subtle glow every 4s */
.mj-card-btns .mj-add-cart {
  animation: mj-pulse-glow 4s ease-in-out infinite;
}

.mj-card-btns .mj-add-cart:hover {
  animation: none;
}

@keyframes mj-pulse-glow {
  0%, 85%, 100% { box-shadow: none; }
  92% { box-shadow: 0 0 0 4px rgba(198,40,40,0.15); }
}

.mj-card-btns .mj-add-cart svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mj-card-btns .mj-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 8px;
  background: transparent;
  color: var(--mj-gold-dark);
  border: 1.5px solid var(--mj-gold);
  border-radius: var(--mj-radius-sm);
  font-family: var(--mj-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--mj-transition);
  text-decoration: none;
}

.mj-card-btns .mj-buy-now:hover {
  background: var(--mj-gold);
  color: #FFFFFF;
}

/* --- Bundle card reuses product card structure --- */
.mj-bundle-card {
  background: var(--mj-bg-card);
  border-radius: var(--mj-radius-md);
  border: 1px solid var(--mj-border-light);
  overflow: hidden;
  transition: var(--mj-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mj-bundle-card:hover {
  border-color: var(--mj-gold-light);
  box-shadow: var(--mj-shadow-gold);
  transform: translateY(-3px);
}

/* --- Success state / Spinner --- */
.mj-btn-success {
  background: var(--mj-success) !important;
  color: #FFFFFF !important;
}

.mj-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: mj-spin 0.6s linear infinite;
}

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

/* Toast notification */
@keyframes mj-toast-in {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ============================================================================
   22. PRINT
   ============================================================================ */
@media print {
  .mj-announce,
  .mj-whatsapp-float,
  .mj-back-top,
  .mj-fomo,
  .mj-sticky-bar {
    display: none !important;
  }
}

  /* Bundle tabs responsive */
  .mj-bundle-tabs {
    gap: 6px;
  }
  .mj-bundle-tab {
    padding: 10px 14px;
    font-size: 12px;
    gap: 6px;
    flex: 1;
    justify-content: center;
  }
  .mj-bundle-tab svg {
    display: none;
  }
  .mj-tab-badge-save {
    font-size: 9px;
    padding: 2px 6px;
  }
  .mj-bundle-panel-info {
    font-size: 11px;
    padding: 8px 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .mj-bundles-grid .mj-bundle-card {
    flex: 0 0 165px;
  }
  .mj-bundle-cta-link {
    font-size: 13px;
    padding: 8px 20px;
  }
  .mj-bundles-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

/* ============================================================================
   CLEARANCE SECTION — عروض التصفية (FOMO Enhanced)
   ============================================================================ */

.mj-clearance-section {
  background: linear-gradient(180deg, #FEF2F2 0%, #FFFAF5 40%, #FEF2F2 100%);
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.mj-clearance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mj-red-light), var(--mj-red), var(--mj-red-light), transparent);
}
.mj-clearance-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mj-red-light), var(--mj-red), var(--mj-red-light), transparent);
}

/* Clearance Header */
.mj-clearance-header {
  text-align: center;
  margin-bottom: 16px;
}
.mj-clearance-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mj-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--mj-radius-full);
  margin-bottom: 12px;
}
.mj-clearance-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: mj-live-blink 1.2s ease infinite;
}
@keyframes mj-live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(46, 204, 113, 0); }
}
.mj-clearance-live-text {
  letter-spacing: 0.5px;
}

.mj-clearance-title {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 900;
  color: var(--mj-text);
  margin: 0 0 8px;
  line-height: 1.3;
}
.mj-clearance-pct {
  color: var(--mj-red);
  position: relative;
  display: inline-block;
}
.mj-clearance-pct::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--mj-red);
  opacity: 0.2;
  border-radius: 2px;
}

.mj-clearance-subtitle {
  font-size: 14px;
  color: var(--mj-text-secondary);
  margin: 0;
}

/* FOMO Stats Row */
.mj-clearance-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.mj-clearance-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mj-bg-card);
  border: 1px solid var(--mj-border-light);
  border-radius: var(--mj-radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  color: var(--mj-text-secondary);
}
.mj-clearance-stat svg {
  flex-shrink: 0;
  color: var(--mj-red);
}
.mj-clearance-stat strong {
  color: var(--mj-red);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  display: inline-block;
}
.mj-clearance-stat--alert {
  background: var(--mj-red-bg);
  border-color: rgba(198, 40, 40, 0.15);
  color: var(--mj-red);
  font-weight: 700;
  animation: mj-alert-pulse 2s ease infinite;
}
@keyframes mj-alert-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Bottom CTA */
.mj-clearance-cta-wrap {
  text-align: center;
  margin-top: 20px;
}
.mj-clearance-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--mj-radius-md);
  background: linear-gradient(135deg, var(--mj-red), var(--mj-red-dark));
  border: none;
  transition: all 0.3s;
  box-shadow: var(--mj-shadow-red);
}
.mj-clearance-cta span,
.mj-clearance-cta svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
.mj-clearance-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 40, 40, 0.35);
  color: #fff;
}
.mj-clearance-urgency {
  font-size: 11px;
  color: var(--mj-text-muted);
  margin: 10px 0 0;
  font-style: italic;
}

/* Responsive clearance */
@media (max-width: 600px) {
  .mj-clearance-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .mj-clearance-stats {
    gap: 8px;
  }
  .mj-clearance-stat {
    font-size: 11px;
    padding: 6px 10px;
  }
  .mj-clearance-cta {
    font-size: 14px;
    padding: 10px 22px;
  }
}

/* ============================================================================
   SALLA THEME OVERRIDES — Bottom Nav & Floating Buttons
   ============================================================================ */

/* Hide bottom navigation bar (mobile) */
.selia-bottom-nav {
  display: none !important;
}

/* Remove white gap below footer caused by bottom-nav padding */
@media (max-width: 640px) {
  .has-bottom-nav {
    padding-bottom: 0px;
  }
}

/* Phone button (red) — push to bottom-right corner */
#phone-selia {
  bottom: 0px !important;
  right: 12px !important;
}

/* WhatsApp button (green) — push to bottom-left corner */
#wa-selia {
  bottom: 16px !important;
  right: auto !important;
  left: 12px !important;
}

/* ============================================================================
   SALLA CATEGORY PAGES OVERRIDES
   ============================================================================ */

/* Remove breadcrumbs background */
nav.breadcrumbs.w-full.py-5.container.px-2\.5.ms\:px-5 {
  background: none !important;
}

/* Category links color */
a.fix-align.text-primary {
  color: #7d7c7c !important;
}

/* Hide Salla testimonials block on category pages */
section.s-block.s-block--testimonials.overflow-hidden.relative.enhanced {
  display: none !important;
}

/* Product card image — full image without white borders */
custom-salla-product-card .product-card__image {
  background: none !important;
}

custom-salla-product-card .product-card__image img.main-image {
  object-fit: cover !important;
}

/* Product card promotion badge rounded corners */
.product-card__promotion {
  border-radius: 10px !important;
}

/* Hide back-to-top button */
.mj-back-top.mj-visible {
  display: none !important;
}

/* Footer links white */
.store-footer a {
  color: #ffffff !important;
}

/* Footer headings gold */
.store-footer h3, .store-footer h4 {
  color: #FFC107 !important;
  font-weight: 700 !important;
}

/* Remove border lines */
.border {
  border-width: 0px !important;
}

/* Hide breadcrumbs completely */
nav.breadcrumbs.w-full.py-5 {
  display: none !important;
}

/* Products slider bottom margin */
salla-slider#s-products-slider-cxvpltnxp {
  margin-bottom: 37px !important;
}

/* Remove white gap between final CTA and footer */
.mj-store {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.mj-final-cta {
  margin-bottom: 0 !important;
  padding-bottom: 48px !important;
}

/* Kill any gap from Salla's HTML block wrapper or footer */
.s-block--custom-html-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

footer, .store-footer, .s-block--footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.container.mt-5.simplified-products.fit-slider-products {
  margin-bottom: 30px !important;
}

/* ============================================================================
   MOBILE MENU — CUSTOM OVERLAY (bypasses mmenu entirely)
   ============================================================================ */

/* Hide Salla's broken mmenu overlay */
.mm-ocd { display: none !important; }

/* --- Overlay container (hidden by default) --- */
#mj-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  visibility: hidden;
}

#mj-mobile-overlay.mj-mo-open {
  pointer-events: auto;
  visibility: visible;
}

/* --- Dark backdrop --- */
.mj-mo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mj-mo-open .mj-mo-backdrop {
  opacity: 1;
}

/* --- Slide-in panel --- */
.mj-mo-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 360px;
  height: 100%;
  background: #FBF9F4;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

.mj-mo-open .mj-mo-panel {
  transform: translateX(0);
}

/* --- Header with logo --- */
.mj-mo-header {
  background: linear-gradient(135deg, #3a0000 0%, #8b1a1a 100%);
  padding: 36px 20px 24px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}

.mj-mo-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.mj-mo-close:hover { background: rgba(255,255,255,0.25); }

.mj-mo-close svg { width: 18px; height: 18px; }

.mj-mo-logo {
  width: 72px;
  height: auto;
  margin-bottom: 8px;
}

.mj-mo-store-name {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.mj-mo-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
}

/* --- Scrollable content area --- */
.mj-mo-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.mj-mo-scroll::-webkit-scrollbar { width: 3px; }
.mj-mo-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }

/* --- Section titles --- */
.mj-mo-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #C62828;
  letter-spacing: 0.5px;
  padding: 16px 20px 6px;
  margin: 0;
}

/* --- Menu items --- */
.mj-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #2D2D2D;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mj-menu-item:hover,
.mj-menu-item:active {
  background: rgba(196,168,53,0.08);
}

/* --- Icon box --- */
.mj-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FBF8EC;
  border: 1px solid rgba(196,168,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C4A835;
}

.mj-menu-icon svg { width: 20px; height: 20px; }

/* --- Highlighted items (offers/clearance) --- */
.mj-menu-item--highlight {
  color: #C62828;
  font-weight: 800;
}

.mj-menu-item--highlight .mj-menu-icon {
  background: #FEF2F2;
  border-color: rgba(198,40,40,0.15);
  color: #C62828;
}

/* --- Divider --- */
.mj-mo-divider {
  height: 1px;
  background: #E8E5DE;
  margin: 8px 20px;
}

/* --- Account buttons row --- */
.mj-mo-account-row {
  display: flex;
  gap: 8px;
  padding: 12px 20px 8px;
}

.mj-mo-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E8E5DE;
  text-decoration: none;
  color: #2D2D2D;
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  justify-content: center;
  transition: background 0.2s;
}

.mj-mo-account-btn:hover { background: #FBF8EC; }

.mj-mo-account-btn svg {
  width: 18px;
  height: 18px;
  color: #C4A835;
  flex-shrink: 0;
}

/* ============================================================================
   PERFORMANCE OPTIMIZATIONS — تحسينات السرعة
   ============================================================================ */

/* --- Fix CLS: Reserve space for hero image --- */
.mj-hero-banner-img {
  aspect-ratio: 1 / 1;
  max-height: 600px;
  overflow: hidden;
  background: var(--mj-bg-warm);
}

/* --- Fix CLS: Reserve space for category images --- */
img.img-fluid.mx-auto[alt*="معجزة"] {
  width: 120px !important;
  height: 120px !important;
  aspect-ratio: 1 / 1;
}

/* --- Fix CLS: Stabilize footer loading --- */
.store-footer.basic-footer {
  min-height: 200px;
  contain: layout style;
}

/* --- Fix CLS: Stabilize Salla product cards --- */
.s-block--products-slider .s-product-card-entry {
  min-height: 350px;
  contain: layout;
}

/* --- Reduce non-composited animations: use transform/opacity only --- */
.mj-hero-bee {
  will-change: transform;
  contain: layout style;
}

/* --- Reduce paint for animated elements --- */
.mj-fomo-popup,
.mj-announce-viewport,
.mj-final-cta {
  will-change: transform, opacity;
}

/* --- Hide default Salla store description section (exclude cart items) --- */
section.bg-storeBG.p-5.rounded-md.mb-5:not(.cart-item) {
  display: none !important;
}

/* ============================================================================
   END OF STYLESHEET
   ============================================================================ */

/* ==============================================================