/* حنيذ الجبل: واجهة العميل. الهوية الفاتحة الراقية: كريمي + ذهبي الشعار + أسود. */
:root {
  /* أسطح */
  --bg: #FAF6EE;
  --surface: #FFFFFF;
  --surface-2: #F3ECDE;
  --field: #FDFBF6;
  --line: #E1D8C5;
  --line-2: #E6DECB;
  --line-3: #EDE5D4;
  /* حبر */
  --ink: #17150F;
  --ink-2: #6E675A;
  --ink-3: #9A9385;
  --ink-soft: #4A453C;
  /* الهوية */
  --black: #0E0E0E;
  --on-black: #F6EEDA;
  --gold: #C9A227;
  --gold-dark: #8C6D1E;
  --gold-light: #E7C662;
  --gold-soft: #F6EEDA;
  --gold-line: #E7DBB6;
  --check-line: #D6CBB2;
  /* حالات */
  --ok: #2E6B49;  --ok-soft: #E1EFE6;
  --warn: #9A5A00; --warn-soft: #FBEFD9;
  --info: #2C4A57; --info-soft: #E3EBEE;
  --wa: #1E9E58;
  /* شكل */
  --r-card: 20px;
  --r-box: 16px;
  --r-btn: 15px;
  --r-field: 13px;
  --r-chip: 12px;
  --r-pill: 999px;
  --shadow: 0 10px 28px rgba(23,21,15,.08);
  --shadow-gold: 0 8px 20px rgba(160,128,30,.28);
  --font-head: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--ink); direction: rtl;
  font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: #74591A; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.num, output, .price, .line-total, .amt { font-variant-numeric: tabular-nums; }

.wrap { max-width: 520px; margin: 0 auto; padding-inline: 18px; }

/* ===== الشريط العلوي ===== */
.topbar { background: var(--black); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.topbar img { height: 46px; width: auto; border-radius: 6px; }
.topbar .wa { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--black); font-weight: 700; font-size: 13px; padding: 8px 13px; border-radius: var(--r-pill); }
.topbar .wa:hover { background: #B99321; color: var(--black); }
.ic { width: 21px; height: 21px; flex: none; }
.topbar .wa .ic { width: 17px; height: 17px; }

/* ===== الأزرار ===== */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-btn); padding: 16px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); }
.btn-black { background: var(--black); color: var(--on-black); }
.btn-black:hover { background: #1C1C1C; color: var(--on-black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #B99321; color: var(--black); }
.btn-ghost { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; padding: 15px; }
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold-line); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; font-size: 15.5px; }
.btn-wa:hover { background: #1A8A4D; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ===== الافتتاح ===== */
.hero { display: flex; flex-direction: column; gap: 16px; padding-block: 18px 6px; }
.hero .photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.72) 0%, rgba(14,14,14,0) 55%); }
.hero .caption { position: absolute; inset-inline: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.hero .tag { font-size: 12.5px; font-weight: 600; color: var(--gold-light); letter-spacing: .02em; }
.hero h1 { font-size: 30px; color: #FFFCF4; }
.hero .text { font-size: 15px; line-height: 1.85; color: var(--ink-soft); text-wrap: pretty; }
.closed { background: var(--warn-soft); color: var(--warn); padding: 12px 14px; border-radius: 14px; font-weight: 600; }

/* ===== الأقسام ===== */
section { padding-block: 22px 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sec-head h2 { font-size: 24px; display: flex; flex-direction: column; gap: 5px; }
.sec-head h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); border-radius: 2px; }
.sec-head span { color: var(--ink-2); font-size: 12.5px; max-width: 160px; text-align: end; }

/* كيف نشتغل */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-box); padding: 12px 11px; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--font-head); font-size: 19px; color: var(--gold); line-height: 1; }
.step b { font-size: 13.5px; font-weight: 600; }
.step span { font-size: 12px; color: var(--ink-2); line-height: 1.55; }

/* من شغلنا */
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 74%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-box); scroll-snap-align: start; }
.dots { display: flex; gap: 6px; margin-top: 8px; }
.dots span { width: 8px; height: 4px; border-radius: 2px; background: var(--line); transition: width .15s, background .15s; }
.dots span.on { width: 20px; background: var(--gold); }

/* آراء العملاء */
.reviews { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding-inline: 18px; padding-bottom: 6px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 78%; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-box); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.review p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.review .who { font-size: 13px; font-weight: 600; }

/* ===== المنيو ===== */
.guests { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.guests label { font-size: 14px; font-weight: 600; }
.guests .control { border-radius: 14px; padding: 11px 14px; font-size: 16px; font-weight: 600; }
.suggest { background: var(--gold-soft); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; line-height: 1.6; }
.suggest b { font-weight: 700; }
.suggest button { border: 0; background: var(--black); color: var(--on-black); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 13px; }

.items { display: flex; flex-direction: column; gap: 14px; }
.items.invalid { outline: 2px solid var(--warn); outline-offset: 6px; border-radius: 20px; }
.sec-head + .field-err { margin: -6px 0 12px; }
.item { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; }
/* بطاقة كبيرة: صورة علوية وشارة سعر */
.item .media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.item .media img { width: 100%; height: 100%; object-fit: cover; }
.item .media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph { background: repeating-linear-gradient(135deg, #F3ECDE 0 8px, #EDE5D4 8px 16px); font-family: ui-monospace, monospace; font-size: 9.5px; color: var(--ink-3); line-height: 1.4; text-align: center; padding: 8px; }
.item .badge-price { position: absolute; inset-inline-end: 12px; top: 12px; background: rgba(14,14,14,.88); color: var(--on-black); border-radius: 12px; padding: 7px 12px; display: flex; align-items: baseline; gap: 5px; }
.item .badge-price b { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.item .badge-price span { font-size: 11.5px; color: #D8CDB2; }
.item .head { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.item h3 { font-size: 19px; }
.item .desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.item .serves { font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.item .deposit { font-size: 12px; color: var(--ink-2); }
.item .deposit::before { content: "↩ "; color: var(--gold-dark); }
.opts { padding: 14px; display: flex; flex-direction: column; gap: 13px; }
.opt { display: flex; flex-direction: column; gap: 7px; }
.opt .t { font-size: 12px; font-weight: 600; color: var(--gold-dark); letter-spacing: .02em; }
.opt-row { display: flex; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* داخل بطاقة الصنف: سطر واحد ينسحب أفقياً بدل سطرين */
.opts .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; padding-bottom: 2px; }
.opts .chips::-webkit-scrollbar { display: none; }
.opts .chip { flex: none; padding: 8px 12px; }
.chip { border: 1.5px solid var(--line); background: var(--field); border-radius: var(--r-chip); padding: 9px 14px; font-weight: 600; font-size: 13.5px; display: grid; text-align: center; line-height: 1.3; color: var(--ink); }
.chip small { font-weight: 400; font-size: 11.5px; color: var(--ink-2); }
.chip:hover { background: var(--gold-soft); border-color: var(--gold-line); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.chip[aria-pressed="true"] small { color: #CFC6AE; }
/* الإضافات: مطوية افتراضياً، تفتح بضغطة */
.extras-toggle { display: flex; align-items: center; gap: 8px; width: 100%; border: 1.5px solid var(--line); background: var(--field); border-radius: var(--r-chip); padding: 9px 12px; text-align: start; }
.extras-toggle .t { color: var(--gold-dark); font-size: 12.5px; font-weight: 600; }
.extras-toggle .extras-sum { flex: 1; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.extras-toggle .extras-sum.on { color: var(--ink); font-weight: 600; }
.extras-toggle .chev { color: var(--ink-2); font-size: 12px; transition: transform .15s; }
.extras-toggle[aria-expanded="true"] { background: var(--gold-soft); border-color: var(--gold-line); }
.extras-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.multi { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.multi label { display: flex; align-items: center; gap: 7px; background: var(--field); border: 1.5px solid var(--line); border-radius: var(--r-chip); padding: 8px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.multi label:has(input:checked) { background: var(--gold-soft); border-color: var(--gold-line); }
.multi input { position: absolute; opacity: 0; width: 0; height: 0; }
.multi .box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--check-line); display: grid; place-items: center; font-size: 11px; color: var(--black); flex: none; }
.multi label:has(input:checked) .box { background: var(--gold); border-color: var(--gold); }
.multi label:has(input:checked) .box::after { content: "✓"; }
.multi small { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.multi label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
/* نعم/لا */
.toggle { display: flex; align-items: flex-start; gap: 9px; background: #FBF8F1; border: 1px solid var(--line-3); border-radius: 14px; padding: 11px 12px; font-size: 13px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.toggle small { font-weight: 400; color: var(--ink-2); font-size: 13px; }
/* تذييل البطاقة */
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line-3); background: #FBF8F1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; font-weight: 600; color: var(--ink); }
.qty[data-zero="true"] button.minus { color: var(--ink-2); }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.line-total { font-weight: 700; font-size: 15.5px; }
.line-total.empty { color: var(--ink-3); font-weight: 400; font-size: 13.5px; }
/* بطاقة أفقية للأصناف بلا خيارات */
.item.compact { display: grid; grid-template-columns: 104px 1fr; }
.item.compact .side { width: 104px; height: 100%; min-height: 118px; }
.item.compact .side img { width: 104px; height: 100%; object-fit: cover; }
.item.compact .side .ph { height: 100%; display: grid; place-items: center; }
.item.compact .body { padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; }
.item.compact h3 { font-size: 17px; }
.item.compact .desc { font-size: 12.5px; line-height: 1.6; margin-top: -4px; }
.item.compact .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.item.compact .price { display: flex; align-items: baseline; gap: 4px; }
.item.compact .price b { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.item.compact .price span { font-size: 11.5px; color: var(--ink-2); }
.item.compact .qty { border-radius: 11px; background: var(--field); }
.item.compact .qty button { width: 38px; height: 38px; font-size: 18px; }
.item.compact .qty output { min-width: 26px; font-size: 14px; }
.item.compact .line-total { display: none; }

/* ===== الشريط الثابت ===== */
.bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 5; padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #FAF6EE 72%, rgba(250,246,238,0)); }
.bar-inner { max-width: 484px; margin: 0 auto; }
.bar .btn { justify-content: space-between; padding: 15px 18px; box-shadow: var(--shadow-gold); border-radius: 16px; }
.bar .btn .amt { font-size: 13.5px; font-weight: 500; }

/* ===== الطلب ===== */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 13.5px; }
.field .hint, .hint { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.control { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-field); padding: 12px; background: var(--field); min-height: 44px; font-size: 14.5px; }
.control::placeholder { color: var(--ink-3); }
textarea.control { min-height: 74px; resize: vertical; line-height: 1.7; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#methods .chip { flex: 1; border-radius: var(--r-field); padding: 12px; font-size: 14px; }
.summary { display: flex; flex-direction: column; gap: 7px; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.summary .row span:last-child { font-weight: 600; }
.summary .row.total { font-weight: 700; font-size: 16.5px; border-top: 1px solid var(--line-3); padding-top: 9px; }
.summary .row.total span:last-child { font-weight: 700; }
.summary .muted { color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.summary .muted span:last-child { font-weight: 400; }
.err { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.field-err { font-size: 12.5px; color: var(--warn); font-weight: 600; }
.control.invalid { border-color: var(--warn); background: #FFF8EE; }
.item.invalid, .card.invalid { outline: 2px solid var(--warn); outline-offset: 2px; }
.loc { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--gold); color: var(--gold-dark); background: transparent; border-radius: var(--r-field); padding: 12px; font-weight: 600; }
.loc[data-done="true"] { border-style: solid; border-color: var(--ok-soft); background: var(--ok-soft); color: var(--ok); }

/* ===== التواصل والاتفاق ===== */
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.socials a { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px; font-weight: 600; font-size: 14px; color: var(--ink); }
.socials a:hover { background: var(--gold-soft); border-color: var(--gold-line); color: var(--ink); }
.socials .soc-whatsapp .ic { color: #1E9E58; }
.socials .soc-instagram .ic { color: #C13584; }
.socials .soc-tiktok .ic, .socials .soc-x .ic { color: #111; }
.socials .soc-snapchat .ic { color: #D4B300; }
.socials .soc-pin .ic, .socials .soc-link .ic, .socials .soc-phone .ic { color: var(--gold-dark); }
.terms { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 16px 32px 16px 16px; }
.terms ol { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.install { padding-top: 22px; text-align: center; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--gold-light); display: grid; place-items: center; padding: 0; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: rgba(255,255,255,.14); color: var(--gold-light); }
/* أيقونة التثبيت: ذهبية بنبضة خفيفة حتى يلاحظها العميل */
#install-btn { background: var(--gold); border-color: var(--gold); color: var(--black); position: relative; }
#install-btn::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .8; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #install-btn::after { animation: none; } }
/* شريط التثبيت */
.install-bar { background: var(--surface); border-bottom: 1px solid var(--line-2); }
.install-bar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.install-bar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.install-bar .txt { flex: 1; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.install-bar .txt b { font-size: 13.5px; font-weight: 700; }
.install-bar .txt span { font-size: 12px; color: var(--ink-2); }
.install-bar .go { border: 0; background: var(--gold); color: var(--black); font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: var(--r-pill); flex: none; }
.install-bar .go:hover { background: #B99321; }
.install-bar .x { border: 0; background: transparent; color: var(--ink-3); font-size: 14px; padding: 6px; flex: none; }
.icon-btn.soc-whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; }
.icon-btn.soc-instagram { background: #C13584; border-color: #C13584; color: #fff; }
.icon-btn.soc-tiktok { background: #fff; border-color: #fff; color: #111; }
.icon-btn.soc-whatsapp:hover, .icon-btn.soc-instagram:hover, .icon-btn.soc-tiktok:hover { filter: brightness(1.08); }
.tools-icons .btn { flex-direction: column; gap: 4px; font-size: 12px; padding: 10px 4px; }
.tools-icons .btn .ic { width: 20px; height: 20px; color: var(--gold-dark); }
.tools-2 { grid-template-columns: 1fr 1fr; }
.flash { position: fixed; bottom: 96px; inset-inline: 18px; z-index: 9; background: var(--black); color: #fff; padding: 12px 16px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.copy a { color: var(--gold-dark); word-break: break-all; }
footer { padding-block: 26px 130px; text-align: center; color: var(--ink-3); font-size: 12.5px; }
footer a { color: #B08B2E; }

/* ===== شاشة وصلنا طلبك ===== */
.done { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; }
.done-head { background: var(--black); margin-inline: -18px; padding: 26px 18px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.done-head img { height: 44px; width: auto; border-radius: 6px; }
.done-head .big { font-family: var(--font-head); font-size: 28px; font-weight: 600; color: #FFFCF4; }
.done-head .num { background: var(--gold); color: var(--black); font-weight: 700; padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; }
.done .lead { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); }
.done .btn-wa .ic { width: 21px; height: 21px; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tools .btn { padding: 12px 6px; font-size: 13px; font-weight: 600; border-radius: var(--r-field); }
.copy { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.copy span { word-break: break-all; color: var(--gold-dark); }
.done details summary { background: var(--surface-2); border-radius: 14px; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; }
.done details summary::-webkit-details-marker { display: none; }
.done details summary::after { content: "▾"; color: var(--ink-2); }
.done details[open] summary::after { content: "▴"; }
.pre { white-space: pre-wrap; background: var(--surface-2); border-radius: 13px; padding: 13px; font-size: 12.5px; line-height: 1.8; margin-top: 8px; }

/* ===== متابعة الطلب ===== */
.track { display: flex; flex-direction: column; gap: 14px; }
.track .eyebrow { font-size: 12.5px; font-weight: 600; color: var(--gold-dark); }
.track h1 { font-size: 27px; }
.track .when { font-size: 12.5px; color: var(--ink-3); }
.track .card { gap: 12px; }
.track h2 { font-size: 19px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tl { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); text-align: center; }
.tl::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--line); }
.tl.on { color: var(--ink); font-weight: 700; }
.tl.on::before { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.tl.cancel { color: var(--warn); }
.status-msg { text-align: center; font-weight: 600; font-size: 14px; line-height: 1.7; }
.pay { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.pay .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pay .row span:first-child { color: var(--ink-2); }
.pay .val { font-weight: 700; user-select: all; }
.pay img { max-width: 220px; border-radius: 10px; margin: 0 auto; }
.upload { border: 1.5px dashed var(--gold); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 9px; background: var(--field); }
.upload label { font-size: 13px; font-weight: 600; }
.upload input[type="file"] { font-size: 12.5px; color: var(--ink-3); }
.upload .btn { border-radius: var(--r-field); padding: 13px; font-size: 14.5px; }
.ok-box { background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.track .tools .btn { background: var(--field); border: 1.5px solid var(--line); padding: 11px 4px; font-size: 12.5px; border-radius: 12px; }
.rate { display: flex; gap: 6px; direction: ltr; justify-content: flex-end; }
.rate button { border: 0; background: transparent; font-size: 30px; color: var(--line); line-height: 1; padding: 0 2px; }
.rate button[aria-pressed="true"] { color: var(--gold); }
.track textarea.control { min-height: 62px; font-size: 13.5px; }

@media (prefers-reduced-motion: no-preference) { .chip, .btn, .multi label { transition: background .15s, border-color .15s, color .15s; } }
@media print {
  .topbar .wa, .bar, .btn, .rate, form, .no-print, .tools { display: none !important; }
  body { background: #fff; }
  .card { border: 1px solid #ccc; break-inside: avoid; }
}
@media (max-width: 380px) {
  .item.compact { grid-template-columns: 88px 1fr; }
  .item.compact .side, .item.compact .side img { width: 88px; }
  .steps { grid-template-columns: 1fr; }
}
