/*
 * Canonical Persian UI font contract.
 * Keep all font URLs relative to this file so the same CSS works below both
 * / and /staging/ without a bundle-depth-dependent URL.
 */
@font-face {
  font-family: "iransans-web";
  src: url("iransans-web_light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "iransans-web";
  src: url("iransans-web.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "iransans-web";
  src: url("iransans-web_medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "iransans-web";
  src: url("iransans-web_bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../Vazirmatn-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Legacy text and icon fonts formerly embedded in a depth-sensitive bundle. */
@font-face {
  font-family: "Open Sans";
  src: url("../OpenSans-Regular-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "fontello";
  src: url("../fontello.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Glyphicons Halflings";
  src: url("../glyphicons-halflings-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Existing application line-heights remain explicit in route CSS, keeping
 * UI text uses iransans-web only. */
:root {
  --crm-font-ui: "iransans-web", sans-serif;
  --crm-font-body: "iransans-web", sans-serif;
}
