@font-face {
    font-family: 'Keen Sinhala';
    src: url('../fonts/sinhala/NotoSansSinhala.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0D80-0DFF, U+200C-200D, U+111E0-111FF;
}

html:lang(si) body,
html:lang(si) :is(input, button, select, textarea, h1, h2, h3, h4, h5, h6, .main-sidebar, .select2-container) {
    font-family: 'Keen Sinhala', 'Inter', 'Source Sans Pro', 'Iskoola Pota', sans-serif;
}

html:lang(si) :is(.help-block, .sidebar a, .form-group label) { line-height: 1.65; }

.product-sinhala-name {
    display: block;
    margin-top: 2px;
    font-family: 'Keen Sinhala', 'Iskoola Pota', sans-serif;
    font-size: max(13px, 0.95em);
    font-weight: 500;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media print {
    html:lang(si) :is(.invoice, .ticket, #invoice_content, #receipt_section) {
        font-family: 'Keen Sinhala', Arial, 'Iskoola Pota', sans-serif;
    }
}
