/* =========================================================================
   L Beauty Studio — Public Booking Module CSS (Tranche X1)
   =========================================================================
   Dark theme aligned with lbeautystudio.co.uk brand tokens.
   Mobile-first; widened layout for iframe embedding.
   ========================================================================= */

/* -------------------------------------------------------------------------
   CSS Custom Properties (brand tokens — sampled from live site)
   ------------------------------------------------------------------------- */
:root {
	--lbs-bg:           #181818;
	--lbs-bg-surface:   #1f1f1f;
	--lbs-bg-card:      #262626;
	--lbs-bg-input:     #1f1f1f;
	/* Neutral light accent (not the site's tan/brown base-semi-light token) —
	   used for fills/borders/text so the module reads as black-and-grey with
	   light highlights, matching the site, rather than a warm brown theme. */
	--lbs-accent:       #eeeeee;
	--lbs-accent-hover: #ffffff;
	--lbs-accent-muted: #8a8a8a;
	--lbs-text:         #dcdcdc;
	--lbs-heading:      #f5f5f5;
	--lbs-muted:        #9d9d9d;
	--lbs-border:       #444444;
	--lbs-border-light: #333333;
	--lbs-error:        #e87870;
	--lbs-success:      #7dcea0;

	--lbs-font:         'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--lbs-font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--lbs-radius:       8px;
	--lbs-shadow:       0 2px 16px rgba(0, 0, 0, 0.35);
	--lbs-transition:   0.18s ease;
}

/* -------------------------------------------------------------------------
   Base reset (scoped to .beauty-public to minimise iframe collision)
   ------------------------------------------------------------------------- */
.beauty-public *,
.beauty-public *::before,
.beauty-public *::after {
	box-sizing: border-box;
}

.beauty-public {
	margin: 0;
	padding: 0;
	font-family: var(--lbs-font);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.6;
	color: var(--lbs-text);
	background: var(--lbs-bg);
	-webkit-font-smoothing: antialiased;
	color-scheme: dark;
}

.beauty-public a {
	color: var(--lbs-accent);
	transition: color var(--lbs-transition);
}

.beauty-public a:hover {
	color: var(--lbs-accent-hover);
}

/* -------------------------------------------------------------------------
   Logo header
   ------------------------------------------------------------------------- */
.bpub-logo-header {
	padding: 0.5rem 0 1.25rem;
	text-align: center;
}

.bpub-logo-header__img {
	display: block;
	width: 160px;
	max-width: 55vw;
	height: auto;
	margin: 0 auto;
}

@media (min-width: 700px) {
	.bpub-logo-header {
		text-align: left;
	}

	.bpub-logo-header__img {
		margin: 0;
		width: 170px;
	}
}

/* -------------------------------------------------------------------------
   Outer wrapper
   ------------------------------------------------------------------------- */
.bpub-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 1.25rem 1rem 3rem;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.bpub-footer {
	border-top: 1px solid var(--lbs-border-light);
	text-align: center;
	padding: 1rem;
	font-size: 12px;
	color: var(--lbs-muted);
	background: var(--lbs-bg);
}

.bpub-footer a {
	color: var(--lbs-muted);
	text-decoration: underline;
}

.bpub-footer a:hover {
	color: var(--lbs-accent);
}

.bpub-footer__brand {
	font-weight: 500;
	color: var(--lbs-heading);
}

/* -------------------------------------------------------------------------
   Page header / section headings
   ------------------------------------------------------------------------- */
.bpub-page-title {
	font-family: var(--lbs-font-heading);
	font-size: 1.75rem;
	font-weight: 400;
	color: var(--lbs-heading);
	margin: 0 0 0.25rem;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.bpub-page-subtitle {
	font-size: 0.9rem;
	color: var(--lbs-muted);
	margin: 0 0 1.75rem;
	font-weight: 300;
}

.bpub-section-heading {
	font-family: var(--lbs-font-heading);
	font-size: 0.95rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--lbs-accent);
	margin: 0 0 0.75rem;
}

/* Step header — title left, treatment list right */
.bpub-step-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 0.25rem;
}

.bpub-step-header__text {
	flex: 1;
	min-width: 0;
}

.bpub-step-header .bpub-page-subtitle {
	margin-bottom: 1.75rem;
}

.bpub-step-booking-list-wrap {
	flex-shrink: 0;
	max-width: 46%;
	min-width: 10rem;
	text-align: right;
	padding-top: 0.15rem;
}

.bpub-step-booking-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.bpub-step-booking-list__item {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 0.65rem;
}

.bpub-step-booking-list__item + .bpub-step-booking-list__item {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--lbs-border-light);
}

.bpub-step-booking-list__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	font-size: 0.82rem;
	color: var(--lbs-muted);
	line-height: 1.35;
	transform: translateY(1px);
}

.bpub-step-booking-list__title {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--lbs-heading);
	line-height: 1.35;
	text-align: right;
}

@media (max-width: 640px) {
	.bpub-step-header {
		flex-direction: column;
		gap: 0.75rem;
	}

	.bpub-step-booking-list-wrap {
		max-width: none;
		width: 100%;
		text-align: left;
		padding-top: 0;
	}

	.bpub-step-booking-list {
		text-align: left;
	}

	.bpub-step-booking-list__item {
		justify-content: flex-start;
	}

	.bpub-step-booking-list__title {
		text-align: left;
	}
}

/* -------------------------------------------------------------------------
   Cards (treatment groups, treatment items, basket summary)
   ------------------------------------------------------------------------- */
.bpub-card {
	background: var(--lbs-bg-card);
	border: 1px solid var(--lbs-border-light);
	border-radius: var(--lbs-radius);
	box-shadow: var(--lbs-shadow);
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.bpub-card__title {
	font-family: var(--lbs-font-heading);
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--lbs-heading);
	margin: 0 0 0.4rem;
}

.bpub-card__meta {
	font-size: 0.85rem;
	color: var(--lbs-muted);
	margin: 0;
}

.bpub-card__price {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--lbs-heading);
}

.bpub-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

/* -------------------------------------------------------------------------
   Treatment / variation list
   ------------------------------------------------------------------------- */
.bpub-treatment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bpub-treatment-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--lbs-border-light);
	gap: 1rem;
}

.bpub-treatment-list__item:last-child {
	border-bottom: none;
}

.bpub-treatment-list__name {
	font-weight: 400;
}

.bpub-treatment-list__detail {
	font-size: 0.82rem;
	color: var(--lbs-muted);
}

.bpub-treatment-list__price {
	font-weight: 500;
	color: var(--lbs-heading);
	white-space: nowrap;
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Slot picker grid
   ------------------------------------------------------------------------- */
.bpub-slot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	min-height: 2.35rem;
	transition: opacity 0.15s ease;
}

.bpub-slot-grid--pending {
	opacity: 0.45;
	pointer-events: none;
}

.bpub-slot-btn {
	padding: 0.45rem 0.85rem;
	border: 1.5px solid var(--lbs-border);
	border-radius: calc(var(--lbs-radius) / 2);
	background: var(--lbs-bg-surface);
	font-family: var(--lbs-font);
	font-size: 0.85rem;
	font-weight: 400;
	cursor: pointer;
	transition: border-color var(--lbs-transition), background var(--lbs-transition), color var(--lbs-transition);
	color: var(--lbs-text);
}

.bpub-slot-btn:hover,
.bpub-slot-btn:focus {
	border-color: var(--lbs-accent);
	background: var(--lbs-bg-card);
	outline: none;
}

.bpub-slot-btn--selected,
.bpub-slot-btn--selected:hover,
.bpub-slot-btn--selected:focus {
	background: var(--lbs-accent);
	border-color: var(--lbs-accent);
	color: var(--lbs-bg);
	font-weight: 500;
}

.bpub-slot-btn--disabled,
.bpub-slot-btn--disabled:hover,
.bpub-slot-btn:disabled {
	opacity: 0.38;
	cursor: not-allowed;
	border-color: var(--lbs-border);
	background: var(--lbs-bg-surface);
	color: var(--lbs-muted);
}

/* -------------------------------------------------------------------------
   Date chip week picker (Tranche X2)
   ------------------------------------------------------------------------- */
.bpub-date-week {
	margin-bottom: 2.25rem;
}

.bpub-date-week__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	background: rgba(24, 24, 24, 0.5);
	z-index: 1;
	border-radius: calc(var(--lbs-radius) / 2);
}

.bpub-date-chip-row {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
}

.bpub-date-chip-row__days-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 2.35rem;
	margin-left: 2rem;
	margin-right: 2rem;
}

.bpub-date-chip-row__days {
	display: flex;
	flex: 1 1 auto;
	gap: 0.5rem;
	min-width: 0;
	transition: opacity 0.15s ease;
}

.bpub-date-chip-row__days--pending {
	opacity: 0.45;
	pointer-events: none;
}

.bpub-date-week__nav {
	flex: 0 0 auto;
	align-self: stretch;
	padding: 0.45rem 0.65rem;
	font-size: 0.85rem;
	font-weight: 500;
	white-space: nowrap;
	background: rgba(120, 165, 210, 0.12);
	border-color: rgba(120, 165, 210, 0.32);
	color: #8fa8c4;
}

.bpub-date-week__nav:hover:not(:disabled) {
	background: rgba(120, 165, 210, 0.18);
	border-color: rgba(120, 165, 210, 0.42);
	color: #a8bdd4;
}

.bpub-slot-btn.bpub-date-week__nav:focus,
.bpub-slot-btn.bpub-date-week__nav:focus-visible {
	outline: none;
	background: rgba(120, 165, 210, 0.12);
	border-color: rgba(120, 165, 210, 0.32);
	color: #8fa8c4;
}

.bpub-date-week__nav:disabled,
.bpub-slot-btn.bpub-date-week__nav:disabled:focus {
	opacity: 0.38;
	cursor: not-allowed;
	border-color: var(--lbs-border);
	color: var(--lbs-muted);
	background: var(--lbs-bg-surface);
}

.bpub-date-chip {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	padding-left: 0.35rem;
	padding-right: 0.35rem;
}

@media (max-width: 520px) {
	.bpub-date-chip-row__days-wrap {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.bpub-date-week__nav-label {
		display: none;
	}

	.bpub-date-week__nav {
		padding: 0.45rem 0.55rem;
	}
}

/* -------------------------------------------------------------------------
   Basket summary strip
   ------------------------------------------------------------------------- */
.bpub-basket {
	background: var(--lbs-bg-card);
	border: 1.5px solid var(--lbs-border);
	border-radius: var(--lbs-radius);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

.bpub-basket__item {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 1rem;
	padding: 1rem 0;
	font-size: 0.9rem;
	border-bottom: 1px solid var(--lbs-border-light);
}

.bpub-basket__item:last-of-type {
	border-bottom: none;
}

.bpub-basket__media {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	display: flex;
	align-self: flex-start;
}

.bpub-basket__thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: calc(var(--lbs-radius) / 1.5);
	border: 1px solid var(--lbs-border-light);
	flex-shrink: 0;
}

/* Shown in place of a photo wherever a treatment has none uploaded yet, so
   every line item/step still has something in the image slot rather than a
   gap or a broken-image icon. Combine with the existing size class for that
   slot (e.g. .bpub-basket__thumb.bpub-thumb-placeholder) — this only overrides
   the look, not the dimensions. */
.bpub-thumb-placeholder {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--lbs-bg-surface);
	color: var(--lbs-muted);
	font-family: var(--lbs-font-heading);
	font-weight: 400;
	font-size: 1.3em;
}

.bpub-basket__remove {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--lbs-muted);
	font-family: var(--lbs-font);
	font-size: 0.78rem;
	line-height: 1.2;
	padding: 0;
	transition: color var(--lbs-transition);
}

.bpub-basket__remove-x {
	font-size: 1rem;
	line-height: 1;
	transform: translateY(-1px);
}

.bpub-basket__remove:hover {
	color: var(--lbs-error);
}

.bpub-basket__total {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	color: var(--lbs-heading);
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1.5px solid var(--lbs-border-light);
}

.bpub-basket__deposit-note {
	font-size: 0.8rem;
	color: var(--lbs-muted);
	margin-top: 0.25rem;
	text-align: right;
}

.bpub-basket__pay-note {
	font-size: 0.8rem;
	color: var(--lbs-muted);
	margin: 0;
	font-style: italic;
	line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.bpub-form-group {
	margin-bottom: 1.1rem;
}

.bpub-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--lbs-heading);
	margin-bottom: 0.35rem;
}

.bpub-label__required {
	color: var(--lbs-accent);
	margin-left: 2px;
}

.bpub-input,
.bpub-select,
.bpub-textarea {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1.5px solid var(--lbs-border);
	border-radius: calc(var(--lbs-radius) / 1.5);
	font-family: var(--lbs-font);
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--lbs-text);
	background: var(--lbs-bg-input);
	transition: border-color var(--lbs-transition), box-shadow var(--lbs-transition);
	-webkit-appearance: none;
	appearance: none;
}

.bpub-input::placeholder,
.bpub-textarea::placeholder {
	color: rgba(220, 220, 220, 0.42);
	opacity: 1;
}

.bpub-input:focus,
.bpub-select:focus,
.bpub-textarea:focus {
	outline: none;
	border-color: var(--lbs-accent);
	box-shadow: 0 0 0 3px rgba(238, 238, 238, 0.25);
}

.bpub-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23eeeeee' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2rem;
}

.bpub-textarea {
	min-height: 80px;
	resize: vertical;
}

.bpub-field-hint {
	font-size: 0.78rem;
	color: var(--lbs-muted);
	margin-top: 0.25rem;
}

.bpub-field-error {
	font-size: 0.78rem;
	color: var(--lbs-error);
	margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   Checkboxes / consent
   ------------------------------------------------------------------------- */
.bpub-check-group {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.bpub-check-group input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: var(--lbs-accent);
}

.bpub-check-group label {
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--lbs-text);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.bpub-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.5rem;
	border-radius: var(--lbs-radius);
	font-family: var(--lbs-font);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: background var(--lbs-transition), color var(--lbs-transition), border-color var(--lbs-transition), box-shadow var(--lbs-transition);
	text-decoration: none;
	white-space: nowrap;
}

.bpub-btn:disabled,
.bpub-btn[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

.bpub-btn--primary {
	background: var(--lbs-accent);
	border-color: var(--lbs-accent);
	color: var(--lbs-bg);
}

.bpub-btn--primary:hover:not(:disabled) {
	background: var(--lbs-accent-hover);
	border-color: var(--lbs-accent-hover);
}

.bpub-btn--ghost {
	background: transparent;
	border-color: var(--lbs-border);
	color: var(--lbs-text);
}

.bpub-btn--ghost:hover:not(:disabled) {
	border-color: var(--lbs-accent);
	color: var(--lbs-heading);
}

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

/* -------------------------------------------------------------------------
   Payment choice toggle (deposit / full)
   ------------------------------------------------------------------------- */
.bpub-pay-choice {
	display: flex;
	border: 1.5px solid var(--lbs-border);
	border-radius: var(--lbs-radius);
	overflow: hidden;
}

.bpub-pay-choice__opt {
	flex: 1;
	padding: 0.6rem;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 400;
	cursor: pointer;
	background: var(--lbs-bg-surface);
	color: var(--lbs-text);
	transition: background var(--lbs-transition), color var(--lbs-transition);
	border: none;
	font-family: var(--lbs-font);
}

.bpub-pay-choice__opt--active {
	background: var(--lbs-accent);
	color: var(--lbs-bg);
	font-weight: 500;
}

/* -------------------------------------------------------------------------
   Step indicator
   ------------------------------------------------------------------------- */
.bpub-steps {
	display: flex;
	gap: 0;
	margin-bottom: 2rem;
	counter-reset: step;
}

.bpub-steps__step {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	text-align: center;
	font-family: var(--lbs-font);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--lbs-muted);
	padding: 0.6rem 0.25rem 0.5rem;
	border-bottom: 2px solid var(--lbs-border-light);
	transition: color var(--lbs-transition), border-color var(--lbs-transition);
}

.bpub-steps__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1;
	background: var(--lbs-accent);
	color: var(--lbs-bg);
}

.bpub-steps__step--active .bpub-steps__badge {
	background: var(--lbs-heading);
	color: var(--lbs-bg);
}

.bpub-steps__step--done .bpub-steps__badge {
	background: var(--lbs-success);
	color: var(--lbs-bg);
}

.bpub-steps__step--active {
	color: var(--lbs-heading);
	font-weight: 500;
	border-color: var(--lbs-accent);
}

.bpub-steps__step--done {
	color: var(--lbs-success);
	border-color: var(--lbs-success);
}

/* -------------------------------------------------------------------------
   Status / alert banners
   ------------------------------------------------------------------------- */
.bpub-alert {
	border-radius: calc(var(--lbs-radius) / 1.5);
	padding: 0.75rem 1rem;
	font-size: 0.88rem;
	margin-bottom: 1rem;
}

.bpub-alert--error {
	background: rgba(232, 120, 112, 0.12);
	border: 1px solid rgba(232, 120, 112, 0.35);
	color: var(--lbs-error);
}

.bpub-alert--success {
	background: rgba(125, 206, 160, 0.12);
	border: 1px solid rgba(125, 206, 160, 0.35);
	color: var(--lbs-success);
}

.bpub-alert--info {
	background: rgba(238, 238, 238, 0.08);
	border: 1px solid rgba(238, 238, 238, 0.25);
	color: var(--lbs-text);
}

.bpub-alert--warn {
	background: rgba(238, 238, 238, 0.06);
	border: 1px solid var(--lbs-border);
	color: var(--lbs-accent);
}

/* -------------------------------------------------------------------------
   Loading spinner
   ------------------------------------------------------------------------- */
.bpub-spinner {
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	border: 2.5px solid var(--lbs-border);
	border-top-color: var(--lbs-accent);
	border-radius: 50%;
	animation: bpub-spin 0.7s linear infinite;
	vertical-align: middle;
}

@keyframes bpub-spin {
	to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------
   Success confirmation (booking_success.php)
   ------------------------------------------------------------------------- */
.bpub-confirm {
	text-align: center;
	padding: 2rem 0;
}

.bpub-confirm__icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: block;
	color: var(--lbs-success);
}

.bpub-confirm__heading {
	font-family: var(--lbs-font-heading);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--lbs-heading);
	margin: 0 0 0.5rem;
}

.bpub-confirm__sub {
	color: var(--lbs-muted);
	font-size: 0.9rem;
	margin: 0 0 1.5rem;
}

/* -------------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------------- */
.bpub-hidden {
	display: none !important;
}

.bpub-mt {
	margin-top: 1rem;
}

.bpub-mt-sm {
	margin-top: 0.85rem;
}

/* -------------------------------------------------------------------------
   App shell & step panels
   ------------------------------------------------------------------------- */
.bpub-app {
	position: relative;
}

.bpub-step-actions {
	margin-top: 1.5rem;
}

.bpub-step-actions--split {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bpub-step-actions--split .bpub-btn--full {
	flex: 1;
	min-width: 140px;
}

.bpub-loading-overlay {
	position: fixed;
	inset: 0;
	background: rgba(24, 24, 24, 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
}

/* -------------------------------------------------------------------------
   Deep-link notice (arrived via a treatment's "Book now" link with ?trt_id=)
   ------------------------------------------------------------------------- */
.bpub-deeplink-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	background: var(--lbs-bg-surface);
	border: 1px solid var(--lbs-border-light);
	border-radius: var(--lbs-radius);
	padding: 0.7rem 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.88rem;
	color: var(--lbs-text);
}

.bpub-link-btn {
	background: none;
	border: none;
	padding: 0;
	font-family: var(--lbs-font);
	font-size: 0.82rem;
	color: var(--lbs-accent);
	text-decoration: underline;
	cursor: pointer;
	white-space: nowrap;
}

.bpub-link-btn:hover {
	color: var(--lbs-accent-hover);
}

/* -------------------------------------------------------------------------
   Catalogue navigation
   ------------------------------------------------------------------------- */
.bpub-catalogue-nav {
	margin-bottom: 1rem;
}

@media (min-width: 700px) {
	.bpub-catalogue-nav {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 0.75rem;
	}

	.bpub-catalogue-nav .bpub-form-group {
		margin-bottom: 0;
	}
}

/* Treatment detail — side-by-side on desktop */
.bpub-treatment-detail-card {
	display: block;
}

.bpub-treatment-detail-card__media {
	margin-bottom: 1rem;
}

.bpub-treatment-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: var(--lbs-radius);
	border: 1px solid var(--lbs-border-light);
}

@media (min-width: 700px) {
	.bpub-treatment-detail-card {
		display: grid;
		grid-template-columns: minmax(200px, 42%) 1fr;
		gap: 1.25rem;
		align-items: start;
	}

	.bpub-treatment-detail-card--no-image {
		grid-template-columns: 1fr;
	}

	.bpub-treatment-detail-card__media {
		margin-bottom: 0;
	}

	.bpub-treatment-image {
		margin-bottom: 0;
	}
}

.bpub-treatment-detail {
	font-size: 0.9rem;
	color: var(--lbs-text);
	margin: 0.5rem 0 0;
	line-height: 1.55;
}

.bpub-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 480px) {
	.bpub-form-row {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Basket item layout
   ------------------------------------------------------------------------- */
.bpub-basket__item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
}

.bpub-basket__item-title {
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--lbs-heading);
}

.bpub-basket__item-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	color: var(--lbs-muted);
	line-height: 1.35;
}

.bpub-duration-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	width: 0.875rem;
	height: 0.875rem;
	color: var(--lbs-muted);
}

.bpub-duration-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bpub-basket__item-pay {
	line-height: 1.4;
}

.bpub-basket__item-pay .bpub-pay-choice {
	margin-top: 0;
}

.bpub-basket__item-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.5rem;
	flex-shrink: 0;
	align-self: stretch;
}

.bpub-basket__total--paynow {
	color: var(--lbs-accent);
	font-size: 1.05rem;
}

/* Checkout summary — title left, treatment list right (matches date & time step) */
.bpub-checkout-summary {
	margin-bottom: 1.25rem;
}

.bpub-checkout-summary__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--lbs-border-light);
}

.bpub-checkout-summary .bpub-card__title {
	margin: 0;
	flex-shrink: 0;
	font-size: 1.4rem;
	line-height: 1.25;
}

.bpub-checkout-summary__list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	max-width: 60%;
	text-align: right;
}

.bpub-checkout-summary__list-item {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 0.65rem;
	font-size: 0.9rem;
}

.bpub-checkout-summary__list-item + .bpub-checkout-summary__list-item {
	margin-top: 0.4rem;
	padding-top: 0.4rem;
	border-top: 1px solid var(--lbs-border-light);
}

.bpub-checkout-summary__list-name {
	color: var(--lbs-heading);
	text-align: right;
}

.bpub-checkout-summary__list-price {
	color: var(--lbs-muted);
	flex-shrink: 0;
}

@media (max-width: 560px) {
	.bpub-checkout-summary__head {
		flex-direction: column;
		gap: 0.5rem;
	}

	.bpub-checkout-summary__list {
		max-width: none;
		width: 100%;
		text-align: left;
	}

	.bpub-checkout-summary__list-item {
		justify-content: space-between;
	}

	.bpub-checkout-summary__list-name {
		text-align: left;
	}
}

.bpub-consent-fieldset {
	border: none;
	margin: 0 0 1rem;
	padding: 0;
}

.bpub-consent-fieldset legend {
	padding: 0;
}

.bpub-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bpub-practitioner-wrap {
	margin: 0 0 1.25rem;
}

.bpub-practitioner-single {
	color: var(--lbs-text);
	font-size: 1rem;
	margin: 0 0 0.75rem;
}

.bpub-practitioner-choices {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.bpub-practitioner-option {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--lbs-border);
	border-radius: var(--lbs-radius);
	background: var(--lbs-bg-card);
	color: var(--lbs-text);
	cursor: pointer;
	font-size: 0.95rem;
}

.bpub-practitioner-option:has(input:checked),
.bpub-practitioner-option:focus-within {
	border-color: var(--lbs-accent);
	background: var(--lbs-bg-surface);
}

.bpub-practitioner-option input {
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--lbs-accent);
}

@media (max-width: 900px) {
	.bpub-practitioner-option {
		flex: 1 1 calc(50% - 0.6rem);
	}
}
@media (max-width: 699px) {
	.bpub-wrap {
		padding: 1rem 0.75rem 2.5rem;
	}
}

@media (max-width: 400px) {
	.bpub-page-title {
		font-size: 1.4rem;
	}

	.bpub-pay-choice {
		flex-direction: column;
	}

	.bpub-steps__step {
		font-size: 0.88rem;
	}

	.bpub-steps__badge {
		min-width: 1.2rem;
		height: 1.2rem;
		font-size: 0.65rem;
	}

	.bpub-logo-header__img {
		width: 130px;
	}
}
