/*
 * First Buy Foods — main stylesheet.
 *
 * Brand colours and fonts are the CSS variables just below. Change them
 * there and the whole site follows. Values match the approved design
 * (oklch colours, with hex fallbacks for older browsers).
 *
 * Breakpoints (same as the design): sm 640px, md 768px, lg 1024px.
 */

/* ---------- Fonts (bundled, no Google request) ---------- */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.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;
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin.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;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Kaushan Script";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kaushan-script-latin.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;
}
@font-face {
	font-family: "Kaushan Script";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kaushan-script-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
	--font-display: "Fraunces", Georgia, serif;
	--font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-script: "Kaushan Script", cursive;

	/* Hex fallbacks */
	--brand-yellow: #e9d919;
	--cream: #fdf8da;
	--brown: #43260a;
	--brown-foreground: #f1e344;
	--red: #8a021c;
	--red-foreground: #fcfcfc;
	--whatsapp: #37bb62;
	--card: #ffffff;
	--muted: #f4ecc6;
	--muted-foreground: #6a4f39;
	--border: #e4d8ab;
	--input: #ded0ac;

	--radius: 1rem;
	--shadow-soft: 0 10px 30px -12px rgba(67, 38, 10, 0.3);
	--shadow-lift: 0 18px 40px -14px rgba(67, 38, 10, 0.4);

	--header-h: 64px;
	--admin-bar: 0px;
}

@supports (color: oklch(0 0 0)) {
	:root {
		--brand-yellow: oklch(0.87 0.18 104);
		--cream: oklch(0.975 0.04 100);
		--brown: oklch(0.3 0.06 60);
		--brown-foreground: oklch(0.9 0.17 104);
		--red: oklch(0.4 0.16 22);
		--red-foreground: oklch(0.99 0 0);
		--whatsapp: oklch(0.7 0.17 150);
		--card: oklch(1 0 0);
		--muted: oklch(0.94 0.05 98);
		--muted-foreground: oklch(0.45 0.05 60);
		--border: oklch(0.88 0.06 95);
		--input: oklch(0.86 0.05 90);
	}
}

@supports (color: color-mix(in oklab, red 50%, transparent)) {
	:root {
		--shadow-soft: 0 10px 30px -12px color-mix(in oklab, var(--brown) 30%, transparent);
		--shadow-lift: 0 18px 40px -14px color-mix(in oklab, var(--brown) 40%, transparent);
	}
}

@media (min-width: 768px) {
	:root { --header-h: 72px; }
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) {
	.admin-bar { --admin-bar: 46px; }
}
@media (max-width: 600px) {
	.admin-bar { --admin-bar: 0px; }
}

/* ---------- Reset (matches the design's Tailwind base) ---------- */
*,
::before,
::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0 solid var(--border);
}
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 1rem);
}
body {
	min-height: 100vh;
	background-color: var(--cream);
	color: var(--brown);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: 700; }
img, svg, video, canvas, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
ol, ul, menu { list-style: none; }
button, input, select, optgroup, textarea {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	background-color: transparent;
}
button, [role="button"] { cursor: pointer; }
textarea { resize: vertical; }
table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }
fieldset { min-width: 0; }

:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 2px;
	border-radius: 0.5rem;
}
.fbf-footer :focus-visible,
.fbf-cta :focus-visible,
.fbf-strip :focus-visible,
.fbf-cookie :focus-visible {
	outline-color: var(--brand-yellow);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.fbf-skip {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: var(--brown);
	color: var(--brown-foreground);
	font-weight: 700;
}
.fbf-skip:focus { top: 1rem; }
.fbf-main:focus { outline: none; }

/* ---------- Layout helpers ---------- */
.fbf-container {
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
.fbf-container--narrow { max-width: 48rem; }
.fbf-container--form { max-width: 48rem; }
.fbf-main { min-height: 60vh; display: block; }

.fbf-doodle {
	background-image: url("../img/doodle.svg");
	background-size: 220px;
	background-repeat: repeat;
}
.fbf-bg-cream { background-color: var(--cream); }
.fbf-bg-brand-60 { background-color: #f2e58c; }
@supports (color: color-mix(in oklab, red 50%, transparent)) {
	.fbf-bg-brand-60 { background-color: color-mix(in oklab, var(--brand-yellow) 60%, transparent); }
}

.fbf-section { padding-top: 4rem; padding-bottom: 4rem; }
.fbf-section--last { padding-top: 0; padding-bottom: 5rem; }
.fbf-section-band { padding-top: 4rem; padding-bottom: 4rem; }
.fbf-section-sm { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.fbf-h2 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }
.fbf-text-center { text-align: center; }
.fbf-text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.fbf-muted { color: var(--muted-foreground); }
.fbf-mt-2 { margin-top: 0.5rem; }
.fbf-mt-3 { margin-top: 0.75rem; }
.fbf-mt-6 { margin-top: 1.5rem; }
.fbf-stack > * + * { margin-top: 0.75rem; }
.fbf-stack-lg > * + * { margin-top: 1.25rem; }
.fbf-text-lg.fbf-stack > * + * { margin-top: 1rem; }
.fbf-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fbf-script { font-family: var(--font-script); }
.fbf-emoji { font-size: 2.25rem; line-height: 2.5rem; display: inline-block; }
.fbf-empty { color: var(--muted-foreground); font-size: 1.125rem; }
.fbf-notice {
	border-radius: 1rem;
	background: var(--brand-yellow);
	padding: 1rem 1.25rem;
	font-weight: 600;
}

.fbf-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.fbf-grid--menu { gap: 1.5rem; margin-top: 0; }
@media (min-width: 640px) {
	.fbf-grid--4,
	.fbf-grid--menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.fbf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.fbf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fbf-grid--menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.fbf-split { display: grid; align-items: center; gap: 2.5rem; }
.fbf-split--top { align-items: start; }
@media (min-width: 768px) {
	.fbf-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fbf-split--flip > :first-child { order: 2; }
}

/* ---------- Icons ---------- */
.fbf-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.fbf-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-page .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 999px;
	padding: 0.8rem 1.4rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s;
	background: var(--red);
	color: var(--red-foreground);
	border: 0;
	cursor: pointer;
}
.fbf-btn:hover,
.woocommerce .button:hover,
.woocommerce-page .button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}
.fbf-btn:disabled,
.fbf-btn[aria-disabled="true"],
.woocommerce .button:disabled,
.woocommerce .button.disabled {
	opacity: 0.5;
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}
.fbf-btn .fbf-icon { width: 1.15em; height: 1.15em; }
.fbf-btn--red { background: var(--red); color: var(--red-foreground); }
.fbf-btn--brown { background: var(--brown); color: var(--brown-foreground); }
.fbf-btn--yellow { background: var(--brand-yellow); color: var(--brown); }
.fbf-btn--outline {
	background: transparent;
	color: var(--brown);
	border: 2px solid var(--brown);
	padding: calc(0.8rem - 2px) calc(1.4rem - 2px);
}
.fbf-btn--ghost-light {
	background: transparent;
	color: inherit;
	border: 2px solid var(--brown-foreground);
}
.fbf-btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.fbf-btn--outline.fbf-btn--sm { padding: calc(0.5rem - 2px) calc(1rem - 2px); }
.fbf-btn--lg { font-size: 1.125rem; line-height: 1.75rem; }
.fbf-btn--lg2 { padding-top: 1rem; padding-bottom: 1rem; font-size: 1.125rem; line-height: 1.75rem; }
.fbf-btn--xl { padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.75rem; }
.fbf-btn--block { width: 100%; }

/* ---------- Form fields ---------- */
.fbf-field,
.fbc-input,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-page form .input-text,
.woocommerce-page form select {
	display: block;
	width: 100%;
	border-radius: 0.8rem;
	border: 1.5px solid var(--input);
	background: var(--card);
	padding: 0.7rem 0.9rem;
	color: var(--brown);
	line-height: 1.5;
}
.fbf-field:focus,
.fbc-input:focus,
.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
	outline: 2px solid var(--red);
	outline-offset: 1px;
}
select.fbf-field,
select.fbc-input,
.woocommerce form select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2343260a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
input[type="checkbox"],
input[type="radio"] { accent-color: var(--red); }

/* ---------- Header ---------- */
.fbf-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 40;
	border-bottom: 1px solid var(--border);
	background-color: var(--brand-yellow);
}
@supports (backdrop-filter: blur(8px)) and (color: color-mix(in oklab, red 50%, transparent)) {
	.fbf-header {
		background-color: color-mix(in oklab, var(--brand-yellow) 95%, transparent);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}
}
.fbf-header__bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.fbf-header__brand { display: flex; align-items: center; gap: 0.5rem; }
.fbf-header__logo { width: 3rem; height: 3rem; border-radius: 999px; }
.fbf-header__name { display: none; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
@media (min-width: 640px) {
	.fbf-header__name { display: block; }
}
@media (min-width: 768px) {
	.fbf-header__logo { width: 3.5rem; height: 3.5rem; }
}

.fbf-nav { display: none; margin-left: auto; }
.fbf-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.fbf-nav__list a {
	display: block;
	border-radius: 999px;
	padding: 0.5rem 0.75rem;
	font-weight: 600;
	transition: background-color 0.2s;
}
.fbf-nav__list a:hover { background-color: rgba(253, 248, 218, 0.6); }
.fbf-nav__list .current-menu-item > a,
.fbf-nav__list .current_page_item > a,
.fbf-nav__list a[aria-current="page"] { background-color: var(--cream); }

.fbf-header__actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) {
	.fbf-nav { display: block; }
	.fbf-header__actions { margin-left: 0.5rem; }
}

.fbf-cart-btn {
	position: relative;
	border-radius: 999px;
	background: var(--cream);
	padding: 0.625rem;
	transition: box-shadow 0.2s;
}
.fbf-cart-btn:hover { box-shadow: var(--shadow-soft); }
.fbf-cart-count {
	position: absolute;
	right: -0.25rem;
	top: -0.25rem;
	display: grid;
	place-items: center;
	height: 1.25rem;
	min-width: 1.25rem;
	border-radius: 999px;
	background: var(--red);
	padding: 0 0.25rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	color: var(--red-foreground);
}
.fbf-cart-count[data-count="0"] { display: none; }
.fbf-cart-count.is-bump { animation: fbf-bump 0.4s ease; }

.fbf-header__wa { display: none; }
@media (min-width: 768px) {
	.fbf-header__wa { display: inline-flex; }
}
.fbf-header__wa .fbf-icon { width: 1rem; height: 1rem; }

.fbf-burger { border-radius: 999px; padding: 0.625rem; }
.fbf-burger .fbf-icon { width: 1.5rem; height: 1.5rem; }
.fbf-burger__close,
.fbf-burger[aria-expanded="true"] .fbf-burger__open { display: none; }
.fbf-burger[aria-expanded="true"] .fbf-burger__close { display: block; }
@media (min-width: 1024px) {
	.fbf-burger,
	.fbf-mobile-nav { display: none !important; }
}

.fbf-mobile-nav {
	border-top: 1px solid var(--border);
	background: var(--cream);
	padding: 0.75rem 1rem;
	max-height: calc(100vh - var(--header-h) - var(--admin-bar));
	overflow-y: auto;
}
.fbf-mobile-nav__list a {
	display: block;
	border-radius: 0.75rem;
	padding: 0.75rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
}
.fbf-mobile-nav__list .current-menu-item > a { background: var(--brand-yellow); }
.fbf-mobile-nav .fbf-btn { margin-top: 0.5rem; }

/* ---------- Page banner ---------- */
.fbf-page-hero { background-color: var(--brand-yellow); }
.fbf-page-hero__inner { padding-top: 3rem; padding-bottom: 3rem; }
.fbf-page-hero__title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }
.fbf-page-hero__sub { margin-top: 0.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) {
	.fbf-page-hero__inner { padding-top: 4rem; padding-bottom: 4rem; }
	.fbf-page-hero__title { font-size: 3.75rem; line-height: 1; }
}

/* ---------- Photos ---------- */
.fbf-photo {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 1.5rem;
	background-color: var(--muted);
	background-image: url("../img/doodle.svg");
	background-size: 160px;
	box-shadow: var(--shadow-soft);
	border: 4px solid var(--card);
}
.fbf-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fbf-photo__label {
	border-radius: 999px;
	background: rgba(253, 248, 218, 0.9);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	color: var(--muted-foreground);
	text-align: center;
}
.fbf-ratio-4-3 { aspect-ratio: 4 / 3; }
.fbf-ratio-square { aspect-ratio: 1 / 1; }
.fbf-ratio-4-5 { aspect-ratio: 4 / 5; }
.fbf-rotate-2 { transform: rotate(2deg); }
.fbf-rotate-n1 { transform: rotate(-1deg); }

/* ---------- Home: hero ---------- */
.fbf-hero { background-color: var(--brand-yellow); }
.fbf-hero__grid {
	display: grid;
	align-items: center;
	gap: 2.5rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.fbf-hero__kicker { font-size: 1.5rem; line-height: 2rem; color: var(--red); }
.fbf-hero__title { margin-top: 0.5rem; font-size: 3rem; line-height: 0.95; font-weight: 900; }
.fbf-hero__text { margin-top: 1.25rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; }
.fbf-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fbf-hero__actions .fbf-icon { width: 1.25rem; height: 1.25rem; }
.fbf-hero__media { position: relative; }
.fbf-hero__badge {
	position: absolute;
	bottom: -1.5rem;
	left: -1rem;
	width: 7rem;
	height: 7rem;
	border-radius: 999px;
	box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) {
	.fbf-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 5rem; padding-bottom: 5rem; }
	.fbf-hero__title { font-size: 4.5rem; }
	.fbf-hero__badge { width: 9rem; height: 9rem; }
}

/* ---------- Home: strip ---------- */
.fbf-strip { background: var(--brown); color: var(--brown-foreground); }
.fbf-strip__grid {
	display: grid;
	gap: 0.75rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	text-align: center;
	font-weight: 600;
}
.fbf-strip__item { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
@media (min-width: 640px) {
	.fbf-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Cards & tiles ---------- */
.fbf-tile,
.fbf-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	background: var(--card);
	padding: 0.75rem;
	box-shadow: var(--shadow-soft);
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.fbf-tile { display: block; }
.fbf-tile:hover,
.fbf-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-lift); }
.fbf-tile__title { margin-top: 1rem; padding: 0 0.25rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.fbf-tile__line { padding: 0 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

.fbf-card { overflow: hidden; }
.fbf-card__media { display: block; }
.fbf-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem 0.5rem 0.5rem;
}
.fbf-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.fbf-card__title { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.fbf-card__title a:hover { text-decoration: underline; }
.fbf-card__desc { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

.fbf-price {
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--red);
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 700;
	color: var(--red-foreground);
	white-space: nowrap;
}
.fbf-price del { opacity: 0.7; margin-right: 0.25rem; }
.fbf-price ins { text-decoration: none; }
.fbf-price--lg { font-size: 1.125rem; line-height: 1.75rem; padding: 0.375rem 1rem; }
.fbf-badge {
	width: fit-content;
	border-radius: 999px;
	background: var(--brand-yellow);
	padding: 0.125rem 0.625rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
}

/* ---------- Purchase box (First Buy Core plugin markup) ---------- */
.fbc-box { display: flex; flex: 1; flex-direction: column; gap: 0.75rem; }
.fbc-options { border: 0; }
.fbc-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fbc-pill { position: relative; cursor: pointer; }
.fbc-pill__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fbc-pill__text {
	display: inline-block;
	border-radius: 999px;
	border: 2px solid var(--border);
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	transition: background-color 0.15s, border-color 0.15s;
}
.fbc-pill:hover .fbc-pill__text { border-color: var(--brown); }
.fbc-pill__input:checked + .fbc-pill__text { border-color: var(--brown); background: var(--brown); color: var(--brown-foreground); }
.fbc-pill__input:focus-visible + .fbc-pill__text { outline: 3px solid var(--red); outline-offset: 2px; }
.fbc-pill__input:disabled + .fbc-pill__text { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }

.fbc-extras {
	border-radius: 1rem;
	background: var(--muted);
	padding: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.fbc-extras legend { padding: 0 0.25rem; font-weight: 600; }
.fbc-extras__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.fbc-extras label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.fbc-qty-row { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 0.875rem; }
.fbc-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.25rem; }
.fbc-allergen-link { text-align: center; font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-decoration: underline; }
.fbc-status { font-size: 0.875rem; font-weight: 600; }
.fbc-status:empty { display: none; }
.fbc-status.is-error { color: var(--red); }
.fbc-box.is-loading .fbc-add { opacity: 0.6; pointer-events: none; }

/* Quantity stepper (cart page, product page) */
.fbf-qty { display: inline-flex; align-items: center; gap: 0.5rem; }
.fbf-qty input.qty,
.fbf-qty input {
	width: 3.25rem;
	text-align: center;
	border-radius: 0.8rem;
	border: 1.5px solid var(--input);
	background: var(--card);
	padding: 0.4rem 0.25rem;
	font-weight: 600;
}
.fbf-qty-btn {
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--muted);
	padding: 0.375rem;
	transition: background-color 0.15s;
}
.fbf-qty-btn:hover { background: var(--brand-yellow); }
.fbf-qty-btn .fbf-icon { width: 1rem; height: 1rem; }

/* ---------- Services (home) ---------- */
.fbf-service-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	border: 2px solid var(--brand-yellow);
	background: var(--card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
.fbf-service-card__title { margin-top: 0.75rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.fbf-service-card__line { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.fbf-service-card .fbf-btn { margin-top: 1rem; padding-left: 1.4rem; padding-right: 1.4rem; }

/* ---------- Steps ---------- */
.fbf-steps { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.fbf-steps__item { text-align: center; }
.fbf-steps__num {
	margin: 0 auto;
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	background: var(--red);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--red-foreground);
}
.fbf-steps__text { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
@media (min-width: 768px) {
	.fbf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- CTA & reviews ---------- */
.fbf-cta {
	border-radius: 2rem;
	background-color: var(--brown);
	color: var(--brown-foreground);
	padding: 2rem;
}
.fbf-cta__title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }
.fbf-cta__text { margin-top: 0.75rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75rem; }
.fbf-cta .fbf-btn { margin-top: 1.5rem; }
@media (min-width: 768px) {
	.fbf-cta { padding: 3.5rem; }
	.fbf-cta__title { font-size: 3rem; line-height: 1; }
}

.fbf-review { border-radius: 1.5rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.fbf-review__stars { display: flex; gap: 0.125rem; color: var(--red); }
.fbf-review__stars .fbf-icon { width: 1rem; height: 1rem; fill: currentColor; }
.fbf-review__text { margin-top: 0.75rem; }
.fbf-review__name { margin-top: 1rem; font-weight: 700; }

/* ---------- About ---------- */
.fbf-about__tagline { font-size: 1.5rem; line-height: 2rem; color: var(--red); margin-top: 1rem; }
.fbf-about__text .fbf-actions { padding-top: 1.5rem; }
.fbf-about__media { position: relative; }
.fbf-about__badge {
	position: absolute;
	bottom: -1.5rem;
	right: -1rem;
	width: 7rem;
	height: 7rem;
	border-radius: 999px;
	box-shadow: var(--shadow-lift);
}

/* ---------- Services page ---------- */
.fbf-services-list { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.fbf-services-list > * + * { margin-top: 3.5rem; }
.fbf-service { gap: 2rem; scroll-margin-top: 7rem; }
.fbf-service__title { margin-top: 0.5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 900; }
@media (min-width: 768px) {
	.fbf-service__title { font-size: 2.25rem; line-height: 2.5rem; }
}

.fbf-request { background-color: var(--brand-yellow); padding: 4rem 0; scroll-margin-top: 5rem; }
.fbf-request__inner > h2,
.fbf-request__inner > .wp-block-heading { font-size: 1.875rem; line-height: 2.25rem; font-weight: 900; }
.fbf-request__inner > p { margin-top: 0.5rem; }
@media (min-width: 768px) {
	.fbf-request__inner > h2,
	.fbf-request__inner > .wp-block-heading { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ---------- Request & contact forms (First Buy Core plugin markup) ---------- */
.fbc-form {
	margin-top: 2rem;
	display: grid;
	gap: 1rem;
	border-radius: 1.5rem;
	background: var(--cream);
	padding: 1.5rem;
	box-shadow: var(--shadow-lift);
}
.fbc-form--contact {
	margin-top: 0;
	background: var(--card);
	box-shadow: var(--shadow-soft);
}
.fbc-form__title { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.fbc-form__field { display: grid; gap: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.fbc-form__field .fbc-input { font-size: 1rem; font-weight: 400; }
.fbc-form__req { color: var(--red); }
.fbc-form__error { color: var(--red); font-size: 0.8125rem; font-weight: 600; }
.fbc-form__field.has-error .fbc-input { border-color: var(--red); }
.fbc-form__submit .fbf-icon { width: 1.25rem; height: 1.25rem; }
.fbc-form__status { font-weight: 600; border-radius: 0.75rem; padding: 0.75rem 1rem; background: var(--brand-yellow); }
.fbc-form__status:empty { display: none; }
.fbc-form__status.is-error { background: #fbe3e6; color: var(--red); }
.fbc-form__status a { text-decoration: underline; }
.fbc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) {
	.fbc-form--event { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fbc-form--event .fbc-form__field--full,
	.fbc-form--event .fbc-form__submit,
	.fbc-form--event .fbc-form__status,
	.fbc-form--event .fbc-form__title { grid-column: 1 / -1; }
}

/* ---------- Contact page ---------- */
.fbf-info-box { display: flex; gap: 0.75rem; border-radius: 1.5rem; background: var(--brand-yellow); padding: 1.25rem; }
.fbf-info-box .fbf-icon { margin-top: 0.25rem; }

/* ---------- Text pages (legal, allergens) ---------- */
.fbf-prose {
	padding-top: 3rem;
	padding-bottom: 3rem;
	font-size: 1.05rem;
	line-height: 1.625;
}
.fbf-prose > * + * { margin-top: 1rem; }
.fbf-prose h2 { margin-top: 2rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.fbf-prose h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 700; }
.fbf-prose ul { list-style: disc; padding-left: 1.5rem; }
.fbf-prose ol { list-style: decimal; padding-left: 1.5rem; }
.fbf-prose li + li { margin-top: 0.25rem; }
.fbf-prose a { font-weight: 700; color: var(--red); text-decoration: underline; }
.fbf-prose img { border-radius: 1rem; }
.fbf-edit,
mark.fbf-edit {
	border-radius: 0.25rem;
	background: var(--brand-yellow);
	padding: 0 0.25rem;
	font-weight: 600;
	color: var(--brown);
}

/* ---------- Menu page ---------- */
.fbf-tabs-bar {
	position: sticky;
	top: calc(var(--header-h) + var(--admin-bar));
	z-index: 30;
	border-bottom: 1px solid var(--border);
	background-color: var(--cream);
}
@supports (backdrop-filter: blur(8px)) and (color: color-mix(in oklab, red 50%, transparent)) {
	.fbf-tabs-bar {
		background-color: color-mix(in oklab, var(--cream) 95%, transparent);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}
}
.fbf-tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	scrollbar-width: thin;
}
.fbf-tab {
	flex-shrink: 0;
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-weight: 600;
	background: var(--card);
	transition: background-color 0.15s, color 0.15s;
}
.fbf-tab:hover { background: var(--brand-yellow); }
.fbf-tab.is-active { background: var(--brown); color: var(--brown-foreground); }
.fbf-menu-body { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.fbf-menu-grid[aria-busy="true"] { opacity: 0.5; transition: opacity 0.2s; }

/* ---------- Single dish ---------- */
.fbf-single-top { background-color: var(--brand-yellow); }
.fbf-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	font-size: 0.875rem;
	font-weight: 600;
}
.fbf-crumbs a:hover { text-decoration: underline; }
.fbf-crumbs .fbf-icon { width: 1rem; height: 1rem; }
.fbf-single__grid { display: grid; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; align-items: start; }
.fbf-single__gallery { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.fbf-single__gallery .fbf-photo { border-radius: 1rem; border-width: 3px; }
.fbf-single__title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }
.fbf-single__price-row { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.fbf-single__intro { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; }
.fbf-single__summary .fbc-box { margin-top: 1.5rem; }
.fbf-single__more { padding-bottom: 4rem; }
@media (min-width: 768px) {
	.fbf-single__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fbf-single__title { font-size: 3rem; line-height: 1; }
}
.fbf-product-section {
	margin-bottom: 1.5rem;
	border-radius: 1.5rem;
	background: var(--card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	line-height: 1.625;
}
.fbf-product-section h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.fbf-product-section > * + * { margin-top: 0.75rem; }
.fbf-product-section ul { list-style: disc; padding-left: 1.25rem; }
.fbf-product-section a { color: var(--red); font-weight: 700; text-decoration: underline; }
.related.products > h2 { margin: 3rem 0 2rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 900; }

/* ---------- Cart drawer ---------- */
.fbf-drawer { position: fixed; inset: 0; top: var(--admin-bar); z-index: 50; }
.fbf-drawer__backdrop { position: absolute; inset: 0; background: rgba(67, 38, 10, 0.5); animation: fbf-fade 0.2s ease both; }
.fbf-drawer__panel {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 24rem;
	height: 100%;
	background: var(--cream);
	box-shadow: var(--shadow-lift);
	animation: fbf-slide-in 0.3s ease both;
}
.fbf-drawer__panel:focus { outline: none; }
.fbf-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	padding: 1rem;
}
.fbf-drawer__title { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.fbf-icon-btn { border-radius: 999px; padding: 0.25rem; }
.fbf-icon-btn .fbf-icon { width: 1.5rem; height: 1.5rem; }
.fbf-minicart { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.fbf-minicart__list { flex: 1; overflow-y: auto; padding: 1rem; }
.fbf-minicart__items > * + * { margin-top: 0.75rem; }
.fbf-minicart__item { border-radius: 1rem; background: var(--card); padding: 0.75rem; box-shadow: var(--shadow-soft); }
.fbf-minicart__row { display: flex; justify-content: space-between; gap: 0.5rem; }
.fbf-minicart__name { font-weight: 600; }
.fbf-minicart__meta { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.fbf-minicart__price { font-weight: 700; color: var(--red); white-space: nowrap; }
.fbf-minicart__controls { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.fbf-minicart__qty { width: 1.5rem; text-align: center; font-weight: 600; }
.fbf-minicart__remove { margin-left: auto; color: var(--muted-foreground); padding: 0.25rem; border-radius: 0.5rem; }
.fbf-minicart__remove:hover { color: var(--red); }
.fbf-minicart__remove .fbf-icon { width: 1rem; height: 1rem; }
.fbf-minicart__foot { border-top: 1px solid var(--border); padding: 1rem; }
.fbf-minicart__total { margin-bottom: 0.75rem; display: flex; justify-content: space-between; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.fbf-minicart__cart-link { display: block; margin-top: 0.75rem; text-align: center; font-size: 0.875rem; font-weight: 600; text-decoration: underline; }
.fbf-minicart.is-loading { opacity: 0.6; pointer-events: none; }
body.fbf-lock { overflow: hidden; }

/* Item details such as "Extras: Ponmo" */
dl.variation { margin-top: 0.125rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
dl.variation dt,
dl.variation dd,
dl.variation dd p { display: inline; margin: 0; }
dl.variation dt { font-weight: 600; }
dl.variation dd::after { content: ""; display: block; }

/* ---------- WhatsApp button & cookie notice ---------- */
.fbf-wa-fab {
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 30;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: var(--whatsapp);
	color: var(--red-foreground);
	box-shadow: var(--shadow-lift);
	transition: transform 0.15s ease;
}
.fbf-wa-fab:hover { transform: scale(1.1); }
.fbf-wa-fab .fbf-icon { width: 1.75rem; height: 1.75rem; }

.fbf-cookie {
	position: fixed;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 40;
	margin: 0 auto;
	max-width: 36rem;
	border-radius: 1rem;
	background: var(--brown);
	color: var(--brown-foreground);
	padding: 1rem;
	box-shadow: var(--shadow-lift);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.fbf-cookie a { text-decoration: underline; }
.fbf-cookie__choices { margin-top: 0.75rem; }
.fbf-cookie__choices label { display: flex; gap: 0.5rem; align-items: center; }
.fbf-cookie__choices label + label { margin-top: 0.25rem; }
.fbf-cookie__actions { margin-top: 0.75rem; display: flex; gap: 0.5rem; }
@media (min-width: 768px) {
	.fbf-cookie { right: 6rem; }
}

/* ---------- Footer ---------- */
.fbf-footer { background-color: var(--brown); color: var(--brown-foreground); }
.fbf-footer__grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.fbf-footer__logo { width: 6rem; height: 6rem; border-radius: 999px; }
.fbf-footer__tagline { margin-top: 0.75rem; font-size: 1.25rem; line-height: 1.75rem; }
.fbf-footer__contact > * + * { margin-top: 0.5rem; }
.fbf-footer__heading { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.fbf-footer__contact a { display: flex; align-items: center; gap: 0.5rem; }
.fbf-footer__contact a:hover,
.fbf-footer__menu a:hover { text-decoration: underline; }
.fbf-footer__contact .fbf-icon { width: 1rem; height: 1rem; }
.fbf-footer__location { font-size: 0.875rem; line-height: 1.25rem; opacity: 0.8; }
.fbf-footer__menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	align-content: start;
}
.fbf-footer__widgets { padding-bottom: 2rem; font-size: 0.875rem; }
.fbf-footer__widgets a { text-decoration: underline; }
.fbf-widget + .fbf-widget { margin-top: 1rem; }
.fbf-widget__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.fbf-footer__copy {
	border-top: 1px solid rgba(241, 227, 68, 0.2);
	padding: 1rem;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1rem;
	opacity: 0.7;
}
@media (min-width: 768px) {
	.fbf-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 404 & empty states ---------- */
.fbf-center-screen { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 0 1rem; }
.fbf-center-screen__inner { max-width: 28rem; text-align: center; }
.fbf-404__title { font-size: 4.5rem; line-height: 1; font-weight: 900; }
.fbf-center-block { max-width: 36rem; margin: 0 auto; padding: 6rem 0; text-align: center; }

.fbf-post-card { padding: 1.5rem; border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-soft); margin-bottom: 1.5rem; }
.fbf-post-card__title { font-size: 1.5rem; font-weight: 700; }
.fbf-post-card__excerpt { margin-top: 0.75rem; }

/* ---------- WooCommerce: shared ---------- */
.fbf-wc { padding-top: 3rem; padding-bottom: 4rem; }
.fbf-panel {
	border-radius: 1.5rem;
	background: var(--card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
.fbf-panel__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.fbf-panel--alert { border: 2px solid var(--red); }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
	border-radius: 1rem;
	padding: 0.875rem 1.125rem;
	font-weight: 600;
	list-style: none;
	background: var(--muted);
	border-left: 6px solid var(--brown);
}
.woocommerce-error,
.wc-block-components-notice-banner.is-error { background: #fbe3e6; border-left-color: var(--red); color: var(--red); flex-direction: column; align-items: flex-start; }
.woocommerce-message,
.wc-block-components-notice-banner.is-success { background: var(--brand-yellow); border-left-color: var(--brown); }
.woocommerce-error li + li { margin-top: 0.25rem; }
.woocommerce-message .button,
.woocommerce-info .button,
.wc-block-components-notice-banner .button { order: 2; margin-left: auto; padding: 0.4rem 1rem; font-size: 0.875rem; }
.wc-block-components-notice-banner > svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.woocommerce-error a,
.woocommerce-info a:not(.button) { text-decoration: underline; }

/* Form rows */
.woocommerce form .form-row { display: grid; gap: 0.25rem; margin-bottom: 0; }
.woocommerce form .form-row label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 500; }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--muted-foreground); font-weight: 400; }
.woocommerce form .form-row .description { font-size: 0.75rem; color: var(--muted-foreground); }
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: var(--red); }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce-password-strength { font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .show-password-input { position: absolute; right: 0.75rem; top: 0.7rem; }
.woocommerce form .show-password-input::after { content: "👁"; }

.fbf-form-grid { display: grid; gap: 1rem; }
.fbf-form-grid > .form-row,
.fbf-form-grid > * { grid-column: 1 / -1; }
.fbf-form-grid + .fbf-form-grid { margin-top: 1rem; }
.fbf-address-fields { display: grid; gap: 1rem; }
.fbf-address-fields > * { grid-column: 1 / -1; }
.fbf-address-fields.is-hidden { display: none; }
/* UK-only shop: the country is fixed, so hide it (WooCommerce sets an inline display style). */
#billing_country_field,
#shipping_country_field { display: none !important; }
@media (min-width: 640px) {
	.fbf-form-grid,
	.fbf-address-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fbf-form-grid > .form-row-first,
	.fbf-address-fields > .form-row-first { grid-column: 1; }
	.fbf-form-grid > .form-row-last,
	.fbf-address-fields > .form-row-last { grid-column: 2; }
}

/* Tables */
.woocommerce table.shop_table { width: 100%; text-align: left; font-size: 0.9375rem; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 0.625rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.woocommerce table.shop_table th { font-weight: 700; }
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td { font-weight: 600; }
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce table.shop_table_responsive tr th { display: block; text-align: right; border: 0; padding: 0.25rem 0; }
	.woocommerce table.shop_table_responsive tr td[data-title]::before { content: attr(data-title) ": "; float: left; font-weight: 700; }
}

/* ---------- Cart page ---------- */
.fbf-cart-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
	.fbf-cart-layout { grid-template-columns: minmax(0, 1fr) 380px; }
	.fbf-cart-collaterals { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 1.5rem); }
}
.fbf-cart-items > .fbf-cart-item + .fbf-cart-item { margin-top: 0.75rem; }
.fbf-cart-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "main remove" "qty subtotal";
	gap: 0.75rem 1rem;
	align-items: center;
	border-radius: 1rem;
	background: var(--card);
	padding: 1rem;
	box-shadow: var(--shadow-soft);
}
.fbf-cart-item__main { grid-area: main; }
.fbf-cart-item__qty { grid-area: qty; }
.fbf-cart-item__subtotal { grid-area: subtotal; text-align: right; font-weight: 700; color: var(--red); font-size: 1.125rem; }
.fbf-cart-item__remove { grid-area: remove; justify-self: end; }
.fbf-cart-item__remove a { display: grid; place-items: center; padding: 0.375rem; border-radius: 999px; color: var(--muted-foreground); }
.fbf-cart-item__remove a:hover { color: var(--red); background: var(--muted); }
.fbf-cart-item__remove .fbf-icon { width: 1.125rem; height: 1.125rem; }
.fbf-cart-item__name { font-weight: 700; font-size: 1.125rem; }
.fbf-cart-item__name a:hover { text-decoration: underline; }
.fbf-cart-item__unit { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 640px) {
	.fbf-cart-item {
		grid-template-columns: minmax(0, 1fr) auto 6rem auto;
		grid-template-areas: "main qty subtotal remove";
	}
}
.fbf-cart-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.fbf-coupon { display: flex; gap: 0.5rem; }
.fbf-coupon .fbf-field { max-width: 12rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }

.cart_totals { border-radius: 1.5rem; background: var(--brand-yellow); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.cart_totals > h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td { border-color: rgba(67, 38, 10, 0.2); }
.cart_totals .order-total td,
.cart_totals .order-total th { font-size: 1.125rem; font-weight: 900; }
.wc-proceed-to-checkout { margin-top: 1rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 1.125rem; }
.woocommerce-shipping-methods li,
#shipping_method li { display: flex; gap: 0.5rem; align-items: center; }
.woocommerce-shipping-methods li + li,
#shipping_method li + li { margin-top: 0.25rem; }
.woocommerce-shipping-destination,
.woocommerce-shipping-calculator { font-size: 0.8125rem; margin-top: 0.25rem; }

/* ---------- Checkout ---------- */
.fbf-checkout { display: grid; gap: 2rem; align-items: start; }
.fbf-checkout__main > * + *,
.fbf-checkout__cards > * + * { margin-top: 1.5rem; }
.fbf-checkout__details > * + * { margin-top: 1.5rem; }
.fbf-checkout__summary {
	border-radius: 1.5rem;
	background: var(--brand-yellow);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
@media (min-width: 1024px) {
	.fbf-checkout { grid-template-columns: minmax(0, 1fr) 380px; }
	.fbf-checkout__summary { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 1.5rem); }
}
.fbf-summary-note { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1rem; }
.fbf-checkout__summary table.shop_table { font-size: 0.875rem; }
.fbf-checkout__summary table.shop_table th,
.fbf-checkout__summary table.shop_table td { border-color: rgba(67, 38, 10, 0.2); padding-left: 0; padding-right: 0; }
.fbf-checkout__summary table.shop_table thead { display: none; }
.fbf-checkout__summary table.shop_table td.product-total,
.fbf-checkout__summary table.shop_table tfoot td { text-align: right; font-weight: 700; }
.fbf-checkout__summary .order-total th,
.fbf-checkout__summary .order-total td { font-size: 1.125rem; font-weight: 900; border-bottom: 0; }
.fbf-checkout__summary .product-quantity { font-weight: 700; }
.fbf-checkout__summary #shipping_method { text-align: left; font-weight: 500; }

/* Delivery / Pickup toggle */
.fbf-fulfilment-toggle .form-row > label:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fbf-fulfilment-toggle .woocommerce-input-wrapper {
	display: inline-flex !important;
	justify-self: start;
	border-radius: 999px;
	background: var(--card);
	padding: 0.25rem;
	box-shadow: var(--shadow-soft);
}
.fbf-fulfilment-toggle input.input-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fbf-fulfilment-toggle label.radio {
	display: inline-block;
	border-radius: 999px;
	padding: 0.5rem 1.5rem;
	font-size: 1rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background-color 0.15s;
}
.fbf-fulfilment-toggle label.radio .required { display: none; }
.fbf-fulfilment-toggle input.input-radio:checked + label.radio { background: var(--brown); color: var(--brown-foreground); }
.fbf-fulfilment-toggle input.input-radio:focus-visible + label.radio { outline: 3px solid var(--red); outline-offset: 2px; }

.fbc-pickup-info {
	grid-column: 1 / -1;
	display: flex;
	gap: 0.75rem;
	border-radius: 1rem;
	background: var(--muted);
	padding: 1rem;
	font-size: 0.9375rem;
}
.fbc-pickup-info.is-hidden { display: none; }
.fbc-date-error { color: var(--red); font-size: 0.8125rem; font-weight: 600; }

/* Payment */
#payment .wc_payment_methods { display: grid; gap: 0.75rem; }
#payment .wc_payment_method {
	border-radius: 1rem;
	border: 2px solid var(--border);
	padding: 1rem;
}
#payment .wc_payment_method > label { font-weight: 700; margin-left: 0.25rem; cursor: pointer; }
#payment .wc_payment_method > label img { display: inline-block; max-height: 1.5rem; width: auto; margin-left: 0.5rem; vertical-align: middle; }
#payment .payment_box { margin-top: 0.75rem; font-size: 0.875rem; }
#payment .payment_box p + * { margin-top: 0.5rem; }
#payment .place-order { margin-top: 1rem; display: grid; gap: 0.75rem; }
#payment .woocommerce-terms-and-conditions-wrapper { font-size: 0.875rem; }
#payment .woocommerce-privacy-policy-text a,
#payment .woocommerce-terms-and-conditions-link { text-decoration: underline; font-weight: 600; }
#payment .woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; padding: 1rem; background: var(--muted); border-radius: 1rem; }
/* WhatsApp option is offered as its own button, so hide it from the list when card/PayPal are available */
#payment .wc_payment_methods:has(> li.wc_payment_method:not(.payment_method_fbc_whatsapp)) > li.payment_method_fbc_whatsapp { display: none; }
#payment:not(:has(li.wc_payment_method:not(.payment_method_fbc_whatsapp))) .fbc-wa-checkout { display: none; }
.fbc-allergen-reminder {
	border-radius: 0.75rem;
	background: var(--brand-yellow);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
}
.fbc-allergen-reminder a { text-decoration: underline; }
.fbc-wa-checkout .fbf-icon { width: 1.15em; height: 1.15em; }
.fbf-secure-note { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); }
.fbf-secure-note .fbf-icon { width: 0.75rem; height: 0.75rem; }
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { border-left-color: var(--brand-yellow); }
form.checkout_coupon,
form.woocommerce-form-login { margin-bottom: 1.5rem; display: grid; gap: 0.75rem; border-radius: 1.5rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.fbf-account-fields { margin-top: 1rem; }

/* ---------- Thank you ---------- */
.fbf-thankyou > * + * { margin-top: 1.5rem; }
.woocommerce-thankyou-order-received { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.fbf-overview { display: grid; gap: 0.75rem; }
.fbf-overview li { border-radius: 1rem; background: var(--card); padding: 1rem; box-shadow: var(--shadow-soft); }
.fbf-overview li > span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.fbf-overview strong { font-size: 1.125rem; }
@media (min-width: 640px) {
	.fbf-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.fbf-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.woocommerce-order-details,
.woocommerce-customer-details { border-radius: 1.5rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.woocommerce-order-details__title,
.woocommerce-column__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.625; }
.woocommerce-customer-details .col2-set { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
	.woocommerce-customer-details .col2-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fbc-fulfilment-box {
	margin-top: 1.5rem;
	border-radius: 1.25rem;
	border: 2px solid var(--brand-yellow);
	background: var(--cream);
	padding: 1.25rem;
}
.fbc-fulfilment-box h2,
.fbc-fulfilment-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.fbc-fulfilment-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0.375rem 1rem; }
.fbc-fulfilment-box dt { font-weight: 700; }
.fbc-wa-thankyou { border-radius: 1.5rem; background: var(--brand-yellow); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.fbc-wa-thankyou h2 { font-size: 1.5rem; font-weight: 900; }
.fbc-wa-thankyou p { margin-top: 0.5rem; }
.fbc-wa-thankyou .fbf-btn { margin-top: 1rem; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 220px minmax(0, 1fr); }
}
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 1024px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: column; }
}
.woocommerce-MyAccount-navigation a { display: block; border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; background: var(--card); }
.woocommerce-MyAccount-navigation a:hover { background: var(--brand-yellow); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brown); color: var(--brown-foreground); }
.woocommerce-MyAccount-content { border-radius: 1.5rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); line-height: 1.625; }
.woocommerce-MyAccount-content > * + * { margin-top: 1rem; }
.woocommerce-MyAccount-content a:not(.button) { text-decoration: underline; font-weight: 600; }
.woocommerce-account .u-columns { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
	.woocommerce-account .u-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword { border-radius: 1.5rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.woocommerce-account h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.woocommerce-form-login .form-row + .form-row,
.woocommerce-form-register .form-row + .form-row,
.woocommerce-EditAccountForm .form-row + .form-row,
.woocommerce-address-fields .form-row + .form-row { margin-top: 1rem; }
.woocommerce-LostPassword { margin-top: 0.75rem; font-size: 0.875rem; text-decoration: underline; }
.woocommerce-Addresses { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
	.woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.woocommerce-pagination,
.woocommerce-Pagination { margin-top: 1rem; display: flex; gap: 0.5rem; }

/* ---------- Animations ---------- */
@keyframes fbf-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes fbf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fbf-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fbf-bump { 50% { transform: scale(1.3); } }

.fbf-fade-in { animation: fbf-fade-up 0.7s ease both; }
.js .fbf-reveal { opacity: 0; }
.js .fbf-reveal.is-visible { opacity: 1; animation: fbf-fade-up 0.7s ease both; }

@media (prefers-reduced-motion: reduce) {
	*,
	::before,
	::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.js .fbf-reveal { opacity: 1; }
}

/* ---------- Print ---------- */
@media print {
	.fbf-header,
	.fbf-footer,
	.fbf-wa-fab,
	.fbf-cookie,
	.fbf-drawer { display: none !important; }
}
