@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/IRANSansWeb.woff') format('woff'),
         url('../fonts/IRANSansWeb.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --iransansweb-global-font: 'IRANSansWeb', Tahoma, Arial, sans-serif;
}

html,
body,
body.rtl,
button,
input,
select,
textarea,
optgroup,
table,
.tooltip,
.popover,
.select2-container,
.select2-results,
.woocommerce,
.woocommerce-page,
.elementor,
.elementor-widget,
.elementor-kit,
.wp-site-blocks,
.wp-block,
.editor-styles-wrapper,
#wpadminbar,
#wpbody,
#wpcontent,
#wpfooter {
    font-family: var(--iransansweb-global-font) !important;
}

/* Apply to normal text without overriding icon-font glyphs. */
body :where(
    p, a, span, div, li, ul, ol, dl, dt, dd,
    h1, h2, h3, h4, h5, h6,
    label, legend, caption, blockquote,
    strong, b, em, small, mark,
    th, td, button, input, select, textarea, option
):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.dashicons):not(.material-icons):not(.material-symbols-outlined):not([class^='icon-']):not([class*=' icon-']):not([class^='eicon-']):not([class*=' eicon-']):not([class^='ti-']):not([class*=' ti-']):not([class^='flaticon-']):not([class*=' flaticon-']) {
    font-family: var(--iransansweb-global-font) !important;
}

/* Preserve technical and icon content. */
code,
pre,
kbd,
samp,
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
.fa-solid,
.fa-regular,
.fa-brands,
.dashicons,
.material-icons,
.material-symbols-outlined,
[class^='icon-'],
[class*=' icon-'],
[class^='eicon-'],
[class*=' eicon-'],
[class^='ti-'],
[class*=' ti-'],
[class^='flaticon-'],
[class*=' flaticon-'] {
    font-family: revert !important;
}
