@font-face {
    font-family: "Hanuman";
    src: url("../fonts/khmer/Hanuman.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Hanuman";
    src: url("../fonts/khmer/Hanuman.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Hanuman";
    src: url("../fonts/khmer/Hanuman.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Hanuman";
    src: url("../fonts/khmer/Hanuman.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Hanuman";
    src: url("../fonts/khmer/Hanuman.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

:root {
    --app-font-family: "Inter", "Noto Sans", Arial, "Noto Sans Khmer", "Hanuman", sans-serif;
    --khmer-font-family: "Hanuman", "Noto Sans Khmer", "Inter", "Noto Sans", Arial, sans-serif;
    --ff: var(--app-font-family);
    --bs-body-font-family: var(--app-font-family);
}

body,
input,
textarea,
select,
button,
.btn,
.form-control,
.dropdown-menu,
.modal,
.card,
.table {
    font-family: var(--app-font-family) !important;
}

body *:not(#khmer-font-override):not(i):not(svg):not(path):not([class^="fa"]):not([class*=" fa-"]):not([class^="icon-"]):not([class*=" icon-"]):not(.note-icon):not(.slick-arrow):not(.swiper-button-next):not(.swiper-button-prev) {
    font-family: var(--app-font-family) !important;
}

.side-bar,
.side-bar-manu,
.side-bar-manu li,
.side-bar-manu li a,
.side-bar-manu li a span:not(.sidebar-icon),
.side-bar .dropdown-menu,
.side-bar .dropdown-menu li,
.side-bar .dropdown-menu li a {
    font-family: var(--app-font-family) !important;
}

html[lang|="km"],
html[lang|="km"] body,
html[lang|="km"] .side-bar,
html[lang|="km"] .side-bar-manu,
html[lang|="km"] .side-bar-manu a,
html[lang|="km"] .side-bar-manu li,
html[lang|="km"] .section-container {
    font-family: var(--app-font-family) !important;
    font-synthesis: none;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.khmer-font,
.sale-print-title,
.in-pdf-title {
    font-family: var(--khmer-font-family) !important;
}

html[lang|="km"] body,
html[lang|="km"] button,
html[lang|="km"] input,
html[lang|="km"] textarea,
html[lang|="km"] select,
html[lang|="km"] .side-bar-manu a,
html[lang|="km"] .business-card-info,
html[lang|="km"] .dashboard-card,
html[lang|="km"] .chart-title {
    line-height: 1.55 !important;
}
