/* Custom Popup Pro — frontend styles */

.cpp-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cpp-popup-overlay.cpp-active {
	display: flex;
	opacity: 1;
}

.cpp-popup-box {
	background: #ffffff;
	width: 100%;
	border-radius: 10px;
	position: relative;
	padding: 40px 30px 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-height: 90vh;
	overflow-y: auto;
	transform: scale(0.92);
	transition: transform 0.25s ease;
}

.cpp-popup-overlay.cpp-active .cpp-popup-box {
	transform: scale(1);
}

.cpp-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	padding: 4px 8px;
}

.cpp-popup-close:hover {
	color: #000;
}

.cpp-popup-content {
	font-size: 15px;
	line-height: 1.6;
}

.cpp-popup-content img {
	max-width: 100%;
	height: auto;
}

body.cpp-no-scroll {
	overflow: hidden;
}

@media (max-width: 600px) {
	.cpp-popup-box {
		padding: 34px 18px 22px;
	}
}
