/*
  IRANSansX (FaNum) - stylesheet.css
  این فایل را داخل همان پوشه‌ای بگذارید که فایل‌های فونت (woff / woff2) در آن هستند.
  مثال: wp-content/themes/g5plus-lustria/fonts/   (یا هر پوشه‌ی فونت قالب)
  نام فایل‌ها دقیقاً مطابق فایل‌های داخل zip است (حروف بزرگ و کوچک مهم است).
*/

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

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

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

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

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

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

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

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

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

/* ---------- اعمال فونت روی کل سایت (بدون خراب کردن آیکون‌ها) ---------- */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, div, label, strong, em, small,
input, textarea, select, button,
table, th, td,
.woocommerce, .woocommerce-page {
  font-family: 'IRANSansX', Tahoma, sans-serif !important;
}

/* آیکون‌ها دست‌نخورده بمانند */
.fa, .fas, .far, .fal, .fab, i[class*="fa-"] {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome' !important;
}
.dashicons { font-family: 'dashicons' !important; }
