/**
 * Lead-gated content — price list & location map
 * Hidden until popup form #1079 is submitted successfully.
 */

/* Locked by default (also in home.php critical CSS) */
#lead-gated-price-content.is-gated,
#lead-gated-map-content.is-gated,
.lead-gated-content.is-gated {
	display: none !important;
	max-height: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

#lead-gated-price-content.is-gated .plot-dropdown,
.hoabl-price-locked #lead-gated-price-content,
.hoabl-price-locked #lead-gated-price-content .plot-dropdown {
	display: none !important;
}

.hoabl-map-locked #lead-gated-map-content {
	display: none !important;
}

/* Unlocked */
#lead-gated-price-content.is-unlocked,
#lead-gated-map-content.is-unlocked,
.lead-gated-content.is-unlocked {
	display: block !important;
	max-height: none !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	width: 100% !important;
	animation: leadGateFadeIn 0.55s ease forwards;
}

@keyframes leadGateFadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Price teaser */
.lead-gate-teaser {
	text-align: center;
	padding: 20px 16px;
	margin: 8px 0 16px;
	background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
	border: 1px dashed #ccc;
	border-radius: 8px;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
}

.lead-gate-teaser.is-hidden {
	display: none !important;
}

/* Site map map teaser */
.lead-gate-map-teaser {
	position: relative;
	width: 100%;
	margin: 12px 0 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.lead-gate-map-teaser.is-hidden {
	display: none !important;
}

.lead-gate-map-blur-img {
	display: block;
	width: 100%;
	height: auto;
	filter: blur(10px);
	transform: scale(1.04);
	pointer-events: none;
}

.lead-gate-map-teaser-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.lead-gate-map-teaser-label p {
	margin: 0;
	font-size: 16px;
	color: #222;
	line-height: 1.5;
	max-width: 420px;
}

#lead-gated-map-content .lead-gate-map-wrap {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	margin: 12px 0 8px;
}

.lead-gate-location-map-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

#sitemap.elementor-element-96dbf3b {
	background-image: none !important;
}

.lead-gate-form-msg {
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.lead-gate-form-msg.is-success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.lead-gate-form-msg.is-error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef9a9a;
}
