/* IRANYekanX Pro - purchased local font pack. Text only; icon-font families are not overridden. */
@font-face {
    font-family: "IRANYekanX";
    src: url("../fonts/IRANYekanX/IRANYekanXVFaNumVF.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}

/* Woodmart uses these variables across body text, headings, product titles, widgets and header elements. */
:root {
    --wd-text-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
    --wd-title-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
    --wd-entities-title-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
    --wd-alternative-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
    --wd-widget-title-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
    --wd-header-el-font: "IRANYekanX", Tahoma, Arial, sans-serif !important;
}

/* Text-bearing native elements. Icon glyphs rendered by ::before/::after keep their own font-family. */
html,
body,
button,
input,
optgroup,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label,
legend,
blockquote,
table,
th,
td,
caption,
ul,
ol,
li,
small,
strong,
b,
em,
mark,
figcaption,
code:not([class*="icon"]),
kbd:not([class*="icon"]) {
    font-family: "IRANYekanX", Tahoma, Arial, sans-serif !important;
}

/* WordPress / WooCommerce / Woodmart text that may carry a direct typography declaration. */
.woocommerce,
.woocommerce-page,
.wd-page-wrapper,
.main-page-wrapper,
.site-content,
.wd-header-nav,
.wd-nav,
.wd-nav a,
.wd-dropdown,
.wd-dropdown a,
.wd-entities-title,
.product_title,
.entry-title,
.widget-title,
.title,
.price,
.amount,
.woocommerce-Price-amount,
.woocommerce-breadcrumb,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.wc-block-components-formatted-money-amount,
.wc-block-components-product-name,
.wc-block-components-button,
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-checkbox,
.wc-block-components-radio-control,
.wc-block-components-order-summary,
.select2-container,
.select2-results,
.select2-search,
.select2-selection,
.select2-selection__rendered {
    font-family: "IRANYekanX", Tahoma, Arial, sans-serif !important;
}

/* Elementor text surfaces. Deliberately excludes .elementor-icon and icon-library classes. */
.elementor,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-button .elementor-button,
.elementor-widget-tabs .elementor-tab-title,
.elementor-widget-tabs .elementor-tab-content,
.elementor-widget-accordion .elementor-tab-title,
.elementor-widget-accordion .elementor-tab-content,
.elementor-widget-toggle .elementor-tab-title,
.elementor-widget-toggle .elementor-tab-content,
.elementor-icon-list-text,
.elementor-widget-counter .elementor-counter-title,
.elementor-widget-counter .elementor-counter-number-wrapper,
.elementor-widget-progress .elementor-title,
.elementor-widget-form .elementor-field,
.elementor-widget-form .elementor-button,
.elementor-form input,
.elementor-form textarea,
.elementor-form select {
    font-family: "IRANYekanX", Tahoma, Arial, sans-serif !important;
}

/* Common third-party text controls used with Woodmart/WooCommerce. */
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.swal2-container,
.mfp-wrap button,
.mfp-content,
.tooltip,
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: "IRANYekanX", Tahoma, Arial, sans-serif !important;
}
