/* Popup Leads — front-end popup */
.pl-lock { overflow: hidden; }

.pl-overlay {
	position: fixed; inset: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.pl-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }

.pl-dialog {
	position: relative; z-index: 1;
	display: flex; width: 100%; max-width: 760px;
	background: #fff; border-radius: 14px; overflow: hidden;
	box-shadow: 0 24px 70px rgba(0,0,0,.35);
	animation: pl-in .25s ease;
}
@keyframes pl-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pl-overlay--no-image .pl-dialog { max-width: 460px; }

.pl-close {
	position: absolute; top: 10px; right: 12px; z-index: 2;
	width: 34px; height: 34px; border: 0; border-radius: 50%;
	background: rgba(0,0,0,.06); color: #111; font-size: 16px; cursor: pointer;
	line-height: 34px; text-align: center;
}
.pl-close:hover { background: rgba(0,0,0,.12); }

.pl-img-col { position: relative; flex: 0 0 44%; background: #f2f2f2; }
.pl-img-col img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-img-label {
	position: absolute; left: 0; bottom: 0; right: 0; padding: 12px 16px;
	background: linear-gradient(to top, rgba(0,0,0,.6), transparent); color: #fff;
	font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
}

.pl-right { flex: 1; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.pl-title { margin: 0 0 8px; font-size: 24px; line-height: 1.15; font-weight: 800; color: #111; }
.pl-subtitle { margin: 0 0 16px; font-size: 15px; line-height: 1.4; color: #444; }
.pl-offer { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #111; }

.pl-right .iti { width: 100%; margin-bottom: 12px; }
.pl-field {
	box-sizing: border-box; width: 100%; padding: 12px 14px; margin-bottom: 12px;
	border: 1px solid #ccc; border-radius: 8px; font-size: 15px;
}
/* when intl-tel-input wraps the input, the input's own margin lives inside .iti */
.pl-right .iti .pl-phone { margin-bottom: 0; }
.pl-field:focus { outline: none; border-color: #111; }
/* room for the country flag so the first digit isn't hidden under it */
.pl-right .iti input.pl-phone { padding-left: 52px; }
.iti--container { z-index: 100010; }

.pl-error { color: #c0392b; font-size: 13px; margin: 0 0 10px; }

.pl-submit, .pl-skip { display: block; width: 100%; box-sizing: border-box; border-radius: 8px; cursor: pointer; }
.pl-submit {
	padding: 13px 16px; margin-top: 10px; margin-bottom: 8px; border: 0;
	background: #111; color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.pl-submit:hover { background: #000; }
.pl-submit:disabled { opacity: .6; cursor: default; }
.pl-skip { padding: 9px 16px; border: 0; background: transparent; color: #777; font-size: 13px; text-decoration: underline; }
.pl-skip:hover { color: #111; }

.pl-consent { margin: 12px 0 0; font-size: 11px; line-height: 1.4; color: #999; }

.pl-success { text-align: center; padding: 10px 0; }

@media (max-width: 640px) {
	.pl-dialog { flex-direction: column; max-width: 75vw; max-height: 92vh; overflow: hidden auto; }
	.pl-img-col { flex: 0 0 auto; flex-basis: 110px; height: 35vh !important; }
	.pl-right { padding: 14px 16px; }
	.pl-title { font-size: 19px; margin: 0 0 5px; }
	.pl-subtitle { font-size: 13px; margin: 0 0 10px; }
	.pl-right .iti { margin-bottom: 8px; }
	.pl-submit { padding: 12px 16px; margin-top: 6px; margin-bottom: 4px; }
	.pl-skip { padding: 6px 16px; }
	.pl-consent { margin-top: 8px; font-size: 10px; }
	.pl-close { background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.3); }
	.pl-close:hover { background: #f0f0f0; }
}
