/* Shared Arabic (RTL) typography, linked on every page rendered with <html dir="rtl">.
   Bebas Neue / DM Sans have no Arabic glyphs; Cairo covers Arabic + Latin. */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

[dir=rtl] body,
[dir=rtl] button, [dir=rtl] input, [dir=rtl] textarea, [dir=rtl] select {
  font-family: 'Cairo', 'DM Sans', sans-serif !important;
}
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4, [dir=rtl] h5, [dir=rtl] h6 {
  font-family: 'Cairo', 'Bebas Neue', sans-serif !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}
/* Letter-spacing and italics break Arabic letter joining. */
[dir=rtl] [style*="letter-spacing"] { letter-spacing: 0 !important; }
[dir=rtl] * { letter-spacing: 0 !important; font-style: normal; }

/* Stat counters such as "4,500+" / "4.7 ★": keep the "+"/star on the right side. */
[dir=rtl] .stat-number, [dir=rtl] .stat-val { direction: ltr; unicode-bidi: isolate; }
