/* ========================================
   فونت ایران یکان - Iran Yekan Font
======================================== */

/* Regular - عادی */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanwebregularfanum.eot');
    src: url('fonts/eot/iranyekanwebregularfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanwebregularfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanwebregularfanum.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Light - نازک */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanweblightfanum.eot');
    src: url('fonts/eot/iranyekanweblightfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanweblightfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanweblightfanum.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Medium - متوسط */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanwebmediumfanum.eot');
    src: url('fonts/eot/iranyekanwebmediumfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanwebmediumfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanwebmediumfanum.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold - ضخیم */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanwebboldfanum.eot');
    src: url('fonts/eot/iranyekanwebboldfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanwebboldfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanwebboldfanum.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Extra Bold - خیلی ضخیم */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanwebextraboldfanum.eot');
    src: url('fonts/eot/iranyekanwebextraboldfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanwebextraboldfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanwebextraboldfanum.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Black - سیاه */
@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/eot/iranyekanwebblackfanum.eot');
    src: url('fonts/eot/iranyekanwebblackfanum.eot?#iefix') format('embedded-opentype'),
         url('fonts/woff/iranyekanwebblackfanum.woff') format('woff'),
         url('fonts/ttf/iranyekanwebblackfanum.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت به المانهای خاص (بدون آیکونها) */
body,
input:not([type="submit"]):not([type="button"]):not([type="reset"]),
textarea,
select,
button:not(.dashicons):not([class*="icon"]),
.booking-dashboard-modern,
.booking-form-container,
.booking-admin-wrap,
h1, h2, h3, h4, h5, h6,
p, span:not(.dashicons):not([class*="icon"]),
a:not(.dashicons):not([class*="icon"]),
label,
td, th {
    font-family: 'IRANYekan', 'Tahoma', 'Arial', sans-serif !important;
}

/* حفظ فونت پیشفرض برای آیکونها */
.dashicons,
.dashicons-before:before,
[class*="dashicons-"],
[class*="icon-"],
.wp-menu-image,
.ab-icon {
    font-family: dashicons !important;
}

/* بهینه سازی رندر فونت */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
