/* Sitewide 21+ age gate -- same dark-charcoal/amber palette as the Finder drawer
   (finder.css) so it reads as part of the same site, not a bolted-on plugin popup. */

.wla-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999; /* Above everything else on the page, including the Finder drawer (99999). */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 12, 10, 0.82);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.wla-age-gate.is-open {
	opacity: 1;
	visibility: visible;
}

body.wla-age-gate-open {
	overflow: hidden;
}

.wla-age-gate-box {
	width: 100%;
	max-width: 420px;
	background: #262b27;
	color: #fff;
	border-radius: 8px;
	padding: 32px 28px;
	text-align: center;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	font-family: inherit; /* Matches finder.css's convention -- inherit the theme's body font
		(Lato on this site today) rather than hardcode it, so it keeps matching if that ever
		changes site-wide. */
}

.wla-age-gate-logo {
	font-size: 13px;
	font-weight: 700; /* Matches Flatsome's own buttons/headings -- this site doesn't use 800
		anywhere, so this reuses their actual weight rather than inventing a heavier one. */
	letter-spacing: 0.12em;
	color: #c6791f;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.wla-age-gate-title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase; /* Real Flatsome headings on this site (e.g. the Finder banners)
		are uppercase with wide tracking -- matched here instead of a generic bold title. */
	color: #fff;
	margin: 0 0 12px;
}

.wla-age-gate-copy {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 24px;
}

.wla-age-gate-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
}

.wla-age-gate-btn {
	flex: 1;
	padding: 13px 10px;
	border-radius: 5px;
	border: none;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wla-age-gate-btn-yes {
	background: #c6791f;
	color: #fff;
}

.wla-age-gate-btn-yes:hover {
	background: #d9891f;
}

.wla-age-gate-btn-no {
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.wla-age-gate-btn-no:hover {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
	color: #fff;
}

.wla-age-gate-fine-print {
	font-size: 11px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

@media (max-width: 480px) {
	.wla-age-gate-box {
		padding: 26px 20px;
	}
	.wla-age-gate-title {
		font-size: 21px;
	}
}
