/* MP TECH v2.7 – homepage typography everywhere in MP Tech front-end.
   Homepage originals: Cairo (Arabic) and Poppins (English).
   Font files are defined in pages/typography.css and stored locally.
   Keep sizing, weights, icon glyphs and page layout unchanged. */
body.mptech-custom-page,
body.mptech-extra-page,
body.mptech-service-single,
body.mptech-custom-page .mptech-extra,
body.mptech-extra-page .mptech-extra,
body.mptech-service-single .mptech-detail-shell {
  --mptech-font-ar: "MP Cairo", Cairo, Tahoma, Arial, sans-serif;
  --mptech-font-en: "MP Poppins", Poppins, Arial, sans-serif;
  font-family: var(--mptech-font-ar) !important;
}
/* Apply consistently to visible text and form controls, not icon fonts. */
body.mptech-custom-page :is(h1,h2,h3,h4,h5,h6,p,blockquote,li,dd,dt,label,a,button,input,textarea,select,option,small,strong,em),
body.mptech-extra-page :is(h1,h2,h3,h4,h5,h6,p,blockquote,li,dd,dt,label,a,button,input,textarea,select,option,small,strong,em),
body.mptech-service-single :is(h1,h2,h3,h4,h5,h6,p,blockquote,li,dd,dt,label,a,button,input,textarea,select,option,small,strong,em) {
  font-family: inherit !important;
}
/* English language mode switches the website root lang to en via existing JS. */
html[lang|="en"] body.mptech-custom-page,
html[lang|="en"] body.mptech-extra-page,
html[lang|="en"] body.mptech-service-single,
html[lang|="en"] body.mptech-custom-page .mptech-extra,
html[lang|="en"] body.mptech-extra-page .mptech-extra,
html[lang|="en"] body.mptech-service-single .mptech-detail-shell {
  font-family: var(--mptech-font-en) !important;
}
/* Mixed-language elements remain readable in either mode. */
body.mptech-custom-page [lang|="ar"],
body.mptech-extra-page [lang|="ar"],
body.mptech-service-single [lang|="ar"] {
  font-family: var(--mptech-font-ar) !important;
}
body.mptech-custom-page [lang|="en"],
body.mptech-extra-page [lang|="en"],
body.mptech-service-single [lang|="en"] {
  font-family: var(--mptech-font-en) !important;
}
/* Do not change explicitly drawn icons / graphics or inline SVG text. */
