/* Booking module — Alpine Editorial. The reservation flow reuses the theme's global design tokens. */

/* Base */
.lsc-booking-body { margin: 0; background: var(--wp--preset--color--background); }
.lsc-booking, .lsc-booking-header { font-family: var(--wp--preset--font-family--system); color: var(--wp--preset--color--text); -webkit-font-smoothing: antialiased; }
.lsc-booking *, .lsc-booking-header * { box-sizing: border-box; }
.lsc-booking button, .lsc-booking input, .lsc-booking textarea { font-family: inherit; font-size: inherit; color: inherit; border-radius: 8px; }
.lsc-booking .lsc-booking-btn { border-radius: var(--wp--custom--radius--small); }
.lsc-booking-title, .lsc-booking-step-head h2, .lsc-booking-tile-name, .lsc-booking-how h2, .lsc-booking-done-heading, .lsc-booking-brand-line1, .lsc-booking-btn { font-family: var(--wp--preset--font-family--heading); font-stretch: 118%; }
.lsc-booking :focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.lsc-booking-header :focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.lsc-booking-rental-note { margin: 0.75rem 0 0; color: var(--wp--preset--color--muted); font-size: 1rem; }
.lsc-booking-rental-note a { color: var(--wp--preset--color--primary); font-weight: 700; }
.lsc-booking-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Keep the cursor consistent when a nested span or input is the actual hit target. */
.lsc-booking button:not(:disabled), .lsc-booking select:not(:disabled), .lsc-booking .lsc-choice, .lsc-booking .lsc-consent { cursor: pointer; }
.lsc-booking button *, .lsc-booking .lsc-choice *, .lsc-booking .lsc-consent * { cursor: inherit; }
.lsc-booking :disabled { cursor: not-allowed; }

/* Header */
/* Same geometry as the site header (shared tokens in main.css); only the colors differ. */
.lsc-booking-header { position: sticky; top: var(--site-sticky-top); z-index: 60; background: var(--wp--preset--color--secondary); border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); }
.lsc-booking-header-inner { min-height: var(--site-header-height); padding-block: 0.5rem; display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
.lsc-booking-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; }
.lsc-booking-logo { display: block; width: auto; max-width: var(--site-logo-max-width); max-height: var(--site-logo-max-height); }
.lsc-booking-brand-mark { width: 28px; height: 28px; background: var(--wp--preset--color--warm); border: 2px solid var(--wp--preset--color--surface); border-radius: 999px; }
.lsc-booking-brand-lockup { display: flex; flex-direction: column; line-height: 1; }
.lsc-booking-brand-line1 { font-weight: 800; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--surface); }
.lsc-booking-brand-line2 { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }
.lsc-booking-header-eyebrow { margin-left: auto; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lsc-booking-header-phone { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 20px; }

/* Page container */
.lsc-booking { display: block; width: 100%; overflow-x: clip; background: var(--wp--preset--color--background); min-height: 100vh; }
.lsc-booking-container { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 100px); }

/* Title bar */
.lsc-booking-titlebar { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 40px); }
.lsc-booking-title { margin: 0; font-weight: 800; font-size: clamp(30px, 4.4vw, 66px); line-height: 0.94; text-transform: uppercase; color: var(--wp--preset--color--secondary); max-width: 22ch; }
.lsc-booking-lead { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--wp--preset--color--muted); max-width: 38ch; }
.lsc-booking-test-notice { border: 2px solid var(--wp--preset--color--warm); border-radius: var(--wp--custom--radius--small); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--secondary); margin-bottom: clamp(22px, 3vw, 36px); padding: clamp(16px, 2vw, 24px); }
.lsc-booking-test-notice strong { display: block; font-size: clamp(18px, 2vw, 22px); line-height: 1.3; }
.lsc-booking-test-notice p { font-size: 16px; line-height: 1.5; margin: 0.35rem 0 0; }

/* Booking flow progress: clear current, completed and upcoming steps. */
.lsc-booking-rail {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: clamp(22px, 3vw, 36px);
	border-left: 0;
}
.lsc-booking-rail-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	min-height: 86px;
	padding: 14px clamp(10px, 1.25vw, 18px);
	border: 1px solid var(--wp--preset--color--border);
	border-top: 3px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
	transition: background-color 160ms ease, border-color 160ms ease;
}
.lsc-booking-rail-cell.is-reached { border-top-color: var(--wp--preset--color--warm); }
.lsc-booking-rail-num { font-weight: 800; font-size: 12px; letter-spacing: 0.1em; color: var(--wp--preset--color--muted); }
.lsc-booking-rail-label { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--primary); }
.lsc-booking-rail-cell[aria-current="step"] {
	background: var(--wp--preset--color--secondary);
	border-color: var(--wp--preset--color--secondary);
	border-top-color: var(--wp--preset--color--warm);
}
.lsc-booking-rail-cell[aria-current="step"] .lsc-booking-rail-num { color: var(--wp--preset--color--warm); font-weight: 900; }
.lsc-booking-rail-cell[aria-current="step"] .lsc-booking-rail-label { color: #fff; font-weight: 800; }

/* Two-column layout */
.lsc-booking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.lsc-booking-main-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }

/* Panels: step content, confirmation and the "plugin inactive" notice share one card look */
.lsc-booking-step, .lsc-booking-done, .lsc-booking-unavailable { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.lsc-booking-done { background: var(--wp--preset--color--secondary); border: 0; padding: clamp(26px, 3.4vw, 48px); gap: 20px; }
.lsc-booking-unavailable p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.lsc-booking-step-head { display: flex; align-items: baseline; gap: 16px; }
.lsc-booking-step-num { font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 0.8; color: var(--wp--preset--color--border); }
.lsc-booking-step-head h2 { margin: 0; font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; text-transform: uppercase; color: var(--wp--preset--color--secondary); }

/* Shared field label */
.lsc-booking-field-label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lsc-booking-field-block { display: flex; flex-direction: column; gap: 12px; }

/*
 * Selectable option control — one shared component behind the lesson tiles,
 * level/gear chips, day cells and time slots. Each usage adds a size/layout
 * modifier; selection state (the orange overlay ring) is handled once here
 * instead of once per usage.
 */
.lsc-booking-option { position: relative; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); cursor: pointer; min-height: 44px; }
.lsc-booking-option:hover:not(:disabled) { border-color: var(--wp--preset--color--primary); }
.lsc-booking-option:disabled { cursor: not-allowed; opacity: .52; }
.lsc-booking-option-ring { position: absolute; inset: -1px; border: 2px solid var(--wp--preset--color--warm); border-radius: inherit; pointer-events: none; display: none; }
.lsc-booking-option.is-selected .lsc-booking-option-ring { display: block; }
.lsc-booking-option--tile.is-selected { background: color-mix(in srgb, var(--wp--preset--color--warm) 14%, var(--wp--preset--color--surface)); }
.lsc-booking-option--tile.is-selected .lsc-booking-option-ring { inset: -2px; border-width: 3px; }
.lsc-booking-option--tile.is-selected::after { content: "✓" / ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--wp--preset--color--primary); border-radius: 999px; background: var(--wp--preset--color--warm); color: var(--wp--preset--color--primary); font-size: 13px; font-weight: 900; line-height: 1; }

.lsc-booking-option--tile { text-align: left; background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--border); padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.lsc-booking-option--chip { padding: 12px 18px; font-size: 14.5px; }
.lsc-booking-option--day { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 3px; align-items: center; }
.lsc-booking-option--slot { padding: 14px 20px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

/* Buttons: one shared typographic base, three color variants */
.lsc-booking-btn { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
/* Primary and secondary mirror the homepage .site-button / .site-button-secondary. */
.lsc-booking .lsc-booking-btn--primary, .lsc-booking .lsc-booking-btn--secondary { min-height: 56px; padding: 0.95rem 1.7rem; border: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); font-family: var(--wp--preset--font-family--heading); font-stretch: 118%; font-size: 1rem; font-weight: 800; letter-spacing: normal; transition: transform 150ms ease, box-shadow 150ms ease, background 180ms ease, color 180ms ease; }
.lsc-booking .lsc-booking-btn--primary { min-width: 12.5rem; background: var(--wp--preset--color--warm); box-shadow: 0 5px 0 var(--wp--preset--color--primary); }
.lsc-booking .lsc-booking-btn--primary:hover:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--wp--preset--color--primary); }
.lsc-booking .lsc-booking-btn--primary:disabled { background: var(--wp--preset--color--neutral); border-color: var(--wp--preset--color--neutral); color: var(--wp--preset--color--secondary); box-shadow: none; cursor: not-allowed; }
.lsc-booking .lsc-booking-btn--secondary { background: var(--wp--preset--color--background); }
.lsc-booking .lsc-booking-btn--secondary:hover { background: var(--wp--preset--color--surface); }
.lsc-booking .lsc-booking-btn--secondary-dark { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--wp--preset--color--surface); font-size: 15px; padding: 14px 24px; }
.lsc-booking .lsc-booking-btn--secondary-dark:hover { color: var(--wp--preset--color--secondary); background: var(--wp--preset--color--surface); }

/* Step 1/2/3 — type, discipline and duration tiles */
.lsc-booking-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.lsc-booking-tile-name { font-weight: 800; font-size: 21px; line-height: 1; text-transform: uppercase; color: var(--wp--preset--color--secondary); }
.lsc-booking-tile-note { font-size: 13.5px; line-height: 1.5; color: var(--wp--preset--color--muted); }
.lsc-booking-tile-price { font-weight: 700; font-size: 16px; color: var(--wp--preset--color--text); margin-top: 4px; }

/* Participant count (group headcount only) */
.lsc-booking-stepper { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lsc-booking-stepper-btn { width: 46px; height: 46px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); font-weight: 700; font-size: 22px; cursor: pointer; }
.lsc-booking-stepper-btn:hover { border-color: var(--wp--preset--color--primary); }
.lsc-booking-stepper-value { font-weight: 800; font-size: 34px; line-height: 1; min-width: 44px; text-align: center; }
.lsc-booking-consent input { width: 17px; height: 17px; accent-color: var(--wp--preset--color--warm); flex-shrink: 0; }

/* Step 4 — day/time */
.lsc-booking-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.lsc-booking-day-dow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lsc-booking-day-num { font-weight: 800; font-size: 22px; line-height: 1; color: var(--wp--preset--color--text); }
.lsc-booking-day-free { font-size: 11px; color: var(--wp--preset--color--muted); }
.lsc-booking-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.lsc-booking-slot-time { font-weight: 700; font-size: 19px; line-height: 1; color: var(--wp--preset--color--text); }
.lsc-booking-option--slot:disabled .lsc-booking-slot-time { color: var(--wp--preset--color--muted); }
.lsc-booking-note { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--wp--preset--color--muted); max-width: 52ch; }
.lsc-booking-error { margin: 0; color: var(--wp--preset--color--warm); font-size: 14px; line-height: 1.5; }

/* Step 5 — contact */
.lsc-booking-fields-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lsc-booking-field { display: flex; flex-direction: column; gap: 7px; }
.lsc-booking-field-wide { grid-column: 1 / -1; }
.lsc-booking-input, .lsc-booking-textarea { border: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface); padding: 14px 16px; font-size: 15.5px; }
.lsc-booking-textarea { resize: vertical; }
.lsc-booking-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--wp--preset--color--text); cursor: pointer; }
.lsc-booking-consent input { margin-top: 2px; }

/* Confirmation */
.lsc-booking-done-eyebrow { font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lsc-booking-done-heading { margin: 0; font-weight: 800; font-size: clamp(26px, 3.4vw, 50px); line-height: 0.95; text-transform: uppercase; color: var(--wp--preset--color--surface); max-width: 24ch; }
.lsc-booking-done-text { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.lsc-booking-done-text strong { color: var(--wp--preset--color--surface); }
.lsc-payment-result .lsc-booking-done-heading, .lsc-payment-result > p, .lsc-payment-result > p strong { color: var(--wp--preset--color--surface); }
.lsc-payment-result > p { margin: 0; line-height: 1.65; }
.lsc-payment-result :focus-visible { outline-color: var(--wp--preset--color--surface); }
.lsc-booking-recap { display: grid; gap: 0; max-width: 46ch; }
.lsc-booking-recap-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.lsc-booking-recap-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.lsc-booking-recap-label { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); min-width: 78px; padding-top: 2px; }
.lsc-booking-recap-value { font-size: 15.5px; color: var(--wp--preset--color--surface); }
.lsc-booking-reset { align-self: flex-start; }

/* Nav bar */
.lsc-booking-nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.lsc-booking-nav-right { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-left: auto; }
.lsc-booking-hint { font-size: 13.5px; color: var(--wp--preset--color--muted); }

/* Summary aside */
.lsc-booking-summary { background: var(--wp--preset--color--secondary); border-radius: var(--wp--custom--radius--medium); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; position: static; }
.lsc-booking-summary-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lsc-booking-summary-rows { display: grid; gap: 0; }
.lsc-booking-summary-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.lsc-booking-summary-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.lsc-booking-summary-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); min-width: 66px; padding-top: 2px; }
.lsc-booking-summary-value { font-size: 15px; line-height: 1.45; color: var(--wp--preset--color--surface); }
.lsc-booking-summary-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 4px; }
.lsc-booking-summary-total-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.lsc-booking-summary-total-value { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 0.9; color: var(--wp--preset--color--accent); white-space: nowrap; }
.lsc-booking-summary-note { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }
.lsc-booking-summary-terms { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.13); }

/* Keep both desktop columns wide enough to avoid scrolling the weekly schedule. */
@media (min-width: 1280px) {
	.lsc-flow.lsc-booking-grid { grid-template-columns: minmax(0, 49rem) minmax(21rem, 1fr); }
	.lsc-booking-summary { position: sticky; top: calc(var(--site-sticky-top) + var(--site-header-height) + 1.25rem); }
}

/* Instructor-availability wizard. */
.lsc-booking-rail > button { width: 100%; margin: 0; background: var(--wp--preset--color--surface); cursor: pointer; font: inherit; text-align: left; }
.lsc-booking-rail[hidden] { display: none; }
.lsc-booking-rail > button:disabled { cursor: not-allowed; opacity: 0.75; }
.lsc-booking-rail > button.is-complete .lsc-booking-rail-num::after { content: " ✓"; color: var(--wp--preset--color--warm); }
.lsc-flow-main { min-width: 0; }
.lsc-flow-section[hidden], .lsc-flow-confirmation[hidden] { display: none; }
.lsc-flow-help, .lsc-flow-status { margin: 0; color: var(--wp--preset--color--muted); line-height: 1.55; }
.lsc-flow-group + .lsc-flow-group { margin-top: 1.5rem; }
.lsc-flow-group h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.lsc-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; }
.lsc-choice { cursor: pointer; }
.lsc-choice input { position: absolute; opacity: 0; }
.lsc-choice span { display: flex; min-height: 3.5rem; align-items: center; justify-content: center; padding: 0.75rem 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--small); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); font: inherit; font-weight: 700; text-align: center; }
.lsc-choice:hover span { border-color: var(--wp--preset--color--primary); }
.lsc-choice input:checked + span { background: color-mix(in srgb, var(--wp--preset--color--warm) 14%, var(--wp--preset--color--surface)); box-shadow: inset 0 0 0 2px var(--wp--preset--color--warm); }
.lsc-choice input:focus-visible + span { outline: 3px solid var(--wp--preset--color--secondary); outline-offset: 3px; }
.lsc-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.lsc-flow-section label { display: grid; gap: 0.4rem; margin-block: 0.75rem; font-weight: 700; }
.lsc-flow-section input:not([type="checkbox"]):not([type="radio"]), .lsc-flow-section select, .lsc-flow-section textarea { width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; border: 1px solid var(--wp--preset--color--border); border-radius: 0.35rem; background: #fff; font: inherit; }
.lsc-consent { grid-template-columns: auto 1fr; align-items: start; }
.lsc-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lsc-voucher-section h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; color: var(--wp--preset--color--secondary); }
@media (max-width: 430px) { .lsc-voucher-section .lsc-choice-grid { grid-template-columns: repeat(2, 1fr); } }

/* Voucher purchase form layout */
.lsc-voucher-page-wrap { padding-block: clamp(2rem, 4vw, 4rem) clamp(3.5rem, 7vw, 7rem); }
.lsc-voucher-header { max-width: 50rem; margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
.lsc-voucher-header .lsc-voucher-eyebrow { margin: 0 0 0.65rem; color: var(--wp--preset--color--primary); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; line-height: 1.3; text-transform: uppercase; }
.lsc-voucher-header h1 { max-width: 18ch; margin: 0 0 0.85rem; color: var(--wp--preset--color--secondary); font-family: var(--wp--preset--font-family--heading); font-size: clamp(2rem, 4.5vw, 3.25rem); font-stretch: 118%; font-weight: 800; line-height: 0.98; text-transform: uppercase; }
.lsc-voucher-header > p:last-child { max-width: 42rem; margin: 0; color: var(--wp--preset--color--muted); font-size: clamp(0.95rem, 1.4vw, 1.075rem); line-height: 1.65; }
.lsc-voucher-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.lsc-voucher-preview-card, .lsc-voucher-purchase-form { min-width: 0; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium); background: var(--wp--preset--color--surface); }
.lsc-voucher-preview-card { position: sticky; top: calc(var(--site-sticky-top) + var(--site-header-height) + 1.25rem); padding: clamp(1rem, 2.4vw, 1.75rem); box-shadow: 0 1.25rem 3rem rgba(20, 51, 88, 0.08); }
.lsc-voucher-preview-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.lsc-voucher-preview-heading h2, .lsc-voucher-purchase-form > h2 { margin: 0; color: var(--wp--preset--color--secondary); font-family: var(--wp--preset--font-family--heading); font-stretch: 118%; font-weight: 800; line-height: 1; text-transform: uppercase; }
.lsc-voucher-preview-heading h2 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
.lsc-voucher-preview-heading span { color: var(--wp--preset--color--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lsc-voucher-preview { margin: 0; }
.lsc-voucher-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1417 / 551; border-radius: calc(var(--wp--custom--radius--medium) * 0.65); background: var(--wp--preset--color--background); box-shadow: 0 0.75rem 2rem rgba(20, 51, 88, 0.16); object-fit: cover; }
.lsc-voucher-preview figcaption { margin-top: 0.85rem; color: var(--wp--preset--color--text); font-size: 0.9rem; font-weight: 700; line-height: 1.45; }
.lsc-voucher-preview-note { margin: 0.35rem 0 0; color: var(--wp--preset--color--muted); font-size: 0.85rem; line-height: 1.55; }
.lsc-voucher-purchase-form { padding: clamp(1.25rem, 3vw, 2rem); }
.lsc-voucher-purchase-form > h2 { margin-bottom: 1.5rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lsc-voucher-section + .lsc-voucher-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--border); }
.lsc-voucher-purchase-form .lsc-flow-error { margin-top: 0.75rem; }
.lsc-voucher-section--discipline .lsc-choice-grid { grid-template-columns: repeat(2, 1fr); }
.lsc-voucher-section--duration .lsc-choice-grid { grid-template-columns: repeat(4, 1fr); }
.lsc-voucher-section--price > p:last-child { margin: 0.65rem 0 0; color: var(--wp--preset--color--muted); font-size: 0.875rem; line-height: 1.55; }
[data-voucher-price] { margin: 0; }
[data-voucher-price][data-price-state="empty"] { font-size: 0.9375rem; font-weight: 400; color: var(--wp--preset--color--muted); }
[data-voucher-price][data-price-state="set"] { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; color: var(--wp--preset--color--secondary); }
.lsc-voucher-purchase-form .lsc-booking-stepper { gap: 8px; }
.lsc-voucher-purchase-form .lsc-booking-stepper-value { font-size: 26px; min-width: 36px; }
.lsc-voucher-purchase-form .lsc-booking-btn--primary { display: inline-block; min-height: 56px; min-width: 12.5rem; padding: 0.95rem 1.7rem; margin-top: 2rem; background: var(--wp--preset--color--warm); border: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); font-family: var(--wp--preset--font-family--heading); font-stretch: 118%; font-size: 1rem; font-weight: 800; letter-spacing: normal; text-transform: uppercase; box-shadow: 0 5px 0 var(--wp--preset--color--primary); transition: transform 150ms ease, box-shadow 150ms ease; }
.lsc-voucher-purchase-form .lsc-booking-btn--primary:hover:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--wp--preset--color--primary); }
.lsc-voucher-purchase-form .lsc-booking-btn--primary:disabled { background: var(--wp--preset--color--neutral); border-color: var(--wp--preset--color--neutral); color: var(--wp--preset--color--secondary); box-shadow: none; cursor: not-allowed; }
.lsc-voucher-purchase-form .lsc-booking-stepper-btn { border-radius: 4px; }
@media (max-width: 899.98px) {
	.lsc-voucher-layout { grid-template-columns: minmax(0, 1fr); }
	.lsc-voucher-preview-card { position: static; }
}
@media (max-width: 430px) {
	.lsc-voucher-page-wrap { padding-block: 1.75rem 3.5rem; }
	.lsc-voucher-header { margin-bottom: 1.5rem; }
	.lsc-voucher-section--duration .lsc-choice-grid { grid-template-columns: repeat(2, 1fr); }
	.lsc-voucher-preview-card, .lsc-voucher-purchase-form { border-radius: calc(var(--wp--custom--radius--medium) * 0.75); }
	.lsc-voucher-preview-card { padding: 0.85rem; }
	.lsc-voucher-purchase-form { padding: 1.1rem; }
	.lsc-voucher-purchase-form .lsc-booking-btn--primary { width: 100%; }
}

/* Voucher confirmation body — inside a dark .lsc-booking-done panel but outside .lsc-booking context. */
#lsc-voucher-confirmation-content { color: rgba(255, 255, 255, 0.82); white-space: pre-line; }

.lsc-week-nav { display: grid; width: min(100%, 44rem); grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin: 1.5rem 0 1rem; }
.lsc-week-nav strong { text-align: center; }
.lsc-week-button { min-height: 2.75rem; padding: 0.5rem 0.8rem; border: 1px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--background); color: var(--wp--preset--color--primary); cursor: pointer; font-weight: 700; }
.lsc-week-button:disabled { border-color: var(--wp--preset--color--border); color: var(--wp--preset--color--muted); cursor: not-allowed; opacity: 0.55; }
.lsc-schedule-scroll { width: min(100%, 44rem); overflow-x: auto; border: 1px solid var(--wp--preset--color--border); background: #fff; }
.lsc-week-schedule { width: 100%; min-width: 40rem; border-collapse: collapse; table-layout: fixed; }
.lsc-week-schedule th, .lsc-week-schedule td { height: 3.7rem; padding: 0.3rem; border: 1px solid var(--wp--preset--color--border); text-align: center; }
.lsc-week-schedule thead th { height: 4.4rem; background: var(--wp--preset--color--background); }
.lsc-week-schedule thead th:first-child, .lsc-week-schedule tbody th { width: 4.75rem; }
.lsc-week-schedule thead span, .lsc-week-schedule thead strong { display: block; }
.lsc-week-schedule thead span { color: var(--wp--preset--color--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lsc-week-schedule thead strong { margin-top: 0.2rem; color: var(--wp--preset--color--secondary); }
.lsc-week-schedule tbody th { background: var(--wp--preset--color--background); color: var(--wp--preset--color--secondary); font-size: 0.85rem; }
.lsc-week-schedule td button { display: grid; width: 100%; min-height: 2.9rem; place-items: center; border: 2px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--background); color: var(--wp--preset--color--primary); cursor: pointer; font-weight: 800; }
.lsc-week-schedule td button:hover:not(:disabled) { background: var(--wp--preset--color--accent); }
.lsc-week-schedule td button.is-selected { background: var(--wp--preset--color--warm); box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary); }
.lsc-week-schedule td button:disabled { border-color: transparent; background: var(--wp--preset--color--neutral); color: var(--wp--preset--color--muted); cursor: not-allowed; opacity: 0.62; }
.lsc-week-empty { margin: 0; padding: 2rem 1rem; color: var(--wp--preset--color--muted); line-height: 1.55; }
.lsc-schedule-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0.85rem 0 0; color: var(--wp--preset--color--muted); font-size: 0.82rem; }
.lsc-schedule-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.lsc-schedule-legend span::before { width: 0.85rem; height: 0.85rem; border: 1px solid var(--wp--preset--color--primary); content: ""; }
.lsc-schedule-legend .is-available::before { background: var(--wp--preset--color--background); }
.lsc-schedule-legend .is-unavailable::before { border-color: var(--wp--preset--color--border); background: var(--wp--preset--color--neutral); }
.lsc-schedule-legend .is-selected::before { background: var(--wp--preset--color--warm); }
.lsc-live-summary { position: sticky; top: calc(var(--site-sticky-top) + var(--site-header-height) + 1.25rem); }
.lsc-live-summary > [data-field="live-summary"] > p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
.lsc-summary-list { margin: 0; }
.lsc-summary-list div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.lsc-summary-list dt { color: rgba(255, 255, 255, 0.6); }
.lsc-summary-list dd { margin: 0; color: var(--wp--preset--color--surface); text-align: right; font-weight: 700; }
.lsc-summary-list .lsc-summary-total { border-bottom: 0; font-size: 1.15rem; }
.lsc-summary-list .lsc-summary-total dd { color: var(--wp--preset--color--accent); }

/* Step-6 summary panel has a light background — override the white-on-dark colours. */
[data-field="final-summary"] .lsc-summary-list div { border-bottom-color: var(--wp--preset--color--border); }
[data-field="final-summary"] .lsc-summary-list dt { color: var(--wp--preset--color--muted); }
[data-field="final-summary"] .lsc-summary-list dd { color: var(--wp--preset--color--text); }
.lsc-flow-error { color: #9b1c1c; font-weight: 700; }

@media (min-width: 900px) and (max-width: 1279.98px) {
	.lsc-flow.lsc-booking-grid { grid-template-columns: minmax(0, 1fr); }
	.lsc-live-summary { position: static; width: min(100%, 23rem); justify-self: end; }
}

@media (max-width: 780px) {
	.lsc-live-summary { position: static; }
	.lsc-week-nav { grid-template-columns: auto 1fr auto; gap: 0.5rem; }
	.lsc-week-button span { display: none; }
}

/* How it works */
.lsc-booking-how { margin-top: clamp(40px, 6vw, 88px); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); padding: clamp(24px, 3.4vw, 48px); }
.lsc-booking-how h2 { margin: 0 0 clamp(20px, 2.6vw, 34px); font-weight: 800; font-size: clamp(24px, 3vw, 44px); line-height: 0.96; text-transform: uppercase; color: var(--wp--preset--color--secondary); }
.lsc-booking-how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 44px); }
.lsc-booking-how-item { display: flex; flex-direction: column; gap: 11px; padding-top: 18px; border-top: 2px solid var(--wp--preset--color--primary); }
.lsc-booking-how-label { font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: var(--wp--preset--color--warm); }
.lsc-booking-how-item p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--wp--preset--color--muted); }

/* Below 900px: single column, rail 2×2 */
@media (max-width: 899.98px) {
	.lsc-booking-rail { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 399.98px) {
	.lsc-booking-header-phone { display: none; }
}

/* Explicit step navigation and summary hints. */
.lsc-step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.lsc-booking .lsc-step-back { min-width: 0; min-height: 3rem; padding: 0.7rem 1.1rem; box-shadow: none; }
.lsc-summary-note { display: block; margin-top: 0.15rem; font-size: 0.8125rem; font-weight: 400; opacity: 0.85; }
.lsc-payment-note { margin-top: 1rem; }
.lsc-payment-choice { margin: 1.5rem 0 0; padding: 0; border: 0; }
.lsc-payment-choice legend { margin-bottom: 0.75rem; font-weight: 800; }
.lsc-payment-choice { min-width: 0; }
.lsc-payment-choice .lsc-choice > span { flex-direction: column; gap: 0.35rem; height: 100%; min-width: 0; }
.lsc-payment-choice .lsc-choice strong { font-size: 1.35rem; line-height: 1.2; }
.lsc-payment-choice .lsc-choice small { font-size: 0.875rem; font-weight: 400; line-height: 1.4; }
.lsc-payment-choice .lsc-choice small:empty { display: none; }
@media (max-width: 430px) { .lsc-payment-choice .lsc-choice-grid { grid-template-columns: minmax(0, 1fr); } }
.lsc-flow-error[hidden] { display: none; }

/* Voucher panel (previously unstyled browser defaults). */
.lsc-voucher-panel { margin-bottom: 1rem; }
.lsc-voucher-toggle { min-height: 2.75rem; padding: 0.55rem 1rem; border: 1px solid var(--wp--preset--color--primary); border-radius: var(--wp--custom--radius--small); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary); font: inherit; font-weight: 700; cursor: pointer; }
.lsc-voucher-toggle:hover { background: color-mix(in srgb, var(--wp--preset--color--warm) 14%, var(--wp--preset--color--surface)); }
.lsc-voucher-toggle:focus-visible { outline: 3px solid var(--wp--preset--color--secondary); outline-offset: 3px; }
.lsc-voucher-inputs { margin-top: 0.75rem; padding: 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; background: var(--wp--preset--color--surface); }
.lsc-voucher-label { display: grid; gap: 0.4rem; font-weight: 700; }
.lsc-voucher-field-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lsc-voucher-code-input { flex: 1 1 14rem; min-height: 3rem; padding: 0.65rem 0.8rem; border: 1px solid var(--wp--preset--color--border); border-radius: 0.35rem; background: #fff; font: inherit; }
.lsc-voucher-status { margin: 0.5rem 0 0; min-height: 1.4em; color: var(--wp--preset--color--muted); }

/* Step headings receive programmatic focus for screen readers; they are not interactive, so no focus frame. */
.lsc-booking .lsc-booking-step [tabindex="-1"]:focus,
.lsc-booking .lsc-booking-step [tabindex="-1"]:focus-visible { outline: none; }

/* Compact progress (phones only) and empty-calendar action. */
.lsc-booking-progress { display: none; }
.lsc-week-jump { display: inline-block; margin-top: 0.75rem; padding: 0.6rem 1rem; min-height: 2.75rem; border: 1px solid var(--wp--preset--color--primary); border-radius: var(--wp--custom--radius--small); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary); font: inherit; font-weight: 700; cursor: pointer; }
.lsc-week-jump:focus-visible { outline: 3px solid var(--wp--preset--color--secondary); outline-offset: 3px; }

/* Phones: compact title area. */
@media (max-width: 640px) {
	.lsc-booking-container { padding-block: 14px 40px; }
	.lsc-booking-titlebar { gap: 6px; margin-bottom: 12px; }
	.lsc-booking-title { max-width: none; font-size: clamp(24px, 7.2vw, 30px); line-height: 1.02; }
	.lsc-booking-lead { display: none; }
	.lsc-booking-rental-note { margin: 0; font-size: 13px; line-height: 1.45; }
}

/* Phones and small tablets: one-line step strip, three-day calendar, full-width actions. */
@media (max-width: 780px) {
	.lsc-booking-progress { display: block; margin-bottom: 10px; }
	.lsc-booking-progress-text { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--wp--preset--color--primary); }
	.lsc-booking-progress-bar { height: 4px; background: color-mix(in srgb, var(--wp--preset--color--primary) 14%, #fff); }
	.lsc-booking-progress-bar span { display: block; height: 100%; background: var(--wp--preset--color--warm); }
	.lsc-booking-rail { display: flex; gap: 6px; margin-bottom: 14px; border-left: 0; }
	.lsc-booking-rail > button { flex: 1 1 0; min-width: 2.75rem; min-height: 2.75rem; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--wp--preset--color--border); border-top-width: 3px; }
	.lsc-booking-rail-num { font-size: 13px; letter-spacing: 0; }
	.lsc-booking-rail-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.lsc-booking-rail > button.is-complete .lsc-booking-rail-num::after { content: ""; }
	.lsc-booking-rail > button.is-complete .lsc-booking-rail-num { color: var(--wp--preset--color--primary); }
	.lsc-booking-rail-cell[aria-current="step"] { background: color-mix(in srgb, var(--wp--preset--color--warm) 16%, var(--wp--preset--color--surface)); }
	/* Voucher entry is secondary: show it after the current step instead of above the form. */
	.lsc-flow-main { display: flex; flex-direction: column; }
	.lsc-voucher-panel { order: 20; margin: 1.25rem 0 0; }
	/* Three-day calendar fits the screen without hidden horizontal scrolling. */
	.lsc-week-nav { width: 100%; margin: 1rem 0 0.75rem; gap: 0.4rem; }
	.lsc-week-nav strong { font-size: 0.9375rem; white-space: nowrap; }
	.lsc-week-button span { display: inline; }
	.lsc-week-button { min-height: 2.75rem; padding-inline: 0.55rem; }
	.lsc-schedule-scroll { width: 100%; overflow-x: visible; }
	.lsc-week-schedule { min-width: 0; table-layout: fixed; }
	.lsc-week-schedule thead th:first-child, .lsc-week-schedule tbody th { width: 3.6rem; }
	.lsc-week-schedule th, .lsc-week-schedule td { padding: 0.2rem; }
	.lsc-week-schedule td button { min-height: 2.75rem; }
	.lsc-step-actions { flex-direction: column-reverse; align-items: stretch; margin-top: 1.25rem; }
	.lsc-step-actions .lsc-booking-btn { width: 100%; min-width: 0; }
}

/* Larger tablets keep the full-width rail but in three columns instead of two. */
@media (min-width: 781px) and (max-width: 899.98px) {
	.lsc-booking-rail { grid-template-columns: repeat(3, 1fr); }
}

/* Keep the compact six-step mobile strip consistent with the desktop state styling. */
@media (max-width: 780px) {
	.lsc-booking-rail > button {
		border-radius: 8px;
	}
	.lsc-booking-rail-cell[aria-current="step"] {
		background: var(--wp--preset--color--secondary);
		border-color: var(--wp--preset--color--secondary);
		border-top-color: var(--wp--preset--color--warm);
	}
	.lsc-booking-rail-cell[aria-current="step"] .lsc-booking-rail-num {
		color: var(--wp--preset--color--warm);
	}
}
.lsc-payment-brands {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-block: 1rem;
}

.lsc-payment-brands img {
	display: block;
	max-width: 100%;
	height: auto;
}

.lsc-payment-brands a:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent, #1d73be);
	outline-offset: 4px;
}
