/* EYECO Vazirmatn Local - public site + editor canvas */
@font-face {
    font-family: "EYECO Vazirmatn";
    src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
         url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --eyeco-vazirmatn: "EYECO Vazirmatn", "Vazirmatn", Tahoma, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
optgroup,
option {
    font-family: var(--eyeco-vazirmatn) !important;
}

/*
 * Force textual elements to Vazirmatn while leaving common icon-font
 * elements and code blocks untouched. This prevents Dashicons,
 * Font Awesome, Elementor icon fonts and similar libraries from breaking.
 */
body *:not(i):not(svg):not(path):not(code):not(pre):not(kbd):not(samp):not(.dashicons):not(.ab-icon):not(.wp-menu-image):not([class^="dashicons-"]):not([class*=" dashicons-"]):not([class*="icon"]) {
    font-family: var(--eyeco-vazirmatn) !important;
}

/* Keep source-code / technical text readable. */
body code,
body code *,
body pre,
body pre *,
body kbd,
body samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

/* Logged-in admin bar on the public site. */
#wpadminbar,
#wpadminbar .ab-item:not(.ab-icon),
#wpadminbar .ab-label,
#wpadminbar .display-name {
    font-family: var(--eyeco-vazirmatn) !important;
}
