/* Digit glyphs only; all letters keep the existing IRANSans face and weights. */
@font-face {
    font-family: "IRANSans Persian Digits";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb(FaNum)_UltraLight.woff") format("woff");
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "IRANSans Persian Digits";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb(FaNum)_Light.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb(FaNum)_Light.woff") format("woff");
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "IRANSans Persian Digits";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb(FaNum).woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb(FaNum).woff") format("woff");
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "IRANSans Persian Digits";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff");
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

@font-face {
    font-family: "IRANSans Persian Digits";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/iran-sans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
         url("../fonts/iran-sans/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff");
    unicode-range: U+0030-0039, U+0660-0669, U+06F0-06F9;
}

html[lang="fa"] {
    --bs-body-font-family: "IRANSans Persian Digits", "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
    --english-body-font: "IRANSans Persian Digits", "IRANSans", "Inter", "Segoe UI", Arial, sans-serif;
    --english-heading-font: "IRANSans Persian Digits", "IRANSans", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

html[lang="fa"] :is(main.english-content-page, .english-content-region) {
    --english-body-font: "IRANSans Persian Digits", "IRANSans", "Inter", "Segoe UI", Arial, sans-serif;
    --english-heading-font: "IRANSans Persian Digits", "IRANSans", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

/* Explicit exceptions also work for content inserted by API calls and widgets. */
html[lang="fa"] :is(
    [data-latin-digits], time,
    .home-top-tour-price, .home-top-tour-date,
    .tour-sidebar-price__amount, .departure-card__calendar,
    .departure-card__dates time, .departure-card__price > strong,
    .departure-card__price-list dd,
    .tour-booking-price, .tour-booking-date, .tour-booking-price-option dd,
    .tour-request-price-amount, #tourBookingDate,
    .tour-month-picker, .flatpickr-calendar, .flatpickr,
    .tour-price-range-filter,
    input[type="date"], input[type="datetime-local"], input[type="month"], input[type="week"]
) {
    --bs-body-font-family: "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
    --english-body-font: "IRANSans", "Inter", "Segoe UI", Arial, sans-serif;
    --english-heading-font: "IRANSans", "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
    font-family: var(--bs-body-font-family) !important;
    font-variant-numeric: tabular-nums;
}
