/**
 * Roofing Cost Calculator Live Demo - Frontend Styles
 * All classes prefixed with .rcd- to prevent theme/plugin conflicts.
 */

/* Root & CSS Variables */
.rcd-root {
	--rcd-primary: #1E3A8A;
	--rcd-primary-hover: #1e40af;
	--rcd-primary-light: #eff6ff;
	--rcd-primary-ring: rgba(30, 58, 138, 0.25);
	--rcd-slate-900: #0f172a;
	--rcd-slate-800: #1e293b;
	--rcd-slate-700: #334155;
	--rcd-slate-600: #475569;
	--rcd-slate-500: #64748b;
	--rcd-slate-400: #94a3b8;
	--rcd-slate-300: #cbd5e1;
	--rcd-slate-200: #e2e8f0;
	--rcd-slate-100: #f1f5f9;
	--rcd-slate-50: #f8fafc;
	--rcd-white: #ffffff;
	--rcd-success: #059669;
	--rcd-success-light: #ecfdf5;
	--rcd-danger: #dc2626;
	--rcd-radius-sm: 6px;
	--rcd-radius-md: 10px;
	--rcd-radius-lg: 16px;
	--rcd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--rcd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	--rcd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--rcd-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--rcd-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	font-family: var(--rcd-font-family);
	color: var(--rcd-slate-800);
	line-height: 1.5;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
}

.rcd-root *,
.rcd-root *::before,
.rcd-root *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   1. TOP STICKY SALES BAR
   ========================================================================== */
.rcd-sticky-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #0f172a;
	color: #f8fafc;
	padding: 10px 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	transition: top 0.2s ease;
}

/* Account for WordPress Admin Bar */
body.admin-bar .rcd-sticky-bar {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .rcd-sticky-bar {
		top: 46px;
	}
}

.rcd-sticky-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.rcd-sticky-text {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 500;
	color: #e2e8f0;
	flex: 1 1 300px;
}

.rcd-live-pulse-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(16, 185, 129, 0.2);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #34d399;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 9999px;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.rcd-pulse-dot {
	width: 7px;
	height: 7px;
	background-color: #10b981;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 8px #10b981;
	animation: rcdPulse 1.8s infinite;
}

@keyframes rcdPulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		transform: scale(1.15);
		box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

.rcd-sticky-copy {
	line-height: 1.4;
}

.rcd-btn-sticky {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
	padding: 8px 18px;
	border-radius: 9999px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rcd-btn-sticky:hover {
	background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.5);
	color: #ffffff;
}

/* ==========================================================================
   2. CUSTOM QUOTE INQUIRY MODAL
   ========================================================================== */
.rcd-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rcd-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.rcd-modal-dialog {
	background: #ffffff;
	border-radius: var(--rcd-radius-lg);
	max-width: 580px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	border: 1px solid var(--rcd-slate-200);
	transform: translateY(20px) scale(0.98);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 28px;
}

.rcd-modal-overlay.is-open .rcd-modal-dialog {
	transform: translateY(0) scale(1);
}

.rcd-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--rcd-slate-200);
	padding-bottom: 16px;
}

.rcd-modal-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: var(--rcd-primary-light);
	color: var(--rcd-primary);
	padding: 3px 10px;
	border-radius: 9999px;
	margin-bottom: 8px;
}

.rcd-modal-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--rcd-slate-900);
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.rcd-modal-desc {
	font-size: 13px;
	color: var(--rcd-slate-600);
	margin: 0;
	line-height: 1.5;
}

.rcd-modal-close {
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: var(--rcd-slate-400);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: all 0.15s ease;
}

.rcd-modal-close:hover {
	color: var(--rcd-slate-800);
	background: var(--rcd-slate-100);
}

.rcd-form-row {
	margin-bottom: 16px;
}

.rcd-form-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 600px) {
	.rcd-form-two-col {
		grid-template-columns: 1fr;
	}
}

.rcd-input-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--rcd-slate-700);
	margin-bottom: 6px;
}

.rcd-req {
	color: var(--rcd-danger);
}

.rcd-input-group input,
.rcd-input-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--rcd-slate-300);
	border-radius: var(--rcd-radius-sm);
	font-size: 14px;
	font-family: inherit;
	color: var(--rcd-slate-900);
	background: #ffffff;
	transition: all 0.2s ease;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rcd-input-group input:focus,
.rcd-input-group textarea:focus {
	border-color: var(--rcd-primary);
	box-shadow: 0 0 0 3px var(--rcd-primary-ring);
	outline: none;
}

.rcd-modal-notice {
	padding: 12px 16px;
	border-radius: var(--rcd-radius-sm);
	font-size: 13px;
	margin-bottom: 16px;
	line-height: 1.4;
}

.rcd-modal-notice.is-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.rcd-modal-notice.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.rcd-modal-footer {
	margin-top: 20px;
}

.rcd-modal-guarantee {
	font-size: 12px;
	color: var(--rcd-slate-500);
	text-align: center;
	margin: 10px 0 0 0;
}

/* ==========================================================================
   3. MAIN CONTAINER & LIVE BRAND CUSTOMIZER STRIP
   ========================================================================== */
.rcd-container {
	max-width: 980px;
	margin: 30px auto;
	padding: 0 16px;
	width: 100%;
}

/* Give top space if sticky bar is present */
.rcd-root:has(.rcd-sticky-bar) .rcd-container {
	margin-top: 70px;
}

/* Brand Customizer Strip */
.rcd-brand-customizer {
	background: #ffffff;
	border: 1px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-md);
	padding: 12px 20px;
	margin-bottom: 20px;
	box-shadow: var(--rcd-shadow-sm);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.rcd-customizer-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--rcd-slate-800);
}

.rcd-customizer-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: #f1f5f9;
	color: #475569;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}

.rcd-customizer-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.rcd-customizer-input-wrap {
	display: flex;
	align-items: center;
	background: var(--rcd-slate-50);
	border: 1px solid var(--rcd-slate-300);
	border-radius: var(--rcd-radius-sm);
	padding: 4px 10px;
	transition: all 0.2s ease;
}

.rcd-customizer-input-wrap:focus-within {
	border-color: var(--rcd-primary);
	background: #ffffff;
	box-shadow: 0 0 0 2px var(--rcd-primary-ring);
}

.rcd-customizer-icon {
	margin-right: 8px;
	font-size: 14px;
}

.rcd-company-input {
	border: none;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	color: var(--rcd-slate-800);
	outline: none;
	width: 220px;
	padding: 4px 0;
	font-family: inherit;
}

/* Color Swatches */
.rcd-color-switcher {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rcd-color-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	cursor: pointer;
	position: relative;
	box-shadow: 0 0 0 1px var(--rcd-slate-300);
	transition: all 0.2s ease;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rcd-color-swatch:hover {
	transform: scale(1.1);
}

.rcd-color-swatch.is-active {
	box-shadow: 0 0 0 2px var(--rcd-slate-900), 0 2px 4px rgba(0, 0, 0, 0.15);
	transform: scale(1.08);
}

.rcd-swatch-navy { background-color: #1E3A8A; }
.rcd-swatch-green { background-color: #065F46; }
.rcd-swatch-orange { background-color: #C2410C; }
.rcd-swatch-crimson { background-color: #991B1B; }

.rcd-swatch-check {
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	display: none;
}

.rcd-color-swatch.is-active .rcd-swatch-check {
	display: block;
}

/* ==========================================================================
   4. CALCULATOR CARD CONTAINER
   ========================================================================== */
.rcd-calculator-card {
	background: #ffffff;
	border: 1px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-lg);
	box-shadow: var(--rcd-shadow-xl);
	overflow: hidden;
	transition: border-color 0.3s ease;
}

/* Card Header */
.rcd-card-header {
	background: linear-gradient(180deg, #ffffff 0%, var(--rcd-slate-50) 100%);
	border-bottom: 1px solid var(--rcd-slate-200);
	padding: 24px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.rcd-header-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rcd-brand-avatar {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--rcd-primary-light);
	color: var(--rcd-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: var(--rcd-shadow-sm);
	border: 1px solid rgba(0, 0, 0, 0.05);
	flex-shrink: 0;
	transition: background 0.3s ease, color 0.3s ease;
}

.rcd-calc-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--rcd-slate-900);
	margin: 0;
	line-height: 1.25;
}

.rcd-calc-subtitle {
	font-size: 13px;
	color: var(--rcd-slate-500);
	margin: 4px 0 0 0;
}

.rcd-calc-status-badge {
	background: var(--rcd-primary);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 9999px;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: background-color 0.3s ease;
}

/* Stepper Progress Bar */
.rcd-stepper-wrap {
	background: #ffffff;
	border-bottom: 1px solid var(--rcd-slate-200);
	padding: 16px 28px 20px;
}

.rcd-progress-track {
	height: 6px;
	background: var(--rcd-slate-100);
	border-radius: 9999px;
	overflow: hidden;
	margin-bottom: 16px;
}

.rcd-progress-fill {
	height: 100%;
	background: var(--rcd-primary);
	border-radius: 9999px;
	transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.rcd-steps-indicator {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.rcd-step-tab {
	background: transparent;
	border: none;
	padding: 6px 4px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.rcd-step-tab:hover {
	background: var(--rcd-slate-50);
}

.rcd-tab-num {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--rcd-slate-200);
	color: var(--rcd-slate-600);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.rcd-tab-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--rcd-slate-500);
	transition: color 0.3s ease;
}

.rcd-step-tab.is-completed .rcd-tab-num {
	background: var(--rcd-primary-light);
	color: var(--rcd-primary);
}

.rcd-step-tab.is-active .rcd-tab-num {
	background: var(--rcd-primary);
	color: #ffffff;
	box-shadow: 0 0 0 3px var(--rcd-primary-ring);
}

.rcd-step-tab.is-active .rcd-tab-label {
	color: var(--rcd-slate-900);
	font-weight: 700;
}

/* ==========================================================================
   5. STEP PANELS & FORM CONTROLS
   ========================================================================== */
.rcd-calculator-form {
	padding: 0;
	margin: 0;
}

.rcd-step-panel {
	display: none;
	padding: 28px;
	animation: rcdFadeIn 0.3s ease forwards;
}

.rcd-step-panel.is-active {
	display: block;
}

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

.rcd-step-heading {
	margin-bottom: 24px;
}

.rcd-step-title {
	font-size: 19px;
	font-weight: 700;
	color: var(--rcd-slate-900);
	margin: 0 0 6px 0;
}

.rcd-step-subtext {
	font-size: 14px;
	color: var(--rcd-slate-500);
	margin: 0;
}

.rcd-form-section {
	margin-bottom: 28px;
}

.rcd-form-section:last-child {
	margin-bottom: 10px;
}

.rcd-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 12px;
}

.rcd-label-text {
	font-size: 14px;
	font-weight: 700;
	color: var(--rcd-slate-800);
}

.rcd-label-hint {
	font-size: 12px;
	color: var(--rcd-slate-500);
}

/* ZIP Code Input */
.rcd-zip-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	border: 1px solid var(--rcd-slate-300);
	border-radius: var(--rcd-radius-md);
	padding: 8px 14px;
	max-width: 440px;
	box-shadow: var(--rcd-shadow-sm);
	transition: all 0.2s ease;
}

.rcd-zip-wrapper:focus-within {
	border-color: var(--rcd-primary);
	box-shadow: 0 0 0 3px var(--rcd-primary-ring);
}

.rcd-zip-icon {
	font-size: 18px;
}

.rcd-zip-field {
	border: none;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	color: var(--rcd-slate-900);
	outline: none;
	width: 100px;
	letter-spacing: 1px;
	font-family: inherit;
}

.rcd-zip-badge {
	font-size: 11px;
	font-weight: 600;
	background: #f1f5f9;
	color: #475569;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	border: 1px solid #e2e8f0;
}

.rcd-field-error {
	color: var(--rcd-danger);
	font-size: 12px;
	margin-top: 6px;
	font-weight: 600;
}

/* Slider Controls */
.rcd-slider-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.rcd-area-readout {
	background: var(--rcd-primary-light);
	border: 1px solid rgba(0, 0, 0, 0.05);
	padding: 6px 14px;
	border-radius: var(--rcd-radius-sm);
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.rcd-readout-sqft {
	font-size: 20px;
	font-weight: 800;
	color: var(--rcd-primary);
	transition: color 0.3s ease;
}

.rcd-readout-unit {
	font-size: 13px;
	font-weight: 700;
	color: var(--rcd-primary);
	transition: color 0.3s ease;
}

.rcd-readout-squares {
	font-size: 12px;
	color: var(--rcd-slate-500);
	margin-left: 4px;
}

.rcd-slider-track-wrap {
	margin-top: 8px;
}

.rcd-range-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 5px;
	background: #e2e8f0;
	outline: none;
	cursor: pointer;
	margin: 12px 0 8px 0;
}

.rcd-range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--rcd-primary);
	border: 3px solid #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.3s ease;
}

.rcd-range-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.rcd-range-slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--rcd-primary);
	border: 3px solid #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.3s ease;
}

.rcd-slider-marks {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	font-weight: 600;
	color: var(--rcd-slate-500);
	margin-top: 6px;
}

.rcd-slider-marks small {
	font-weight: normal;
	color: var(--rcd-slate-400);
}

/* Card Selection Grids */
.rcd-card-grid {
	display: grid;
	gap: 16px;
}

.rcd-card-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
	.rcd-card-grid-3 {
		grid-template-columns: 1fr;
	}
}

.rcd-selection-card {
	position: relative;
	background: #ffffff;
	border: 2px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-md);
	padding: 20px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
}

.rcd-selection-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rcd-selection-card:hover {
	border-color: var(--rcd-slate-300);
	transform: translateY(-2px);
	box-shadow: var(--rcd-shadow-md);
}

.rcd-selection-card.is-selected {
	border-color: var(--rcd-primary);
	background: var(--rcd-primary-light);
	box-shadow: 0 0 0 1px var(--rcd-primary), var(--rcd-shadow-md);
}

.rcd-card-badge-row {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.rcd-card-multiplier {
	font-size: 11px;
	font-weight: 700;
	background: var(--rcd-slate-100);
	color: var(--rcd-slate-700);
	padding: 3px 8px;
	border-radius: 9999px;
	transition: all 0.3s ease;
}

.rcd-selection-card.is-selected .rcd-card-multiplier {
	background: var(--rcd-primary);
	color: #ffffff;
}

.rcd-card-icon {
	font-size: 32px;
	margin-bottom: 10px;
}

.rcd-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--rcd-slate-900);
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.rcd-card-desc {
	font-size: 13px;
	color: var(--rcd-slate-600);
	margin: 0;
	line-height: 1.45;
}

/* Material Cards */
.rcd-material-card .rcd-card-badge-row {
	justify-content: flex-start;
}

.rcd-pill-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.rcd-pill-popular {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.rcd-pill-value {
	background: #dbeafe;
	color: #1e40af;
	border: 1px solid #bfdbfe;
}

.rcd-pill-premium {
	background: #f3e8ff;
	color: #6b21a8;
	border: 1px solid #e9d5ff;
}

.rcd-mat-visual {
	margin: 12px 0 8px 0;
}

.rcd-mat-emoji {
	font-size: 36px;
}

.rcd-mat-price {
	margin: 10px 0 12px 0;
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.rcd-price-val {
	font-size: 18px;
	font-weight: 800;
	color: var(--rcd-slate-900);
}

.rcd-selection-card.is-selected .rcd-price-val {
	color: var(--rcd-primary);
}

.rcd-price-unit {
	font-size: 13px;
	color: var(--rcd-slate-500);
	font-weight: 500;
}

.rcd-feature-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding-top: 12px;
}

.rcd-feature-list li {
	font-size: 12px;
	color: var(--rcd-slate-600);
	margin-bottom: 6px;
	position: relative;
	padding-left: 16px;
	line-height: 1.4;
}

.rcd-feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--rcd-success);
	font-weight: bold;
}

/* ==========================================================================
   6. STEP 3: ADD-ONS CHECKLIST
   ========================================================================== */
.rcd-addon-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rcd-addon-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #ffffff;
	border: 2px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-md);
	padding: 18px 20px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.rcd-addon-item:hover {
	border-color: var(--rcd-slate-300);
	box-shadow: var(--rcd-shadow-sm);
}

.rcd-addon-item.is-checked {
	border-color: var(--rcd-primary);
	background: var(--rcd-primary-light);
	box-shadow: 0 0 0 1px var(--rcd-primary);
}

.rcd-addon-checkbox-wrap {
	position: relative;
	margin-top: 2px;
	flex-shrink: 0;
}

.rcd-addon-checkbox-wrap input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rcd-custom-check {
	width: 22px;
	height: 22px;
	border: 2px solid var(--rcd-slate-300);
	border-radius: 6px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.rcd-addon-item.is-checked .rcd-custom-check {
	background: var(--rcd-primary);
	border-color: var(--rcd-primary);
}

.rcd-addon-item.is-checked .rcd-custom-check::after {
	content: "✓";
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
}

.rcd-addon-details {
	flex: 1;
}

.rcd-addon-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.rcd-addon-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--rcd-slate-900);
	margin: 0;
}

.rcd-addon-cost-tag {
	font-size: 14px;
	font-weight: 800;
	color: var(--rcd-primary);
	background: #ffffff;
	padding: 3px 10px;
	border-radius: 6px;
	border: 1px solid var(--rcd-slate-200);
	white-space: nowrap;
}

.rcd-addon-desc {
	font-size: 13px;
	color: var(--rcd-slate-600);
	margin: 0;
	line-height: 1.45;
}

/* ==========================================================================
   7. STEP 4: INSTANT ESTIMATE & LEAD CAPTURE
   ========================================================================== */
.rcd-badge-success {
	display: inline-block;
	background: var(--rcd-success-light);
	color: var(--rcd-success);
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 1px solid rgba(5, 150, 105, 0.2);
	margin-bottom: 8px;
}

.rcd-estimate-hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 18px;
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.rcd-estimate-hero {
		grid-template-columns: 1fr;
	}
}

.rcd-hero-card {
	background: #ffffff;
	border: 2px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-lg);
	padding: 24px;
	box-shadow: var(--rcd-shadow-md);
	position: relative;
	overflow: hidden;
}

.rcd-hero-card-total {
	border-color: var(--rcd-primary);
	background: linear-gradient(135deg, #ffffff 0%, var(--rcd-primary-light) 100%);
}

.rcd-hero-card-total::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--rcd-primary);
}

.rcd-hero-tag {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--rcd-slate-600);
	margin-bottom: 8px;
}

.rcd-hero-price {
	font-size: 32px;
	font-weight: 900;
	color: var(--rcd-slate-900);
	line-height: 1.1;
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}

.rcd-hero-card-total .rcd-hero-price {
	color: var(--rcd-primary);
	transition: color 0.3s ease;
}

.rcd-hero-price-financing {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: #047857;
}

.rcd-hero-term {
	font-size: 15px;
	font-weight: 600;
	color: var(--rcd-slate-500);
}

.rcd-hero-sub {
	font-size: 12px;
	color: var(--rcd-slate-500);
	line-height: 1.4;
}

/* Itemized Breakdown Table */
.rcd-breakdown-card {
	background: #ffffff;
	border: 1px solid var(--rcd-slate-200);
	border-radius: var(--rcd-radius-md);
	padding: 20px 24px;
	margin-bottom: 28px;
	box-shadow: var(--rcd-shadow-sm);
}

.rcd-breakdown-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--rcd-slate-900);
	border-bottom: 1px solid var(--rcd-slate-100);
	padding-bottom: 12px;
	flex-wrap: wrap;
}

.rcd-breakdown-specs {
	font-size: 12px;
	font-weight: 600;
	background: var(--rcd-slate-100);
	color: var(--rcd-slate-700);
	padding: 3px 10px;
	border-radius: 9999px;
}

.rcd-breakdown-table {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rcd-breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	font-size: 14px;
	padding: 4px 0;
}

.rcd-item-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rcd-item-col strong {
	color: var(--rcd-slate-800);
}

.rcd-item-meta {
	font-size: 12px;
	color: var(--rcd-slate-500);
}

.rcd-cost-col {
	font-weight: 700;
	color: var(--rcd-slate-900);
	white-space: nowrap;
}

.rcd-breakdown-total-row {
	border-top: 2px solid var(--rcd-slate-200);
	padding-top: 14px;
	margin-top: 6px;
}

.rcd-breakdown-total-row .rcd-item-col strong {
	font-size: 16px;
	color: var(--rcd-slate-900);
}

.rcd-breakdown-total-row .rcd-cost-col {
	font-size: 18px;
	font-weight: 900;
	color: var(--rcd-primary);
	transition: color 0.3s ease;
}

/* Lead Capture Box */
.rcd-lead-capture-box {
	background: linear-gradient(135deg, var(--rcd-slate-900) 0%, #1e293b 100%);
	border-radius: var(--rcd-radius-lg);
	padding: 28px;
	color: #ffffff;
	box-shadow: var(--rcd-shadow-xl);
	margin-top: 10px;
}

.rcd-lead-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #38bdf8;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.rcd-lead-title {
	font-size: 21px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.rcd-lead-desc {
	font-size: 13px;
	color: #cbd5e1;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

.rcd-lead-fields-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 18px;
}

@media (max-width: 768px) {
	.rcd-lead-fields-grid {
		grid-template-columns: 1fr;
	}
}

.rcd-lead-fields-grid label {
	color: #e2e8f0;
}

.rcd-lead-fields-grid input {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.rcd-lead-fields-grid input::placeholder {
	color: #94a3b8;
}

.rcd-lead-fields-grid input:focus {
	background: #ffffff;
	color: var(--rcd-slate-900);
}

.rcd-lead-action-wrap {
	display: flex;
	justify-content: flex-end;
}

/* Demo Notice Banner */
.rcd-demo-notice-banner {
	background: #064e3b;
	border: 1px solid #10b981;
	border-radius: var(--rcd-radius-md);
	padding: 16px 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #ecfdf5;
	animation: rcdFadeIn 0.3s ease;
}

.rcd-notice-icon {
	font-size: 26px;
	flex-shrink: 0;
}

.rcd-demo-notice-banner strong {
	display: block;
	font-size: 15px;
	color: #6ee7b7;
	margin-bottom: 2px;
}

.rcd-demo-notice-banner p {
	margin: 0;
	font-size: 13px;
	color: #d1fae5;
	line-height: 1.4;
}

.rcd-pdf-actions-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rcd-btn-print {
	background: #10b981;
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 24px;
	border-radius: var(--rcd-radius-md);
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
	transition: all 0.2s ease;
}

.rcd-btn-print:hover {
	background: #059669;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.rcd-print-icon {
	font-size: 18px;
}

/* ==========================================================================
   8. BUTTONS & NAVIGATION
   ========================================================================== */
.rcd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: var(--rcd-radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	line-height: 1.25;
	text-decoration: none;
}

.rcd-btn-primary {
	background-color: var(--rcd-primary);
	color: #ffffff;
	border-color: var(--rcd-primary);
	box-shadow: var(--rcd-shadow-sm);
}

.rcd-btn-primary:hover {
	background-color: var(--rcd-primary-hover);
	border-color: var(--rcd-primary-hover);
	transform: translateY(-1px);
	box-shadow: var(--rcd-shadow-md);
	color: #ffffff;
}

.rcd-btn-primary:active {
	transform: translateY(0);
}

.rcd-btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.2);
}

.rcd-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.rcd-btn-back {
	background: transparent;
	color: var(--rcd-slate-600);
	border-color: var(--rcd-slate-300);
}

.rcd-btn-back:hover {
	background: var(--rcd-slate-100);
	color: var(--rcd-slate-900);
}

.rcd-btn-large {
	font-size: 15px;
	padding: 13px 26px;
}

.rcd-btn-full {
	width: 100%;
}

.rcd-card-footer {
	background: var(--rcd-slate-50);
	border-top: 1px solid var(--rcd-slate-200);
	padding: 18px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Spinner loader */
.rcd-btn-loader {
	width: 16px;
	height: 16px;
	border: 2px solid #ffffff;
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	animation: rcdSpin 0.75s linear infinite;
}

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

/* ==========================================================================
   9. PRINT DOCUMENT STYLES (Screen: Hidden, Print: Official Layout)
   ========================================================================== */
.rcd-print-document {
	display: none;
}

@media print {
	/* Hide WordPress chrome and interactive UI */
	body {
		background: #ffffff !important;
		color: #000000 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#wpadminbar,
	header,
	footer,
	nav,
	aside,
	.rcd-sticky-bar,
	.rcd-brand-customizer,
	.rcd-calculator-card,
	.rcd-modal-overlay,
	.elementor-location-header,
	.elementor-location-footer {
		display: none !important;
	}

	.rcd-root {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.rcd-container {
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.rcd-print-document {
		display: block !important;
		font-family: Arial, Helvetica, sans-serif !important;
		color: #1a202c !important;
		padding: 20px 30px !important;
		background: #ffffff !important;
	}

	.rcd-print-header {
		display: flex !important;
		justify-content: space-between !important;
		align-items: flex-start !important;
		margin-bottom: 15px !important;
	}

	.rcd-print-company-name {
		font-size: 24px !important;
		font-weight: bold !important;
		color: #1e3a8a !important;
		margin: 0 0 4px 0 !important;
	}

	.rcd-print-sub {
		font-size: 11px !important;
		color: #4a5568 !important;
		margin: 0 0 2px 0 !important;
	}

	.rcd-print-contact {
		font-size: 11px !important;
		color: #718096 !important;
		margin: 0 !important;
	}

	.rcd-print-doc-title {
		font-size: 16px !important;
		font-weight: 800 !important;
		color: #2d3748 !important;
		letter-spacing: 0.5px !important;
		text-align: right !important;
		margin-bottom: 6px !important;
	}

	.rcd-print-meta-table td {
		font-size: 11px !important;
		padding: 1px 4px !important;
	}

	.rcd-print-divider {
		border: none !important;
		border-top: 2px solid #cbd5e1 !important;
		margin: 10px 0 15px 0 !important;
	}

	.rcd-print-two-col {
		display: flex !important;
		gap: 20px !important;
		margin-bottom: 15px !important;
	}

	.rcd-print-box {
		flex: 1 !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 6px !important;
		padding: 10px 14px !important;
		background: #f8fafc !important;
	}

	.rcd-print-box h3 {
		font-size: 13px !important;
		font-weight: bold !important;
		margin: 0 0 8px 0 !important;
		color: #1e3a8a !important;
		border-bottom: 1px solid #e2e8f0 !important;
		padding-bottom: 4px !important;
	}

	.rcd-print-box p {
		font-size: 11px !important;
		margin: 3px 0 !important;
		color: #334155 !important;
	}

	.rcd-print-section h3 {
		font-size: 13px !important;
		font-weight: bold !important;
		margin: 15px 0 8px 0 !important;
		color: #1e293b !important;
	}

	.rcd-print-table {
		width: 100% !important;
		border-collapse: collapse !important;
		margin-bottom: 12px !important;
	}

	.rcd-print-table th,
	.rcd-print-table td {
		border: 1px solid #cbd5e1 !important;
		padding: 8px 10px !important;
		font-size: 11px !important;
	}

	.rcd-print-table th {
		background: #f1f5f9 !important;
		color: #1e293b !important;
		font-weight: bold !important;
		text-align: left !important;
	}

	.rcd-print-total-row td {
		background: #f8fafc !important;
		font-size: 13px !important;
		border-top: 2px solid #0f172a !important;
	}

	.rcd-print-financing-box {
		border: 1px dashed #059669 !important;
		background: #ecfdf5 !important;
		border-radius: 6px !important;
		padding: 10px 14px !important;
		margin-bottom: 12px !important;
	}

	.rcd-print-financing-box h4 {
		font-size: 12px !important;
		font-weight: bold !important;
		color: #065f46 !important;
		margin: 0 0 4px 0 !important;
	}

	.rcd-print-financing-box p {
		font-size: 11px !important;
		color: #047857 !important;
		margin: 0 !important;
	}

	.rcd-print-terms {
		margin-bottom: 20px !important;
	}

	.rcd-print-terms h4 {
		font-size: 11px !important;
		margin: 0 0 4px 0 !important;
		color: #475569 !important;
	}

	.rcd-print-terms p {
		font-size: 9px !important;
		color: #64748b !important;
		line-height: 1.4 !important;
		margin: 0 !important;
	}

	.rcd-print-signatures {
		display: flex !important;
		justify-content: space-between !important;
		gap: 40px !important;
		margin-top: 25px !important;
	}

	.rcd-sign-box {
		flex: 1 !important;
	}

	.rcd-sign-line {
		border-bottom: 1px solid #0f172a !important;
		margin-bottom: 6px !important;
		height: 25px !important;
	}

	.rcd-sign-box p {
		font-size: 11px !important;
		color: #334155 !important;
		margin: 0 !important;
	}
}

/* ==========================================================================
   10. MOBILE RESPONSIVENESS (Zero Horizontal Scroll Guarantee)
   ========================================================================== */
@media screen and (max-width: 640px) {
	.rcd-sticky-bar {
		padding: 8px 12px;
	}

	.rcd-sticky-bar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.rcd-sticky-text {
		font-size: 12px;
	}

	.rcd-btn-sticky {
		width: 100%;
		justify-content: center;
		padding: 7px 14px;
	}

	.rcd-root:has(.rcd-sticky-bar) .rcd-container {
		margin-top: 95px;
	}

	.rcd-container {
		padding: 0 10px;
		margin: 15px auto;
	}

	.rcd-brand-customizer {
		padding: 12px 14px;
	}

	.rcd-company-input {
		width: 100%;
	}

	.rcd-customizer-controls {
		width: 100%;
		justify-content: space-between;
	}

	.rcd-customizer-input-wrap {
		width: 100%;
	}

	.rcd-card-header {
		padding: 16px;
	}

	.rcd-calc-title {
		font-size: 18px;
	}

	.rcd-stepper-wrap {
		padding: 12px 16px;
	}

	.rcd-tab-label {
		display: none; /* Hide labels on small mobile, keep tab numbers */
	}

	.rcd-step-panel {
		padding: 18px 16px;
	}

	.rcd-card-footer {
		padding: 14px 16px;
	}

	.rcd-hero-price {
		font-size: 26px;
	}

	.rcd-lead-capture-box {
		padding: 20px 16px;
	}

	.rcd-pdf-actions-row {
		flex-direction: column;
		width: 100%;
	}

	.rcd-btn-print,
	.rcd-pdf-actions-row .rcd-btn-secondary {
		width: 100%;
		justify-content: center;
	}
}
