/* Cairo — self-hosted, loaded only on Arabic pages.
 *
 * No CDN: a POS terminal is expected to run with the line down, and a font
 * fetched from Google would simply not arrive. The files live in assets/fonts
 * and are served by the same Apache that serves the rest of the app.
 *
 * Cairo v5.3.0 (fontsource build), SIL Open Font License 1.1 — see
 * assets/fonts/Cairo-OFL.txt.
 *
 * Three weights: 400 for body text, 600, and 700. The stylesheet asks for 650
 * and 750 in places; CSS font matching rounds both to 700, so nothing is left
 * without a face. The subsets are disjoint, so an Arabic page fetches the Latin
 * file only when it actually shows Latin characters (AED, TRN, figures).
 */

/* ------------------------------------------------------------ Arabic */
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:400; font-display:swap;
  src:url(../fonts/cairo-arabic-400.woff2) format("woff2");
  unicode-range:U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:600; font-display:swap;
  src:url(../fonts/cairo-arabic-600.woff2) format("woff2");
  unicode-range:U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:700; font-display:swap;
  src:url(../fonts/cairo-arabic-700.woff2) format("woff2");
  unicode-range:U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* ------------------------------------------------------------- Latin */
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:400; font-display:swap;
  src:url(../fonts/cairo-latin-400.woff2) format("woff2");
  unicode-range:U+0000-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:600; font-display:swap;
  src:url(../fonts/cairo-latin-600.woff2) format("woff2");
  unicode-range:U+0000-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face{
  font-family:"Cairo"; font-style:normal; font-weight:700; font-display:swap;
  src:url(../fonts/cairo-latin-700.woff2) format("woff2");
  unicode-range:U+0000-00FF, U+0102, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
