/* Inherit Elementor global styles */
.re-cst{max-width:900px;margin:32px auto;padding:40px 48px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.04);font-family:var(--e-global-typography-text-font-family,inherit);color:var(--e-global-color-text,#333);letter-spacing:0.01em}
.re-cst h2,.re-cst h3,.re-cst h4{font-family:var(--e-global-typography-primary-font-family,inherit);color:var(--e-global-color-primary,#0F172A);letter-spacing:-0.02em}
.re-cst h3{margin-top:0}
.re-cst h3.center{text-align:center}
.re-cst h4.center{text-align:center}
.re-cst p.subhead{color:var(--e-global-color-text,#6b7280);text-align:center;margin-top:8px;margin-bottom:16px;line-height:1.6}
.re-cst .re-step{display:none}
.re-cst .re-step.active{display:block;animation:fade .25s ease-out}
.re-cst .row{display:flex;gap:16px;flex-wrap:wrap}
.re-cst .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.re-cst label{display:block;font-weight:500}
.re-cst input[type=text],.re-cst input[type=email],.re-cst input[type=tel],.re-cst input[type=number],.re-cst input[type=date],.re-cst select,.re-cst textarea{width:100%;padding:12px 14px;border:1px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:15px;transition:border-color .2s,box-shadow .2s}
.re-cst input:focus,.re-cst select:focus,.re-cst textarea:focus{outline:none;border-color:var(--e-global-color-primary,#0F172A);box-shadow:0 0 0 3px rgba(15,23,42,.08)}

/* Navigation buttons - unified pill style */
.re-cst-nav{display:flex;justify-content:space-between;align-items:center;margin-top:32px;padding-top:24px;gap:16px}
.re-cst-nav.right{justify-content:flex-end}
.re-cst-nav.between{justify-content:space-between}

/* Shared button base styles for uniformity */
.re-cst .prev,
.re-cst .next,
.re-cst .submit{
	font-family:inherit;
	font-weight:500;
	font-size:15px;
	cursor:pointer;
	padding:14px 32px;
	border-radius:50px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	transition:all .2s;
	min-width:120px;
	border:2px solid var(--e-global-color-primary,#0F172A)
}

/* Back button - outline style */
.re-cst .prev{
	background:transparent;
	color:var(--e-global-color-primary,#0F172A)
}
.re-cst .prev:hover{
	background:var(--e-global-color-primary,#0F172A);
	color:#fff
}
.re-cst .prev::before{content:"‹";font-size:18px;line-height:1}

/* Next/Submit button - filled style */
.re-cst .next,
.re-cst .submit{
	background:var(--e-global-color-primary,#0F172A);
	color:#fff;
	box-shadow:0 2px 8px rgba(0,0,0,.15)
}
.re-cst .next::after{content:"›";font-size:18px;line-height:1}
.re-cst .next:hover:not([disabled]),
.re-cst .submit:hover:not([disabled]){
	transform:translateY(-1px);
	box-shadow:0 4px 12px rgba(0,0,0,.2)
}
.re-cst .next[disabled],
.re-cst .submit[disabled]{
	opacity:.5;
	cursor:not-allowed;
	background:#9ca3af;
	border-color:#9ca3af
}

.re-cst .notice.success{background:rgba(40,167,69,.1);border:1px solid #28A745;padding:12px;border-radius:8px}

/* Header */
.re-cst-header{display:flex;flex-direction:column;align-items:center;gap:24px;margin-bottom:32px}
.re-cst-brand{width:100%}

/* ===== PROGRESS BAR - WALKING ICONS WITH DASHED TRAIL ===== */
/* CSS Custom Properties for Progress Bar - inherit from Elementor or use defaults */
.re-cst-progress{
	--re-progress-primary: var(--e-global-color-primary, #0F172A);
	--re-progress-secondary: var(--e-global-color-secondary, #28A745);
	--re-progress-future: #d1d5db;
	--re-progress-trail-opacity: 0.5;
	--re-progress-icon-size: 40px;
	--re-progress-line-height: 4px;
	--re-progress-line-bottom: 8px;
	position:relative;
	width:100%;
	height:70px;
	margin-bottom:16px
}

/* Progress line - dashed line connecting steps */
/* Left/right = half icon size so icons are CENTERED on the line endpoints */
.re-progress-line{
	position:absolute;
	bottom:var(--re-progress-line-bottom);
	left:calc(var(--re-progress-icon-size) / 2);
	right:calc(var(--re-progress-icon-size) / 2);
	height:var(--re-progress-line-height);
	display:flex;
	align-items:center;
	gap:0
}

/* Individual dash segments - forms the connecting dashed line */
.re-progress-line .dash{
	flex:1;
	height:4px;
	height:var(--re-progress-line-height, 4px);
	background:repeating-linear-gradient(
		to right,
		var(--re-progress-future) 0px,
		var(--re-progress-future) 8px,
		transparent 8px,
		transparent 12px
	) !important;
	background-color:transparent !important;
	border-radius:2px;
	transition:background .3s ease
}

/* Completed dashes - PRIMARY color, solid fill (not dashed) */
.re-cst .re-progress-line .dash.active,
.re-cst-progress .re-progress-line .dash.active{
	background:var(--re-progress-primary) !important;
	background-color:var(--re-progress-primary) !important;
	opacity:1
}

/* Current dash - PRIMARY color, full opacity (solid) */
.re-cst .re-progress-line .dash.current,
.re-cst-progress .re-progress-line .dash.current{
	background:var(--re-progress-primary) !important;
	background-color:var(--re-progress-primary) !important;
	opacity:1
}

/* Hide the old fill element */
.re-progress-fill{display:none}

/* Container for all step icons - each icon CENTERED within its dash segment */
.re-progress-steps{
	position:absolute;
	left:0;
	right:0;
	/* Position icons ON TOP of line (sitting above it) */
	bottom:calc(var(--re-progress-line-bottom) + var(--re-progress-line-height));
	height:var(--re-progress-icon-size);
	/* CSS Grid: 10 equal columns for 10 steps - each icon centered in its segment */
	display:grid;
	grid-template-columns:repeat(10, 1fr);
	align-items:end;
	padding:0
}

/* Each step marker - icon horizontally centered within its grid cell (dash segment) */
.re-step-marker{
	position:relative;
	width:var(--re-progress-icon-size);
	height:var(--re-progress-icon-size);
	justify-self:center;
	display:flex;
	align-items:center;
	justify-content:center;
	opacity:0;
	transform:scale(0.8);
	transition:all .3s ease;
	z-index:2
}

/* Icon containers */
.re-step-marker .icon-odd,
.re-step-marker .icon-even{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.re-step-marker .icon-odd{display:flex}
.re-step-marker .icon-even{display:none}

/* Alternate icons: even steps show icon-even */
.re-step-marker:nth-child(even) .icon-odd{display:none}
.re-step-marker:nth-child(even) .icon-even{display:flex}

/* SVG and IMG styling - SVGs inherit color from parent via currentColor */
.re-step-marker svg,.re-step-marker img{width:100%;height:100%;display:block;object-fit:contain}
.re-step-marker svg{fill:currentColor}
.re-step-marker svg path,
.re-step-marker svg circle,
.re-step-marker svg rect,
.re-step-marker svg polygon{fill:inherit}

/* Trail state - COMPLETED steps (PRIMARY color with trail opacity) */
.re-step-marker.trail{
	opacity:var(--re-progress-trail-opacity);
	transform:scale(1);
	color:var(--re-progress-primary)
}
.re-step-marker.trail svg{
	opacity:1;
	filter:none;
	fill:currentColor
}
.re-step-marker.trail img{
	opacity:1;
	filter:none
}

/* Active state - CURRENT step (PRIMARY color, full opacity, slightly larger) */
.re-step-marker.active{
	opacity:1;
	transform:scale(1.15);
	color:var(--re-progress-primary);
	z-index:5
}
.re-step-marker.active svg{
	opacity:1;
	filter:none;
	fill:currentColor
}
.re-step-marker.active img{
	opacity:1;
	filter:none
}

/* Future steps - COMPLETELY HIDDEN (not visible at all) */
.re-step-marker.future{
	opacity:0;
	visibility:hidden;
	transform:scale(0.5);
	pointer-events:none
}

/* Hide old progress bars structure */
.re-progress-bars{display:none}
.re-progress-icon{display:none}
.re-step-block{display:none}

.re-cst-headings{text-align:center;max-width:700px;margin:0 auto}
.re-cst-headings h2{margin:0 0 12px;font-size:30px;line-height:1.2;font-weight:700}
.re-cst-headings p{margin:0 0 8px;color:#6b7280;font-size:15px;line-height:1.6}
.re-cst-headings p.muted{font-size:14px;color:#9ca3af}

/* Success state */
.re-cst-success{display:none;text-align:center;padding:40px 20px}
.re-cst-success.show{display:block;animation:fadeIn .5s ease}
.re-cst-success .success-icon{width:100px;height:100px;margin:0 auto 24px;display:flex;align-items:center;justify-content:center}
.re-cst-success .success-icon img,.re-cst-success .success-icon svg{width:100%;height:100%;object-fit:contain}
.re-cst-success h2{color:var(--e-global-color-primary,#0F172A);margin-bottom:16px;font-size:28px}
.re-cst-success p{color:var(--e-global-color-text,#6b7280);font-size:16px;line-height:1.6;max-width:500px;margin:0 auto 12px}
.re-cst-success .ref-number{display:inline-block;background:var(--e-global-color-primary,#2C7BE5);color:#fff;padding:8px 20px;border-radius:20px;font-weight:600;margin-top:16px}
.re-cst-success .reset-form{margin-top:24px;padding:12px 28px;background:transparent;border:2px solid var(--e-global-color-primary,#2C7BE5);color:var(--e-global-color-primary,#2C7BE5);border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}
.re-cst-success .reset-form:hover{background:var(--e-global-color-primary,#2C7BE5);color:#fff}

/* Hide form content when success is shown */
.re-cst.submitted .re-cst-header,.re-cst.submitted .re-cst-steps,.re-cst.submitted .re-cst-footer{display:none}

@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Mobile: smaller progress */
@media (max-width: 768px){
	.re-cst-brand{justify-content:center}
	.re-progress-icon{width:28px;height:28px}
	.re-progress-bars{gap:4px}
	.re-progress-bars .bar{width:32px;height:3px}
}
/* Segmented toggle */
.re-cst-toggle{display:inline-flex;justify-content:center;align-items:center;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;margin:16px auto 14px;max-width:100%;box-sizing:border-box;left:50%;transform:translateX(-50%);position:relative}
.re-cst-toggle .seg{padding:10px 22px;font-size:17px;border:0;background:#fff;color:#111827;cursor:pointer;transition:background .15s,color .15s;font-family:inherit;white-space:nowrap}
.re-cst-toggle .seg+ .seg{border-left:1px solid #d1d5db}
.re-cst-toggle .seg.active{background:var(--e-global-color-primary,#0F172A);color:#fff}
@media (max-width:480px){
	.re-cst-toggle .seg{padding:10px 14px;font-size:14px}
}
.re-year-picker{display:flex;gap:16px;align-items:center;justify-content:center;margin:10px 0 14px}
.re-year-picker .year-display{min-width:72px;text-align:center;font-weight:600;font-size:18px;font-family:inherit}
.re-year-picker .yp-prev,.re-year-picker .yp-next{display:flex;align-items:center;justify-content:center;background:#fff;border:1.5px solid var(--e-global-color-primary,#0F172A);border-radius:8px;width:40px;height:36px;cursor:pointer;font-size:20px;color:var(--e-global-color-primary,#0F172A);transition:background .15s,border .15s}
.re-year-picker .yp-prev:hover,.re-year-picker .yp-next:hover{background:var(--e-global-color-primary,#0F172A);color:#fff}
.re-year-picker .yp-prev.disabled,.re-year-picker .yp-next.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}
/* Year picker */
.re-year-picker{display:flex;gap:12px;align-items:center;justify-content:center;margin:8px 0 12px}
.re-year-picker .year-display{min-width:72px;text-align:center;font-weight:600}
.re-year-picker .yp-prev,.re-year-picker .yp-next{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:36px;height:32px;line-height:30px;text-align:center;cursor:pointer}
/* Button-like choices */
.re-cst-choices{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:20px;justify-content:center;max-width:860px;margin:12px auto 0}
.re-cst-choices.choices-2{grid-template-columns:repeat(2,minmax(240px,320px));justify-content:center;max-width:720px;margin:16px auto}
.re-cst-choices.choices-2 .choice{justify-content:center}
@media (max-width:700px){.re-cst-choices.choices-2{grid-template-columns:repeat(2,minmax(140px,1fr));max-width:100%}}

/* Step 8 layout */
.re-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:980px;margin:16px auto}
.re-contact-grid .row{display:flex;gap:14px}
.re-contact-grid .col label{display:block;width:100%}
.re-contact-method{max-width:720px;margin:8px auto 0}
.re-consent-row{max-width:860px;margin:12px auto;display:flex;justify-content:center}
.re-consent{display:flex;gap:10px;align-items:flex-start}
.re-cst .submit.re-submit[disabled]{opacity:.6;cursor:not-allowed}
@media (max-width:1024px){.re-contact-grid{grid-template-columns:1fr}.re-contact-grid .row{flex-direction:column}}

/* New: align contact methods and consent side-by-side like the mock */
.re-contact-row{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:center;max-width:980px;margin:8px auto 0}
.re-consent-wrap{display:flex;align-items:center}
@media (max-width:900px){.re-contact-row{grid-template-columns:1fr}}

/* intl-tel-input styles override: make dial-code column compact */
.iti{width:100%}
.iti--separate-dial-code .iti__flag-container{padding:0 6px}
.iti--separate-dial-code .iti__selected-dial-code{min-width:36px}
.iti__selected-country{border:1px solid #d1d5db;border-right:0;border-radius:8px 0 0 8px;height:40px;display:flex;align-items:center;padding:0 8px;background:#fff}
.iti input[type="tel"], .iti input{height:40px;border:1px solid #d1d5db;border-left:0;border-radius:0 8px 8px 0;padding:10px;width:100%}
.iti__country-list{max-height:220px}
/* Choices - use Elementor primary color */
.re-cst-choices .choice{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 20px;border-radius:6px;border:1px solid #e5e7eb;background:#f5f5f5;cursor:pointer;text-align:center;font-family:inherit;font-size:15px;font-weight:500;transition:all .2s}
.re-cst-choices .choice:hover{background:#eaeaea;border-color:#d1d5db}
.re-cst-choices .choice input{display:none}
.re-cst-choices .choice.selected{background:var(--e-global-color-primary,#2C7BE5);color:#fff;border-color:var(--e-global-color-primary,#2C7BE5);position:relative}
.re-cst-choices .choice.selected::after{content:"✓";position:absolute;top:4px;right:6px;font-size:11px;font-weight:700}
.re-cst-nav{display:flex;justify-content:center;margin-top:16px}
.re-cst-nav.right{justify-content:flex-end}
.re-cst-nav.between{justify-content:space-between}
.re-cst-footer{display:flex;align-items:center;gap:6px;justify-content:center;margin-top:32px;padding-top:20px;border-top:1px solid #f0f0f0;color:#9ca3af;font-size:13px;flex-wrap:wrap}
.re-cst-footer svg{width:14px;height:14px;opacity:.6}
.re-cst-footer span{white-space:nowrap}
.re-cst-footer a{color:var(--e-global-color-primary,#2C7BE5);text-decoration:none;font-weight:500;transition:color .2s}
.re-cst-footer a:hover{text-decoration:underline}
@media (max-width:480px){.re-cst-footer{font-size:12px;gap:4px}}
/* Tile grid for step 2 - use Elementor primary color */
.re-cst-tiles{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;max-width:100%;margin:16px auto}
@media (max-width:700px){.re-cst-tiles{grid-template-columns:repeat(2,minmax(140px,1fr))}}
.re-cst-tiles .tile{display:flex;align-items:center;justify-content:center;padding:14px 12px;border-radius:6px;border:1px solid #e5e7eb;background:#f5f5f5;cursor:pointer;text-align:center;font-family:inherit;font-size:14px;font-weight:500;transition:all .2s}
.re-cst-tiles .tile:hover{background:#eaeaea;border-color:#d1d5db}
.re-cst-tiles .tile input{display:none}
.re-cst-tiles .tile.selected{background:var(--e-global-color-primary,#2C7BE5);color:#fff;border-color:var(--e-global-color-primary,#2C7BE5);position:relative}
.re-cst-tiles .tile.selected::after{content:"✓";position:absolute;top:4px;right:6px;font-size:10px;font-weight:700}
.re-cst-tiles .tile.full{grid-column:auto}

/* Category tiles - vertical layout with budget hint, centered */
.categories-tiles{grid-template-columns:repeat(auto-fit,minmax(160px,200px));justify-content:center;max-width:720px}
.categories-tiles .tile{flex-direction:column;gap:4px;padding:16px 12px;min-height:60px}
.categories-tiles .tile .budget-hint{font-size:12px;font-weight:400;opacity:.75;margin-top:2px}
.categories-tiles .tile.selected .budget-hint{opacity:.9}
@media (max-width:700px){
	/* Step 2 mobile: keep all tiles, including "I don't know", in two columns */
	.re-cst-tiles .tile.full{grid-column:auto}
	/* Slightly tighter tiles on mobile for a compact look */
	.re-cst-tiles .tile{padding:12px;font-size:15px}
}
.purposes-tiles{margin-top:16px}
.months-tiles{max-width:860px;grid-template-columns:repeat(6,minmax(120px,1fr));margin-bottom:14px}
.months-tiles .tile{min-height:48px}
.months-tiles .tile.any{grid-column:1 / -1}
.months-tiles .tile.disabled{opacity:.5;pointer-events:none;cursor:not-allowed}
@media (max-width:700px){.months-tiles{grid-template-columns:repeat(3,minmax(90px,1fr))}}

/* Date range picker (exact dates) */
/* Keep the inline calendar fully inside a centered bordered box */
.re-dr{max-width:660px;margin:16px auto;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-sizing:border-box;overflow:hidden}
.re-dr-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:8px}
.re-dr-header .dr-title{flex:1;text-align:center;font-weight:600}
.re-dr-header button{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:36px;height:32px;cursor:pointer}
.re-dr-months{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.re-dr-month{border-radius:6px;padding:4px}
.re-dr-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.re-dr-grid .dow{font-size:12px;color:#6b7280;text-align:center;padding:4px 0}
.re-dr-grid .day{height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;border:1px solid transparent}
.re-dr-grid .day:hover{background:#f3f4f6}
.re-dr-grid .day.disabled{opacity:.35;cursor:not-allowed}
.re-dr-grid .day.selected-start,.re-dr-grid .day.selected-end{background:var(--e-global-color-primary,#0F172A);color:#fff}
.re-dr-grid .day.in-range{background:color-mix(in srgb, var(--e-global-color-secondary,#D4A574) 25%, transparent)}

/* Step 4 duration row */
.re-duration-row{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:18px}
.re-duration-row h4{margin:0;text-align:center}
.re-duration-select select{min-width:220px}
/* Hide duration selector when exact-dates mode is active (we auto-calc) */
.re-step[data-step="4"].exact-mode .re-duration-row{display:none}
/* Step 4 mobile: stack duration row and make select full-width */
@media (max-width:700px){
	.re-duration-row{flex-direction:column;gap:10px;margin-top:14px}
	.re-duration-row .re-duration-select{width:100%}
	.re-duration-row .re-duration-select select{width:100%;max-width:420px}
}
@keyframes fade{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Responsive styles - layout adjustments (icon size controlled by Elementor responsive controls) */
@media (max-width:768px){
    .re-cst{padding:24px 20px;margin:16px}
    .re-cst-headings h2{font-size:24px}
    .re-cst-progress{height:56px}
    .re-step-marker.active{transform:scale(1.1)}
    .re-cst-nav{margin-top:24px;padding-top:20px}
    .re-cst .prev,
    .re-cst .next,
    .re-cst .submit{padding:12px 24px;font-size:14px;min-width:100px}
}
@media (max-width:600px){
    .re-cst{padding:20px 16px}
    .re-cst .row{flex-direction:column;gap:10px}
    .re-cst-choices{grid-template-columns:1fr}
    .re-cst-progress{height:48px}
    .re-step-marker.active{transform:scale(1.08)}
}
@media (max-width:480px){
    .re-cst{padding:16px 12px;font-size:14px}
    .re-cst input,.re-cst select,.re-cst textarea{font-size:14px;padding:10px 12px}
    .re-cst-progress{height:40px}
    .re-step-marker.active{transform:scale(1.05)}
    .re-cst-headings h2{font-size:22px}
    .re-cst .prev,
    .re-cst .next,
    .re-cst .submit{padding:10px 18px;font-size:13px;min-width:90px}
}

/* Inline range calendar for exact dates */
.re-inline-range{display:flex;justify-content:center;margin:12px 0}
.re-inline-range .cal-wrap{border:1px solid #e5e7eb;border-radius:8px;padding:12px}
.re-inline-range .cal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.re-inline-range .cal{width:300px}
.re-inline-range .cal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.re-inline-range .cal-title{font-weight:600}
.re-inline-range .cal-nav{display:flex;gap:6px}
.re-inline-range .cal-btn{display:flex;align-items:center;justify-content:center;width:36px;height:28px;border:1px solid #d1d5db;border-radius:6px;background:#fff;cursor:pointer;color:#a00}
.re-inline-range .cal-btn[disabled]{opacity:.5;cursor:not-allowed}
.re-inline-range table{width:100%;border-collapse:collapse;font-size:14px;color:#111827}
.re-inline-range th{font-weight:600;color:#6b7280;padding:6px 0}
.re-inline-range td{width:42px;height:36px;text-align:center;border-radius:6px;cursor:pointer}
.re-inline-range td.disabled{opacity:.4;pointer-events:none}
.re-inline-range td.selected,.re-inline-range td.in-range{background:color-mix(in srgb, var(--e-global-color-secondary,#D4A574) 25%, transparent)}
.re-inline-range td.start,.re-inline-range td.end{background:var(--e-global-color-primary,#0F172A);color:#fff}

/* New: Exact dates two-month inline calendar (.re-dr) */
/* Unify with the container above and ensure it's centered */
.re-dr{display:flex;flex-direction:column;align-items:center;justify-content:center}
.re-dr .re-dr-header{display:flex;align-items:center;gap:10px;justify-content:center;margin-bottom:10px;width:100%}
.re-dr .dr-title{font-weight:600;color:#111827;min-width:260px;text-align:center}
.re-dr .dr-pp,.re-dr .dr-p,.re-dr .dr-n,.re-dr .dr-nn{display:flex;align-items:center;justify-content:center;width:36px;height:28px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#a00;cursor:pointer}
.re-dr .dr-pp.disabled,.re-dr .dr-p.disabled{opacity:.5;cursor:not-allowed}
.re-dr .re-dr-months{display:grid;grid-template-columns:repeat(2,auto);gap:16px;width:auto;margin:0 auto;justify-content:center}
.re-dr .re-dr-month{width:auto}
.re-dr .re-dr-grid{display:grid;grid-template-columns:repeat(7, 38px);grid-auto-rows:32px;gap:6px;justify-content:center}
.re-dr .re-dr-grid .dow{font-weight:600;color:#6b7280;display:flex;align-items:center;justify-content:center}
.re-dr .re-dr-grid .day{display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;color:#111827}
.re-dr .re-dr-grid .day.disabled{opacity:.35;pointer-events:none}
.re-dr .re-dr-grid .day.in-range{background:color-mix(in srgb, var(--e-global-color-secondary,#D4A574) 25%, transparent)}
.re-dr .re-dr-grid .day.selected-start,.re-dr .re-dr-grid .day.selected-end{background:var(--e-global-color-primary,#0F172A);color:#fff}

/* Responsive: collapse to single month on small screens and keep centered */
@media (max-width: 700px){
	.re-dr{max-width:100%;}
	.re-dr .re-dr-months{grid-template-columns:1fr;width:100%}
	.re-dr .re-dr-grid{grid-template-columns:repeat(7, 1fr)}
}

/* Step 5: centered selects row */
.re-people-row{display:flex;justify-content:center;align-items:center;gap:24px;margin:22px 0}
.re-people-row .sel select{min-width:240px;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
.re-people-row .sel select:focus{outline:none;box-shadow:0 0 0 2px rgba(44,123,229,.2)}
@media (max-width:700px){
	/* Two-column layout on mobile with no clipping */
	.re-people-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px;margin:16px 0}
	.re-people-row .sel{width:100%}
	.re-people-row .sel select{width:100%;min-width:0}
}
/* Children ages dropdown grid */
.children-ages-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:14px;justify-content:center;max-width:740px;margin:8px auto 0}
.children-ages-grid .age-sel select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
@media (max-width:700px){.children-ages-grid{grid-template-columns:repeat(2,minmax(120px,1fr));}}

/* Step 6: budget UI */
.re-budget-wrap{max-width:860px;margin:10px auto 0}
.re-budget-controls{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:16px}
.re-budget-currency select{min-width:120px;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
.re-budget-badge{display:inline-block;background:var(--e-global-color-primary,#2C7BE5);color:#fff;padding:10px 20px;border-radius:24px;font-weight:600;min-width:140px;text-align:center}
.re-budget-slider{position:relative;margin:16px auto 8px;max-width:820px}
.re-budget-slider input[type=range]{width:100%}
.re-budget-ends{display:flex;justify-content:space-between;margin-top:8px;color:var(--e-global-color-text,#111827)}
.re-budget-ends .min span,.re-budget-ends .max span{display:block;color:var(--e-global-color-text,#6b7280);font-size:13px}

/* Slider styling (webkit + moz basics) */
.re-budget-slider input[type=range]{appearance:none;-webkit-appearance:none;height:6px;border-radius:3px;background:#e5e7eb;outline:none}
.re-budget-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:28px;height:28px;border-radius:50%;background:var(--e-global-color-primary,#2C7BE5);border:4px solid #fff;box-shadow:0 0 0 2px var(--e-global-color-primary,#2C7BE5);cursor:pointer}
.re-budget-slider input[type=range]::-moz-range-thumb{width:28px;height:28px;border-radius:50%;background:var(--e-global-color-primary,#2C7BE5);border:4px solid #fff;box-shadow:0 0 0 2px var(--e-global-color-primary,#2C7BE5);cursor:pointer}
