/**
 * Overlay de confirmacao +18 -- camada branca semi-transparente + blur
 * sobre o conteudo, popup centrado a usar a mesma paleta/sombra/raio ja
 * estabelecidos no resto do front (rosa #ff3c9f das .dm2027-filter-form
 * .button em listing-cards.css; sombra 0 15px 35px -10px rgba(0,0,0,.15)
 * dos cartoes de listagem; SEM cantos em pilula -- decisao ja tomada no
 * admin, DMAN_Format::pill()/.dm2027-pill, seguida aqui tambem). So
 * carregado no front quando dm2027_age_gate_enabled esta ativo (ver
 * DM2027_Age_Gate::enqueue()). Tipografia nao definida aqui de proposito
 * -- herda a fonte do tema.
 */
#dm2027-age-gate {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba( 255, 255, 255, .82 );
	-webkit-backdrop-filter: blur( 10px );
	backdrop-filter: blur( 10px );
	align-items: center;
	justify-content: center;
	padding: 24px;
}

#dm2027-age-gate.is-visible {
	display: flex;
}

body.dm2027-age-gate-locked {
	overflow: hidden;
}

#dm2027-age-gate .dm2027-age-gate-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 15px 35px -10px rgba( 0, 0, 0, .2 );
	max-width: 420px;
	width: 100%;
	padding: 40px 32px 32px;
	text-align: center;
}

#dm2027-age-gate .dm2027-age-gate-image {
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
	margin: 0 auto 16px;
	display: block;
}

#dm2027-age-gate .dm2027-age-gate-logo {
	margin: 0 auto 16px;
	display: flex;
	justify-content: center;
}

#dm2027-age-gate .dm2027-age-gate-logo img {
	max-height: 60px;
	width: auto;
}

#dm2027-age-gate .dm2027-age-gate-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 8px;
	background: #fde3f0;
	color: #ff3c9f;
	font-size: 20px;
	font-weight: 700;
}

#dm2027-age-gate h2 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

#dm2027-age-gate p {
	margin: 0 0 24px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #5a5a5a;
}

#dm2027-age-gate .dm2027-age-gate-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#dm2027-age-gate button {
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 13px 24px;
	font-size: 15px;
	font-weight: 600;
	width: 100%;
	box-shadow: none; /* reset a sombra global de botao do tema (Kadence) -- pedido direto para ficar plano. */
}

#dm2027-age-gate .dm2027-age-gate-confirm {
	background: #ff3c9f;
	color: #fff;
}

#dm2027-age-gate button:hover,
#dm2027-age-gate button:focus {
	box-shadow: none;
}

#dm2027-age-gate .dm2027-age-gate-confirm:hover {
	background: #e0338c;
}

#dm2027-age-gate .dm2027-age-gate-exit {
	background: #fff;
	color: #5a5a5a;
	border-color: #e5e5e5;
}

#dm2027-age-gate .dm2027-age-gate-exit:hover {
	background: #f7f7f7;
}

#dm2027-age-gate .dm2027-age-gate-note {
	margin: 20px 0 0;
	font-size: 12px;
	color: #9a9a9a;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
