.celo-calc {
	--celo-accent: #9c1fdb;
	--celo-accent-dark: #7c17b0;
	--celo-ink: #17181a;
	--celo-muted: #6b6f76;
	--celo-border: #e2e3e6;
	--celo-bg-selected: #eef1fb;
	--celo-bg-panel: #171820;

	max-width: 480px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--celo-ink);
}

.celo-serif {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.25;
}

.celo-card {
	background: #fff;
	border: 1px solid var(--celo-border);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(20, 20, 30, 0.08);
	overflow: hidden;
	position: relative;
}

/* IMPORTANT: any element with the `hidden` attribute must actually be hidden.
   Without this rule, our own .celo-screen-step{display:flex} declaration below
   (an author-stylesheet rule) overrides the browser's default [hidden]{display:none}
   (a user-agent rule), causing every step to render stacked on the page at once —
   this is exactly the "all steps show on one page" bug. */
.celo-calc [hidden] {
	display: none !important;
}

/* ---------- Screen 0: postcode ---------- */
.celo-screen-postcode { padding: 30px 28px 26px; }

.celo-wordmark {
	font-family: Georgia, serif;
	font-style: italic;
	text-align: center;
	font-size: 20px;
	letter-spacing: .01em;
	margin-bottom: 18px;
}

.celo-eyebrow {
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--celo-accent);
	font-weight: 700;
	margin: 0 0 8px;
}

.celo-screen-postcode h2 { font-size: 26px; margin: 0 0 10px; }

.celo-hint { font-size: 13px; color: var(--celo-muted); margin: 0 0 18px; line-height: 1.5; }
.celo-optional { font-size: 12px; color: #a3a5ab; font-weight: 400; margin-left: 6px; }
.celo-microcopy { font-size: 12px; color: #9a9ca2; margin: 10px 0 0; line-height: 1.5; }
.celo-field-label { font-size: 13px; font-weight: 700; margin: 6px 0 10px; }

.celo-calc label {
	font-size: 12px;
	font-weight: 700;
	display: block;
	margin-top: 4px;
	color: #45474d;
}

.celo-calc input[type="text"],
.celo-calc input[type="tel"],
.celo-calc input[type="email"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--celo-border);
	border-radius: 9px;
	font-size: 14px;
	margin: 6px 0 16px;
	box-sizing: border-box;
	background: #fafafb;
}
.celo-calc input:focus {
	outline: none;
	border-color: var(--celo-accent);
	background: #fff;
}

.celo-postcode-row { display: flex; gap: 8px; align-items: flex-start; }
.celo-postcode-row input { flex: 1; margin-bottom: 0; }

.celo-postcode-feedback { font-size: 13px; margin: 10px 0 4px; font-weight: 600; }
.celo-postcode-feedback.is-success { color: #1a7f37; }
.celo-postcode-feedback.is-error { color: #c92a2a; }

.celo-trust-row {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	font-size: 11px;
	color: #9a9ca2;
}

/* ---------- Buttons ---------- */
.celo-btn {
	border: none;
	border-radius: 999px;
	padding: 13px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}
.celo-btn-primary { background: var(--celo-accent); color: #fff; }
.celo-btn-primary:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--celo-accent-dark); }
.celo-btn-primary:disabled,
.celo-btn-primary[aria-disabled="true"] {
	background: #8787A2;
	color: #fff;
	cursor: not-allowed;
	pointer-events: none;
}
.celo-btn-dark { background: var(--celo-ink); color: #fff; border-radius: 9px; padding: 12px 18px; }
.celo-btn-text { background: transparent; color: #45474d; padding: 12px 4px; font-weight: 600; }
.celo-btn-block { width: 100%; margin-top: 6px; display: block; }

/* ---------- Steps (1-3) ---------- */
.celo-screen-step { display: flex; flex-direction: column; min-height: 480px; }
.celo-screen-body { padding: 28px 28px 20px; flex: 1; }
.celo-screen-step h2 { font-size: 22px; margin: 0 0 6px; }
.celo-screen-step h3 { font-size: 14px; margin: 20px 0 4px; }

.celo-divider { border: none; border-top: 1px solid var(--celo-border); margin: 22px 0; }

.celo-stepper { display: flex; align-items: center; gap: 18px; margin: 4px 0 4px; }
.celo-stepper-btn {
	width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--celo-border);
	background: #fafafb; font-size: 18px; cursor: pointer; color: var(--celo-ink);
	padding:0;
}
/* .site-header {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.site-header #site-navigation {
    display: none;
} */
.celo-stepper-btn:hover { border-color: var(--celo-accent); }
#celo-rooms-count { font-size: 17px; font-weight: 700; min-width: 20px; text-align: center; }

.celo-room-block { margin-bottom: 16px; }
.celo-room-heading {
	font-size: 12px; font-weight: 700; color: var(--celo-muted); margin: 12px 0 8px;
	display: flex; align-items: center; gap: 8px;
}
.celo-room-num {
	width: 18px; height: 18px; border-radius: 50%; background: var(--celo-ink); color: #fff;
	font-size: 10px; display: inline-flex; align-items: center; justify-content: center;
}

.celo-option-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 4px;
}
.celo-option-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.celo-option-grid-icons { grid-template-columns: 1fr 1fr 1fr; }

.celo-option {
	border: 1.5px solid var(--celo-border);
	border-radius: 10px;
	background: #fff;
	padding: 12px 12px;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: var(--celo-ink);
	transition: border-color .12s, background .12s;
}
.celo-option:hover { border-color: #c9b6ea; }
.celo-option.is-selected { border-color: var(--celo-accent); background: var(--celo-bg-selected); }

.celo-option-icon { align-items: center; text-align: center; font-size: 12px; }
.celo-icon { font-size: 22px; margin-bottom: 2px; }

.celo-option-sub { font-size: 11px; font-weight: 400; color: #9a9ca2; }

/* ---------- Sticky bottom bar ---------- */
.celo-bottom-bar { border-top: 1px solid var(--celo-border); background: #fff; }
.celo-progress { height: 3px; background: #eee; }
.celo-progress span { display: block; height: 100%; background: var(--celo-accent); transition: width .25s; }
.celo-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 20px;
}
.celo-bottom-label { font-size: 12px; color: var(--celo-muted); flex: 1; text-align: center; }

/* ---------- Estimate panel ---------- */
.celo-estimate-panel {
	background: var(--celo-bg-panel);
	color: #fff;
	border-radius: 12px;
	padding: 20px 22px;
	margin: 10px 0 14px;
}
.celo-estimate-top { display: flex; align-items: flex-start; justify-content: space-between; }
.celo-estimate-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .65; margin: 0; }
.celo-estimate-price { font-size: 30px; font-weight: 700; margin: 6px 0 4px; }
.celo-estimate-badge {
	font-family: Georgia, serif; font-style: italic; font-size: 13px; opacity: .55;
	border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px 8px;
}
.celo-estimate-lines { margin-top: 14px; }
.celo-estimate-line { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.14); }
.celo-estimate-running { font-size: 12px; opacity: .75; margin-top: 12px; }

.celo-form-error { color: #c92a2a; font-size: 13px; margin-top: 8px; }

/* ---------- Confirmation ---------- */
.celo-screen-confirmation { text-align: center; padding: 34px 28px; }
.celo-confirm-icon { font-size: 34px; margin-bottom: 6px; }
.celo-screen-confirmation h2 { font-size: 24px; margin: 0 0 8px; }

.celo-confirmation-summary {
	background: #fafafb;
	border: 1px solid var(--celo-border);
	border-radius: 12px;
	padding: 16px 18px;
	margin-top: 18px;
	text-align: left;
	font-size: 13px;
}
.celo-confirmation-summary p { margin: 4px 0; }

.celo-whn-label { text-align: center; margin-top: 26px; }
.celo-whn-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}
.celo-whn-step {
	font-size: 11px;
	color: var(--celo-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.celo-whn-num {
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--celo-bg-selected); color: var(--celo-accent);
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}

@media (max-width: 480px) {
	.celo-screen-postcode { padding: 24px 20px 20px; }
	.celo-screen-body { padding: 22px 20px 16px; }
	.celo-bottom-row { padding: 12px 16px; }
	.celo-option-grid-icons { grid-template-columns: 1fr 1fr; }
	.celo-whn-row { grid-template-columns: 1fr 1fr; row-gap: 16px; }
}
