/* ============================================================================ */
/* IRANYekanX - تعریف کامل تمام weights با fallback به woff (برای مرورگرهای قدیم) */
/* ============================================================================ */

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

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

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

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

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

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

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

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

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

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

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

/* ============================================================================ */
/* Override کامل تمام عناصر سایت (شامل inline styles و کلاس‌های Tailwind)         */
/* ============================================================================ */

*, *::before, *::after,
html, body,
h1, h2, h3, h4, h5, h6, p, span, div, a, li, ul, ol, dl, dt, dd,
button, input, select, textarea, optgroup, option, label, legend,
table, thead, tbody, tfoot, tr, th, td,
nav, header, footer, section, article, aside, main, figure, figcaption,
.font-vazir, .font-peyda {
    font-family: 'IRANYekanX', Tahoma, Arial, sans-serif !important;
}

/* Numbers in monospace contexts - اگر در جایی monospace می‌خواستی، می‌توان اضافه کرد */
code, pre, kbd, samp {
    font-family: 'IRANYekanX', 'Courier New', monospace !important;
}
