/* Racehouse Segway Bokning – scoped wizard styles. Theme via CSS variables on .rhsb */
.rhsb {
	--rhsb-accent: #e10600;
	--rhsb-accent-contrast: #ffffff;
	--rhsb-bg: #0f1114;
	--rhsb-card: #16191e;
	--rhsb-surface: #1d2127;
	--rhsb-surface-2: #252a32;
	--rhsb-border: #2c323b;
	--rhsb-text: #eef1f4;
	--rhsb-muted: #9aa4b0;
	--rhsb-success: #22a35a;
	--rhsb-error: #ff6b5e;
	--rhsb-radius: 14px;
	--rhsb-radius-sm: 9px;
	--rhsb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rhsb-shadow: 0 18px 50px rgba(0, 0, 0, .35);
	all: initial;
	display: block;
	font-family: var(--rhsb-font);
	color: var(--rhsb-text);
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
	line-height: 1.5;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
.rhsb *, .rhsb *::before, .rhsb *::after { box-sizing: border-box; font-family: inherit; }
.rhsb .rhsb-card {
	background: linear-gradient(180deg, var(--rhsb-card), var(--rhsb-bg));
	border: 1px solid var(--rhsb-border);
	border-radius: var(--rhsb-radius);
	box-shadow: var(--rhsb-shadow);
	overflow: hidden;
	position: relative;
}
.rhsb .rhsb-card::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
	background: repeating-linear-gradient(-45deg, var(--rhsb-accent) 0 14px, transparent 14px 22px);
	opacity: .9;
}
.rhsb .rhsb-loading { padding: 40px; text-align: center; color: var(--rhsb-muted); }
.rhsb .rhsb-head { padding: 26px 28px 8px; }
.rhsb .rhsb-title {
	margin: 0 0 18px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: .3px;
	text-transform: uppercase; font-style: italic; color: var(--rhsb-text);
}
.rhsb .rhsb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.rhsb .rhsb-steps li {
	display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0;
	background: var(--rhsb-surface); border: 1px solid var(--rhsb-border); border-radius: var(--rhsb-radius-sm);
	color: var(--rhsb-muted); font-size: 14px; font-weight: 600;
}
.rhsb .rhsb-steps li.is-active { border-color: var(--rhsb-accent); color: var(--rhsb-text); box-shadow: inset 0 -3px 0 var(--rhsb-accent); }
.rhsb .rhsb-steps li.is-done { color: var(--rhsb-text); }
.rhsb .rhsb-num {
	flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--rhsb-surface-2); font-size: 13px; font-weight: 800;
}
.rhsb .is-active .rhsb-num { background: var(--rhsb-accent); color: var(--rhsb-accent-contrast); }
.rhsb .is-done .rhsb-num { background: var(--rhsb-success); color: #fff; }
.rhsb .rhsb-body { padding: 18px 28px 28px; }
.rhsb .rhsb-lead { margin: 0 0 16px; color: var(--rhsb-muted); }
.rhsb .rhsb-h3 { margin: 6px 0 12px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--rhsb-text); }
.rhsb .rhsb-muted { color: var(--rhsb-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.rhsb .rhsb-hint { margin: 8px 0 0; font-size: 13px; color: var(--rhsb-muted); }
.rhsb p { margin: 0 0 10px; }
.rhsb img { max-width: 100%; height: auto; border: 0; display: block; }

/* Options (step 1) */
.rhsb .rhsb-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.rhsb .rhsb-option {
	all: unset; box-sizing: border-box; position: relative; cursor: pointer; display: flex; flex-direction: column;
	background: var(--rhsb-surface); border: 2px solid var(--rhsb-border); border-radius: var(--rhsb-radius);
	overflow: hidden; color: var(--rhsb-text); transition: border-color .15s, transform .15s, box-shadow .15s; text-align: left;
}
.rhsb .rhsb-option:hover { border-color: #4a525e; transform: translateY(-2px); }
.rhsb .rhsb-option:focus-visible { outline: 3px solid var(--rhsb-accent); outline-offset: 2px; }
.rhsb .rhsb-option.is-selected { border-color: var(--rhsb-accent); box-shadow: 0 0 0 3px rgba(225, 6, 0, .18); }
.rhsb .rhsb-option-img { display: block; aspect-ratio: 16 / 9; background: var(--rhsb-surface-2); overflow: hidden; }
.rhsb .rhsb-option-img img { width: 100%; height: 100%; object-fit: cover; }
.rhsb .rhsb-option-icon { display: flex; align-items: center; justify-content: center; font-size: 48px; background: radial-gradient(circle at 30% 30%, #2f3540, #1a1d22); }
.rhsb .rhsb-option-body { display: block; padding: 14px 16px 16px; }
.rhsb .rhsb-option-title { display: block; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rhsb .rhsb-option-price { display: inline-block; font-size: 13px; font-weight: 700; color: var(--rhsb-accent-contrast); background: var(--rhsb-accent); padding: 2px 8px; border-radius: 99px; margin-bottom: 8px; }
.rhsb .rhsb-option-price * { color: inherit; }
.rhsb .rhsb-option-desc { display: block; font-size: 14px; color: var(--rhsb-muted); }
.rhsb .rhsb-option-desc p { margin: 0 0 6px; }
.rhsb .rhsb-option-desc a { color: var(--rhsb-text); }
.rhsb .rhsb-check {
	position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
	background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .6);
}
.rhsb .is-selected .rhsb-check { background: var(--rhsb-accent); border-color: var(--rhsb-accent); }
.rhsb .is-selected .rhsb-check::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; }

/* Fields */
.rhsb .rhsb-field { margin: 16px 0 0; }
.rhsb .rhsb-field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--rhsb-text); }
.rhsb input[type="text"], .rhsb input[type="email"], .rhsb input[type="tel"], .rhsb input[type="number"], .rhsb textarea {
	width: 100%; display: block; margin: 0; padding: 12px 14px; font-size: 16px; line-height: 1.4;
	color: var(--rhsb-text); background: var(--rhsb-bg); border: 1px solid var(--rhsb-border); border-radius: var(--rhsb-radius-sm);
	box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.rhsb textarea { resize: vertical; min-height: 64px; }
.rhsb input:focus, .rhsb textarea:focus { border-color: var(--rhsb-accent); box-shadow: 0 0 0 3px rgba(225, 6, 0, .2); }
.rhsb ::placeholder { color: #69727e; }
.rhsb .rhsb-error { color: var(--rhsb-error); font-size: 14px; margin: 8px 0 0; font-weight: 600; }
.rhsb .rhsb-error-global { padding: 12px 14px; background: rgba(255, 107, 94, .1); border: 1px solid rgba(255, 107, 94, .4); border-radius: var(--rhsb-radius-sm); margin-top: 16px; }
.rhsb .rhsb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Layout */
.rhsb .rhsb-grid2 > * { min-width: 0; }
.rhsb .rhsb-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }

/* Calendar */
.rhsb .rhsb-cal { background: var(--rhsb-surface); border: 1px solid var(--rhsb-border); border-radius: var(--rhsb-radius); padding: 14px; }
.rhsb .rhsb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rhsb .rhsb-cal-month { font-weight: 800; font-size: 16px; }
.rhsb .rhsb-cal-nav {
	all: unset; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; color: var(--rhsb-text); background: var(--rhsb-surface-2);
}
.rhsb .rhsb-cal-nav:disabled { opacity: .3; cursor: default; }
.rhsb .rhsb-cal-nav:focus-visible { outline: 2px solid var(--rhsb-accent); }
.rhsb .rhsb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.rhsb .rhsb-cal-dow { text-align: center; font-size: 12px; color: var(--rhsb-muted); font-weight: 700; padding: 4px 0; text-transform: uppercase; }
.rhsb .rhsb-cal-day {
	all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 9px 0; border-radius: 8px;
	font-size: 15px; font-weight: 600; color: var(--rhsb-text); background: var(--rhsb-surface-2); border: 1px solid transparent;
}
.rhsb .rhsb-cal-day:hover:not(:disabled) { border-color: var(--rhsb-accent); }
.rhsb .rhsb-cal-day:focus-visible { outline: 2px solid var(--rhsb-accent); }
.rhsb .rhsb-cal-day:disabled { background: transparent; color: #4b525c; cursor: not-allowed; text-decoration: line-through; }
.rhsb .rhsb-cal-day.is-today { border-color: #4a525e; }
.rhsb .rhsb-cal-day.is-selected { background: var(--rhsb-accent); color: var(--rhsb-accent-contrast); }

/* Slots */
.rhsb .rhsb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(84px, 100%), 1fr)); gap: 8px; }
.rhsb .rhsb-slot {
	all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 10px 6px; border-radius: var(--rhsb-radius-sm);
	background: var(--rhsb-surface); border: 1px solid var(--rhsb-border); font-weight: 700; color: var(--rhsb-text); font-size: 15px;
}
.rhsb .rhsb-slot small { display: block; font-size: 11px; font-weight: 500; color: var(--rhsb-muted); }
.rhsb .rhsb-slot:hover:not(:disabled) { border-color: var(--rhsb-accent); }
.rhsb .rhsb-slot:focus-visible { outline: 2px solid var(--rhsb-accent); }
.rhsb .rhsb-slot:disabled { opacity: .4; cursor: not-allowed; }
.rhsb .rhsb-slot.is-selected { background: var(--rhsb-accent); border-color: var(--rhsb-accent); color: var(--rhsb-accent-contrast); }

/* Quantity */
.rhsb .rhsb-qty { display: flex; align-items: stretch; max-width: 220px; }
.rhsb .rhsb-qty-btn {
	all: unset; cursor: pointer; width: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
	background: var(--rhsb-surface-2); color: var(--rhsb-text); border: 1px solid var(--rhsb-border);
}
.rhsb .rhsb-qty-btn:first-child { border-radius: var(--rhsb-radius-sm) 0 0 var(--rhsb-radius-sm); }
.rhsb .rhsb-qty-btn:last-child { border-radius: 0 var(--rhsb-radius-sm) var(--rhsb-radius-sm) 0; }
.rhsb .rhsb-qty-btn:focus-visible { outline: 2px solid var(--rhsb-accent); }
.rhsb .rhsb-qty input[type="number"] { border-radius: 0; text-align: center; font-weight: 800; font-size: 20px; -moz-appearance: textfield; }
.rhsb .rhsb-qty input::-webkit-outer-spin-button, .rhsb .rhsb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Summary */
.rhsb .rhsb-summary { margin: 0 0 12px; padding: 4px 16px; background: var(--rhsb-surface); border: 1px solid var(--rhsb-border); border-radius: var(--rhsb-radius); }
.rhsb .rhsb-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--rhsb-border); }
.rhsb .rhsb-summary div:last-child { border-bottom: 0; }
.rhsb .rhsb-summary dt { color: var(--rhsb-muted); font-size: 14px; margin: 0; }
.rhsb .rhsb-summary dd { margin: 0; font-weight: 700; text-align: right; white-space: pre-line; }

/* Nav + buttons */
.rhsb .rhsb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rhsb-border); }
.rhsb .rhsb-btn {
	all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 16px; letter-spacing: .3px; transition: filter .15s, transform .1s;
}
.rhsb .rhsb-btn:focus-visible { outline: 3px solid var(--rhsb-accent); outline-offset: 2px; }
.rhsb .rhsb-btn:active { transform: translateY(1px); }
.rhsb .rhsb-btn-primary { background: var(--rhsb-accent); color: var(--rhsb-accent-contrast); text-transform: uppercase; }
.rhsb .rhsb-btn-primary:hover { filter: brightness(1.1); }
.rhsb .rhsb-btn-primary:disabled { opacity: .6; cursor: wait; }
.rhsb .rhsb-btn-ghost { color: var(--rhsb-text); border: 1px solid var(--rhsb-border); background: transparent; }
.rhsb .rhsb-btn-ghost:hover { background: var(--rhsb-surface); }

/* Done */
.rhsb .rhsb-done { text-align: center; max-width: 520px; margin: 0 auto; padding: 10px 0; }
.rhsb .rhsb-done h3 { font-size: 24px; margin: 8px 0 8px; font-weight: 800; color: var(--rhsb-text); }
.rhsb .rhsb-done .rhsb-summary { text-align: left; }
.rhsb .rhsb-done-icon { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: var(--rhsb-success); color: #fff; font-size: 36px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rhsb .rhsb-ref { font-size: 14px; color: var(--rhsb-muted); margin: 18px 0; }
.rhsb .rhsb-ref strong { display: inline-block; margin-top: 4px; font-size: clamp(17px, 5.4vw, 24px); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 1px; color: var(--rhsb-text); background: var(--rhsb-surface); border: 1px dashed var(--rhsb-accent); padding: 6px 16px; border-radius: var(--rhsb-radius-sm); }

/* Responsive */
@media (max-width: 760px) {
	.rhsb .rhsb-grid2 { grid-template-columns: 1fr; gap: 18px; }
	.rhsb .rhsb-head { padding: 22px 16px 6px; }
	.rhsb .rhsb-body { padding: 14px 16px 20px; }
	.rhsb .rhsb-title { font-size: 21px; }
	.rhsb .rhsb-steps li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: 11.5px; line-height: 1.2; }
	.rhsb .rhsb-nav { position: sticky; bottom: 0; background: var(--rhsb-bg); margin: 20px -16px -20px; padding: 12px 16px; }
	.rhsb .rhsb-btn { padding: 13px 18px; font-size: 15px; }
	.rhsb .rhsb-options { grid-template-columns: 1fr; }
	.rhsb .rhsb-qty { max-width: none; width: 100%; }
	.rhsb .rhsb-qty-btn { width: 56px; min-height: 48px; }
	.rhsb .rhsb-slots { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
	.rhsb .rhsb-slot { min-height: 44px; }
	.rhsb .rhsb-cal { padding: 10px; }
	.rhsb .rhsb-cal-day { padding: 0; min-height: 40px; display: flex; align-items: center; justify-content: center; }
	.rhsb .rhsb-summary div { flex-wrap: wrap; gap: 4px 12px; }
	.rhsb .rhsb-summary dd { text-align: left; }
}
@media (max-width: 480px) {
	.rhsb .rhsb-head { padding: 20px 12px 6px; }
	.rhsb .rhsb-body { padding: 12px 12px 18px; }
	.rhsb .rhsb-title { font-size: 19px; }
	.rhsb .rhsb-steps { gap: 4px; }
	.rhsb .rhsb-steps li { font-size: 10.5px; padding: 6px 2px; }
	.rhsb .rhsb-num { flex-basis: 22px; height: 22px; width: 22px; font-size: 12px; }
	.rhsb .rhsb-nav { margin: 18px -12px -18px; padding: 10px 12px; }
	.rhsb .rhsb-nav .rhsb-btn { flex: 1 1 0; min-width: 0; padding: 13px 10px; }
	.rhsb .rhsb-cal-grid { gap: 3px; }
	.rhsb .rhsb-cal-day { font-size: 14px; min-height: 38px; }
	.rhsb .rhsb-ref strong { white-space: normal; word-break: break-all; }
}
@media (prefers-reduced-motion: reduce) {
	.rhsb * { transition: none !important; }
}
