/* AAWCA frontend styles. Extracted from inline heredocs. */

/* from 38-aawca-phase-05a.php:1996 */
.aawca-product-addons {
	margin: 24px 0;
	padding: 18px;
	border: 1px solid rgba(103, 67, 153, 0.24);
	border-radius: 18px;
	background:
		radial-gradient(circle at top right, rgba(103, 67, 153, 0.08), transparent 36%),
		#ffffff;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
}

.aawca-product-addons-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.aawca-product-addons-header h3 {
	margin: 0 0 5px;
	font-size: 20px;
	line-height: 1.25;
}

.aawca-product-addons-header p {
	margin: 0;
	color: #646970;
	line-height: 1.55;
}

.aawca-addon-group {
	margin-top: 14px;
	min-width: 0;
	padding: 16px;
	border: 1px solid #e2e4e7;
	border-radius: 16px;
	background: #fbfbfc;
}

.aawca-group__legend {
	display: block;
	width: 100%;
	padding: 0;
	margin-bottom: 14px;
	margin-left: 0;
	font-size: 17px;
	line-height: 1.3;
}

.aawca-group__description {
	margin: -9px 0 14px;
	color: #646970;
	line-height: 1.55;
}

.aawca-addon-field {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid #e2e4e7;
	border-radius: 14px;
	background: #ffffff;
}

.aawca-addon-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
	font-weight: 800;
	color: #1d2327;
}

.aawca-required {
	color: #b32d2e;
}

.aawca-addon-price-note,
.aawca-option-price {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f8f5ff;
	color: #674399;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.aawca-addon-help {
	margin: 0 0 10px;
	color: #646970;
	font-size: 13px;
	line-height: 1.55;
}

.aawca-addon-field input[type="text"],
.aawca-addon-field input[type="number"],
.aawca-addon-field input[type="date"],
.aawca-addon-field select,
.aawca-addon-field textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
}

.aawca-choice-field {
	margin: 0;
	padding: 0;
	border: 0;
}

.aawca-choice-list,
.aawca-swatch-list {
	display: grid;
	gap: 10px;
}

.aawca-choice-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
}

.aawca-choice-option:hover,
.aawca-choice-option:focus-within,
.aawca-addon-swatch:hover,
.aawca-addon-swatch:focus-within,
.aawca-addon-swatch.is-selected {
	border-color: #674399;
	box-shadow: 0 0 0 3px rgba(103, 67, 153, 0.12);
}

	.aawca-choice-option-text {
		font-weight: 700;
	}

	.aawca-choice-option-copy,
	.aawca-swatch-copy {
		display: block;
		min-width: 0;
	}

	.aawca-option-description {
		display: block;
		margin-top: 4px;
		color: #646970;
		font-size: 13px;
		font-weight: 500;
		line-height: 1.35;
	}

	.aawca-option-meta {
		display: inline-flex;
		align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-left: auto;
}

.aawca-option-stock {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff7e6;
	color: #8a4b00;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.aawca-swatch-list {
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.aawca-addon-swatch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid #e2e4e7;
	border-radius: 14px;
	background: #ffffff;
	cursor: pointer;
}

.aawca-swatch-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.aawca-swatch-color {
	display: inline-block;
	width: 28px;
	height: 28px;
	border: 1px solid #8c8f94;
	border-radius: 999px;
	flex: 0 0 auto;
}

.aawca-swatch-image {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	background: #f6f7f7;
	flex: 0 0 auto;
}

.aawca-swatch-label {
	font-weight: 800;
}

.aawca-addons-summary {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8f5ff;
	color: #674399;
	font-weight: 800;
}

.aawca-product-addons input:focus,
.aawca-product-addons textarea:focus,
.aawca-product-addons select:focus {
	outline: 2px solid #674399;
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(103, 67, 153, 0.16);
}

@media (max-width: 640px) {
	.aawca-product-addons-header,
	.aawca-addon-label,
	.aawca-choice-option {
		align-items: flex-start;
		flex-direction: column;
	}

	.aawca-option-meta {
		margin-left: 0;
	}
}

/* FRONTEND-UI-R1: scoped customer-facing visual hardening only. */
.aawca-product-addons {
	--aawca-fg: #171717;
	--aawca-muted: #5f6368;
	--aawca-line: #dce1e7;
	--aawca-line-strong: #b8c0cc;
	--aawca-surface: #ffffff;
	--aawca-surface-soft: #f7f8fa;
	--aawca-accent: #157f5b;
	--aawca-accent-soft: #e8f6f0;
	--aawca-danger: #b42318;
	margin: 22px 0;
	padding: 18px;
	border: 1px solid var(--aawca-line);
	border-radius: 18px;
	background: var(--aawca-surface);
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
	color: var(--aawca-fg);
}

.aawca-addon-group {
	margin-top: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.aawca-addon-group + .aawca-addon-group {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--aawca-line);
}

.aawca-group__legend {
	margin-bottom: 14px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
	color: var(--aawca-fg);
}

.aawca-group__description,
.aawca-addon-help {
	color: var(--aawca-muted);
}

.aawca-addon-field {
	margin-top: 12px;
	padding: 15px;
	border: 1px solid var(--aawca-line);
	border-radius: 16px;
	background: var(--aawca-surface-soft);
	box-shadow: none;
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.aawca-addon-field.has-value {
	border-color: rgba(21, 127, 91, 0.45);
	background: #fbfffd;
	box-shadow: 0 0 0 3px rgba(21, 127, 91, 0.08);
}

.aawca-addon-label {
	align-items: center;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: 0;
}

.aawca-required {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 4px;
	border-radius: 999px;
	background: #fee4e2;
	color: var(--aawca-danger);
	font-size: 12px;
	line-height: 1;
}

.aawca-addon-price-note,
.aawca-option-price,
.aawca-option-stock {
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.aawca-addon-price-note,
.aawca-option-price {
	border: 1px solid rgba(21, 127, 91, 0.16);
	background: var(--aawca-accent-soft);
	color: #0f5f44;
}

.aawca-addon-field input[type="text"],
.aawca-addon-field input[type="number"],
.aawca-addon-field input[type="date"],
.aawca-addon-field select,
.aawca-addon-field textarea {
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--aawca-line-strong);
	border-radius: 12px;
	background: #ffffff;
	color: var(--aawca-fg);
	font-size: 15px;
	box-shadow: none;
}

.aawca-choice-list,
.aawca-swatch-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}

.aawca-choice-option,
.aawca-addon-swatch {
	min-height: 54px;
	align-items: center;
	padding: 12px 13px;
	border: 1px solid var(--aawca-line);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.aawca-choice-option:hover,
.aawca-addon-swatch:hover {
	border-color: var(--aawca-line-strong);
	box-shadow: 0 5px 16px rgba(17, 24, 39, 0.08);
}

.aawca-choice-option:focus-within,
.aawca-addon-swatch:focus-within {
	border-color: var(--aawca-accent);
	box-shadow: 0 0 0 3px rgba(21, 127, 91, 0.18);
}

.aawca-choice-option.is-selected,
.aawca-addon-swatch.is-selected {
	border-color: var(--aawca-accent);
	background: #f4fbf8;
	box-shadow: inset 0 0 0 1px rgba(21, 127, 91, 0.2), 0 8px 18px rgba(21, 127, 91, 0.1);
}

.aawca-choice-option.is-disabled,
.aawca-addon-swatch.is-disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.aawca-choice-option input[type="radio"],
.aawca-choice-option input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--aawca-accent);
	flex: 0 0 auto;
}

	.aawca-choice-option-text,
	.aawca-swatch-label {
		font-size: 14px;
		font-weight: 800;
		color: var(--aawca-fg);
	}

	.aawca-product-addons .aawca-choice-option-copy,
	.aawca-product-addons .aawca-swatch-copy {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.aawca-product-addons .aawca-option-description {
		margin-top: 5px;
		color: var(--aawca-muted);
		font-size: 13px;
		font-weight: 600;
		line-height: 1.35;
	}

	.aawca-option-meta {
		margin-left: auto;
		justify-content: flex-end;
}

.aawca-swatch-color {
	width: 30px;
	height: 30px;
	border-color: var(--aawca-line-strong);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.aawca-swatch-image {
	width: 48px;
	height: 48px;
	border-color: var(--aawca-line);
	border-radius: 12px;
}

.aawca-addons-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(21, 127, 91, 0.18);
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fffb 0%, #edf8f2 100%);
	color: #0f5f44;
	font-weight: 800;
}

.aawca-summary-count,
.aawca-summary-price {
	display: inline-flex;
	align-items: center;
	line-height: 1.35;
}

.aawca-summary-price {
	color: var(--aawca-fg);
}

.aawca-product-addons input:focus,
.aawca-product-addons textarea:focus,
.aawca-product-addons select:focus {
	outline: 2px solid var(--aawca-accent);
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(21, 127, 91, 0.18);
}

@media (max-width: 640px) {
	.aawca-product-addons {
		padding: 14px;
	}

	.aawca-choice-list,
	.aawca-swatch-list {
		grid-template-columns: 1fr;
	}

	.aawca-addon-label,
	.aawca-choice-option,
	.aawca-addons-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.aawca-option-meta {
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}
}

/* FRONTEND-UI-R3: stable option-card geometry for desktop and narrow product pages. */
.aawca-product-addons {
	border-radius: 16px;
}

.aawca-product-addons .aawca-addon-field {
	border-radius: 14px;
}

.aawca-product-addons .aawca-choice-list {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	align-items: stretch;
}

.aawca-product-addons .aawca-choice-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 12px;
	min-height: 56px;
	padding: 12px;
	overflow: hidden;
}

.aawca-product-addons .aawca-choice-option input[type="radio"],
.aawca-product-addons .aawca-choice-option input[type="checkbox"] {
	margin: 0;
	align-self: center;
}

.aawca-product-addons .aawca-choice-option-text,
.aawca-product-addons .aawca-swatch-label {
	min-width: 0;
	overflow-wrap: anywhere;
	line-height: 1.25;
}

.aawca-product-addons .aawca-option-meta {
	width: auto;
	min-width: max-content;
	max-width: 100%;
	margin-left: 0;
	justify-self: end;
	justify-content: flex-end;
	align-self: center;
}

.aawca-product-addons .aawca-option-price,
.aawca-product-addons .aawca-option-stock {
	white-space: nowrap;
}

.aawca-product-addons .aawca-selection-included-chip {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid rgba(95, 99, 104, 0.14);
	background: #f1f3f4;
	color: var(--aawca-muted);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.aawca-product-addons .aawca-choice-option.has-selection-extra {
	border-color: rgba(29, 78, 216, 0.34);
	background: #eef2ff;
}

.aawca-product-addons .aawca-selection-extra-chip {
	border-color: rgba(29, 78, 216, 0.18);
	background: #eef2ff;
	color: #1e3a8a;
}

.aawca-product-addons .aawca-swatch-list {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.aawca-product-addons .aawca-addon-swatch {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 12px;
	overflow: hidden;
}

.aawca-product-addons .aawca-addons-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.aawca-product-addons .aawca-summary-count,
.aawca-product-addons .aawca-summary-price {
	min-width: 0;
}

@media (max-width: 640px) {
	.aawca-product-addons .aawca-choice-option,
	.aawca-product-addons .aawca-addon-swatch {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 9px 10px;
	}

	.aawca-product-addons .aawca-option-meta {
		grid-column: 2 / -1;
		width: auto;
		justify-self: end;
		justify-content: flex-end;
	}

	.aawca-product-addons .aawca-addons-summary {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.aawca-product-addons .aawca-summary-price {
		justify-self: start;
	}
}

@media (max-width: 380px) {
	.aawca-product-addons .aawca-option-meta {
		justify-self: end;
	}
}

/* Full-width add-on rows: control, flexible label, aligned price. */
.aawca-product-addons .aawca-choice-list,
.aawca-product-addons .aawca-swatch-list {
	grid-template-columns: 1fr;
	gap: 0;
}

.aawca-row {
	display: grid;
	grid-template-columns: 2.5rem 1fr auto;
	align-items: center;
	gap: .75rem;
	min-height: 44px;
	padding: .5rem .75rem;
	border-bottom: 1px solid var(--aawca-hairline, #e6e6e6);
}

.aawca-product-addons .aawca-row {
	grid-template-columns: 2.5rem minmax(0, 1fr) auto;
	border-top: 0;
	border-right: 0;
	border-left: 0;
	border-radius: 0;
	box-shadow: none;
}

.aawca-product-addons .aawca-row:focus-within {
	box-shadow: 0 0 0 3px rgba(21, 127, 91, 0.18);
}

.aawca-row:last-child {
	border-bottom: 0;
}

.aawca-row__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* The row reserved 44px but the control did not, leaving an 18px hit area. */
	min-height: 44px;
	min-width: 44px;
}

.aawca-row__control input[type="radio"],
.aawca-row__control input[type="checkbox"] {
	width: 24px;
	height: 24px;
}

.aawca-row__label {
	min-width: 0;
}

.aawca-row__label label {
	/* Full-height target: text plus padding came to roughly 36px. */
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	min-height: 44px;
	padding-block: .25rem;
	cursor: pointer;
}

.aawca-row__price {
	width: auto;
	margin-left: 0;
	justify-self: end;
	justify-content: flex-end;
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.aawca-product-addons .aawca-row__price {
	grid-column: auto;
}

.aawca-product-addons .aawca-group .aawca-group {
	border: 0;
	box-shadow: none;
	padding: 0;
}

.aawca-badge {
	font-size: .75rem;
	padding: .1rem .5rem;
	border-radius: 999px;
}

.aawca-badge--required {
	background: #1d4ed8;
	color: #fff;
}

.aawca-badge--optional {
	background: #eef2ff;
	color: #1e3a8a;
}

.aawca-group__hint {
	font-size: .8125rem;
	opacity: .75;
}

/* Selection is an enabled accent state, not a validation error. Keep these rules last. */
.aawca-product-addons .aawca-row:has(input:checked:not(:disabled)) {
	background: #eef2ff;
}

.aawca-product-addons .aawca-row .aawca-choice-option-text,
.aawca-product-addons .aawca-row .aawca-swatch-label {
	font-weight: 500;
}

.aawca-product-addons .aawca-row .aawca-option-description {
	font-weight: 400;
}

.aawca-product-addons .aawca-row:has(input:checked:not(:disabled)) .aawca-row__label {
	font-weight: 600;
}

.aawca-product-addons .aawca-row:has(input:checked:not(:disabled)) .aawca-choice-option-text,
.aawca-product-addons .aawca-row:has(input:checked:not(:disabled)) .aawca-swatch-label {
	font-weight: 600;
}

.aawca-product-addons .aawca-row input:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

/* from 39-aawca-phase-05a-1.php:45 */
.single-product .summary.entry-summary .aawca-product-addons,
.single-product form.cart .aawca-product-addons,
.single-product .woocommerce-variation-add-to-cart .aawca-product-addons {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	grid-column: 1 / -1 !important;
	clear: both !important;
	box-sizing: border-box !important;
	margin: 18px 0 !important;
}

.single-product .aawca-product-addons *,
.single-product .aawca-product-addons *::before,
.single-product .aawca-product-addons *::after {
	box-sizing: border-box;
}

.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
}

.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
}

.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons > .quantity,
.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons > .single_add_to_cart_button,
.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) > .quantity,
.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) > .single_add_to_cart_button {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.single-product .aawca-product-addons .aawca-addon-group,
.single-product .aawca-product-addons .aawca-addon-field {
	width: 100%;
	max-width: 100%;
}

.single-product .aawca-product-addons .aawca-addon-label {
	flex-wrap: wrap;
}

.single-product .aawca-product-addons .aawca-choice-option {
	min-width: 0;
	width: 100%;
}

.single-product .aawca-product-addons .aawca-option-meta {
	min-width: 0;
}

@media (max-width: 640px) {
	.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons,
	.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) {
		align-items: stretch !important;
	}

	.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons > .quantity,
	.single-product .woocommerce-variation-add-to-cart.aawca-has-product-addons > .single_add_to_cart_button,
	.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) > .quantity,
	.single-product form.cart.aawca-cart-has-product-addons:not(.variations_form) > .single_add_to_cart_button {
		width: 100% !important;
	}
}

/* from 40-aawca-phase-05b.php:816 */
.woocommerce-mini-cart dl.variation dt::after,
.widget_shopping_cart dl.variation dt::after,
.cart_list dl.variation dt::after,
.woocommerce-cart-form dl.variation dt::after,
.woocommerce-checkout-review-order dl.variation dt::after,
.cs-mini-cart-item__meta dl.variation dt::after,
.cs-mini-cart-items dl.variation dt::after {
	content: "" !important;
	display: none !important;
}

.cs-mini-cart-item__meta dl.variation,
.cs-mini-cart-items dl.variation {
	display: grid !important;
	grid-template-columns: auto 1fr !important;
	column-gap: 6px !important;
	row-gap: 2px !important;
	margin: 4px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.35 !important;
}

.cs-mini-cart-item__meta dl.variation dt,
.cs-mini-cart-items dl.variation dt {
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 800 !important;
	color: inherit !important;
}

.cs-mini-cart-item__meta dl.variation dd,
.cs-mini-cart-items dl.variation dd {
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	min-width: 0 !important;
}

.cs-mini-cart-item__meta dl.variation dd p,
.cs-mini-cart-items dl.variation dd p {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-mini-cart dl.variation,
.widget_shopping_cart dl.variation,
.cart_list dl.variation {
	line-height: 1.45;
}

.woocommerce-mini-cart dl.variation dt,
.widget_shopping_cart dl.variation dt,
.cart_list dl.variation dt {
	margin-right: 4px;
}

.woocommerce-mini-cart dl.variation dd,
.widget_shopping_cart dl.variation dd,
.cart_list dl.variation dd {
	margin-right: 10px;
}

@media (max-width: 480px) {
	.cs-mini-cart-item__meta dl.variation,
	.cs-mini-cart-items dl.variation {
		grid-template-columns: 1fr !important;
		row-gap: 0 !important;
	}
}

/* from 43-aawca-phase-05e.php:705 */
.aawca-addon-field.has-error,
.aawca-choice-field.has-error {
	border-color: #b32d2e !important;
	box-shadow: 0 0 0 3px rgba(179, 45, 46, 0.12);
}

.aawca-addon-error {
	margin: 8px 0 0;
	padding: 9px 11px;
	border: 1px solid #b32d2e;
	border-radius: 10px;
	background: #fcf0f1;
	color: #8a2424;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
}

.aawca-product-addons [aria-invalid="true"] {
	border-color: #b32d2e !important;
	box-shadow: 0 0 0 3px rgba(179, 45, 46, 0.12) !important;
}

/* from 45-aawca-phase-05g.php:389 */
body.aawca-addons-public-enabled .aawca-product-addons {
	border-color: rgba(0, 163, 42, 0.22);
}

/* from 47-aawca-phase-06b.php:340 */
.aawca-live-price-preview {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid #dcdcde;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.aawca-live-price-preview__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.aawca-live-price-preview__top strong {
	font-size: 14px;
	color: #1d2327;
}

.aawca-live-price-preview__badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f8f5ff;
	color: #674399;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.aawca-live-price-preview__rows {
	display: grid;
	gap: 7px;
}

.aawca-live-price-preview__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #50575e;
	font-size: 13px;
	line-height: 1.4;
}

.aawca-live-price-preview__row strong {
	color: #1d2327;
	font-size: 15px;
}

.aawca-live-price-preview__note {
	margin-top: 9px;
	color: #646970;
	font-size: 12px;
	line-height: 1.45;
}

.aawca-live-price-preview.is-warning {
	border-color: #dba617;
	background: #fff8e5;
}

.aawca-live-price-preview.is-warning .aawca-live-price-preview__badge {
	background: #ffffff;
	color: #6c4b00;
}

@media (max-width: 640px) {
	.aawca-live-price-preview__top,
	.aawca-live-price-preview__row {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Conditional visibility.
 *
 * This rule used to be injected into <head> by frontend-conditional-visibility.js,
 * which meant nothing was actually hidden until that script ran — so two mutually
 * exclusive groups could both paint first. The stylesheet is a blocking <link>,
 * so owning the rule here makes the server's fail-closed markup effective
 * immediately, with or without JavaScript. */
.aawca-conditional-hidden {
	display: none !important;
}

