/* ==========================================================================
   English digits everywhere (Canada store)
   - Stop using Vazir-Medium-FD / IRANSans digit remapping
   - ASCII 0-9 render with a Latin font via unicode-range
   ========================================================================== */

/* Latin digits / currency / punctuation */
@font-face {
    font-family: 'EnglishDigits';
    src: local('Segoe UI'), local('Arial'), local('Helvetica Neue'), local('Helvetica');
    unicode-range: U+0030-0039, U+0024, U+002C, U+002E, U+0025, U+002B, U+002D;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir-400.woff2') format('woff2'),
         url('../fonts/vazir-400.woff') format('woff'),
         url('../fonts/vazir-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir-500.woff2') format('woff2'),
         url('../fonts/vazir-500.woff') format('woff'),
         url('../fonts/vazir-500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir-700.woff2') format('woff2'),
         url('../fonts/vazir-700.woff') format('woff'),
         url('../fonts/vazir-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Override IRANSans (often Farsi digits) for the whole storefront */
html,
body,
body *,
* {
    font-family: 'EnglishDigits', 'Vazir', Tahoma, Arial, sans-serif !important;
    font-variant-numeric: lining-nums tabular-nums;
}

/* Keep icon fonts intact */
i.fa,
i.fas,
i.far,
.fa,
.fas,
.far {
    font-family: 'Font Awesome 5 Free' !important;
}

i.fab,
.fab {
    font-family: 'Font Awesome 5 Brands' !important;
}

i.fal,
i.fad,
.fal,
.fad {
    font-family: 'Font Awesome 5 Pro' !important;
}

i[class^="flaticon-"],
i[class*=" flaticon-"],
[class^="flaticon-"],
[class*=" flaticon-"] {
    font-family: 'Flaticon' !important;
}

i.mdi,
.mdi {
    font-family: 'Material Design Icons', 'Material Icons' !important;
}

i[class^="ti-"],
[class^="ti-"] {
    font-family: 'themify' !important;
}
