/* Booking for Cleaning Service — frontend styles.
   Design: "service ticket" motif — a booking is an itemized job, so the
   price summary reads as a receipt (dashed rule, right-aligned mono
   figures). Fraunces for display warmth, Inter for UI. Palette is a
   modern blue → violet duotone (adjusted from the earlier spruce-green
   brand), used consistently across the full form and the quick form.
   The full form is a real 3-step wizard (public/js/booking-form.js
   toggles the `hidden` attribute on [data-bcs-step] sections and the
   wizard nav); the quick form stays a single page. Colors/radius/font
   are overridden per-site via CSS variables from Settings > Design
   (see BCS_Public::enqueue_styles()). */

/* Several components below (.bcs-quick-section, .bcs-wizard-nav, etc.)
   set their own `display`, which — at equal specificity — otherwise
   beats the browser's built-in `[hidden] { display: none }` rule and
   makes JS's `el.hidden = true` a no-op. This keeps `hidden` always
   winning, everywhere in both booking forms. */
[hidden] { display: none !important; }

.bcs-booking-form {
	--bcs-primary: #3A7D44;
	--bcs-primary-dark: #2C5E35;
	--bcs-rinse: #4F9657;
	--bcs-ink: #20291F;
	--bcs-muted: #6B7568;
	--bcs-border: #E6E1D3;
	--bcs-surface: #E9F2E6;
	--bcs-button: #3A7D44;
	--bcs-gold: #D9A441;
	--bcs-gold-bg: #F6E8C8;
	--bcs-gold-ink: #8A5E12;
	--bcs-bg: #F7F4EA;
	--bcs-radius: 16px;
	--bcs-font-display: 'Baloo 2', 'Nunito', -apple-system, sans-serif;
	--bcs-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
	--bcs-font-mono: 'Nunito', ui-monospace, Menlo, monospace;
	--bcs-shadow-sm: 0 1px 2px rgba(32,41,31,.04), 0 1px 3px rgba(32,41,31,.06);
	--bcs-shadow-md: 0 10px 30px -10px rgba(32,41,31,.14), 0 2px 8px rgba(32,41,31,.05);
	font-family: var(--bcs-font-body);
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px;
	background: var(--bcs-bg);
	border-radius: 24px;
	color: var(--bcs-ink);
	box-sizing: border-box;
}
.bcs-booking-form *, .bcs-booking-form *::before, .bcs-booking-form *::after {
	box-sizing: border-box;
}
.bcs-booking-form svg { width: 20px; height: 20px; flex: 0 0 auto; display: block; }

/* Divides the sections of the single scrolling form — the card's own
   flex "gap" already provides spacing, so this is just the hairline. */
.bcs-section-divider { height: 1px; background: var(--bcs-border, #E2E8E5); margin: 0; }

.bcs-step h2 {
	font-family: var(--bcs-font-display);
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}
.bcs-step-hint { font-size: 13.5px; color: var(--bcs-muted, #6B7A73); margin: -4px 0 0; }

/* Step-level validation banner (replaces alert() popups) */
.bcs-step-error {
	background: #FDECEC;
	color: #B42318;
	border-radius: var(--bcs-radius);
	padding: 12px 16px;
	font-size: 13.5px;
	margin-bottom: 18px;
}

/* Service cards */
/* Service cards — icon + label, matches the quick form's .bcs-quick-service-card
   design language (shared visual system across both booking forms). */
.bcs-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bcs-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	background: #fff;
	border: 2px solid var(--bcs-border, #E6E1D3);
	border-radius: var(--bcs-radius);
	padding: 20px 10px;
	cursor: pointer;
	font-family: var(--bcs-font-body);
	position: relative;
	transition: border-color .15s, background .15s, transform .1s;
}
.bcs-service-card svg { width: 26px; height: 26px; color: var(--bcs-primary); }
.bcs-service-card__name { font-size: 14px; font-weight: 700; color: var(--bcs-ink); line-height: 1.25; }
.bcs-service-card__price { font-size: 12px; font-weight: 600; color: var(--bcs-muted); }
.bcs-service-card__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bcs-primary);
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .12s, transform .12s;
}
.bcs-service-card:hover { border-color: var(--bcs-rinse); }
.bcs-service-card.is-selected { border-color: var(--bcs-primary); background: var(--bcs-surface); }
.bcs-service-card.is-selected .bcs-service-card__check { opacity: 1; transform: scale(1); }
.bcs-service-card.is-selected .bcs-service-card__name,
.bcs-service-card.is-selected .bcs-service-card__price { color: var(--bcs-primary); }

/* Segmented control (property type, frequency) */
.bcs-segmented {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.bcs-segmented__btn {
	padding: 10px 16px;
	border: 1px solid #D7DEDA;
	border-radius: 999px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	font-family: var(--bcs-font-body);
	transition: background .15s, border-color .15s, color .15s;
}
.bcs-segmented__btn.is-selected {
	background: linear-gradient(135deg, var(--bcs-primary), var(--bcs-primary-dark));
	border-color: var(--bcs-primary);
	color: #fff;
	box-shadow: 0 4px 10px rgba(58,125,68,.22);
}

/* Frequency cards — 2x2 grid with a "Save N%" tan badge, replaces the
   plain pill row so the discount is visible at a glance. */
.bcs-frequency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.bcs-frequency-card {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 14px 16px;
	border-radius: var(--bcs-radius);
	border-width: 2px;
	position: relative;
	background: #fff;
	color: var(--bcs-ink);
	text-align: left;
}
.bcs-frequency-card__name { font-size: 14px; font-weight: 700; }
.bcs-frequency-card__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--bcs-gold-ink, #8A5E12);
	background: var(--bcs-gold-bg, #F6E8C8);
	border-radius: 999px;
	padding: 3px 9px;
}
.bcs-frequency-card__check {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bcs-primary);
	color: #fff;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .12s, transform .12s;
}
.bcs-frequency-card.is-selected {
	border-color: var(--bcs-primary);
	background: var(--bcs-surface);
	box-shadow: none;
	color: var(--bcs-ink);
}
.bcs-frequency-card.is-selected .bcs-frequency-card__check { opacity: 1; transform: scale(1); }

/* Number steppers (bedrooms, bathrooms) */
.bcs-stepper-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.bcs-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1.5px solid var(--bcs-border);
	border-radius: var(--bcs-radius);
	padding: 12px 14px;
	background: #fff;
}
.bcs-stepper__label { font-size: 13px; font-weight: 700; color: var(--bcs-ink); }
.bcs-stepper__control { display: flex; align-items: center; gap: 10px; }
.bcs-stepper__btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid var(--bcs-primary);
	background: #fff;
	color: var(--bcs-primary);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bcs-stepper__btn:hover { background: var(--bcs-surface); }
.bcs-stepper__value { min-width: 18px; text-align: center; font-weight: 700; font-size: 15px; }

/* Toggle card (urgent booking) */
.bcs-toggle-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid #E2E8E5;
	border-radius: var(--bcs-radius);
	padding: 14px 16px;
	cursor: pointer;
	margin-top: 4px;
}
.bcs-toggle-card input { margin-top: 3px; }
.bcs-toggle-card__title { display: block; font-weight: 600; font-size: 14px; }
.bcs-toggle-card__desc { display: block; font-size: 12.5px; color: #6B7A73; margin-top: 2px; }
.bcs-toggle-card:has(input:checked) { border-color: var(--bcs-primary); background: #EEF2FF; }

/* Collapsible "more details" (step 5 notes) */
.bcs-more-details { margin-top: 22px; border-top: 1px solid #E2E8E5; padding-top: 16px; }
.bcs-more-details summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--bcs-primary); list-style: none; }
.bcs-more-details summary::-webkit-details-marker { display: none; }
.bcs-more-details summary::before { content: '+ '; }
.bcs-more-details[open] summary::before { content: '− '; }

.bcs-payment-section { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #D7DEDA; }
.bcs-choice-block { margin-bottom: 18px; }
.bcs-choice-block__label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 8px; }

/* Fields */
.bcs-field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.bcs-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: #374151; }
.bcs-field--wide { grid-column: 1 / -1; }
.bcs-field--checkbox { flex-direction: row; align-items: center; gap: 8px; }
.bcs-field input[type=text],
.bcs-field input[type=email],
.bcs-field input[type=tel],
.bcs-field input[type=number],
.bcs-field input[type=date],
.bcs-field select,
.bcs-field textarea {
	font-family: var(--bcs-font-body);
	font-weight: 400;
	padding: 11px 13px;
	border: 1px solid #D7DEDA;
	border-radius: calc(var(--bcs-radius) / 2);
	font-size: 14px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.bcs-field input:focus, .bcs-field select:focus, .bcs-field textarea:focus {
	outline: none;
	border-color: var(--bcs-rinse);
	box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

/* Addons — 2-column icon cards, checkmark badge on selection */
.bcs-addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bcs-addon-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	position: relative;
	border: 2px solid var(--bcs-border);
	border-radius: var(--bcs-radius);
	padding: 16px 10px;
	cursor: pointer;
	font-size: 13px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.bcs-addon-card input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bcs-addon-card:hover { transform: translateY(-1px); box-shadow: var(--bcs-shadow-sm); }
.bcs-addon-card:has(input:checked) { border-color: var(--bcs-primary); background: var(--bcs-surface); }
.bcs-addon-card__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bcs-surface);
	color: var(--bcs-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}
.bcs-addon-card__name { font-weight: 700; color: var(--bcs-ink); }
.bcs-addon-card__price { font-family: var(--bcs-font-mono); color: var(--bcs-muted); font-size: 12px; }
.bcs-addon-card__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bcs-primary);
	color: #fff;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .12s, transform .12s;
}
.bcs-addon-card:has(input:checked) .bcs-addon-card__check { opacity: 1; transform: scale(1); }

/* Calendar — month-grid date picker (replaces the native <input type=date>) */
.bcs-calendar { border: 1.5px solid var(--bcs-border); border-radius: var(--bcs-radius); padding: 14px; background: #fff; }
.bcs-calendar__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bcs-calendar__month { font-weight: 700; font-size: 14px; font-family: var(--bcs-font-display); }
.bcs-calendar__nav {
	width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--bcs-surface);
	color: var(--bcs-primary); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bcs-calendar__weekdays, .bcs-calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bcs-calendar__weekdays span { text-align: center; font-size: 11px; font-weight: 700; color: var(--bcs-muted); padding-bottom: 4px; }
.bcs-calendar__day {
	aspect-ratio: 1;
	border: 1.5px solid var(--bcs-border);
	border-radius: 10px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bcs-ink);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color .12s, background .12s, color .12s;
}
.bcs-calendar__day.is-blank { visibility: hidden; cursor: default; border: none; }
.bcs-calendar__day.is-past { color: #C8C2B0; border-color: transparent; background: transparent; cursor: not-allowed; }
.bcs-calendar__day:not(.is-past):not(.is-blank):hover { border-color: var(--bcs-rinse); }
/* Today — an outlined (not filled) box, so it reads as "this is today" without being mistaken for the active selection. */
.bcs-calendar__day.is-today { border-color: var(--bcs-gold, #D9A441); color: var(--bcs-gold-ink, #8A5E12); font-weight: 700; }
.bcs-calendar__day.is-selected { background: var(--bcs-primary); border-color: var(--bcs-primary); color: #fff; }

/* Slot picker — a plain flat grid of start-time buttons (just "07:00"),
   4-up like the reference design, dropping to 3/2 columns as it narrows. */
.bcs-slot-list { margin-top: 14px; }
.bcs-slot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bcs-slot-btn {
	padding: 12px 6px;
	border: 1.5px solid var(--bcs-border, #E6E1D3);
	border-radius: 10px;
	background: #fff;
	color: var(--bcs-ink, #20291F);
	font-size: 13.5px;
	font-weight: 700;
	font-family: var(--bcs-font-body);
	cursor: pointer;
	text-align: center;
	transition: border-color .15s, background .15s, color .15s;
}
.bcs-slot-btn:hover { border-color: var(--bcs-rinse); }
.bcs-slot-btn.is-selected { background: var(--bcs-primary); border-color: var(--bcs-primary); color: #fff; }

/* "Need a specific time?" hint under the slot grid */
.bcs-slot-hint {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--bcs-muted);
	line-height: 1.4;
}
.bcs-slot-hint svg { width: 18px; height: 18px; color: var(--bcs-primary); flex: 0 0 auto; margin-top: 1px; }

@media (max-width: 480px) {
	.bcs-slot-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 360px) {
	.bcs-slot-row { grid-template-columns: repeat(2, 1fr); }
}

/* Payment / gateway choice */
.bcs-payment-choice, .bcs-gateway-choice { display: flex; gap: 18px; margin: 18px 0; flex-wrap: wrap; }
.bcs-radio { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }

.bcs-confirm-result { margin: 18px 0; padding: 15px 18px; border-radius: var(--bcs-radius); font-size: 14px; }
.bcs-confirm-result.is-success { background: #E9F2E6; color: #2C5E35; }
.bcs-confirm-result.is-error { background: #FDECEC; color: #B42318; }

/* Receipt-style sticky summary */
.bcs-summary {
	flex: 0 0 310px;
	position: sticky;
	top: 20px;
	background: #fff;
	border: 1px solid #E2E8E5;
	border-radius: calc(var(--bcs-radius) + 4px);
	padding: 22px;
	box-shadow: var(--bcs-shadow-md);
}
.bcs-summary h3 {
	font-family: var(--bcs-font-display);
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
}
.bcs-summary__lines div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	padding: 7px 0;
	color: #5B6B64;
	border-bottom: 1px dashed #D7DEDA;
}
.bcs-summary__lines dd { font-family: var(--bcs-font-mono); }
.bcs-summary__total {
	font-weight: 700;
	font-size: 16px;
	color: var(--bcs-ink);
	border-bottom: none !important;
	margin-top: 4px;
	padding-top: 12px !important;
	border-top: 1px solid var(--bcs-ink);
}
.bcs-summary__total dd {
	font-family: var(--bcs-font-mono);
	font-size: 19px;
	font-weight: 700;
	color: var(--bcs-primary);
	background: linear-gradient(135deg, var(--bcs-primary), var(--bcs-rinse));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
	.bcs-summary__total dd { -webkit-text-fill-color: unset; background: none; }
}

/* Mobile collapsible summary toggle (hidden on desktop) */
.bcs-summary__toggle {
	display: none;
	width: 100%;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: space-between;
	font-family: var(--bcs-font-body);
	font-weight: 600;
	font-size: 14px;
}
.bcs-summary__toggle-total { font-family: var(--bcs-font-mono); color: var(--bcs-primary); }

/* Step transition — a single fade/slide on the active panel only */
.bcs-step { animation: bcs-step-in .25s ease; }
@keyframes bcs-step-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.bcs-step { animation: none; }
}

/* Buttons */
.bcs-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: var(--bcs-radius);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	border: none;
	font-family: var(--bcs-font-body);
	transition: transform .1s, opacity .15s, box-shadow .15s;
}
.bcs-btn:active { transform: scale(.98); }
.bcs-btn--primary {
	background: linear-gradient(135deg, var(--bcs-button), var(--bcs-primary-dark));
	color: #fff;
	box-shadow: 0 6px 16px rgba(58,125,68,.28);
}
.bcs-btn--primary:hover { opacity: .94; box-shadow: 0 8px 20px rgba(58,125,68,.34); }
.bcs-btn--ghost { background: transparent; color: #374151; border: 1px solid #D7DEDA; }
.bcs-btn--ghost:hover { border-color: #B7C2BC; }
.bcs-btn--block { display: block; width: 100%; text-align: center; margin-top: 8px; }

.bcs-empty { color: #9CA8A2; font-size: 14px; }

/* Inline "we don't service this postcode" warning under the postcode field. */
.bcs-field-error { color: #B42318; font-size: 12.5px; font-weight: 600; margin: -10px 0 0; }
.is-unserviced { border-color: #B42318 !important; }

/* Optional "Attach photos" field (Settings > Form Fields) */
.bcs-attachments { margin-top: 4px; }
.bcs-attachments__drop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 10px 16px;
	border: 1.5px dashed var(--bcs-border, #D7DEDA);
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bcs-primary);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.bcs-attachments__drop:hover { border-color: var(--bcs-primary); background: var(--bcs-surface, #EEF2FF); }
.bcs-attachments__drop svg { width: 16px; height: 16px; }
.bcs-attachments__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bcs-attachments__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--bcs-border, #E2E8F0);
	border-radius: 10px;
	font-size: 13px;
}
.bcs-attachments__item img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.bcs-attachments__item-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bcs-ink); }
.bcs-attachments__item-status { font-size: 11.5px; color: var(--bcs-muted, #6B7A73); flex: 0 0 auto; }
.bcs-attachments__item.is-error .bcs-attachments__item-status { color: #B42318; }
.bcs-attachments__item-remove {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: #F1F5F9;
	color: #475569;
	cursor: pointer;
	line-height: 1;
	font-size: 14px;
}
.bcs-attachments__item-remove:hover { background: #FBE7E7; color: #B42318; }

/* Mobile: single column, sticky CTA (spec section 27) */
@media (max-width: 782px) {
	.bcs-booking-form { padding: 12px 8px; }
	.bcs-booking-form.bcs-quick-card { padding: 22px 16px; border-radius: 18px; }
	.bcs-quick-header h1 { font-size: 24px; }

	/* Every two-column row (name/phone, email/address, date/time, pill
	   grids) collapses to one column — nothing narrower than a full-width
	   44px+ touch target on a phone or small tablet. */
	.bcs-quick-row { grid-template-columns: 1fr; gap: 12px; }
	.bcs-service-grid { grid-template-columns: repeat(2, 1fr); }
	.bcs-quick-service-grid { grid-template-columns: repeat(2, 1fr); }
	.bcs-quick-pill-grid { grid-template-columns: repeat(2, 1fr); }
	.bcs-field-grid { grid-template-columns: 1fr; }
	.bcs-stepper-row { gap: 8px; }
	.bcs-stepper { padding: 10px 10px; }
	.bcs-stepper__label { font-size: 12px; }

	/* iOS auto-zooms any input under 16px on focus — keep text fields at
	   16px on touch screens so tapping into the form doesn't jump-zoom. */
	.bcs-quick-input-icon input,
	.bcs-quick-input-icon textarea,
	.bcs-field input,
	.bcs-field select,
	.bcs-field textarea { font-size: 16px; }

	/* Segmented controls (property type, frequency): scroll horizontally
	   instead of wrapping to 2-3 ragged rows on a narrow screen. */
	.bcs-segmented { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.bcs-segmented__btn { flex: 0 0 auto; }

	/* Larger touch targets throughout (44px+ per accessibility guidance). */
	.bcs-slot-btn { padding: 12px 16px; min-height: 44px; }
	.bcs-service-card, .bcs-quick-service-card, .bcs-addon-card, .bcs-toggle-card, .bcs-quick-pill { padding: 16px 10px; min-height: 44px; }
	.bcs-quick-submit, .bcs-btn { min-height: 48px; }

	.bcs-payment-choice, .bcs-gateway-choice { flex-direction: column; gap: 10px; }
	.bcs-radio { padding: 12px 12px; border: 1px solid #E2E8E5; border-radius: calc(var(--bcs-radius) / 2); min-height: 44px; }

	/* Tracker: hide the text labels, dots + connecting lines only. */
	.bcs-quick-tracker__step span:last-child { display: none; }
	.bcs-quick-tracker__line { width: 20px; }

	/* Wizard nav sticks to the bottom of the viewport so Back/Continue
	   are always one thumb-reach away while scrolling a long step. */
	.bcs-wizard-nav {
		position: sticky;
		bottom: 0;
		background: #fff;
		margin: 4px -16px -22px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--bcs-border, #E2E8F0);
		border-radius: 0 0 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcs-service-card, .bcs-btn { transition: none; }
}

/* Customer dashboard */
.bcs-customer-dashboard { max-width: 900px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.bcs-table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bcs-dashboard-table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.bcs-dashboard-table th { text-align: left; font-size: 12px; text-transform: none; color: #5B6B64; padding: 8px 10px; border-bottom: 1px solid #E2E8E5; }
.bcs-dashboard-table td { padding: 12px 10px; border-bottom: 1px solid #EEF2F0; white-space: nowrap; }
.bcs-dashboard-modal { border: none; border-radius: var(--bcs-radius); padding: 24px; max-width: 400px; width: calc(100vw - 32px); box-sizing: border-box; }
@media (max-width: 480px) {
	.bcs-customer-dashboard { padding: 0 12px; }
	.bcs-dashboard-table td { white-space: normal; }
}
.bcs-dashboard-modal::backdrop { background: rgba(17,24,39,.4); }
.bcs-dashboard-modal label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.bcs-dashboard-modal input, .bcs-dashboard-modal select, .bcs-dashboard-modal textarea {
	display: block; width: 100%; margin-top: 6px; padding: 9px 11px;
	border: 1px solid #D7DEDA; border-radius: 8px; font-family: var(--bcs-font-body);
}

/* Quick (single-page) booking form — [cleaning_booking_form_quick].
   One white card on a soft page background, icon-labeled sections, a
   decorative 1/2/3 progress tracker (the form is not actually paged),
   icon-card service picker, and a bold gradient-free CTA — matches
   the approved mockup. No step navigation. */
.bcs-quick-form {
	--bcs-primary: #3A7D44;
	--bcs-primary-dark: #2C5E35;
	--bcs-rinse: #4F9657;
	--bcs-ink: #20291F;
	--bcs-muted: #6B7568;
	--bcs-border: #E6E1D3;
	--bcs-surface: #E9F2E6;
	--bcs-gold: #D9A441;
	--bcs-gold-bg: #F6E8C8;
	--bcs-gold-ink: #8A5E12;
	--bcs-bg: #F7F4EA;
	--bcs-radius: 16px;
	--bcs-font-display: 'Baloo 2', 'Nunito', -apple-system, sans-serif;
	--bcs-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
	--bcs-font-mono: 'Nunito', ui-monospace, Menlo, monospace;
	--bcs-shadow-sm: 0 1px 2px rgba(32,41,31,.04), 0 1px 3px rgba(32,41,31,.06);
	--bcs-shadow-md: 0 10px 30px -10px rgba(32,41,31,.14), 0 2px 8px rgba(32,41,31,.05);
	font-family: var(--bcs-font-body);
	max-width: 640px;
	margin: 0 auto;
	padding: 24px 16px;
	background: var(--bcs-bg);
	border-radius: 24px;
	color: var(--bcs-ink);
	box-sizing: border-box;
}
.bcs-quick-form *, .bcs-quick-form *::before, .bcs-quick-form *::after { box-sizing: border-box; }
.bcs-quick-form svg { width: 20px; height: 20px; flex: 0 0 auto; display: block; }

.bcs-quick-card {
	background: #fff;
	border: 1px solid var(--bcs-border);
	border-radius: 24px;
	padding: 36px 32px;
	box-shadow: var(--bcs-shadow-md);
	display: flex;
	flex-direction: column;
	gap: 22px;
	transition: opacity .2s;
}
.bcs-quick-card.is-done { opacity: .7; }

/* Header */
.bcs-quick-header { text-align: center; }
.bcs-quick-header h1 {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--bcs-ink);
}
.bcs-quick-header p { margin: 0; color: var(--bcs-muted); font-size: 14.5px; }

/* Progress tracker — decorative on the quick form, a real paginated
   nav on the full form (clickable once a step has been visited). */
.bcs-quick-tracker { display: flex; align-items: flex-start; justify-content: center; gap: 4px; padding: 6px 0 10px; }
.bcs-quick-tracker__step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #B9B3A0; }
.bcs-quick-tracker__step.is-active { color: var(--bcs-ink); }
.bcs-quick-tracker__step.is-done { color: var(--bcs-primary); cursor: pointer; }
.bcs-quick-tracker__dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-family: var(--bcs-font-display);
	font-weight: 700;
	background: #EFECE0;
	color: #B9B3A0;
	flex: 0 0 auto;
	transition: background .15s, color .15s;
	position: relative;
}
.bcs-quick-tracker__step.is-active .bcs-quick-tracker__dot { background: var(--bcs-primary); color: #fff; box-shadow: 0 0 0 4px var(--bcs-surface); }
.bcs-quick-tracker__step.is-done .bcs-quick-tracker__dot { background: var(--bcs-primary); color: #fff; }
.bcs-quick-tracker__step.is-done .bcs-quick-tracker__dot::after {
	content: '✓';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bcs-primary);
	border-radius: 50%;
}
.bcs-quick-tracker__step.is-active::after {
	content: '';
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--bcs-primary);
	margin-top: -2px;
}
.bcs-quick-tracker__line { width: 28px; height: 2px; background: var(--bcs-border); flex: 0 0 auto; margin-top: 15px; }

/* Wizard Back/Continue nav (full form only — the quick form has no
   [data-bcs-wizard-nav] element and skips this entirely). */
.bcs-wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.bcs-wizard-nav [data-bcs-prev] { flex: 0 0 auto; }
.bcs-wizard-nav [data-bcs-next] { flex: 1 1 auto; }

/* Sections */
.bcs-quick-section { display: flex; flex-direction: column; gap: 12px; }
.bcs-quick-section h2 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--bcs-ink);
}
.bcs-quick-section h2 svg { color: var(--bcs-primary); }

/* Service type — icon cards */
.bcs-quick-service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.bcs-quick-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	background: #fff;
	border: 1.5px solid var(--bcs-border);
	border-radius: 14px;
	padding: 18px 10px;
	cursor: pointer;
	font-family: var(--bcs-font-body);
	transition: border-color .15s, background .15s, transform .1s;
}
.bcs-quick-service-card svg { width: 26px; height: 26px; color: #475569; }
.bcs-quick-service-card span { font-size: 13px; font-weight: 700; color: var(--bcs-ink); line-height: 1.25; }
.bcs-quick-service-card:hover { border-color: var(--bcs-rinse); }
.bcs-quick-service-card.is-selected {
	border-color: var(--bcs-primary);
	background: var(--bcs-surface);
}
.bcs-quick-service-card.is-selected svg,
.bcs-quick-service-card.is-selected span { color: var(--bcs-primary); }

/* Property size — pill buttons */
.bcs-quick-pill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.bcs-quick-pill {
	padding: 12px 10px;
	text-align: center;
	background: #fff;
	border: 1.5px solid var(--bcs-border);
	border-radius: 12px;
	font-family: var(--bcs-font-body);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bcs-ink);
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.bcs-quick-pill:hover { border-color: var(--bcs-rinse); }
.bcs-quick-pill.is-selected { border-color: var(--bcs-primary); background: var(--bcs-surface); color: var(--bcs-primary); }

/* Two-column rows (date/time, contact fields) */
.bcs-quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcs-quick-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* Icon-prefixed inputs */
.bcs-quick-input-icon {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}
.bcs-quick-input-icon > svg {
	position: absolute;
	left: 14px;
	color: #94A3B8;
	pointer-events: none;
}
.bcs-quick-input-icon input,
.bcs-quick-input-icon textarea {
	width: 100%;
	font-family: var(--bcs-font-body);
	font-weight: 400;
	color: var(--bcs-ink);
	padding: 12px 14px 12px 42px;
	border: 1.5px solid var(--bcs-border);
	border-radius: 12px;
	font-size: 14.5px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.bcs-quick-input-icon input::placeholder,
.bcs-quick-input-icon textarea::placeholder { color: #94A3B8; }
.bcs-quick-input-icon input:focus,
.bcs-quick-input-icon textarea:focus {
	outline: none;
	border-color: var(--bcs-primary);
	box-shadow: 0 0 0 3px rgba(58,125,68,.12);
}
.bcs-quick-input-icon--textarea { align-items: flex-start; }
.bcs-quick-input-icon--textarea > svg { top: 14px; }
.bcs-quick-input-icon--textarea textarea { resize: vertical; min-height: 76px; }

.bcs-quick-slots { min-height: 44px; display: flex; align-items: center; }
.bcs-quick-slots .bcs-slot-row { flex-wrap: wrap; }
.bcs-quick-slots .bcs-empty { color: var(--bcs-muted); }

.bcs-quick-divider { height: 1px; background: var(--bcs-border); margin: 2px 0; }

/* Inline itemized estimate on the full form's Confirm section — same
   .bcs-summary__lines row styling the old sticky sidebar used. */
.bcs-quick-receipt { margin: 4px 0 0; }

/* reCAPTCHA widget on the full form's Confirm step */
.bcs-recaptcha-wrap { display: flex; justify-content: center; margin: 4px 0; }
@media (max-width: 340px) {
	.bcs-recaptcha-wrap { transform: scale(.9); transform-origin: center; }
	/* Smallest phones: 2-up card grids get too cramped, drop to 1 column. */
	.bcs-service-grid, .bcs-frequency-grid, .bcs-addon-grid, .bcs-stepper-row, .bcs-slot-row { grid-template-columns: 1fr; }
}

/* Desktop/tablet: a little extra breathing room now that the card can
   sit comfortably wider than a phone viewport. */
@media (min-width: 900px) {
	.bcs-booking-form { max-width: 820px; padding: 32px 24px; }
	.bcs-booking-form.bcs-quick-card { padding: 36px 40px; }
	.bcs-quick-header h1 { font-size: 32px; }
	.bcs-service-grid { grid-template-columns: repeat(3, 1fr); }
	.bcs-addon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Total + submit */
.bcs-quick-total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 4px;
}
.bcs-quick-total__label { font-size: 12px; color: var(--bcs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.bcs-quick-total__value { font-family: var(--bcs-font-mono); font-size: 20px; font-weight: 700; color: var(--bcs-primary); }

.bcs-quick-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 20px;
	border: none;
	border-radius: 14px;
	background: var(--bcs-primary);
	color: #fff;
	font-family: var(--bcs-font-body);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, transform .1s, box-shadow .15s;
	box-shadow: 0 8px 20px rgba(58,125,68,.28);
}
.bcs-quick-submit svg { color: #fff; }
.bcs-quick-submit:hover { background: var(--bcs-primary-dark); }
.bcs-quick-submit:active { transform: scale(.99); }
.bcs-quick-submit:disabled { opacity: .7; cursor: default; }

@media (max-width: 560px) {
	.bcs-quick-form { padding: 12px 8px; }
	.bcs-quick-card { padding: 24px 18px; border-radius: 18px; }
	.bcs-quick-header h1 { font-size: 24px; }
	.bcs-quick-row { grid-template-columns: 1fr; }
	.bcs-quick-service-grid { grid-template-columns: repeat(2, 1fr); }
	.bcs-quick-pill-grid { grid-template-columns: repeat(2, 1fr); }
	.bcs-quick-tracker__step span:last-child { display: none; }
	.bcs-quick-tracker__line { width: 24px; }
}

@media (max-width: 340px) {
	.bcs-quick-service-grid, .bcs-quick-pill-grid { grid-template-columns: 1fr; }
}

/* Desktop/tablet: the quick form's single card can afford a little more
   room once it isn't constrained to a phone viewport. */
@media (min-width: 900px) {
	.bcs-quick-form { max-width: 720px; }
	.bcs-quick-card { padding: 36px 40px; }
	.bcs-quick-header h1 { font-size: 30px; }
	.bcs-quick-service-grid { grid-template-columns: repeat(3, 1fr); }
}

/* WhatsApp support button */
.bcs-whatsapp-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #25D366;
	color: #fff;
	border-radius: 999px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.18);
	text-decoration: none;
	font-size: 24px;
	z-index: 9999;
}
