/**
 * Global IRANYekan — all text; icon fonts preserved.
 */

html,
body,
#wpwrap,
#wpbody-content,
#wpfooter,
.wrap,
input,
textarea,
select,
button,
optgroup,
option,
table,
th,
td,
label,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
ul,
ol,
blockquote,
figcaption,
pre,
code,
kbd,
samp,
.vpd-wrapper,
.vpd-wrapper * {
    font-family: IRANYekan, sans-serif;
}

/* ── Icon fonts: do NOT replace ── */

.dashicons,
.dashicons-before::before,
.dashicons::before,
[class*=" dashicons-"]::before,
[class^="dashicons-"]::before,
#wpwrap .dashicons,
#wpwrap .dashicons-before::before,
#wpwrap .dashicons::before,
#wpwrap .order-higher-indicator::before,
#wpwrap .order-lower-indicator::before,
#wpwrap .toggle-indicator::before,
#wpwrap .handle-order-higher::before,
#wpwrap .handle-order-lower::before,
#wpwrap .handlediv::before,
.wp-menu-image::before,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
.menu-icon-generic div.wp-menu-image::before {
    font-family: dashicons !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.fa,
.fab,
.fas,
.far,
.fal,
.fad,
.fat,
.fa-brands,
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone,
.fa-sharp,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-style: normal;
}

.fa::before,
.fab::before,
.fas::before,
.far::before,
.fal::before,
.fad::before,
.fat::before,
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-style: normal;
}

.fa,
.fas,
.fa-solid,
[class^="fa-"]:not(.fa-thin):not(.fa-light):not(.fa-regular):not(.fa-brands):not(.fa-duotone):not(.fa-sharp):not(.fab):not(.fas):not(.far):not(.fal):not(.fat):not(.fad),
[class*=" fa-"]:not(.fa-thin):not(.fa-light):not(.fa-regular):not(.fa-brands):not(.fa-duotone):not(.fa-sharp) {
    font-weight: 900;
}

.fat,
.fa-thin {
    font-weight: 100 !important;
}

.fab,
.fa-brands,
[class^="fab"]::before {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

.far,
.fa-regular {
    font-weight: 400 !important;
}

.fal,
.fa-light {
    font-weight: 300 !important;
}

.fad,
.fa-duotone {
    font-weight: 900 !important;
}

.fa-sharp,
.fass,
.fa-sharp-solid {
    font-weight: 900 !important;
}

.fasr,
.fa-sharp-regular {
    font-weight: 400 !important;
}

.eicon,
.eicon::before,
[class^="eicon-"]::before,
[class*=" eicon-"]::before,
.elementor-icon,
.elementor-icon i,
.elementor-icon i::before,
.elementor-social-icon i,
.elementor-social-icon i::before {
    font-family: eicons !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.genericon,
.genericon::before {
    font-family: Genericons !important;
}

.mce-ico,
.mce-ico::before,
i[class^="mce-i-"]::before {
    font-weight: 400 !important;
    font-style: normal !important;
}

svg,
.components-icon svg,
.block-editor-block-icon svg,
img,
.e-font-icon-svg {
    font-family: inherit;
}

/* Third-party UI overrides */
.leaflet-container,
.leaflet-popup-content,
.leaflet-control,
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button,
.ui-datepicker,
.ui-datepicker * {
    font-family: IRANYekan, sans-serif !important;
}
