/**
 * WooCommerce storefront branding (PR 4 — CSS-only pass).
 *
 * Scoped under WooCommerce's own namespaces (.woocommerce / wc-block)
 * per elementor-patterns Rule 3 option 3 — these surfaces render WC
 * markup that no Elementor widget control can reach. Conditionally
 * enqueued from soberafe-child/functions.php on WC surfaces only.
 * Structural Elementor wrapping of cart/checkout (blocks -> classic
 * shortcodes) is deliberately deferred to a dedicated session with a
 * Stripe test purchase.
 */

/* Headings + product titles -> brand type */
.woocommerce-page h1,
.woocommerce-products-header__title {
	font-family: Outfit, sans-serif;
	font-weight: 700;
	color: #024163;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: Outfit, sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	color: #024163;
}

/* Prices: goldenrod text fails AA on cream — use the dark goldenrod
   text variant (memory: a11y-contrast-opacity-gotcha). */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
	color: #8a5c00;
	font-weight: 600;
}

/* Buttons -> brand spec (red, cream text, radius 4) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	background-color: #bd2727;
	color: #f5f1e7;
	border: 1px solid #bd2727;
	border-radius: 4px;
	font-family: Outfit, sans-serif;
	font-weight: 500;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background-color: #7b181a;
	border-color: #7b181a;
	color: #f5f1e7;
}

/* Sale + status badges on navy would fail — keep WC defaults elsewhere. */
.woocommerce span.onsale {
	background-color: #226e47;
	color: #f5f1e7;
}

/* My-account navigation -> brand links */
.woocommerce-MyAccount-navigation ul li a {
	font-family: Outfit, sans-serif;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
	color: #bd2727;
	font-weight: 700;
}

/* Notices: align info/error accents with the palette */
.woocommerce-message {
	border-top-color: #226e47;
}

.woocommerce-error {
	border-top-color: #bd2727;
}
