.cpm-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.cpm-popup-box {
	position: relative;
	background: #fff;
	max-width: 560px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 32px 24px 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
}

.cpm-popup-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.cpm-popup-close:hover {
	background: rgba(0, 0, 0, 0.12);
}

.cpm-popup-content {
	margin-bottom: 16px;
}

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

/* CTA */
.cpm-cta-wrapper {
	text-align: center;
	margin-top: 16px;
}

.cpm-cta-button {
	display: inline-block;
	padding: 12px 28px;
	font-weight: 600;
	text-decoration: none;
	font-size: 15px;
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.cpm-cta-button:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* Countdown */
.cpm-countdown {
	text-align: center;
	margin: 16px 0;
}

.cpm-countdown-label {
	font-size: 14px;
	margin: 0 0 8px;
	font-weight: 600;
}

.cpm-countdown-timer {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.cpm-countdown-unit {
	background: #f3f3f3;
	border-radius: 6px;
	padding: 8px 10px;
	min-width: 48px;
	text-align: center;
}

.cpm-countdown-unit span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.cpm-countdown-unit small {
	font-size: 11px;
	color: #666;
	text-transform: uppercase;
}

/* Mobile */
@media (max-width: 600px) {
	.cpm-popup-box {
		padding: 28px 16px 20px;
		max-height: 85vh;
	}

	.cpm-countdown-unit {
		min-width: 40px;
		padding: 6px 8px;
	}

	.cpm-countdown-unit span {
		font-size: 16px;
	}

	.cpm-popup-close {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
}
