/* ---------- Popup ---------- */
.pl-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 8, 20, 0.72);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}
.pl-popup-overlay.pl-active {
	display: flex;
	animation: pl-fade-in 0.2s ease;
}
.pl-popup-box {
	position: relative;
	background: #fff;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	border-radius: 14px;
	padding: 32px 24px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
	animation: pl-pop-in 0.32s cubic-bezier(.2, .9, .3, 1.15);
}

/* Image popups: no card padding/background — the image is the whole popup */
.pl-popup-box.pl-type-image {
	padding: 0;
	background: transparent;
	border-radius: 16px;
	line-height: 0;
}
.pl-popup-box.pl-type-image .pl-popup-close {
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	backdrop-filter: blur(2px);
}
.pl-popup-box.pl-type-image .pl-popup-close:hover {
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
}

@keyframes pl-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes pl-pop-in {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
.pl-popup-close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	transition: color 0.15s, background 0.15s, transform 0.15s;
	z-index: 2;
}
.pl-popup-close:hover {
	color: #000;
	transform: rotate(90deg);
}
.pl-popup-image {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: inherit;
}
.pl-popup-content form { max-width: 100%; }
body.pl-no-scroll { overflow: hidden; }
.pl-open-btn {
	cursor: pointer;
}


