/* =======================================================
   Local Font: IRANSansWeb (FaNum) - Woodmart + Elementor
   Path: /wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/
   ======================================================= */

/* UltraLight - 200 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Light - 300 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Normal - 400 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_Normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium - 500 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold - 700 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Black - 900 */
@font-face {
  font-family: 'IRANSansWebFaNum';
  src: url('/wp-content/themes/woodmart-child/fonts/IRANSansWeb-FaNum/IRANSansWeb(FaNum)_Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =======================================================
   Apply font globally (safe + effective)
   ======================================================= */

/* روی کل سایت */
html, body {
  font-family: 'IRANSansWebFaNum', sans-serif;
  font-weight: 400;
}

/* ورودی‌ها و دکمه‌ها */
button, input, textarea, select {
  font-family: 'IRANSansWebFaNum', sans-serif;
}

/* WoodMart variables (اگر قالب از CSS Variables استفاده کند) */
:root {
  --wd-text-font: 'IRANSansWebFaNum', sans-serif;
  --wd-title-font: 'IRANSansWebFaNum', sans-serif;
}

/* Elementor + WooCommerce + Woodmart (برای جاهایی که جداگانه override می‌کنند) */
.elementor,
.elementor * ,
.woocommerce,
.woocommerce *,
.wd-header,
.wd-header *,
.wd-nav,
.wd-nav *,
.wd-tools,
.wd-tools * {
  font-family: 'IRANSansWebFaNum', sans-serif !important;
}
