/* ═══ هوية «استهداف» الموحّدة — مصدر واحد للخط والألوان والأزرار والذيل ═══
   تنحمّل أول شي بكل الصفحات: الرئيسية (v3.css)، صفحات الطلب/الأقسام (site.css + skin3.css)،
   رابط العميل (voucher.css)، ولوحة الإدارة (admin.css). أي تغيير لون/خط هنا يمشي على الكل.
   الأسماء القديمة (--ink/--soft/--card/--brand…) أسماء ثانية لنفس الألوان حتى الملفات القديمة تشتغل بلا تغيير. */
@font-face { font-family: "Alexandria"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/alexandria-ar.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Alexandria"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/alexandria-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Reem Kufi"; font-weight: 700; font-display: swap; src: url(/assets/fonts/reemkufi-700-ar.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Reem Kufi"; font-weight: 700; font-display: swap; src: url(/assets/fonts/reemkufi-700-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* الأساس */
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-2: #fff4ea;
  --surface-3: #ffeadb;
  --line: rgba(43, 26, 70, .09);
  --line-2: rgba(43, 26, 70, .16);
  --text: #2b1a46;
  --muted: #6d6383;
  --dim: #9a92ad;
  --gold: #ff9f1c;
  --coral: #ff5c7a;
  --pink: #ff5c8a;
  --violet: #8b5cf6;
  --mint: #12b886;
  --hot: linear-gradient(105deg, #ff9f1c 0%, #ff5c8a 55%, #b25cf6 100%);
  --grad-soft: linear-gradient(105deg, #fff0dc, #ffe3ee 50%, #efe7ff);
  --shadow: 0 20px 50px -24px rgba(80, 40, 120, .35);
  --shadow-sm: 0 8px 22px -14px rgba(80, 40, 120, .4);
  --glow: 0 16px 36px -14px rgba(255, 92, 138, .55);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 22px;
  --font: "Alexandria", "Tajawal", system-ui, sans-serif;
  --kufi: "Reem Kufi", "Alexandria", sans-serif;
  /* حالات */
  --ok: #12b886;
  --ok-ink: #0b7a57;
  --warn: #f08c00;
  --danger: #e03a5f;
  --err: #c2254a;
  /* أسماء ثانية لنفس الألوان (site.css / admin.css / voucher.css) */
  --card: var(--surface);
  --ink: var(--text);
  --soft: var(--muted);
  --brand: #7c3aed;
  --brand-2: #8b5cf6;
  --accent: #ff9f1c;
  --track: #fff1e3;
  --hover: #fff4ea;
  --field: #fffaf4;
  --focus: 0 0 0 4px rgba(139, 92, 246, .16);
  color-scheme: light;
}

/* الذيل الموحّد (الرئيسية + صفحات الطلب والأقسام + رابط العميل) — src/ui.js footer() */
.ft { background: linear-gradient(180deg, var(--bg), #fff1e3); border-top: 1px solid var(--line); padding: 34px 0 28px; }
.ft-in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.ft-mother { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 16px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); transition: transform .35s var(--spring), box-shadow .3s; text-align: start; }
.ft-mother:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ft-mother img { width: 64px; height: 64px; flex: none; object-fit: contain; animation: ui-hop 3.6s ease-in-out infinite; }
.ft-mother span { display: grid; line-height: 1.35; }
.ft-mother small { color: var(--muted); font-size: 13px; }
.ft-mother b { font-family: var(--kufi); font-size: 30px; font-weight: 700; }
.ft-mother em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.ft-mother i { font-style: normal; margin-inline-start: 8px; padding: 8px 14px; border-radius: 999px; background: var(--hot); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.ft-links a { text-decoration: none; font-weight: 600; color: var(--muted); }
.ft-links a:hover { color: var(--text); }
.ft-wa { display: inline-flex; align-items: center; gap: 6px; color: #128c4a !important; }
.ft-copy { margin: 0; font-size: 12.5px; color: var(--dim); }
@keyframes ui-hop { 0%, 80%, 100% { transform: translateY(0); } 86% { transform: translateY(-7px) rotate(-4deg); } 92% { transform: translateY(0); } }
@media (max-width: 720px) {
  .ft-mother { flex-wrap: wrap; justify-content: center; text-align: center; }
  .ft-mother span { justify-items: center; }
}
@media (prefers-reduced-motion: reduce) { .ft-mother img { animation: none; } }
