/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: WEBINEW
Author URI: https://webinew.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@font-face {
    font-family: "webinew-iYx-vf";
    src: url("https://badieesaffron.com/wp-content/uploads/2026/07/webinew-iYx-vf.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* اعمال فونت در سایت */
body,
button,
input,
textarea,
select,
.elementor-widget-text-editor,
.elementor-heading-title,
.elementor-button,
.elementor-icon-list-text {
    font-family: "webinew-iYx-vf", sans-serif;
}
/* تعریف فونت وریبل وف */

body {
	-moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}
/* 1. تغییر متغیرهای اصلی وودمارت (این بخش امن است و آیکون‌ها را خراب نمی‌کند) */
:root {
    --wd-text-font: "webinew-iYx-vf", sans-serif !important;
    --wd-title-font: "webinew-iYx-vf", sans-serif !important;
    --wd-entities-font: "webinew-iYx-vf", sans-serif !important;
    --wd-widget-title-font: "webinew-iYx-vf", sans-serif !important;
    --wd-navigation-font: "webinew-iYx-vf", sans-serif !important;
    --wd-alternative-font: "webinew-iYx-vf", sans-serif !important;
    
    /* متغیرهای المنتور */
    --e-global-typography-text-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-primary-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-secondary-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-accent-font-family: "webinew-iYx-vf", sans-serif !important;
}

/* 2. اعمال فونت فقط روی تگ‌هایی که ۱۰۰٪ متن هستند */
/* ما تگ‌های span, i, div, a را حذف کردیم تا آیکون‌ها خراب نشوند */
body, p, h1, h2, h3, h4, h5, h6,
input, textarea, select, option,
label, blockquote, figcaption,
.amount, .price {
    font-family: "webinew-iYx-vf", sans-serif !important;
}

/* 3. استثنا قائل شدن برای جلوگیری از خرابی آیکون‌ها */
/* این بخش می‌گوید: فونت را اعمال کن مگر اینکه کلاس آیکون داشته باشد */
a:not(.fa):not(.fas):not(.fab):not(.wd-icon):not(.dashicons),
span:not(.fa):not(.fas):not(.fab):not(.wd-icon):not(.dashicons):not(.elementor-icon),
button:not(.wd-btn-icon) {
     font-family: "webinew-iYx-vf", sans-serif;
}

/* اصلاح نوار ادمین وردپرس (آن نوار سیاه بالا) */
#wpadminbar *:not(.ab-icon):not(.dashicons):not(.ab-item::before) {
    font-family: "webinew-iYx-vf", sans-serif !important;
}
