/* ==========================================================================
   digitalgrowth24 — Dedicated High-Converting Checkout Stylesheet
   Loaded synchronously in <head> to eliminate layout flickering / FOUC
   ========================================================================== */

/* Zero rounded corners across all elements */
*,
*::before,
*::after,
input,
button,
select,
textarea,
img,
label,
span,
div,
section {
	box-sizing: border-box;
}

/* Hide default site header, navigation, and footer on checkout */
.woocommerce-checkout .site-header,
.woocommerce-checkout .site-nav,
.woocommerce-checkout .nav-toggle,
.woocommerce-checkout .nav-actions,
.woocommerce-checkout #site-nav,
.woocommerce-checkout .site-footer,
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text,
.checkout-payment-wrapper.has-single-gateway {
	display: none !important;
}

body.woocommerce-checkout {
	color: #1a1a1a;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
}

/* Security top bar */
.checkout-bar {
	background: #0d0a06;
	color: #fef3c7;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 52px;
	text-align: center;
	border: solid rgba(245, 158, 11, 0.25);
	border-width: 0 0 1px 0;
	letter-spacing: 0.02em;
	display: block;
}

/* Page canvas */
.checkout-wrap {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px 16px 75px;
}

/* Multi-column wrapper for desktop (invisible on mobile) */
.checkout-col {
	display: contents;
}

/* ==========================================================================
   Top Showcase & Timer Flex Wrap (Flex on Desktop, Column on Mobile)
   ========================================================================== */
.checkout-top-wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 0 20px;
}

.checkout-top-wrap .checkout-timer-wrap {
	width: 100%;
	margin: 0 0 14px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.checkout-top-wrap .product-top-showcase {
	margin: 0;
	width: 100%;
}

/* ==========================================================================
   10-Minute Countdown Timer — Luxury Urgency Bar
   ========================================================================== */
.checkout-timer-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 16px;
	width: 100%;
}

.countdown-3d-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 6px 14px;
	border-radius: 4px;
	background: #0d0a06;
	border: 1px solid rgba(245, 158, 11, 0.45);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 12px rgba(245, 158, 11, 0.1);
	user-select: none;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #fbbf24;
	position: relative;
}

/* Subtle golden top accent glow */
.countdown-3d-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(253, 230, 138, 0.75) 50%, transparent 100%);
	pointer-events: none;
}

.timer-prefix-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.timer-badge-icon {
	font-size: 13px;
	line-height: 1;
	display: inline-block;
	animation: timerBoltPulse 1.4s ease-in-out infinite alternate;
}

@keyframes timerBoltPulse {
	0% {
		transform: scale(0.95);
		opacity: 0.85;
	}

	100% {
		transform: scale(1.18);
		opacity: 1;
		filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.9));
	}
}

.timer-prefix {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fde68a;
	white-space: nowrap;
}

.timer-clock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.timer-segment {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}

.timer-box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 4px;
	background: linear-gradient(180deg, #fef08a 0%, #f59e0b 55%, #d97706 100%);
	border: none;
	border-radius: 0 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #120902;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
	font-variant-numeric: tabular-nums;
	line-height: 1;
	position: relative;
	overflow: hidden;
}

/* Tactile split-flap horizontal divider */
.timer-box::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(0, 0, 0, 0.14);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
	pointer-events: none;
}

.timer-label {
	font-size: 7.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fbbf24;
	opacity: 0.92;
}

.timer-colon {
	font-size: 15px;
	font-weight: 700;
	color: #fbbf24;
	margin: -9px 0 0;
	text-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
	animation: timerPulseColon 1.2s ease-in-out infinite alternate;
}

@keyframes timerPulseColon {
	0% {
		opacity: 0.35;
	}

	100% {
		opacity: 1;
	}
}

/* Product top showcase — 2D Flex Layout */
.product-top-showcase {
	display: flex;
	gap: 16px;
	text-align: left;
	margin: 0 0 24px;
}

.product-top-img {
	width: 84px;
	min-width: 84px;
	max-width: 90px;
	border-radius: 4px;
	height: 84px;
	object-fit: cover;
	display: block;
	margin: 0;
	flex-shrink: 0;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.product-top-info {
	flex: 1;
	min-width: 0;
}

.product-top-badge {
	display: inline-block;
	background: #0d0a06;
	color: #fbbf24;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border: 1px solid rgba(245, 158, 11, 0.4);
	margin: 0 0 6px;
}

.checkout-title {
	font-size: clamp(17px, 3.5vw, 22px);
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.product-top-info .checkout-subtitle,
.checkout-subtitle {
	color: #64748b;
	font-size: 13.5px;
	margin: 0;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

/* Clean sections without card boxes */
.checkout-section {
	margin: 0 0 28px;
	border: solid #f1f5f9;
	border-width: 1px 0 0 0;
	padding: 20px 0 0;
}

.section-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-desc {
	font-size: 13px;
	color: #0ea70e;
	margin: 0 0 14px;
	font-weight: 600;
}

/* Flat form inputs (Zero Rounded Corners) */
.form-field {
	margin: 0 0 14px;
}

.form-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	margin: 0 0 6px;
}

.form-input {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #0f172a;
	background: #ffffff;
	border: 1px solid #cbd5e1 !important;
	border-radius: 0 !important;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.form-input:focus {
	border: 1px solid #7c3aed !important;
	background: #ffffff;
	outline: none !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

/* ==========================================================================
   Order Bump Cards - Original High-Converting Style with Shimmer & Glow
   ========================================================================== */
.dg-checkout__bumps-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.dg-order-bump-card.upsell-card {
	position: relative;
	background: #FFFBEB;
	border: 2px dashed #F59E0B;
	border-radius: 0;
	padding: 14px 14px 14px 14px;
	margin-bottom: 0.5rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
	animation: borderGlowAmber 3s infinite ease-in-out;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.dg-order-bump-card.upsell-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.2) 80%, transparent 100%);
	transform: translateX(-150%) skewX(-25deg);
	pointer-events: none;
	opacity: 1;
	z-index: 6;
	animation: upsellCardShimmer 2.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.dg-order-bump-card.upsell-card:hover {
	border-color: #D97706;
	box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
	transform: translateY(-1px);
}

.dg-order-bump-card.upsell-card.active-upsell,
.dg-order-bump-card.upsell-card.dg-order-bump-card--active,
.dg-order-bump-card.upsell-card.selected,
.dg-order-bump-card.upsell-card:has(input:checked) {
	background: #F0FDF4;
	border: 2px dashed #16A34A;
	border-radius: 0;
	box-shadow: 0 4px 16px rgba(22, 163, 74, 0.16);
	animation: none;
}

.dg-order-bump-card.upsell-card.active-upsell::after,
.dg-order-bump-card.upsell-card.dg-order-bump-card--active::after,
.dg-order-bump-card.upsell-card.selected::after,
.dg-order-bump-card.upsell-card:has(input:checked)::after {
	display: none;
	opacity: 0;
	animation: none;
}

.upsell-ribbon {
	position: absolute;
	top: 14px;
	right: -36px;
	width: 140px;
	text-align: center;
	background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
	color: #FFFFFF;
	font-size: 0.56rem;
	font-weight: 800;
	padding: 3px 0;
	transform: rotate(45deg);
	box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3);
	letter-spacing: 0.04em;
	pointer-events: none;
	z-index: 5;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1.3;
}

.upsell-checkbox-label {
	display: block;
	cursor: pointer;
	width: 100%;
	margin: 0;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
}

.upsell-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.upsell-header-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-right: 56px;
	margin-bottom: 8px;
}

.upsell-check-box {
	width: 22px;
	height: 22px;
	min-width: 22px;
	border-radius: 4px;
	background: #FFFFFF;
	border: 2px solid #F59E0B;
	color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	animation: checkmarkWavePulse 1.8s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.upsell-checkbox:checked~.upsell-header-row .upsell-check-box,
.dg-order-bump-card--active .upsell-check-box,
.upsell-card.selected .upsell-check-box {
	background: #16A34A;
	border-color: #16A34A;
	color: #FFFFFF;
	transform: scale(1.05);
	box-shadow: none;
	animation: none;
}

.upsell-checkbox:checked~.upsell-header-row .upsell-check-box svg,
.dg-order-bump-card--active .upsell-check-box svg,
.upsell-card.selected .upsell-check-box svg {
	opacity: 1;
	stroke: #FFFFFF;
	color: #FFFFFF;
	display: block;
	animation: svgCheckDraw 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.upsell-title {
	font-size: 0.92rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.35;
	flex: 1;
}

.upsell-body-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
}

.dg-bump-img-wrap {
	flex-shrink: 0;
	width: 58px;
	height: 58px;
	aspect-ratio: 1 / 1;
	margin-top: 2px;
}

.dg-order-bump-card .dg-bump-img,
.dg-bump-img {
	width: 58px;
	height: 58px;
	max-width: 58px;
	max-height: 58px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #E2E8F0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	background: #F8FAFC;
	display: block;
}

.upsell-content {
	flex: 1;
	min-width: 0;
	padding-right: 0;
}

.upsell-desc {
	font-size: 0.78rem;
	color: #475569;
	line-height: 1.4;
	margin: 0 0 6px 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.upsell-price-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}

.dg-order-bump-card .upsell-price-current,
.upsell-price-current {
	font-size: 1.1rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
	letter-spacing: -0.01em;
	display: inline-block;
}

[data-theme="dark"] .dg-order-bump-card .upsell-price-current,
[data-theme="dark"] .upsell-price-current {
	color: #f8fafc;
}

.dg-order-bump-card .upsell-price-original,
.upsell-price-original {
	display: inline-flex;
	align-items: center;
}

.dg-order-bump-card .upsell-price-strike,
.upsell-price-strike {
	font-size: 0.84rem;
	color: #94a3b8;
	text-decoration: line-through;
	font-weight: 500;
	line-height: 1;
}

[data-theme="dark"] .dg-order-bump-card .upsell-price-strike,
[data-theme="dark"] .upsell-price-strike {
	color: #64748b;
}

.dg-order-bump-card .upsell-price-badge,
.upsell-price-badge,
.dg-order-bump-card .upsell-price-highlight,
.upsell-price-highlight {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: 0.02em;
	line-height: 1.25;
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
}

[data-theme="dark"] .dg-order-bump-card .upsell-price-badge,
[data-theme="dark"] .upsell-price-badge,
[data-theme="dark"] .dg-order-bump-card .upsell-price-highlight,
[data-theme="dark"] .upsell-price-highlight {
	background: rgba(16, 185, 129, 0.18);
	color: #34d399;
	border-color: rgba(52, 211, 153, 0.35);
}

.dg-order-bump-card .upsell-note,
.upsell-note {
	font-size: 0.74rem;
	font-weight: 700;
	color: #B45309;
	display: flex;
	align-items: center;
	gap: 4px;
	line-height: 1.35;
	min-height: 20px;
	box-sizing: border-box;
	transition: color 0.25s ease;
}

.dg-order-bump-card.dg-order-bump-card--active .upsell-note,
.dg-order-bump-card--active .upsell-note,
.active-upsell .upsell-note,
.upsell-card.selected .upsell-note {
	color: #15803D;
}

@keyframes upsellCardShimmer {
	0% {
		transform: translateX(-150%) skewX(-25deg);
		opacity: 0;
	}

	12% {
		opacity: 0.95;
	}

	62% {
		transform: translateX(220%) skewX(-25deg);
		opacity: 0.95;
	}

	63% {
		opacity: 0;
	}

	100% {
		transform: translateX(220%) skewX(-25deg);
		opacity: 0;
	}
}

@keyframes continuousShimmer {
	0% {
		transform: translateX(-150%) skewX(-25deg);
		opacity: 0;
	}

	12% {
		opacity: 0.95;
	}

	62% {
		transform: translateX(220%) skewX(-25deg);
		opacity: 0.95;
	}

	63% {
		opacity: 0;
	}

	100% {
		transform: translateX(220%) skewX(-25deg);
		opacity: 0;
	}
}

@keyframes checkmarkWavePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
		box-shadow: 0 0 0 4px rgba(245, 158, 11, 0);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
	}
}

@keyframes svgCheckDraw {
	0% {
		stroke-dasharray: 24;
		stroke-dashoffset: 24;
		opacity: 0;
	}

	100% {
		stroke-dasharray: 24;
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

@keyframes borderGlowAmber {

	0%,
	100% {
		border-color: #F59E0B;
		box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
	}

	50% {
		border-color: #D97706;
		box-shadow: 0 4px 16px rgba(245, 158, 11, 0.22);
	}
}

/* ==========================================================================
   Checkout Payment Methods UI — Modern Gateway Cards & Sticky CTA Sync
   ========================================================================== */

.checkout-payment-wrapper {
	margin: 14px 0 16px;
}

.payment-section-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

#payment.woocommerce-checkout-payment {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}

/* When only a single gateway is configured, hide the redundant radio list */
.checkout-payment-wrapper.has-single-gateway ul.payment_methods,
.checkout-payment-wrapper.has-single-gateway .payment-section-title,
#payment ul.payment_methods:not(:has(li:nth-child(2))),
#payment ul.payment_methods li:only-child {
	display: none !important;
}

/* When 2+ gateways exist, render modern selectable gateway cards */
#payment ul.payment_methods {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 10px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
}

#payment ul.payment_methods li.wc_payment_method {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	margin: 0 !important;
}

#payment ul.payment_methods li.wc_payment_method:hover {
	border-color: #cbd5e1 !important;
	background: #f8fafc !important;
}

#payment ul.payment_methods li.wc_payment_method:has(input:checked),
#payment ul.payment_methods li.wc_payment_method.is-selected {
	border-color: #4f46e5 !important;
	background: #f5f3ff !important;
	box-shadow: 0 0 0 1px #4f46e5 !important;
}

#payment ul.payment_methods li.wc_payment_method label {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	cursor: pointer !important;
	margin: 0 !important;
	width: 100% !important;
}

#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
	accent-color: #4f46e5 !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
	cursor: pointer !important;
}

#payment ul.payment_methods li.wc_payment_method label img {
	max-height: 24px !important;
	max-width: 80px !important;
	width: auto !important;
	margin-left: auto !important;
	object-fit: contain !important;
}

/* Hide bulky description box */
#payment .payment_box {
	display: none !important;
}

/* Visually hide place_order button in #payment (single sticky #pay-button triggers it) */
#payment .form-row.place-order #place_order {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
}

#payment .form-row.place-order {
	margin: 0 !important;
	padding: 0 !important;
}

/* Order summary flat table */
.summary-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0 0 10px;
	table-layout: fixed;
}

.summary-table td {
	padding: 10px 0;
	border: solid #f1f5f9;
	border-width: 0 0 1px 0;
	color: #475569;
	vertical-align: middle;
}

.summary-table td:first-child {
	width: 72%;
	padding-right: 12px;
}

.summary-table td:last-child {
	width: 28%;
	text-align: right;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}

/* Max 2 lines product name with ellipsis truncation */
.summary-product-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.35;
	max-height: 2.7em;
	word-break: break-word;
}

.summary-table .upsell-line {
	color: #7c3aed;
}

.summary-table .subtotal-line td {
	border-top: 1px solid #f1f5f9;
	color: #64748b;
	font-size: 13.5px;
	padding: 12px 0 6px;
}

.summary-table .discount-line td {
	padding: 10px 0 !important;
	border: solid #e2e8f0;
	border-width: 0 0 1px 0;
	vertical-align: middle;
}

.discount-shimmer-wrap {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0;
	background: transparent;
	border: none;
	box-sizing: border-box;
}

/* Diagonal flash / light beam animation across the row */
.discount-shimmer-wrap::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -80%;
	width: 50%;
	height: 200%;
	background: linear-gradient(to right,
			rgba(16, 185, 129, 0) 0%,
			rgba(16, 185, 129, 0.28) 50%,
			rgba(16, 185, 129, 0) 100%);
	transform: rotate(25deg);
	animation: dg-pay-shimmer 2.8s infinite ease-in-out;
	pointer-events: none;
}

.discount-shimmer-wrap .discount-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.4;
}


.discount-shimmer-wrap .discount-value,
.summary-table .discount-line #summary-discount {
	font-size: 15px;
	font-weight: 700 !important;
	color: #059669 !important;
	white-space: nowrap;
	line-height: 1.4;
	text-align: right;
}

.summary-table .total-line td {
	border-top: 1px solid #f1f5f9;
	font-size: 15px;
	font-weight: 600;
	color: #334155;
	padding: 10px 0 2px;
}

.summary-table .total-line td:last-child {
	color: #0f172a;
	font-size: 16px;
	font-weight: 700;
}

/* Trust & Guarantee bottom notice */
.trust-block {
	text-align: center;
	padding: 8px 0 0;
	margin: 0;
}

.trust-block img,
.trust-img {
	max-width: 170px;
	width: 100%;
	height: auto;
	margin: 0 auto 8px;
	display: block;
}

.trust-block p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

/* ONLY ONE Sticky Pay Now footer bar (Both Desktop & Mobile) */
.checkout-footer {
	position: fixed;
	width: 100%;
	inset: auto 0 0 0;
	z-index: 1000;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-width: 1px 0 0 0;
}

.pay-btn {
	position: relative;
	overflow: hidden;
	width: 92%;
	max-width: 640px;
	padding: 16px 24px;
	background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #6366f1 100%);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 8px;
	box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.5);
	transition: background 0.2s ease, transform 0.15s ease;
}

.pay-btn.is-loading {
	justify-content: center;
}

.pay-btn-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-align: left;
}

.pay-btn #btn-amount,
.pay-btn .pay-btn-price {
	margin-left: auto;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-align: right;
	white-space: nowrap;
}

/* Pay Now continuous diagonal shimmer / light beam animation */
.pay-btn::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -80%;
	width: 50%;
	height: 200%;
	background: linear-gradient(to right,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0.45) 50%,
			rgba(255, 255, 255, 0) 100%);
	transform: rotate(25deg);
	animation: dg-pay-shimmer 2.8s infinite ease-in-out;
	pointer-events: none;
}

.pay-btn.is-loading::after {
	display: none;
}

@keyframes dg-pay-shimmer {
	0% {
		left: -80%;
	}

	35% {
		left: 135%;
	}

	100% {
		left: 135%;
	}
}

.pay-btn:hover {
	background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
}

.pay-btn:active {
	background: #4338ca;
}

.checkout-footer .sales-note {
	font-style: italic;
	font-size: 10px;
	font-weight: 600;
	padding: 5px;
	background: #000;
	width: 100%;
	text-align: center;
	color: #f8fafc;
	display: block;
}

/* WooCommerce Notices */
.checkout-notices-container {
	margin-bottom: 14px;
	width: 100%;
}

.woocommerce-checkout .woocommerce-message {
	display: none !important;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	padding: 10px 14px !important;
	margin: 0 0 14px !important;
	font-size: 14px !important;
	list-style: none !important;
	border-radius: 0 !important;
}

.woocommerce-error {
	background: #fef2f2 !important;
	border-left: 4px solid #ef4444 !important;
	color: #991b1b !important;
}

/* Responsive for small mobile */
@media (max-width: 480px) {
	.checkout-bar {
		padding: 8px 14px !important;
		font-size: 11.5px !important;
	}

	.checkout-timer-wrap {
		margin: 0 0 14px;
	}

	.countdown-3d-wrapper {
		width: 100%;
		gap: 8px;
		padding: 6px 10px;
		justify-content: space-between;
	}

	.timer-badge-icon {
		font-size: 12px;
	}

	.timer-prefix {
		font-size: 10px;
		letter-spacing: 0.04em;
	}

	.timer-clock {
		gap: 5px;
	}

	.timer-box {
		min-width: 28px;
		height: 28px;
		font-size: 14px;
		padding: 0 2px;
	}

	.timer-colon {
		font-size: 13px;
		margin: -8px 0 0;
	}

	.timer-label {
		font-size: 6.5px;
		letter-spacing: 0.05em;
	}

	.dg-order-bump-card.upsell-card {
		padding: 12px 10px 12px 10px !important;
	}

	.upsell-ribbon {
		top: 12px !important;
		right: -38px !important;
		width: 136px !important;
		font-size: 0.52rem !important;
		padding: 2.5px 0 !important;
		letter-spacing: 0.03em !important;
	}

	.upsell-header-row {
		gap: 8px !important;
		padding-right: 48px !important;
		margin-bottom: 6px !important;
	}

	.upsell-title {
		font-size: 0.86rem !important;
		line-height: 1.3 !important;
	}

	.upsell-body-row {
		gap: 10px !important;
	}

	.dg-bump-img {
		width: 52px !important;
		height: 52px !important;
		max-width: 52px !important;
		max-height: 52px !important;
	}

	.upsell-desc {
		font-size: 0.74rem !important;
		line-height: 1.35 !important;
		margin-bottom: 5px !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
	}

	.upsell-price-row {
		gap: 6px !important;
		margin-bottom: 5px !important;
	}

	.upsell-price-current {
		font-size: 1.05rem !important;
	}

	.upsell-price-strike {
		font-size: 0.8rem !important;
	}

	.upsell-price-badge,
	.upsell-price-highlight {
		font-size: 0.7rem !important;
		padding: 2px 6px !important;
	}

	.upsell-note {
		font-size: 0.71rem !important;
		min-height: 32px !important;
		box-sizing: border-box !important;
	}

	.pay-btn {
		font-size: 15px;
		padding: 14px 18px;
	}

	.pay-btn #btn-amount,
	.pay-btn .pay-btn-price {
		font-size: 15px;
	}
}

/* Responsive for desktop - 2-column layout without changing mobile */
@media (min-width: 840px) {
	.checkout-wrap {
		max-width: 1040px;
		padding: 32px 24px 74px;
	}

	.checkout-top-wrap {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		margin: 0 0 32px;
	}

	.checkout-top-wrap .product-top-showcase {
		flex: 1;
		min-width: 0;
		margin: 0;
		order: 1;
		gap: 24px;
	}

	.checkout-top-wrap .checkout-timer-wrap {
		width: auto;
		flex-shrink: 0;
		margin: 0;
		order: 2;
		justify-content: flex-end;
	}

	.product-top-showcase {
		gap: 28px;
		margin: 0 0 32px;
	}

	.product-top-img {
		width: 120px;
		min-width: 120px;
		max-width: 130px;
		height: 120px;
		margin: 0;
		flex-shrink: 0;
	}

	.product-top-info {
		flex: 1;
	}

	#order-form {
		display: grid;
		grid-template-columns: 1.15fr 0.85fr;
		gap: 36px;
		align-items: start;
	}

	/* Strictly anchor columns to their grid tracks so injected elements never shift them */
	.checkout-col:first-of-type {
		grid-column: 1 !important;
	}

	.checkout-col:last-of-type {
		grid-column: 2 !important;
		position: sticky;
		inset: 24px auto auto auto;
	}

	/* Any notice or unexpected element inside #order-form spans full width at the top */
	#order-form>.woocommerce-NoticeGroup,
	#order-form>.woocommerce-NoticeGroup-checkout,
	#order-form>.woocommerce-error,
	#order-form>.woocommerce-message,
	#order-form>.woocommerce-info,
	#order-form>div:not(.checkout-col) {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}

	.checkout-col {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.checkout-section {
		margin: 0;
	}

	.checkout-footer {
		position: static !important;
		inset: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 18px 0 0 0 !important;
		z-index: auto !important;
	}

	.checkout-footer .pay-btn {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		border-radius: 8px !important;
	}

	.dg-checkout-trust-badges {
		margin-top: 14px !important;
		padding-top: 0 !important;
		border-top: none !important;
	}
}

/* ==========================================================================
   Coupon Code Widget in Order Summary
   ========================================================================== */
.dg-coupon-container {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #e2e8f0;
}

.dg-coupon-input-wrap {
	display: flex;
	gap: 8px;
	width: 100%;
}

.dg-coupon-input {
	flex: 1;
	min-width: 0;
	padding: 9px 12px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	border: 1.5px solid #cbd5e1;
	border-radius: 0 !important;
	outline: none;
	box-shadow: none !important;
	background: #ffffff;
	color: #0f172a;
	transition: border-color 0.2s;
}

.dg-coupon-input:focus {
	border-color: #0f172a;
	box-shadow: none !important;
	outline: none !important;
}

.dg-coupon-input.dg-coupon-autofilled {
	border-color: #7c3aed !important;
	animation: dg-coupon-pulse 1.8s ease-in-out;
}

@keyframes dg-coupon-pulse {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
	}

	50% {
		box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25);
	}
}

.dg-coupon-apply-btn {
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff !important;
	background: #0f172a !important;
	border: none;
	border-radius: 0 !important;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	white-space: nowrap;
}

.dg-coupon-apply-btn:hover {
	background: #1e293b !important;
}

.dg-coupon-apply-btn:active {
	transform: scale(0.97);
}

.dg-coupon-remove-btn {
	background: none !important;
	border: none !important;
	color: #dc2626 !important;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 4px !important;
}

.dg-coupon-remove-btn:hover {
	background: #fee2e2 !important;
}

.dg-coupon-status {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
}

.dg-coupon-status.success {
	color: #059669;
}

.dg-coupon-status.error {
	color: #dc2626;
}

/* ==========================================================================
   Checkout Payment Badges Component (Below Coupon Box)
   ========================================================================== */
.dg-checkout-trust-badges {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.dg-trust-badges-label {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.dg-trust-badges-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
}

.dg-payment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 24px;
	border-radius: 3.5px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dg-payment-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.dg-payment-badge svg {
	width: 38px;
	height: 24px;
	display: block;
}

.dg-payment-badge-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 6px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 3.5px;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	line-height: 1;
	user-select: none;
}



/* ==========================================================================
   3D Discount Reminder Notification Modal
   ========================================================================== */
.dg-discount-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.dg-discount-modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.dg-discount-modal-overlay[style*="display: block"],
.dg-discount-modal-overlay[style*="display:block"] {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.dg-discount-modal-overlay[style*="display: block"] .dg-discount-modal-card,
.dg-discount-modal-overlay[style*="display:block"] .dg-discount-modal-card {
	transform: scale(1) translateY(0) !important;
}

.dg-discount-modal-card {
	position: relative;
	background: #ffffff;
	border-radius: 28px !important;
	width: 100%;
	max-width: 350px;
	padding: 30px 24px 28px 24px;
	text-align: center;
	box-shadow: 0 28px 65px -12px rgba(255, 42, 115, 0.28), 0 16px 36px -6px rgba(0, 0, 0, 0.16);
	margin: auto;
	transform: scale(0.82) translateY(24px);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dg-discount-modal-overlay.is-active .dg-discount-modal-card {
	transform: scale(1) translateY(0);
}

.dg-discount-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 28px;
	height: 28px;
	background: #f1f5f9 !important;
	border: none !important;
	border-radius: 50% !important;
	font-size: 18px;
	line-height: 1;
	color: #64748b !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
	z-index: 10;
}

.dg-discount-modal-close:hover {
	background: #e2e8f0 !important;
	color: #0f172a !important;
}

/* Header with Centered Badge & Flanking Ringing Bells */
.dg-discount-modal-header {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 auto 16px;
}

/* Center Dark Badge */
.dg-discount-badge {
	position: relative;
	width: 78px;
	height: 72px;
	background: #161722;
	border-radius: 20px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	z-index: 3;
	flex-shrink: 0;
	margin: 0;
}

.dg-discount-badge-tail {
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 7px solid #161722;
}

.dg-discount-badge-pct {
	color: #ff2d75;
	font-size: 26px;
	font-weight: 900;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1;
	letter-spacing: -0.5px;
	text-shadow: 0 0 14px rgba(255, 45, 117, 0.45);
	user-select: none;
	white-space: nowrap;
}

/* Flanking Ringing Bells */
.dg-bell-wrap {
	position: relative;
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	z-index: 2;
}

.dg-bell-svg {
	filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.35));
}

.dg-bell-wrap--left .dg-bell-svg {
	transform-origin: top center;
	animation: dg-bell-ring-left 2s ease-in-out infinite;
}

.dg-bell-wrap--right .dg-bell-svg {
	transform-origin: top center;
	animation: dg-bell-ring-right 2s ease-in-out infinite;
}

/* Flanking Sound Waves */
.dg-sound-waves {
	position: absolute;
	top: 10px;
	z-index: 1;
	animation: dg-sound-wave-pulse 1.6s ease-in-out infinite alternate;
}

.dg-sound-waves--left {
	left: -14px;
}

.dg-sound-waves--right {
	right: -14px;
}

@keyframes dg-bell-ring-left {

	0%,
	100% {
		transform: rotate(-22deg);
	}

	20%,
	60% {
		transform: rotate(-32deg);
	}

	40%,
	80% {
		transform: rotate(-14deg);
	}
}

@keyframes dg-bell-ring-right {

	0%,
	100% {
		transform: rotate(22deg);
	}

	20%,
	60% {
		transform: rotate(14deg);
	}

	40%,
	80% {
		transform: rotate(32deg);
	}
}

@keyframes dg-sound-wave-pulse {
	0% {
		opacity: 0.4;
		transform: scale(0.92);
	}

	100% {
		opacity: 1;
		transform: scale(1.08);
	}
}

/* Modal Body */
.dg-discount-modal-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 4px 10px 8px 10px;
}

.dg-discount-modal-title {
	font-size: 23px;
	font-weight: 800;
	color: #1a1d26;
	margin: 0 0 6px 0;
	letter-spacing: -0.4px;
	line-height: 1.25;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dg-discount-modal-desc {
	font-size: 15px;
	font-weight: 500;
	color: #475569;
	margin: 0;
	line-height: 1.45;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: center;
}

.dg-discount-modal-desc strong {
	color: #e11d48;
	font-weight: 800;
}

.dg-discount-apply-btn {
	margin-top: 16px;
	width: 100%;
	padding: 13px 20px;
	background: linear-gradient(135deg, #ff2d75 0%, #e11d48 100%);
	color: #ffffff !important;
	border: none !important;
	border-radius: 14px !important;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.04em;
	cursor: pointer;
	box-shadow: 0 10px 24px -4px rgba(255, 45, 117, 0.45);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	outline: none;
	font-family: inherit;
}

.dg-discount-apply-btn:hover {
	background: linear-gradient(135deg, #ff1a67 0%, #be123c 100%);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -4px rgba(255, 45, 117, 0.55);
}

.dg-discount-apply-btn:active {
	transform: translateY(1px) scale(0.98);
	box-shadow: 0 6px 16px -2px rgba(255, 45, 117, 0.35);
}

/* ==========================================================================
   Sticky Pay CTA Button Loading State
   ========================================================================== */
.pay-btn.is-loading {
	position: relative;
	pointer-events: none;
	opacity: 0.92;
	background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: not-allowed !important;
}

/* Three Circle Bouncing Loader */
.dg-three-dots-loader {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 24px;
	padding: 2px 0;
}

.dg-three-dots-loader span {
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	border-radius: 50% !important;
	display: inline-block;
	animation: dg-three-circle-bounce 1.3s infinite ease-in-out both;
}

.dg-three-dots-loader span:nth-child(1) {
	animation-delay: -0.32s;
}

.dg-three-dots-loader span:nth-child(2) {
	animation-delay: -0.16s;
}

.dg-three-dots-loader span:nth-child(3) {
	animation-delay: 0s;
}

@keyframes dg-three-circle-bounce {

	0%,
	80%,
	100% {
		transform: scale(0.35);
		opacity: 0.35;
	}

	40% {
		transform: scale(1.15);
		opacity: 1;
	}
}

/* Validation Error States */
.form-input.input-error {
	border: 1.5px dashed #ef4444 !important;
	background-color: #fef2f2 !important;
	animation: dgInputShake 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes dgInputShake {

	10%,
	90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%,
	80% {
		transform: translate3d(2px, 0, 0);
	}

	30%,
	50%,
	70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%,
	60% {
		transform: translate3d(4px, 0, 0);
	}
}

.dg-input-error-msg {
	color: #dc2626;
	font-size: 12px;
	font-weight: 600;
	margin-top: 5px;
	display: block;
	letter-spacing: -0.01em;
}