.woocommerce .woocommerce-notices-wrapper {
	position: fixed !important;
	right: auto !important;
	bottom: max(22px, env(safe-area-inset-bottom)) !important;
	left: 50% !important;
	z-index: 9998;
	display: grid;
	gap: 12px;
	width: min(calc(100vw - 40px), 780px) !important;
	max-width: calc(100vw - 32px);
	margin: 0 !important;
	padding: 0 !important;
	transform: translateX(-50%);
	pointer-events: none;
}

.woocommerce .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.td-product-page .woocommerce-message,
.td-product-page .woocommerce-info,
.td-product-page .woocommerce-error,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.td-cart .woocommerce-message,
.td-cart .woocommerce-info,
.td-cart .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	width: 100% !important;
	min-height: 70px;
	margin: 0 !important;
	border: 1px solid rgba(255, 253, 248, 0.1) !important;
	border-radius: 16px !important;
	padding: 12px 14px 12px 16px !important;
	background: #121714 !important;
	color: #fffdf8 !important;
	box-shadow:
		0 24px 70px rgba(17, 21, 19, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
	font-family: var(--td-font-ui);
	font-size: 0.94rem;
	font-weight: 900;
	line-height: 1.28;
	overflow: hidden;
	overflow-wrap: anywhere;
	outline: 0 !important;
	pointer-events: auto;
}

.woocommerce .woocommerce-message::after,
.woocommerce .woocommerce-info::after,
.woocommerce .woocommerce-error::after,
.td-product-page .woocommerce-message::after,
.td-product-page .woocommerce-info::after,
.td-product-page .woocommerce-error::after,
.woocommerce-cart .woocommerce-message::after,
.woocommerce-cart .woocommerce-info::after,
.woocommerce-cart .woocommerce-error::after {
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: #047f7b;
	content: "";
}

.woocommerce .woocommerce-info::after,
.td-product-page .woocommerce-info::after,
.woocommerce-cart .woocommerce-info::after {
	background: #2faaa6;
}

.woocommerce .woocommerce-error::after,
.td-product-page .woocommerce-error::after,
.woocommerce-cart .woocommerce-error::after {
	background: #c65545;
}

.woocommerce .woocommerce-error {
	list-style: none;
}

.woocommerce .woocommerce-error li {
	display: contents;
}

.td-wc-notice__text {
	grid-column: 2;
	min-width: 0;
	max-width: 58ch;
	overflow-wrap: anywhere;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.td-product-page .woocommerce-message::before,
.td-product-page .woocommerce-info::before,
.td-product-page .woocommerce-error::before,
.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before {
	position: static !important;
	display: inline-grid !important;
	grid-column: 1;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0 !important;
	border-radius: var(--td-radius-pill, 999px);
	background: rgba(4, 127, 123, 0.18);
	color: #8bd7ca !important;
	font-family: "Font Awesome 6 Free";
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
	content: "\f00c";
	box-shadow: inset 0 0 0 1px rgba(139, 215, 202, 0.18);
}

.woocommerce .woocommerce-info::before,
.td-product-page .woocommerce-info::before,
.woocommerce-cart .woocommerce-info::before {
	background: rgba(47, 170, 166, 0.18);
	color: #95ddda !important;
	content: "\f05a";
}

.woocommerce .woocommerce-error::before,
.td-product-page .woocommerce-error::before,
.woocommerce-cart .woocommerce-error::before {
	background: rgba(198, 85, 69, 0.18);
	color: #ffb4a8 !important;
	content: "\f071";
}

.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-error .button,
.td-product-page .woocommerce-message .button,
.td-product-page .woocommerce-info .button,
.woocommerce-cart .woocommerce-message .button,
.woocommerce-cart .woocommerce-info .button {
	grid-column: 3;
	justify-self: end;
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 !important;
	border: 1px solid rgba(255, 253, 248, 0.88) !important;
	border-radius: 12px !important;
	padding: 0 18px !important;
	background: #fffdf8 !important;
	color: #111513 !important;
	font-size: 0.86rem;
	font-weight: 950;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 18px rgba(17, 21, 19, 0.18);
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.woocommerce .woocommerce-message .button:focus-visible,
.woocommerce .woocommerce-info .button:focus-visible,
.woocommerce .woocommerce-error .button:focus-visible {
	outline: 2px solid rgba(139, 215, 202, 0.92) !important;
	outline-offset: 3px !important;
}

.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-error .button:hover {
	border-color: #ffffff !important;
	background: #f4f7f5 !important;
	transform: translateY(-1px);
}

.woocommerce .woocommerce-message .button:active,
.woocommerce .woocommerce-info .button:active,
.woocommerce .woocommerce-error .button:active {
	transform: translateY(1px);
}

@media (max-width: 640px) {
	.woocommerce .woocommerce-notices-wrapper {
		bottom: max(12px, env(safe-area-inset-bottom)) !important;
		width: min(calc(100vw - 20px), 520px) !important;
		max-width: calc(100vw - 20px);
	}

	.woocommerce .woocommerce-message,
	.woocommerce .woocommerce-info,
	.woocommerce .woocommerce-error,
	.td-product-page .woocommerce-message,
	.td-product-page .woocommerce-info,
	.td-product-page .woocommerce-error,
	.woocommerce-cart .woocommerce-message,
	.woocommerce-cart .woocommerce-info,
	.woocommerce-cart .woocommerce-error,
	.td-cart .woocommerce-message,
	.td-cart .woocommerce-info,
	.td-cart .woocommerce-error,
	.woocommerce-account .woocommerce-message,
	.woocommerce-account .woocommerce-info,
	.woocommerce-account .woocommerce-error {
		grid-template-columns: 28px minmax(0, 1fr);
		align-items: start;
		min-height: 0;
		gap: 10px 12px;
		border-radius: 15px !important;
		padding: 13px !important;
		font-size: 0.88rem;
		word-break: break-word;
	}

	.td-wc-notice__text {
		max-width: none;
		line-height: 1.32;
	}

	.woocommerce .woocommerce-message .button,
	.woocommerce .woocommerce-info .button,
	.woocommerce .woocommerce-error .button,
	.td-product-page .woocommerce-message .button,
	.td-product-page .woocommerce-info .button,
	.woocommerce-cart .woocommerce-message .button,
	.woocommerce-cart .woocommerce-info .button {
		grid-column: 1 / -1;
		justify-self: stretch;
		width: 100%;
		margin-top: 2px !important;
	}
}
