/**
 * Homepage Promo Popup Styles
 */

#codam-hp-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

#codam-hp-popup-overlay.show {
	opacity: 1;
	pointer-events: all;
}

#codam-hp-popup-container {
	position: relative;
	width: 90%;
	max-width: 480px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	transform: translateY(20px);
	transition: transform 0.4s ease;
}

#codam-hp-popup-overlay.show #codam-hp-popup-container {
	transform: translateY(0);
}

#codam-hp-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.85);
	border: none;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #444;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.2s, color 0.2s;
	padding: 0;
}

#codam-hp-popup-close:hover {
	background: #fff;
	color: #000;
}

.codam-hp-popup-image-wrapper {
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.codam-hp-popup-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.codam-hp-popup-body {
	padding: 22px 24px 24px;
	text-align: center;
}

.codam-hp-popup-text {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin: 0 0 18px;
	line-height: 1.4;
}

.codam-hp-popup-btn {
	display: inline-block;
	padding: 11px 28px;
	background: #be73a4;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	transition: background 0.2s, transform 0.2s;
}

.codam-hp-popup-btn:hover {
	background: #b73188;
	color: #fff;
	transform: translateY(-1px);
	text-decoration: none;
}

.codam-hp-popup-btn:active {
	transform: translateY(0);
}

@media (max-width: 480px) {
	.codam-hp-popup-image-wrapper {
		height: 180px;
	}

	.codam-hp-popup-text {
		font-size: 16px;
	}
}
