/**
 * Booking form.
 *
 * Follows the supplied design: a step rail, a single white card holding one
 * step at a time, and a summary panel on the right. Theme tokens are used where
 * they exist so the plugin matches this site, with its own fallbacks elsewhere.
 */

.usrb {
	--usrb-primary: var(--color-primary, #028fa8);
	--usrb-heading: var(--color-heading, #073b4c);
	--usrb-body: var(--color-body, #41484b);
	--usrb-line: #e2e8ea;
	--usrb-surface: #f7fafb;
	--usrb-cream: #fbf8f1;
	--usrb-radius: 16px;

	max-width: 1180px;
	margin-inline: auto;
	padding: 0 0 clamp(28px, 3vw, 56px);
	font-family: var(--font-body, Inter, system-ui, sans-serif);
	color: var(--usrb-body);
}

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

.usrb-icon { flex: none; }

/* Banner ------------------------------------------------------------------ */

/*
 * Full-bleed: the theme wraps page content in a centred container, and a banner
 * that stops at the container edge does not read as a banner. Safe because the
 * theme clips horizontal overflow.
 */
.usrb-hero {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(340px, 40vw, 520px);
	/* Extra top padding so the eyebrow pill clears a sticky site header. */
	padding: clamp(64px, 7vw, 120px) 20px clamp(40px, 5vw, 90px);
	overflow: hidden;
	isolation: isolate;
	background-color: #0d5f75;
	background-image: var(--usrb-hero-image);
	background-size: cover;
	background-position: center;
	text-align: center;
	color: #fff;
}

.usrb-hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.usrb-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 36, 49, 0.28), rgba(0, 36, 49, 0.5));
}

.usrb-hero__inner { width: min(100%, 900px); }

.usrb-hero__eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 7px 18px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.usrb-hero__title {
	margin: 0 0 12px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 56px);
	line-height: 1.12;
	text-transform: uppercase;
	color: #fff;
}

.usrb-hero__text {
	max-width: 640px;
	margin: 0 auto clamp(20px, 2.4vw, 34px);
	font-size: clamp(15px, 1.1vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

/*
 * A three-column grid rather than flex wrapping. Themes commonly restyle inputs
 * and buttons, so every property the bar depends on is set here explicitly
 * instead of being inherited.
 */
.usrb-hero__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 10px;
	align-items: stretch;
	width: min(100%, 700px);
	margin-inline: auto;
	padding: 10px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 14px;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.usrb-hero__control {
	display: flex;
	gap: 10px;
	align-items: center;
	min-width: 0;
	height: 50px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--usrb-line);
	border-radius: 10px;
	color: var(--usrb-body);
}

.usrb-hero__control .usrb-icon { color: #7d8a90; }

.usrb-hero__control input,
.usrb-hero__control select {
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.2;
	color: var(--usrb-body);
	-webkit-appearance: none;
	appearance: none;
}

.usrb-hero__control select {
	/* The arrow is drawn here because appearance:none removes the native one. */
	padding-right: 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237d8a90' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	cursor: pointer;
}

.usrb-hero__control input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.55;
}

.usrb-hero__control input:focus,
.usrb-hero__control select:focus { outline: none; }

.usrb-hero__submit {
	height: 50px;
	padding: 0 26px;
	background: var(--usrb-primary);
	border: 0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
}

.usrb-hero__submit:hover { background: #027a90; }

@media (max-width: 620px) {
	.usrb-hero__bar { grid-template-columns: minmax(0, 1fr); }
	.usrb-hero__submit { width: 100%; }
}

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

/* A class that sets display outranks the browser's [hidden] rule, so hiding has
   to be stated explicitly or the panel never goes away. */
.usrb__layout[hidden],
.usrb [hidden] {
	display: none;
}

.usrb__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 24px;
	align-items: start;
}

.usrb__card,
.usrb__summary,
.usrb__stepbar {
	background: #fff;
	border: 1px solid var(--usrb-line);
	border-radius: var(--usrb-radius);
}

.usrb__stepbar {
	margin-bottom: 20px;
	padding: 18px 20px;
}

.usrb__card { padding: clamp(20px, 2.2vw, 34px); }

/* Step rail --------------------------------------------------------------- */

.usrb__steps {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usrb__step {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: #93a1a7;
	text-align: center;
}

/* The connecting rule, drawn behind each dot except the first. */
.usrb__step:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 15px;
	right: 50%;
	left: -50%;
	height: 2px;
	background: var(--usrb-line);
}

.usrb__step.is-active::before,
.usrb__step.is-done::before { background: var(--usrb-heading); }

.usrb__step-dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: #fff;
	border: 2px solid var(--usrb-line);
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	color: #93a1a7;
}

.usrb__step-tick { display: none; }

.usrb__step.is-active .usrb__step-dot {
	background: var(--usrb-heading);
	border-color: var(--usrb-heading);
	color: #fff;
}

.usrb__step.is-active .usrb__step-label {
	color: var(--usrb-heading);
	font-weight: 600;
}

.usrb__step.is-done .usrb__step-dot {
	background: var(--usrb-primary);
	border-color: var(--usrb-primary);
	color: #fff;
}

.usrb__step.is-done .usrb__step-num { display: none; }
.usrb__step.is-done .usrb__step-tick { display: grid; place-items: center; }

/* Panels ------------------------------------------------------------------ */

.usrb__panel { display: none; }
.usrb__panel.is-active { display: block; }

.usrb__title {
	margin: 0 0 4px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 700;
	font-size: clamp(20px, 1.9vw, 27px);
	color: var(--usrb-heading);
}

.usrb__sub {
	margin: 0 0 22px;
	font-size: 14px;
	color: #6d7a80;
}

.usrb__sub-title {
	margin: 26px 0 10px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-size: 17px;
	color: var(--usrb-heading);
}

.usrb__mini-label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--usrb-heading);
}

/* Rentals ----------------------------------------------------------------- */

.usrb__rentals {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.usrb__rental {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	text-align: left;
	background: #fff;
	border: 2px solid var(--usrb-line);
	border-radius: 12px;
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.usrb__rental:hover { border-color: var(--usrb-primary); }

.usrb__rental.is-selected {
	border-color: var(--usrb-primary);
	box-shadow: 0 0 0 3px rgba(2, 143, 168, 0.13);
}

.usrb__rental-top {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: baseline;
}

.usrb__rental-name {
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 600;
	font-size: 17px;
	color: var(--usrb-heading);
}

.usrb__rental-price {
	font-weight: 700;
	font-size: 17px;
	color: var(--usrb-heading);
}

.usrb__rental-note { font-size: 13px; color: #6d7a80; }
.usrb__rental-dur { font-size: 12px; color: #93a1a7; }

/* Calendar ---------------------------------------------------------------- */

.usrb__datetime {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
}

.usrb__cal {
	padding: 14px;
	background: var(--usrb-cream);
	border: 1px solid #efe6d4;
	border-radius: 12px;
}

.usrb__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.usrb__cal-month {
	font-weight: 600;
	font-size: 14px;
	color: var(--usrb-heading);
}

.usrb__cal-nav {
	width: 28px;
	height: 28px;
	background: none;
	border: 0;
	border-radius: 6px;
	font-size: 18px;
	line-height: 1;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__cal-nav:hover { background: rgba(0, 0, 0, 0.05); }

.usrb__cal-week,
.usrb__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.usrb__cal-week {
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 600;
	color: #a3aeb3;
}

.usrb__day {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	border-radius: 50%;
	font: inherit;
	font-size: 13px;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__day:hover:not(:disabled) { background: rgba(2, 143, 168, 0.12); }

.usrb__day.is-past {
	color: #c4ccd0;
	text-decoration: line-through;
	cursor: default;
}

.usrb__day.is-selected {
	background: var(--usrb-primary);
	color: #fff;
	font-weight: 700;
}

/* Time slots -------------------------------------------------------------- */

.usrb__slots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	align-content: start;
}

.usrb__slot {
	padding: 12px 10px;
	background: var(--usrb-cream);
	border: 1.5px solid #efe6d4;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__slot:hover { border-color: var(--usrb-primary); }

.usrb__slot.is-selected {
	background: rgba(2, 143, 168, 0.1);
	border-color: var(--usrb-primary);
	font-weight: 600;
}

/* Chips and add-ons ------------------------------------------------------- */

.usrb__chips {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}

.usrb__chip {
	padding: 14px 16px;
	background: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 10px;
	font: inherit;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__chip:hover { border-color: var(--usrb-primary); }

.usrb__chip.is-selected {
	background: var(--usrb-primary);
	border-color: var(--usrb-primary);
	color: #fff;
}

.usrb__addon {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	margin-bottom: 10px;
	border: 1.5px solid var(--usrb-line);
	border-radius: 10px;
	cursor: pointer;
}

.usrb__addon-price { font-weight: 700; color: var(--usrb-heading); }

/* Fields ------------------------------------------------------------------ */

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

.usrb__field { display: block; margin: 0 0 14px; }
.usrb__field--full { grid-column: 1 / -1; }
.usrb__field--narrow { max-width: 340px; }

.usrb__field > span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--usrb-heading);
}

.usrb__field input,
.usrb__field textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 10px;
	font: inherit;
	color: var(--usrb-body);
}

.usrb__field input:focus,
.usrb__field textarea:focus {
	outline: 2px solid var(--usrb-primary);
	outline-offset: 1px;
	border-color: var(--usrb-primary);
}

/* Waiver ------------------------------------------------------------------ */

.usrb__waiver {
	max-height: 280px;
	overflow-y: auto;
	padding: 18px;
	margin-bottom: 18px;
	background: var(--usrb-surface);
	border: 1px solid var(--usrb-line);
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.7;
}

.usrb__minors {
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid var(--usrb-line);
	border-radius: 10px;
}

.usrb__minors legend {
	padding: 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--usrb-heading);
}

.usrb__minor {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.usrb__minor input {
	padding: 10px;
	border: 1.5px solid var(--usrb-line);
	border-radius: 8px;
	font: inherit;
}

.usrb__sign { position: relative; }

.usrb__sign canvas {
	display: block;
	width: 100%;
	height: 170px;
	background: #fff;
	border: 1.5px dashed var(--usrb-primary);
	border-radius: 10px;
	touch-action: none;
	cursor: crosshair;
}

.usrb__sign-hint {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 13px;
	color: #a9b4b9;
	pointer-events: none;
}

.usrb__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 14px;
	font-size: 14px;
}

.usrb__link {
	margin-top: 8px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--usrb-primary);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

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

.usrb__card-field { min-height: 90px; padding: 4px 0 12px; }

.usrb__secure {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	font-size: 13px;
	color: #6d7a80;
}

/* Navigation -------------------------------------------------------------- */

.usrb__nav {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--usrb-line);
}

.usrb__btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 13px 26px;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.usrb__btn--primary {
	margin-left: auto;
	background: var(--usrb-heading);
	color: #fff;
}

.usrb__btn--primary:disabled { opacity: 0.6; cursor: default; }

.usrb__btn--ghost {
	background: transparent;
	border: 1.5px solid var(--usrb-line);
	color: var(--usrb-heading);
}

.usrb__error {
	margin-top: 18px;
	padding: 12px 16px;
	background: #fdecea;
	border: 1px solid #f3c2bd;
	border-radius: 10px;
	color: #b3261e;
	font-size: 14px;
}

.usrb__done { text-align: center; padding: 30px 0; }

.usrb__done-mark {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 16px;
	background: var(--usrb-primary);
	border-radius: 50%;
	color: #fff;
}

/* Summary ----------------------------------------------------------------- */

.usrb__summary { padding: 22px; }

.usrb__summary-title {
	margin: 0 0 16px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-size: 17px;
	color: var(--usrb-heading);
}

.usrb__product {
	display: grid;
	gap: 4px;
	padding-bottom: 14px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--usrb-line);
}

.usrb__badge {
	justify-self: start;
	padding: 4px 10px;
	background: rgba(2, 143, 168, 0.12);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	color: var(--usrb-primary);
}

.usrb__product-name {
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 600;
	font-size: 16px;
	color: var(--usrb-heading);
}

.usrb__product-meta { font-size: 12px; color: #93a1a7; }

.usrb__srow {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	font-size: 13px;
}

.usrb__srow-k { color: #6d7a80; }
.usrb__srow-v { font-weight: 600; color: var(--usrb-heading); }
.usrb__srow-v.is-pending { font-weight: 400; font-style: italic; color: #a9b4b9; }

.usrb__lines {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--usrb-line);
}

.usrb__srow--total {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--usrb-line);
	font-family: var(--font-heading, Sora, sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--usrb-primary);
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 980px) {
	.usrb__layout { grid-template-columns: minmax(0, 1fr); }
	.usrb__summary { order: -1; }
	.usrb__datetime { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
	.usrb__step-label { display: none; }
	.usrb__card, .usrb__summary, .usrb__stepbar { padding: 16px; }
	.usrb__minor { grid-template-columns: minmax(0, 1fr); }
	.usrb__nav { flex-direction: column-reverse; }
	.usrb__btn { width: 100%; justify-content: center; }
	.usrb__btn--primary { margin-left: 0; }
}

/* ---------------------------------------------------------------------------
 * Chooser — the "Choose Your Adventure" step that precedes the flow
 * ------------------------------------------------------------------------ */

.usrb__chooser {
	padding-top: clamp(34px, 4vw, 70px);
	text-align: center;
}

.usrb__layout:not([hidden]) { padding-top: clamp(28px, 3vw, 52px); }

.usrb__chooser-title {
	margin: 0 0 6px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 700;
	font-size: clamp(24px, 2.4vw, 34px);
	color: var(--usrb-heading);
}

.usrb__chooser-sub {
	margin: 0 0 28px;
	font-size: 15px;
	color: #6d7a80;
}

.usrb__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-bottom: 22px;
	text-align: left;
}

.usrb__choice.is-selected {
	border-color: var(--usrb-primary);
	box-shadow: 0 0 0 3px rgba(2, 143, 168, 0.16);
}

.usrb__choice {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(7, 59, 76, 0.06);
}

.usrb__choice.is-featured {
	border-color: var(--usrb-primary);
	box-shadow: 0 12px 34px rgba(2, 143, 168, 0.16);
}

.usrb__choice-flag {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1;
	padding: 5px 12px;
	background: #b9e2ec;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--usrb-heading);
}

.usrb__choice-media {
	display: block;
	aspect-ratio: 16 / 10;
	background-color: var(--usrb-surface);
	background-size: cover;
	background-position: center;
}

.usrb__choice-media--empty {
	background-image: linear-gradient(140deg, #cfe4ec, #8fc6d6);
}

.usrb__choice-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
}

.usrb__choice-name {
	margin: 0;
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 600;
	font-size: 19px;
	color: var(--usrb-heading);
}

.usrb__choice-note {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #6d7a80;
}

.usrb__choice-foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 8px;
}

.usrb__choice-dur { font-size: 13px; color: #93a1a7; }

.usrb__choice-price {
	font-family: var(--font-heading, Sora, sans-serif);
	font-weight: 700;
	font-size: 16px;
	color: var(--usrb-heading);
}

.usrb__choice-btn {
	margin-top: 12px;
	padding: 12px 18px;
	background: #fff;
	border: 1.5px solid var(--usrb-primary);
	border-radius: 999px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--usrb-primary);
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease;
}

.usrb__choice-btn:hover,
.usrb__choice.is-featured .usrb__choice-btn {
	background: var(--usrb-primary);
	color: #fff;
}

/* Sold-out slots ---------------------------------------------------------- */

.usrb__slot {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.usrb__slot.is-full {
	background: #f1f3f4;
	border-color: #e4e8e9;
	color: #a9b4b9;
	cursor: default;
}

.usrb__slot.is-selected { color: var(--usrb-primary); }

/* Back as a plain link, matching the design ------------------------------- */

.usrb__btn--ghost {
	padding-left: 0;
	padding-right: 0;
	background: none;
	border: 0;
	color: #6d7a80;
}

.usrb__btn--ghost:hover { color: var(--usrb-heading); }

/* Summary thumbnail and row icons ----------------------------------------- */

.usrb__product {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.usrb__thumb {
	display: block;
	aspect-ratio: 1;
	border-radius: 10px;
	background-color: var(--usrb-surface);
	background-size: cover;
	background-position: center;
}

.usrb__thumb--empty { background-image: linear-gradient(140deg, #cfe4ec, #8fc6d6); }

.usrb__product-info { display: grid; gap: 3px; }

.usrb__srow-k {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	color: #6d7a80;
}

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

/* Quantity stepper on a product card ------------------------------------- */

.usrb__qty {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 38px;
	gap: 6px;
	align-items: center;
	margin-top: 12px;
}

.usrb__qty-btn {
	height: 38px;
	background: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 9px;
	font: inherit;
	font-size: 17px;
	line-height: 1;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__qty-btn:hover {
	border-color: var(--usrb-primary);
	color: var(--usrb-primary);
}

.usrb__qty-value {
	display: grid;
	place-items: center;
	height: 38px;
	background: var(--usrb-surface);
	border-radius: 9px;
	font-weight: 700;
	font-size: 15px;
	color: var(--usrb-heading);
}

.usrb__choice.is-selected .usrb__qty-value {
	background: rgba(2, 143, 168, 0.12);
	color: var(--usrb-primary);
}

/* Products read better a little narrower than the old three-up cards. */
.usrb__choices {
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.usrb__choice-media { aspect-ratio: 4 / 3; }

/* Scooter cards ----------------------------------------------------------
 *
 * The scooter is the headline choice, so step 1 runs larger cards than the
 * goggles on step 2. Scoped to [data-scooters] — the accessory grid keeps the
 * compact sizing above.
 *
 * Flex rather than the shared auto-fill grid on purpose: auto-fill keeps
 * laying down empty 210px tracks, so with a single scooter in the catalogue
 * the one card was stranded at track width with dead space beside it. Flex
 * lets it grow into the row instead.
 */
.usrb__choices[data-scooters] {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.usrb__choices[data-scooters] .usrb__choice {
	flex: 1 1 340px;
	max-width: 440px;
	border-radius: 16px;
}

.usrb__choices[data-scooters] .usrb__choice-body {
	gap: 8px;
	padding: 24px;
}

.usrb__choices[data-scooters] .usrb__choice-name { font-size: 23px; }
.usrb__choices[data-scooters] .usrb__choice-note { font-size: 15px; }
.usrb__choices[data-scooters] .usrb__choice-dur { font-size: 14px; }
.usrb__choices[data-scooters] .usrb__choice-price { font-size: 20px; }

.usrb__choices[data-scooters] .usrb__choice-flag {
	top: 16px;
	right: 16px;
	padding: 6px 14px;
	font-size: 12px;
}

.usrb__choices[data-scooters] .usrb__lengths {
	gap: 8px;
	margin-top: 14px;
}

.usrb__choices[data-scooters] .usrb__length {
	padding: 12px 15px;
	border-radius: 10px;
	font-size: 14.5px;
}

.usrb__choices[data-scooters] .usrb__qty {
	grid-template-columns: 46px minmax(0, 1fr) 46px;
	gap: 8px;
	margin-top: 16px;
}

.usrb__choices[data-scooters] .usrb__qty-btn,
.usrb__choices[data-scooters] .usrb__qty-value {
	height: 46px;
	border-radius: 11px;
}

.usrb__choices[data-scooters] .usrb__qty-btn { font-size: 19px; }
.usrb__choices[data-scooters] .usrb__qty-value { font-size: 17px; }

@media (max-width: 620px) {
	.usrb__choices[data-scooters] .usrb__choice { max-width: none; }
}

/* Signature actions ------------------------------------------------------- */

.usrb__sign-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	margin-top: 8px;
}

.usrb__upload {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

/* Rental lengths ---------------------------------------------------------- */

.usrb__lengths {
	display: grid;
	gap: 6px;
	margin-top: 10px;
}

.usrb__length {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	background: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 9px;
	font: inherit;
	font-size: 13px;
	color: var(--usrb-heading);
	cursor: pointer;
}

.usrb__length:hover { border-color: var(--usrb-primary); }

.usrb__length.is-selected {
	background: rgba(2, 143, 168, 0.09);
	border-color: var(--usrb-primary);
}

.usrb__length-price { font-weight: 700; }

/* Notes, service areas and the how-to step -------------------------------- */

.usrb__note {
	margin: 14px 0 0;
	padding: 11px 14px;
	background: var(--usrb-cream);
	border-radius: 9px;
	font-size: 13px;
	line-height: 1.5;
	color: #6d7a80;
}

.usrb__areas {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--usrb-line);
}

.usrb__areas-title {
	margin: 0 0 12px;
	font-family: var(--font-heading, Sora, sans-serif);
	font-size: 16px;
	color: var(--usrb-heading);
}

.usrb__areas-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usrb__areas-list li {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	font-size: 14px;
	color: var(--usrb-body);
}

.usrb__areas-list .usrb-icon { color: var(--usrb-primary); }

.usrb__howto-video {
	width: 100%;
	margin-bottom: 18px;
	background: #002431;
	border-radius: 12px;
}

.usrb__howto-text p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--usrb-body);
}

/* Pickup step: free locations and paid delivery areas ---------------------- */

.usrb__loc-group + .usrb__loc-group {
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--usrb-line);
}

.usrb__loc-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--usrb-heading);
}

.usrb__loc-tag {
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.usrb__loc-tag--free {
	background-color: #e4f7ee;
	color: #17794b;
}

.usrb__loc-tag--fee {
	background-color: var(--usrb-primary-soft, #e6f4f7);
	color: var(--usrb-primary);
}

.usrb__loc-note {
	margin: 0 0 14px;
	font-size: 14px;
	color: #7d919b;
}

.usrb__loc-group .usrb__chips {
	margin-top: 12px;
}

.usrb__chip-name {
	display: block;
}

.usrb__chip-tag {
	display: block;
	margin-top: 4px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--usrb-primary);
}

.usrb__chip.is-selected .usrb__chip-tag {
	color: inherit;
	opacity: 0.85;
}

/* Lens strength pickers --------------------------------------------------- */

.usrb__rx {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed var(--usrb-line);
}

.usrb__rx-note {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #7d919b;
}

.usrb__rx-row {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.usrb__rx-row:last-child { margin-bottom: 0; }

.usrb__rx-label {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--usrb-heading);
}

.usrb__rx-select {
	flex: 0 0 auto;
	min-width: 116px;
	padding: 8px 10px;
	background-color: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 9px;
	font: inherit;
	font-size: 13.5px;
	color: var(--usrb-heading);
}

/* Delivery address -------------------------------------------------------- */

.usrb__address {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
	padding: 20px;
	background-color: #f4f7f9;
	border-radius: 14px;
}

.usrb__address .usrb__field--wide { grid-column: 1 / -1; }

.usrb__address label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--usrb-heading);
}

.usrb__address input {
	width: 100%;
	padding: 11px 13px;
	background-color: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 10px;
	font: inherit;
	font-size: 14.5px;
}

.usrb__address input:focus {
	border-color: var(--usrb-primary);
	outline: none;
}

/* Rental terms notice ----------------------------------------------------- */

.usrb__terms {
	margin-bottom: 26px;
	padding: 20px 22px;
	background-color: #fff8ec;
	border: 1px solid #f0dcb8;
	border-radius: 14px;
}

.usrb__terms-title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #7a5312;
}

.usrb__terms p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.6;
	color: #6b5732;
}

.usrb__terms p:last-child { margin-bottom: 0; }

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

/* Start times that run past closing ---------------------------------------- */

.usrb__slot.is-late {
	background-color: #fbfbfc;
	border-style: dashed;
	color: #a9b7bf;
}

.usrb__slot.is-late:hover {
	border-color: #d8a33a;
	color: #8a6413;
}

/* Closing-time notice ------------------------------------------------------ */

.usrb__modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.usrb__modal[hidden] { display: none; }

.usrb__modal-veil {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 36, 49, 0.55);
}

.usrb__modal-box {
	position: relative;
	width: min(440px, 100%);
	padding: 28px;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(6, 46, 61, 0.24);
	text-align: left;
}

.usrb__modal-title {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--usrb-heading);
}

.usrb__modal-body {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.6;
	color: #5d7581;
}

.usrb__modal-advice {
	margin: 0 0 20px;
	padding: 12px 14px;
	background-color: #f4f7f9;
	border-radius: 10px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--usrb-heading);
}

.usrb__modal-box .usrb__btn { width: 100%; justify-content: center; }

body.usrb-modal-open { overflow: hidden; }

/* Start times already gone for today -------------------------------------- */

.usrb__slot.is-past {
	background-color: #fbfbfc;
	border-style: dotted;
	color: #b6c1c7;
	text-decoration: line-through;
}

.usrb__slot.is-past:hover {
	border-color: #b6c1c7;
	color: #8a959b;
}

.usrb__slot--custom {
	border-style: solid;
}

/* Custom start time ------------------------------------------------------- */

.usrb__custom {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--usrb-line);
}

.usrb__custom-label {
	display: block;
	margin-bottom: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--usrb-heading);
}

.usrb__custom-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.usrb__custom-row input {
	flex: 1 1 130px;
	min-width: 0;
	padding: 11px 13px;
	background-color: #fff;
	border: 1.5px solid var(--usrb-line);
	border-radius: 10px;
	font: inherit;
	font-size: 14.5px;
}

.usrb__custom-row input:focus {
	border-color: var(--usrb-primary);
	outline: none;
}

.usrb__custom-btn {
	flex: 0 0 auto;
	padding: 11px 18px;
	background-color: var(--usrb-primary-soft, #e6f4f7);
	border: 1.5px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--usrb-primary);
	cursor: pointer;
}

.usrb__custom-btn:hover {
	background-color: var(--usrb-primary);
	color: #fff;
}

.usrb__custom-hint {
	margin: 8px 0 0;
	font-size: 13px;
	color: #8a959b;
}

/* Delivery lead-time note -------------------------------------------------- */

.usrb__delivery-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 14px 0 0;
	padding: 12px 14px;
	background-color: #f4f7f9;
	border-radius: 10px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #5d7581;
}

.usrb__delivery-note svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--usrb-primary);
}
