@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/**
 * SDI OTO Frontend Styles (Lightweight, Transparent Yellow Theme, Capsule #ED7D31 Buttons)
 * Font: Inter (Font-weight 500 for Buttons)
 *
 * @package SDI_OTO
 */

/* Ensure WordPress Dashicons are never overridden by Inter font */
.dashicons,
.dashicons-before:before,
[class*="dashicons-"] {
	font-family: dashicons !important;
}

/* ==========================================================================
   1. CHECKOUT BUMP CONTAINER & CARD (Kuning Muda Transparan)
   ========================================================================== */

.sdi-oto-checkout-wrapper {
	margin: 20px 0 25px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
	container-type: inline-size;
}

.sdi-oto-checkout-wrapper.is-pending-relocate {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.sdi-oto-checkout-wrapper.is-positioned {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	animation: sdiOtoBumpFadeIn 0.22s ease-out forwards;
}

@keyframes sdiOtoBumpFadeIn {
	from {
		opacity: 0;
		transform: translateY(3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sdi-oto-checkout-wrapper * {
	box-sizing: border-box;
}

/* Bump Card with Light Transparent Yellow Theme */
.sdi-oto-bump-card {
	position: relative;
	background: rgba(254, 243, 199, 0.45);
	background: linear-gradient(135deg, rgba(254, 243, 199, 0.55) 0%, rgba(255, 251, 235, 0.75) 100%);
	border: 2px dashed rgba(237, 125, 49, 0.65);
	border-radius: 14px;
	padding: 18px 20px;
	box-shadow: 0 4px 16px -2px rgba(237, 125, 49, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.sdi-oto-bump-card:hover {
	border-color: #d96b20;
	background: rgba(254, 243, 199, 0.65);
	box-shadow: 0 6px 20px -2px rgba(237, 125, 49, 0.2), 0 3px 8px -2px rgba(0, 0, 0, 0.05);
	transform: translateY(-1px);
}

.sdi-oto-bump-card.is-selected {
	background: rgba(236, 253, 245, 0.9);
	background: linear-gradient(135deg, rgba(236, 253, 245, 0.92) 0%, rgba(240, 253, 244, 0.96) 100%);
	border: 2px solid #10b981;
	box-shadow: 0 4px 18px -2px rgba(16, 185, 129, 0.2), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

/* Card Top Bar: Badge & Timer */
.sdi-oto-card-top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.sdi-oto-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ED7D31;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 9999px;
	box-shadow: 0 2px 6px rgba(237, 125, 49, 0.3);
}

.sdi-oto-bump-card.is-selected .sdi-oto-badge-pill {
	background: #10b981;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.sdi-oto-pulse-dot {
	width: 6px;
	height: 6px;
	background-color: #ffffff;
	border-radius: 50%;
	display: inline-block;
	animation: sdiOtoPulse 1.5s infinite;
}

@keyframes sdiOtoPulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

/* Digital Countdown Timer Badge */
.sdi-oto-timer-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #fee2e2;
	color: #dc2626;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	border: 1px solid #fecaca;
}

.sdi-oto-timer-icon {
	color: #dc2626;
	animation: sdiOtoTock 2s infinite ease-in-out;
}

@keyframes sdiOtoTock {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(10deg); }
	75% { transform: rotate(-10deg); }
}

.sdi-oto-timer-digits {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #991b1b;
}

/* Product Row Layout (1 Column on Tablet & Mobile) */
.sdi-oto-product-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.sdi-oto-product-row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}
}

@container (max-width: 768px) {
	.sdi-oto-product-row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}
}

.sdi-oto-image-col {
	width: 80px;
	min-width: 80px;
	height: 80px;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(237, 125, 49, 0.25);
	flex-shrink: 0;
}

.sdi-oto-product-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.sdi-oto-info-col {
	flex-grow: 1;
}

.sdi-oto-product-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
	flex-wrap: wrap;
}

.sdi-oto-product-title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

/* Pricing Typography */
.sdi-oto-product-price {
	font-size: 14.5px;
	white-space: nowrap;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.sdi-oto-product-price del,
.sdi-oto-product-price del .woocommerce-Price-amount {
	color: #64748b !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	text-decoration: line-through !important;
	opacity: 0.85;
}

.sdi-oto-product-price ins,
.sdi-oto-product-price ins .woocommerce-Price-amount,
.sdi-oto-product-price > .woocommerce-Price-amount {
	text-decoration: none !important;
	color: #ED7D31 !important;
	font-weight: 700 !important;
	font-size: 16px !important;
}

.sdi-oto-product-short-desc {
	margin: 0 0 8px 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #475569;
}

/* Persuasive Pitch Box */
.sdi-oto-persuasive-pitch {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: rgba(254, 240, 138, 0.4);
	border-left: 3.5px solid #ED7D31;
	border-radius: 0 8px 8px 0;
	padding: 8px 12px;
	margin-top: 6px;
}

.sdi-oto-pitch-icon {
	color: #ED7D31;
	flex-shrink: 0;
	margin-top: 2px;
}

.sdi-oto-pitch-text {
	font-size: 13.5px;
	font-weight: 600;
	color: #92400e;
	line-height: 1.45;
}

.sdi-oto-pitch-text p {
	margin: 0 0 6px 0;
}
.sdi-oto-pitch-text p:last-child {
	margin-bottom: 0;
}
.sdi-oto-pitch-text ul {
	margin: 4px 0 4px 18px;
	padding: 0;
}

/* Checkbox Area (At the bottom of card) */
.sdi-oto-checkbox-area {
	margin-top: 14px;
	padding: 10px 16px;
	background: rgba(254, 240, 138, 0.55);
	border: 1.5px solid rgba(237, 125, 49, 0.35);
	border-radius: 9999px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.sdi-oto-bump-card.is-selected .sdi-oto-checkbox-area {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.sdi-oto-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	margin: 0;
	user-select: none;
	width: 100%;
}

.sdi-oto-bump-checkbox,
.sdi-oto-preview-bump-check {
	position: absolute !important;
	opacity: 0 !important;
	cursor: pointer !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
}

.sdi-oto-custom-check {
	width: 20px;
	height: 20px;
	min-width: 20px;
	background-color: #ffffff;
	border: 2px solid #ED7D31;
	border-radius: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.sdi-oto-bump-checkbox:checked ~ .sdi-oto-custom-check,
.sdi-oto-preview-bump-check:checked ~ .sdi-oto-custom-check {
	background-color: #10b981 !important;
	border-color: #10b981 !important;
}

.sdi-oto-check-icon {
	width: 13px;
	height: 13px;
	stroke: #ffffff;
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sdi-oto-bump-checkbox:checked ~ .sdi-oto-custom-check .sdi-oto-check-icon,
.sdi-oto-preview-bump-check:checked ~ .sdi-oto-custom-check .sdi-oto-check-icon {
	opacity: 1 !important;
	transform: scale(1) !important;
}

.sdi-oto-cta-text {
	font-weight: 500;
	font-size: 14px;
	color: #92400e;
	letter-spacing: -0.1px;
	flex-grow: 1;
}

.sdi-oto-bump-card.is-selected .sdi-oto-cta-text {
	color: #065f46;
}

/* Loading Spinner Overlay */
.sdi-oto-loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border-radius: 12px;
}

.sdi-oto-spinner {
	width: 24px;
	height: 24px;
	border: 2.5px solid #fed7aa;
	border-top: 2.5px solid #ED7D31;
	border-radius: 50%;
	animation: sdiOtoSpin 0.7s linear infinite;
}

@keyframes sdiOtoSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/* ==========================================================================
   2. DEDICATED UPSELL & DOWNSELL FUNNEL PAGE (Kuning Muda Transparan)
   ========================================================================== */

.sdi-oto-funnel-body {
	margin: 0;
	padding: 0;
	background: #f8fafc;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1e293b;
	-webkit-font-smoothing: antialiased;
}

.sdi-oto-funnel-wrapper {
	min-height: 100vh;
	padding: 35px 20px 60px 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
}

.sdi-oto-funnel-container {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	container-type: inline-size;
}

/* Top Urgency Header */
.sdi-oto-funnel-header {
	text-align: center;
	margin-bottom: 24px;
}

.sdi-oto-funnel-payment-success {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #15803d;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	padding: 5px 16px;
	border-radius: 9999px;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.1px;
	box-shadow: 0 1px 3px rgba(22, 163, 74, 0.08);
}

.sdi-oto-funnel-payment-success svg {
	color: #16a34a;
	flex-shrink: 0;
}

.sdi-oto-funnel-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ED7D31;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 18px;
	border-radius: 9999px;
	box-shadow: 0 3px 10px rgba(237, 125, 49, 0.3);
	margin-bottom: 12px;
}

.sdi-oto-funnel-headline {
	margin: 0 0 14px 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.35;
	color: #0f172a;
	letter-spacing: -0.3px;
}

/* Funnel Countdown Timer Bar (Prominent, High Contrast & Enlarged) */
.sdi-oto-funnel-timer-bar {
	margin: 0 auto 16px auto;
	max-width: 560px;
	background: #fee2e2;
	background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
	border: 2px solid #ef4444;
	border-radius: 9999px;
	padding: 10px 24px;
	box-shadow: 0 4px 18px -2px rgba(239, 68, 68, 0.22);
}

.sdi-oto-funnel-timer-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sdi-oto-funnel-timer-inner .sdi-oto-timer-icon {
	width: 22px;
	height: 22px;
	color: #dc2626;
	flex-shrink: 0;
	animation: sdiOtoTock 2s infinite ease-in-out;
}

.sdi-oto-funnel-timer-inner .sdi-oto-timer-label {
	font-size: 15px;
	font-weight: 800;
	color: #991b1b;
	letter-spacing: -0.2px;
}

.sdi-oto-funnel-timer-inner .sdi-oto-timer-clock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #dc2626;
	background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
	padding: 6px 18px;
	border-radius: 9999px;
	box-shadow: 0 3px 12px rgba(220, 38, 38, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.sdi-oto-funnel-timer-inner .sdi-oto-timer-digits {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
	font-size: 22px !important;
	font-weight: 900 !important;
	letter-spacing: 2px !important;
	color: #ffffff !important;
	line-height: 1 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	display: inline-block;
}

@media (max-width: 520px) {
	.sdi-oto-funnel-timer-bar {
		padding: 10px 16px;
		border-radius: 14px;
	}
	.sdi-oto-funnel-timer-inner {
		gap: 8px;
	}
	.sdi-oto-funnel-timer-inner .sdi-oto-timer-label {
		font-size: 13.5px;
		text-align: center;
		width: 100%;
	}
	.sdi-oto-funnel-timer-inner .sdi-oto-timer-digits {
		font-size: 19px !important;
	}
}

/* Main Funnel Card (Transparent Light Yellow Aesthetic) */
.sdi-oto-funnel-card {
	background: rgba(254, 243, 199, 0.45);
	background: linear-gradient(135deg, rgba(254, 243, 199, 0.5) 0%, rgba(255, 251, 235, 0.75) 100%);
	border: 2px solid rgba(237, 125, 49, 0.4);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 10px 30px -5px rgba(237, 125, 49, 0.15), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.sdi-oto-funnel-card-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 26px;
	align-items: start;
}

@media (max-width: 768px) {
	.sdi-oto-funnel-card-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
	.sdi-oto-funnel-media-col {
		width: 100% !important;
		max-width: 380px !important;
		margin: 0 auto !important;
	}
	.sdi-oto-funnel-content-col {
		width: 100% !important;
	}
	.sdi-oto-funnel-card {
		padding: 20px !important;
	}
	.sdi-oto-funnel-headline {
		font-size: 20px !important;
	}
	.sdi-oto-funnel-pitch-box {
		width: 100% !important;
		box-sizing: border-box !important;
		margin-bottom: 20px !important;
	}
	.sdi-oto-funnel-actions {
		width: 100% !important;
	}
}

@container (max-width: 768px) {
	.sdi-oto-funnel-card-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
	.sdi-oto-funnel-media-col {
		width: 100% !important;
		max-width: 380px !important;
		margin: 0 auto !important;
	}
	.sdi-oto-funnel-content-col {
		width: 100% !important;
	}
	.sdi-oto-funnel-card {
		padding: 20px !important;
	}
	.sdi-oto-funnel-headline {
		font-size: 20px !important;
	}
	.sdi-oto-funnel-pitch-box {
		width: 100% !important;
		box-sizing: border-box !important;
		margin-bottom: 20px !important;
	}
	.sdi-oto-funnel-actions {
		width: 100% !important;
	}
}

.sdi-oto-funnel-img-wrap {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(237, 125, 49, 0.3);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sdi-oto-funnel-product-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.sdi-oto-funnel-product-title {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

.sdi-oto-funnel-price-box {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.sdi-oto-funnel-price-label {
	font-size: 13.5px;
	font-weight: 600;
	color: #78350f;
}

.sdi-oto-funnel-price {
	font-size: 18px;
}

.sdi-oto-funnel-price del,
.sdi-oto-funnel-price del .woocommerce-Price-amount {
	font-size: 20px !important;
}

.sdi-oto-funnel-price ins,
.sdi-oto-funnel-price ins .woocommerce-Price-amount,
.sdi-oto-funnel-price > .woocommerce-Price-amount {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #ED7D31 !important;
}

.sdi-oto-funnel-short-desc {
	margin: 0 0 14px 0;
	font-size: 14px;
	line-height: 1.55;
	color: #334155;
}

/* Sales Pitch Box */
.sdi-oto-funnel-pitch-box {
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(237, 125, 49, 0.25);
	border-left: 4px solid #ED7D31;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	margin-bottom: 22px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sdi-oto-pitch-content {
	font-size: 14.5px;
	line-height: 1.6;
	color: #1e293b;
}

.sdi-oto-pitch-content p {
	margin: 0 0 8px 0;
}
.sdi-oto-pitch-content p:last-child {
	margin-bottom: 0;
}
.sdi-oto-pitch-content ul {
	margin: 6px 0 6px 20px;
	padding: 0;
}
.sdi-oto-pitch-content li {
	margin-bottom: 4px;
}

/* Funnel Action Buttons: YES and NO (Rounded Capsule #ED7D31) */
.sdi-oto-funnel-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.sdi-oto-funnel-btn-yes {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 28px;
	background: #ED7D31 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	border-radius: 9999px !important;
	font-size: 16px;
	font-weight: 500 !important;
	letter-spacing: -0.1px;
	box-shadow: 0 4px 16px rgba(237, 125, 49, 0.35);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.sdi-oto-funnel-btn-yes:hover {
	background: #d96b20 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(237, 125, 49, 0.5);
	color: #ffffff !important;
}

.sdi-oto-funnel-btn-yes .sdi-oto-btn-icon,
.sdi-oto-funnel-btn-yes .sdi-oto-arrow-icon {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.sdi-oto-funnel-btn-yes:hover .sdi-oto-arrow-icon {
	transform: translateX(4px);
}

.sdi-oto-funnel-btn-no {
	display: block;
	text-align: center;
	color: #64748b !important;
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: underline !important;
	padding: 8px 12px;
	transition: color 0.2s ease;
}

.sdi-oto-funnel-btn-no:hover {
	color: #334155 !important;
}

.sdi-oto-funnel-guarantee {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}


/* ==========================================================================
   3. GIMMICK SOCIAL PROOF TOAST POPUP
   ========================================================================== */

.sdi-oto-social-toast {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 12px 16px;
	box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	max-width: 360px;
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	box-sizing: border-box;
}

.sdi-oto-social-toast.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.sdi-oto-social-avatar {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	background: #ED7D31;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 2px 6px rgba(237, 125, 49, 0.3);
}

.sdi-oto-social-content {
	flex-grow: 1;
	font-size: 12.5px;
	line-height: 1.4;
	color: #334155;
}

.sdi-oto-social-content strong {
	color: #0f172a;
	font-weight: 700;
}

.sdi-oto-social-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

.sdi-oto-social-verified {
	color: #10b981;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

@media (max-width: 480px) {
	.sdi-oto-social-toast {
		left: 12px;
		right: 12px;
		bottom: 16px;
		max-width: calc(100% - 24px);
	}
}

/* ==========================================================================
   4. THANK YOU PAGE POST-PURCHASE BUMP OFFERS & BUTTONS (PILL STYLE)
   ========================================================================== */

.sdi-oto-thankyou-wrapper {
	margin: 30px 0;
	padding: 24px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}

.sdi-oto-thankyou-wrapper * {
	box-sizing: border-box;
}

.sdi-oto-thankyou-header {
	text-align: center;
	margin-bottom: 22px;
}

.sdi-oto-thankyou-header .sdi-oto-header-badge {
	display: inline-block;
	background: #fef3c7;
	color: #d97706;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 9999px;
	margin-bottom: 8px;
	border: 1px solid #fde68a;
}

.sdi-oto-thankyou-header h2 {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
	line-height: 1.35;
}

.sdi-oto-thankyou-subtitle {
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
}

.sdi-oto-thankyou-cards-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sdi-oto-post-bump-card {
	border-radius: 14px;
}

.sdi-oto-post-actions-bottom {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(237, 125, 49, 0.2);
}

.sdi-oto-post-btn-orange {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 13px 26px;
	background: #ED7D31 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	border-radius: 9999px !important;
	font-size: 15px;
	font-weight: 500 !important;
	letter-spacing: -0.1px;
	box-shadow: 0 4px 14px rgba(237, 125, 49, 0.35);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	box-sizing: border-box;
	border: none !important;
	cursor: pointer;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.sdi-oto-post-btn-orange:hover {
	background: #d96b20 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(237, 125, 49, 0.5);
	color: #ffffff !important;
}

.sdi-oto-post-btn-orange .sdi-oto-btn-cart-icon,
.sdi-oto-post-btn-orange .sdi-oto-btn-arrow-icon {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.sdi-oto-post-btn-orange:hover .sdi-oto-btn-arrow-icon {
	transform: translateX(4px);
}

/* Global Pill Button and Inter Font for Frontend Buttons */
.sdi-oto-checkout-wrapper button,
.sdi-oto-funnel-wrapper button,
.sdi-oto-thankyou-wrapper button,
.sdi-oto-checkout-wrapper a.button,
.sdi-oto-funnel-wrapper a.button,
.sdi-oto-thankyou-wrapper a.button {
	border-radius: 9999px !important;
	font-weight: 500 !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ==========================================================================
   4. ROUTER SHORTCODE LOADER [redirect_after_payment]
   ========================================================================== */
.sdi-oto-router-loader-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	padding: 40px 20px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	margin: 30px auto;
	max-width: 520px;
}

.sdi-oto-spinner-ring {
	width: 48px;
	height: 48px;
	border: 4px solid #fed7aa;
	border-top-color: #ed7d31;
	border-radius: 50%;
	animation: sdiOtoSpin 0.8s linear infinite;
	margin-bottom: 20px;
}

@keyframes sdiOtoSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

