.cpp-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 15, 10, 0.55);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

.cpp-overlay.cpp-active {
	display: flex;
}

.cpp-modal {
	position: relative;
	width: 100%;
	max-width: 900px;
	max-height: 90vh;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: cpp-pop-in 0.25s ease-out;
}

@keyframes cpp-pop-in {
	from { opacity: 0; transform: scale(0.96); }
	to   { opacity: 1; transform: scale(1); }
}

.cpp-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	background: #1a1a1a;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	z-index: 2;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	transition: opacity 0.15s ease;
}

.cpp-close:hover {
	opacity: 0.8;
}

.cpp-image-side {
	background-color: #f2e9dc;
	background-size: cover;
	background-position: center;
	min-height: 320px;
}

.cpp-content-side {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 40px;
	box-sizing: border-box;
}

.cpp-content-inner {
	width: 100%;
	max-width: 380px;
	text-align: center;
}

.cpp-headline {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 26px;
	letter-spacing: 0.5px;
	color: #1a1a1a;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.cpp-subtext {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 15px;
	color: #444;
	margin: 0 0 26px;
}

.cpp-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cpp-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 300;
}

.cpp-form input[type="email"]:focus {
	outline: none;
	border-color: #1a1a1a;
}

.cpp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.cpp-submit {
	width: 100%;
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 15px 20px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.cpp-submit:hover {
	opacity: 0.85;
}

.cpp-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.cpp-error {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #b3261e;
	margin: 0;
	min-height: 16px;
}

.cpp-success {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #1a1a1a;
	line-height: 1.6;
}

.cpp-decline {
	display: inline-block;
	margin-top: 22px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 1.5px;
	color: #333;
	text-decoration: none;
}

.cpp-decline:hover {
	text-decoration: underline;
	color: #000;
}

@media (max-width: 700px) {
	.cpp-modal {
		grid-template-columns: 1fr;
		max-height: 92vh;
		overflow-y: auto;
	}
	.cpp-image-side {
		min-height: 180px;
	}
	.cpp-content-side {
		padding: 36px 24px;
	}
}
