/*
 * HappyOnline Page Kits — the store's header and footer on a kit page (loaded only there: withAssetsInChrome()).
 *
 * On these pages the store theme's CSS is in the cascade layer "ho-store" and the kit's CSS is not layered, so a
 * kit rule like `a { … }`, `h3 { … }`, `ul { … }`, `img { … }` or `body { font-family: … }` would restyle the
 * store's header, menu, search and footer as well (theme header and header & footer builder alike). Here they
 * keep the store's look:
 * - every property of them and in them goes back to the store's layer (revert-layer drops the kit's rules);
 * - what the store does not set on them (font, size, colour: it sets those on body, which the kit restyles) comes
 *   from the store theme's tokens, in a sub-layer of "ho-store" that the store's own rules always beat.
 * Left to the kit: its mini cart (#offcanvasCart, the kit's design) and SVG drawings (their own attributes).
 */
@layer ho-store.chrome-base {
	:is(#header, #desktop-menu, #searchOffcanvas, footer.hb-footer, .hb-hf-preview) {
		font-family: var(--ho-font, inherit);
		font-size: var(--size, inherit);
		line-height: 1.5;
		color: var(--ho-ink, inherit);
		letter-spacing: normal;
		text-align: start;
	}
}
:is(#header, #desktop-menu, #searchOffcanvas, footer.hb-footer, .hb-hf-preview),
:is(#header, #desktop-menu, #searchOffcanvas, footer.hb-footer, .hb-hf-preview) :is(*, *::before, *::after):not(#offcanvasCart, #offcanvasCart *, svg, svg *) {
	all: revert-layer;
}
