@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

/* Persian Typography Tokens */
:root {
    --font-family-fa-base: 'Vazirmatn', 'Vazir', 'IRANSans', 'Segoe UI', Tahoma, sans-serif;
    --font-family-fa-heading: 'Vazirmatn', 'IRANSans', 'Segoe UI', Tahoma, sans-serif;
    --font-family-fa-numeric: 'Vazirmatn', 'Vazir', 'IRANSans', 'Segoe UI', Tahoma, sans-serif;
}

html, body {
    font-family: var(--font-family-fa-base);
}

body {
    font-weight: 400;
    line-height: 1.7;
    color: #1f2430;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-fa-heading);
    font-weight: 600;
    line-height: 1.4;
}

strong, b {
    font-weight: 600;
}

.persian-digits,
.number,
.price,
.count,
.duration,
.badge,
.table td,
.table th {
    font-family: var(--font-family-fa-numeric);
    font-feature-settings: 'ss01' 1;
}

/* Legacy Vazir Font Face Declarations */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Regular.woff2') format('woff2'),
         url('../fonts/Vazir-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

