/**
 * Checkout age gate — disable Place order only until verification (body class from PHP).
 * After OAuth redirect the class is omitted so the button is not stuck by CSS.
 */

body.ageonce-checkout-requires-verification #place_order,
body.ageonce-checkout-requires-verification .place-order button {
	opacity: 0.4 !important;
	pointer-events: none !important;
	cursor: not-allowed !important;
	background-color: #ccc !important;
}

.ageonce-gate-container {
	background: #fdfdfd;
	border: 1px solid #dcdcdc;
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	text-align: center;
	border-top: 3px solid #333;
}

/* Verified message (checkout, age-restricted cart) */
.woocommerce-message.ageonce-checkout-verified {
	margin-bottom: 20px;
}

.ageonce-checkout-verified .ageonce-checkout-verified-icon {
	color: #4ab866;
	vertical-align: middle;
}

.ageonce-checkout-verified .ageonce-checkout-verified-text {
	font-weight: 600;
	vertical-align: middle;
}

.ageonce-gate-title {
	margin-top: 0;
}

.ageonce-gate-lead {
	font-size: 14px;
	margin-bottom: 15px;
}

.ageonce-verify-btn.ageonce-verify-btn--full {
	width: 100%;
	display: block;
	margin-bottom: 10px;
	text-align: center;
}

.ageonce-gate-footnote {
	font-size: 12px;
	color: #888;
}
