/*
 | Ahoora Persian Font Layer
 | Vazirmatn is loaded through resources/css/fonts.css and Vite.
 | Local Yekan-family fonts remain fallback choices when installed on the device.
 */

@font-face {
    font-family: "Ahoora Yekan Local";
    src: local("Yekan Bakh"), local("YekanBakh"), local("IRANYekan"), local("B Yekan"), local("Yekan");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ahoora-font: "Vazirmatn Variable", "Ahoora Yekan Local", "Yekan Bakh", "IRANYekan", "B Yekan", Tahoma, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
option,
table,
label,
summary,
[role="button"] {
    font-family: var(--ahoora-font) !important;
}

body {
    font-weight: 400;
    font-optical-sizing: auto;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

strong,
b,
.font-bold,
.font-black {
    font-family: var(--ahoora-font) !important;
}

input::file-selector-button,
input::-webkit-file-upload-button,
::placeholder {
    font-family: var(--ahoora-font) !important;
}

code,
pre,
kbd,
samp,
.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
}

[data-ahoora-font="yekan"] {
    --ahoora-font: "Ahoora Yekan Local", "Yekan Bakh", "IRANYekan", "B Yekan", "Vazirmatn Variable", Tahoma, Arial, sans-serif;
}
