/**
 * WooCommerce notices — CBS brand tokens (loaded after WooCommerce core CSS).
 */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	position: relative;
	clear: both;
	margin: 0 0 var(--cbs-paragraph-spacing, 20px);
	padding: 1em 1.5em 1em 3.5em;
	border: 1px solid var(--cbs-border, #d5dbe3);
	border-radius: var(--cbs-btn-radius, 4px);
	background-color: #f6f7f7;
	color: var(--cbs-text-strong, #1a1a1a);
	font-size: var(--cbs-font-size-body, 16px);
	font-weight: var(--cbs-font-weight-body, 400);
	line-height: var(--cbs-line-height-body, 1.65);
	list-style: none outside;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	position: absolute;
	top: 1em;
	left: 1.25em;
	line-height: var(--cbs-line-height-body, 1.65);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
	background-color: #f1f8f8;
	border-top: 3px solid var(--cbs-brand, #195a5b);
}

.woocommerce-error,
.woocommerce .woocommerce-error {
	background-color: #fef5f5;
	border-color: #e8c4c4;
	border-top: 3px solid #b00;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
	color: var(--cbs-brand, #195a5b);
}

.woocommerce-error::before,
.woocommerce .woocommerce-error::before {
	color: #b00;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button),
.woocommerce .woocommerce-message a:not(.button),
.woocommerce .woocommerce-info a:not(.button),
.woocommerce .woocommerce-error a:not(.button) {
	color: var(--cbs-brand, #195a5b);
	text-decoration: var(--cbs-link-text-decoration, underline);
}

.woocommerce-message a:not(.button):hover,
.woocommerce-message a:not(.button):focus,
.woocommerce-info a:not(.button):hover,
.woocommerce-info a:not(.button):focus,
.woocommerce-error a:not(.button):hover,
.woocommerce-error a:not(.button):focus,
.woocommerce .woocommerce-message a:not(.button):hover,
.woocommerce .woocommerce-message a:not(.button):focus,
.woocommerce .woocommerce-info a:not(.button):hover,
.woocommerce .woocommerce-info a:not(.button):focus,
.woocommerce .woocommerce-error a:not(.button):hover,
.woocommerce .woocommerce-error a:not(.button):focus {
	color: var(--cbs-brand-hover, #134a4b);
}

.woocommerce-error a:not(.button),
.woocommerce .woocommerce-error a:not(.button) {
	color: #8a0000;
}

.woocommerce-error a:not(.button):hover,
.woocommerce-error a:not(.button):focus,
.woocommerce .woocommerce-error a:not(.button):hover,
.woocommerce .woocommerce-error a:not(.button):focus {
	color: #b00;
}
