/* ==========================================================================
   RAËM — عبايات نسائية | نظام التصميم المشترك
   ملف واحد مشترك لجميع الصفحات (index / collection / about / contact)
   ملاحظة: تم اعتماد الخصائص المنطقية (logical properties) في كل مكان.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. الرموز التصميمية (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* الألوان */
  --ink: #101614;          /* الأسود المائل للأخضر — اللون الأساسي */
  --ink-soft: #17211E;
  --ivory: #E8E4DA;        /* العاجي الهادئ — اللون الثانوي */
  --accent: #2F5D50;       /* الأخضر الزمردي المطفأ — لون مساعد بلمسات فقط */
  --accent-tint: #A9CCC1;  /* أخضر فاتح — للنصوص فوق الخلفيات الداكنة */
  --accent-soft: #E3EBE7;  /* أخضر شفاف جدًا — خلفيات ناعمة */
  --paper: #F6F5F1;        /* خلفية بيضاء هادئة */
  --paper-2: #ECEAE4;
  --white: #FFFFFF;
  --muted: #5E625F;
  --muted-2: #8B8F8C;
  --line: rgba(16, 22, 20, 0.13);
  --line-soft: rgba(16, 22, 20, 0.07);
  --line-inv: rgba(232, 228, 218, 0.18);

  /* الخطوط */
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-ar: "Tajawal", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* المسافات */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.75rem);
  --section-y: clamp(4rem, 8.5vw, 8rem);
  --header-h: 76px;

  /* أنصاف الأقطار والظلال */
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-soft: 0 22px 60px -34px rgba(16, 22, 20, 0.55);
  --shadow-card: 0 16px 44px -30px rgba(16, 22, 20, 0.6);

  /* الحركة */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. إعادة الضبط (Reset)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-h) + 1.5rem);
}

body {
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--ivory);
}

[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;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: var(--gutter);
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
}
.skip-link:focus { inset-block-start: 0.75rem; }

/* --------------------------------------------------------------------------
   3. الطباعة والعناصر المساعدة
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--ivory { background: var(--ivory); }
.section--dark {
  background: var(--ink);
  color: var(--ivory);
}
.section--dark .section-title,
.section--dark .eyebrow,
.section--dark h2,
.section--dark h3 { color: var(--ivory); }
.section--dark .lede,
.section--dark .section-head p { color: rgba(232, 228, 218, 0.74); }
.section--dark .eyebrow { color: var(--accent-tint); }
.section--dark .rule { background: var(--line-inv); }

.eyebrow {
  font-family: var(--font-ar);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-block-end: 1.1rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.05rem);
  font-weight: 300;
  line-height: 1.32;
  color: var(--ink);
  max-width: 22ch;
}

.section-title .accent,
.display-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.lede {
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.16rem);
  line-height: 2.05;
  color: var(--muted);
  max-width: 58ch;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-block-end: clamp(2.25rem, 4vw, 3.5rem);
}
.section-head--center {
  align-items: center;
  text-align: center;
}
.section-head--center .section-title,
.section-head--center .lede { max-width: 46ch; }
.section-head--center .lede { margin-inline: auto; }

.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: 0;
}

.note {
  font-size: 0.82rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   4. الأزرار
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.45s var(--ease),
              opacity 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
}
.btn--dark:hover {
  --btn-bg: var(--ink-soft);
  --btn-bd: var(--ink-soft);
}

.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--ink);
  --btn-bd: var(--ivory);
}
.btn--light:hover {
  --btn-bg: var(--white);
  --btn-bd: var(--white);
}

.btn--gold {
  --btn-bg: transparent;
  --btn-fg: var(--accent);
  --btn-bd: rgba(47, 93, 80, 0.55);
}
.btn--gold:hover {
  --btn-bg: rgba(47, 93, 80, 0.12);
  --btn-bd: var(--accent);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-bd: rgba(232, 228, 218, 0.45);
}
.btn--outline-light:hover {
  --btn-bg: rgba(232, 228, 218, 0.1);
  --btn-bd: var(--ivory);
}

.btn--sm {
  padding: 0.72rem 1.25rem;
  font-size: 0.82rem;
}

.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding-block-end: 0.35rem;
  border-block-end: 1px solid var(--line);
  transition: gap 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.link-arrow::after {
  background-image: linear-gradient(to left, currentColor 50%, transparent 50%);
  background-size: 7px 1px;
}
.link-arrow:hover { gap: 1rem; border-block-end-color: var(--accent); }

.section--dark .link-arrow { color: var(--ivory); }

/* --------------------------------------------------------------------------
   5. الترويسة والتنقّل
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 90;
  border-block-end: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
              color 0.4s var(--ease), backdrop-filter 0.5s var(--ease);
}

.site-header.is-solid {
  background: rgba(246, 245, 241, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-block-end-color: var(--line);
}

.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.6rem);
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-block: 0.35rem;
  transition: color 0.35s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--ink); font-weight: 500; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border-radius: 50%;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.icon-btn:hover { background: rgba(16, 22, 20, 0.06); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; }

.bag-count {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 3px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 500;
  border-radius: 999px;
  line-height: 1;
}
.bag-count.is-visible { display: inline-flex; }

.nav-toggle { display: none; }

/* حالة شفافة فوق الصور (الصفحة الرئيسية فقط) */
.header--light:not(.is-solid) { color: var(--ivory); }
.header--light:not(.is-solid) .brand-mark { color: var(--ivory); }
.header--light:not(.is-solid) .brand-sub { color: rgba(232, 228, 218, 0.65); }
.header--light:not(.is-solid) .nav-link { color: rgba(232, 228, 218, 0.88); }
.header--light:not(.is-solid) .icon-btn { color: var(--ivory); }
.header--light:not(.is-solid) .icon-btn:hover { background: rgba(232, 228, 218, 0.14); }
.header--light:not(.is-solid) .nav-link::after { background: var(--accent-tint); }
.section--dark .detail-list li::before { background: var(--accent-tint); }

/* قائمة الجوال */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 89;
  background: var(--paper);
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              visibility 0.45s var(--ease);
  overflow-y: auto;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile a {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.1rem);
  font-weight: 300;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  color: var(--ink);
}
.nav-mobile a span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent-tint);
}

.nav-mobile-foot {
  margin-block-start: auto;
  padding-block-start: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   6. البطل (Hero)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: var(--ink);
}

/* صورة البطل: عمود عمودي يعرض القماش كاملًا */
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(12, 11, 11, 0.78) 0%, rgba(12, 11, 11, 0.38) 42%, rgba(12, 11, 11, 0.08) 78%, rgba(12, 11, 11, 0.22) 100%),
    linear-gradient(to left, rgba(12, 11, 11, 0.32) 0%, rgba(12, 11, 11, 0) 60%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding-block: calc(var(--header-h) + 3rem) clamp(3.5rem, 8vw, 6rem);
  color: var(--ivory);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-tint);
  margin-block-end: 1.75rem;
}
.hero-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent-tint);
}

.hero-title {
  font-size: clamp(2.35rem, 1.3rem + 5.1vw, 5.4rem);
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ivory);
  max-width: 15ch;
}

.hero-lede {
  margin-block-start: 1.9rem;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.16rem);
  line-height: 2.05;
  color: rgba(232, 228, 218, 0.82);
  max-width: 46ch;
}

.hero-actions {
  margin-block-start: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-foot {
  position: absolute;
  z-index: 3;
  inset-block-end: 1.4rem;
  inset-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(232, 228, 218, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-scroll::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   6b. البطل على الشاشات الكبيرة — عمود صورة عمودي + نص
   --------------------------------------------------------------------------
   الصورة طولية (1080×1920)، فبنتركها عمود كامل على جهة النهاية
   عشان تشوف القماش كامل بدل ما يتقص، والنص ياخذ الباقي. */
@media (min-width: 961px) {
  .hero {
    --hero-media-w: clamp(300px, 31vw, 480px);
  }

  .hero-media img {
    inset-block: 0;
    inset-inline-end: 0;
    inset-inline-start: auto;
    width: var(--hero-media-w);
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* التدرّج يغطّي عمود النص فقط — الصورة تظل نظيفة */
  .hero-scrim {
    inset-block: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: calc(100% - var(--hero-media-w));
  }

  .hero-inner {
    width: min(calc(100% - var(--hero-media-w) - (var(--gutter) * 2)), var(--container));
    margin-inline: var(--gutter) auto;
  }

  .hero-foot {
    inset-inline-start: var(--gutter);
    inset-inline-end: auto;
    width: calc(100% - var(--hero-media-w) - (var(--gutter) * 2));
  }
}

/* --------------------------------------------------------------------------
   7. المميزات
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.feature {
  padding-block-start: 2.25rem;
  border-block-start: 1px solid var(--line);
  position: relative;
}
.feature::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 46px;
  height: 1px;
  background: var(--accent);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-block-end: 1.35rem;
}

.feature h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 400;
  margin-block-end: 0.85rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 2;
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   8. تسوّقي حسب اللون
   -------------------------------------------------------------------------- */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.6rem);
}

.color-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

.color-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity 0.6s var(--ease);
  opacity: 0.92;
}
.color-card:hover img { transform: scale(1.06); }

.color-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 11, 0.78) 0%, rgba(12, 11, 11, 0.08) 52%, rgba(12, 11, 11, 0.12) 100%);
  transition: opacity 0.6s var(--ease);
}

.color-card-body {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: clamp(1.1rem, 2vw, 1.75rem);
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.color-card h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
  font-weight: 300;
}

.color-card span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(232, 228, 218, 0.62);
  margin-block-start: 0.35rem;
}

.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(232, 228, 218, 0.45);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. شبكة المنتجات وبطاقاتها
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.75rem) clamp(1.1rem, 2vw, 2rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-tag {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-start: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  background: rgba(246, 245, 241, 0.94);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  border-radius: var(--radius);
}

.product-add {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-end: 0.7rem;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 245, 241, 0.94);
  color: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease);
}
.product-add svg { width: 17px; height: 17px; stroke: currentColor; }
.product-card:hover .product-add,
.product-add:focus-visible { opacity: 1; transform: translateY(0); }
.product-add:hover { background: var(--ink); color: var(--paper); }
.product-add.is-added { background: var(--accent); color: var(--ivory); opacity: 1; transform: translateY(0); }

.product-body {
  padding-block-start: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-desc {
  font-size: 0.87rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 34ch;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.product-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent);
}

.product-foot {
  margin-block-start: auto;
  padding-block-start: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.product-price .cur {
  font-family: var(--font-ar);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-inline-start: 0.3rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. القسم التحريري الكبير
   -------------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.editorial-grid--flip .editorial-media { order: 2; }

.editorial-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-media--tall { aspect-ratio: 4 / 5; }
.editorial-media--wide { aspect-ratio: 4 / 3; }

.editorial-media--tall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.editorial-copy .section-title { max-width: 18ch; }
.editorial-copy .lede { margin-block-start: 1.5rem; }

.detail-list {
  margin-block-start: 2rem;
  display: grid;
  gap: 0.1rem;
  max-width: 46ch;
}
.detail-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-block: 0.95rem;
  border-block-end: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--muted);
}
.detail-list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-block-start: 0.85em;
  background: var(--accent);
  transform: rotate(45deg);
}
.section--dark .detail-list li {
  color: rgba(232, 228, 218, 0.76);
  border-block-end-color: var(--line-inv);
}

.editorial-copy .link-arrow { margin-block-start: 2.25rem; }

/* --------------------------------------------------------------------------
   11. آراء العميلات
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}

.testimonial-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}

.testimonial blockquote {
  font-size: 1.02rem;
  line-height: 2.05;
  color: var(--ink);
  font-weight: 300;
}

.testimonial figcaption {
  margin-block-start: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
}
.testimonial .t-name { font-weight: 500; letter-spacing: 0.04em; }
.testimonial .t-note { color: var(--muted-2); font-size: 0.74rem; }

/* --------------------------------------------------------------------------
   12. نداء الفعل (CTA)
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: min(760px, 110%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 93, 80, 0.14) 0%, transparent 62%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3.4rem);
  font-weight: 200;
  color: var(--ivory);
  max-width: 20ch;
}
.cta p {
  color: rgba(232, 228, 218, 0.75);
  max-width: 52ch;
  font-size: 1.02rem;
}
.cta .btn { margin-block-start: 0.75rem; }

/* --------------------------------------------------------------------------
   13. التذييل
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(232, 228, 218, 0.72);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block-end: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand .brand-mark { color: var(--ivory); }
.footer-brand .brand-sub { color: rgba(232, 228, 218, 0.45); }

.footer-about {
  margin-block-start: 1.5rem;
  max-width: 34ch;
  line-height: 2;
  color: rgba(232, 228, 218, 0.62);
  font-size: 0.88rem;
}

.footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-tint);
  margin-block-end: 1.35rem;
  font-weight: 500;
}

.footer-list { display: grid; gap: 0.75rem; }
.footer-list a {
  font-size: 0.88rem;
  color: rgba(232, 228, 218, 0.68);
  transition: color 0.35s var(--ease);
}
.footer-list a:hover { color: var(--ivory); }

.footer-contact { display: grid; gap: 0.9rem; }
.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(232, 228, 218, 0.68);
}
.footer-contact svg {
  width: 16px; height: 16px;
  stroke: var(--accent-tint);
  flex-shrink: 0;
  margin-block-start: 0.4em;
}

.social-row { display: flex; gap: 0.5rem; margin-block-start: 1.5rem; }
.social-row a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-inv);
  border-radius: 50%;
  color: rgba(232, 228, 218, 0.75);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.social-row a:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.social-row svg { width: 17px; height: 17px; stroke: currentColor; }

.footer-bottom {
  border-block-start: 1px solid var(--line-inv);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(232, 228, 218, 0.48);
}
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--ivory); }

/* --------------------------------------------------------------------------
   14. زر واتساب العائم
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset-block-end: 1.4rem;
  inset-inline-end: 1.4rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  background: #1FA855;
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 40px -18px rgba(31, 168, 85, 0.85);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: #1b9449; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
.wa-float .wa-label { display: none; }

@media (min-width: 768px) {
  .wa-float .wa-label { display: inline; }
}

/* --------------------------------------------------------------------------
   15. لوح الشراء التجريبي + الطبقات
   -------------------------------------------------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(15, 14, 13, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 96;
  width: min(430px, 92vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(var(--drawer-hidden, 100%));
  transition: transform 0.55s var(--ease-out);
  box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.6);
}
[dir="rtl"] .drawer { --drawer-hidden: 100%; }
[dir="ltr"] .drawer { --drawer-hidden: -100%; }
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 2rem);
  border-block-end: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.1rem; font-weight: 500; }
.drawer-head p { font-size: 0.72rem; color: var(--muted-2); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-note {
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line-strong, rgba(16, 22, 20, 0.2));
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--muted);
  background: rgba(232, 228, 218, 0.35);
}

.cart-line {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding-block-end: 1rem;
  border-block-end: 1px solid var(--line-soft);
}
.cart-line img {
  width: 66px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.cart-line .cl-name { font-size: 0.92rem; font-weight: 500; }
.cart-line .cl-price { font-size: 0.82rem; color: var(--muted); }
.cart-line .cl-remove {
  font-size: 0.72rem;
  color: var(--muted-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-line .cl-remove:hover { color: var(--ink); }

.drawer-foot {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-block-start: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
}
.drawer-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}
.drawer-total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.empty-state {
  text-align: center;
  padding-block: clamp(2rem, 8vw, 4rem);
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}
.empty-state svg { width: 34px; height: 34px; stroke: var(--muted-2); }

/* نافذة تفاصيل المنتج */
.modal {
  position: fixed;
  inset: 0;
  z-index: 97;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: 88svh;
  overflow-y: auto;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(14px) scale(0.99);
  transition: transform 0.5s var(--ease-out);
  box-shadow: var(--shadow-soft);
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-media { background: var(--paper-2); aspect-ratio: 3 / 4; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }

.modal-body {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
.modal-body h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 300; }
.modal-body .modal-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.modal-specs { display: grid; gap: 0.65rem; width: 100%; margin-block: 0.5rem; }
.modal-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-block-end: 1px solid var(--line-soft);
  font-size: 0.88rem;
}
.modal-specs .k { color: var(--muted-2); }
.modal-specs .v { font-weight: 500; }
.modal-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; width: 100%; }

.modal-close {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 4;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 245, 241, 0.94);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.modal-close:hover { background: var(--white); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; }

/* --------------------------------------------------------------------------
   16. صفحة المجموعة + التصفية
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) clamp(2.5rem, 6vw, 4.5rem);
  background: var(--paper);
}
.page-hero--dark {
  background: var(--ink);
  color: var(--ivory);
}
.page-hero--dark h1 { color: var(--ivory); }
.page-hero--dark p { color: rgba(232, 228, 218, 0.7); }
.page-hero--dark .eyebrow { color: var(--accent-tint); }

.page-title {
  font-size: clamp(2.1rem, 1.35rem + 3.6vw, 4.2rem);
  font-weight: 200;
  line-height: 1.2;
}

.page-lede {
  margin-block-start: 1.5rem;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 2.05;
  color: var(--muted);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-block-end: 1.75rem;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.55; }

.filters {
  position: sticky;
  inset-block-start: var(--header-h);
  z-index: 40;
  background: rgba(246, 245, 241, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.filters-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex-wrap: wrap;
  justify-content: space-between;
}

.filter-group { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.filter-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-inline-end: 0.25rem;
}

.chip {
  padding: 0.48rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  background: transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.range-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(110px, 16vw, 190px);
  height: 1px;
  background: var(--line-strong, rgba(16, 22, 20, 0.25));
  border-radius: 999px;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(16, 22, 20, 0.08);
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.range-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  min-width: 76px;
  color: var(--ink);
}

.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.5rem 2rem 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  color: var(--ink);
  cursor: pointer;
}
[dir="rtl"] .select-wrap select { padding: 0.5rem 0.9rem 0.5rem 2rem; }
.select-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 0.85rem;
  width: 6px; height: 6px;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
  opacity: 0.5;
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-block-end: clamp(1.5rem, 3vw, 2.25rem);
}
.results-count { font-size: 0.84rem; color: var(--muted-2); letter-spacing: 0.04em; }
.reset-btn {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reset-btn:hover { color: var(--ink); }

.no-results {
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  text-align: center;
  color: var(--muted);
  display: none;
}
.no-results.is-visible { display: block; }

.filters.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   17. صفحة عن البراند
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.story p + p { margin-block-start: 1.4rem; }
.story .lede { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); color: var(--ink); }

.quote-block {
  margin-block: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.1rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  max-width: 26ch;
  margin-inline: auto;
}
.quote-block cite {
  display: block;
  margin-block-start: 1.25rem;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.value-card {
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}
.value-card .v-icon {
  width: 42px; height: 42px;
  margin-block-end: 1.5rem;
  color: var(--accent);
}
.value-card .v-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.value-card h3 { font-size: 1.22rem; font-weight: 400; margin-block-end: 0.7rem; }
.value-card p { font-size: 0.93rem; line-height: 2; color: var(--muted); }

.fact-list { display: grid; gap: 0.2rem; }
.fact-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-block: 1.05rem;
  border-block-end: 1px solid var(--line);
  font-size: 0.92rem;
}
.fact-list .k { color: var(--muted-2); }
.fact-list .v { font-weight: 500; }
.fact-list .v.pending { color: var(--accent); font-weight: 400; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic .m-1 { grid-column: span 5; aspect-ratio: 3 / 4; }
.mosaic .m-2 { grid-column: span 7; aspect-ratio: 16 / 11; }
.mosaic .m-3 { grid-column: span 7; aspect-ratio: 16 / 11; }
.mosaic .m-4 { grid-column: span 5; aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------------------
   18. صفحة التواصل
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.field { display: grid; gap: 0.5rem; margin-block-end: 1.25rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.9; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-status {
  margin-block-start: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  background: var(--paper);
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--muted);
  display: none;
}
.form-status.is-visible { display: block; }

.info-block { display: grid; gap: 1rem; }
.info-item {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper-2);
  border-radius: var(--radius);
}
.info-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-block-end: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.info-item h3 svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }
.info-item p { font-size: 0.9rem; line-height: 2; color: var(--muted); }

.faq-item {
  border-block-end: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  text-align: start;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.faq-q .faq-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: "";
  position: absolute;
  width: 10px; height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq-q .faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}
.faq-a p {
  padding-block-end: 1.4rem;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--muted);
  max-width: 70ch;
}
.faq-q[aria-expanded="true"] + .faq-a { max-height: 320px; opacity: 1; }

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-block-start: 1.5rem;
}

/* --------------------------------------------------------------------------
   19. حركات الظهور
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 1;
  transform: none;
}
.js .reveal.is-visible { animation: reveal-in 0.9s var(--ease-out) both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.js .reveal[data-delay="1"] { animation-delay: 0.09s; }
.js .reveal[data-delay="2"] { animation-delay: 0.18s; }
.js .reveal[data-delay="3"] { animation-delay: 0.27s; }
.js .reveal[data-delay="4"] { animation-delay: 0.36s; }
.js .reveal[data-delay="5"] { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}

/* --------------------------------------------------------------------------
   20. الاستجابة (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { gap: 2rem; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }

  .editorial-grid,
  .story,
  .contact-grid,
  .modal-card { grid-template-columns: 1fr; }

  .editorial-grid--flip .editorial-media { order: 0; }
  .modal-media { aspect-ratio: 4 / 3; }
  .modal-card { max-height: 86svh; }

  .feature-grid,
  .testimonial-grid,
  .value-grid { grid-template-columns: 1fr; }

  .color-grid { grid-template-columns: repeat(2, 1fr); }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

  .section-head--split { align-items: flex-start; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.25rem; }

  .hero { min-height: 92svh; }
  .hero-media img { object-position: center top; }
  .hero-title { max-width: 13ch; }
  .hero-foot { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .filters { position: static; }
  .filters-row { flex-direction: column; align-items: stretch; }
  .filter-right { justify-content: space-between; }

  .mosaic { grid-template-columns: 1fr; }
  .mosaic .m-1,
  .mosaic .m-2,
  .mosaic .m-3,
  .mosaic .m-4 { grid-column: span 1; aspect-ratio: 4 / 3; }
  .mosaic .m-1,
  .mosaic .m-4 { aspect-ratio: 3 / 4; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.9rem; }
  .product-desc { display: none; }
  .product-actions { width: 100%; }
  .product-actions .btn { flex: 1; padding-inline: 0.6rem; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .product-add { opacity: 1; transform: none; }
  .product-tag { font-size: 0.6rem; padding: 0.28rem 0.55rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: start; }

  .wa-float { inset-block-end: 1rem; inset-inline-end: 1rem; }
  .drawer { width: 100vw; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr; }
  .color-card { aspect-ratio: 4 / 3; }
}

/* الطباعة */
@media print {
  .site-header, .wa-float, .drawer, .scrim, .modal, .filters { display: none !important; }
  body { background: #fff; }
}
