/**
 * JT Coaching Booking — customer booking wizard.
 *
 * This runs inside whatever theme the site uses (here, a heavy commercial
 * theme), so every rule is scoped under .jtcb-book and the wrapper resets the
 * handful of properties themes most often impose: box sizing, list styling,
 * button chrome and input chrome. Nothing here leaks out, and very little
 * leaks in.
 */

.jtcb-book {
	--jtcb-brand: #2e7d32;
	--jtcb-brand-dark: #215d25;
	--jtcb-brand-soft: #eaf4eb;
	--jtcb-brand-ring: rgba(46, 125, 50, 0.2);
	--jtcb-navy: #1a2b43;
	--jtcb-bg: #f6f8fa;
	--jtcb-surface: #fff;
	--jtcb-border: #e2e8f0;
	--jtcb-border-strong: #cbd5e1;
	--jtcb-text: #1a2b43;
	--jtcb-muted: #5f7185;
	--jtcb-subtle: #8a9aac;
	--jtcb-danger: #b42318;
	--jtcb-danger-bg: #fdeceb;
	--jtcb-success: #15803d;
	--jtcb-success-bg: #e7f6ec;
	--jtcb-warning: #a85c07;
	--jtcb-warning-bg: #fdf3e3;
	--jtcb-r: 12px;
	--jtcb-r-sm: 9px;
	--jtcb-shadow: 0 1px 3px rgba(26, 43, 67, 0.07), 0 1px 2px rgba(26, 43, 67, 0.04);
	--jtcb-shadow-lg: 0 10px 34px rgba(26, 43, 67, 0.12);

	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	color: var(--jtcb-text);
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}

.jtcb-book *,
.jtcb-book *::before,
.jtcb-book *::after {
	box-sizing: border-box;
}

.jtcb-book p,
.jtcb-book h1,
.jtcb-book h2,
.jtcb-book h3,
.jtcb-book h4,
.jtcb-book ul,
.jtcb-book ol,
.jtcb-book li,
.jtcb-book dl,
.jtcb-book dd,
.jtcb-book fieldset {
	margin: 0;
	padding: 0;
}

.jtcb-book ul,
.jtcb-book ol {
	list-style: none;
}

/* Component rules set display, which outranks the user agent's
   [hidden] { display: none } and would leave hidden elements on screen. */
.jtcb-book [hidden] {
	display: none !important;
}

.jtcb-book fieldset {
	border: 0;
	min-width: 0;
}

.jtcb-book button {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
}

.jtcb-book input,
.jtcb-book select,
.jtcb-book textarea {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
}

/* ---------------------------------------------------------------
 * Progress indicator
 * --------------------------------------------------------------- */

.jtcb-steps {
	display: flex;
	align-items: center;
	margin-bottom: 22px;
}

/* Each step takes an equal share and ends in a connector that fills whatever
   space is left, so the row reads as one track at any width instead of
   bunching the dots at the left. */
.jtcb-steps__item {
	display: flex;
	flex: 1 1 0;
	gap: 9px;
	align-items: center;
	min-width: 0;
	color: var(--jtcb-subtle);
	font-size: 13.5px;
	font-weight: 600;
}

.jtcb-steps__item:last-child {
	flex: 0 1 auto;
}

.jtcb-steps__item:not(:last-child)::after {
	flex: 1 1 auto;
	min-width: 10px;
	height: 2px;
	margin: 0 4px;
	border-radius: 2px;
	background: var(--jtcb-border);
	content: "";
}

.jtcb-steps__item.is-done::after {
	background: var(--jtcb-brand);
}

.jtcb-steps__dot {
	display: inline-flex;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: 12.5px;
	line-height: 1;
}

.jtcb-steps__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jtcb-steps__item.is-current {
	color: var(--jtcb-brand-dark);
}

.jtcb-steps__item.is-current .jtcb-steps__dot {
	background: var(--jtcb-brand-soft);
	border-color: var(--jtcb-brand);
	color: var(--jtcb-brand-dark);
}

.jtcb-steps__item.is-done {
	color: var(--jtcb-muted);
}

.jtcb-steps__item.is-done .jtcb-steps__dot {
	border-color: var(--jtcb-brand);
	background: var(--jtcb-brand);
	color: #fff;
	font-size: 0;
}

.jtcb-steps__item.is-done .jtcb-steps__dot::before {
	content: "✓";
	font-size: 14px;
}

/* ---------------------------------------------------------------
 * Layout
 * --------------------------------------------------------------- */

.jtcb-book__body {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: minmax(0, 1fr) 320px;
}

.jtcb-book__main {
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--jtcb-border);
	border-radius: 16px;
	background: var(--jtcb-surface);
	box-shadow: var(--jtcb-shadow);
}

.jtcb-book__aside {
	position: sticky;
	top: 24px;
}

.jtcb-book__loading {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 56px 20px;
	color: var(--jtcb-muted);
	font-size: 15px;
}

.jtcb-book__spinner,
.jtcb-b-btn__spinner {
	display: inline-block;
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	border: 2px solid var(--jtcb-brand-ring);
	border-top-color: var(--jtcb-brand);
	border-radius: 50%;
	animation: jtcb-spin 0.7s linear infinite;
}

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

.jtcb-book .jtcb-step__title {
	margin-bottom: 4px;
	color: var(--jtcb-navy);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.jtcb-book .jtcb-step__hint {
	margin-bottom: 20px;
	color: var(--jtcb-muted);
	font-size: 14.5px;
}

.jtcb-group {
	margin-bottom: 26px;
}

.jtcb-group:last-child {
	margin-bottom: 0;
}

.jtcb-group__label {
	margin-bottom: 10px;
	color: var(--jtcb-navy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------
 * Selection cards
 * --------------------------------------------------------------- */

.jtcb-choices {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.jtcb-choices--wide {
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.jtcb-choice {
	position: relative;
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 5px;
	align-items: flex-start;
	padding: 16px 18px;
	border: 1.5px solid var(--jtcb-border);
	border-radius: var(--jtcb-r);
	background: var(--jtcb-surface);
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.jtcb-choice:hover {
	border-color: var(--jtcb-border-strong);
	box-shadow: var(--jtcb-shadow);
}

.jtcb-choice:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--jtcb-brand-ring);
}

.jtcb-choice.is-selected {
	border-color: var(--jtcb-brand);
	background: var(--jtcb-brand-soft);
}

.jtcb-choice.is-selected::after {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--jtcb-brand);
	color: #fff;
	content: "\2713";
	font-size: 12px;
	line-height: 20px;
	place-items: center;
}

.jtcb-choice__name {
	color: var(--jtcb-navy);
	font-size: 16px;
	font-weight: 650;
	letter-spacing: -0.01em;
	padding-right: 26px;
}

.jtcb-choice__meta {
	color: var(--jtcb-muted);
	font-size: 13px;
}

.jtcb-choice__price {
	margin-top: 4px;
	color: var(--jtcb-brand-dark);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.jtcb-book .jtcb-choice__list {
	margin-top: 8px;
	display: grid;
	gap: 3px;
}

.jtcb-choice__list li {
	position: relative;
	padding-left: 16px;
	color: var(--jtcb-muted);
	font-size: 13px;
}

.jtcb-choice__list li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--jtcb-brand);
	content: "\2713";
	font-size: 11px;
}

.jtcb-choice__tag {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 8px;
	border-radius: 99px;
	background: var(--jtcb-brand-soft);
	color: var(--jtcb-brand-dark);
	font-size: 11.5px;
	font-weight: 650;
}

.jtcb-choice__swatch {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 7px;
	border-radius: 3px;
	vertical-align: 1px;
}

/* ---------------------------------------------------------------
 * Calendar and time slots
 * --------------------------------------------------------------- */

.jtcb-cal {
	/* Square day cells would grow with the container, so cap the calendar
	   rather than let a wide column stretch it into a billboard. */
	max-width: 420px;
	border: 1px solid var(--jtcb-border);
	border-radius: var(--jtcb-r);
	overflow: hidden;
}

.jtcb-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid var(--jtcb-border);
	background: var(--jtcb-bg);
}

.jtcb-cal__month {
	color: var(--jtcb-navy);
	font-size: 15px;
	font-weight: 650;
}

.jtcb-cal__nav {
	display: flex;
	gap: 6px;
}

.jtcb-cal__arrow {
	display: grid;
	width: 32px;
	height: 32px;
	border: 1px solid var(--jtcb-border-strong);
	border-radius: var(--jtcb-r-sm);
	background: var(--jtcb-surface);
	color: var(--jtcb-navy);
	cursor: pointer;
	place-items: center;
}

.jtcb-cal__arrow[disabled] {
	opacity: 0.4;
	cursor: default;
}

.jtcb-cal__grid {
	display: grid;
	padding: 10px;
	gap: 3px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.jtcb-cal__dow {
	padding: 6px 0;
	color: var(--jtcb-subtle);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.jtcb-cal__day {
	position: relative;
	aspect-ratio: 1 / 1;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: var(--jtcb-r-sm);
	background: none;
	color: var(--jtcb-text);
	font-size: 14px;
	font-weight: 550;
	cursor: pointer;
}

.jtcb-cal__day:hover:not([disabled]) {
	background: var(--jtcb-bg);
}

.jtcb-cal__day[disabled] {
	color: #c3ccd7;
	cursor: default;
}

.jtcb-cal__day.is-open::after {
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--jtcb-brand);
	content: "";
	transform: translateX(-50%);
}

.jtcb-cal__day.is-selected {
	background: var(--jtcb-brand);
	color: #fff;
}

.jtcb-cal__day.is-selected::after {
	background: #fff;
}

.jtcb-cal__empty {
	aspect-ratio: 1 / 1;
}

.jtcb-times {
	display: grid;
	gap: 8px;
	/* Wide enough for a full "12:00 am - 1:00 am" range without wrapping. */
	grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
}

.jtcb-time {
	padding: 11px 6px;
	border: 1.5px solid var(--jtcb-border);
	border-radius: var(--jtcb-r-sm);
	background: var(--jtcb-surface);
	color: var(--jtcb-navy);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.14s ease, background-color 0.14s ease;
}

.jtcb-time:hover {
	border-color: var(--jtcb-border-strong);
}

.jtcb-time.is-selected {
	border-color: var(--jtcb-brand);
	background: var(--jtcb-brand);
	color: #fff;
}

/* A time somebody else already has. Shown, not hidden, so the customer can
   see the slot exists and ring up about it — but plainly not clickable, and
   not relying on colour alone to say so. */
.jtcb-book .jtcb-time--taken {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	border-style: dashed;
	border-color: var(--jtcb-border);
	background: var(--jtcb-bg);
	color: var(--jtcb-subtle);
	cursor: not-allowed;
	text-decoration: line-through;
	text-decoration-color: var(--jtcb-border-strong);
}

.jtcb-book .jtcb-time--taken small {
	color: var(--jtcb-muted);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------
 * Forms
 * --------------------------------------------------------------- */

.jtcb-fields {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jtcb-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.jtcb-field--full {
	grid-column: 1 / -1;
}

.jtcb-field__label {
	color: var(--jtcb-navy);
	font-size: 13.5px;
	font-weight: 600;
}

.jtcb-field__opt {
	color: var(--jtcb-subtle);
	font-weight: 500;
}

.jtcb-field__hint {
	color: var(--jtcb-subtle);
	font-size: 12.5px;
}

.jtcb-book .jtcb-input,
.jtcb-book .jtcb-textarea,
.jtcb-book .jtcb-select {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	border: 1.5px solid var(--jtcb-border-strong);
	border-radius: var(--jtcb-r-sm);
	background: var(--jtcb-surface);
	box-shadow: none;
	color: var(--jtcb-text);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.jtcb-book .jtcb-input:focus,
.jtcb-book .jtcb-textarea:focus,
.jtcb-book .jtcb-select:focus {
	border-color: var(--jtcb-brand);
	box-shadow: 0 0 0 3px var(--jtcb-brand-ring);
	outline: none;
}

.jtcb-book .jtcb-input[aria-invalid="true"],
.jtcb-book .jtcb-textarea[aria-invalid="true"] {
	border-color: var(--jtcb-danger);
}

.jtcb-book .jtcb-textarea {
	min-height: 96px;
	resize: vertical;
}

.jtcb-field__error {
	color: var(--jtcb-danger);
	font-size: 12.5px;
	font-weight: 550;
}

.jtcb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Players */
.jtcb-players {
	display: grid;
	gap: 10px;
}

.jtcb-player-row {
	display: flex;
	gap: 10px;
	align-items: center;
}

.jtcb-player-row__num {
	flex: 0 0 76px;
	color: var(--jtcb-muted);
	font-size: 13.5px;
	font-weight: 600;
}

.jtcb-player-row__remove {
	flex: 0 0 auto;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--jtcb-subtle);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.jtcb-player-row__remove:hover {
	color: var(--jtcb-danger);
}

/* Checkbox */
.jtcb-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	cursor: pointer;
}

.jtcb-check input {
	width: 19px;
	height: 19px;
	margin-top: 2px;
	flex: 0 0 auto;
	accent-color: var(--jtcb-brand);
}

/* ---------------------------------------------------------------
 * Alerts
 * --------------------------------------------------------------- */

.jtcb-alert {
	padding: 13px 16px;
	border: 1px solid var(--jtcb-border);
	border-left: 3px solid var(--jtcb-border-strong);
	border-radius: var(--jtcb-r-sm);
	font-size: 14px;
}

.jtcb-alert + .jtcb-alert,
.jtcb-alert + .jtcb-group,
.jtcb-group + .jtcb-alert {
	margin-top: 16px;
}

.jtcb-alert--error {
	border-color: #f3cdca;
	border-left-color: var(--jtcb-danger);
	background: var(--jtcb-danger-bg);
	color: #8a140e;
}

.jtcb-alert--ok {
	border-color: #cfe7d6;
	border-left-color: var(--jtcb-success);
	background: var(--jtcb-success-bg);
	color: #1a4a2c;
}

.jtcb-alert--warn {
	border-color: #f0dcb8;
	border-left-color: var(--jtcb-warning);
	background: var(--jtcb-warning-bg);
	color: #7a4408;
}

.jtcb-empty {
	padding: 34px 20px;
	border: 1px dashed var(--jtcb-border-strong);
	border-radius: var(--jtcb-r);
	color: var(--jtcb-muted);
	text-align: center;
}

.jtcb-empty strong {
	display: block;
	margin-bottom: 4px;
	color: var(--jtcb-navy);
	font-size: 16px;
}

/* ---------------------------------------------------------------
 * Buttons
 * --------------------------------------------------------------- */

.jtcb-b-btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: var(--jtcb-r-sm);
	background: none;
	font-size: 15px;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.jtcb-b-btn--primary {
	background: var(--jtcb-brand);
	border-color: var(--jtcb-brand);
	color: #fff;
}

.jtcb-b-btn--primary:hover {
	background: var(--jtcb-brand-dark);
	border-color: var(--jtcb-brand-dark);
	color: #fff;
}

.jtcb-b-btn--ghost {
	border-color: var(--jtcb-border-strong);
	color: var(--jtcb-muted);
}

.jtcb-b-btn--ghost:hover {
	color: var(--jtcb-navy);
}

.jtcb-b-btn--link {
	min-height: 0;
	padding: 0;
	color: var(--jtcb-brand);
	font-size: 14px;
	text-decoration: underline;
}

.jtcb-b-btn--block {
	width: 100%;
}

.jtcb-b-btn[disabled],
.jtcb-b-btn.is-busy {
	opacity: 0.62;
	cursor: default;
	pointer-events: none;
}

/* ---------------------------------------------------------------
 * Live summary
 * --------------------------------------------------------------- */

.jtcb-summary {
	padding: 20px;
	border: 1px solid var(--jtcb-border);
	border-radius: 16px;
	background: var(--jtcb-surface);
	box-shadow: var(--jtcb-shadow);
}

.jtcb-book .jtcb-summary__title {
	margin-bottom: 14px;
	color: var(--jtcb-navy);
	font-size: 16px;
	font-weight: 700;
}

.jtcb-summary__row {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 7px 0;
	border-bottom: 1px solid var(--jtcb-border);
	font-size: 13.5px;
}

.jtcb-summary__row:last-of-type {
	border-bottom: 0;
}

.jtcb-summary__key {
	flex: 0 0 auto;
	color: var(--jtcb-subtle);
}

.jtcb-summary__val {
	color: var(--jtcb-text);
	font-weight: 550;
	text-align: right;
}

.jtcb-summary__total {
	display: flex;
	justify-content: space-between;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 2px solid var(--jtcb-border);
	color: var(--jtcb-navy);
	font-size: 18px;
	font-weight: 700;
}

.jtcb-book .jtcb-summary__empty {
	color: var(--jtcb-subtle);
	font-size: 13.5px;
}

/* ---------------------------------------------------------------
 * Review and totals
 * --------------------------------------------------------------- */

.jtcb-review {
	display: grid;
	gap: 14px;
}

.jtcb-review__block {
	padding: 16px 18px;
	border: 1px solid var(--jtcb-border);
	border-radius: var(--jtcb-r);
	background: var(--jtcb-bg);
}

.jtcb-review__heading {
	margin-bottom: 8px;
	color: var(--jtcb-subtle);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jtcb-review__line {
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 3px 0;
	font-size: 14.5px;
}

.jtcb-review__line dt {
	color: var(--jtcb-muted);
}

.jtcb-review__line dd {
	color: var(--jtcb-navy);
	font-weight: 550;
	text-align: right;
}

.jtcb-totals {
	padding: 16px 18px;
	border: 1.5px solid var(--jtcb-brand);
	border-radius: var(--jtcb-r);
	background: var(--jtcb-brand-soft);
}

.jtcb-totals__line {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 14.5px;
}

.jtcb-totals__line.is-total {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(46, 125, 50, 0.25);
	color: var(--jtcb-navy);
	font-size: 19px;
	font-weight: 700;
}

/* ---------------------------------------------------------------
 * Success
 * --------------------------------------------------------------- */

.jtcb-done {
	padding: 10px 0 4px;
	text-align: center;
}

.jtcb-done__tick {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--jtcb-success-bg);
	color: var(--jtcb-success);
	font-size: 28px;
	place-items: center;
}

.jtcb-book .jtcb-done__title {
	color: var(--jtcb-navy);
	font-size: 23px;
	font-weight: 700;
}

.jtcb-book .jtcb-done__ref {
	margin-top: 4px;
	color: var(--jtcb-muted);
	font-size: 15px;
}

.jtcb-done__card {
	margin: 20px auto 0;
	max-width: 440px;
	text-align: left;
}

.jtcb-done__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 22px;
}

/* ---------------------------------------------------------------
 * Bottom navigation
 * --------------------------------------------------------------- */

.jtcb-book__nav {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}

.jtcb-book__nav-right {
	display: flex;
	gap: 14px;
	align-items: center;
}

.jtcb-book__nav-total {
	color: var(--jtcb-navy);
	font-size: 17px;
	font-weight: 700;
}

.jtcb-summary-toggle {
	display: none;
}

/* ---------------------------------------------------------------
 * Responsive
 * --------------------------------------------------------------- */

@media (max-width: 900px) {
	.jtcb-book__body {
		grid-template-columns: minmax(0, 1fr);
	}

	/* On a phone the summary becomes a sheet opened from the sticky bar. */
	.jtcb-book__aside {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 9998;
		max-height: 72vh;
		padding: 0 14px 14px;
		overflow-y: auto;
		background: var(--jtcb-surface);
		box-shadow: var(--jtcb-shadow-lg);
		transform: translateY(100%);
		transition: transform 0.22s ease;
	}

	.jtcb-book__aside.is-open {
		transform: none;
	}

	.jtcb-summary {
		border: 0;
		box-shadow: none;
	}

	.jtcb-summary-toggle {
		position: sticky;
		bottom: 0;
		z-index: 9997;
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		margin-top: 14px;
		padding: 14px 16px;
		border: 0;
		border-top: 1px solid var(--jtcb-border);
		background: var(--jtcb-surface);
		color: var(--jtcb-navy);
		font-size: 14.5px;
		font-weight: 650;
		cursor: pointer;
	}

	.jtcb-summary-toggle__total {
		font-size: 17px;
		font-weight: 700;
	}

	.jtcb-book__main {
		padding: 20px 16px;
	}

	.jtcb-step__title {
		font-size: 19px;
	}

	.jtcb-choices,
	.jtcb-choices--wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.jtcb-times {
		grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
	}

	.jtcb-book__nav {
		gap: 8px;
	}

	.jtcb-b-btn {
		padding: 0 16px;
	}
}

/* Below this the five labels genuinely will not fit, so keep the current one
   and let the rest be dots on the track. */
@media (max-width: 620px) {
	.jtcb-steps__item:not(.is-current) .jtcb-steps__label {
		display: none;
	}

	.jtcb-steps__item:not(.is-current) {
		gap: 0;
	}

	.jtcb-steps__dot {
		width: 26px;
		height: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jtcb-book *,
	.jtcb-book *::before,
	.jtcb-book *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------
 * Payment form
 * --------------------------------------------------------------- */

.jtcb-pay {
	padding: 18px;
	border: 1px solid var(--jtcb-border);
	border-radius: var(--jtcb-r);
	background: var(--jtcb-surface);
}

.jtcb-book .jtcb-pay__note {
	margin-top: 12px;
	color: var(--jtcb-subtle);
	font-size: 12.5px;
	text-align: center;
}

/* ---------------------------------------------------------------
 * Account page: sign in, register, reset
 * --------------------------------------------------------------- */

.jtcb-account {
	max-width: 520px;
}

.jtcb-account__panel {
	padding: 26px 24px 28px;
	border: 1px solid var(--jtcb-border);
	border-radius: var(--jtcb-r);
	background: var(--jtcb-surface);
	box-shadow: var(--jtcb-shadow);
}

.jtcb-account__tabs {
	display: flex;
	gap: 4px;
	margin: -6px 0 20px;
	border-bottom: 1px solid var(--jtcb-border);
}

.jtcb-book .jtcb-account__tab {
	position: relative;
	padding: 10px 2px;
	margin-right: 20px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--jtcb-muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
}

.jtcb-book .jtcb-account__tab:hover {
	color: var(--jtcb-navy);
}

.jtcb-book .jtcb-account__tab.is-current {
	color: var(--jtcb-brand-dark);
}

.jtcb-book .jtcb-account__tab.is-current::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--jtcb-brand);
}

/* ---------------------------------------------------------------
 * Header account button
 *
 * This lands inside whatever header the theme draws, so it inherits the
 * current colour rather than imposing one, and is scoped tightly enough
 * not to be reached by the theme's own link rules.
 * --------------------------------------------------------------- */

a.jtcb-acctbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	max-width: 100%;
	line-height: 1.2;
	text-decoration: none;
	vertical-align: middle;
}

a.jtcb-acctbtn .jtcb-acctbtn__icon {
	flex: 0 0 auto;
}

a.jtcb-acctbtn .jtcb-acctbtn__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Filled pill, for a header with room for one. */
a.jtcb-acctbtn--button {
	padding: 9px 16px;
	border-radius: 999px;
	background: #2e7d32;
	color: #fff;
	font-size: 14.5px;
	font-weight: 650;
	transition: background-color 0.15s ease;
}

a.jtcb-acctbtn--button:hover,
a.jtcb-acctbtn--button:focus {
	background: #215d25;
	color: #fff;
	text-decoration: none;
}

/* Icon only: a round target that borrows the header's own colour. */
a.jtcb-acctbtn--icon {
	width: 40px;
	height: 40px;
	justify-content: center;
	gap: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: inherit;
	opacity: 0.85;
	transition: opacity 0.15s ease;
}

a.jtcb-acctbtn--icon:hover,
a.jtcb-acctbtn--icon:focus {
	opacity: 1;
	text-decoration: none;
}

/* Plain text and icon, for a header that is already busy. */
a.jtcb-acctbtn--text {
	color: inherit;
	font-size: 14.5px;
	font-weight: 600;
}

a.jtcb-acctbtn--text:hover,
a.jtcb-acctbtn--text:focus {
	color: inherit;
	text-decoration: underline;
}

/* Visible only to a screen reader — the icon style has no visible label. */
.jtcb-acctbtn .jtcb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

@media (max-width: 600px) {
	a.jtcb-acctbtn--button .jtcb-acctbtn__label {
		max-width: 90px;
	}
}
