/* =====================================================
   style.css — Design System حباش حمدي
   Mobile-First | RTL | Noto Naskh Arabic
   ===================================================== */

/* ─── Fonts: Noto Naskh Arabic (محلية) ─────────────── */
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('../fonts/noto-naskh/NotoNaskhArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('../fonts/noto-naskh/NotoNaskhArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('../fonts/noto-naskh/NotoNaskhArabic-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('../fonts/noto-naskh/NotoNaskhArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── Design Tokens ──────────────────────────────────── */
:root {
  /* الألوان الرئيسية */
  --color-golden:   #E89A2D;   /* Golden Orange — أزرار CTA */
  --color-brown:    #5A2418;   /* Rich Brown — عناوين */
  --color-red:      #A93E2A;   /* Festival Red — بادجات عروض */
  --color-gold:     #D8B36A;   /* Soft Gold — زخارف */
  --color-bg:       #F8F1E4;   /* Light Background */
  --color-white:    #FFFFFF;
  --color-dark:     #1A0D07;   /* نص غامق */
  --color-text:     #3D1F14;   /* نص رئيسي */
  --color-muted:    #7A5540;   /* نص ثانوي */
  --color-border:   #DBC9A8;   /* حدود */
  --color-surface:  #FDF7EE;   /* خلفية بطاقات */

  /* تدرجات */
  --grad-golden:   linear-gradient(135deg, #E89A2D 0%, #D8821A 100%);
  --grad-brown:    linear-gradient(135deg, #5A2418 0%, #3D1508 100%);
  --grad-warm:     linear-gradient(180deg, #F8F1E4 0%, #FDF7EE 100%);

  /* التايبوغرافي */
  --font-main:  'Noto Naskh Arabic', 'Traditional Arabic', Georgia, serif;
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  1.875rem;  /* 30px */
  --fs-3xl:  2.25rem;   /* 36px */
  --fs-4xl:  3rem;      /* 48px */
  --lh-tight:  1.3;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* المسافات */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* الحواف */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* الظلال */
  --shadow-sm:  0 1px 3px rgba(90,36,24,.10);
  --shadow-md:  0 4px 16px rgba(90,36,24,.12);
  --shadow-lg:  0 8px 32px rgba(90,36,24,.15);
  --shadow-card: 0 2px 12px rgba(90,36,24,.08);

  /* Transitions */
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur-fast:  150ms;
  --dur-base:  250ms;
  --dur-slow:  400ms;

  /* Layout */
  --container: 1200px;
  --nav-h:     70px;
  --sticky-bar-h: 70px;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-golden); }

button, input, select, textarea {
  font-family: var(--font-main);
  font-size: var(--fs-base);
}

ul, ol { list-style: none; }

/* ─── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-xl); }
}

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-brown);
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

@media (min-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-xl); }
}

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--color-muted); }
.text-golden { color: var(--color-golden); }
.text-brown  { color: var(--color-brown); }
.text-red    { color: var(--color-red); }
.text-center { text-align: center; }
.text-sm     { font-size: var(--fs-sm); }
.text-xs     { font-size: var(--fs-xs); }
.font-bold   { font-weight: 700; }
.font-semi   { font-weight: 600; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: 600;
  font-family: var(--font-main);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  min-height: 48px; /* Accessibility: touch target */
}

.btn-primary {
  background: var(--grad-golden);
  color: var(--color-white);
  border-color: var(--color-golden);
  box-shadow: 0 4px 15px rgba(232,154,45,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,154,45,.45);
  color: var(--color-white);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--color-brown);
  border-color: var(--color-brown);
}
.btn-secondary:hover {
  background: var(--color-brown);
  color: var(--color-white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-golden);
  border-color: var(--color-golden);
}
.btn-outline-gold:hover {
  background: var(--color-golden);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-md);
  min-height: 56px;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1;
}
.badge-offer  { background: var(--color-red);    color: #fff; }
.badge-new    { background: var(--color-golden);  color: #fff; }
.badge-weight { background: var(--color-gold);    color: var(--color-brown); }

/* ─── Cards ──────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-body {
  padding: var(--space-md);
}

/* ─── Product Card ───────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg);
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.product-card:hover .product-card__img-wrap img {
  transform: scale(1.05);
}
.product-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm); /* RTL */
}
.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: var(--space-xs);
}
.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-normal);
}
.product-card__price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-golden);
  margin-bottom: var(--space-sm);
}
.product-card__price-label {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  font-weight: 400;
}
.product-card__actions {
  margin-top: auto;
}

/* Quick Add Weight Selector */
.weight-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.weight-btn {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-size: var(--fs-xs);
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  color: var(--color-text);
}
.weight-btn:hover,
.weight-btn.active {
  border-color: var(--color-golden);
  background: var(--color-golden);
  color: var(--color-white);
}

/* ─── Grid المنتجات ──────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Section Headers ────────────────────────────────── */
.section { padding: var(--space-2xl) 0; }
.section--lg { padding: var(--space-3xl) 0; }
.section--dark { background: var(--color-brown); color: var(--color-white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--color-gold); }

.section-head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-head__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-golden);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}
.section-head__title {
  margin-bottom: var(--space-sm);
}
.section-head__sub {
  font-size: var(--fs-md);
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--grad-golden);
  border-radius: var(--radius-full);
  margin: var(--space-md) auto;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo img {
  height: 48px;
  width: auto;
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}
.nav__links a {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-brown);
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.nav__links a:hover,
.nav__links a.active {
  border-bottom-color: var(--color-golden);
  color: var(--color-golden);
}
.nav__cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-brown);
}
.nav__cart-count {
  position: absolute;
  top: 0;
  left: 0; /* RTL */
  background: var(--color-red);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}
@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-brown);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-white);
  box-shadow: -4px 0 20px rgba(0,0,0,.15);
  z-index: 99;
  transform: translateX(100%); /* RTL: يخرج من اليمين */
  transition: transform var(--dur-base) var(--ease);
  overflow-y: auto;
  padding: var(--space-xl) var(--space-md);
}
.nav-mobile.open {
  transform: translateX(0);
}
.nav-mobile__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
.nav-mobile__overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-brown);
  border-bottom: 1px solid var(--color-border);
}

/* ─── Hero / Coming Soon ─────────────────────────────── */
.hero {
  background: var(--grad-brown);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/placeholders/hero-slide-1.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero__content { position: relative; z-index: 1; }
.hero__logo { margin: 0 auto var(--space-xl); max-width: 180px; }
.hero__title {
  font-size: var(--fs-3xl);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero__subtitle {
  font-size: var(--fs-xl);
  color: var(--color-golden);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}
.hero__text {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-loose);
}
@media (min-width: 768px) {
  .hero__title   { font-size: var(--fs-4xl); }
  .hero__subtitle { font-size: var(--fs-2xl); }
}

/* ─── Coming Soon Specific ───────────────────────────── */
.coming-soon {
  background: var(--grad-brown);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}
.coming-soon__inner {
  max-width: 600px;
  margin: 0 auto;
}
.coming-soon__logo {
  margin: 0 auto var(--space-2xl);
  max-width: 200px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.coming-soon__brand {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.coming-soon__slogan {
  font-size: var(--fs-xl);
  color: var(--color-golden);
  font-weight: 600;
  margin-bottom: var(--space-2xl);
  line-height: 1.5;
}
.coming-soon__divider {
  width: 80px;
  height: 3px;
  background: var(--grad-golden);
  margin: var(--space-xl) auto;
  border-radius: var(--radius-full);
}
.coming-soon__heading {
  font-size: var(--fs-lg);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.coming-soon__text {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.8);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-xl);
}
.coming-soon__contact {
  font-size: var(--fs-md);
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
  font-weight: 600;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--color-brown);
  color: rgba(255,255,255,.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer__logo { max-width: 140px; margin-bottom: var(--space-md); }
.footer__brand { font-size: var(--fs-xl); font-weight: 700; color: var(--color-gold); margin-bottom: var(--space-sm); }
.footer h4 { color: var(--color-gold); font-size: var(--fs-md); margin-bottom: var(--space-md); }
.footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: var(--space-sm); font-size: var(--fs-sm); }
.footer a:hover { color: var(--color-golden); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: var(--space-xl);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
}

/* ─── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: var(--fs-sm);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-golden); }
.bc-sep { color: var(--color-border); font-size: var(--fs-xs); }

/* ─── Cart Indicator (Sticky Mobile Bar) ────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  right: 0; /* RTL */
  left: 0;
  height: var(--sticky-bar-h);
  background: var(--color-brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  border-top: 2px solid var(--color-golden);
}
@media (min-width: 768px) { .sticky-bar { display: none; } }

.sticky-bar__cart {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white);
  font-weight: 600;
}
.sticky-bar__cart-count {
  background: var(--color-golden);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-bar__total { color: var(--color-gold); font-size: var(--fs-sm); font-weight: 700; }

/* ─── Forms ──────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-md);
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-brown);
  margin-bottom: var(--space-xs);
}
.form-label .required { color: var(--color-red); margin-right: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--dur-fast) var(--ease);
  direction: rtl;
  min-height: 48px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-golden);
  box-shadow: 0 0 0 3px rgba(232,154,45,.15);
}
.form-input.error,
.form-select.error { border-color: var(--color-red); }
.form-error {
  font-size: var(--fs-xs);
  color: var(--color-red);
  margin-top: var(--space-xs);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ─── Alerts ─────────────────────────────────────────── */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  border-right: 4px solid transparent; /* RTL */
  margin-bottom: var(--space-md);
}
.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-right-color: #4caf50;
}
.alert-error {
  background: #fdecea;
  color: #c62828;
  border-right-color: var(--color-red);
}
.alert-warning {
  background: #fff8e1;
  color: #f57f17;
  border-right-color: var(--color-golden);
}

/* ─── Loading Spinner ────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Lazy Load Images ───────────────────────────────── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
img[loading="lazy"].loaded { opacity: 1; }

/* ─── Facebook Video Embed ───────────────────────────── */
.fb-video-wrap {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.fb-video-wrap__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.fb-video-wrap__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  transition: background var(--dur-fast) var(--ease);
}
.fb-video-wrap__play:hover { background: rgba(0,0,0,.55); }
.fb-video-wrap__play-icon {
  width: 64px;
  height: 64px;
  background: var(--color-golden);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.fb-video-wrap__play-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-right: -4px; /* إزاحة مثلث للتمركز البصري */
}
.fb-video-wrap__iframe-wrap {
  position: relative;
  aspect-ratio: 16/9;
  display: none;
}
.fb-video-wrap__iframe-wrap.show { display: block; }
.fb-video-wrap__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Trust Section ──────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.trust-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}
.trust-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: var(--space-xs);
}
.trust-card__text {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  line-height: var(--lh-normal);
}

/* ─── Steps Section ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  counter-reset: steps;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  text-align: center;
  position: relative;
}
.step-card__num {
  width: 60px;
  height: 60px;
  background: var(--grad-golden);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--fs-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 15px rgba(232,154,45,.4);
}
.step-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: var(--space-sm);
}
.step-card__text {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  line-height: var(--lh-normal);
}

/* ─── Utilities ──────────────────────────────────────── */
.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm   { gap: var(--space-sm); }
.gap-md   { gap: var(--space-md); }
.mt-md    { margin-top: var(--space-md); }
.mt-lg    { margin-top: var(--space-lg); }
.mb-md    { margin-bottom: var(--space-md); }
.mb-lg    { margin-bottom: var(--space-lg); }
.mb-body  { padding-bottom: var(--sticky-bar-h); }  /* مساحة للـ sticky bar */

/* Body padding للـ Sticky Bar في الموبايل */
@media (max-width: 767px) {
  body.has-sticky-bar { padding-bottom: var(--sticky-bar-h); }
}

/* ─── Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =====================================================
   خط Alexandria للأرقام فقط — 2026-07-02
   لا يغيّر الخط العربي الأساسي للموقع (var(--font-main) يفضل
   كما هو في كل مكان آخر). يُستخدم فقط على أماكن الأسعار/الأوزان/
   الكميات المحدَّدة أدناه عبر classes موجودة فعليًا في الموقع —
   بدون أي تعديل على منطق الحساب أو القيم نفسها، تحسين بصري فقط.

   تسجيل عدة أوزان (Regular/Medium/SemiBold/Bold/ExtraBold) تحت نفس
   اسم الخط 'AlexandriaNums' يسمح للمتصفح يختار تلقائيًا الوزن
   الصحيح حسب font-weight الموجود بالفعل على كل عنصر (مثلاً السعر
   الإجمالي الكبير عادة font-weight:700-800 فهياخد Bold/ExtraBold
   تلقائيًا بدون أي class إضافي).
   ===================================================== */
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'AlexandriaNums';
  src: url('../fonts/Alexandria/Alexandria-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

/* ── تطبيق الخط على الأرقام فقط في كل الصفحات الأمامية ──
   كل الـclasses هنا موجودة فعليًا وتحمل أسعار/أوزان/كميات حقيقية
   (products.css, cart.css, checkout.css, offers.css, home.css,
   preparations.css). القيم والحسابات نفسها لم تتغيّر إطلاقًا —
   فقط شكل عرض الأرقام. */
.prod-card__price-amount,
.prod-card__price-old,
.prod-card__price-unit,
.prod-card__line-total,
.hh-gcard__price-amount,
.hh-gcard__price-old,
.hh-gcard__price-unit,
.hh-gcard__line-total,
.offer-card__price-before,
.offer-card__price-after,
.cart-item__price,
.cart-item__price-unit,
.weight-display,
.qty-display,
.summary-row__value,
.suggested-item__price,
.co-summary-item__price,
.co-totals-row__val,
.ty-order-no,
.ty-summary-row__val,
.ty-total-row__val,
.pd-suggested-card__price,
.pd-suggested-card__price-old,
.prep-ingredient-card__qty {
  font-family: 'AlexandriaNums', var(--font-main), sans-serif;
  font-variant-numeric: tabular-nums;
}
