@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Regular.eot');
    src: url('../fonts/vazir/Vazir-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vazir/Vazir-Regular.woff2') format('woff2'),
         url('../fonts/vazir/Vazir-Regular.woff') format('woff'),
         url('../fonts/vazir/Vazir-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Bold.eot');
    src: url('../fonts/vazir/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vazir/Vazir-Bold.woff2') format('woff2'),
         url('../fonts/vazir/Vazir-Bold.woff') format('woff'),
         url('../fonts/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Light.eot');
    src: url('../fonts/vazir/Vazir-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vazir/Vazir-Light.woff2') format('woff2'),
         url('../fonts/vazir/Vazir-Light.woff') format('woff'),
         url('../fonts/vazir/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Medium.eot');
    src: url('../fonts/vazir/Vazir-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vazir/Vazir-Medium.woff2') format('woff2'),
         url('../fonts/vazir/Vazir-Medium.woff') format('woff'),
         url('../fonts/vazir/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Add Font Awesome locally */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/fontawesome/fa-solid-900.eot');
    src: url('../fonts/fontawesome/fa-solid-900.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fontawesome/fa-solid-900.woff2') format('woff2'),
         url('../fonts/fontawesome/fa-solid-900.woff') format('woff'),
         url('../fonts/fontawesome/fa-solid-900.ttf') format('truetype'),
         url('../fonts/fontawesome/fa-solid-900.svg#fontawesome') format('svg');
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fontawesome/fa-brands-400.eot');
    src: url('../fonts/fontawesome/fa-brands-400.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fontawesome/fa-brands-400.woff2') format('woff2'),
         url('../fonts/fontawesome/fa-brands-400.woff') format('woff'),
         url('../fonts/fontawesome/fa-brands-400.ttf') format('truetype'),
         url('../fonts/fontawesome/fa-brands-400.svg#fontawesome') format('svg');
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fontawesome/fa-regular-400.eot');
    src: url('../fonts/fontawesome/fa-regular-400.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fontawesome/fa-regular-400.woff2') format('woff2'),
         url('../fonts/fontawesome/fa-regular-400.woff') format('woff'),
         url('../fonts/fontawesome/fa-regular-400.ttf') format('truetype'),
         url('../fonts/fontawesome/fa-regular-400.svg#fontawesome') format('svg');
    font-display: swap;
}

/* وزیر به عنوان فونت پیش‌فرض برای همه المان‌های صفحه */
body, input, button, select, textarea,
.km-city-header,
.km-locksmith-card,
.km-new-locksmith-card,
.km-collaboration-form,
.km-services-modal,
.km-services-section,
.km-services-title,
.km-services-list,
.km-service-tag,
.km-modal-content,
.km-modal-header,
.km-modal-body,
.km-modal-title,
.km-modal-close,
.km-action-buttons,
.km-btn,
.km-collaborate-btn {
    font-family: 'Vazir', tahoma, Arial, sans-serif !important;
}

/* تنظیم آیکن‌ها با فونت‌آسام محلی */
.fas, .fa-solid {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

.fab, .fa-brands {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

.far, .fa-regular {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 400 !important;
}

/* Minimal Font Awesome mapping for city pages (avoid dependency on body class) */
.km-single-city .fa-phone:before {
    content: "\f095";
}

.km-single-city .fa-phone-alt:before {
    content: "\f879";
}

.km-single-city .fa-map-marker-alt:before {
    content: "\f3c5";
}

.km-single-city .fa-clock:before {
    content: "\f017";
}

.km-single-city .fa-info-circle:before,
.km-single-city .fa-circle-info:before {
    content: "\f05a";
}

.km-single-city .fa-exclamation-circle:before {
    content: "\f06a";
}

.km-single-city .fa-angle-left:before {
    content: "\f104";
}

.km-single-city .fa-chevron-down:before {
    content: "\f078";
}

.km-single-city .fa-handshake:before {
    content: "\f2b5";
}

.km-single-city .fa-eye:before {
    content: "\f06e";
}

.km-single-city .fa-eye-slash:before {
    content: "\f070";
}

.km-single-city .fa-star:before {
    content: "\f005";
}

.km-single-city .fa-star-half-alt:before {
    content: "\f5c0";
}
