/*
 * Yaeltex — WooCommerce notice accent.
 *
 * PORTED OUT OF WPCODE SNIPPET 5361, 2026-08-26, so that snippet could be
 * deleted. These two rules were the last thing left in it, and they are the
 * reason it could not simply be dropped once the account screens were
 * rebuilt: 5361's CSS was gated by
 *
 *     if ( ! is_account_page() && ! is_wc_endpoint_url() ) { return; }
 *
 * and is_wc_endpoint_url() with NO argument is true on any WooCommerce
 * endpoint — so these rules were also branding the notices on pages Phase 3
 * never touched, /checkout/order-received/ among them. Deleting 5361 without
 * porting them would have silently reverted that accent to WooCommerce's
 * default purple on those pages.
 *
 * Loaded on WooCommerce pages generally (see inc/panel-myaccount.php), which
 * is a superset of where 5361 loaded them — the old gate was account pages
 * plus endpoints; this is cart, checkout, shop and account. That is a
 * deliberate widening: the accent was always meant to be the store's, and
 * scoping it to endpoints only was an artefact of living in a My Account
 * snippet.
 *
 * The logged-in account screens style their own notices more fully in
 * panel-myaccount.css, which loads after this and wins on specificity.
 */

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--ytx-yellow, #F3BD00);
}

.woocommerce-info {
	border-top-color: var(--ytx-yellow, #F3BD00);
}
