.kwep-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 20, 40, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
	box-sizing: border-box;
}
.kwep-overlay[hidden] {
	display: none;
}
.kwep-popup {
	position: relative;
	width: 50%;
	min-width: 260px;
	max-width: 420px;
	height: auto;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	text-align: center;
	transform: translateY(-40px);
	opacity: 0;
	animation: kwep-slide-in 0.35s ease-out forwards;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.kwep-banner {
	background: var(--kwep-banner-color, #1a73e8);
	padding: 26px 24px 22px;
	box-sizing: border-box;
}
.kwep-footer {
	background: #ffffff;
	padding: 22px 24px 26px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
@media (max-width: 480px) {
	.kwep-popup {
		width: 100%;
	}
}
@keyframes kwep-slide-in {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.kwep-image {
	max-width: 100%;
	height: auto;
	margin-bottom: 12px;
	border-radius: 6px;
}
.kwep-popup h2 {
	color: var(--kwep-headline-color, #1a73e8);
	font-size: 23px;
	margin: 0 0 14px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.kwep-popup p {
	color: #333333;
	font-size: 15px;
	margin: 0 0 10px;
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.kwep-coupon-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.kwep-coupon-pointer {
	font-size: 18px;
	line-height: 1;
	margin-bottom: 2px;
	animation: kwep-pointer-bounce 1.2s ease-in-out infinite;
}
@keyframes kwep-pointer-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(5px);
	}
}
.kwep-coupon-hint {
	font-size: 11px;
	color: #777777;
	margin-top: 4px;
}
.kwep-coupon-wrap.kwep-copied .kwep-coupon-pointer,
.kwep-coupon-wrap.kwep-copied .kwep-coupon-hint {
	display: none;
}
.kwep-coupon {
	background: #eaf2fe;
	color: var(--kwep-button-color, #1a73e8);
	font-weight: bold;
	letter-spacing: 1px;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 14px;
	border: 1px dashed var(--kwep-button-color, #1a73e8);
	cursor: pointer;
}
.kwep-coupon:focus-visible,
.kwep-close:focus-visible,
.kwep-cta:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}
.kwep-coupon.kwep-copied::after {
	content: " \2713 Copied";
	font-weight: normal;
}
.kwep-cta {
	background: var(--kwep-button-color, #1a73e8);
	color: #ffffff;
	text-decoration: none;
	padding: 10px 28px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	display: inline-block;
}
.kwep-cta:hover {
	filter: brightness(0.9);
	color: #ffffff;
}
.kwep-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	padding: 4px;
	z-index: 1;
}
.kwep-close:hover {
	color: #ffffff;
}
