/* ============ المتغيرات ============ */
:root {
  --green-dark: #1e5631;
  --green: #2e7d32;
  --green-light: #43a047;
  --green-soft: #e8f5e9;
  --brown-dark: #3d2b1f;
  --brown: #6b4226;
  --brown-light: #8b6914;
  --cream: #faf8f3;
  --gold: #c9a961;
  --ink: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(30,86,49,0.08);
  --shadow: 0 8px 30px rgba(30,86,49,0.12);
  --shadow-lg: 0 20px 60px rgba(30,86,49,0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --trans: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Tajawal', sans-serif;
  --font-display: 'Amiri', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   شاشة الدخول — تصميم نقي احترافي (Splash 4K)
   خلفية زمرّدية مصقولة بلا صناديق أو هالات، تركيز خالص على اللوقو
   ============================================================ */
#cinematic-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #06160e;
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), visibility 1.1s ease;
}
#cinematic-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* الخلفية: تدرّج زمرّدي عميق نقيّ ومتجانس تماماً (بلا كتل) */
.sp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 42%,
      #2c7048 0%,
      #1c5233 28%,
      #123c25 52%,
      #0b2a1a 74%,
      #06160e 100%);
}

/* بريق مركزي ناعم جداً خلف اللوقو — يظهر تدريجياً بلا حواف حادة */
.sp-aura {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 62vmin;
  height: 62vmin;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(230,205,140,0.16) 0%,
    rgba(201,169,97,0.10) 30%,
    rgba(129,199,132,0.05) 52%,
    transparent 72%);
  opacity: 0;
  animation: sp-aura-in 3.4s cubic-bezier(0.22,1,0.36,1) 2.4s forwards, sp-aura-breathe 8s ease-in-out 6s infinite;
}
@keyframes sp-aura-in {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.7); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
@keyframes sp-aura-breathe {
  0%,100% { opacity: 0.85; }
  50%     { opacity: 1; }
}

/* أشعة ضوئية ناعمة جداً قطرية — رقيّ خفيّ */
.sp-rays {
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  background:
    conic-gradient(from 210deg at 50% 40%,
      transparent 0deg,
      rgba(230,205,140,0.045) 18deg,
      transparent 40deg,
      transparent 180deg,
      rgba(129,199,132,0.04) 200deg,
      transparent 224deg,
      transparent 360deg);
  opacity: 0;
  animation: sp-rays-in 4s ease 1.6s forwards, sp-rays-spin 90s linear 1.6s infinite;
}
@keyframes sp-rays-in { to { opacity: 1; } }
@keyframes sp-rays-spin { to { transform: rotate(360deg); } }

/* ظلال محيطية ناعمة تعمّق التركيز على المركز */
.sp-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 75% at center, transparent 46%, rgba(0,0,0,0.55) 100%);
}

/* ذرّات ذهبية ناعمة تطفو ببطء */
.sp-particles { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sp-dot {
  position: absolute;
  width: 2.5px; height: 2.5px;
  border-radius: 50%;
  background: rgba(235,212,150,0.85);
  box-shadow: 0 0 5px rgba(235,212,150,0.7), 0 0 10px rgba(201,169,97,0.4);
  opacity: 0;
  animation: sp-dot-rise linear infinite;
}
@keyframes sp-dot-rise {
  0%   { transform: translateY(0) scale(0.4); opacity: 0; }
  14%  { opacity: 1; }
  82%  { opacity: 0.6; }
  100% { transform: translateY(-92vh) scale(1); opacity: 0; }
}
.dot-1{left:6%;bottom:-2%;animation-duration:15s;animation-delay:0s}
.dot-2{left:13%;bottom:-4%;animation-duration:18s;animation-delay:2.2s;width:1.5px;height:1.5px}
.dot-3{left:20%;bottom:-3%;animation-duration:16s;animation-delay:5s}
.dot-4{left:27%;bottom:-5%;animation-duration:20s;animation-delay:1.2s;width:3.5px;height:3.5px}
.dot-5{left:35%;bottom:-2%;animation-duration:17s;animation-delay:6.5s}
.dot-6{left:42%;bottom:-4%;animation-duration:19s;animation-delay:3.4s;width:1.5px;height:1.5px}
.dot-7{left:49%;bottom:-3%;animation-duration:16.5s;animation-delay:8s}
.dot-8{left:56%;bottom:-5%;animation-duration:21s;animation-delay:2s;width:3.5px;height:3.5px}
.dot-9{left:63%;bottom:-2%;animation-duration:17.5s;animation-delay:7.2s}
.dot-10{left:70%;bottom:-4%;animation-duration:18.5s;animation-delay:2.8s;width:1.5px;height:1.5px}
.dot-11{left:77%;bottom:-3%;animation-duration:15.5s;animation-delay:4.6s}
.dot-12{left:84%;bottom:-5%;animation-duration:20.5s;animation-delay:6.8s;width:3.5px;height:3.5px}
.dot-13{left:91%;bottom:-3%;animation-duration:16s;animation-delay:1.6s}
.dot-14{left:95%;bottom:-4%;animation-duration:19.5s;animation-delay:9s;width:1.5px;height:1.5px}
.dot-15{left:10%;bottom:-6%;animation-duration:22s;animation-delay:10s}
.dot-16{left:33%;bottom:-6%;animation-duration:23s;animation-delay:11s;width:1.5px;height:1.5px}
.dot-17{left:66%;bottom:-6%;animation-duration:21.5s;animation-delay:8.5s}
.dot-18{left:88%;bottom:-6%;animation-duration:24s;animation-delay:12s;width:3px;height:3px}

/* المسرح المركزي */
.sp-stage {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
/* ======= بطاقة فيديو الخطّاط الفاخرة ======= */
/* البطاقة تظهر بأناقة (تكبير + صعود ناعم) */
.vid-card {
  position: relative;
  margin: 0;
  width: min(540px, 82vw);
  padding: 16px;
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  animation: vid-card-in 1.3s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
@keyframes vid-card-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* زوايا ذهبية زخرفية تحيط بالبطاقة */
.vid-corner {
  position: absolute;
  width: 30px; height: 30px;
  border: 2px solid rgba(201,169,97,0.85);
  opacity: 0;
  animation: vid-corner-in 0.8s cubic-bezier(0.16,1,0.3,1) 1.4s forwards;
  filter: drop-shadow(0 0 6px rgba(201,169,97,0.4));
}
.vc-tl { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.vc-tr { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 8px; }
.vc-bl { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 8px; }
.vc-br { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 8px; }
@keyframes vid-corner-in {
  0%   { opacity: 0; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* الإطار الداخلي: حدّ ذهبي رفيع + ظل فاخر + توهّج ناعم */
.vid-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201,169,97,0.55);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 40px rgba(201,169,97,0.18);
  background: #ffffff;
  aspect-ratio: 540 / 538;
}

/* الفيديو */
.vid-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

/* لمعة زجاجية خفيفة تمرّ على البطاقة (إحساس بلور فاخر) */
.vid-sheen {
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  animation: vid-sheen-move 7s ease-in-out 3s infinite;
}
@keyframes vid-sheen-move {
  0%   { left: -60%; }
  22%  { left: 130%; }
  100% { left: 130%; }
}

/* حركة ظهور مشتركة (صعود ناعم) */
@keyframes sp-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* فاصل زخرفي رفيع تحت اللوقو */
.sp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  opacity: 0;
  animation: sp-fade-up 1s ease 5.3s forwards;
}
.sp-divider-line {
  display: block;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,0.85));
}
.sp-divider-line:last-child {
  background: linear-gradient(90deg, rgba(201,169,97,0.85), transparent);
}
.sp-divider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,169,97,0.7);
  transform: rotate(45deg);
}

/* زر الدخول الفاخر */
.sp-enter {
  position: relative;
  z-index: 6;
  overflow: hidden;
  margin-top: 40px;
  padding: 16px 50px;
  background: linear-gradient(135deg, #e6cb88 0%, #cfaa63 46%, #b58f43 100%);
  color: #123a23;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(24px);
  box-shadow: 0 16px 46px rgba(201,169,97,0.40), inset 0 1px 0 rgba(255,255,255,0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: sp-enter-in 1s cubic-bezier(0.16,1,0.3,1) 6.3s forwards;
}
@keyframes sp-enter-in { to { opacity: 1; transform: translateY(0); } }
.sp-enter:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 60px rgba(201,169,97,0.6), inset 0 1px 0 rgba(255,255,255,0.65);
}
.sp-enter-shine {
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-20deg);
  animation: sp-enter-shine-move 4.5s ease-in-out 7.2s infinite;
}
@keyframes sp-enter-shine-move {
  0% { left: -130%; }
  35%, 100% { left: 150%; }
}
.sp-enter-arrow { transition: transform 0.3s ease; }
.sp-enter:hover .sp-enter-arrow { transform: translateX(-6px); }

/* التذييل */
.sp-footer {
  position: absolute;
  bottom: 28px;
  z-index: 6;
  color: rgba(201,169,97,0.5);
  font-size: 0.78rem;
  letter-spacing: 4px;
  font-weight: 300;
  opacity: 0;
  animation: sp-fade-up 1s ease 7s forwards;
}

/* ============ شريط التنقل ============ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--trans);
  padding: 18px 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  transition: var(--trans);
}
.nav-logo img {
  height: 56px;
  width: auto;
  transition: opacity 0.4s ease, height 0.4s ease;
}
/* النسخة الفاتحة تظهر فوق الهيرو الداكن */
.nav-logo .logo-light {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  opacity: 1;
}
/* النسخة الملوّنة تظهر بعد التمرير على الخلفية البيضاء */
.nav-logo .logo-color {
  position: absolute;
  top: 0; right: 0;
  opacity: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
#navbar.scrolled .nav-logo img { height: 48px; }
#navbar.scrolled .nav-logo .logo-light { opacity: 0; }
#navbar.scrolled .nav-logo .logo-color { opacity: 1; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: var(--trans);
}
#navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--green-light); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--trans);
}
#navbar.scrolled .cart-btn {
  background: var(--green-soft);
  border-color: transparent;
  color: var(--green-dark);
}
.cart-btn:hover { background: var(--green-light); color: #fff; transform: scale(1.08); }
.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.cart-count.show { transform: scale(1); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
#navbar.scrolled .menu-toggle { color: var(--green-dark); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.mobile-menu.open { max-height: 400px; padding: 16px 24px; box-shadow: var(--shadow-sm); }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ============ القسم الرئيسي ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: ken-burns 20s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20,61,34,0.92) 0%, rgba(30,86,49,0.75) 45%, rgba(30,86,49,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge i { color: #a5d6a7; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-title .highlight {
  color: #a5d6a7;
  position: relative;
}
.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

/* ============ الأزرار ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  box-shadow: 0 8px 25px rgba(46,125,50,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(46,125,50,0.55);
}
.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: #fff; color: var(--green-dark); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* ============ المميزات ============ */
.features { padding: 80px 0; margin-top: -80px; position: relative; z-index: 3; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--trans);
  border: 1px solid rgba(46,125,50,0.06);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--green-soft), #c8e6c9);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green);
  transition: var(--trans);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--green-dark); }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* ============ عناوين الأقسام ============ */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: #a5d6a7; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--green-dark);
  margin-bottom: 12px;
}
.section-title.light { color: #fff; }
.section-sub { color: var(--gray); font-size: 1.05rem; }
.section-sub.light { color: rgba(255,255,255,0.85); }

/* ============ المنتجات ============ */
.products-section { padding: 60px 0 100px; }
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 26px;
  border: 2px solid var(--green-soft);
  background: #fff;
  color: var(--green-dark);
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
}
.filter-btn:hover { border-color: var(--green-light); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  border-color: transparent;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  position: relative;
  border: 1px solid rgba(46,125,50,0.06);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold), #b8985a);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.product-discount {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: #e53935;
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.product-img {
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-light);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info { padding: 22px; }
.product-cat {
  font-size: 0.8rem;
  color: var(--green-light);
  font-weight: 600;
}
.product-name {
  font-size: 1.25rem;
  margin: 6px 0 8px;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s ease;
}
.product-name:hover { color: var(--green); }
.product-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 12px; }
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.stars { color: var(--gold); font-size: 0.9rem; }
.rating-count { color: var(--gray); font-size: 0.82rem; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price { display: flex; flex-direction: column; }
.price-now { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); }
.price-old {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: line-through;
}
.add-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(46,125,50,0.3);
}
.add-btn:hover { transform: scale(1.1) rotate(90deg); }

/* ============ المساعد الذكي ============ */
.quiz-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark), #143d22);
  overflow: hidden;
}
.quiz-bg-decor {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67,160,71,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.quiz-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-start { text-align: center; }
.quiz-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--green-soft), #c8e6c9);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--green);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.quiz-start h3 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 12px; }
.quiz-start p { color: var(--gray); margin-bottom: 28px; }
.quiz-flow { width: 100%; }
.quiz-progress {
  height: 8px;
  background: var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 36px;
}
.quiz-progress-bar {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  border-radius: 8px;
  transition: width 0.5s ease;
}
.quiz-question h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 30px;
}
.quiz-options { display: grid; gap: 14px; }
.quiz-option {
  padding: 18px 24px;
  border: 2px solid var(--green-soft);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans);
  text-align: right;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quiz-option::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid var(--green-soft);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--trans);
}
.quiz-option:hover {
  border-color: var(--green-light);
  background: var(--green-soft);
  transform: translateX(-6px);
}
.quiz-option:hover::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 4px #fff; }
.quiz-result { width: 100%; text-align: center; }
.result-head { margin-bottom: 28px; }
.result-head i { font-size: 2.5rem; color: var(--green); margin-bottom: 12px; }
.result-head h3 { font-size: 1.6rem; color: var(--green-dark); }
.result-head p { color: var(--gray); }
.result-products { display: grid; gap: 16px; margin-bottom: 24px; }
.result-product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 2px solid var(--green-soft);
  border-radius: 16px;
  text-align: right;
  transition: var(--trans);
}
.result-product:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.result-product img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.result-product-info { flex: 1; }
.result-product-info h4 { color: var(--green-dark); margin-bottom: 4px; }
.result-product-info span { color: var(--green); font-weight: 700; }
.result-product .add-btn { flex-shrink: 0; }

/* ============ قصتنا ============ */
.story-section { padding: 100px 0; background: #fff; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; height: 480px; object-fit: cover; }
.story-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--green-dark);
}
.story-badge i { color: var(--green-light); font-size: 1.4rem; }
.story-text .section-tag { margin-bottom: 16px; }
.story-text .section-title { text-align: right; margin-bottom: 20px; }
.story-text p { color: var(--gray); margin-bottom: 16px; }
.story-list { margin: 24px 0 32px; display: grid; gap: 12px; }
.story-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
}
.story-list i { color: var(--green-light); font-size: 1.2rem; }

/* ============ آراء العملاء ============ */
.testimonials-section { padding: 100px 0; background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--trans);
  border: 1px solid rgba(46,125,50,0.06);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote-mark {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 2.5rem;
  color: var(--green-soft);
}
.testimonial-stars { color: var(--gold); margin-bottom: 16px; }
.testimonial-text { color: var(--ink); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.author-name { display: block; font-weight: 700; color: var(--green-dark); }
.author-product { display: block; font-size: 0.85rem; color: var(--gray); }

/* ============ التذييل ============ */
.footer {
  background: linear-gradient(135deg, #143d22, #0a2415);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  padding: 14px;
  background: rgba(255,255,255,0.96);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.footer-col p { font-size: 0.95rem; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a { transition: var(--trans); font-size: 0.95rem; }
.footer-col ul a:hover { color: #a5d6a7; padding-right: 6px; }
.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; }
.contact-list i { color: var(--green-light); width: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--trans);
}
.social-links a:hover { background: var(--green-light); transform: translateY(-4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ============ سلة التسوق ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-light);
}
.cart-header h3 { font-size: 1.3rem; color: var(--green-dark); display: flex; align-items: center; gap: 10px; }
.cart-close {
  background: var(--gray-light);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray);
  transition: var(--trans);
}
.cart-close:hover { background: #ffebee; color: #e53935; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.cart-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.cart-item-price { color: var(--green); font-weight: 700; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--green-soft);
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--trans);
}
.qty-btn:hover { background: var(--green); color: #fff; }
.qty-val { font-weight: 700; min-width: 24px; text-align: center; }
.remove-item {
  margin-right: auto;
  background: none;
  border: none;
  color: #e53935;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.6;
  transition: var(--trans);
}
.remove-item:hover { opacity: 1; }
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray);
  padding: 40px;
}
.cart-empty i { font-size: 4rem; color: var(--green-soft); margin-bottom: 20px; }
.cart-empty p { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cart-empty span { font-size: 0.9rem; }
.cart-footer { padding: 24px; border-top: 1px solid var(--gray-light); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.total-price { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); }
.cart-note { text-align: center; color: var(--gray); font-size: 0.85rem; margin-top: 12px; }
.cart-note i { color: var(--green-light); }

/* ============ نافذة المنتج ============ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  animation: modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.modal-close:hover { background: #ffebee; color: #e53935; transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { height: 100%; min-height: 400px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px 0 0 24px; }
.modal-details { padding: 40px 34px; }
.modal-details .product-cat { font-size: 0.9rem; }
.modal-details h2 { font-family: var(--font-display); font-size: 2rem; color: var(--green-dark); margin: 8px 0; }
.modal-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.modal-price { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.modal-price .price-now { font-size: 2rem; }
.modal-desc { color: var(--gray); margin-bottom: 24px; line-height: 1.8; }
.modal-section { margin-bottom: 22px; }
.modal-section h4 {
  color: var(--green-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.benefits-list { display: grid; gap: 8px; }
.benefits-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.95rem; }
.benefits-list i { color: var(--green-light); }
.usage-text {
  background: var(--green-soft);
  padding: 16px;
  border-radius: 12px;
  color: var(--brown-dark);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============ التوست ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--green-dark);
  color: #fff;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  opacity: 0;
  transition: var(--trans);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast i { color: #a5d6a7; font-size: 1.2rem; }

/* ============ واتساب عائم ============ */
#whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  z-index: 1500;
  transition: var(--trans);
  animation: wa-pulse 2.5s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}
#whatsapp-float:hover { transform: scale(1.1); }

/* ============ حركات الظهور ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ التجاوب ============ */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-img img { height: 360px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: flex; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 46px; }
  #navbar.scrolled .nav-logo img { height: 40px; }

  /* الهيرو */
  .hero-content { padding: 0 4px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); max-width: 100%; }
  .hero-desc { font-size: 1rem; max-width: 100%; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { height: 32px; }

  /* الأقسام والعناوين */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* النافذة المنبثقة للمنتج */
  .modal-body { grid-template-columns: 1fr; }
  .modal-img img { border-radius: 24px 24px 0 0; min-height: 240px; }

  /* صفحة البداية */
  .vid-card { width: 86vw; padding: 12px; }
  .sp-divider-line { width: 52px; }
  .sp-enter { padding: 15px 38px; font-size: 1rem; }
  .sp-footer { font-size: 0.68rem; letter-spacing: 3px; bottom: 18px; padding: 0 12px; text-align: center; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { justify-content: center; display: flex; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { justify-content: center; }
  .quiz-box { padding: 30px 18px; }

  /* الهيرو على الشاشات الصغيرة */
  .hero-title { font-size: 1.9rem; line-height: 1.3; }
  .hero-badge { font-size: 0.8rem; padding: 8px 14px; }
  .hero-stats { justify-content: space-between; width: 100%; gap: 10px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.78rem; }

  /* المنتجات */
  .product-card { max-width: 420px; margin: 0 auto; width: 100%; }

  /* العناوين */
  .section-title { font-size: 1.5rem; }

  /* صفحة البداية */
  .vid-card { width: 90vw; padding: 10px; }
  .vid-corner { width: 24px; height: 24px; }
  .sp-divider-line { width: 44px; }

  /* الفوتر */
  .social-links { justify-content: center; }
  .footer-col { align-items: center; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 1.65rem; }
  .hero-stats { gap: 6px; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.72rem; }
  .sp-enter { padding: 13px 30px; font-size: 0.95rem; }
}
