/* Oaklore Newsletter Popup — lightweight, self-contained modal. */

.oaklore-nl-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 90; /* sits below the age-verification gate (z-index 100) */
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.oaklore-nl-popup.is-open {
	display: flex;
}

.oaklore-nl-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.oaklore-nl-popup__box {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2.75rem 2rem 2.25rem;
	background: #f4efe3;
	color: #1c1a17;
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
	animation: oaklore-nl-popup-in 0.25s ease-out;
}

@keyframes oaklore-nl-popup-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.oaklore-nl-popup__close {
	position: absolute;
	top: 0.4rem;
	right: 0.7rem;
	padding: 0.2rem 0.4rem;
	background: none;
	border: 0;
	font-size: 1.85rem;
	line-height: 1;
	color: inherit;
	cursor: pointer;
}

.oaklore-nl-popup__close:hover,
.oaklore-nl-popup__close:focus-visible {
	opacity: 0.65;
}

.oaklore-nl-popup__heading {
	margin: 0 0 0.75rem;
	font-size: 1.6rem;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.oaklore-nl-popup__body {
	margin-bottom: 1.35rem;
	text-align: center;
}

.oaklore-nl-popup__body p:last-child {
	margin-bottom: 0;
}

.oaklore-nl-popup__form .gform_wrapper {
	margin: 0;
}

@media (max-width: 480px) {
	.oaklore-nl-popup__box {
		padding: 2.25rem 1.25rem 2rem;
	}

	.oaklore-nl-popup__heading {
		font-size: 1.35rem;
	}
}
