/* أنعام الوسطى — رمز الريال (U+20C1) في الموقع — ٢٩ نوفمبر ٢٠٢٦، طلب المالك «في الكل».
 *
 * `anaam-riyal.js` يلفّ «ريال/ر.س/﷼» بجوار الرقم في `<span class="an-sar">`، والنصّ الأصليّ
 * يبقى داخله مخفيًّا (`.an-sar-t`): النسخ وقارئ الشاشة وأيّ سكربتٍ يقرأ السعر بـ`.text()`
 * يرون «ريال» كما كان. والرمز يُرسَم بـ`::before` بخطٍّ مضموم — لا خطّ نظامٍ يحمله بعد (CLAUDE.md §١٩).
 * وهي الطريقة نفسها في اللوحة (`anaam-admin.css`).
 */
@font-face { font-family: "Anaam Riyal"; font-weight: 100 599; font-display: block;
  src: url("../fonts/AnaamRiyal-Regular.ttf") format("truetype"); unicode-range: U+20C1; }
@font-face { font-family: "Anaam Riyal"; font-weight: 600 1000; font-display: block;
  src: url("../fonts/AnaamRiyal-Bold.ttf") format("truetype"); unicode-range: U+20C1; }

/* ⚠️ `html body` و`!important`: القالب ينسّق كلّ <span> داخل بطاقاته وأسعاره
   (`.product-detail h4 span`، `.price-box span`…) فكان الرمز سينزل سطرًا أو يصغر. */
html body .an-sar { display: inline-block !important; position: relative; white-space: nowrap;
  font-size: inherit !important; color: inherit !important; line-height: 1; vertical-align: baseline;
  margin: 0 !important; padding: 0 !important; background: none !important; text-decoration: none !important; }
/* «999ريال» بلا مسافة في الأصل ⇒ مسافةٌ رفيعة لئلّا يلتصق الرمز بالرقم */
html body .an-sar.an-sar--tight { margin-inline-start: .22em !important; }
/* 1.3em: الشكل مضبوطٌ على ارتفاع الرقم لكنّه أنحف من الأرقام العريضة فيبدو أصغر (قياس اللوحة ٢٨ نوفمبر) */
.an-sar::before { content: "\20C1"; font-family: "Anaam Riyal", sans-serif !important; font-weight: inherit;
  font-size: 1.3em; line-height: 1; vertical-align: -0.07em; }
.an-sar > .an-sar-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
