/*
 * Site-wide 18+ age-gate popup.
 * Copy/structure ported from production's Elementor Pro popup
 * (data-elementor-id="220"); show/remember behavior is a from-scratch
 * simplification — see theme/special/age-gate.php header comment.
 */

.vs-age-gate {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.vs-age-gate[hidden] {
	display: none;
}

.vs-age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 8, 16, 0.72);
}

.vs-age-gate__panel {
	position: relative;
	max-width: 420px;
	width: 100%;
	background: #fff;
	border-radius: 20px;
	padding: 36px 28px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	font-family: var(--vs-font-family);
}

.vs-age-gate__heading {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	color: var(--vs-text-heading);
}

.vs-age-gate__text {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--vs-text-body);
}

.vs-age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.vs-age-gate__accept {
	width: 100%;
	border: 0;
}

.vs-age-gate__decline {
	background: none;
	border: 0;
	color: var(--vs-text-muted);
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
	padding: 6px;
	font-family: var(--vs-font-family);
}

.vs-age-gate__decline:hover,
.vs-age-gate__decline:focus-visible {
	color: var(--vs-text-body);
}

html.vs-age-gate-open {
	overflow: hidden;
}
