/* Bohemian 2026: WooCommerce notices (shared by all shop pages) */

body .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-notices-wrapper .woocommerce-error,
body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error,
.bl-form-note {
	position: relative;
	display: block;
	margin: 0 0 18px;
	padding: 15px 20px 15px 46px;
	border: 0;
	border-radius: 16px;
	background: rgba(234, 226, 211, 0.5);
	color: var(--bl-brand);
	font: 400 14px/1.55 var(--bl-sans);
	list-style: none;
	outline: 0;
	box-shadow: none;
}

/* a small dot marks the tone: tan for information, sage for done, soft terracotta for a problem */
body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before,
.bl-form-note::before {
	content: '';
	position: absolute;
	top: 21px;
	left: 21px;
	display: block;
	width: 9px;
	height: 9px;
	margin: 0;
	border-radius: 50%;
	background: var(--bl-brand-3);
	font: 0/0 a;
}

body .woocommerce-message a:not(.button),
body .woocommerce-info a:not(.button),
body .woocommerce-error a:not(.button),
.bl-form-note a {
	color: var(--bl-brand);
	text-decoration: underline;
	text-decoration-color: var(--bl-brand-3);
	text-underline-offset: 3px;
}

body .woocommerce-error,
.bl-form-note--err {
	background: rgba(196, 128, 108, 0.14);
	color: #7a3b2c;
}

body .woocommerce-error::before,
.bl-form-note--err::before {
	background: #c4806c;
}

body .woocommerce-message::before,
.bl-form-note--ok::before {
	background: #9aa782;
}

body .woocommerce-error li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* inside prose pages (returns, policies) the list reset must not win */
body .bl-page ul.woocommerce-error {
	margin: 0 0 18px;
	padding: 15px 20px 15px 46px;
}

body .bl-page .woocommerce-error li {
	margin: 0;
	padding: 0;
}

body .bl-page .woocommerce-error li::before {
	display: none;
}

body .woocommerce-error li + li {
	margin-top: 4px;
}

/* "added to cart" style notices with a button: text left, soft pill right */
body .woocommerce-message {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
