/**
 * IRANSansX with Farsi numerals (FaNum) — served from static/fonts/iransansx/
 * Subset: weights used in the UI (400–800) to reduce initial font download.
 */

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/iransansx/woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/iransansx/woff2/IRANSansXFaNum-Medium.woff2") format("woff2");
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/iransansx/woff2/IRANSansXFaNum-DemiBold.woff2") format("woff2");
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/iransansx/woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/iransansx/woff2/IRANSansXFaNum-ExtraBold.woff2") format("woff2");
}

/* Global typography — FaNum glyphs render Persian digits */
html {
    font-family: IRANSansX, Tahoma, sans-serif;
}

body,
button,
input,
select,
textarea,
optgroup,
table,
th,
td,
label,
.btn,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}
