/* One global setting. Keep sizes, weights, spacing and icon fonts unchanged. */
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 200; font-display: swap; src: url('fonts/bai-jamjuree-200.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/bai-jamjuree-300.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/bai-jamjuree-400.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/bai-jamjuree-500.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bai-jamjuree-600.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bai-jamjuree-700.woff2') format('woff2'); }
@font-face { font-family: 'Bai Jamjuree'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/bai-jamjuree-400-italic.woff2') format('woff2'); }

:root {
    --utvforge-font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.utvforge-typography {
    font-family: var(--utvforge-font-family);
}

/* GeneratePress explicitly sets form fonts; inherit the storefront setting.
 * Never use a universal selector: WooCommerce stars and other glyphs have
 * intentionally independent font families, including on pseudo-elements. */
body.utvforge-typography :where(button, input, select, textarea) {
    font-family: inherit;
}

/* The wider glyphs need a fluid search track just above the existing compact
 * header breakpoint. Preserve logo, navigation structure and text sizes. */
@media (min-width: 1281px) and (max-width: 1400px) {
    body.utvforge-typography #masthead .inside-header {
        grid-template-columns: 180px minmax(230px, 1fr) auto;
    }
}
