/* ───────── e-W — نظام التصميم ───────── */
@font-face { font-family: "Alexandria"; font-weight: 400; font-display: swap; src: url(/fonts/alexandria-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Alexandria"; font-weight: 600; font-display: swap; src: url(/fonts/alexandria-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url(/fonts/alexandria-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Alexandria"; font-weight: 800; font-display: swap; src: url(/fonts/alexandria-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Alexandria"; font-weight: 400; font-display: swap; src: url(/fonts/alexandria-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Alexandria"; font-weight: 600; font-display: swap; src: url(/fonts/alexandria-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url(/fonts/alexandria-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Alexandria"; font-weight: 800; font-display: swap; src: url(/fonts/alexandria-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --ink: #2a0f1e;
  --ink-2: #4a2a3b;
  --muted: #6f5866;
  --magenta: #d8156f;
  --magenta-deep: #a90c55;
  --magenta-ink: #8a0b46;
  --blush: #fbe4ee;
  --blush-2: #f6cfe0;
  --sand: #f4ece3;
  --sand-2: #e9ddd0;
  --paper: #fffaf6;
  --line: #e5d6ca;
  --leaf: #2d7a4c;
  --ok: #1f7a46;
  --warn: #8a5a00;
  --err: #b42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(42, 15, 30, .06), 0 10px 30px -12px rgba(42, 15, 30, .18);
  --display: "Alexandria", "Plex Arabic", system-ui, sans-serif;
  --body: "Plex Arabic", "Alexandria", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.75 var(--body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.25; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ───────── أزرار ───────── */
.btn { --bg: var(--magenta); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 600 16px/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; box-shadow: 0 8px 22px -10px rgba(216, 21, 111, .7); white-space: nowrap; }
.btn:hover { background: var(--magenta-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; background: var(--ink); color: #fff; }
.btn--dark { --bg: var(--ink); box-shadow: none; }
.btn--dark:hover { background: #000; }
.btn--wa { --bg: #1f7a46; box-shadow: none; }
.btn--wa:hover { background: #17633a; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--magenta-ink); font-weight: 600; text-underline-offset: 4px; }

/* ───────── الترويسة ───────── */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark { font: 800 28px/1 var(--display); color: var(--magenta); letter-spacing: -.02em; direction: ltr; }
.brand__mark i { font-style: italic; font-weight: 400; }
.brand__by { font-size: 12px; color: var(--muted); letter-spacing: .04em; direction: ltr; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--blush); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--magenta); color: #fff; font: 700 12px/22px var(--display); text-align: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header-actions .btn { display: none; }
  .header-actions { margin-inline-start: auto; }
  .nav { margin-inline-start: 0; }
}

/* ───────── البطل ───────── */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 88px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.4 var(--display); color: var(--magenta-ink); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 74px); font-weight: 800; margin-top: 18px; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--magenta); }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__price { margin-top: 18px; font-size: 15px; color: var(--muted); min-height: 1.75em; }
.hero__price strong { color: var(--ink); font: 700 18px var(--display); }
.hero__media { position: relative; }
.hero__media picture img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(80, 30, 20, .45); }
.hero__badge { position: absolute; inset-inline-start: -14px; bottom: 28px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 240px; }
.hero__badge b { font: 800 30px/1 var(--display); color: var(--magenta); }
.hero__badge span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__badge { inset-inline-start: 10px; bottom: 14px; }
  .hero__cta .btn { flex: 1 1 200px; }
}

/* شريط الحقائق */
.facts { background: var(--ink); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 20px; border-inline-start: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; }
.facts li:first-child { border-inline-start: 0; }
.facts b { font: 800 clamp(26px, 3.2vw, 36px)/1.1 var(--display); color: #ff9fca; }
.facts span { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ───────── أقسام عامة ───────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--sand { background: var(--sand); }
.section--blush { background: var(--blush); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* اليوم والمشكلة */
.day { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.day__media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline time { font: 700 15px/1.6 var(--display); color: var(--magenta-ink); direction: ltr; text-align: end; }
.timeline p { color: var(--ink-2); }
.timeline strong { color: var(--ink); }
.answer { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-inline-start: 4px solid var(--magenta); }
.answer p { color: var(--ink-2); }
.answer strong { color: var(--ink); }
@media (max-width: 860px) { .day { grid-template-columns: 1fr; } .day__media { max-width: 460px; } }

/* المزايا */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.benefit { background: var(--paper); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blush); color: var(--magenta-ink); display: grid; place-items: center; }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 20px; font-weight: 700; }
.benefit p { color: var(--ink-2); font-size: 16px; }
.benefit .fact { margin-top: auto; padding-top: 10px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* داخل الكوب */
.inside { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.tabs { display: inline-flex; padding: 4px; background: var(--sand); border-radius: 999px; gap: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; cursor: pointer; font: 600 14.5px var(--display); color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.nutri { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.nutri caption { text-align: start; font: 700 18px var(--display); padding-bottom: 6px; }
.nutri th, .nutri td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: start; font-weight: 400; }
.nutri td { text-align: end; font-variant-numeric: tabular-nums; direction: ltr; white-space: nowrap; font-weight: 600; }
.nutri tr.group th { padding-top: 18px; font: 700 13px var(--display); color: var(--magenta-ink); letter-spacing: .04em; border-bottom-color: var(--ink); }
.panel .source { margin-top: 14px; font-size: 13px; color: var(--muted); }
.ingredients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.ingredients li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.ingredients li.hl { background: var(--blush); border-color: var(--blush-2); color: var(--magenta-ink); font-weight: 600; }
.legend { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--blush); border: 1px solid var(--blush-2); }
.inside h3 { font-size: 22px; font-weight: 700; }
.inside .sub { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }

/* المقارنة */
.compare-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.compare thead th { font: 700 16px var(--display); background: var(--sand); }
.compare thead th.us { background: var(--magenta); color: #fff; }
.compare td.us { background: #fff5f9; font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 22%; }
.compare tr:last-child > * { border-bottom: 0; }
.footnote { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* طريقة التحضير */
.howto { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.howto__media img { border-radius: 24px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 18px var(--display); }
.steps h3 { font-size: 19px; font-weight: 700; margin-top: 2px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.notes { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sand); font-size: 14.5px; color: var(--ink-2); }
.note b { display: block; color: var(--ink); font-family: var(--display); font-size: 15px; }
@media (max-width: 860px) { .howto { grid-template-columns: 1fr; } .notes { grid-template-columns: 1fr; } }

/* لمن ومن يتجنب */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit__card { border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.fit__card--yes { background: #fff; box-shadow: var(--shadow); }
.fit__card--care { background: var(--ink); color: #fff; }
.fit__card h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.fit__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit__card li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.65; }
.fit__card li svg { width: 22px; height: 22px; margin-top: 3px; }
.fit__card--yes svg { color: var(--leaf); }
.fit__card--care svg { color: #ff9fca; }
.fit__card--care li { color: rgba(255,255,255,.88); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* صورة عريضة */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; max-height: 640px; }
.band__text { background: var(--magenta); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 88px); gap: 18px; }
.band__text h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.band__text p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 30em; }
.band__text .btn { --bg: #fff; --fg: var(--magenta-ink); background: #fff; color: var(--magenta-ink); align-self: flex-start; box-shadow: none; }
.band__text .btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band img { aspect-ratio: 4 / 3; } }

/* الطلب */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.buy__media { background: var(--sand); border-radius: 28px; padding: clamp(16px, 3vw, 32px); }
.buy__media img { border-radius: 18px; width: 100%; }
.buy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.buy .variant { margin-top: 8px; color: var(--ink-2); }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.price-line .price { font: 800 40px/1 var(--display); }
.price-line .per { color: var(--muted); font-size: 15px; }
.includes { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.includes li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.includes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); flex: none; }
.qty-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 52px; }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 22px; cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--sand); }
.qty output, .qty input { width: 42px; text-align: center; font: 700 18px var(--display); border: 0; background: transparent; }
.qty-row .btn { flex: 1 1 180px; }
.buy .reassure { margin-top: 16px; font-size: 14px; color: var(--muted); }
.setup-note { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: #fff7e6; border: 1px solid #f1d9a6; color: #5c4200; font-size: 15px; }
.setup-note .btn { margin-top: 12px; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }

/* الأسئلة */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 600 17px/1.5 var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--magenta); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .a p + p { margin-top: 10px; }

/* التذييل */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-block: 64px 28px; font-size: 15px; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand__mark { color: #ff9fca; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); }
.site-footer .disclaimer { margin-top: 14px; max-width: 36em; font-size: 13.5px; color: rgba(255,255,255,.66); }
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr; gap: 28px; } }

/* شريط الطلب السفلي على الجوال */
.sticky-buy { position: fixed; inset: auto 0 0 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .meta { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sticky-buy .meta strong { display: block; color: var(--ink); font: 700 15px var(--display); }
.sticky-buy .btn { margin-inline-start: auto; min-height: 46px; }
@media (max-width: 760px) { .sticky-buy { display: flex; } body.has-sticky { padding-bottom: 72px; } }

/* ───────── السلة الجانبية ───────── */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(42, 15, 30, .45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 60px rgba(0,0,0,.2); }
[dir="rtl"] .drawer__panel { inset-inline-end: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 20px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.icon-btn:hover { background: var(--sand-2); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--sand); }
.line-item h3 { font-size: 15.5px; font-weight: 700; }
.line-item .v { font-size: 13.5px; color: var(--muted); }
.line-item .qty { height: 38px; margin-top: 8px; }
.line-item .qty button { width: 34px; font-size: 18px; }
.line-item .qty output { width: 30px; font-size: 15px; }
.line-item .end { text-align: end; display: grid; gap: 8px; justify-items: end; }
.line-item .lt { font: 700 15px var(--display); }
.remove { border: 0; background: none; color: var(--muted); font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.remove:hover { color: var(--err); }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.row.total { font: 700 18px var(--display); }
.row .muted, .muted { color: var(--muted); }

/* إشعار منبثق صغير */
.toast { position: fixed; bottom: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); z-index: 80; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); transition: .25s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
@media (max-width: 760px) { .toast { bottom: 88px; } }

/* ───────── النماذج / الدفع ───────── */
.page-head { background: var(--sand); padding-block: 36px 30px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.page-head p { margin-top: 8px; color: var(--ink-2); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); padding-block: 40px 80px; align-items: start; }
.checkout aside { position: sticky; top: 96px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout aside { position: static; order: -1; } }
fieldset { border: 0; margin: 0 0 28px; padding: 0; }
legend { font: 700 20px var(--display); margin-bottom: 16px; padding: 0; display: flex; gap: 10px; align-items: center; }
legend .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(216, 21, 111, .14); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: right; }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field .err { font-size: 13.5px; color: var(--err); font-weight: 600; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; align-items: start; }
.choice:has(input:checked) { border-color: var(--magenta); background: #fff6fa; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--magenta); }
.choice b { font-family: var(--display); font-weight: 600; display: block; }
.choice span { font-size: 14px; color: var(--muted); }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-2); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--magenta); }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 18px; }
.form-alert--err { background: #fdecea; color: #7a1a10; border: 1px solid #f5c2bc; }
.form-alert--info { background: var(--sand); color: var(--ink-2); }
.summary h2 { font-size: 20px; margin-bottom: 8px; }
.summary .rows { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* صفحة التأكيد */
.confirm { max-width: 720px; margin-inline: auto; padding-block: 48px 88px; }
.confirm__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.confirm__badge svg { width: 36px; height: 36px; }
.confirm h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.order-no { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: var(--sand); font: 700 18px var(--display); direction: ltr; }
.order-no button { border: 0; background: #fff; padding: 6px 10px; border-radius: 8px; cursor: pointer; font: 600 13px var(--body); }
.next-steps { margin-top: 28px; display: grid; gap: 12px; }
.next-steps li { margin-inline-start: 1.2em; color: var(--ink-2); }
.wa-box { margin-top: 28px; padding: 20px; border-radius: var(--radius); background: #eef7f1; border: 1px solid #cfe7d8; }
.wa-box p { color: #23402f; font-size: 15px; margin-bottom: 12px; }

/* صفحات السياسات */
.prose { max-width: 760px; padding-block: 40px 88px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-inline-start: 1.3em; }
.prose .pending { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sand); color: var(--ink-2); }

/* ظهور تدريجي خفيف */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* إضافات الملخص والتأكيد */
.summary .btn { margin-top: 18px; }
.summary > .muted { margin-top: 10px; font-size: 13.5px; }
.summary .line-item { grid-template-columns: 60px 1fr auto; }
.summary .line-item img { width: 60px; height: 60px; }
.confirm .panel { margin-top: 28px; }
.confirm .summary [data-lines] { display: grid; gap: 8px; margin-top: 8px; }
.next-title { font-size: 22px; margin-top: 36px; }
.next-steps { padding: 0; margin: 14px 0 0; }

/* تحسينات الجوال للبطل */
@media (max-width: 860px) {
  .hero .wrap { padding-top: 20px; gap: 22px; }
  .hero__media picture img { aspect-ratio: 5 / 4; object-position: 50% 45%; border-radius: 22px; }
  .hero__badge { position: relative; inset: auto; margin: -30px auto 0; width: fit-content; max-width: calc(100% - 32px); padding: 10px 14px; }
  .hero__badge b { font-size: 24px; }
  .hero h1 { margin-top: 12px; }
}
