/* ==========================================================================
   Allera V2, look A ("Standard"): navy header, navy home hero, navy title band.
   Loaded after theme.css on the front end and in the block editor, only when
   look A is active (ALLERA_V2_LOOK, or ?allera_look=a off production).
   ========================================================================== */

/* Header */
.allera-header {
	background: var(--v2-navy);
	border-bottom: 0;
}
.allera-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content,
.allera-header .wp-block-navigation__responsive-container-open,
.allera-header .wc-block-mini-cart__button,
.allera-header .wc-block-mini-cart__icon { color: #fff; }
.allera-header .wc-block-mini-cart__badge { background: var(--v2-gold); color: var(--v2-navy); border-color: var(--v2-navy); }
.allera-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover { color: var(--v2-gold); }
.allera-header :focus-visible { outline-color: var(--v2-gold); }

/* Home hero. .wp-block-group doubles the specificity so this beats the block's own gradient
   class, which is also !important and prints after this file in the editor. */
.wp-block-group.allera-hero {
	background: var(--v2-navy) !important;
	color: #fff;
}
.allera-hero :focus-visible { outline-color: var(--v2-gold); }
.allera-hero h1 { color: #fff; }
.allera-hero p:not(.allera-eyebrow),
.allera-hero li { color: #E3E9F2; }
.allera-hero :is(.is-style-eyebrow, .allera-eyebrow) { background: var(--v2-gold); color: var(--v2-navy); }
.allera-hero .is-style-checks li::before { background: var(--v2-gold); }
.allera-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.allera-hero .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--v2-navy); }

/* Inner-page title band */
.wp-block-group.allera-page-hero { background: var(--v2-navy) !important; }
.allera-page-hero :is(h1, h2, p, a) { color: #fff; }
.allera-page-hero :focus-visible { outline-color: var(--v2-gold); }

/* Class page: the title band is navy, so its small print and price switch to light colours. */
.allera-page-hero :is(.woocommerce-breadcrumb, .wc-block-breadcrumbs) { color: var(--v2-on-navy-muted); }
.allera-page-hero :is(.woocommerce-breadcrumb, .wc-block-breadcrumbs) a { color: #fff; }
.allera-page-hero .wc-block-components-product-price,
.allera-page-hero .wc-block-components-product-price * { color: #fff; }
.allera-page-hero .allera-program-subtitle { color: var(--v2-on-navy-muted); }
.allera-page-hero .allera-facts__row { border-color: transparent; border-left-color: var(--v2-gold); }
.allera-page-hero .allera-sport-tag { background: var(--v2-gold); color: var(--v2-navy); }

/* Block editor only: the header's logo sits on navy, so show the on-dark logo there too.
   (The front end swaps the file in PHP -- inc/v2.php -- which the editor never runs.) */
.editor-styles-wrapper .allera-header .wp-block-site-logo img { content: url("../images/logo-horizontal-reverse.webp"); }

/* Phone menu (open overlay): navy like the header (Captain, 2026-11-18). The navigation block prints
   its overlay colours as has-white-background-color / has-navy-color, which are !important, so these
   need !important too. White on navy is 15.4:1; the gold hover and focus ring are 8.7:1. */
.allera-header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--v2-navy) !important;
	color: #fff !important;
}
.allera-header .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation-item__content, .wp-block-navigation__responsive-container-close, a) { color: #fff !important; }
.allera-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { color: var(--v2-gold) !important; }
.allera-header .wp-block-navigation__responsive-container.is-menu-open :is(.current-menu-item > a, a[aria-current="page"]) { color: var(--v2-gold) !important; }
.allera-header .wp-block-navigation__responsive-container.is-menu-open :focus-visible { outline-color: var(--v2-gold); }

/* Photos with stripes on navy (photo-stripes.css): a gold block, and since the gold block is the thick
   stripe, only green and blue follow it. */
:is(.allera-hero, .allera-page-hero) :is(.is-style-blob, .allera-product__photo) { --block: var(--v2-gold); }
:is(.allera-hero, .allera-page-hero) :is(.is-style-blob, .allera-product__photo)::after {
	width: 44px;
	background: linear-gradient(90deg, var(--v2-green) 0 22px, transparent 22px 34px, var(--v2-blue) 34px 44px, transparent 44px);
}
@media (max-width: 781px) {
	:is(.allera-hero, .allera-page-hero) :is(.is-style-blob, .allera-product__photo)::after {
		width: 20px;
		background: linear-gradient(90deg, var(--v2-green) 0 10px, transparent 10px 15px, var(--v2-blue) 15px 20px, transparent 20px);
	}
}
