/* ===========================================================
   21+ Age gate overlay
   Paste this block into Elementor > Site Settings > Custom CSS
   if you prefer not to run it from the plugin.
   =========================================================== */

html.tp-agegate-lock {
	overflow: hidden !important;
}

.tp-agegate-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 15, 20, 0.92);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: tp-fade-in 0.25s ease;
}

@keyframes tp-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.tp-agegate-box {
	width: 100%;
	max-width: 460px;
	background: #ffffff;
	color: #14202b;
	border-radius: 14px;
	padding: 34px 30px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.tp-agegate-brand {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #5a6b78;
	margin-bottom: 14px;
	font-weight: 600;
}

.tp-agegate-box h2 {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.2;
	color: #0f1a24;
}

.tp-agegate-box p {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.55;
	color: #3c4a56;
}

.tp-agegate-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #2b3843;
	cursor: pointer;
}

.tp-agegate-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #1a7f5a;
	cursor: pointer;
}

.tp-agegate-fine {
	margin: 16px 0 0 !important;
	font-size: 11.5px !important;
	line-height: 1.5 !important;
	color: #7a868f !important;
	text-align: left;
}

.tp-agegate-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 18px;
}

.tp-agegate-yes:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.tp-agegate-actions button {
	width: 100%;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.06s ease, opacity 0.15s ease;
}

.tp-agegate-actions button:active {
	transform: translateY(1px);
}

.tp-agegate-yes {
	background: #1a7f5a;
	color: #fff;
}

.tp-agegate-yes:hover {
	opacity: 0.92;
}

.tp-agegate-no {
	display: block;
	width: 100%;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 10px;
	background: transparent;
	color: #6b7883;
	border: 1px solid #d3dae0 !important;
}

.tp-agegate-no:hover {
	background: #f3f5f7;
}

@media (max-width: 480px) {
	.tp-agegate-box { padding: 26px 20px; }
	.tp-agegate-box h2 { font-size: 22px; }
}
