/*
Theme Name: Fresh Bakes by Finagle
Description: Block theme for freshbakes.lk, built from the Fresh Bakes design system. Brand colours, fonts, header, footer and homepage patterns included.
Version: 2.4.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Author: Fresh Bakes by Finagle
Text Domain: fresh-bakes
License: GPLv2 or later
*/

/* ---------- Header ---------- */
.fb-header__top { min-height: 128px; }
.fb-header__logo img { height: 100px; width: auto; display: block; }
.fb-header__meta p { margin: 0; }
.fb-header__nav .wp-block-navigation { min-height: 46px; }
.fb-header .wp-block-navigation a:hover { color: var(--wp--preset--color--ink); }

@media (max-width: 781px) {
	.fb-header { position: relative; }
	.fb-header__top { min-height: 84px; }
	.fb-header__logo img { height: 68px; }
	.fb-header__meta,
	.fb-header__cta { display: none !important; }
	/* nav row collapses into the hamburger, placed on the logo row */
	.fb-header__nav {
		position: absolute;
		top: 20px;
		right: var(--wp--style--root--padding-right, 16px);
		min-height: 0;
		border-top: 0 !important;
		padding: 0 !important;
		background: transparent !important;
	}
	.fb-header__nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; justify-content: center; }
	.fb-header__nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
}

/* ---------- Buttons: brand press + shadow ---------- */
.wp-element-button,
.wp-block-button__link {
	box-shadow: 0 8px 20px rgba(205, 140, 47, .30);
	transition: transform 120ms cubic-bezier(.2,.7,.2,1), background-color 220ms cubic-bezier(.2,.7,.2,1);
}
.wp-element-button:active,
.wp-block-button__link:active { transform: scale(.97); }
.is-style-outline .wp-block-button__link { box-shadow: none; }

/* ---------- Hero ---------- */
.fb-hero__lede { max-width: 420px; }
.fb-hero__thumbs.wp-block-gallery img { border-radius: 14px; aspect-ratio: 1.1; object-fit: cover; }
@media (max-width: 781px) {
	.fb-hero__buttons .wp-block-button { width: 100%; }
	.fb-hero__buttons .wp-block-button__link { width: 100%; }
}

/* ---------- Footer ---------- */
.fb-footer a { color: rgba(255,255,255,.75); text-decoration: none; font-weight: 400; }
.fb-footer a:hover { color: #fff; text-decoration: underline; }
.fb-footer .fb-footer__links p { margin: 0 0 9px; }
.fb-footer .wp-block-social-links .wp-social-link { border: 1px solid rgba(255,255,255,.28); }

/* Focus stays visible everywhere */
:where(a, button, .wp-element-button):focus-visible { outline: 2px solid var(--wp--preset--color--ochre-shade); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.wp-element-button, .wp-block-button__link { transition: none; }
}

/* ---------- Page rhythm: sections sit flush, no gaps ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.fb-main .wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.fb-hero__photo img { border-radius: 20px; width: 100%; height: auto; }

/* ---------- How Grab & Go works ---------- */
.fb-step { box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); }
.fb-step__icon { margin: 0; }
@media (max-width: 781px) {
	.fb-section h2.wp-block-heading { font-size: 22px; }
	.fb-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px !important; }
	.fb-step > * { margin-block-start: 0 !important; }
	.fb-step__icon { flex: 0 0 40px; }
	.fb-step__icon img { width: 40px !important; height: 40px !important; }
	/* hero thumbnails stay three across on phones */
	.fb-hero__thumbs.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc((100% - 2 * var(--wp--style--unstable-gallery-gap, 16px)) / 3) !important; }
}

/* ---------- Product carousel ---------- */
.fb-chips p { margin: 0; }
.fb-chips a {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px;
	border-radius: 999px; border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink-2);
	font-size: 13px; font-weight: 700; text-decoration: none;
}
.fb-chips a:hover { border-color: var(--wp--preset--color--ink-3); text-decoration: none; color: var(--wp--preset--color--ink); }
.fb-chips .is-current a { background: var(--wp--preset--color--ink); border-color: transparent; color: #fff; }

.fb-carousel .fb-carousel__track {
	display: flex; gap: 14px; margin: 0; padding: 2px 2px 10px; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.fb-carousel .fb-carousel__track::-webkit-scrollbar { display: none; }
.fb-carousel .fb-carousel__track > li { flex: 0 0 calc((100% - 42px) / 4); scroll-snap-align: start; margin: 0; }
.fb-product { height: 100%; box-sizing: border-box; box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); }
.fb-product > * { margin: 0; }
.fb-product__media { position: relative; width: 100%; }
.fb-product__media .wp-block-post-featured-image { margin: 0; }
.fb-product__media .wp-block-post-featured-image img { border-radius: 10px; }
.fb-product .fb-product__name { font-family: var(--wp--preset--font-family--body); font-style: normal; font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: 0; color: var(--wp--preset--color--ink); }
.fb-product .fb-product__desc p { margin: 0; font-size: 12px; line-height: 1.45; color: var(--wp--preset--color--ink-3); }
.fb-product .fb-price { margin-top: auto; font-family: var(--wp--preset--font-family--display); font-style: normal; font-weight: 600; font-size: 16px; color: var(--wp--preset--color--ink); }
.fb-badge {
	position: absolute; top: 8px; left: 8px; margin: 0; padding: 4px 8px; border-radius: 6px;
	font-size: 11px; font-weight: 700; line-height: 1.2;
	background: var(--wp--preset--color--ochre); color: var(--wp--preset--color--ink);
}
.fb-badge--bestseller { background: #C2185B; color: #fff; }
.fb-badge--new { background: #2E8B57; color: #fff; }
.fb-badge:empty { display: none; }

.fb-carousel__arrows { display: flex; gap: 8px; }
.fb-carousel__arrow {
	width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid #D5CFC6; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink-2); cursor: pointer; padding: 0;
}
.fb-carousel__arrow:hover:not(:disabled) { border-color: var(--wp--preset--color--ink-3); color: var(--wp--preset--color--ink); }
.fb-carousel__arrow:disabled { opacity: .35; cursor: default; }

@media (max-width: 781px) {
	.fb-carousel .fb-carousel__track > li { flex-basis: 78%; }
	.fb-carousel__arrows { display: none; }
	.fb-chips { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--wp--style--root--padding-right, 16px)); }
	.fb-chips > * { flex-shrink: 0; }
}

/* ---------- Secondary button ---------- */
.wp-block-button.is-style-secondary .wp-block-button__link {
	background: var(--wp--preset--color--surface-sunk); color: var(--wp--preset--color--ink);
	box-shadow: none; font-size: 14px; min-height: 48px; padding: 12px 20px;
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.wp-block-button.is-style-secondary .wp-block-button__link:hover { background: #E8E2D6; color: var(--wp--preset--color--ink); }

/* ---------- Our story ---------- */
.fb-story__lede { max-width: 450px; }
.fb-story__endorse figure { margin: 0; }
.fb-story__endorse .fb-story__film { margin-left: auto; }
.fb-story__photo img { width: 100%; height: auto; border-radius: 20px; }
.fb-reasons { padding: 0 !important; overflow: hidden; box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); }
.fb-reasons > .fb-reason { margin: 0; }
.fb-reasons > .fb-reason + .fb-reason { border-top: 1px solid var(--wp--preset--color--hairline); }
.fb-reason p { margin: 0; }
.fb-reason__icon { margin: 0; flex: 0 0 28px; }
@media (max-width: 781px) {
	.fb-story__endorse .fb-story__film { margin-left: 0; width: 100%; }
	.fb-story__film .wp-block-button, .fb-story__film .wp-block-button__link { width: 100%; }
	.fb-story__photo img { aspect-ratio: 1.7 !important; }
}

/* ---------- Testimonials ---------- */
.fb-carousel--3 .fb-carousel__track { gap: 16px; }
.fb-carousel--3 .fb-carousel__track > li { flex-basis: calc((100% - 32px) / 3); }
.fb-quote { height: 100%; box-sizing: border-box; padding: 0 !important; overflow: hidden; box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); }
.fb-quote__media { margin: 0; position: relative; border-bottom: 1px solid var(--wp--preset--color--hairline); }
.fb-quote__media img { display: block; width: 100%; }
.fb-video-link { display: block; position: relative; }
.fb-play {
	position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; padding-left: 3px; box-sizing: border-box;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink);
	box-shadow: 0 4px 14px rgba(26,26,26,.18); transition: transform 120ms cubic-bezier(.2,.7,.2,1);
}
.fb-video-link:hover .fb-play { transform: scale(1.06); }
.fb-quote__text p { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--ink-2); }
.fb-quote__text p::before { content: "\201C"; }
.fb-quote__text p::after { content: "\201D"; }
.fb-quote .fb-quote__name { margin: 0; font-family: var(--wp--preset--font-family--body); font-style: normal; font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--wp--preset--color--ink); }
.fb-quote__role { margin: 0; font-size: 12px; color: var(--wp--preset--color--ink-3); }
.fb-quote__role:empty { display: none; }
@media (max-width: 781px) {
	.fb-carousel--3 .fb-carousel__track > li { flex-basis: 86%; }
}
/* testimonial without a photo: keep the card shape with a soft brand panel */
.fb-quote:not(:has(.fb-quote__media))::before {
	content: "\201C"; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1.6; border-bottom: 1px solid var(--wp--preset--color--hairline);
	background: linear-gradient(135deg, #F0D9B7 0%, var(--wp--preset--color--cream) 100%);
	font-family: var(--wp--preset--font-family--display); font-size: 72px; line-height: 1; color: var(--wp--preset--color--brown-shade);
}

/* ---------- Shared card ---------- */
.fb-card {
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--hairline); border-radius: 20px;
	padding: 16px 18px !important; box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04);
}
.fb-card p { margin: 0; }

/* ---------- Find us ---------- */
.fb-map { aspect-ratio: 2; border-radius: 20px; overflow: hidden; border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--surface-sunk); }
.fb-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.fb-outlets > * + * { margin-top: 12px; }
.fb-outlet__text { flex: 1; min-width: 0; }
.fb-outlet__name { font-weight: 700; font-size: 14px; color: var(--wp--preset--color--ink); }
.fb-outlet__addr { font-size: 13px; color: var(--wp--preset--color--ink-3); margin-top: 3px !important; }
.fb-outlet__hours { font-size: 12px; color: var(--wp--preset--color--ink-3); margin-top: 2px !important; }
.fb-pill { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; border: 1px solid transparent; }
.fb-pill--open { background: #E8F5EC; color: #1E6B3F; border-color: #C4E3CE; }
.fb-pill--soon { background: var(--wp--preset--color--ochre-tint); color: var(--wp--preset--color--brown-shade); border-color: #EBD3AE; }
.fb-pill--later { background: var(--wp--preset--color--surface-sunk); color: var(--wp--preset--color--ink-2); border-color: #D5CFC6; }
.fb-outlet__actions { flex-wrap: nowrap !important; }
.fb-outlet__actions .wp-block-button { flex: 1; }
.fb-outlet__actions .wp-block-button__link { width: 100%; min-height: 44px; font-size: 13px; }

/* ---------- Order ahead ---------- */
.fb-partners > * + * { margin-top: 10px; }
.fb-partner { position: relative; padding: 14px 16px !important; transition: border-color 220ms cubic-bezier(.2,.7,.2,1); }
.fb-partner:hover { border-color: #D5CFC6; }
.fb-partner:has(a:focus-visible) { outline: 2px solid var(--wp--preset--color--ochre-shade); outline-offset: 2px; }
.fb-partner__icon { margin: 0; flex: 0 0 36px; }
.fb-partner__text { flex: 1; min-width: 0; }
.fb-partner__name a { font-weight: 700; font-size: 14px; color: var(--wp--preset--color--ink); text-decoration: none; }
.fb-partner__name a:hover { text-decoration: none; }
.fb-partner__name a:focus-visible { outline: none; }
.fb-partner__name a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.fb-partner__note { font-size: 12px; color: var(--wp--preset--color--ink-3); }
.fb-partner::after {
	content: ""; width: 8px; height: 8px; flex: 0 0 8px; margin-right: 4px;
	border-right: 2px solid var(--wp--preset--color--ink-3); border-top: 2px solid var(--wp--preset--color--ink-3); transform: rotate(45deg);
}

/* ---------- FAQ ---------- */
.fb-faq__title { margin-top: 32px !important; margin-bottom: 14px !important; }
.fb-faq { padding: 0 !important; overflow: hidden; }
.fb-faq > * { margin: 0 !important; }
.fb-faq .wp-block-details { border-bottom: 0; padding: 0; }
.fb-faq .wp-block-details + .wp-block-details { border-top: 1px solid var(--wp--preset--color--hairline); }
.fb-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; box-sizing: border-box;
	padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--ink);
}
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; color: var(--wp--preset--color--ink-3); }
.fb-faq details[open] summary::after { content: "\2212"; }
.fb-faq details > p { padding: 0 18px 16px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--ink-2); }

@media (max-width: 781px) {
	.fb-map { aspect-ratio: 1.5; }
	.fb-faq summary { padding: 14px 16px; }
	.fb-faq details > p { padding: 0 16px 14px; }
}
.fb-outlets .fb-outlets__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.fb-outlets .fb-outlets__list > li { margin: 0; }
.fb-outlet .fb-outlet__name { margin: 0; font-family: var(--wp--preset--font-family--body); font-style: normal; font-weight: 700; font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--wp--preset--color--ink); }
.fb-map--empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 13px; color: var(--wp--preset--color--ink-3); }
.fb-footer .fb-footer__visit { margin: 0 0 4px; }

/* ---------- Franchise band ---------- */
.fb-franchise .fb-franchise__title { margin: 12px 0 12px; }
.fb-franchise__lede { max-width: 460px; line-height: 1.6; }
.fb-facts { max-width: 460px; }
.fb-fact { border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 13px 15px; }
.fb-fact p { margin: 0; }
.fb-fact__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.fb-fact__value { margin-top: 5px !important; font-family: var(--wp--preset--font-family--display); font-style: normal; font-weight: 600; font-size: 16px; line-height: 1.3; color: #D7A45B; }

.fb-enquiry {
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--hairline); border-radius: 20px;
	padding: 24px; box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); color: var(--wp--preset--color--ink-2);
}
.fb-enquiry p { margin: 0; }
.fb-enquiry__title { font-weight: 700; font-size: 16px; color: var(--wp--preset--color--ink); }
.fb-enquiry__lede { margin: 6px 0 16px !important; font-size: 13px; line-height: 1.6; }
.fb-enquiry form { display: grid; gap: 12px; }
.fb-field span { display: block; font-weight: 700; font-size: 12px; color: var(--wp--preset--color--ink-2); margin-bottom: 6px; }
.fb-field input {
	width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 13px; border-radius: 14px;
	border: 1px solid #D5CFC6; background: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--body); font-size: 16px; color: var(--wp--preset--color--ink);
}
.fb-field input::placeholder { color: #9A958D; }
.fb-field input:focus { outline: 2px solid var(--wp--preset--color--ochre); outline-offset: 0; border-color: transparent; }
.fb-enquiry__submit { width: 100%; min-height: 50px; border: 0; cursor: pointer; }
.fb-enquiry__privacy { font-size: 12px; color: var(--wp--preset--color--ink-3); text-align: center; }
.fb-enquiry__pack { display: block; margin-top: 12px; }
.fb-enquiry__pack .wp-block-button__link { width: 100%; }
.fb-enquiry__error { margin: 0 0 12px !important; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 13px; }
.fb-enquiry__done { margin-top: 12px; padding: 16px; border-radius: 14px; background: #E8F5EC; border: 1px solid #C4E3CE; color: #1E6B3F; font-size: 14px; }
.fb-enquiry__done-title { font-weight: 700; margin-bottom: 4px !important; }
.fb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 781px) {
	.fb-franchise .fb-franchise__title { font-size: 22px; }
	.fb-franchise__lede { font-size: 14px !important; }
	.fb-enquiry { padding: 18px; }
}

/* ---------- Menu page ---------- */
.fb-menu-head h1 { margin: 12px 0 12px; }
/* Page heading bands always use the site width, whatever the block's own content-width setting */
.fb-menu-head.is-layout-constrained > :not(.alignfull):not(.alignwide) { max-width: min(1200px, 100%) !important; }
.fb-menu-head__lede {
	/* same left edge as the heading; lines stop at about 620px */
	box-sizing: border-box; padding-right: max(0px, calc(min(1200px, 100%) - 620px)); font-size: 16px;
}
.fb-menu-head__meta p { margin: 0; font-weight: 600; font-size: 13px; color: var(--wp--preset--color--ink-2); }
.fb-menu-head__meta figure { margin: 0; line-height: 0; }
.fb-menu-head__meta img { display: block; }
.fb-menu-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wp--preset--color--hairline); font-size: 13px; color: var(--wp--preset--color--ink-2); }
.fb-menu-key__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--wp--preset--color--ink-3); }
.fb-menu-key__item { display: inline-flex; align-items: center; gap: 5px; }
.fb-veg { color: #1E6B3F; flex-shrink: 0; }

.fb-menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.fb-panel {
	position: relative; grid-column: 1 / -1; margin-top: 40px; box-sizing: border-box;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--hairline); border-radius: 20px;
	box-shadow: 0 1px 2px rgba(26,26,26,.06), 0 1px 1px rgba(26,26,26,.04); padding: 36px 24px 20px;
}
.fb-panel--half { grid-column: auto; }
.fb-panel__tab {
	position: absolute; top: -21px; left: 20px; margin: 0; display: inline-flex; align-items: center; gap: 10px;
	padding: 9px 18px 9px 14px; border-radius: 999px; background: var(--wp--preset--color--brown-deep); color: #fff;
	font-family: var(--wp--preset--font-family--display); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: 0;
}
.fb-panel__icon { color: #E3B877; }
.fb-panel__note { margin: 0 0 8px; font-size: 13px; color: var(--wp--preset--color--ink-3); }
.fb-panel__cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.fb-panel__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fb-panel__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fb-panel__cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fb-col { padding: 0 20px; }
.fb-col:first-child { padding-left: 0; }
.fb-col:last-child { padding-right: 0; }
.fb-col + .fb-col { border-left: 1px solid var(--wp--preset--color--hairline); }
.fb-group + .fb-group { border-top: 1px solid var(--wp--preset--color--hairline); margin-top: 12px; padding-top: 12px; }
.fb-group__label { margin: 0 0 4px; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; line-height: 1.4; color: var(--wp--preset--color--brown); }
.fb-rows { list-style: none; margin: 0; padding: 0; }
.fb-row { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; break-inside: avoid; }
.fb-row__name { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--wp--preset--color--ink); }
.fb-row__price { font-family: var(--wp--preset--font-family--display); font-style: normal; font-weight: 600; font-size: 15px; color: var(--wp--preset--color--ink); white-space: nowrap; }
.fb-menu-empty { padding: 40px 0; color: var(--wp--preset--color--ink-3); }

.fb-note__icon { margin: 0; flex: 0 0 36px; }
.fb-note__title { font-weight: 700; font-size: 14px; color: var(--wp--preset--color--ink); }
.fb-note__text { font-size: 13px; line-height: 1.55; color: var(--wp--preset--color--ink-3); }

.fb-order-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.fb-order-buttons .wp-block-button__link, .fb-orderbar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.fb-orderbar { display: none; }

@media (max-width: 1000px) {
	.fb-panel__cols--3, .fb-panel__cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.fb-panel__cols--3 .fb-col:nth-child(odd), .fb-panel__cols--4 .fb-col:nth-child(odd) { padding-left: 0; border-left: 0; }
	.fb-panel__cols--3 .fb-col:nth-child(even), .fb-panel__cols--4 .fb-col:nth-child(even) { padding-right: 0; }
}
@media (max-width: 781px) {
	.fb-menu-head { padding-top: 22px !important; padding-bottom: 20px !important; }
	.fb-menu-head h1 { font-size: 32px; }
	.fb-menu-head__lede { font-size: 14px; }
	.fb-menu { grid-template-columns: 1fr; }
	.fb-panel { margin-top: 34px; padding: 32px 16px 14px; }
	.fb-panel__tab { top: -19px; left: 14px; font-size: 18px; padding: 8px 16px 8px 12px; }
	.fb-panel .fb-panel__cols { display: block; }
	.fb-col { padding: 0 !important; border: 0 !important; }
	.fb-col + .fb-col .fb-group:first-child:has(.fb-group__label) { border-top: 1px solid var(--wp--preset--color--hairline); margin-top: 10px; padding-top: 10px; }
	.fb-group + .fb-group { margin-top: 10px; padding-top: 10px; }
	.fb-row { padding: 6px 0; }
	.fb-note { margin-top: 28px !important; margin-bottom: 24px !important; }
	.fb-order-band { display: none; }
	.fb-orderbar {
		display: block; position: sticky; bottom: 0; z-index: 100; margin: 24px calc(-1 * var(--wp--style--root--padding-right, 16px)) 0;
		background: var(--wp--preset--color--surface); border-top: 1px solid var(--wp--preset--color--hairline);
		box-shadow: 0 -6px 20px rgba(26,26,26,.10); padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	}
	.fb-orderbar p { margin: 0 0 7px; font-size: 12px; color: var(--wp--preset--color--ink-3); }
	.fb-orderbar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.fb-orderbar a { min-height: 48px; padding: 10px 12px; font-size: 14px; box-shadow: none; }
}

/* ---------- Ordering switched off ---------- */
.fb-hero__buttons--menu { margin-top: 24px; }
/* Find us: hide the Order ahead heading copy that came before the partner rows were marked, and lift the questions */
.fb-ordering-off .wp-block-column:has(> .fb-faq) > :not(.fb-faq__title):not(.fb-faq):not(.fb-faq__more):not(.fb-faq__eyebrow):not(.fb-faq__note) { display: none; }
/* Questions heading matches the Find us heading beside it */
.fb-faq__eyebrow { margin: 0 !important; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--wp--preset--color--brown); }
.fb-faq__eyebrow + .fb-faq__title--section { margin-top: var(--wp--style--block-gap, 16px) !important; }
.fb-faq .fb-faq__title--section, h2.fb-faq__title--section { margin-bottom: 0 !important; font-size: var(--wp--preset--font-size--x-large); }
.fb-faq__note { margin-top: var(--wp--style--block-gap, 16px) !important; margin-bottom: 0 !important; }
.fb-faq__note + .fb-faq, .fb-faq__title--section + .fb-faq { margin-top: var(--wp--style--block-gap, 16px) !important; }

/* ---------- FAQ answers (lists and links) ---------- */
.fb-faq .fb-faq__answer { padding: 0 18px 16px; font-size: 13px; line-height: 1.6; color: var(--wp--preset--color--ink-2); }
.fb-faq .fb-faq__answer p { padding: 0; margin: 0 0 8px; }
.fb-faq .fb-faq__answer p:last-child, .fb-faq .fb-faq__answer ul:last-child { margin-bottom: 0; }
.fb-faq .fb-faq__answer ul { margin: 0 0 8px; padding-left: 18px; }
.fb-faq .fb-faq__answer li { margin: 2px 0; }
.fb-faq__more { margin: 12px 0 0 !important; font-size: 14px; }

/* ---------- FAQ page ---------- */
.fb-faqpage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.fb-faqpage:not(:has(.fb-faqpage__nav)) { grid-template-columns: minmax(0, 1fr); }
.fb-faqpage__nav { position: sticky; top: 24px; }
.admin-bar .fb-faqpage__nav { top: 56px; }
.fb-faqpage__navlabel { margin: 0 0 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--wp--preset--color--ink-3); }
.fb-faqpage__nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--wp--preset--color--hairline); }
.fb-faqpage__nav a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--ink-2); text-decoration: none; }
.fb-faqpage__nav a:hover { color: var(--wp--preset--color--ink); border-left-color: var(--wp--preset--color--ochre); text-decoration: none; }
.fb-faqpage__body { max-width: 760px; }
.fb-faqpage__topic { scroll-margin-top: 24px; }
.fb-faqpage__topic + .fb-faqpage__topic { margin-top: 40px; }
.fb-faqpage .fb-faqpage__h { margin: 0 0 14px; font-size: var(--wp--preset--font-size--large); }
.fb-faqpage .fb-faq summary { font-size: 15px; padding: 16px 18px; }
.fb-faqpage .fb-faq .fb-faq__answer { font-size: 14px; }
.fb-faqpage__empty { color: var(--wp--preset--color--ink-3); }
@media (prefers-reduced-motion: no-preference) { html:has(.fb-faqpage) { scroll-behavior: smooth; } }

@media (max-width: 900px) {
	.fb-faqpage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.fb-faqpage__nav { position: static; margin-right: calc(-1 * var(--wp--style--root--padding-right, 16px)); }
	.fb-faqpage__navlabel { display: none; }
	.fb-faqpage__nav ul { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding-bottom: 4px; scrollbar-width: none; }
	.fb-faqpage__nav li { flex-shrink: 0; }
	.fb-faqpage__nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; margin: 0; border: 1px solid var(--wp--preset--color--hairline); border-radius: 999px; background: var(--wp--preset--color--surface); font-size: 13px; font-weight: 700; white-space: nowrap; }
	.fb-faqpage__nav a:hover { border-color: var(--wp--preset--color--ink-3); }
	.fb-faqpage__topic + .fb-faqpage__topic { margin-top: 32px; }
	.fb-faqpage .fb-faq summary { padding: 14px 16px; }
	.fb-faqpage .fb-faq .fb-faq__answer { padding: 0 16px 14px; }
}
