/*---------------------------------------
    - Webfonts - Shasenem Hiwa
    - Local webfonts instead of Google Fonts API
-----------------------------------------*/

@font-face {
    font-family: 'shasenem-hiwa';
    src: url('../fonts/shasenem-hiwa.eot'); /* IE9 Compat Modes */
    src: url('../fonts/shasenem-hiwa.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/shasenem-hiwa.woff') format('woff'), /* Modern Browsers */
         url('../fonts/shasenem-hiwa.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/shasenem-hiwa.svg#shasenem-hiwa') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Better performance - shows fallback font while loading */
}

/* Font class for shasenem-hiwa */
.font_shasenem-hiwa {
    font-family: 'shasenem-hiwa', sans-serif;
}

/*---------------------------------------
    - Icon Font Protection
    - Ensure icons are not affected by default font changes
-----------------------------------------*/

/* Font Awesome icons - preserve original font-family */
.fa,
.fas,
.far,
.fal,
.fab,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
}

/* Flaticon icons - preserve original font-family */
[class^="flaticon-"],
[class*=" flaticon-"],
i[class^="flaticon-"],
i[class*=" flaticon-"] {
    font-family: "flaticon" !important;
}

/* Remixicon icons - preserve original font-family */
[class^="ri-"],
[class*=" ri-"],
i[class^="ri-"],
i[class*=" ri-"] {
    font-family: "remixicon" !important;
}

/* General icon protection - prevent font inheritance */
i[class*="icon"],
span[class*="icon"],
.icon,
[class*="icon-"] {
    /* Let icon libraries handle their own fonts */
    /* Only override if explicitly set by icon library */
}
