/* frontend/assets/fonts/vazirmatn/vazirmatn-font.css
 * Local Vazirmatn font — no external CDN dependency.
 * font-display: swap → متن فوراً با فونت سیستم رندر می‌شود، بعد swap می‌شود.
 * اگر فایل woff2 دانلود نشده باشد، این بلوک‌ها ساخته نمی‌شوند و
 * مرورگر مستقیماً به fallback در font-family می‌رود.
 */

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Vazirmatn-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Vazirmatn-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('Vazirmatn-Bold.woff2') format('woff2');
}

/* Fallback stack — always applied. اگر Vazirmatn بارگذاری نشد، این‌ها جایگزین می‌شوند. */
html, body, button, input, select, textarea, optgroup {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', 'Iranian Sans', 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
