/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* ---------------------------------------------------------------------------
 * MMHN — Offcanvas panel fill
 * BricksExtras ships `.x-offcanvas_inner{background:#fff}` UNLAYERED, which beats
 * Bricks' @layer-wrapped post/custom CSS regardless of specificity. Override it
 * here (unlayered child theme) so the header offcanvas is a single --primary fill.
 * ------------------------------------------------------------------------- */
.header__offcanvas .x-offcanvas_inner {
	background-color: var(--primary);
}

/* ---------------------------------------------------------------------------
 * MMHN — ShortPixel <picture> wrapper is layout-transparent
 * SPIO's Global delivery (deliverWebp=1) wraps every <img> in <picture> to serve
 * AVIF/WebP. Every Bricks image here sits in a flex/grid frame that sizes the
 * IMG (cover-fill heroes, card media, the navy splits) — the inline <picture>
 * became the item instead and the images shrank (news-card 27px in a 194px
 * box; home hero picture 0px). display:contents removes the wrapper's box so
 * the img is the item again, exactly as before delivery was switched on.
 * Media queries / <source> selection are unaffected. (2026-10-01)
 * <source> computes to display:block on this stack (UA default is none), so
 * once the wrapper is transparent each one becomes a flex item of the frame
 * and eats a --content-gap (30px per source): restore the UA default.
 * ------------------------------------------------------------------------- */
picture { display: contents; }
picture > source { display: none; }

/* ---------------------------------------------------------------------------
 * MMHN — WS Form skin  (framework: "ws-form", fully variable-driven)
 *
 * WS Form emits its default skin scoped to :where([data-wsf-style-id="N"]) —
 * ZERO specificity — so a single-class `.wsf-form` rule wins with no fight and
 * regardless of source order. The skin is a TWO-TIER palette: every component
 * var references a small base palette (--wsf-form-color-{base,base-contrast,
 * primary,accent,neutral}). We remap that base palette + a few component vars
 * to brand tokens; the plugin's own base.css handles all structure.
 *
 *   .wsf-form              → LIGHT  (default): forms on cream / white surfaces
 *   .wsform-dark .wsf-form → DARK           : forms on navy (footer newsletter)
 *
 * Add the class "wsform-dark" to the BricksExtra WS Forms element (or any
 * wrapper) when the form sits on a navy/dark section. Light is the default
 * everywhere. Dark only overrides what differs — it inherits radius, button
 * shape, spacing, etc. from the light base below.
 * ------------------------------------------------------------------------- */

/* === LIGHT skin — default (cream / white surfaces) === */
.wsf-form {
	/* base palette (the high-leverage knobs) */
	--wsf-form-color-base: var(--base);            /* ink — labels, help, legend  */
	--wsf-form-color-base-contrast: var(--white);  /* field bg, primary-btn text  */
	--wsf-form-color-primary: var(--primary);      /* navy — submit btn + focus   */
	--wsf-form-color-accent: var(--primary);       /* navy — checkbox/radio tick  */
	--wsf-form-color-neutral: var(--neutral);      /* warm gray — placeholder     */

	/* functional colours → brand functional tokens (validation, notices) */
	--wsf-form-color-danger: var(--danger);
	--wsf-form-color-success: var(--success);
	--wsf-form-color-warning: var(--warning);
	--wsf-form-color-info: var(--info);

	/* fields */
	--wsf-field-border-color: var(--neutral);          /* 3:1 non-text on cream   */
	--wsf-field-border-radius: var(--radius);          /* 3px                     */
	--wsf-field-padding-vertical: 13px;                /* ~48px control height    */
	--wsf-field-box-shadow-width-focus: 3px;           /* brand 3px focus ring    */
	--wsf-field-box-shadow-color-focus: var(--primary);
	--wsf-field-border-color-focus: var(--primary);

	/* labels — Outfit 600, distinct from input text */
	--wsf-field-label-font-weight: 600;
	--wsf-field-label-gap: 6px;

	/* buttons — brand primary button: navy fill, white text, uppercase 13/700 */
	--wsf-field-button-border-radius: var(--radius);
	--wsf-field-button-font-weight: 700;
	--wsf-field-button-font-size: 13px;
	--wsf-field-button-letter-spacing: 0.1em;
	--wsf-field-button-text-transform: uppercase;
	--wsf-field-button-padding-vertical: 14px;
	--wsf-field-button-primary-color-background-hover: var(--primary-hover);
	--wsf-field-button-primary-border-color-hover: var(--primary-hover);
}

/* Required asterisk — brand danger on light surfaces */
.wsf-form .wsf-required { color: var(--danger); }

/* === DARK skin — footer / navy surfaces === */
.wsform-dark .wsf-form {
	--wsf-form-color-base: var(--cream);   /* labels / help / legend read on navy */
	--wsf-form-color-primary: var(--accent);            /* gold — submit button   */
	--wsf-form-color-accent: var(--accent);             /* gold — checkbox tick   */

	/* fields stay a LIGHT surface even on navy → keep white bg + ink text +
	   navy focus ring (fields are light regardless of the dark section) */
	--wsf-field-color: var(--base);
	--wsf-field-color-background: var(--white);
	--wsf-field-border-color: var(--neutral);
	--wsf-field-color-placeholder: var(--neutral);
	--wsf-field-box-shadow-color-focus: var(--primary);
	--wsf-field-border-color-focus: var(--primary);

	/* submit button — gold fill + NAVY text (gold+white fails AA; navy on gold
	   is 5.5:1). Hover shifts to the brighter accent, text stays navy. */
	--wsf-field-button-primary-color: var(--primary);
	--wsf-field-button-primary-color-hover: var(--primary);
	--wsf-field-button-primary-color-focus: var(--primary);
	--wsf-field-button-primary-color-background: var(--accent);
	--wsf-field-button-primary-color-background-hover: var(--accent-hover);
	--wsf-field-button-primary-color-background-focus: var(--accent-hover);
	--wsf-field-button-primary-border-color: var(--accent);
	--wsf-field-button-primary-border-color-hover: var(--accent-hover);
	--wsf-field-button-primary-border-color-focus: var(--accent-hover);

	/* validation text lightened so it reads on navy */
	--wsf-field-invalid-feedback-color: var(--danger-light);
}

/* Required asterisk — gold on navy */
.wsform-dark .wsf-form .wsf-required { color: var(--accent); }

/* ---------------------------------------------------------------------------
 * MMHN — Header search overlay skin  (BricksExtra xheadersearch, header_overlay)
 *
 * BricksExtra's headersearch.css is unlayered AND enqueues AFTER the child
 * theme, so equal-specificity rules lose on source order (same gotcha as the
 * offcanvas panel above). Scope under #brx-header (an id) to out-specify it.
 * ------------------------------------------------------------------------- */

/* Overlay panel — rebrand the plugin's #f3f3f3 to warm cream */
#brx-header .brxe-xheadersearch .x-search-form {
	background-color: var(--cream);
}

/* Toggle + close icon buttons — navy, gold-text on hover, brand 3px focus ring */
#brx-header .brxe-xheadersearch button.x-header-search_toggle-open,
#brx-header .brxe-xheadersearch button.x-header-search_toggle-close {
	color: var(--primary);
	cursor: pointer;
	border-radius: var(--radius);
	transition: color 0.15s ease;
}
#brx-header .brxe-xheadersearch button.x-header-search_toggle-open:hover,
#brx-header .brxe-xheadersearch button.x-header-search_toggle-close:hover {
	color: var(--gold-text);
}
#brx-header .brxe-xheadersearch button.x-header-search_toggle-open:focus-visible,
#brx-header .brxe-xheadersearch button.x-header-search_toggle-close:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
}

/* Search input — prominent, brand type, ink text, navy underline (gold on focus) */
#brx-header .brxe-xheadersearch .x-search-form input[type="search"] {
	font-family: inherit;                 /* Outfit, from header context */
	font-size: var(--h4);
	color: var(--base);
	padding: var(--space-xs) 0;
	border-bottom: 2px solid var(--primary);
}
#brx-header .brxe-xheadersearch .x-search-form input[type="search"]:focus {
	border-bottom-color: var(--gold-text);
	outline: none;
}
#brx-header .brxe-xheadersearch input[type="search"]::placeholder {
	color: var(--neutral);
	opacity: 1;
}

/* Mobile: cluster the search icon with cart + burger.
 * On mobile the nav + CTA hide and the cart carries margin-left:auto, which
 * stranded the search icon back by the logo. Move the auto onto the search so
 * search + cart + burger group on the right; zero the cart's auto so it hugs.
 * (xheadersearch's typed _margin doesn't emit — its $css_selector is empty —
 * so this lives here.) #brx-header out-specifies the header-cart class rule. */
@media (max-width: 991px) {
	#brx-header .brxe-xheadersearch { margin-left: auto; }
	#brx-header .header-cart { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * MMHN — Brand-system components  (layout-v4 / brand system devices)
 *
 * Brand devices that ACSS does not ship (grain, corner brackets, eyebrow,
 * text-link, italic-contrast headline). Per knowledgebase 01 these live in the
 * child theme. ACSS owns all the colour utilities + contexts (.bg--primary,
 * .btn--*, .text--display, etc.) — NOT duplicated here.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* Eyebrow — deliberately outside the ACSS text scale (sub-14px shouldn't be a
 * grabbable body step). */
.eyebrow {
	font-family: var(--text-font-family);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-text);
	display: block;
}

/* Navy-section eyebrow uses brand gold (5.5:1 on navy — passes; gold-text is
 * the light-surface variant). Site-wide context, benefits any .bg--primary band. */
.bg--primary .eyebrow { color: var(--accent); }

/* Italic-contrast headline — signature technique: lighter Newsreader italic
 * second line in warm gray. (Outfit 300 is retired; headings are Newsreader,
 * whose light italic is the intended register.) */
h1 em, h2 em {
	font-style: italic;
	font-weight: 300;
	color: var(--neutral);
	display: block;
}

/* Cream surface — ACSS ships .bg--<slot> utilities but cream is a pinned
 * custom token, not a slot, so it needs its own utility. */
.bg--cream { background-color: var(--cream); }

/* Text-link — standalone quiet CTA link (uppercase, tracked).
 * ⚑ DIVERGES from the CLAUDE.md locked text-link (navy, non-uppercase,
 * gold-text hover). Built per the approved mockup; flag for reconciliation. */
/* Woo renders its address-card action as a bare `a.edit` with no class hook we
 * can filter, so it joins this selector list rather than duplicating the
 * treatment in the Woo skin — ONE rule, so the pending .text-link
 * reconciliation (see CLAUDE.md open items) covers this instance too. */
.text-link,
.woocommerce-Address-title .edit {
	font-family: var(--text-font-family);
	font-size: var(--btn-text-size, 13px);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neutral);
	text-decoration: none;
	border-bottom: 1px solid rgba(107,101,96,0.3);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
}
.text-link:hover,
.woocommerce-Address-title .edit:hover { color: var(--primary); border-color: var(--primary); }

.bg--primary .text-link { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.3); }
.bg--primary .text-link:hover { color: var(--white); border-color: var(--white); }

/* Section-head link on navy. The light-surface variant is --gold-text #806400,
 * which sits at roughly 2:1 on navy and fails AA outright; brand gold #DAAA00
 * passes at 5.5:1 and is the sanctioned on-navy gold. Site-wide context, so it
 * lives here rather than on the component — benefits any .bg--primary band. */
.bg--primary .related-head__view-all { color: var(--accent); border-color: var(--accent); }
.bg--primary .related-head__view-all:hover { background: rgba(218,170,0,0.12); }

/* Paper-grain overlay — 3.5% noise on cream/navy sections. Pseudo-element,
 * so it lives here (drops on Bricks import); apply .texture to the section. */
.texture { position: relative; }
.texture::before {
	content: '';
	position: absolute; inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	opacity: 0.035;
	pointer-events: none;
	z-index: 0;
}
.texture > * { position: relative; z-index: 1; }

/* Corner brackets — gold, ~50%, callouts/featured cards only. All four corners
 * are drawn from a single ::before (8 background layers, two arms per corner),
 * so no empty helper element is needed in the markup. Apply .bracket-box alone. */
.bracket-box { position: relative; --bk-size: 22px; --bk-weight: 2px; }
.bracket-box::before {
	content: '';
	position: absolute; inset: 0;
	pointer-events: none;
	opacity: 0.5;
	background:
		linear-gradient(var(--accent), var(--accent)) top left     / var(--bk-size) var(--bk-weight) no-repeat,
		linear-gradient(var(--accent), var(--accent)) top left     / var(--bk-weight) var(--bk-size) no-repeat,
		linear-gradient(var(--accent), var(--accent)) top right    / var(--bk-size) var(--bk-weight) no-repeat,
		linear-gradient(var(--accent), var(--accent)) top right    / var(--bk-weight) var(--bk-size) no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom left  / var(--bk-size) var(--bk-weight) no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom left  / var(--bk-weight) var(--bk-size) no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom right / var(--bk-size) var(--bk-weight) no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom right / var(--bk-weight) var(--bk-size) no-repeat;
}

/* ---------------------------------------------------------------------------
 * MMHN — Password toggle "eye" (site-wide, reusable)
 * Bricks' native form password toggle (per-field `passwordToggle`, @since 1.12).
 * Bricks handles POSITION only (right:12px, top:50% + translateY) and ships no
 * colour or sizing: the icon SVG uses fill="currentColor", which with nothing
 * set resolves to BLACK, and the button is only as large as its 16px glyph —
 * well under the 44px touch target this site needs at ~73% mobile. Keyed on the
 * component class so login + reset-password (and any future password field)
 * behave identically.
 * --------------------------------------------------------------------------- */
.password-toggle {
	color: var(--neutral);
	width: 44px;
	height: 44px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 0;
	transition: color 0.2s;
}
.password-toggle:hover { color: var(--primary); }
.password-toggle svg { width: 20px; height: 20px; }
/* Keep typed characters clear of the toggle. The form's own Bricks global class
 * pads the field at (0,2,1) AND is inlined in <head>, so it wins ties on source
 * order too — hence .brxe-form + the doubled component class for (0,3,1).
 * Doubled-class trick, not !important (KB-01). */
.brxe-form .password-input-wrapper.password-input-wrapper input { padding-right: 48px; }

/* ---------------------------------------------------------------------------
 * MMHN — Pagination (site-wide, reusable)
 * Brand skin for the native Bricks pagination element, keyed on the element
 * class (NOT a template body class) so every archive — recipes, news, and
 * anything future — paginates identically. Bricks hides the element at a single
 * page. WP paginate_links puts .page-numbers on BOTH the <ul> and each link, so
 * the pill styling targets the list items, not the wrapper.
 * ------------------------------------------------------------------------- */
.brxe-pagination { margin-top: var(--space-xl); }
.brxe-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--space-xs);
	list-style: none;
	margin: 0;
	padding: 0;
}
.brxe-pagination li { margin: 0; }
.brxe-pagination li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--space-s);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.brxe-pagination li .page-numbers:hover { border-color: var(--primary); }
.brxe-pagination li .page-numbers.current {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

/* ---------------------------------------------------------------------------
 * MMHN — Breadcrumb (site-wide, reusable)
 * RETIRED 2026-07-21. Every breadcrumb is now the NATIVE Bricks `breadcrumbs`
 * element, which emits .item / .separator inside .crumb-bar__breadcrumbs — that
 * rule lives on the global class (gfqtlr), not here. The old shortcode markup
 * (.crumb-bar__list / __item / __link / __current) no longer renders on any
 * live surface; only revisions still reference it, which is precisely what
 * makes dead CSS look alive in an orphan scan.
 *
 * The section + container classes (.crumb-bar, .crumb-bar__container) are
 * still in use and remain registered as global classes.
 * ------------------------------------------------------------------------- */

/* ==========================================================================
   Recipe single — ingredient checklist
   Styles the PHP-rendered {mmhn_ingredients} output (.ing-group/.ing-list/
   .ing-label/.ing-text). This markup is emitted by recipe-render.php, not a
   Bricks element, so it has no typed control — child-theme CSS is its home
   (typed-settings rule: typed → _cssCustom for unique → child theme for the rest).
   Scoped to the recipe-single body class so it can't leak elsewhere.
   ========================================================================== */
.mmhn-recipe-single .ing-group + .ing-group { margin-top: var(--space-l); }

.mmhn-recipe-single .ing-group-title {
	font-family: var(--heading-font-family);
	font-size: 22px;
	font-style: italic;
	color: var(--primary);
	margin-bottom: var(--space-s);
}

.mmhn-recipe-single .ing-list { list-style: none; margin: 0; padding: 0; }
.mmhn-recipe-single .ing-list li { border-bottom: 1px solid rgba(0, 0, 0, 0.09); }
.mmhn-recipe-single .ing-list li:last-child { border-bottom: none; }

.mmhn-recipe-single .ing-label {
	display: flex;
	align-items: flex-start;
	gap: var(--space-s);
	padding: 12px 0;
	min-height: 44px;
	cursor: pointer;
}

.mmhn-recipe-single .ing-label input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	border: 2px solid var(--primary);
	border-radius: 3px;
	background: var(--white);
	cursor: pointer;
}

.mmhn-recipe-single .ing-label input:checked {
	background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.mmhn-recipe-single .ing-text { font-size: 16px; color: var(--base); line-height: 1.5; }
.mmhn-recipe-single .ing-label input:checked ~ .ing-text {
	color: var(--neutral);
	text-decoration: line-through;
}
.mmhn-recipe-single .ing-text a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Recipe content lists — instruction steps + notes ({acf_instructions_step} /
   {acf_notes} render raw WYSIWYG). A few recipes carry <ul>/<ol> inside a step
   or note; keep them semantic and brand the markers. Paragraph margins here too
   so multi-block steps/notes space correctly (single-paragraph ones are unwrapped
   to plain text at the source, so they inherit the wrapper's typography).
   ========================================================================== */
.mmhn-recipe-single .step-body ul,
.mmhn-recipe-single .step-body ol,
.mmhn-recipe-single .notes-body ul,
.mmhn-recipe-single .notes-body ol {
	margin: var(--space-xs) 0 0;
	padding-left: 1.4em;
}
.mmhn-recipe-single .step-body ul,
.mmhn-recipe-single .notes-body ul { list-style: disc; }
.mmhn-recipe-single .step-body ol,
.mmhn-recipe-single .notes-body ol { list-style: decimal; }
.mmhn-recipe-single .step-body li,
.mmhn-recipe-single .notes-body li {
	margin-bottom: var(--space-xs);
	line-height: 1.6;
}
.mmhn-recipe-single .step-body li:last-child,
.mmhn-recipe-single .notes-body li:last-child { margin-bottom: 0; }
.mmhn-recipe-single .step-body li::marker,
.mmhn-recipe-single .notes-body li::marker { color: var(--accent); }
.mmhn-recipe-single .step-body p,
.mmhn-recipe-single .notes-body p { margin: 0 0 var(--space-s); }
.mmhn-recipe-single .step-body p:last-child,
.mmhn-recipe-single .notes-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Article single (template 08) — long-form prose
   Styles the post-content the_content() output on news (and future guide)
   singles. Descendant styling belongs in the child theme, not a _cssCustom blob.
   Scoped to the prose wrapper class (only present on the article single).
   ========================================================================== */
.article-body__prose > :first-child { margin-top: 0; }
.article-body__prose > :last-child { margin-bottom: 0; }
.article-body__prose p { margin: 0 0 var(--space-m); }
.article-body__prose h2 {
	font-family: var(--heading-font-family);
	font-size: var(--h3);
	color: var(--primary);
	line-height: 1.2;
	margin: var(--space-l) 0 var(--space-s);
}
.article-body__prose h3,
.article-body__prose h4 {
	font-family: var(--heading-font-family);
	font-size: var(--h4);
	color: var(--primary);
	margin: var(--space-m) 0 var(--space-xs);
}
.article-body__prose a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.article-body__prose a:hover { color: var(--gold-text); }
.article-body__prose ul,
.article-body__prose ol { margin: 0 0 var(--space-m); padding-left: 1.4em; }
.article-body__prose ul { list-style: disc; }
.article-body__prose ol { list-style: decimal; }
.article-body__prose li { margin-bottom: var(--space-xs); line-height: 1.6; }
.article-body__prose li::marker { color: var(--accent); }
.article-body__prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	margin: var(--space-m) 0;
	display: block;
}
.article-body__prose blockquote {
	border-left: 3px solid var(--accent);
	padding-left: var(--space-m);
	margin: var(--space-m) 0;
	font-style: italic;
	color: var(--neutral);
}

/* ==========================================================================
   Recipe feature — buy-panel buttons (INTERIM)
   Applied as raw .btn / .btn--invert / .btn--ghost-gold classes on the
   add-to-cart + store-finder buttons (navy panel context). Kept here rather
   than a custom typed `btn` global class, which would violate "ACSS owns
   buttons". TODO: convert to ACSS button utilities (navy-context variants).
   ========================================================================== */
.recipe-feature .btn {
	font-family: var(--text-font-family);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 15px 26px;
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .2s, color .2s, border-color .2s;
}
.recipe-feature .btn--invert {
	background: var(--white);
	color: var(--primary);
	border-color: var(--white);
	padding: 10px 18px;
}
.recipe-feature .btn--invert:hover {
	background: var(--cream);
	border-color: var(--cream);
}
.recipe-feature .btn--ghost-gold {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
	display: flex;
	width: 100%;
}
.recipe-feature .btn--ghost-gold:hover {
	background: rgba(218, 170, 0, .1);
}

/* ==========================================================================
   Recipe archive (#421) — PHP-rendered output + native-pagination skin
   Breadcrumb (.crumb), browse chips (.chips), and the Bricks pagination element
   have no typed control (shortcode / native markup), so their CSS is child-theme
   work. Scoped to the archive body class (added by recipe-render.php on both the
   /recipes/ post-type archive and the meal/season term archives). Card, grid,
   header and section chrome are typed Bricks global classes, not here.
   ========================================================================== */

/* Breadcrumb is a site-wide reusable component — see "MMHN — Breadcrumb" in the
   brand-system components section above (keyed on .crumb-bar__*, not this
   template, so recipe/news/guide singles + term archives all match). */

/* Browse chips ([mmhn_recipe_browse] + [mmhn_shop_browse]) — reusable component,
   keyed on .archive-browse__* (NOT a template body class — de-scoped 2026-07-19
   when the shop archive reused them and they rendered as bare bullets). White
   pills on cream, navy on active. Brand gold is decorative-only on light, so the
   count on the active (navy) chip uses brand gold — passes on navy; on light
   chips it's warm gray. */
.archive-browse__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-s);
	list-style: none;
	margin: 0;
	padding: 0;
}
.archive-browse__chip {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	min-height: 44px;
	padding: 10px 18px;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--radius);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	color: var(--primary);
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.archive-browse__chip:hover { border-color: var(--primary); }
.archive-browse__chip-count {
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--neutral);
}
.archive-browse__chip[aria-current="page"] {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}
.archive-browse__chip[aria-current="page"] .archive-browse__chip-count { color: var(--accent); }

/* Pagination is a site-wide reusable component — see "MMHN — Pagination" in the
   brand-system components section above (keyed on .brxe-pagination, not this
   template, so recipes / news / future archives all match). */

/* ---------------------------------------------------------------------------
 * MMHN — WooCommerce mini-cart (header offcanvas)
 * The header cart appears on EVERY page, and its inner markup is JS-injected
 * standard Woo mini-cart HTML. mmhn-woo-skin.css only loads on Woo surfaces, so
 * the mini-cart is skinned HERE (always-loaded) instead. Scoped under
 * .widget_shopping_cart_content for specificity so the button rules beat Bricks'
 * generic .button (bricks-woocommerce) regardless of load order. Tokens: ACSS.
 * Reusable-component convention: keyed on the component, not a page.
 * ------------------------------------------------------------------------- */
.widget_shopping_cart_content {
	font-family: var(--text-font-family);
	color: var(--base);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove) {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove):hover {
	color: var(--primary-hover);
}
.widget_shopping_cart_content .quantity,
.widget_shopping_cart_content .woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
	color: var(--base);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item .remove_from_cart_button {
	color: var(--gold-text);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item .remove_from_cart_button:hover {
	color: var(--danger);
}
.widget_shopping_cart_content .woocommerce-mini-cart__total {
	border-top: 1px solid color-mix(in srgb, var(--neutral) 28%, transparent);
	padding-top: 0.9em;
	color: var(--base);
}
.widget_shopping_cart_content .woocommerce-mini-cart__total strong { color: var(--primary); }
.widget_shopping_cart_content .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--primary);
}
/* Buttons: View cart = secondary (gold-text outline) · Checkout = primary (navy) */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 20px;
	border-radius: var(--radius);
	font-family: var(--text-font-family);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: transparent;
	color: var(--gold-text);
	border: 2px solid var(--gold-text);
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background: color-mix(in srgb, var(--gold-text) 8%, transparent);
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--primary);
	color: var(--white);
	border: 2px solid var(--primary);
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
}
.widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
	color: var(--neutral);
}

/* ==========================================================================
   Store finder (page build 11, /store-finder/) — PHP + JS-rendered output
   The form, result cards, map shell and Leaflet pins come from
   [mmhn_store_finder] (inc/store-finder.php + assets/js/store-finder.js), so
   there is no typed control for any of it — child-theme work, keyed on
   .store-finder__*. Section chrome (head, band) is typed Bricks classes.
   Mobile-first: map above the list; two columns with a sticky map from
   tablet_landscape up (73% of traffic is mobile).
   ========================================================================== */
/* --flow-spacing: 0 — ACSS's `:not(.woocommerce-checkout) [class*="woocommerce"] * + p > * + *`
   matches here (body carries `woocommerce-js`) and adds var(--flow-spacing) above the
   2nd+ child of any <p> that follows a sibling — the phone/approx spans in
   .store-finder__meta and the Website link in .store-finder__links. Every gap in
   this block is explicit, so zero the consumed token (KB-01) instead of out-
   specifying a (0,2,1) selector. */
.store-finder { --flow-spacing: 0; display: flex; flex-direction: column; gap: var(--space-m); }

/* Form */
.store-finder__form {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-s);
	align-items: end;
	padding: var(--space-m);
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--radius);
}
.store-finder__field { display: flex; flex-direction: column; gap: 6px; }
.store-finder__label {
	font-family: var(--text-font-family);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--primary);
}
.store-finder__input,
.store-finder__select {
	font-family: inherit;
	font-size: var(--text-m);
	color: var(--base);
	min-height: 48px;
	padding: 0 var(--space-s);
	background: var(--cream);
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: var(--radius);
	width: 100%;
}
.store-finder__input::placeholder { color: var(--neutral); opacity: 1; }
.store-finder__input:focus-visible,
.store-finder__select:focus-visible,
.store-finder__locate:focus-visible,
.store-finder__option:focus-visible,
.store-finder__card:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
}
.store-finder__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-s);
}
.store-finder__submit { min-height: 48px; cursor: pointer; }
.store-finder__locate {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 var(--space-xs);
	background: none;
	border: 0;
	font-family: var(--text-font-family);
	font-size: 15px;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	text-decoration-color: transparent;
	transition: text-decoration-color 0.2s;
}
.store-finder__locate:hover { text-decoration-color: var(--gold-text); }
.is-busy .store-finder__locate { pointer-events: none; opacity: 0.6; }

@media (min-width: 768px) {
	.store-finder__form { grid-template-columns: minmax(0, 1.6fr) minmax(9rem, 0.6fr) auto; }
}

/* Status + disambiguation */
.store-finder__status {
	margin: 0;
	min-height: 1.5em;
	font-size: var(--text-s);
	color: var(--neutral);
	font-variant-numeric: tabular-nums;
}
.store-finder__status.is-error { color: var(--error); }
.store-finder__status:empty { display: none; }
.store-finder__options-label { margin: 0 0 var(--space-xs); font-size: var(--text-s); color: var(--neutral); }
.store-finder__options-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; }
.store-finder__option {
	min-height: 44px;
	padding: 8px 16px;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
	transition: border-color 0.2s;
}
.store-finder__option:hover { border-color: var(--primary); }

/* Layout: map + list */
.store-finder__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-m);
	align-items: start;
}
.store-finder__map-wrap { position: relative; }
.store-finder__map {
	width: 100%;
	height: min(55vh, 460px);
	min-height: 320px;
	background: #ece7dc;                   /* cream-adjacent land tone under the tiles */
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--radius-l);
	overflow: hidden;
	isolation: isolate;                    /* Leaflet z-index stays under the sticky header */
}
.store-finder__map:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.store-finder__results {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}
.store-finder__results:empty { display: none; }

@media (min-width: 992px) {
	.store-finder__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-l); }
	.store-finder__map-wrap { position: sticky; top: calc(var(--space-m) + 72px); }
	.store-finder__map { height: min(70vh, 640px); }
}

/* Result card — a quieter sibling of r-card (no media, numbered to match the pin) */
.store-finder__card {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: var(--space-s);
	padding: var(--space-s) var(--space-m) var(--space-s) var(--space-s);
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-left: 3px solid transparent;
	border-radius: var(--radius-l);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.store-finder__card:hover { border-color: rgba(0, 0, 0, 0.18); }
.store-finder__card.is-active { border-left-color: var(--accent); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.store-finder__num,
.store-finder__pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--white);
	font-family: var(--text-font-family);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.store-finder__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.store-finder__name {
	margin: 0;
	font-size: var(--text-l);
	line-height: 1.25;
	color: var(--primary);
}
.store-finder__addr { margin: 0; font-size: var(--text-s); line-height: 1.45; color: var(--base); }
.store-finder__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px var(--space-s);
	margin: 0;
	font-size: 13px;
	color: var(--neutral);
	font-variant-numeric: tabular-nums;
}
.store-finder__dist { font-weight: 600; color: var(--primary); }
.store-finder__phone { color: inherit; text-decoration: none; }
.store-finder__phone:hover { text-decoration: underline; }
.store-finder__approx { font-style: italic; }
.store-finder__links { display: flex; flex-wrap: wrap; gap: var(--space-s); margin: 4px 0 0; }

/* Leaflet pins — numbered navy teardrops; origin = gold ring */
.store-finder__pin-wrap { background: none; border: 0; }
.store-finder__pin {
	position: relative;
	border: 2px solid var(--white);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.store-finder__pin::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -9px;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 9px solid var(--primary);
}
.store-finder__pin--origin { background: var(--accent); width: 20px; height: 20px; margin: 10px 6px 0; }
.store-finder__pin--origin::after { display: none; }

/* Leaflet chrome → brand */
.store-finder .leaflet-container { font-family: var(--text-font-family); font-size: 13px; }
.store-finder .leaflet-popup-content-wrapper { border-radius: var(--radius-l); color: var(--base); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18); }
.store-finder .leaflet-popup-content { margin: 12px 16px; line-height: 1.45; font-size: 13px; }
.store-finder .leaflet-popup-content strong { color: var(--primary); }
.store-finder .leaflet-popup-content a { color: var(--primary); font-weight: 600; }
.store-finder .leaflet-bar a { color: var(--primary); }
.store-finder .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, 0.75); }
.store-finder .leaflet-control-attribution a { color: var(--neutral); }

/* "Show more" — reveals the next 10 cards; keeps the mobile page short */
.store-finder__more { list-style: none; display: flex; justify-content: center; padding: var(--space-xs) 0; }
.store-finder__more-btn {
	min-height: 44px;
	padding: 0 var(--space-m);
	background: none;
	border: 2px solid var(--primary);
	border-radius: var(--radius);
	font-family: var(--text-font-family);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--primary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.store-finder__more-btn:hover { background: var(--primary); color: var(--white); }
.store-finder__more-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ==========================================================================
   Shop mega menu — panel template "MMHN Shop Mega Panel" (inc/shop-menu.php)
   One template, two hosts: the desktop header nav-menu (.brx-megamenu, full
   header width) and the mobile offcanvas BricksExtras slide menu
   (.brxe-xslidemenu_mega-menu, on navy). Panel chrome is typed Bricks classes;
   this block holds the PHP-rendered columns ([mmhn_shop_menu_columns]) plus the
   slide-menu context, which is a container context, not a viewport one — no
   breakpoint can express it. Keyed on .shop-menu__* (component, not template).
   ========================================================================== */
.shop-menu__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-l);
}
.shop-menu__column { display: flex; flex-direction: column; gap: var(--space-s); }
.shop-menu__heading {
	margin: 0;
	padding-bottom: var(--space-xs);
	border-bottom: 1px solid rgba(28, 26, 24, 0.12);
	font-family: var(--text-font-family);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-text);
}
.shop-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-menu__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--text-font-family);
	font-size: var(--text-m);
	font-weight: 600;
	color: var(--primary);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
	transition: text-decoration-color .15s ease;
}
.shop-menu__link:hover,
.shop-menu__link[aria-current="page"] { text-decoration-color: var(--gold-text); }
.shop-menu__feature-title { text-decoration: none; }
.shop-menu__feature-title:hover { text-decoration: underline; text-decoration-color: var(--gold-text); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Desktop host: the panel opens from the header's bottom edge; Bricks sizes it to
   #brx-header via megaMenuSelector. Keep the CTA buttons on one line. */
.brx-megamenu .shop-menu__cta-actions .brxe-button { white-space: nowrap; }

/* Mobile host — slide menu inside the navy offcanvas. The panel drops its own
   surface and reads as part of the menu: one column, cream links, gold labels
   (5.5:1 on navy), no feature card (the columns + See Our Noodles carry it). */
.brxe-xslidemenu .shop-menu {
	background: transparent;
	border-top: 0;
	box-shadow: none;
}
.brxe-xslidemenu .shop-menu__inner { padding: var(--space-xs) 0 var(--space-m); row-gap: var(--space-m); }
.brxe-xslidemenu .shop-menu__body { grid-template-columns: minmax(0, 1fr); }
.brxe-xslidemenu .shop-menu__feature { display: none; }
.brxe-xslidemenu .shop-menu__columns { grid-template-columns: minmax(0, 1fr); gap: var(--space-m); }
.brxe-xslidemenu .shop-menu__heading { color: var(--accent); border-bottom-color: rgba(255, 255, 255, 0.18); }
.brxe-xslidemenu .shop-menu__link { color: var(--cream); font-size: var(--text-m); }
.brxe-xslidemenu .shop-menu__link:hover,
.brxe-xslidemenu .shop-menu__link[aria-current="page"] { text-decoration-color: var(--accent); }
.brxe-xslidemenu .shop-menu__cta { padding: 0; flex-direction: column; align-items: stretch; }
.brxe-xslidemenu .shop-menu__cta-text { display: none; }
.brxe-xslidemenu .shop-menu__cta-actions { flex-direction: column; }
.brxe-xslidemenu .shop-menu__cta-actions .brxe-button { width: 100%; justify-content: center; }
/* The offcanvas already ends on its own "Find Them Near You" CTA — don't repeat it. */
.brxe-xslidemenu .shop-menu__cta-actions .brxe-button + .brxe-button { display: none; }
