/* Bokserkoland 2026: WooCommerce notices */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 auto 18px !important;
	border-width: 1px !important;
	border-style: solid !important;
	border-radius: 16px !important;
	padding: 14px 18px 14px 46px !important;
	font-family: 'Nunito', sans-serif !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1.45 !important;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	position: absolute !important;
	top: 50% !important;
	left: 14px !important;
	transform: translateY(-50%) !important;
}

.woocommerce-message {
	background: #ecfdf5 !important;
	border-color: #bbf7d0 !important;
	color: #047857 !important;
}

.woocommerce-message::before {
	content: "✓" !important;
	background: #10b981 !important;
	color: #fff !important;
}

.woocommerce-info {
	background: #f8fafc !important;
	border-color: #d9dde6 !important;
	color: #475569 !important;
}

.woocommerce-info::before {
	content: "i" !important;
	background: #64748b !important;
	color: #fff !important;
}

.woocommerce-error {
	background: #fef2f2 !important;
	border-color: #fecaca !important;
	color: #be123c !important;
}

.woocommerce-error::before {
	content: "!" !important;
	background: #e11d48 !important;
	color: #fff !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	font-weight: 900 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.woocommerce-message a {
	color: #065f46 !important;
}

.woocommerce-info a {
	color: #0f172a !important;
}

.woocommerce-error a {
	color: #9f1239 !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-notices-wrapper {
	box-sizing: border-box;
	width: 100%;
	max-width: 880px;
	margin: 22px auto 18px;
	padding: 0 24px;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
	max-width: 1180px;
}

body.woocommerce-account .woocommerce-notices-wrapper {
	max-width: 1280px;
	margin-top: 0;
}

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
	margin-bottom: 0 !important;
}

@media (max-width: 640px) {
	body.woocommerce-checkout .woocommerce-notices-wrapper,
	body.woocommerce-cart .woocommerce-notices-wrapper,
	body.woocommerce-account .woocommerce-notices-wrapper {
		margin-top: 16px;
		padding: 0 16px;
	}

	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		align-items: flex-start !important;
		padding: 13px 14px 13px 44px !important;
		font-size: 13px !important;
	}

	.woocommerce-message::before,
	.woocommerce-info::before,
	.woocommerce-error::before {
		top: 13px !important;
		transform: none !important;
	}
}
