/* Aeonik — loaded once, used everywhere across the public site and admin. */

@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/Aeonik-Light.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/Aeonik-LightItalic.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/Aeonik-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/Aeonik-RegularItalic.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/Aeonik-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/Aeonik-Bold.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/Aeonik-Bold.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/Aeonik-BoldItalic.woff2") format("woff2");
}
@font-face {
    font-family: "Aeonik";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/Aeonik-Bold.woff2") format("woff2");
}

/* Override every font-related variable + every selector that may have been
   targeted with a specific stack by the menurite Next.js bundles or the
   admin CSS. */
:root {
    --font-inter: "Aeonik";
    --font-caveat-brush: "Aeonik";
    --brand-font-family: "Aeonik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body, button, input, textarea, select, optgroup, h1, h2, h3, h4, h5, h6, p,
.font-sans, [class*="-module__"] {
    font-family: "Aeonik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Aeonik ships only Light (300), Regular (400), Bold (700). To stop
   small text from looking thin (squint-inducing) we bump those classes
   to weight 500, which we map to the Bold file via @font-face above —
   so they actually render bolder, not just nominally heavier. */

/* Public site — small / secondary text */
.NomaMenuItemCard-module__YmOa5q__description,
.NomaMenuHero-module__ruDxNG__description,
.NomaMenuHero-module__ruDxNG__cardLabel,
.NomaMenuHero-module__ruDxNG__cardValue,
.NomaMenuHero-module__ruDxNG__statusSub,
.NomaCategoryCard-module__ROZSMW__description,
.CategorySlider-module__rtb5ha__tab,
.cart-drawer-list .item-meta,
.cart-empty {
    font-weight: 600 !important;
}

/* Admin — small / secondary text */
.muted, .small, .stat-label,
.data-table th,
.data-table td,
.pill,
.btn,
.alert,
.stacked-form input,
.stacked-form select,
.stacked-form textarea,
.stacked-form label,
.inline-form input,
.inline-form select,
.filter-bar input,
.filter-bar select,
.auth-card label,
.auth-card input,
.auth-card p.muted {
    font-weight: 600 !important;
}

/* Larger body copy can stay at 400 — it's already readable. */
