.cp-mini-badge {
	position: fixed;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
	cursor: pointer;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	padding: 0;
	overflow: hidden;
	animation: cp-badge-pulse 2s ease-in-out infinite;
}

.cp-mini-badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes cp-badge-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}

.cp-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: cp-fade-in 0.25s ease-out;
}

@keyframes cp-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.cp-popup-box {
	background: #fff;
	border-radius: 14px;
	max-width: 420px;
	width: 90%;
	padding: 32px 24px;
	text-align: center;
	position: relative;
	box-shadow: 0 10px 40px rgba(0,0,0,0.25);
	animation: cp-pop-in 0.3s ease-out;
}

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

.cp-popup-close {
	position: absolute;
	top: 10px;
	left: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #999;
}
.cp-popup-close:hover { color: #333; }

.cp-popup-title {
	margin: 0 0 8px;
	font-size: 24px;
}

.cp-popup-text {
	margin: 0 0 20px;
	color: #555;
	font-size: 15px;
}

.cp-coupon-link,
.cp-coupon-apply-btn {
	display: inline-block;
	text-decoration: none;
}

.cp-coupon-image {
	max-width: 100%;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.15s ease;
}
.cp-coupon-image:hover {
	transform: scale(1.03);
}

.cp-coupon-image-placeholder {
	background: #f4f4f4;
	border: 2px dashed #ccc;
	padding: 40px 20px;
	border-radius: 10px;
	color: #777;
	font-weight: bold;
}

.cp-coupon-reveal {
	margin-top: 20px;
}

.cp-coupon-code-label {
	margin: 0 0 8px;
	font-size: 14px;
	color: #777;
}

.cp-coupon-code-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #f8f8f8;
	border: 2px dashed #bbb;
	border-radius: 8px;
	padding: 10px 16px;
}

.cp-coupon-code {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 1px;
}

.cp-copy-btn {
	background: #222;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 6px 14px;
	cursor: pointer;
	font-size: 13px;
}
.cp-copy-btn:hover {
	background: #444;
}

.cp-copy-msg {
	margin-top: 10px;
	color: #2a9d5c;
	font-weight: bold;
	font-size: 14px;
}
