.avwc-notice-slot[hidden] {
	display: none !important;
}

.avwc-notice-slot {
	clear: both;
	margin: 16px 0;
	width: 100%;
}

.avwc-notice {
	--avwc-accent: #dc3545;
	--avwc-background: #fff5f5;
	align-items: flex-start;
	background: var(--avwc-background);
	border: 1px solid color-mix(in srgb, var(--avwc-accent) 35%, transparent);
	border-left: 5px solid var(--avwc-accent);
	border-radius: 8px;
	box-sizing: border-box;
	color: #252525;
	display: flex;
	gap: 12px;
	padding: 15px 16px;
	width: 100%;
}

.avwc-notice__icon {
	align-items: center;
	background: var(--avwc-accent);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 24px;
	font-size: 16px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	margin-top: 1px;
	width: 24px;
}

.avwc-notice__content {
	flex: 1 1 auto;
	min-width: 0;
}

.avwc-notice p,
.avwc-notice ul {
	margin: 0;
}

.avwc-notice__title {
	color: #1d1d1d;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.avwc-notice__message,
.avwc-notice__reason {
	font-size: 13px;
	line-height: 1.5;
	margin-top: 4px !important;
}

.avwc-notice__reason {
	font-weight: 600;
}

.avwc-notice__selection,
.avwc-notice__suggestions {
	border-top: 1px solid color-mix(in srgb, var(--avwc-accent) 18%, transparent);
	font-size: 12px;
	line-height: 1.5;
	margin-top: 10px;
	padding-top: 9px;
}

.avwc-notice__heading {
	display: block;
	font-weight: 700;
	margin-bottom: 3px;
}

.avwc-notice ul {
	list-style: none;
	padding: 0;
}

.avwc-notice li + li {
	margin-top: 2px;
}

.avwc-button-unavailable,
.avwc-button-unavailable:hover,
.avwc-button-unavailable:focus {
	cursor: not-allowed !important;
	filter: grayscale(0.15);
	opacity: 0.72 !important;
	pointer-events: none !important;
}

/* The plugin's accessible notice replaces WooCommerce's less specific duplicate. */
.variations_form.avwc-state-unavailable .wc-no-matching-variations {
	display: none !important;
}

@media (max-width: 480px) {
	.avwc-notice {
		gap: 10px;
		padding: 13px;
	}
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
	.avwc-notice {
		border-color: #ead4d4;
		border-left-color: var(--avwc-accent);
	}

	.avwc-notice__selection,
	.avwc-notice__suggestions {
		border-top-color: #ead4d4;
	}
}

