/*
 * Book Now form styling — dark green / gold / cream wizard design,
 * mobile-first. Loaded only on pages containing the henna/booking-form
 * block, so it never affects load time on the rest of the site. Uses the
 * active theme's CSS custom properties (--wp--preset--color--*,
 * --wp--preset--font-family--*) when available (e.g. with the companion
 * Henna At Home theme, whose palette is Deep Green #122A20 / Gold #C9A15A
 * / Cream #FBF6EC / Beige #F0E7D8) and falls back to the same colors as
 * plain hex values otherwise, so the form still looks presentable with
 * any theme.
 */

 .hbm-booking-form-wrapper {
	--hbm-deep-green: var(--wp--preset--color--deep-green, #122a20);
	--hbm-forest-green: var(--wp--preset--color--forest-green, #17352a);
	--hbm-gold: var(--wp--preset--color--gold, #c9a15a);
	--hbm-gold-light: var(--wp--preset--color--gold-light, #e4c888);
	--hbm-cream: var(--wp--preset--color--cream, #fbf6ec);
	--hbm-beige: var(--wp--preset--color--beige, #f0e7d8);
	--hbm-white: var(--wp--preset--color--white, #fff);
	--hbm-ink: var(--wp--preset--color--ink, #20241f);
	--hbm-muted: #6b7268;
	--hbm-border: #e3dac4;
	--hbm-heading-font: var(--wp--preset--font-family--heading, Georgia, serif);
	--hbm-body-font: var(--wp--preset--font-family--body, inherit);
	font-family: var(--hbm-body-font);
	max-width: 100%;
	overflow-x: hidden;
	background: var(--hbm-cream);
	padding-block: 0.5rem 2rem;
}

/* Belt-and-suspenders: every element anywhere inside the wizard must be
 * allowed to shrink below its own content's natural width when it's a
 * flex or grid item. Browsers default flex/grid items to `min-width: auto`
 * (i.e. "never smaller than my own content"), which is what let a long
 * site name, a long package name, or the phone country-code row quietly
 * force a row wider than the card. When that happens, pressing Tab (or
 * the browser auto-focusing an invalid field) scrolls that oversized,
 * clipped area into view, which is what shifted the whole layout sideways.
 * This single rule makes that class of bug structurally impossible instead
 * of chasing each occurrence individually. */
.wp-block-group.wp-container-core-group-is-layout-6bb46543 {
	display: none !important;
}
.entry-content.wp-block-post-content.is-layout-flow.wp-block-post-content-is-layout-flow {
    max-width: 100%;
    padding-inline: 20px;
}
.hbm-booking-form-wrapper *,
.hbm-booking-form-wrapper *::before,
.hbm-booking-form-wrapper *::after {
	box-sizing: border-box;
}
.hbm-wizard-header-top,
.hbm-stepper,
.hbm-phone-field,
.hbm-time-slot-group,
.hbm-occasion-group,
.hbm-booking-grid,
.hbm-extras-list,
.hbm-payment-methods {
	min-width: 0;
	max-width: 100%;
}

.hbm-booking-notice {
	border-radius: 10px;
	padding: 1rem 1.25rem;
	font-size: 0.95rem;
}
.hbm-booking-notice--warning {
	background: #fdf4e3;
	border: 1px solid #e9c98a;
	color: #6b4a00;
}

.hbm-booking-form {
	max-width: 100%;
}

/* Elements toggled via the native `hidden` attribute (step panels, the
 * time-slot error, the specific-time field, the photo preview, payment
 * widgets, etc.) must actually disappear — including from tab order and
 * from taking up layout space — regardless of any more specific `display`
 * rule declared for that element elsewhere in this file. Without this,
 * an author-origin `display` declaration silently wins over the browser's
 * built-in `[hidden] { display: none }` rule (author styles always beat
 * user-agent styles, irrespective of selector specificity), so a "hidden"
 * element can end up rendered — and even reachable by keyboard Tab — the
 * exact bug behind "Please choose a time" staying visible after a time
 * slot is picked, and the empty photo-preview box appearing/disrupting
 * the layout before any photo is uploaded. */
.hbm-booking-form-wrapper [hidden] {
	display: none !important;
}

/* Small inline icon set (see hbm_svg_icon() in render.php). */
.hbm-icon {
	display: inline-flex;
	width: 1.1rem;
	height: 1.1rem;
	flex: 0 0 auto;
	vertical-align: middle;
}
.hbm-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* =========================================================================
 * Wizard shell: dark green header (logo, secure badge, stepper) + white
 * card body containing the active step.
 * ========================================================================= */

.hbm-wizard-shell {
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	max-width: 1400px;
	margin-inline: auto;
}

.hbm-wizard-header {
	padding: 1.5rem 1.25rem 1.35rem;
	text-align: center;
}

.hbm-wizard-title {
	color: var(--hbm-ink);
	margin: 0 0 1.5rem;
	font-family: var(--hbm-heading-font);
	font-size: clamp(1.25rem, 4vw, 2.4rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.hbm-wizard-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1.1rem;
	text-align: left;
	max-width: 100%;
}
.hbm-wizard-brand {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}
.hbm-wizard-brand-text {
	display: block;
	font-family: var(--hbm-heading-font);
	font-weight: 700;
	font-size: 1.05rem;
	color: #fff;
	letter-spacing: 0.01em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hbm-wizard-brand img {
	max-height: 2rem;
	max-width: 100%;
	width: auto;
	display: block;
}
.hbm-secure-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(228, 200, 136, 0.4);
	color: var(--hbm-gold-light);
	border-radius: 999px;
	padding: 0.32rem 0.75rem 0.32rem 0.6rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	flex: 0 0 auto;
}
.hbm-secure-badge .hbm-icon {
	width: 0.85rem;
	height: 0.85rem;
}
.hbm-wizard-eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hbm-gold-light);
}
.hbm-stepper {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0.35rem;
}
.hbm-stepper-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: none;
	padding: 0.15rem 0.2rem;
	cursor: default;
	font-family: inherit;
	max-width: 5.5rem;
}
.hbm-stepper-step[data-stepper] {
	cursor: pointer;
}
.hbm-stepper-circle {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.65);
	border: 1.5px solid rgba(255, 255, 255, 0.22);
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.hbm-stepper-label {
	font-size: 0.66rem;
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
	line-height: 1.2;
}
.hbm-stepper-step.is-active .hbm-stepper-circle {
	background: var(--hbm-gold);
	color: var(--hbm-deep-green);
	border-color: var(--hbm-gold);
}
.hbm-stepper-step.is-active .hbm-stepper-label {
	color: #fff;
	font-weight: 700;
}
.hbm-stepper-step.is-complete .hbm-stepper-circle {
	background: var(--hbm-gold-light);
	color: var(--hbm-deep-green);
	border-color: var(--hbm-gold-light);
}
.hbm-stepper-line {
	width: 1.75rem;
	height: 2px;
	background: rgba(255, 255, 255, 0.22);
	margin-top: 1rem;
	flex: 0 0 auto;
}

.hbm-wizard-card {
	background: var(--hbm-white);
	border: 1px solid var(--hbm-border);
	border-radius: 14px;
	padding: 1.15rem 1rem 1.35rem;
	box-shadow: 0 8px 24px rgba(18, 42, 32, 0.06);
	overflow: hidden;
}

/* Active step title — gold circle + label, shown directly above the form card. */
.hbm-wizard-header .hbm-stepper {
	display: none;
}
.hbm-wizard-step-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-bottom: 0.85rem;
}
.hbm-wizard-step-heading .hbm-stepper-circle {
	width: 2.5rem;
	height: 2.5rem;
	flex: 0 0 auto;
	background: var(--hbm-gold);
	color: var(--hbm-white);
	border-color: var(--hbm-gold);
	font-size: 0.9rem;
}
.hbm-wizard-step-heading-text {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hbm-ink);
	min-width: 0;
	white-space: nowrap;
}

.hbm-wizard-card-brand {
	background: #06120e;
	color: var(--hbm-gold);
	padding: 1.3rem 2rem;
	margin: -1.15rem -1rem 1rem;
	padding-inline: 1rem;
	border-radius: 14px 14px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hbm-wizard-card-brand-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-width: 0;
	max-width: 100%;
}

.hbm-wizard-card-brand .hbm-icon-brand {
	width: 1.55rem;
	height: 1.55rem;
	flex: 0 0 auto;
	color: var(--hbm-gold);
}

.hbm-wizard-card-brand-text {
	display: block;
	font-family: var(--hbm-heading-font);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--hbm-gold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hbm-wizard-step-header {
	margin-bottom: 0.8rem;
	padding-block: 20px;
	text-align: center;
}
.hbm-step-eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hbm-gold);
}
.hbm-wizard-step-header h2 {
	margin: 0 0 10px;
	font-family: var(--hbm-heading-font);
	color: var(--hbm-deep-green);
	font-size: 24px;
	font-weight: 700;
}
.hbm-wizard-step-header p {
	margin: 0 0 8px;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 15px;
	font-weight: 500;
	color: #c9a44c;
	letter-spacing: 0.5px;
}
.hbm-wizard-step-header p:last-child {
	font-size: 15px;
	color: #000;
}

.hbm-wizard-step .hbm-booking-grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.85rem;
}

.hbm-wizard-step .hbm-time-slot-group {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================================================================
 * Fields: icon-led inputs, phone group, time/occasion pills, photo upload
 * ========================================================================= */

.hbm-booking-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.1rem;
	max-width: 100%;
}
@media (min-width: 560px) {
	.hbm-booking-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.1rem 1.25rem;
	}
}

.hbm-booking-field {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.hbm-booking-field--wide {
	grid-column: 1 / -1;
}
.hbm-booking-field--honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hbm-booking-field label {
	font-weight: 600;
	font-size: 0.86rem;
	color: var(--hbm-deep-green);
}

.hbm-required {
	color: #b3261e;
}

.hbm-booking-field input,
.hbm-booking-field select,
.hbm-booking-field textarea {
	border: 1.5px solid var(--hbm-border);
	border-radius: 10px;
	padding: 0.8rem 0.9rem;
	font-family: inherit;
	font-size: 1rem;
	background: var(--hbm-white);
	color: var(--hbm-ink);
	transition: border-color 200ms ease, box-shadow 200ms ease;
	width: 100%;
	min-height: 3rem;
}

.hbm-booking-field input:focus,
.hbm-booking-field select:focus,
.hbm-booking-field textarea:focus {
	outline: none;
	border-color: var(--hbm-gold);
	box-shadow: 0 0 0 3px rgba(201, 161, 90, 0.22);
}

/* Icon-led input wrapper: icon absolutely positioned inside the field. */
.hbm-input-icon-wrap {
	position: relative;
	display: block;
	min-width: 0;
}
.hbm-input-icon-wrap--flex {
	flex: 1 1 auto;
	min-width: 0;
}
.hbm-input-icon-wrap .hbm-icon {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: #a39a80;
	pointer-events: none;
}
.hbm-input-icon-wrap input,
.hbm-input-icon-wrap select {
	padding-left: 2.6rem;
}

.hbm-view-package-link {
	margin: 0.4rem 0 0;
	font-size: 0.82rem;
}
.hbm-view-package-link a,
.hbm-view-package-link {
	color: var(--hbm-gold);
}

.hbm-phone-field {
	display: flex;
	gap: 0.5rem;
	min-width: 0;
	max-width: 100%;
}
.hbm-phone-code {
	flex: 0 0 5.75rem;
	border: 1.5px solid var(--hbm-border);
	border-radius: 10px;
	padding: 0.8rem 0.4rem;
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--hbm-white);
	min-height: 3rem;
}
.hbm-phone-field input[type="tel"] {
	width: 100%;
	min-width: 0;
}

.hbm-booking-for-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: rgba(201, 161, 90, 0.15);
	color: var(--hbm-deep-green);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
	margin: 0 0 1.35rem;
}
.hbm-badge-icon {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--hbm-gold);
	display: inline-block;
}

/* ---------- Time slot pills ---------- */

.hbm-time-slot-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 0.4rem;
}
@media (min-width: 480px) {
	.hbm-time-slot-group {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.hbm-time-slot-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	min-width: 0;
	border: 1.5px solid var(--hbm-border);
	border-radius: 12px;
	background: var(--hbm-white);
	padding: 0.8rem 0.4rem;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hbm-deep-green);
	transition: border-color 200ms ease, background-color 200ms ease;
	min-height: 3rem;
}
.hbm-time-slot-btn .hbm-icon {
	color: var(--hbm-gold);
}
.hbm-time-slot-btn small {
	font-weight: 400;
	font-size: 0.72rem;
	color: var(--hbm-muted);
}
.hbm-time-slot-btn.is-active {
	border-color: var(--hbm-gold);
	background: rgba(201, 161, 90, 0.12);
}
.hbm-field-error {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.82rem;
	color: #b3261e;
}
.hbm-specific-time-wrap {
	margin: 0.75rem 0 0;
}
.hbm-specific-time-wrap input {
	max-width: 100%;
}

/* ---------- Occasion chips (optional) ---------- */

.hbm-occasion-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.35rem;
}
.hbm-occasion-chip {
	border: 1.5px solid var(--hbm-border);
	background: var(--hbm-white);
	color: var(--hbm-deep-green);
	border-radius: 999px;
	padding: 0.5rem 1.05rem;
	font-size: 0.83rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
	min-height: 2.5rem;
}
.hbm-occasion-chip.is-active {
	background: var(--hbm-gold);
	border-color: var(--hbm-gold);
	color: var(--hbm-deep-green);
}

/* ---------- Inspiration photo upload (optional) ---------- */

.hbm-photo-upload {
	margin-top: 0.35rem;
}
.hbm-photo-upload-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	border: 2px dashed var(--hbm-border);
	border-radius: 14px;
	padding: 1.6rem 1rem;
	cursor: pointer;
	text-align: center;
	background: var(--hbm-cream);
	transition: border-color 200ms ease, background-color 200ms ease;
}
.hbm-photo-upload-dropzone:hover {
	border-color: var(--hbm-gold);
	background: rgba(201, 161, 90, 0.08);
}
.hbm-photo-upload-dropzone .hbm-icon {
	width: 1.6rem;
	height: 1.6rem;
	color: var(--hbm-gold);
}
.hbm-photo-upload-text {
	font-weight: 600;
	color: var(--hbm-deep-green);
	font-size: 0.88rem;
}
.hbm-photo-upload-dropzone small {
	color: var(--hbm-muted);
	font-size: 0.76rem;
}
.hbm-photo-preview {
	position: relative;
	margin-top: 0.85rem;
	display: inline-block;
}
.hbm-photo-preview img {
	width: 5.5rem;
	height: 5.5rem;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid var(--hbm-gold-light);
	display: block;
}
.hbm-photo-remove {
	position: absolute;
	top: -0.5rem;
	right: -0.5rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--hbm-deep-green);
	color: #fff;
	border: 2px solid #fff;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.hbm-photo-status {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
	color: var(--hbm-muted);
	min-height: 1rem;
}

/* ---------- Reassurance / security notes ---------- */

.hbm-reassurance-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(201, 161, 90, 0.12);
	color: var(--hbm-deep-green);
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
	font-size: 0.84rem;
	font-weight: 600;
	margin: 1.35rem 0 0;
}
.hbm-reassurance-badge .hbm-icon {
	color: var(--hbm-gold);
}

.hbm-booking-security-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1rem;
	font-size: 0.78rem;
	color: var(--hbm-muted);
	text-align: center;
}
.hbm-booking-security-note .hbm-icon {
	width: 0.9rem;
	height: 0.9rem;
	color: var(--hbm-muted);
}

/* =========================================================================
 * Status + submit buttons
 * ========================================================================= */

.hbm-booking-status {
	margin-top: 1.1rem;
	font-size: 0.88rem;
	min-height: 1.2rem;
}
.hbm-booking-status.is-error {
	color: #b3261e;
}
.hbm-booking-status.is-info {
	color: var(--hbm-deep-green);
}

.hbm-booking-submit.wp-element-button {
	margin-top: 1.5rem;
	width: 100%;
	text-align: center;
	background-color: var(--hbm-gold);
	color: var(--hbm-deep-green);
	border: none;
	border-radius: 999px;
	padding: 1rem;
	min-height: 3.1rem;
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}
.hbm-booking-submit.wp-element-button:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(201, 161, 90, 0.35);
}
.hbm-booking-submit.wp-element-button:disabled,
.hbm-booking-submit.wp-element-button.is-loading {
	opacity: 0.6;
	cursor: not-allowed;
}

/* =========================================================================
 * Step 2: extras cards, group booking panel, summary box
 * ========================================================================= */

.hbm-extras-notice {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fdf4e3;
	color: #6b4a00;
	border-radius: 10px;
	padding: 0.6rem 1rem;
	font-size: 0.83rem;
	margin: 0 0 1rem;
}
.hbm-extras-notice .hbm-icon {
	color: #a9832f;
}

.hbm-extras-list {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.6rem;
}
.hbm-extra-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	border: 1.5px solid var(--hbm-border);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	cursor: pointer;
	background: var(--hbm-white);
	transition: border-color 200ms ease, background-color 200ms ease;
}
.hbm-extra-card:has(.hbm-extra-checkbox:checked) {
	border-color: var(--hbm-gold);
	background: rgba(201, 161, 90, 0.1);
}
.hbm-extra-card:focus-within {
	outline: 2px solid var(--hbm-gold);
	outline-offset: 2px;
}
.hbm-extra-checkbox {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.hbm-extra-checkmark {
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	border: 2px solid var(--hbm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	flex: 0 0 auto;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.hbm-extra-checkmark .hbm-icon {
	width: 0.75rem;
	height: 0.75rem;
}
.hbm-extra-card:has(.hbm-extra-checkbox:checked) .hbm-extra-checkmark {
	background: var(--hbm-gold);
	border-color: var(--hbm-gold);
	color: var(--hbm-deep-green);
}
.hbm-extra-icon {
	flex: 0 0 auto;
	color: var(--hbm-gold);
}
.hbm-extra-info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}
.hbm-extra-name {
	font-weight: 600;
	color: var(--hbm-deep-green);
}
.hbm-extra-desc {
	font-size: 0.78rem;
	color: var(--hbm-muted);
}
.hbm-extra-price {
	flex: 0 0 auto;
	font-weight: 700;
	color: var(--hbm-deep-green);
}

.hbm-group-panel {
	border: 1.5px dashed var(--hbm-border);
	border-radius: 14px;
	padding: 1.15rem;
	margin-bottom: 1.6rem;
	background: var(--hbm-cream);
}
.hbm-group-intro {
	display: flex;
	gap: 0.8rem;
	margin-bottom: 1rem;
}
.hbm-group-intro h3 {
	margin: 0 0 0.3rem;
	color: var(--hbm-deep-green);
	font-family: var(--hbm-heading-font);
	font-size: 1.05rem;
}
.hbm-group-intro p {
	margin: 0 0 0.3rem;
	font-size: 0.86rem;
	color: var(--hbm-muted);
}
.hbm-group-icon {
	flex: 0 0 auto;
	font-size: 1.35rem;
}

.hbm-person-row {
	border: 1.5px solid var(--hbm-border);
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1rem;
	background: var(--hbm-white);
	display: grid;
	gap: 0.85rem;
}
.hbm-person-row-header {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.hbm-person-title {
	color: var(--hbm-deep-green);
	flex: 1 1 auto;
}
.hbm-person-discount-badge {
	background: rgba(201, 161, 90, 0.18);
	color: #a9832f;
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
	font-size: 0.72rem;
	font-weight: 700;
}
.hbm-remove-person {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0.3rem;
	opacity: 0.7;
	min-width: 2.25rem;
	min-height: 2.25rem;
}
.hbm-remove-person:hover {
	opacity: 1;
}

.hbm-add-person-btn {
	width: 100%;
	background: none;
	border: 2px dashed var(--hbm-gold);
	border-radius: 12px;
	padding: 0.8rem;
	min-height: 3rem;
	color: var(--hbm-deep-green);
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 200ms ease;
}
.hbm-add-person-btn:hover {
	background: rgba(201, 161, 90, 0.1);
}
.hbm-add-person-hint {
	text-align: center;
	font-size: 0.76rem;
	color: var(--hbm-muted);
	margin: 0.5rem 0 0;
}

.hbm-summary-box {
	background: var(--hbm-beige);
	border-radius: 14px;
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.5rem;
}
.hbm-summary-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--hbm-deep-green);
	margin-bottom: 0.75rem;
}
.hbm-summary-header .hbm-icon {
	color: var(--hbm-gold);
}
.hbm-summary-placeholder {
	margin: 0;
	font-size: 0.87rem;
	color: var(--hbm-muted);
}
.hbm-summary-line {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.89rem;
	padding: 0.35rem 0;
	border-bottom: 1px dashed rgba(107, 114, 104, 0.25);
}
.hbm-summary-total {
	border-bottom: none;
	border-top: 1px solid rgba(107, 114, 104, 0.35);
	margin-top: 0.35rem;
	padding-top: 0.6rem;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--hbm-deep-green);
}
.hbm-summary-savings {
	margin: 0.6rem 0 0;
	font-size: 0.84rem;
	font-weight: 600;
	color: #3f7d4a;
	text-align: right;
}

/* =========================================================================
 * Step 3: big total ribbon, payment method buttons, bank-transfer preview,
 * confirmation screens
 * ========================================================================= */

.hbm-amount-due-box {
	text-align: center;
	border-radius: 16px;
	padding: 1.65rem 1.35rem;
	margin-bottom: 1.5rem;
}
.hbm-amount-due-label {
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #000;
}
.hbm-amount-due-value {
	margin: 0;
	font-family: var(--hbm-heading-font);
	font-size: 2.35rem;
	font-weight: 700;
	color: #000;
}
.hbm-amount-due-note {
	margin: 0.35rem 0 0;
	font-size: 0.76rem;
	color: #000;
}

.hbm-payment-methods {
	display: grid;
	gap: 0.7rem;
	margin-bottom: 1.5rem;
}
.hbm-payment-method-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	border: 1.5px solid var(--hbm-border);
	border-radius: 12px;
	padding: 0.9rem 1.1rem;
	cursor: pointer;
	background: var(--hbm-white);
	transition: border-color 200ms ease, background-color 200ms ease;
	min-height: 3.1rem;
}
.hbm-payment-method-card:has(input:checked) {
	border-color: var(--hbm-gold);
	background: rgba(201, 161, 90, 0.1);
}
.hbm-payment-method-card:focus-within {
	outline: 2px solid var(--hbm-gold);
	outline-offset: 2px;
}
.hbm-payment-method-card input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.hbm-payment-method-icon {
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 10px;
	background: var(--hbm-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hbm-deep-green);
}
.hbm-payment-method-label {
	flex: 1 1 auto;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--hbm-deep-green);
}
.hbm-payment-method-check {
	width: 1.2rem;
	height: 1.2rem;
	color: var(--hbm-gold);
	opacity: 0;
	transition: opacity 200ms ease;
	flex: 0 0 auto;
}
.hbm-payment-method-card:has(input:checked) .hbm-payment-method-check {
	opacity: 1;
}

/* Stripe's Payment Element renders its own native Apple Pay / Google Pay /
   card UI here when those wallets are available — deliberately left
   unstyled beyond the container so Stripe's own accessible, brand-compliant
   markup isn't fought with. */
.hbm-payment-element {
	margin-top: 1.4rem;
	padding: 1.2rem;
	border: 1.5px solid var(--hbm-border);
	border-radius: 12px;
	background: var(--hbm-white);
	min-height: 3rem;
}

.hbm-bank-transfer-preview {
	background: var(--hbm-beige);
	border-radius: 12px;
	padding: 1.2rem;
	margin-bottom: 1.5rem;
}
.hbm-bank-transfer-intro {
	margin: 0 0 1rem;
	font-size: 0.88rem;
}

.hbm-bank-details {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	text-align: left;
}
.hbm-bank-details > div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px dashed var(--hbm-border);
}
.hbm-bank-details dt {
	font-weight: 600;
	color: var(--hbm-deep-green);
}
.hbm-bank-details dd {
	margin: 0;
	text-align: right;
	color: var(--hbm-ink);
}

.hbm-bank-transfer-note {
	margin-top: 1rem;
	font-size: 0.84rem;
	color: var(--hbm-muted);
}

.hbm-payment-reassurance {
	margin-top: 1.4rem;
	display: grid;
	gap: 0.6rem;
}
.hbm-payment-reassurance p {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--hbm-muted);
	margin: 0;
	background: var(--hbm-cream);
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
}
.hbm-payment-reassurance .hbm-icon {
	color: var(--hbm-gold);
	margin-top: 0.1rem;
}

/* =========================================================================
 * Confirmation screens
 * ========================================================================= */

.hbm-booking-success {
	text-align: center;
	padding: 2rem 1rem;
}
.hbm-booking-success h3 {
	color: var(--hbm-deep-green);
	font-family: var(--hbm-heading-font);
	margin-bottom: 0.5rem;
}

.hbm-booking-success--bank-transfer {
	text-align: left;
}
.hbm-booking-success--bank-transfer h3 {
	text-align: center;
}
.hbm-booking-success--bank-transfer > p:first-of-type {
	text-align: center;
}
.hbm-booking-success--bank-transfer .hbm-bank-details {
	background: var(--hbm-beige);
	border-radius: 12px;
	padding: 1.25rem;
	margin: 1.25rem 0;
}

.hbm-confirm-summary {
	background: var(--hbm-beige);
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	text-align: left;
}
.hbm-confirm-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.9rem;
	padding: 0.4rem 0;
	border-bottom: 1px dashed rgba(107, 114, 104, 0.25);
}
.hbm-confirm-row:last-child {
	border-bottom: none;
}
.hbm-confirm-row--total {
	font-weight: 700;
	color: var(--hbm-deep-green);
}
.hbm-confirm-check {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--hbm-gold);
	color: var(--hbm-deep-green);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	font-weight: 700;
}
.hbm-confirm-note {
	font-size: 0.85rem;
	color: var(--hbm-muted);
}

/* =========================================================================
 * Small screens: keep desktop layout — only prevent horizontal overflow
 * ========================================================================= */

@media (max-width: 480px) {
	.hbm-wizard-step-heading-text {
		font-size: clamp(0.72rem, 3.2vw, 1rem);
	}
}

.hbm-wizard-step {
	width: 100%;
	min-width: 0;
}
