/*
 * SLB — self-hosted Nunito.
 *
 * Why this file exists:
 * The site CSS declares font-family 'Nunito' on body, but the font FILE was only
 * served through WP Rocket's Google-Fonts cache, which is injected on CACHED pages
 * only. Cart, checkout, my-account and order-received are never cached, so those
 * pages silently fell back to a default sans-serif — the shop looked like Nunito,
 * the payment pages did not.
 *
 * Fix: host the woff2 files in the child theme and declare them here, so every page
 * gets the same font with no dependency on the cache or on Google's servers.
 *
 * Latin + latin-ext only. Cyrillic and Vietnamese subsets are deliberately omitted;
 * this is a Singapore English store and dropping them avoids loading unused files.
 */

/* latin */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url('fonts/nunito/XRXV3I6Li01BKofINeaB.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url('fonts/nunito/XRXV3I6Li01BKofIO-aBXso.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * Apply it everywhere.
 *
 * The existing rule only set body, so Storefront's "Source Sans Pro" still won on
 * button, input, select and textarea — every form control and every Add to basket
 * button was a different typeface from the text beside it.
 */
body,
button,
input,
select,
optgroup,
textarea,
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
