@font-face {
    font-family: "Inter Variable";
    src: url("/static/fonts/inter/InterVariable-Lumini.woff2?v=20261005_subset_v1") format("woff2-variations");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Inter Variable";
    src: url("/static/fonts/inter/InterVariable-Italic.woff2?v=4.1") format("woff2-variations");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --font-family-primary: "Inter Variable", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --text-xs: 0.6875rem;
    --text-sm: 0.75rem;
    --text-base: 0.875rem;
    --text-lg: 1rem;
    --text-xl: 1.125rem;
    --text-2xl: 1.375rem;
    --text-3xl: 1.75rem;
    --text-4xl: 2.25rem;
    --text-hero: 3.25rem;
    --leading-tight: 1.08;
    --leading-heading: 1.18;
    --leading-ui: 1.3;
    --leading-body: 1.48;
    --tracking-heading: 0;
    --tracking-label: 0;
}

html {
    font-family: var(--font-family-primary);
    font-synthesis: none;
    font-feature-settings: "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
optgroup {
    font-family: var(--font-family-primary) !important;
}

body {
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-body);
    letter-spacing: 0;
}

:is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-family-primary);
    text-wrap: balance;
}

h1,
.owner-title,
.store-interior-title,
.orders-workspace-title {
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-heading);
}

h2,
.repeat-orders-title,
.dish-of-week-heading,
.fast-delivery-heading,
.store-section-title,
.checkout-title {
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}

h3,
.product-card-title,
.product-rail-title,
.store-card-title,
.owner-card h3 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-heading);
    letter-spacing: 0;
}

:is(button, [role="button"], .owner-btn, .site-footer-link, .mobile-app-nav-label) {
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-ui);
    letter-spacing: 0;
}

:is(label, .owner-field label, .checkout-field label, .owner-editor-label) {
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-ui);
}

:is(input, select, textarea, option) {
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-ui);
    letter-spacing: 0;
}

::placeholder {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0;
}

:is(.product-price, .product-rail-price, .dish-week-price, .cart-total, .checkout-total, .owner-order-total, .orders-detail-total, .owner-metric-value) {
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

:is(.old-price, .product-old-price, .checkout-old-price) {
    font-weight: var(--font-weight-medium);
    font-variant-numeric: tabular-nums;
}

:is(.cart-count-badge, .cart-sum-badge, .owner-status, .store-meta-pill, .product-weight, .owner-nav-group-label, .owner-kicker) {
    line-height: var(--leading-ui);
}

:is(.cart-count-badge, .cart-sum-badge, .owner-status, .owner-metric-value, .delivery-progress-top span, .order-journey-step) {
    font-variant-numeric: tabular-nums;
}

:is(.owner-nav-group-label, .owner-kicker, .owner-editor-label, .premium-hero-kicker) {
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-label);
}

:is(.owner-note, .product-description, .store-description, .checkout-hint, .site-footer-copy, .nu-feed-text) {
    line-height: var(--leading-body);
}

.header-auth-name,
.header-login-open-btn,
.delivery-address-btn-label,
.mobile-app-nav-label {
    font-weight: var(--font-weight-semibold) !important;
}

@media (max-width: 760px) {
    :root {
        --text-3xl: 1.625rem;
        --text-4xl: 2rem;
        --text-hero: 2.5rem;
    }

    :is(h1, h2, h3, .product-card-title, .product-rail-title, .store-card-title) {
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { text-rendering: auto; }
}
