/* ---------- الخطوط ----------
   مستضافة محلياً لا من fonts.googleapis.com.
   السبب: كانت تُحمَّل بـ@import داخل هذا الملف، فينشأ تسلسل من ثلاث
   مراحل قبل ظهور أي نص — style.css ثم ملف CSS الخطوط ثم ملفات الخطوط.
   قاس Lighthouse 780 مللي ثانية حجباً للعرض بسببها.
   محلياً: الملفات تُطلب مباشرة من نفس الخادم، وتستفيد من كاش العشر سنوات.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/cairo-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/cairo-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/cairo-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/fonts/cairo-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/tajawal-400-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/tajawal-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/tajawal-500-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/tajawal-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/tajawal-700-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/tajawal-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #FBF6EC;
  --color-bg-warm: #F4E9D6;
  --color-honey: #B8722E;
  --color-honey-dark: #8F5620;
  --color-honey-light: #E3A65C;
  /* خلفية الأزرار الأساسية: أغمق من لون الهوية لأن النص الأبيض فوقها
     كان بتباين 3.83 — دون الحد 4.5 الذي يشترطه WCAG AA. هذا اللون 4.62. */
  --color-honey-btn: #A8651F;
  --color-olive: #5C6B3F;
  --color-olive-dark: #47522F;
  --color-ink: #2A2118;
  --color-ink-soft: #5A4E3F;
  --color-card: #FFFFFF;
  --color-border: #E7D9BE;
  --color-error: #B3402D;

  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Cairo', sans-serif;

  --header-h: 81px;
  --radius: 14px;
  --shadow-soft: 0 6px 20px rgba(139, 94, 40, 0.10);
  --shadow-lift: 0 14px 32px rgba(139, 94, 40, 0.18);
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  direction: rtl;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--color-honey-dark);
  margin: 0;
  line-height: 1.3;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-olive);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* الجوانب 20px مش 0 — لأن الصفر بيلغي padding تبع .container
     ونتيجته إنو المحتوى بيلزق بحافة الشاشة على الجوال */
  padding: 14px 20px;
  min-height: 52px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand__logo {
  height: 52px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.main-nav a {
  color: var(--color-ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover, .main-nav a.active {
  color: var(--color-honey-dark);
  border-color: var(--color-honey);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-link, .account-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cart-link:hover, .account-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--color-olive);
  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;
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--color-honey-btn);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-honey-dark); transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  color: var(--color-honey-dark);
  border: 1.5px solid var(--color-honey);
}
.btn-outline:hover { background: var(--color-bg-warm); }

.btn-whatsapp {
  background: var(--color-olive);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--color-olive-dark); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero (full-screen video) ---------- */
.hero-video-section {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--header-h));
  min-height: 420px;
  overflow: hidden;
}

.hero-video-section__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-section__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(20, 14, 6, 0.55) 0%, rgba(20, 14, 6, 0) 38%);
}

.hero-video-section__row {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 64px;
}

.hero-video-section__content {
  color: #fff;
  max-width: 480px;
  text-align: right;
}

.hero-video-section .hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.hero-video-section h1 {
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-video-section p.lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin: 0 0 28px;
  margin-inline-start: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.btn-outline--light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline--light:hover { background: rgba(255, 255, 255, 0.14); }

@media (prefers-reduced-motion: reduce) {
  .hero-video-section__media { display: none; }
  .hero-video-section {
    background: var(--color-bg-warm) url('../media/hero-video-desktop-poster.webp') center/cover no-repeat;
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-warm);
  overflow: hidden;
  padding: 18px 0;
}

.trust-strip__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-strip__track { animation: none; overflow-x: auto; }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink-soft);
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.95rem;
}

.trust-item img { height: 34px; width: auto; }

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
}

.section__head h2 {
  font-size: 1.7rem;
  font-weight: 800;
}

.section__head .link-more {
  font-weight: 700;
  color: var(--color-honey-dark);
  border-bottom: 2px solid var(--color-honey);
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.product-card__media {
  position: relative;
  display: block;          /* صار <a> — بدونه تظهر فجوة تحت الصورة */
  aspect-ratio: 1/1;
  background: var(--color-bg-warm);
}

.product-card__media img { width: 100%; height: 100%; object-fit: cover; }

.product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-honey);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__eyebrow {
  font-size: 0.76rem;
  color: var(--color-olive-dark);
  font-weight: 700;
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-ink);
  text-decoration: none;
}
.product-card__name:hover { color: var(--color-honey-dark); }

.product-card__price {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-honey-dark);
  font-size: 1.15rem;
}
.price small { font-weight: 600; font-size: 0.7rem; color: var(--color-ink-soft); }

/* ---------- Filter chips ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  transition: all var(--transition);
}

.filter-chip:hover { border-color: var(--color-honey); color: var(--color-honey-dark); }
.filter-chip.active { background: var(--color-honey); border-color: var(--color-honey); color: #fff; }

/* ---------- Story ---------- */
.story {
  background: var(--color-bg-warm);
}
.story__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.story__art {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
}
.story__art img { width: 100%; height: 100%; object-fit: cover; }
.story p { color: var(--color-ink-soft); font-size: 1.02rem; max-width: 52ch; margin: 0 0 12px; }

.story__stats {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.story__stat { display: flex; align-items: baseline; gap: 6px; }
.story__stat-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-honey-dark);
  line-height: 1;
}
.story__stat-label {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  max-width: 16ch;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 20px 64px;
  align-items: start;
}

.product-detail__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 96px;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }

.product-detail h1 { font-size: 2rem; margin-bottom: 10px; }
.product-detail .eyebrow { color: var(--color-olive-dark); font-weight: 700; margin-bottom: 8px; display: block; }
.product-detail__desc { color: var(--color-ink-soft); margin: 16px 0 26px; font-size: 1.03rem; }

.variant-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  background: var(--color-card);
  transition: border-color var(--transition), background var(--transition);
}
.variant-option:has(input:checked) {
  border-color: var(--color-honey);
  background: var(--color-bg-warm);
}
.variant-option input { accent-color: var(--color-honey); width: 18px; height: 18px; }
.variant-option__label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.variant-option__price { font-family: var(--font-display); font-weight: 800; color: var(--color-honey-dark); }

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 44px; height: 44px;
  border: none;
  background: var(--color-bg-warm);
  font-size: 1.2rem;
  cursor: pointer;
}
.qty-stepper input {
  width: 46px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
}

/* ---------- Cart & checkout ---------- */
/* الجوانب 20px مش 0 — الصفر بيلغي padding تبع .container فالحقول
   بتلزق بحافتي الشاشة على الجوال (نفس العلة اللي كانت بصفحة المنتج) */
.cart-page { padding: 48px 20px 72px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.cart-line__name { font-weight: 700; font-family: var(--font-display); }
.cart-line__variant { color: var(--color-ink-soft); font-size: 0.88rem; }
.cart-line__end { display: flex; align-items: center; gap: 14px; }

.summary-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--color-ink-soft); }
.summary-row.total { font-weight: 800; color: var(--color-ink); font-size: 1.15rem; border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 14px; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.92rem; }
.form-field input, .form-field textarea, .form-field select {
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-card);
  min-height: 44px;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%238a7a63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
  cursor: pointer;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--color-honey); }
.form-error { color: var(--color-error); font-size: 0.85rem; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--color-error); }

/* ---------- Success ---------- */
.success-page {
  text-align: center;
  padding: 90px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.success-page .icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--color-olive);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 24px;
}

/* ---------- Horizontal scroll rows ---------- */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 14px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-honey-light) transparent;
}
.scroll-row::-webkit-scrollbar { height: 8px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--color-honey-light); border-radius: 999px; }

.scroll-row .product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

.category-block { margin-bottom: 44px; }
.category-block:last-child { margin-bottom: 0; }
.category-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.category-block__head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-ink);
}

/* ---------- Category showcase (auto-advancing per-slide background, full-bleed) ---------- */
.cat-showcase-wrap { margin: 0 0 24px; }

.cat-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
}

.cat-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
.cat-slide.is-active { opacity: 1; pointer-events: auto; }

.cat-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cat-slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 6, 0.35) 0%, rgba(20, 14, 6, 0.6) 100%);
}

.cat-slide__deco {
  position: absolute;
  width: 90px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.cat-slide__deco--1 { top: 12%; left: 8%; width: 100px; }
.cat-slide__deco--2 { bottom: 10%; left: 5%; width: 78px; }
.cat-slide__deco--3 { top: 14%; right: 7%; width: 86px; }

.cat-slide__deco--1.is-bursting { animation: catDecoBurst1 0.85s cubic-bezier(.2, .9, .3, 1.3) forwards; }
.cat-slide__deco--2.is-bursting { animation: catDecoBurst2 0.85s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: 0.08s; }
.cat-slide__deco--3.is-bursting { animation: catDecoBurst3 0.85s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: 0.16s; }

.cat-slide__deco.is-floating {
  opacity: 0.85;
  animation: catDecoFloat 5s ease-in-out infinite;
}

@keyframes catDecoBurst1 {
  0% { transform: translate(150px, 90px) scale(0.15); opacity: 0; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
}
@keyframes catDecoBurst2 {
  0% { transform: translate(130px, -90px) scale(0.15); opacity: 0; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
}
@keyframes catDecoBurst3 {
  0% { transform: translate(-130px, 90px) scale(0.15); opacity: 0; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
}

@keyframes catDecoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.cat-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
}

.cat-slide__jar {
  height: 210px;
  width: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5));
  opacity: 0;
}

.cat-slide__jar.is-entering {
  animation: catJarEnter 0.9s cubic-bezier(.34, 1.4, .64, 1) forwards;
}

.cat-slide__jar.is-floating {
  opacity: 1;
  animation: catJarFloat 3.2s ease-in-out infinite;
}

@keyframes catJarEnter {
  0% { transform: translateX(-50px) rotate(-8deg); opacity: 0; }
  55% { transform: translateX(8px) rotate(4deg); opacity: 1; }
  75% { transform: translateX(-4px) rotate(-2deg); }
  100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}

@keyframes catJarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.cat-slide__content h3 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.cat-showcase__title {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
}
.cat-showcase__title-outline {
  display: block;
  border: 2px solid var(--color-honey);
  border-radius: 10px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: transparent;
}
.cat-showcase__title-fill {
  position: absolute;
  top: 50%;
  right: 14px;
  translate: 0 -50%;
  background: var(--color-honey);
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

.cat-showcase__more {
  position: absolute;
  top: 30px;
  left: 22px;
  z-index: 5;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.cat-showcase__dots {
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cat-showcase__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cat-showcase__dot.is-active { background: var(--color-honey); transform: scale(1.2); }

@media (max-width: 640px) {
  .cat-showcase { aspect-ratio: 3 / 4; min-height: 380px; max-height: none; }
  .cat-slide__content { padding: 60px 16px 40px; }
  .cat-slide__jar { height: 150px; }
  .cat-slide__content h3 { font-size: 1.15rem; }
  .cat-showcase__title-outline { font-size: 0.85rem; padding: 6px 12px; }
  .cat-showcase__title-fill { font-size: 0.85rem; padding: 5px 12px; }
  .cat-slide__deco--1 { width: 56px; }
  .cat-slide__deco--2 { width: 44px; }
  .cat-slide__deco--3 { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .cat-slide { transition: opacity 0.3s ease; }
  .cat-slide__jar { animation: none !important; opacity: 1; }
  .cat-slide__deco { animation: none !important; }
}

/* ---------- Certificates (3D card-stack carousel) ---------- */
.certs-section {
  background: var(--color-bg-warm);
  padding: 28px 0 0;
  overflow-x: clip;
}
.certs-section .section__head { margin-bottom: 4px; justify-content: center; text-align: center; }

.certs-marquee {
  display: flex;
  overflow: hidden;
  padding: 18px 0;
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.certs-marquee__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 48px;
  padding-inline-end: 48px;
  animation: certsScrollRight 22s linear infinite;
}

.certs-marquee__item {
  flex: 0 0 auto;
}

.certs-marquee__item img {
  height: 42px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.88;
}

@keyframes certsScrollRight {
  from { transform: translateX(0%); }
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .certs-marquee__track { animation: none; }
}

/* ---------- Health / video cards ---------- */
.health-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x proximity;
}
.health-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.health-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.health-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-warm);
}
.health-card__media img { width: 100%; height: 100%; object-fit: cover; }
.health-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 33, 24, 0.18);
  color: #fff;
  font-size: 1.6rem;
}
.health-card__body { padding: 12px 14px 16px; }
.health-card__title { font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }
.health-card__text { font-size: 0.85rem; color: var(--color-ink-soft); line-height: 1.5; }

/* ---------- Achievements depth-stack slider ---------- */
.achievements-3d {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.achievements-3d.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.book-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  perspective: 2200px;
}

.book-pages {
  position: relative;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(180deg, #fdf9f0 0%, #f6ecd8 100%);
  box-shadow: inset 0 0 0 1px rgba(139, 94, 40, 0.12), var(--shadow-soft);
}

.book-cover {
  position: absolute;
  inset: 0;
  z-index: 20;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #a05a26 url('../media/book-cover-front.webp') center/cover no-repeat;
  box-shadow: var(--shadow-lift);
  transform-origin: right center;
  transition: transform 0.9s cubic-bezier(.45, 0, .2, 1), opacity 0.7s ease 0.15s, box-shadow 0.9s ease;
  backface-visibility: hidden;
}

.book-cover:hover { box-shadow: 0 26px 55px rgba(0, 0, 0, 0.35); }

.book-cover.is-open {
  transform: rotateY(-150deg);
  opacity: 0;
  pointer-events: none;
}

.book-cover__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.book-cover__hint {
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .book-cover { transition: opacity 0.4s ease; }
  .book-cover.is-open { transform: none; }
}

.book-stack {
  position: relative;
  height: 460px;
  perspective: 2200px;
}

.book-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(253, 249, 240, 0.88), rgba(253, 249, 240, 0.88)),
    url('../media/book-page-texture.webp') center/cover;
  box-shadow: 0 2px 10px rgba(139, 94, 40, 0.18);
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: right center;
  transition: transform 0.7s cubic-bezier(.45, 0, .2, 1), box-shadow 0.7s ease;
  backface-visibility: hidden;
}

.book-page.is-flipped {
  transform: rotateY(-172deg);
  box-shadow: none;
  pointer-events: none;
}

.book-page__media {
  flex: 1;
  min-height: 0;
  background: var(--color-bg-warm);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.book-page__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-page__caption {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-honey-dark);
  font-size: 0.95rem;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}

@media (max-width: 640px) {
  .book-stack { height: 340px; }
  .book-page { padding: 14px; }
  .book-page__caption { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .book-page { transition: opacity 0.3s ease; }
  .book-page.is-flipped { transform: none; opacity: 0; }
}

/* ---------- Achievement photos scrapbook (stamp effect) ---------- */
.stamp-scrapbook {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
}

.stamp-scrapbook__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin: 0 0 22px;
}

.stamp-scrapbook__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 28px 18px;
}

.photo-frame-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 220px;
}

.photo-frame-card__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.photo-frame-card__photo {
  position: absolute;
  inset: 15%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.photo-frame-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.photo-frame-card figcaption {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-ink-soft);
  text-align: center;
  max-width: 20ch;
}

@media (max-width: 640px) {
  .photo-frame-card { width: 160px; }
}


/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-honey);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-ink-soft);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 8, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__inner { max-width: 720px; width: 100%; }
.lightbox video { width: 100%; border-radius: 14px; max-height: 80vh; }
.lightbox__close {
  display: block;
  margin: 0 0 10px auto;
  background: #fff;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #E9E1D2;
  padding: 48px 0 26px;
  margin-top: 40px;
}
.site-footer a { color: #E9E1D2; opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--font-display); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.85rem; opacity: 0.7; text-align: center; }

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 50;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-olive);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift);
  font-size: 1.5rem;
  transition: transform var(--transition);
}
.floating-wa:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-video-section__row { justify-content: center; padding-bottom: 24px; }
  .hero-video-section__content { max-width: 100%; text-align: center; }
  .hero-video-section .hero__eyebrow { margin-bottom: 12px; }
  .hero-video-section h1 { font-size: 1.7rem; margin-bottom: 10px; }
  .hero-video-section p.lead { margin-inline: auto; font-size: 0.95rem; margin-bottom: 18px; }
  .hero__actions { justify-content: center; }
  .hero-video-section__scrim { background: linear-gradient(0deg, rgba(20, 14, 6, 0.75) 0%, rgba(20, 14, 6, 0) 55%); }
  .story__grid, .product-detail, .cart-layout { grid-template-columns: 1fr; }
  .product-detail__media, .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .site-header__bar { position: relative; }
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-toggle {
    display: flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-card);
  }
  body.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--color-bg);
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line__end { grid-column: 1 / -1; justify-content: space-between; padding-top: 8px; }
}


/* ---------- شريط البحث بصفحة المنتجات ---------- */
.search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.search-bar input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  border: 1px solid var(--color-border, #E3D9C6);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: var(--color-ink);
}
.search-bar input[type="search"]:focus {
  outline: none;
  border-color: var(--color-honey);
  box-shadow: 0 0 0 3px rgba(184, 114, 46, 0.15);
}
.search-bar .btn { padding: 11px 26px; }
.search-bar__clear {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  text-decoration: underline;
}
@media (max-width: 520px) {
  .search-bar .btn { flex: 1; }
}


/* ---------- معرض صور المنتج ---------- */
.gallery { position: relative; overflow: hidden; border-radius: inherit; }
.gallery__track {
  display: flex;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}
.gallery__slide { flex: 0 0 100%; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { right: 10px; }
.gallery__nav--next { left: 10px; }
.gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.gallery__dot.is-active { background: var(--color-honey); width: 20px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .gallery__track { transition: none; }
}


/* ---------- منع الزوم التلقائي على الجوال ---------- */
/* iOS Safari بيزوّم الصفحة تلقائياً لما تضغطي على حقل خطه أصغر من 16px.
   هاي هي "الحركة المزعجة" — مش خطأ بالتصميم بل سلوك افتراضي بالمتصفح.
   توحيد الخط على 16px بيمنعها من أساسها. */
input, select, textarea, button {
  font-family: inherit;
  font-size: 16px;
}

/* منع تكبير النص تلقائياً لما يدور الجهاز للوضع الأفقي */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---------- زر الرجوع بصفحة المنتج ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border, #E3D9C6);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.back-link:hover { background: var(--color-bg-warm); }
/* السهم بيشير لليمين لأن الاتجاه RTL — الرجوع لليمين */
.back-link span { font-size: 1.15rem; line-height: 1; }

/* ---------- إشعار "تمت الإضافة للسلة" ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 9999;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: #a5312f; }

/* نبضة خفيفة على عداد السلة لما يتغيّر — تأكيد بصري إنو الطلب وصل */
.cart-badge.is-bump { animation: cartBump 0.45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.15s ease; transform: translate(-50%, 0); }
  .cart-badge.is-bump { animation: none; }
}

/* ---------- زر واتساب العائم على الجوال ---------- */
/* المشكلة: بحجم 56px وبُعد 22px عن الزاوية، كان بيقع فوق سعر الحجم
   بصفحة المنتج — وبيخفي السعر وممكن يبلع الضغطة على خيار المقاس.
   التصغير والتزحيل للزاوية بيقلّلوا التداخل، وpadding-bottom بيضمن
   إنو آخر المحتوى بالصفحة ما يضل مخفي تحته. */
@media (max-width: 600px) {
  .floating-wa {
    width: 46px;
    height: 46px;
    bottom: 12px;
    left: 12px;
    font-size: 1.2rem;
  }

  .product-detail,
  .cart-layout,
  .checkout-layout {
    padding-bottom: 80px;
  }
}

/* ---------- أيقونات التواصل بالفوتر ---------- */
.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: transform 0.18s ease, background 0.18s ease;
}
.social-btn svg { width: 21px; height: 21px; fill: currentColor; }
.social-btn:hover { transform: translateY(-2px); }
/* ألوان كل منصة عند المرور — تمييز بصري سريع */
.social-btn--wa:hover   { background: #25D366; }
.social-btn--fb:hover   { background: #1877F2; }
.social-btn--ig:hover   { background: #E1306C; }
.social-btn--snap:hover { background: #FFFC00; color: #1a1a1a; }
.social-btn--tt:hover   { background: #000; }

/* ---------- بطاقة موقع المحل ---------- */
.location-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.18s ease;
  max-width: 320px;
}
.location-card:hover { background: rgba(255, 255, 255, 0.15); }
.location-card__pin {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-honey);
  display: grid; place-items: center;
}
.location-card__pin svg { width: 19px; height: 19px; fill: #fff; }
.location-card__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
.location-card__text strong { font-size: 0.95rem; }
.location-card__text span { font-size: 0.85rem; opacity: 0.85; }
/* أفتح من --color-honey-light: البطاقة خلفيتها شبه شفافة فوق لون داكن،
   والتباين المحسوب كان دون الحد. #F0C68C يمر في كل الحالات. */
.location-card__cta { color: #F0C68C; font-weight: 700; }

/* ---------- سطر الفوتر السفلي ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.powered-by {
  color: inherit;
  opacity: 0.7;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.18s ease;
}
.powered-by:hover { opacity: 1; }
.powered-by strong { color: var(--color-honey-light); }

/* ---------- أيقونة واتساب العائمة ---------- */
.floating-wa svg { width: 27px; height: 27px; fill: currentColor; }
@media (max-width: 600px) {
  .floating-wa svg { width: 23px; height: 23px; }
  .social-btn { width: 40px; height: 40px; }
  .location-card { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- تنظيم صفحة المنتج ---------- */
/* عناوين صغيرة فوق كل مجموعة — بتعطي الصفحة إيقاع واضح بدل
   ما تكون كتلة عناصر ملزوقة ببعض */
.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-ink-soft);
  margin-bottom: 9px;
}
.field-label--inline { display: inline; margin-bottom: 0; font-size: 0.95rem; color: var(--color-ink); }

.product-detail__desc { margin: 14px 0 22px; }

/* الحجم المختار: حلقة خفيفة حواليه — تأكيد بصري أوضح من تغيير الحد فقط */
.variant-option:has(input:checked) {
  box-shadow: 0 0 0 3px rgba(184, 114, 46, 0.14);
}

@media (max-width: 600px) {
  /* الأزرار بعرض كامل: أسهل للضغط بالإبهام، وشكل أنضم من زرين
     بأحجام مختلفة جنب بعض */
  .product-detail .hero__actions { flex-direction: column; gap: 10px; }
  .product-detail .hero__actions .btn { width: 100%; }

  .product-detail h1 { font-size: 1.6rem; }
  .variant-option { padding: 13px 15px; }
  .variant-group { margin-bottom: 20px; }
  .qty-row { margin-bottom: 18px; }
}

/* ---------- صفحة إتمام الطلب على الجوال ---------- */
@media (max-width: 600px) {
  /* مساحة أوضح بين الحقول — الاستمارة أطول من غيرها وبتحتاج إيقاع
     مريح، خصوصاً إنو الزبون بيعبيها بإصبع واحد */
  .checkout-form .form-row,
  .cart-page .form-row { margin-bottom: 16px; }

  .cart-page label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.9rem;
  }

  /* ارتفاع أكبر للمس: 46px هو الحد اللي بتوصي فيه إرشادات الوصول */
  .cart-page input,
  .cart-page select,
  .cart-page textarea {
    min-height: 46px;
    padding: 11px 14px;
  }

  /* زر إتمام الطلب بعرض كامل وبارز — هو الهدف النهائي للصفحة */
  .cart-page .btn-primary,
  .cart-page button[type="submit"] {
    width: 100%;
    min-height: 50px;
    font-size: 1.02rem;
  }

  /* ملخص الطلب فوق الاستمارة على الجوال: الزبون بدو يشوف المجموع
     قبل ما يبلّش يعبّي */
  .cart-page h1, .cart-page h2 { font-size: 1.45rem; }
}



/* ---------- ملخص التقييمات ---------- */
.reviews-section { max-width: 760px; margin-top: 44px; padding-bottom: 60px; }
.reviews-title { margin-bottom: 18px; }

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--color-bg-warm);
  margin-bottom: 22px;
}
.rating-summary__score { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rating-summary__number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-honey-dark);
}
.rating-summary__stars { color: var(--color-honey); letter-spacing: 2px; }
.rating-summary__count { font-size: 0.82rem; color: var(--color-ink-soft); }

/* أشرطة توزيع النجوم — بتوضح إذا التقييمات متجانسة ولا متفرقة */
.rating-summary__bars { display: flex; flex-direction: column; gap: 5px; }
.rating-bar { display: grid; grid-template-columns: 34px 1fr 24px; gap: 9px; align-items: center; font-size: 0.8rem; }
.rating-bar__label { color: var(--color-ink-soft); white-space: nowrap; }
.rating-bar__track { height: 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.rating-bar__fill { display: block; height: 100%; background: var(--color-honey); border-radius: 999px; }
.rating-bar__count { color: var(--color-ink-soft); text-align: start; }

/* ---------- قائمة التقييمات ---------- */
.review-list { list-style: none; margin: 0; padding: 0; }
.review-item { border-bottom: 1px solid var(--color-border); padding: 15px 0; }
.review-item__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-item__stars { color: var(--color-honey); letter-spacing: 1px; }
.review-item__text { color: var(--color-ink-soft); margin-top: 7px; line-height: 1.7; }
/* المخفية موجودة بالصفحة — الفتح فوري بدون طلب من السيرفر */
.review-item.is-hidden { display: none; }
.review-list.is-expanded .review-item.is-hidden { display: block; }

.reviews-more {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.reviews-more:hover { background: var(--color-bg-warm); border-color: var(--color-honey); }

.reviews-note, .reviews-empty { color: var(--color-ink-soft); font-size: 0.88rem; margin-top: 12px; }

@media (max-width: 600px) {
  .rating-summary { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .rating-summary__bars { text-align: start; }
}

/* ---------- منتجات مشابهة: شريط أفقي مضغوط ---------- */
/* الهدف: اقتراح سريع بمساحة عمودية قليلة — مش شبكة تاخد نص الصفحة
   وتزاحم التقييمات وزر الشراء */
.similar-section { margin-top: 26px; padding-bottom: 6px; }
.similar-title { font-size: 1.15rem; margin-bottom: 12px; }

.similar-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  /* شريط تمرير رفيع وهادي بدل الافتراضي العريض */
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.similar-strip::-webkit-scrollbar { height: 5px; }
.similar-strip::-webkit-scrollbar-track { background: transparent; }
.similar-strip::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 999px; }

.mini-card {
  flex: 0 0 124px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.mini-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
}
.mini-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.mini-card:hover .mini-card__media img { transform: scale(1.06); }

.mini-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  /* سطرين كحد أقصى — عشان كل البطاقات تضل بنفس الارتفاع */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-honey-dark);
}

@media (max-width: 600px) {
  .mini-card { flex: 0 0 108px; }
  .similar-title { font-size: 1.05rem; }
}

/* ---------- صندوق الشراء ---------- */
/* الكمية وزر الإضافة بصف واحد: بيشيل ~157px فراغ ميت كان بين
   لابل "الكمية" والستيبر، وبيربط العنصرين المرتبطين ببعض بصرياً */
.buy-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
}
.qty-stepper { flex: 0 0 auto; }
.buy-row__add {
  flex: 1;
  padding: 15px 18px;
  min-height: 54px;
  font-size: 1.04rem;
  font-weight: 800;
  /* ظل خفيف يرفع الزر الأساسي بصرياً عن الثانوي */
  box-shadow: 0 3px 10px rgba(184, 114, 46, 0.28);
}

/* الزر الثانوي أقصر من الأساسي — الهرمية كانت مقلوبة:
   "اشترِ الآن" كان 57px و"أضف للسلة" 55px */
.buy-now {
  display: flex;
  width: 100%;
  /* padding أقل من .btn الأساسي (13px) — min-height لحاله ما بيصغّر،
     الـpadding هو اللي بيحدد الارتفاع الفعلي */
  padding: 10px 22px;
  min-height: 46px;
  font-size: 0.94rem;
  margin-bottom: 2px;
}

/* رابط نصي مش زر: الإجراء الثالث ما بصح ياخد نفس وزن زري الشراء */
.browse-link {
  display: block;
  text-align: center;
  padding: 12px 8px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}
.browse-link:hover { color: var(--color-honey-dark); text-decoration: underline; }

@media (max-width: 380px) {
  /* شاشات ضيقة جداً: الستيبر أصغر عشان يضل باين نص الزر */
  .qty-stepper button { width: 38px; }
  .qty-stepper input { width: 38px; }
}

/* ---------- تصحيح ارتفاع ستيبر الكمية ---------- */
/* المشكلة: .buy-row فيها align-items:stretch فالستيبر تمدد لـ62px
   ليطابق زر الإضافة، بينما أزراره الداخلية ضلّت 44px — فبان فراغ
   والخلفية ظهرت بالزوايا المدوّرة.
   الحل: الأبناء يتمددوا مع الحاوية. */
.buy-row .qty-stepper { align-items: stretch; }
.buy-row .qty-stepper button,
.buy-row .qty-stepper input {
  height: auto;
  align-self: stretch;
}

/* ---------- الوصف الكامل بأقسامه ---------- */
.product-desc {
  max-width: 760px;
  margin-top: 8px;
  padding-bottom: 12px;
}
.desc-block { margin-bottom: 22px; }
.desc-block__title {
  font-size: 1.08rem;
  color: var(--color-honey-dark);
  margin-bottom: 8px;
  /* خط عسلي قصير تحت العنوان — يفصل الأقسام بصرياً بدون حدود ثقيلة */
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-bg-warm);
}
.desc-block p {
  color: var(--color-ink-soft);
  line-height: 1.85;
  margin-bottom: 9px;
}

.desc-list { list-style: none; margin: 0; padding: 0; }
.desc-list li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--color-ink-soft);
  line-height: 1.8;
  margin-bottom: 7px;
}
/* دائرة عسلية بدل النقطة الافتراضية */
.desc-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-honey);
}

/* ---------- صندوق الملاحظات ---------- */
/* تحذيرات حقيقية (الأطفال، الحساسية، السكري) — تحتاج تمييزاً بصرياً
   حتى لا تضيع وسط بقية النص */
.desc-notes {
  margin: 26px 0 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #FDF6E7;
  border: 1px solid #EBD9AE;
  border-inline-start: 4px solid var(--color-honey);
}
.desc-notes__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  color: #8A6113;
  margin-bottom: 10px;
}
.desc-list--notes li { color: #6B4E17; }
.desc-list--notes li::before { background: #C9922E; }

@media (max-width: 600px) {
  .desc-block__title { font-size: 1rem; }
  .desc-block p, .desc-list li { font-size: 0.95rem; }
  .desc-notes { padding: 15px 16px; }
}

/* ---------- صفحات الشروط والخصوصية ---------- */
.policy-body { line-height: 1.95; color: var(--color-ink-soft); }
.policy-body h2 {
  font-size: 1.12rem;
  color: var(--color-honey-dark);
  margin: 30px 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--color-bg-warm);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { margin-bottom: 12px; }
.policy-body ul { list-style: none; margin: 0 0 14px; padding: 0; }
.policy-body li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 8px;
}
.policy-body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-honey);
}


/* ==========================================================
   بانرات الصفحة الرئيسية
   ========================================================== */

/* auto وليس 0: الحاوية تتوسّط بـmargin:0 auto، وكتابة 0 للجانبين
   تلغي التوسيط فيلتصق القسم بحافة السطر (اليمين في العربية). */
.banner-slider-wrap { margin: 0 auto 28px; }

.banner-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg, #FBF6EC);
  /* النسبة محجوزة مسبقاً حتى لا تقفز الصفحة عند تحميل الصورة
     (Cumulative Layout Shift — يخصم من تقييم السرعة ويزعج الزائر).
     القيمة تأتي من أبعاد الصورة المرفوعة نفسها، فلا يُقصّ من البانر شيء.
     القيمة الاحتياطية 5:2 تُستعمل فقط إن لم تُسجَّل الأبعاد. */
  aspect-ratio: var(--banner-ratio, 2.5);
}

.banner-slider__track { height: 100%; }

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.banner-slide.is-active { opacity: 1; pointer-events: auto; }

.banner-slide picture,
.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain لا cover: الإطار بنسبة الصورة أصلاً، فلا فرق عملي —
     لكن لو رفع الأدمن بانراً بنسبة مختلفة عن الأول، يظهر كاملاً
     مع هامش بدلاً من أن يُقصّ منه طرفاه. */
  object-fit: contain;
}

/* ---------- الأسهم ---------- */
.banner-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--color-ink, #2B2118);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(43, 33, 24, .18);
  transition: background .18s ease, transform .18s ease;
  z-index: 2;
}
.banner-slider__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.banner-slider__arrow--prev { right: 14px; }
.banner-slider__arrow--next { left: 14px; }

/* ---------- النقاط ---------- */
.banner-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.banner-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.banner-slider__dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #fff;
}

/* ---------- الجوال ---------- */
@media (max-width: 768px) {
  /* نسبة صورة الجوال إن رُفعت، وإلا نسبة صورة الكمبيوتر */
  .banner-slider { aspect-ratio: var(--banner-ratio-mobile, var(--banner-ratio, 2.5)); border-radius: 14px; }
  .banner-slider__arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .banner-slider__arrow--prev { right: 8px; }
  .banner-slider__arrow--next { left: 8px; }
}

/* بانر واحد فقط: لا داعي لأدوات تنقّل */
.banner-slider.is-single .banner-slider__arrow,
.banner-slider.is-single .banner-slider__dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .banner-slide { transition: none; }
}


/* ==========================================================
   خيارات الوزن والإضافة من بطاقة المنتج
   ========================================================== */

.product-card__form {
  margin-top: auto;        /* يلصق الخيارات والسعر والزر بأسفل البطاقة
                              حتى تتساوى البطاقات مهما اختلف طول الاسم */
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.product-card__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__option {
  flex: 1 1 auto;
  min-width: 58px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.product-card__option:hover:not(:disabled) { border-color: var(--color-honey); }

.product-card__option.is-active {
  border-color: var(--color-honey);
  background: var(--color-honey);
  color: #fff;
}

/* غير متوفر: يبقى ظاهراً ليعرف الزائر أن الوزن موجود لكنه نفد */
.product-card__option:disabled {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-card__price {
  margin-top: 0;
  padding-top: 0;
  gap: 4px;
  justify-content: flex-start;
}

.product-card__add {
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.94rem;
}

@media (max-width: 480px) {
  .product-card__option { min-width: 50px; font-size: 0.8rem; padding: 6px 8px; }
  .product-card__add { font-size: 0.88rem; }
}
