/* Full font files (no unicode-range subsets) so mixed Latin + Cyrillic text renders consistently. */
@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/bebasneue/v16/JTUSjIg69CK48gW7PXooxW4.ttf) format('truetype');
}

@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm0K0.ttf) format('truetype');
}

:root {
    /* Anton covers Cyrillic; Bebas Neue covers Latin in the same visual style. */
    --font: 'Bebas Neue', 'Anton', Impact, 'Arial Black', sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: var(--font);
}

input,
textarea,
select,
button {
    font-family: var(--font);
}

mark {
    font-family: inherit;
}

/* Mixed-language product names in lists and cards. */
.food-row__name,
.food-row__name mark,
.entry-card__name,
.entry-card__name mark,
.portion-card__name,
.search-item__name,
.search-item__name mark,
.dish-ingredient-row__name {
    font-family: var(--font);
}
