@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* =========================================================
   خطوط البداح الموحّدة
   العناوين: ثمانية  |  النصوص والبيانات: IBM Plex Sans Arabic
   يُحمَّل آخر ملف في <head> ليتغلّب على خطوط القوالب القديمة
   ========================================================= */

@font-face{
  font-family:"Thmanyah"; font-weight:400; font-style:normal; font-display:swap;
  src:url("../fonts/thmanyah-display-Regular.woff2") format("woff2");
}
@font-face{
  font-family:"Thmanyah"; font-weight:500; font-style:normal; font-display:swap;
  src:url("../fonts/thmanyah-display-Medium.woff2") format("woff2");
}
@font-face{
  font-family:"Thmanyah"; font-weight:600; font-style:normal; font-display:swap;
  src:url("../fonts/thmanyah-display-Bold.woff2") format("woff2");
}
@font-face{
  font-family:"Thmanyah"; font-weight:700; font-style:normal; font-display:swap;
  src:url("../fonts/thmanyah-display-Bold.woff2") format("woff2");
}

:root{
  --albdah-title:"Thmanyah","IBM Plex Sans Arabic",Georgia,serif;
  --albdah-body:"IBM Plex Sans Arabic",system-ui,"Segoe UI",sans-serif;
}

/* ---- النصوص والبيانات ---- */
html body,
body p, body a, body span, body div, body li, body ul, body ol,
body td, body th, body table, body label, body form,
body input, body select, body textarea, body button, body option, body optgroup,
body small, body strong, body b, body em, body u, body s,
body figcaption, body blockquote, body dt, body dd, body caption, body legend,
body nav, body header, body footer, body section, body article, body aside, body main{
  font-family:var(--albdah-body) !important;
}

/* ---- العناوين ---- */
html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6,
body .title, body .heading, body .section-title{
  font-family:var(--albdah-title) !important;
  letter-spacing:0;
}

/* ---- الأرقام تُقرأ بوضوح ---- */
body .num, body .price, body .amount{
  font-variant-numeric:tabular-nums;
}

/* =========================================================
   استثناءات إلزامية — خطوط الأيقونات لا تُمسّ
   (أي تغيير هنا يحوّل الأيقونات إلى مربّعات أو حروف)
   ========================================================= */
body .material-symbols-outlined,
body .material-symbols-rounded,
body .material-symbols-sharp,
body .material-icons,
body .material-icons-outlined{
  font-family:'Material Symbols Outlined','Material Icons' !important;
}

body .fa, body .fas, body .far, body .fal, body .fad,
body .fa-solid, body .fa-regular, body .fa-light, body .fa-duotone,
body [class^="fa-"], body [class*=" fa-"]{
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
}

body .fab, body .fa-brands,
body [class^="fab "], body [class*=" fab "]{
  font-family:"Font Awesome 6 Brands","Font Awesome 5 Brands" !important;
}
