/* Self-hosted fonts, shared by the public site and the panel.
   Customers are in Iran where Google Fonts is unreliable, so nothing here
   loads from a third party.

   URLs are absolute (/assets/fonts/...), not relative to this file: this
   exact file is also served at /panel/css/fonts.css for the customer panel,
   and a relative "../assets/fonts/..." would then resolve to
   /panel/assets/fonts/... -- a different physical directory. The absolute
   path always resolves to the one, shared /assets/fonts/ mount regardless
   of which URL served this stylesheet, so the font files exist in exactly
   one place on disk.

   Only the weights the CSS actually requests are declared. Rules that ask
   for weight 600 intentionally resolve to the 700 face (no 600 face is
   declared), which matches how they rendered before self-hosting. */

/* Body: Vazirmatn (Persian + Latin) */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/vazirmatn-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/vazirmatn-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/vazirmatn-700.woff2') format('woff2');
}

/* Headings: Noto Naskh Arabic Bold. Arabic script and digits only, no Latin letters. */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/noto-naskh-arabic-700.woff2') format('woff2');
}

/* Headings, Latin letters: Lora. The file is variable (400-700) but is
   declared at 700 only, so the browser always renders the bold instance.
   It sits behind Noto Naskh Arabic in --font-heading and only draws the
   characters Naskh lacks. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
