/**
 * Coverage product page: the trip fields inside the add-to-cart form, between the
 * tier and the button. Markup from Frontend\ProductTrip; the field grid is the hero
 * glass form's (ahn-smart-forms/templates/get-quote-form.php), with its own styles
 * and its permitted 12px field radius.
 */

.cri-product-trip {
	margin: 18px 0 16px;
}

.cri-product-trip__heading {
	margin: 0 0 2px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
	color: #1B4F93;
}

.cri-product-trip__lead {
	margin: 0 0 10px;
	color: #555;
}

.cri-product-trip__notice {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #8a1f1f;
}

.cri-product-trip__notice--info {
	border-left-color: #2665B9;
	background: #eef4fb;
	color: #1B4F93;
}

/*
 * The glass fields were designed to sit on the dark hero image: white fields with
 * white edges on a transparent form. On the white product page they would have no
 * visible edges, so the grid gets a brand-blue panel of its own.
 */
.cri-product-trip .ahn-glass-booking-form {
	max-width: none;
	width: 100%;
	padding: 18px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0f2f5c 0%, #1B4F93 55%, #2665B9 100%);
}

.cri-product-trip__total {
	margin: 14px 0 0;
	font-size: 18px;
	font-weight: 700;
	color: #111;
}

.cri-product-trip__total[hidden] {
	display: none;
}

/* The total already states the price for the trip; the per-day repeat is noise. */
form.variations_form:has(.cri-product-trip) .woocommerce-variation-price {
	display: none;
}

/* One submit does everything, so the button should read as the end of the form. */
form.variations_form:has(.cri-product-trip) .woocommerce-variation-add-to-cart {
	display: block;
}

form.variations_form:has(.cri-product-trip) .single_add_to_cart_button {
	width: 100%;
	min-height: 50px;
	font-size: 16px;
}
