/* /wp-content/themes/xtra/font/fonts.css */

/* === IRANSansX (برای تیترها - فقط Bold موجود) === */
@font-face {
  font-family: 'IRANSansX';
  src: url('../font/IRANSansX-Bold.woff2') format('woff2'),
       url('../font/IRANSansX-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === Vazir (برای متن‌ها - Regular) === */
@font-face {
  font-family: 'Vazir';
  src: url('../font/Vazir.woff2') format('woff2'),
       url('../font/Vazir.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === کلاس‌های کمکی برای استفاده راحت در CSS قالب === */
html, body {
  font-family: 'Vazir', sans-serif;
  font-weight: 400;
  color: #444444;
  background-color: #F8F8F7;
  line-height: 1.7;
}

/* تیترها */
.h-font-iransans, h1, h2, h3, h4, h5, h6 {
  font-family: 'IRANSansX', sans-serif;
  font-weight: 700;
  color: #333333;
}

/* متن بدنه (اگر خواستی صریح تنظیم کنی) */
.p-font-vazir, p, li, .content {
  font-family: 'Vazir', sans-serif;
  font-weight: 400;
  color: #444444;
}

/* دکمه/CTA نمونه (می‌تونی این کلاس رو توی قالب استفاده کنی) */
button, .cta {
  font-family: 'IRANSansX', sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: #D4AF37;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color .18s ease;
}
button:hover, .cta:hover {
  background: #b9962d;
}
