/* ═══════════════════════════════════════════════════════════════
   متجر فرح مصر — FARAH EGYPT STORE · Storefront Design System
   Navy + Gold · Cairo · RTL · mobile-first
   ───────────────────────────────────────────────────────────────
   الملف ده مشترك بين كل صفحات المتجر (الرئيسية، المنتج، الدفع،
   الصفحات الثابتة). css/cart.css (السلة) بيتحمّل بعده وبيغطي على
   قسم "CART baseline" تحت — القسم ده مكتوب بـ :where() علشان
   specificity = 0 وأي قاعدة في cart.css تكسب.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy-900: #0B1929;
  --navy-800: #12263F;
  --navy-700: #1B3553;
  --navy-600: #2A4A6E;
  --navy-100: #E8EDF3;
  --gold-500: #D4A853;
  --gold-300: #F0D78C;
  --gold-100: #FBF3DC;
  --gold-700: #9A7428;   /* ذهبي غامق — للنص على خلفية فاتحة (تباين 5:1) */
  --cream:    #F7F3EA;
  --bg:       #FAF8F3;
  --surface:  #FFFFFF;

  /* Text */
  --ink:   #0B1929;
  --ink-2: #33455C;
  --ink-3: #5E6B7C;
  --on-dark:   #FFFFFF;
  --on-dark-2: rgba(255,255,255,0.78);

  /* Lines */
  --line:   #E7E1D3;
  --line-2: #F0ECE3;

  /* Status */
  --sale:    #B42318;
  --sale-bg: #FEF1EF;
  --success: #157F4F;
  --success-bg: #EAF7F0;
  --danger:  #B42318;
  --warning: #B45309;
  --wa:      #128C4A;   /* واتساب — أخضر غامق بتباين كويس مع الأبيض */
  --wa-hover:#0E7A40;

  /* Type */
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --heading-font: var(--font);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-xl: clamp(1.45rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2.6vw, 3.1rem);

  /* Space / shape */
  --max-w: 1240px;
  --gutter: 1rem;
  --section-y: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(11,25,41,0.05), 0 1px 3px rgba(11,25,41,0.04);
  --sh-2: 0 8px 24px -10px rgba(11,25,41,0.16), 0 2px 6px rgba(11,25,41,0.04);
  --sh-3: 0 22px 48px -18px rgba(11,25,41,0.28);
  --sh-gold: 0 10px 28px -10px rgba(212,168,83,0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0.55, 0.45, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 420ms;

  /* Layout */
  --announce-h: 36px;
  --nav-h: 64px;
  --bottom-nav-h: 64px;
  --focus-ring: var(--gold-700);

  /* ── Legacy aliases (صفحات المنتج/الدفع و product-page.css بتستخدمهم) ── */
  --navy: var(--navy-900);
  --navy-mid: var(--navy-800);
  --navy-light: var(--navy-700);
  --gold: var(--gold-500);
  --gold-light: var(--gold-300);
  --gold-dark: var(--gold-700);
  --cream-2: var(--line);
  --white: #FFFFFF;
  --primary: var(--navy-800);
  --primary-color: var(--navy-800);
  --cta: var(--gold-500);
  --accent: var(--sale);
  --admin-gold: var(--gold-500);
  --neutral-dark: var(--ink);
  --neutral-mid: var(--ink-3);
  --background: var(--bg);
  --soft-accent-bg: var(--cream);
  --text-dark: var(--ink);
  --text-mid: var(--ink-2);
  --text-soft: var(--ink-3);
  --text-muted: var(--ink-3);
  --glass-bg: rgba(255,255,255,0.94);
  --glass-border: rgba(11,25,41,0.08);
  --glass-shadow: var(--sh-2);
  --glass-nav: rgba(255,255,255,0.9);
  --glass-nav-border: var(--line);
  --flash-bg: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 70%, var(--navy-700) 100%);
  --flash-accent: var(--gold-300);
  --flash-card-bg: #FFFFFF;
  --flash-discount-bg: var(--sale);
  --flash-discount-text: #FFFFFF;
  --shadow-xs: var(--sh-1);
  --shadow-sm: var(--sh-1);
  --shadow-md: var(--sh-2);
  --shadow-lg: var(--sh-3);
  --shadow-card: var(--sh-1);
  --shadow-card-hover: var(--sh-2);
  --shadow-gold: var(--sh-gold);
  --top-h: 0px;          /* الهيدر بقى sticky جوه الصفحة — مفيش إزاحة ثابتة */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
}
@media (min-width: 900px) {
  :root { --nav-h: 72px; --gutter: 1.5rem; }
}

/* ── 2. RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); font-weight: 800; line-height: 1.3; color: var(--ink); letter-spacing: 0; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold-300); color: var(--navy-900); }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .offers-section :focus-visible, .footer :focus-visible,
.announce :focus-visible, .topbar :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-300); }

.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 3000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wide-container, .container { width: min(var(--max-w), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.container { max-width: 1100px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.mesh-bg { display: none; }

/* ── 3. BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-full); border: 1.5px solid transparent;
  font-family: var(--font); font-size: var(--fs-base); font-weight: 700; line-height: 1.2;
  white-space: nowrap; cursor: pointer; text-align: center;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { flex-shrink: 0; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-md); }
.btn-full, .btn.w-full { width: 100%; }

.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); box-shadow: var(--sh-2); }

.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--sh-gold); }
.btn-gold:hover { background: #DDB566; }

.btn-outline-dark, .btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover, .btn-outline:hover { background: var(--navy-800); color: #fff; }

.btn-outline-light { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

.btn-ghost { background: var(--cream); color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--gold-500); }

.btn-glass { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,0.22); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); box-shadow: 0 10px 24px -10px rgba(18,140,74,0.6); }

.btn-secondary { background: var(--navy-100); color: var(--navy-800); }
.btn-secondary:hover { background: #DCE3EC; }

.btn-link { color: var(--gold-700); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ── 4. CHIPS / BADGES / PILLS ─────────────────────────────────── */
.chip, .filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-full);
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-2);
  font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover, .filter-chip:hover { border-color: var(--gold-500); color: var(--navy-900); }
.chip.active, .filter-chip.active, .chip[aria-pressed="true"], .filter-chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip-count { font-size: var(--fs-xs); opacity: 0.7; font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 800; line-height: 1.5;
}
.badge-sale { background: var(--sale); color: #fff; }
.badge-new  { background: var(--navy-800); color: var(--gold-300); }
.badge-hot  { background: var(--gold-500); color: var(--navy-900); }
.badge-soft { background: var(--gold-100); color: var(--gold-700); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 700;
  background: var(--gold-100); color: var(--gold-700);
}

/* ── 5. SKELETONS ──────────────────────────────────────────────── */
.skeleton {
  position: relative; overflow: hidden;
  background: #EEEAE1; border-radius: var(--r-sm);
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: translateX(100%);
  animation: skeletonShine 1.4s infinite;
}
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 10px; display: grid; gap: 10px; }
.skeleton-card .skeleton-img { aspect-ratio: 1; border-radius: var(--r-md); }
@keyframes skeletonShine { to { transform: translateX(-100%); } }

/* ── 6. ANNOUNCEMENT BAR ───────────────────────────────────────── */
.announce, .topbar {
  background: var(--navy-900); color: var(--on-dark);
  min-height: var(--announce-h);
  display: flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 600;
  position: relative; z-index: 901;
}
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--announce-h); }
.announce-viewport { position: relative; overflow: hidden; flex: 1; min-width: 0; text-align: center; }
.announce-msg { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 0; }
.announce-msg a, .announce-msg span { color: inherit; }
.announce-msg a { text-decoration: underline; text-decoration-color: rgba(240,215,140,0.55); text-underline-offset: 4px; }
.announce-msg a:hover { color: var(--gold-300); }
.announce-msg .announce-icon { margin-inline-end: 6px; }
.announce-dots { display: none; }
@media (min-width: 900px) {
  .announce-dots { display: flex; gap: 5px; flex-shrink: 0; }
  .announce-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.3); }
  .announce-dots span.on { background: var(--gold-300); }
}
/* Legacy topbar (الصفحات اللي لسه بالماركب القديم) */
.topbar-inner, .topbar-track { display: flex; align-items: center; justify-content: center; gap: 1rem; width: 100%; overflow: hidden; white-space: nowrap; padding: 6px 1rem; }
.topbar-sep { color: var(--gold-500); font-size: 0.7rem; }
@media (max-width: 640px) { .topbar-inner > :nth-child(n+4), .topbar-track > :nth-child(n+4) { display: none; } }

/* ── 7. HEADER ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-2);
  transition: height var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background-color var(--t-base);
}
.navbar.scrolled { height: calc(var(--nav-h) - 8px); box-shadow: 0 6px 24px -14px rgba(11,25,41,0.35); background: rgba(255,255,255,0.97); }
.nav-container {
  width: min(var(--max-w), calc(100% - 2 * var(--gutter))); margin-inline: auto;
  display: flex; align-items: center; gap: 12px; height: 100%;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: var(--gold-300); font-size: 1.35rem; font-weight: 800; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(240,215,140,0.25), var(--sh-1);
  transition: width var(--t-base) var(--ease), height var(--t-base) var(--ease);
}
.brand-mark::after { content: ''; }
.brand-mark img { width: 88%; height: 88%; object-fit: contain; display: block; }
.navbar.scrolled .brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-ar { font-size: 1.18rem; font-weight: 800; color: var(--navy-900); white-space: nowrap; }
.logo-en { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gold-700); white-space: nowrap; direction: ltr; text-align: right; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-right { display: flex; align-items: center; }
.nav-icon-btn, .hamburger-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: inline-grid; place-items: center; color: var(--navy-800);
  transition: background-color var(--t-fast);
}
.nav-icon-btn:hover, .hamburger-btn:hover { background: var(--cream); }
.nav-icon-btn svg, .hamburger-btn svg { width: 24px; height: 24px; }
.cart-badge {
  position: absolute; top: 2px; inset-inline-end: 0;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 0.7rem; font-weight: 800; line-height: 1;
  border: 2px solid #fff;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base);
}
.nav-home-link { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); padding: 8px 4px; }
.lang-toggle-btn { display: none; }
@media (min-width: 1000px) {
  .hamburger-btn { display: none; }
  .nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 1.5rem; }
  .nav-links a {
    position: relative; padding: 8px 12px; border-radius: 10px;
    font-size: 0.95rem; font-weight: 700; color: var(--ink-2);
    transition: color var(--t-fast), background-color var(--t-fast);
  }
  .nav-links a:hover { color: var(--navy-900); background: var(--cream); }
  .nav-links a[aria-current="page"] { color: var(--navy-900); }
  .nav-links a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-500); }
  .logo-ar { font-size: 1.3rem; }
}
@media (max-width: 380px) {
  .logo-en { display: none; }
  .logo-ar { font-size: 1.05rem; }
}

/* ── 8. MOBILE NAV DRAWER ──────────────────────────────────────── */
.mobile-nav-overlay, .drawer-overlay {
  position: fixed; inset: 0; z-index: 1190;
  background: rgba(11,25,41,0.5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease);
}
.mobile-nav-overlay.open, .drawer-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 1200;
  width: min(340px, 88vw);
  background: var(--surface);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
  box-shadow: var(--sh-3);
}
.mobile-nav.open { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease), visibility 0s; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.mobile-nav-header .nav-logo { gap: 8px; }
#mobile-nav-close { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--navy-800); }
#mobile-nav-close:hover { background: var(--cream); }
.mobile-nav-links { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 12px;
  min-height: 50px; padding: 0 14px; border-radius: var(--r-sm);
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.mobile-nav-links a:hover, .mobile-nav-links a[aria-current="page"] { background: var(--cream); color: var(--navy-900); }
.mobile-nav-links a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--gold-500); }
.mobile-nav-links .mn-icon { width: 28px; text-align: center; font-size: 1.15rem; }
.mobile-nav-sep { height: 1px; background: var(--line-2); margin: 8px 14px; }
.mobile-nav-foot { padding: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.mobile-nav-foot p { font-size: var(--fs-sm); color: var(--ink-3); text-align: center; }

/* ── 9. SECTIONS ───────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface); }
.section-cream { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-eyebrow, .section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 800; color: var(--gold-700);
  margin-bottom: 4px;
}
.section-tag { background: var(--gold-100); padding: 4px 12px; border-radius: var(--r-full); }
.section-heading, .section-title { font-size: var(--fs-xl); color: var(--ink); margin: 0; }
.section-sub { color: var(--ink-3); margin-top: 6px; font-size: var(--fs-base); max-width: 60ch; }
.section-header { text-align: center; }
.see-all-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800);
  padding: 8px 14px; border-radius: var(--r-full); border: 1.5px solid var(--line);
  background: var(--surface); transition: border-color var(--t-fast), background-color var(--t-fast);
}
.see-all-link:hover { border-color: var(--gold-500); background: var(--gold-100); }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ── 10. HERO ──────────────────────────────────────────────────── */
.hero { padding: 12px 0 0; }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(212,168,83,0.22), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(42,74,110,0.55), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--on-dark);
  padding: clamp(1.75rem, 1rem + 4vw, 4rem) clamp(1.25rem, 0.8rem + 3vw, 3.5rem);
  display: grid; gap: 1.75rem; align-items: center;
}
.hero-card::before {
  content: ''; position: absolute; z-index: -1;
  width: 520px; height: 520px; border-radius: 50%;
  inset-inline-end: -180px; top: -200px;
  border: 1px solid rgba(240,215,140,0.16);
  box-shadow: 0 0 0 60px rgba(240,215,140,0.035), 0 0 0 130px rgba(240,215,140,0.025);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(240,215,140,0.12); border: 1px solid rgba(240,215,140,0.3);
  color: var(--gold-300); font-size: var(--fs-sm); font-weight: 700;
  margin-bottom: 14px;
}
.hero-title { font-size: var(--fs-2xl); font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.hero-title .hero-accent { color: var(--gold-300); display: block; }
.hero-sub { color: var(--on-dark-2); font-size: var(--fs-md); max-width: 46ch; margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--on-dark-2); font-size: var(--fs-sm); font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 0; }
.hero-shot {
  position: relative; display: block; aspect-ratio: 1;
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.5);
  transition: transform var(--t-base) var(--ease);
}
.hero-shot img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.hero-shot:hover { transform: translateY(-4px); }
.hero-shot-price {
  position: absolute; bottom: 8px; inset-inline-start: 8px;
  background: rgba(11,25,41,0.88); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 2px 8px; border-radius: var(--r-full);
}
.hero-shot.skeleton { background: rgba(255,255,255,0.08); box-shadow: none; }
.hero-shot.skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
@media (min-width: 900px) {
  .hero { padding-top: 20px; }
  .hero-card { grid-template-columns: 1.1fr 1fr; gap: 3rem; min-height: 460px; }
  .hero-visual { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
  .hero-visual .hero-shot:first-child { grid-row: span 2; aspect-ratio: auto; }
  .hero-shot-price { font-size: var(--fs-sm); bottom: 12px; inset-inline-start: 12px; }
}

/* ── 11. TRUST STRIP ───────────────────────────────────────────── */
.trust-strip { padding-block: 1.25rem; }
.trust-grid, .trust-bar-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-2);
  min-width: 0;
}
.trust-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--gold-100);
}
.trust-item div { display: flex; flex-direction: column; min-width: 0; }
.trust-item strong { font-size: var(--fs-sm); font-weight: 800; color: var(--navy-900); line-height: 1.35; }
.trust-item span:not(.trust-icon) { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.trust-item a { color: var(--gold-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .trust-grid, .trust-bar-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
  .trust-item { padding: 18px; }
}

/* ── 12. CATEGORY TILES ────────────────────────────────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 8px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2);
  text-align: center; cursor: pointer; min-width: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.cat-tile:hover { border-color: var(--gold-500); box-shadow: var(--sh-2); transform: translateY(-2px); }
.cat-tile-media {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-md);
  background: var(--cream); display: grid; place-items: center; overflow: hidden;
  font-size: 2rem;
}
.cat-tile-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.cat-tile-name { font-size: var(--fs-sm); font-weight: 800; color: var(--navy-900); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile-count { font-size: var(--fs-xs); color: var(--ink-3); margin-top: -4px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
/* legacy */
.cat-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

/* ── 13. PRODUCT CARD ──────────────────────────────────────────── */
.products-masonry, .products-grid, .products-row, .flash-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (min-width: 640px) {
  .products-masonry, .products-grid, .products-row, .flash-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
}
.prod-card, .prod-grid-card, .product-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--sh-1);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-fast);
}
@media (hover: hover) {
  .prod-card:hover, .prod-grid-card:hover, .product-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line); }
  .prod-card:hover .prod-card-img img, .prod-grid-card:hover .prod-card-img img { transform: scale(1.04); }
}
.prod-card-img {
  position: relative; aspect-ratio: 1; background: #fff; overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.prod-card-img > a, .prod-card-media { display: block; width: 100%; height: 100%; }
.prod-card-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 6%;
  transition: transform var(--t-slow) var(--ease);
}
.prod-card-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 800; line-height: 1.5;
  max-width: calc(100% - 64px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prod-card-out {
  position: absolute; inset-inline: 10px; bottom: 10px; z-index: 2;
  text-align: center; font-size: var(--fs-xs); font-weight: 800;
  background: rgba(11,25,41,0.82); color: #fff; padding: 4px 8px; border-radius: var(--r-full);
}
.prod-qv-btn, .prod-action-btn {
  position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.94); color: var(--navy-800);
  border: 1px solid var(--line-2); box-shadow: var(--sh-1);
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.prod-qv-btn:hover, .prod-action-btn:hover { background: var(--navy-800); color: #fff; }
.prod-qv-btn svg { width: 20px; height: 20px; }
.prod-card-actions { position: absolute; top: 0; inset-inline-end: 0; z-index: 2; }
.prod-card-actions .prod-action-btn { position: absolute; }
.prod-card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.prod-card-cat { font-size: 0.7rem; font-weight: 700; color: var(--gold-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-card-title { font-size: inherit; font-weight: inherit; margin: 0; }
.prod-card-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.92rem; font-weight: 700; line-height: 1.5; color: var(--ink);
  min-height: calc(0.92rem * 1.5 * 2);
}
.prod-card-name:hover { color: var(--navy-600); }
.prod-card-stars { display: none; }
.prod-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.prod-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.prod-price-now { font-size: 1.08rem; font-weight: 800; color: var(--navy-900); white-space: nowrap; }
.prod-price-now small, .prod-price-now span { font-size: 0.72em; font-weight: 700; }
.prod-price-was { font-size: 0.8rem; color: var(--ink-3); text-decoration: line-through; white-space: nowrap; }
.prod-price-pct { font-size: 0.72rem; font-weight: 800; color: var(--sale); background: var(--sale-bg); padding: 1px 7px; border-radius: var(--r-full); }
.prod-add-btn {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--navy-800); color: #fff;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.prod-add-btn:hover { background: var(--navy-900); }
.prod-add-btn:active { transform: scale(0.96); }
.prod-add-btn.is-wide {
  width: 100%; height: auto; min-height: 42px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 700; padding: 0 12px;
}
.prod-add-btn.is-wide svg { width: 18px; height: 18px; }
.prod-add-btn.is-added { background: var(--success); }
.prod-add-btn.is-notify, .prod-add-btn.notify-btn { background: var(--cream); color: var(--navy-800); border: 1.5px solid var(--line); }
.prod-add-btn.is-notify:hover { border-color: var(--gold-500); background: var(--gold-100); }
.real-photo-badge { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(11,25,41,0.86); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); pointer-events: none; z-index: 2; }
.real-photo-dot { position: absolute; top: 2px; right: 2px; font-size: 0.7rem; line-height: 1; background: #fff; border-radius: 50%; padding: 2px; }
.grid-animate > * { animation: cardIn 0.45s var(--ease) both; }
.grid-animate > *:nth-child(2) { animation-delay: 40ms; }
.grid-animate > *:nth-child(3) { animation-delay: 80ms; }
.grid-animate > *:nth-child(4) { animation-delay: 120ms; }
.grid-animate > *:nth-child(5) { animation-delay: 160ms; }
.grid-animate > *:nth-child(n+6) { animation-delay: 200ms; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 380px) {
  .prod-card-body { padding: 8px 10px 10px; }
  .prod-card-name { font-size: 0.86rem; min-height: calc(0.86rem * 1.5 * 2); }
  .prod-add-btn.is-wide { font-size: 0.8rem; gap: 4px; }
}

/* ── 14. H-SCROLL RAIL (وصل حديثاً) ────────────────────────────── */
.h-scroll-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 16px;
  scrollbar-width: none;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
.h-scroll-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .h-scroll-track { grid-auto-columns: 230px; gap: 16px; } }
@media (min-width: 1000px) {
  .h-scroll-track { padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }
}
.rail-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .rail-nav { display: flex; } }
.rail-btn, .strip-scroll-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--navy-800);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.rail-btn:hover, .strip-scroll-btn:hover { border-color: var(--gold-500); background: var(--gold-100); }
.strip-section { padding-block: var(--section-y); }
.strip-header { width: min(var(--max-w), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.25rem; }

/* ── 15. SHOP TOOLBAR (بحث / ترتيب / أقسام) ────────────────────── */
.shop-toolbar { display: grid; gap: 12px; margin-bottom: 1rem; }
.shop-controls { display: flex; gap: 10px; }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-box > svg { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search-input {
  width: 100%; min-height: 48px;
  padding-inline-start: 44px; padding-inline-end: 40px;
  border-radius: var(--r-full); border: 1.5px solid var(--line); background: var(--surface);
  font-size: var(--fs-base); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.search-input::placeholder { color: var(--ink-3); }
.search-input:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(42,74,110,0.12); outline: none; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-clear {
  position: absolute; top: 50%; inset-inline-end: 6px; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3);
}
.search-clear:hover { background: var(--cream); color: var(--ink); }
.sort-select-wrap { position: relative; flex-shrink: 0; }
.sort-select {
  min-height: 48px; padding-inline: 16px 36px; border-radius: var(--r-full);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 700; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312263F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 12px center; background-size: 16px;
}
.sort-select:focus-visible { border-color: var(--navy-600); }
.filter-bar {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px;
  scroll-padding-inline: var(--gutter);
}
.filter-bar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filter-bar { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.results-meta { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; min-height: 1.5em; }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 3rem 1rem;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg);
  display: grid; justify-items: center; gap: 10px; color: var(--ink-2);
}
.empty-state-icon { font-size: 2.4rem; }
.all-products-section { padding-block: var(--section-y); }

/* ── 16. OFFERS (عرض اليوم + العروض الشغالة) ───────────────────── */
.offers-section, .flash-section {
  background: var(--flash-bg); color: var(--on-dark);
  padding-block: var(--section-y); position: relative; overflow: hidden; isolation: isolate;
}
.offers-section::before {
  content: ''; position: absolute; z-index: -1; inset: auto auto -40% -10%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,168,83,0.2), transparent);
}
.offers-head { margin-bottom: 1.5rem; }
.offers-head .section-eyebrow { color: var(--gold-300); }
.offers-head .section-heading, .flash-section-header .section-heading { color: #fff; }
.offers-block { position: relative; }
.offers-block + .offers-block,
#daily-deal:not([hidden]) + #offers-list .offers-block:first-child { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.offers-block-title { font-size: var(--fs-lg); font-weight: 800; color: #fff; margin: 0; }
.offers-block-sub { color: var(--on-dark-2); font-size: var(--fs-sm); margin-top: 4px; }
.offer-banner-head { margin-bottom: 1.25rem; }
.offer-banner-until {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900);
  background: var(--gold-300); padding: 4px 12px; border-radius: var(--r-full);
}
.offers-section .prod-grid-card, .offers-section .prod-card { border-color: transparent; }
.offer-until { margin-top: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--sale); }
.offer-countdown { font-variant-numeric: tabular-nums; }
.flash-section-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }

/* Deal card */
.deal-card {
  display: grid; gap: 0; background: #fff; color: var(--ink);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3);
}
.deal-media { position: relative; display: block; background: #fff; aspect-ratio: 1; border-bottom: 1px solid var(--line-2); }
.deal-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.deal-pct {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: var(--sale); color: #fff; font-weight: 800; font-size: var(--fs-sm);
  padding: 4px 12px; border-radius: var(--r-full);
}
.deal-body { padding: 18px; display: grid; gap: 12px; align-content: start; }
.deal-label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 800; color: var(--gold-700); }
.deal-name { font-size: var(--fs-lg); font-weight: 800; line-height: 1.4; color: var(--ink); }
.deal-name:hover { color: var(--navy-600); }
.deal-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.deal-now { font-size: 1.7rem; font-weight: 800; color: var(--navy-900); }
.deal-was { font-size: var(--fs-base); color: var(--ink-3); text-decoration: line-through; }
.deal-note { font-size: var(--fs-sm); color: var(--ink-3); }
.deal-timer { display: flex; align-items: center; gap: 8px; direction: ltr; justify-content: flex-end; }
.deal-timer-label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); direction: rtl; }
.deal-timer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--r-md); background: var(--cream); }
.timer-block-lg {
  min-width: 52px; text-align: center; padding: 6px 8px; border-radius: var(--r-sm);
  background: var(--navy-900); color: #fff;
}
.timer-block-lg span { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer-block-lg small { display: block; font-size: 0.65rem; color: var(--gold-300); font-weight: 600; }
.deal-timer > span { font-weight: 800; color: var(--navy-900); }
.deal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.deal-actions .btn { flex: 1; min-width: 150px; }
@media (min-width: 800px) {
  .deal-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .deal-media { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-inline-end: 1px solid var(--line-2); }
  .deal-body { padding: 28px; align-content: center; }
}
/* legacy flash card (لو صفحة تانية بتستخدمه) */
.flash-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; color: var(--ink); }
.flash-card-img { position: relative; aspect-ratio: 1; background: #fff; }
.flash-card-img img { width: 100%; height: 100%; object-fit: contain; }
.flash-card-body { padding: 16px; }
.flash-card-name { font-weight: 800; color: var(--ink); }
.flash-card-new { font-weight: 800; color: var(--navy-900); font-size: 1.3rem; }
.flash-card-old { color: var(--ink-3); text-decoration: line-through; }
.flash-discount-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--sale); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: var(--r-full); font-size: var(--fs-sm); }

/* ── 17. WHY US / FAQ / CTA ────────────────────────────────────── */
.why-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 20px; display: grid; gap: 8px; align-content: start;
}
.why-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--navy-100); }
.why-card h3 { font-size: var(--fs-md); color: var(--navy-900); }
.why-card p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.8; }

.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-base); }
.faq-item[open] { border-color: var(--line); box-shadow: var(--sh-1); }
.faq-question, .faq-item > summary {
  width: 100%; min-height: 56px; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 700; font-size: var(--fs-base); color: var(--navy-900); text-align: start;
  cursor: pointer; list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--gold-700);
  font-size: 1.1rem; font-weight: 700; transition: transform var(--t-base) var(--ease), background-color var(--t-fast);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold-100); }
.faq-answer { padding: 0 18px 16px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.9; }
.faq-answer a { color: var(--gold-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-more { text-align: center; margin-top: 1.25rem; color: var(--ink-3); font-size: var(--fs-sm); }
.faq-more a { color: var(--gold-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.cta-band, .newsletter {
  border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  display: grid; gap: 1.25rem; align-items: center;
}
.cta-band::after {
  content: ''; position: absolute; z-index: -1; inset-inline-start: -60px; bottom: -120px;
  width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,168,83,0.3), transparent);
}
.cta-band h2, .newsletter h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: 6px; }
.cta-band p, .newsletter p { color: var(--on-dark-2); }
.cta-band .section-eyebrow { color: var(--gold-300); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ── 18. FOOTER ────────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: var(--on-dark-2); margin-top: var(--section-y); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; } }
.footer .nav-logo .logo-ar, .footer-logo .logo-ar { color: #fff; }
.footer .nav-logo .logo-en { color: var(--gold-300); }
.footer-brand p { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.9; max-width: 36ch; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #fff;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-btn:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h2, .footer-col h4 { color: var(--gold-300); font-size: var(--fs-base); font-weight: 800; margin-bottom: 8px; }
.footer-col a { color: var(--on-dark-2); font-size: var(--fs-sm); padding: 5px 0; transition: color var(--t-fast); width: fit-content; }
.footer-col a:hover { color: #fff; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip { padding: 6px 12px; border-radius: var(--r-full); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-size: var(--fs-xs); font-weight: 700; }
.footer-note { font-size: var(--fs-xs); margin-top: 10px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.25rem; font-size: var(--fs-sm); color: rgba(255,255,255,0.65); }
.footer-bottom-inner, .footer-bottom .wide-container, .footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-bottom-inner a { color: rgba(255,255,255,0.72); }
.footer-legal a:hover, .footer-bottom-inner a:hover { color: var(--gold-300); }
.footer-logo .logo-en { color: var(--gold-300); }

/* ── 19. DRAWERS (عرض سريع + الأقسام) ──────────────────────────── */
.qv-drawer, .cats-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 1201;
  width: min(460px, 100%);
  background: var(--surface); box-shadow: var(--sh-3);
  display: flex; flex-direction: column;
  transform: translateX(-100%); visibility: hidden;
  transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
}
.qv-drawer.open, .cats-drawer.open { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease), visibility 0s; }
@media (max-width: 640px) {
  .qv-drawer, .cats-drawer {
    top: auto; inset-inline: 0; width: 100%; max-height: 90dvh; max-height: 90vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(100%);
  }
  .qv-drawer::before, .cats-drawer::before {
    content: ''; width: 40px; height: 4px; border-radius: 4px; background: var(--line);
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  }
}
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line-2); }
.drawer-header h2 { font-size: var(--fs-lg); }
.drawer-close {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; background: var(--cream); color: var(--navy-800);
  transition: background-color var(--t-fast);
}
.drawer-close:hover { background: var(--line); }
.cats-body { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 8px; align-content: start; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.cat-item-link {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 56px; padding: 8px 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1.5px solid var(--line-2);
  font-weight: 700; color: var(--navy-900); text-align: start;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.cat-item-link:hover { border-color: var(--gold-500); background: var(--gold-100); }
.cat-item-icon { font-size: 1.4rem; width: 36px; text-align: center; }
.cat-item-name { flex: 1; }
.cat-item-count { font-size: var(--fs-xs); color: var(--ink-3); background: var(--cream); padding: 3px 10px; border-radius: var(--r-full); }

/* Quick view */
.qv-body { flex: 1; overflow-y: auto; padding: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 14px; align-content: start; }
.qv-media { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.qv-img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-sm); border: 2px solid var(--line-2); background: #fff; object-fit: contain; cursor: pointer; }
.qv-thumb:hover, .qv-thumb.active { border-color: var(--gold-500); }
.qv-cat { font-size: var(--fs-xs); font-weight: 700; color: var(--gold-700); }
.qv-name { font-size: var(--fs-lg); font-weight: 800; line-height: 1.45; color: var(--ink); }
.qv-rating, .qv-stars, .qv-rating-count { display: none; }
.qv-desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.qv-price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.qv-price-now { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); }
.qv-price-was { font-size: var(--fs-base); color: var(--ink-3); text-decoration: line-through; }
.qv-discount { font-size: var(--fs-xs); font-weight: 800; color: var(--sale); background: var(--sale-bg); padding: 2px 10px; border-radius: var(--r-full); }
.qv-price-block .offer-until { flex-basis: 100%; margin-top: 0; }
.qv-variants { display: grid; gap: 8px; }
.qv-variant-label { font-weight: 700; font-size: var(--fs-sm); }
.qv-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.qv-variant-btn { min-height: 40px; padding: 0 16px; border-radius: var(--r-full); border: 1.5px solid var(--line); font-weight: 700; font-size: var(--fs-sm); background: #fff; }
.qv-variant-btn:hover { border-color: var(--gold-500); }
.qv-variant-btn.active { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.qv-actions { display: flex; gap: 10px; align-items: stretch; }
.qv-qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-full); background: #fff; flex-shrink: 0; }
.qv-qty-btn { width: 44px; height: 48px; font-size: 1.2rem; font-weight: 700; color: var(--navy-800); }
.qv-qty-num { width: 36px; text-align: center; font-weight: 800; background: transparent; border: 0; -moz-appearance: textfield; }
.qv-qty-num::-webkit-inner-spin-button, .qv-qty-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qv-add-btn { flex: 1; }
.qv-notify { background: var(--cream); border: 1px dashed var(--line); border-radius: var(--r-md); padding: 14px; display: grid; gap: 10px; }
.qv-notify h3 { font-size: var(--fs-base); color: var(--sale); }
.qv-notify p { font-size: var(--fs-sm); color: var(--ink-2); }
.qv-notify-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-notify-fields .form-control { flex: 1 1 140px; min-height: 44px; padding: 8px 12px; font-size: var(--fs-sm); }
.qv-notify-ok { text-align: center; color: var(--success); font-weight: 700; }

/* ── 20. CART baseline (css/cart.css بيغطي عليه) ───────────────── */
:where(.cart-drawer) {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 1201;
  width: min(440px, 100%); background: var(--surface); box-shadow: var(--sh-3);
  display: flex; flex-direction: column;
  transform: translateX(-100%); visibility: hidden;
  transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
}
:where(.cart-drawer.open) { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease), visibility 0s; }
:where(.cart-count-label) { font-size: var(--fs-sm); color: var(--ink-3); }
:where(.cart-body) { flex: 1; overflow-y: auto; padding: 14px; }
:where(.cart-empty-state) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100%; text-align: center; color: var(--ink-3); padding: 2rem 1rem; }
:where(.cart-item-card) { display: flex; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-2); transition: opacity var(--t-base); }
:where(.cart-item-img) { width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--r-sm); object-fit: contain; background: #fff; border: 1px solid var(--line-2); }
:where(.cart-item-info) { flex: 1; min-width: 0; }
:where(.cart-item-name) { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); line-height: 1.5; }
:where(.cart-item-variant) { font-size: var(--fs-xs); color: var(--ink-3); }
:where(.cart-item-price) { font-weight: 800; color: var(--navy-900); margin-top: 2px; }
:where(.cart-item-was) { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); margin-inline-start: 6px; }
:where(.cart-item-row) { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
:where(.qty-control) { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-full); }
:where(.qty-btn) { width: 36px; height: 36px; font-size: 1.1rem; font-weight: 700; color: var(--navy-800); }
:where(.qty-num) { min-width: 28px; text-align: center; font-weight: 800; }
:where(.cart-item-remove) { font-size: var(--fs-xs); font-weight: 700; color: var(--sale); padding: 6px 10px; border-radius: var(--r-xs); }
:where(.cart-item-remove:hover) { background: var(--sale-bg); }
:where(.cart-footer-panel) { flex-direction: column; gap: 8px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: #fff; }
:where(.cart-summary) { margin-bottom: 6px; }
:where(.cart-summary-row) { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink-2); padding: 3px 0; }
:where(.total-row) { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 10px; font-size: var(--fs-md); color: var(--ink); }
:where(.total-row strong) { font-weight: 800; color: var(--navy-900); }
:where(.shipping-progress-container) { padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--cream); }
:where(#shipping-msg) { font-size: var(--fs-sm); text-align: center; margin-bottom: 8px; }
:where(.progress-track) { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
:where(.progress-fill) { height: 100%; width: 0; border-radius: 8px; background: var(--gold-500); transition: width 0.4s var(--ease), background-color 0.4s; }
:where(.upsell-card-container) { margin: 10px 14px; padding: 10px; border: 1px dashed var(--gold-500); border-radius: var(--r-sm); background: var(--gold-100); max-height: 160px; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease; }
:where(.upsell-card-container.hidden-fade) { max-height: 0; opacity: 0; margin-block: 0; padding-block: 0; border-width: 0; }
.btn-upsell-pulse { animation: pulseUpsell 2s infinite; }
@keyframes pulseUpsell { 0% { box-shadow: 0 0 0 0 rgba(212,168,83,0.5); } 70% { box-shadow: 0 0 0 8px rgba(212,168,83,0); } 100% { box-shadow: 0 0 0 0 rgba(212,168,83,0); } }

/* ── 21. TOASTS ────────────────────────────────────────────────── */
.toast-stack {
  position: fixed; z-index: 2000; pointer-events: none;
  inset-inline: 12px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
body.has-bottom-nav .toast-stack { bottom: calc(var(--bottom-nav-h) + 24px + env(safe-area-inset-bottom)); }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  max-width: 440px; width: fit-content;
  padding: 12px 18px; border-radius: var(--r-md);
  background: var(--navy-900); color: #fff; box-shadow: var(--sh-3);
  font-size: var(--fs-sm); font-weight: 700;
  border-inline-start: 4px solid var(--gold-500);
  animation: toastIn 0.32s var(--ease) both;
}
.toast.success, .toast.toast-success { border-inline-start-color: #3BC47F; }
.toast.error, .toast.toast-error { border-inline-start-color: #F26B5B; }
.toast.warning, .toast.toast-warning { border-inline-start-color: #F5B454; }
.toast.fadeOut { animation: toastOut 0.28s ease forwards; }
@media (min-width: 900px) {
  .toast-stack, body.has-bottom-nav .toast-stack { inset-inline: auto 24px; bottom: 24px; align-items: flex-start; }
}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ── 22. BOTTOM NAV / FLOATING BUTTONS ─────────────────────────── */
.mobile-bottom-nav {
  position: fixed; z-index: 950;
  inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--bottom-nav-h);
  display: flex; align-items: stretch; justify-content: space-around;
  padding: 0 6px; border-radius: 22px;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 32px -12px rgba(11,25,41,0.3);
}
.mobile-bottom-nav > a, .mobile-bottom-nav > button {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 0.7rem; font-weight: 700; color: var(--ink-3);
  border-radius: 16px; -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast);
}
.mobile-bottom-nav svg { width: 24px; height: 24px; stroke-width: 2; }
.mobile-bottom-nav .bn-icon { position: relative; display: grid; place-items: center; width: 48px; height: 30px; border-radius: 15px; transition: background-color var(--t-fast); }
.mobile-bottom-nav a.active, .mobile-bottom-nav a[aria-current="page"], .mobile-bottom-nav .is-active { color: var(--navy-900); }
.mobile-bottom-nav a.active .bn-icon, .mobile-bottom-nav a[aria-current="page"] .bn-icon, .mobile-bottom-nav .is-active .bn-icon { background: var(--gold-100); color: var(--gold-700); }
.mobile-bottom-nav .bn-offers { color: var(--sale); }
.cart-badge-bottom {
  position: absolute; top: -4px; inset-inline-end: 4px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-size: 0.65rem; font-weight: 800; line-height: 1;
  border: 2px solid #fff;
}
.cart-badge-bottom[data-empty="true"] { display: none; }
body.has-bottom-nav { padding-bottom: calc(var(--bottom-nav-h) + 20px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .mobile-bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
}

.wa-float {
  position: fixed; z-index: 940;
  inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(18,140,74,0.6);
  transition: transform var(--t-base) var(--ease), background-color var(--t-fast);
}
.wa-float:hover { background: var(--wa-hover); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
body.has-bottom-nav .wa-float { bottom: calc(var(--bottom-nav-h) + 22px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }

.back-top {
  position: fixed; z-index: 939;
  inset-inline-start: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--navy-800); border: 1px solid var(--line); box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base) var(--ease), background-color var(--t-fast);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--gold-100); }
body.has-bottom-nav .back-top { bottom: calc(var(--bottom-nav-h) + 24px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  body.has-bottom-nav .wa-float, .wa-float { bottom: 24px; inset-inline-end: 24px; width: 56px; height: 56px; }
  body.has-bottom-nav .back-top, .back-top { bottom: 30px; inset-inline-start: 24px; }
}

/* ── 23. INNER PAGES ───────────────────────────────────────────── */
.page-hero {
  padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(212,168,83,0.16), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.page-hero h1 { font-size: var(--fs-2xl); color: var(--navy-900); margin-bottom: 6px; }
.page-hero p { color: var(--ink-2); font-size: var(--fs-md); max-width: 60ch; margin-inline: auto; }
.breadcrumb, .page-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 10px; }
.page-crumbs a { color: var(--gold-700); font-weight: 700; }
.page-section { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.legal-content {
  max-width: 820px; margin: 0 auto; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-1);
}
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; }
.legal-toc a { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); padding: 6px 12px; border-radius: var(--r-full); background: var(--cream); border: 1px solid var(--line-2); }
.legal-toc a:hover { border-color: var(--gold-500); }
.legal-h { font-size: var(--fs-lg); color: var(--navy-900); margin: 2rem 0 0.75rem; }
.legal-h:first-of-type { margin-top: 0; }
.legal-p { color: var(--ink-2); line-height: 2; margin-bottom: 1rem; }
.legal-list { display: grid; gap: 8px; margin-bottom: 1rem; color: var(--ink-2); line-height: 1.9; }
.legal-list li { position: relative; padding-inline-start: 22px; }
.legal-list li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 0.8em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.legal-highlight {
  background: var(--gold-100); border: 1px solid rgba(212,168,83,0.45); border-inline-start: 4px solid var(--gold-500);
  padding: 14px 16px; border-radius: var(--r-md); color: var(--ink);
}
.legal-content a:not(.btn) { color: var(--gold-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: var(--fs-sm); color: var(--ink-3); margin-top: 2rem; }

.contact-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-bottom: 2rem; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 24px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-fast);
}
a.contact-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--line); }
.contact-card-whatsapp { border-color: rgba(18,140,74,0.35); background: linear-gradient(180deg, #F1FAF5, #fff); }
.contact-card h2, .contact-card h3 { font-size: var(--fs-md); color: var(--navy-900); }
.contact-card p { font-size: var(--fs-sm); color: var(--ink-2); }
.contact-value { margin-top: 6px; font-weight: 800; color: var(--navy-800); font-size: var(--fs-md); }
.contact-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--gold-100); margin-bottom: 4px; }
.contact-card-whatsapp .contact-icon { background: #DDF3E6; }
.note-card { max-width: 680px; margin: 0 auto 2.5rem; padding: 24px; text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); display: grid; gap: 12px; justify-items: center; }
.note-card h2 { font-size: var(--fs-lg); }
.note-card p { color: var(--ink-2); line-height: 1.9; }

/* About */
.about-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; } }
.about-story { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.about-story h2 { font-size: var(--fs-xl); margin-bottom: 12px; }
.about-story p { color: var(--ink-2); line-height: 2; margin-bottom: 12px; }
.about-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.about-side { display: grid; gap: 12px; }
.about-fact { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 16px; }
.about-fact .why-icon { flex-shrink: 0; }
.about-fact h3 { font-size: var(--fs-base); color: var(--navy-900); }
.about-fact p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.8; }

/* ── 24. FORMS & CHECKOUT (مشترك) ──────────────────────────────── */
.form-section { padding-block: 2rem 4rem; }
.form-group { position: relative; margin-bottom: 1.1rem; }
.form-label { display: block; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 6px; }
.form-control {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control::placeholder { color: var(--ink-3); }
.form-control:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(42,74,110,0.12); outline: none; }
select.form-control {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312263F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 16px;
}
.form-hint { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.1rem, 0.8rem + 2vw, 2rem); margin-bottom: 1.25rem; box-shadow: var(--sh-1); }
.form-card h2 { font-size: var(--fs-lg); color: var(--navy-900); margin-bottom: 1.1rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.payment-method-cards { display: grid; gap: 10px; }
.payment-method-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); cursor: pointer; background: #fff; transition: border-color var(--t-fast), background-color var(--t-fast); }
.payment-method-card:hover { border-color: var(--gold-500); }
.payment-method-card.selected { border-color: var(--navy-800); background: var(--navy-100); }
.payment-icon { font-size: 1.6rem; }
.payment-method-name { font-weight: 800; color: var(--navy-900); }
.payment-method-desc { font-size: var(--fs-sm); color: var(--ink-3); }
.order-summary { padding: 1.25rem; background: var(--cream); border-radius: var(--r-md); }
.order-summary-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--sh-1); }
@media (min-width: 900px) { .order-summary-card { position: sticky; top: calc(var(--nav-h) + 16px); } }
.order-summary-card h3 { font-size: var(--fs-md); margin-bottom: 1rem; }
.summary-items-list { margin-bottom: 0.75rem; }
.summary-product { display: flex; gap: 10px; align-items: center; margin-bottom: 0.75rem; }
.summary-product img { width: 52px; height: 52px; border-radius: var(--r-xs); flex-shrink: 0; background: #fff; border: 1px solid var(--line-2); object-fit: contain; }
.summary-product-name { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.summary-product-price { font-size: var(--fs-xs); color: var(--ink-3); }
.summary-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line-2); }
.summary-item.total { font-weight: 800; font-size: var(--fs-md); color: var(--navy-900); }

/* Product page shared bits */
.product-unavailable { text-align: center; padding: 3rem 1.5rem; max-width: 560px; margin: 0 auto 2rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); }
.product-unavailable h1 { margin: 0.75rem 0; font-size: var(--fs-xl); }
.product-unavailable p { color: var(--ink-2); margin-bottom: 1.5rem; }
.product-unavailable-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 25. REVEAL ON SCROLL ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ── 26. VIEW TRANSITIONS (تنقل ناعم بين الصفحات) ──────────────── */
@view-transition { navigation: auto; }
.navbar { view-transition-name: site-header; }
.announce, .topbar { view-transition-name: site-announce; }
.mobile-bottom-nav { view-transition-name: bottom-nav; }
.wa-float { view-transition-name: wa-float; }
::view-transition-old(root) { animation: 180ms var(--ease) both vtFadeOut; }
::view-transition-new(root) { animation: 260ms var(--ease) both vtFadeIn; }
::view-transition-group(product-image) { animation-duration: 340ms; animation-timing-function: var(--ease); }
::view-transition-old(product-image), ::view-transition-new(product-image) { height: 100%; object-fit: contain; }
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(6px); } }

/* ── 27. REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .skeleton::after { display: none; }
}

/* ── 28. LEGACY SHIMS (ماركب قديم على صفحات لسه ما اتحدثتش) ──────── */
.hamburger { display: none; }
.navbar.keep-mobile { display: flex; }
.cinematic-hero, .bento-section, .ds-hero-section { display: none; }
.trust-bar-section { padding-block: 1.25rem; }
.section-title { font-size: var(--fs-xl); }

/* ── 29. MOBILE REFINEMENTS ────────────────────────────────────── */
@media (max-width: 639px) {
  .hero-title { font-size: 1.8rem; }
  .hero-sub { font-size: var(--fs-base); }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding-inline: 14px; }
  .hero-trust { font-size: var(--fs-xs); gap: 6px 12px; }
  /* الأقسام: صفين بيتسحبوا بالعرض بدل عمود طويل */
  .cat-grid {
    grid-template-columns: none; grid-template-rows: repeat(2, auto);
    grid-auto-flow: column; grid-auto-columns: 29%;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid > * { scroll-snap-align: start; }
}

/* أرقام التليفون ما تتقسمش على سطرين */
a[dir="ltr"], span[dir="ltr"], .contact-value { white-space: nowrap; unicode-bidi: isolate; }

/* تصميم وتطوير — سطر صغير في آخر الفوتر */
.dev-credit { font-size: .78rem; opacity: .7; margin-top: 4px; }
.dev-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.dev-credit a:hover { color: var(--gold-300, #F0D78C); opacity: 1; }

/* ─── تثبيت المتجر على الموبايل ─── */
.install-card { display: flex; align-items: center; gap: 12px; margin: 18px auto 0; max-width: 520px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #0B1929, #12263F); color: #fff; box-shadow: 0 12px 30px rgba(11,25,41,.25); text-align: start; }
.install-card .install-txt { flex: 1; display: grid; gap: 2px; font-size: .9rem; line-height: 1.6; }
.install-card .install-txt span { opacity: .8; font-size: .82rem; }
.install-ic { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(212,168,83,.18); color: #F0D78C; }
.install-btn { border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 800; background: #D4A853; color: #1a1405; cursor: pointer; white-space: nowrap; }
.install-btn:hover { filter: brightness(1.06); }
.install-bar { position: fixed; inset-inline: 12px; bottom: calc(var(--bottom-nav-h, 64px) + 14px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #0B1929; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.28); animation: install-in .35s var(--ease, ease) both; }
.install-bar .install-ic { width: 36px; height: 36px; border-radius: 10px; }
.install-bar .install-txt { flex: 1; font-size: .9rem; }
.install-x { border: 0; background: transparent; color: #fff; opacity: .7; font-size: 1rem; cursor: pointer; padding: 6px; }
@media (min-width: 900px) { .install-bar { inset-inline: auto 24px; bottom: 24px; max-width: 380px; } }
@keyframes install-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .install-bar { animation: none; } }
.install-ios { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 16px; background: rgba(11,25,41,.55); }
.install-ios-box { width: min(420px, 100%); background: #fff; color: #0B1929; border-radius: 20px; padding: 20px; margin-bottom: env(safe-area-inset-bottom); }
.install-ios-box h3 { margin: 0 0 10px; }
.install-ios-box ol { margin: 0 0 14px; padding-inline-start: 20px; line-height: 2; }
.install-ios-box .install-btn { width: 100%; }

/* ── تابع طلبك ─────────────────────────────────────────────── */
.track-wrap { max-width: 720px; display: grid; gap: 20px; }
.track-mine h2 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.track-list { display: grid; gap: 14px; }
.track-form { display: grid; gap: 8px; }
.track-form h2 { margin-bottom: 4px; }
.track-form label { font-weight: 700; font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.track-input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1.05rem; background: #fff; text-align: left; letter-spacing: .04em; }
.track-input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,168,83,.2); }
.track-form .btn { margin-top: 8px; }
.track-error { color: #B42318; font-weight: 700; font-size: .9rem; min-height: 1.2em; }
.track-help { color: var(--ink-3); font-size: .85rem; line-height: 1.8; }
.track-help a { color: var(--gold-700); font-weight: 700; text-decoration: underline; }
.track-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); display: grid; gap: 12px; }
.track-card.is-ended { opacity: .8; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.track-head h3 { font-size: 1.05rem; color: var(--ink); }
.track-date { font-size: .82rem; color: var(--ink-3); }
.track-status { background: var(--cream); color: var(--navy-900); border: 1px solid rgba(212,168,83,.45); border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: .85rem; }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 4px 0; padding: 0; position: relative; }
.track-steps li { display: grid; justify-items: center; gap: 6px; font-size: .78rem; color: var(--ink-3); text-align: center; position: relative; }
.track-steps li::before { content: ''; position: absolute; top: 15px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.track-steps li:last-child::before { display: none; }
.track-steps li.done::before { background: var(--gold-500); }
.ts-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 800; position: relative; z-index: 1; color: var(--ink-3); }
.track-steps li.done .ts-dot { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.track-steps li.current .ts-dot { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-300); box-shadow: 0 0 0 4px rgba(212,168,83,.25); }
.track-steps li.current { color: var(--ink); font-weight: 800; }
.track-eta { font-size: .92rem; color: var(--ink-2); }
.track-note { background: #FFF8E8; border: 1px solid rgba(212,168,83,.45); border-radius: 12px; padding: 10px 12px; font-size: .9rem; line-height: 1.8; }
.track-more summary { cursor: pointer; font-weight: 700; color: var(--gold-700); font-size: .9rem; }
.track-items { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.track-items li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.track-gift { color: var(--success); font-weight: 700; }
.track-sum { display: grid; gap: 4px; font-size: .88rem; }
.track-sum div { display: flex; justify-content: space-between; }
.track-sum dt { color: var(--ink-3); }
.track-sum .total { font-weight: 800; color: var(--ink); font-size: .95rem; }
.track-wa { font-size: .88rem; font-weight: 700; color: var(--success); }

/* شاشة نجاح الطلب: كود التتبع */
.co-track { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; background: var(--cream, #F7F3EA); border: 1px solid rgba(212,168,83,.5); border-radius: 16px; padding: 14px 16px; margin: 14px 0; text-align: start; }
.co-track small { display: block; color: #5E6B7C; font-size: .8rem; }
.co-track strong { font-size: 1.35rem; letter-spacing: .12em; color: #0B1929; }
.co-track p { grid-column: 1 / -1; font-size: .82rem; color: #5E6B7C; margin: 0; }
.co-track-btn { background: #0B1929; color: #F0D78C; white-space: nowrap; }

/* ── دليل الشحن والاستبدال ─────────────────────────────────── */
.guide-wrap { max-width: 760px; display: grid; gap: 18px; }
.guide-wrap .note-card { margin: 0; }
.guide-steps { list-style: none; counter-reset: gs; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.guide-steps li { counter-increment: gs; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.guide-steps li::before { content: counter(gs); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); font-weight: 800; }
.guide-steps b { color: var(--ink); }
.guide-steps span { color: var(--ink-2); font-size: .92rem; line-height: 1.8; }
.guide-steps a, .guide-more a { color: var(--gold-700); font-weight: 700; text-decoration: underline; }
.guide-list { margin: 10px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--ink-2); line-height: 1.8; }
.guide-more { margin-top: 10px; font-size: .9rem; }
.guide-wrap .btn-wa { margin-top: 14px; white-space: normal; max-width: 100%; }
.guide-wrap .note-card { text-align: start; }
.guide-wrap .note-card h2 { text-align: start; }
.guide-alert { border: 1.5px solid rgba(212,140,40,.55); background: #FFF8EC; }
