/**
 * IRANSansX — self-hosted, local font files (assets/fonts/).
 *
 * Only the weights actually used by the design system are included:
 * 400 (body text), 600 (buttons/labels/tags), 700 (bold body emphasis),
 * 800 (headings). The supplied Thin/Light/Black weights were left out to
 * keep the font payload lean, per "avoid unnecessary font files" — the
 * theme's own logo text (previously weight 900 on the Latin font) was
 * adjusted to 800 rather than shipping a 5th file for one small element.
 *
 * unicode-range covers Persian/Arabic script plus basic Latin, since
 * product/technical terms (GPON, Wi-Fi 6, XGS-PON, AC1200) are always
 * written in Latin script even within Persian sentences.
 */

@font-face {
  font-family: 'IRANSansX';
  src: url('IRANSansX-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('IRANSansX-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('IRANSansX-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('IRANSansX-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

/**
 * IRANSansX FaNum — a separate font-family, deliberately NOT swapped in
 * globally. FaNum's Persian-digit glyphs are optimized for Persian
 * numeral rendering; the base IRANSansX above is used everywhere else
 * (headings, body text, technical/Latin content). Applied selectively via
 * .linkwi-fanum to elements that actually display Persian digits: prices,
 * dates, pagination, cart count, the mobile-number field, and the OTP
 * modal. Same 4-weight subset as the base family, for the same reason.
 */
@font-face {
  font-family: 'IRANSansXFaNum';
  src: url('IRANSansXFaNum-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansXFaNum';
  src: url('IRANSansXFaNum-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansXFaNum';
  src: url('IRANSansXFaNum-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IRANSansXFaNum';
  src: url('IRANSansXFaNum-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
