/* ==========================================
   شبکه البرز - Fonts
   ترکیب دو فونت:
   - Dana برای عنوان‌ها و تیترها (حس متمایز و برجسته)
   - IRANSansX برای متن اصلی (خوانایی بهینه در متن بلند)
   تاریخ تغییر: تیرماه ۱۴۰۵
   ========================================== */


/* -------------------------------
   تعریف فونت Dana (برای عنوان‌ها)
-------------------------------- */

@font-face {
	font-family: dana;
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('../font/dana/woff2/dana-regular.woff2') format('woff2'),
	url('../font/dana/woff/dana-regular.woff') format('woff');
}

@font-face {
	font-family: dana;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../font/dana/woff2/dana-demibold.woff2') format('woff2'),
	url('../font/dana/woff/dana-demibold.woff') format('woff');
}

@font-face {
	font-family: dana;
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: url('../font/dana/woff2/dana-bold.woff2') format('woff2'),
	url('../font/dana/woff/dana-bold.woff') format('woff');
}

@font-face {
	font-family: dana;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../font/dana/woff2/dana-extrabold.woff2') format('woff2'),
	url('../font/dana/woff/dana-extrabold.woff') format('woff');
}


/* -------------------------------
   تعریف فونت IRANSansX (برای متن اصلی)
-------------------------------- */

@font-face {
	font-family: IRANSansXFaNum;
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('../font/IRANSansX-new/woff2/IRANSansXFaNum-regular.woff2') format('woff2'),
	url('../font/IRANSansX-new/woff/IRANSansXFaNum-regular.woff') format('woff');
}

@font-face {
	font-family: IRANSansXFaNum;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../font/IRANSansX-new/woff2/IRANSansXFaNum-medium.woff2') format('woff2'),
	url('../font/IRANSansX-new/woff/IRANSansXFaNum-medium.woff') format('woff');
}

@font-face {
	font-family: IRANSansXFaNum;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../font/IRANSansX-new/woff2/IRANSansXFaNum-demibold.woff2') format('woff2'),
	url('../font/IRANSansX-new/woff/IRANSansXFaNum-demibold.woff') format('woff');
}

@font-face {
	font-family: IRANSansXFaNum;
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: url('../font/IRANSansX-new/woff2/IRANSansXFaNum-bold.woff2') format('woff2'),
	url('../font/IRANSansX-new/woff/IRANSansXFaNum-bold.woff') format('woff');
}


/* -------------------------------
   اعمال فونت متن اصلی روی کل سایت
   (شامل هدر، منوها، ابزارک‌ها که قبلاً فونت قدیمی
   با اختصاصیت بالاتر روی آن‌ها اعمال می‌شد)

   نکته: از !important و انتخابگر فراگیر body *
   استفاده شده تا مطمئناً بر قوانین اختصاصی‌تر خود
   قالب Woodmart غلبه کند. آیکون‌ها (i, svg, کلاس‌های
   icon/eicon/fa-) از این قانون مستثنی شده‌اند تا
   خراب نشوند.
-------------------------------- */

body,
body *:not(i):not(svg):not(svg *):not([class*="icon"]):not([class*="eicon"]):not([class*="fa-"]) {
	font-family: IRANSansXFaNum, Tahoma, Arial, sans-serif !important;
	font-weight: 500;
}


/* -------------------------------
   اعمال فونت Dana روی عنوان‌ها و تیترها
   (بعد از قانون بالا آمده تا در این موارد خاص برنده شود)
-------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.product_title,
.entry-title,
.page-title,
.widget-title,
.wd-entities-title,
.shop-loop-head {
	font-family: dana, Tahoma, Arial, sans-serif !important;
	font-weight: 700;
}

h1,
h2 {
	font-weight: 800;
}
