/* ==== Konten di atas form checkout ==== */
.ccd-above-checkout { margin: 0 0 24px; }
.ccd-above-checkout.ccd-above-text {
	padding: 16px; background: #f7f7f7; border-radius: 8px;
	font-size: 15px; line-height: 1.6;
}
.ccd-above-checkout.ccd-above-image img {
	max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 8px;
}

/* ==== Countdown timer ==== */
.ccd-countdown-wrap {
	margin-top: 16px; padding: 14px 16px; border-radius: 8px; text-align: center;
}
.ccd-countdown-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.ccd-countdown-timer {
	font-size: 28px; font-weight: 700; letter-spacing: 2px; font-variant-numeric: tabular-nums;
}
.ccd-countdown-wrap.ccd-expired .ccd-countdown-timer { font-size: 16px; letter-spacing: normal; }

/* ==== Order Bump ==== */
.ccd-order-bump {
	position: relative;
	margin: 18px 0;
	padding: 16px;
	border: 2px dashed;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: opacity 0.25s ease;
}
.ccd-bump-badge {
	position: absolute;
	top: -12px;
	left: 16px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.ccd-bump-inner { display: flex; gap: 14px; align-items: flex-start; }
.ccd-bump-image { flex: 0 0 64px; }
.ccd-bump-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.ccd-bump-content { flex: 1; min-width: 0; }
.ccd-bump-title { font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.ccd-bump-desc { font-size: 13px; color: #555; margin: 0 0 6px; line-height: 1.5; }
.ccd-bump-price { font-weight: 700; font-size: 14px; margin: 0 0 8px; color: #2c7a2c; }
.ccd-bump-price del { color: #999; font-weight: 400; margin-right: 4px; }
.ccd-bump-checkbox-label {
	display: flex; align-items: center; gap: 8px; cursor: pointer;
	font-size: 14px; font-weight: 600; user-select: none;
}
.ccd-bump-checkbox-label input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }
.ccd-bump-loading {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; border-radius: 10px;
}

@media (max-width: 480px) {
	.ccd-bump-inner { gap: 10px; }
	.ccd-bump-image { flex-basis: 52px; }
	.ccd-bump-image img { width: 52px; height: 52px; }
	.ccd-bump-title { font-size: 14px; }
}

/* ==== Trust Badges ==== */
.ccd-trust-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin-top: 16px;
	padding: 14px 10px;
}
.ccd-trust-badge {
	display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #444; font-weight: 600;
}
.ccd-trust-icon { display: inline-flex; color: #2c7a2c; }
.ccd-trust-icon svg { display: block; }

@media (max-width: 480px) {
	.ccd-trust-badges { gap: 12px; }
	.ccd-trust-badge { font-size: 11.5px; }
}

/* ==== Testimoni (redesign) ==== */
.ccd-testimonial-section {
	margin-top: 44px;
	padding: 28px 16px;
	border-top: 1px solid #eee;
	background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
	border-radius: 12px;
}
.ccd-testimonial-heading {
	text-align: center;
	margin: 0 0 20px;
	font-size: 19px;
	font-weight: 700;
	color: #222;
}
.ccd-testimonial-slider {
	overflow: hidden;
	position: relative;
	max-width: 560px;
	margin: 0 auto;
}
.ccd-testimonial-track {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.ccd-testimonial-slide {
	flex: 0 0 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 4px 6px;
}
.ccd-testimonial-card {
	position: relative;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 28px 24px 20px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(20,20,43,0.06);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ccd-testimonial-slide.is-active .ccd-testimonial-card {
	box-shadow: 0 10px 28px rgba(20,20,43,0.1);
}
.ccd-quote-icon {
	position: absolute;
	top: 8px;
	left: 18px;
	font-size: 56px;
	line-height: 1;
	font-family: Georgia, serif;
	color: #f0e6ff;
	font-weight: 700;
	pointer-events: none;
}
.ccd-testimonial-rating { color: #e0e0e0; font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.ccd-star-filled { color: #f5a623; }
.ccd-testimonial-text {
	font-size: 14.5px;
	line-height: 1.7;
	color: #3a3a3a;
	margin: 0 0 18px;
	position: relative;
	z-index: 1;
}
.ccd-testimonial-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.ccd-testimonial-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.ccd-testimonial-meta { text-align: left; }
.ccd-testimonial-name {
	font-weight: 700;
	font-size: 13.5px;
	margin: 0;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 5px;
}
.ccd-verified-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #2c9c4a;
	color: #fff;
	font-size: 10px;
	line-height: 1;
}
.ccd-testimonial-product { font-size: 11.5px; color: #999; margin: 1px 0 0; }

.ccd-testimonial-progress {
	height: 3px;
	background: #eee;
	border-radius: 2px;
	margin-top: 16px;
	overflow: hidden;
}
.ccd-testimonial-progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #f5a623, #ff6b6b);
	border-radius: 2px;
}

.ccd-testimonial-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 14px;
}
.ccd-t-prev, .ccd-t-next {
	background: #fff;
	border: 1px solid #e2e2e2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ccd-t-prev:hover, .ccd-t-next:hover { background: #f5f5f5; transform: scale(1.08); }
.ccd-testimonial-dots { display: flex; gap: 6px; }
.ccd-testimonial-dots .ccd-dot {
	width: 7px; height: 7px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.25s ease;
}
.ccd-testimonial-dots .ccd-dot.active { background: #f5a623; width: 18px; border-radius: 4px; }

@media (max-width: 480px) {
	.ccd-testimonial-section { padding: 22px 10px; border-radius: 0; }
	.ccd-testimonial-card { padding: 24px 18px 16px; }
	.ccd-testimonial-heading { font-size: 17px; }
	.ccd-countdown-timer { font-size: 24px; }
}

/* ==== Progress Steps ==== */
.ccd-progress-steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 480px;
	margin: 0 auto 28px;
	padding: 0 8px;
}
.ccd-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	min-width: 70px;
}
.ccd-progress-circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	background: #eee;
	color: #888;
	border: 2px solid #eee;
	transition: all 0.25s ease;
}
.ccd-progress-label {
	font-size: 12px;
	color: #999;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}
.ccd-progress-line {
	flex: 1 1 auto;
	height: 2px;
	background: #eee;
	margin-top: 15px;
	min-width: 20px;
}
.ccd-progress-line-done { background: #2c9c4a; }

.ccd-progress-done .ccd-progress-circle {
	background: #2c9c4a;
	border-color: #2c9c4a;
	color: #fff;
}
.ccd-progress-done .ccd-progress-label { color: #2c9c4a; }

.ccd-progress-active .ccd-progress-circle {
	background: #fff;
	border-color: #f5a623;
	color: #f5a623;
	box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
}
.ccd-progress-active .ccd-progress-label { color: #222; }

@media (max-width: 480px) {
	.ccd-progress-steps { margin-bottom: 20px; }
	.ccd-progress-step { min-width: 54px; }
	.ccd-progress-circle { width: 26px; height: 26px; font-size: 11.5px; }
	.ccd-progress-label { font-size: 10.5px; }
}

/* ==== Exit-Intent Popup ==== */
.ccd-exit-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.ccd-exit-popup {
	position: relative;
	max-width: 420px;
	width: 100%;
	border-radius: 14px;
	padding: 32px 28px 28px;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25);
	animation: ccd-exit-pop 0.28s ease;
}
@keyframes ccd-exit-pop {
	from { transform: scale(0.92); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
.ccd-exit-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	padding: 4px;
}
.ccd-exit-close:hover { color: #333; }
.ccd-exit-image {
	max-width: 140px;
	height: auto;
	margin: 0 auto 14px;
	display: block;
	border-radius: 10px;
}
.ccd-exit-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 10px;
	line-height: 1.3;
}
.ccd-exit-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 18px;
}
.ccd-exit-coupon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	border: 2px dashed;
	border-radius: 8px;
	padding: 10px 14px;
	margin: 0 0 20px;
}
.ccd-exit-coupon-label { font-size: 12px; color: #666; }
.ccd-exit-coupon-code {
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 1px;
	color: #222;
}
.ccd-exit-copy {
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	cursor: pointer;
}
.ccd-exit-copy:hover { background: #f5f5f5; }
.ccd-exit-cta {
	border: none;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 20px;
	border-radius: 8px;
	cursor: pointer;
	width: 100%;
	transition: opacity 0.2s ease;
}
.ccd-exit-cta:hover { opacity: 0.9; }

@media (max-width: 480px) {
	.ccd-exit-popup { padding: 26px 20px 22px; }
	.ccd-exit-title { font-size: 18px; }
}
