/* ─────────────────────────────────────────────────────────────────────────
   فونتِ فارسیِ محلی (وزیرمتن) — بدونِ وابستگی به اینترنت/Google Fonts
   این فایل باید قبل از بقیه‌ی CSSها لود شود.
   ───────────────────────────────────────────────────────────────────────── */

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

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* پشته‌ی فونتِ سراسری — همه‌جا فارسی */
:root {
    --font-fa: 'Vazirmatn', 'Segoe UI', Tahoma, 'Iranian Sans', Arial, sans-serif;
}

html, body,
button, input, select, textarea, optgroup,
.btn, .form-control, .form-select, .badge, .nav-link,
table, th, td, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-fa) !important;
}

/* اعداد در کادرهای لاتین/مبلغ هم با همین فونت خوانا بمانند */
[dir="ltr"], .font-monospace {
    font-family: var(--font-fa) !important;
}
