/**
 * WooCommerce notices — overrides (loads after woocommerce-general).
 */

body .woocommerce .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce .woocommerce-notices-wrapper .woocommerce-error,
body .woocommerce .woocommerce-message,
body .woocommerce .woocommerce-info,
body .woocommerce .woocommerce-error,
body .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-notices-wrapper .woocommerce-error,
body .woocommerce ul.woocommerce-message,
body .woocommerce ul.woocommerce-info,
body .woocommerce ul.woocommerce-error,
body ul.woocommerce-message,
body ul.woocommerce-info,
body ul.woocommerce-error {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px 16px !important;
	padding: 16px 20px !important;
	margin: 0 0 20px !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	list-style: none !important;
	position: relative !important;
	outline: none !important;
	box-shadow: none !important;
	clear: both !important;
}

body .woocommerce .woocommerce-message,
body .woocommerce .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce ul.woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-message,
body ul.woocommerce-message {
	background: #eef4ff !important;
	color: #1a1a1a !important;
}

body .woocommerce .woocommerce-info,
body .woocommerce .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce ul.woocommerce-info,
body ul.woocommerce-info {
	background: rgba(47, 69, 123, 0.08) !important;
	color: #1a1a1a !important;
}

body .woocommerce .woocommerce-error,
body .woocommerce .woocommerce-notices-wrapper .woocommerce-error,
body .woocommerce ul.woocommerce-error,
body ul.woocommerce-error {
	background: #fef2f2 !important;
	color: #991b1b !important;
}

body .woocommerce ul.woocommerce-message li,
body .woocommerce ul.woocommerce-error li,
body .woocommerce ul.woocommerce-info li,
body ul.woocommerce-message li,
body ul.woocommerce-error li,
body ul.woocommerce-info li {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px 16px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body .woocommerce .woocommerce-message::before,
body .woocommerce .woocommerce-info::before,
body .woocommerce .woocommerce-error::before,
body .woocommerce ul.woocommerce-message::before,
body .woocommerce ul.woocommerce-info::before,
body .woocommerce ul.woocommerce-error::before,
body .woocommerce-notices-wrapper .woocommerce-message::before,
body .woocommerce-notices-wrapper .woocommerce-info::before,
body .woocommerce-notices-wrapper .woocommerce-error::before,
body ul.woocommerce-message::before,
body ul.woocommerce-info::before,
body ul.woocommerce-error::before {
	content: '' !important;
	display: block !important;
	position: static !important;
	flex-shrink: 0 !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 14px !important;
	font-family: inherit !important;
	font-size: 0 !important;
	line-height: 1 !important;
	transform: none !important;
	inset: auto !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	float: none !important;
}

body .woocommerce .woocommerce-message::before,
body .woocommerce ul.woocommerce-message::before,
body .woocommerce-notices-wrapper .woocommerce-message::before,
body ul.woocommerce-message::before {
	background-color: #2F457B !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce .woocommerce-info::before,
body .woocommerce ul.woocommerce-info::before,
body ul.woocommerce-info::before {
	background-color: #2F457B !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Ccircle cx='6' cy='6' r='4.5' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M6 5v3M6 3.5h.01' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce .woocommerce-error::before,
body .woocommerce ul.woocommerce-error::before,
body ul.woocommerce-error::before {
	background-color: #dc2626 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

body .woocommerce .woocommerce-message a.button,
body .woocommerce .woocommerce-message .button,
body .woocommerce .woocommerce-info a.button,
body .woocommerce .woocommerce-info .button,
body .woocommerce .woocommerce-error a.button,
body .woocommerce .woocommerce-error .button,
body .woocommerce ul.woocommerce-message a.button,
body .woocommerce ul.woocommerce-message .button,
body .woocommerce-notices-wrapper .woocommerce-message a.button,
body .woocommerce-notices-wrapper .woocommerce-message .button,
body ul.woocommerce-message a.button,
body ul.woocommerce-message .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 0 0 auto !important;
	padding: 10px 18px !important;
	background: #2F457B !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	font-family: var(--font-heading, inherit) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	float: none !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}

body .woocommerce .woocommerce-message a.button:hover,
body .woocommerce .woocommerce-message .button:hover,
body .woocommerce .woocommerce-info a.button:hover,
body .woocommerce .woocommerce-info .button:hover,
body .woocommerce ul.woocommerce-message a.button:hover,
body .woocommerce ul.woocommerce-message .button:hover,
body .woocommerce-notices-wrapper .woocommerce-message a.button:hover,
body .woocommerce-notices-wrapper .woocommerce-message .button:hover {
	background: #243660 !important;
	color: #fff !important;
	opacity: 1 !important;
}

@media (max-width: 640px) {
	body .woocommerce .woocommerce-message a.button,
	body .woocommerce .woocommerce-message .button,
	body .woocommerce ul.woocommerce-message a.button,
	body .woocommerce ul.woocommerce-message .button {
		width: 100% !important;
		margin-left: 0 !important;
	}
}
