/* Bike booking page in the ski booking page's style (2026-11-07): a title band, step
   tabs, quiet cards and a full-width bottom bar. Loaded after the page's own styles and
   scoped to body.bike-reserve; the booking flow and its markup ids are unchanged.
   Type 13/16/20/25/31/39/49/61, spacing 4-128, radius 8. */

body.bike-reserve {
  --br-ink: #141414;
  --br-muted: #4b5654;
  --br-line: #d6dedd;
  --br-snow: #f2f5f5;
  --br-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* Room under the last card for the bottom bar. */
  padding-bottom: 96px;
}

/* ---------- Title band ---------- */

.bike-reserve .bike-reserve-title {
  padding: 32px 24px;
  border-bottom: 1px solid var(--br-line);
  background: var(--br-snow);
}

.bike-reserve .bike-reserve-title__inner {
  /* Matches the cards: main.css fixes .accordion-container at 1100px with 16px sides. */
  max-width: 1068px;
  margin: 0 auto;
}

.bike-reserve .bike-reserve-title__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bike-reserve .bike-reserve-title h1 {
  margin: 0;
  color: var(--br-ink);
  font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", "Arial Narrow", sans-serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bike-reserve .bike-reserve-title p {
  max-width: 65ch;
  margin: 12px 0 0;
  color: var(--br-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Step tabs (was the floating progress bar) ---------- */

.bike-reserve .booking-progress {
  position: static;
  width: min(1068px, calc(100% - 32px));
  margin: 32px auto 0;
  padding: 0;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.bike-reserve .booking-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}

.bike-reserve .progress-bike,
.bike-reserve .progress-line { display: none; }

.bike-reserve .progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  margin: 0;
  padding: 0 8px;
  border-left: 1px solid var(--br-line);
  color: var(--br-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.bike-reserve .progress-step:first-of-type { border-left: 0; }
.bike-reserve .progress-step span { display: inline; }

.bike-reserve .progress-dot {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--br-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
}

.bike-reserve .progress-step.active {
  background: var(--br-snow);
  box-shadow: inset 0 0 0 2px var(--br-ink);
  color: var(--br-ink);
}

.bike-reserve .progress-step.active .progress-dot,
.bike-reserve .progress-step.complete .progress-dot {
  border-color: var(--br-ink);
  background: var(--br-ink);
  color: #ffffff;
}

.bike-reserve .progress-step.complete { color: var(--br-ink); }

/* Tabs read like the ski tabs: sentence case, not small caps. */
.bike-reserve .progress-step span {
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Header ---------- */

.bike-reserve .bike-reserve-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.bike-reserve .bike-reserve-back:hover { text-decoration-thickness: 2px; }

/* ---------- Cards ---------- */

.bike-reserve .accordion-container {
  padding: 24px 16px 32px;
}

.bike-reserve .ribbon {
  margin-bottom: 12px;
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--br-shadow);
}

.bike-reserve .ribbon.active { border-color: var(--br-line); }

.bike-reserve .ribbon-icon {
  border-radius: 8px;
  background: var(--br-snow);
  color: var(--br-ink);
}

.bike-reserve .ribbon.active .ribbon-icon {
  background: var(--br-snow);
  color: var(--br-ink);
}

/* The total appears once there is one; before that the box and its GST line stay out of the way. */
.bike-reserve .booking-estimate:not(.active),
.bike-reserve .booking-estimate:not(.active) + .booking-tax-note { display: none; }

/* Field labels in bold sentence case, like the ski booking page. */
.bike-reserve.rb-page .form-group label {
  color: var(--br-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.bike-reserve .booking-estimate {
  border: 1px solid var(--br-line);
  border-radius: 8px;
  background: var(--br-snow);
  box-shadow: none;
}

.bike-reserve .booking-tax-note {
  max-width: none;
  margin: 8px 0 16px;
  color: var(--br-muted);
  font-size: 13px;
  text-align: left;
}

.bike-reserve .bike-reserve-advisory {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--br-snow);
  color: var(--br-ink);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Payment total (round 1, 2026-11-13) ---------- */

/* The total and pay button sit at the end of the payment card, in the flow, instead of floating
   over the line items. The itemised total is directly above them. */
.bike-reserve .accordion-container #ribbon-payment .payment-floating-total {
  position: static;
  left: auto;
  bottom: auto;
  width: auto;
  margin: 24px 0 0;
  transform: none;
  box-shadow: none;
  backdrop-filter: none;
  background: var(--br-snow);
}

/* ---------- Bike step width ---------- */

/* The scrolling bike and category rows must scroll inside the card, not stretch it past a
   375px screen (seen with four or more categories). */
.bike-reserve .ribbon-body { grid-template-columns: minmax(0, 1fr); }
.bike-reserve .ribbon-content { min-width: 0; }

/* ---------- Details form ---------- */

@media (max-width: 479px) {
  .bike-reserve .contact-details-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bottom bar (was a floating card over the form) ---------- */

.bike-reserve .booking-sticky-next {
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  padding: 12px max(16px, calc((100% - 1068px) / 2));
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--br-line);
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  transform: translateY(110%);
}

.bike-reserve .booking-sticky-next.visible { transform: translateY(0); }

.bike-reserve .booking-sticky-next-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 240px;
  min-height: 48px;
}

/* ---------- Phones ---------- */

@media (max-width: 640px) {
  .bike-reserve .bike-reserve-title { padding: 16px 16px 24px; }
  .bike-reserve .bike-reserve-title h1 { font-size: 25px; }
  .bike-reserve .bike-reserve-title p { margin-top: 8px; }
  .bike-reserve .bike-reserve-title__more { display: none; }

  .bike-reserve .booking-progress {
    width: calc(100% - 32px);
    margin-top: 16px;
  }

  /* Five tabs across 343px: the label only, no number. */
  .bike-reserve .progress-step {
    min-height: 48px;
    padding: 0 4px;
    font-size: 13px;
  }

  .bike-reserve .progress-dot { display: none; }
  .bike-reserve .progress-step span { display: inline; }

  .bike-reserve .booking-sticky-next-button {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
}

/* The Bikes tab beside the logo leads back on phones; the text link needs the room. */
@media (max-width: 760px) {
  .bike-reserve .bike-reserve-back { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bike-reserve .booking-sticky-next { transition: none; }
}


/* ---------- Round 2 (2026-11-13) ---------- */

/* Icons: Font Awesome (CSS and font, about 100 KB) is no longer loaded on this page. The
   <i class="fas fa-..."> markup stays, and each icon is drawn as a CSS mask in currentColor. */
.bike-reserve i.fas,
.bike-reserve i.far,
.bike-reserve i.fab {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  font-style: normal;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--rb-icon) center / contain no-repeat;
  mask: var(--rb-icon) center / contain no-repeat;
}
.bike-reserve .fa-chevron-down { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.bike-reserve .fa-arrow-right { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
.bike-reserve .fa-plus { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
.bike-reserve .fa-minus { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
.bike-reserve .fa-check { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.bike-reserve .fa-calendar-alt { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.bike-reserve .fa-users { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.bike-reserve .fa-user { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.bike-reserve .fa-envelope { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpolyline points='22 6 12 13 2 6'/%3E%3C/svg%3E"); }
.bike-reserve .fa-envelope-open-text { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpolyline points='22 6 12 13 2 6'/%3E%3C/svg%3E"); }
.bike-reserve .fa-credit-card { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); }
.bike-reserve .fa-file-signature { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
.bike-reserve .fa-clock { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.bike-reserve .fa-exclamation-triangle { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.bike-reserve .fa-exclamation-circle { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
.bike-reserve .fa-images { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E"); }
.bike-reserve .fa-bicycle { --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='15' cy='5' r='1'/%3E%3Cpath d='M12 17.5V14l-3-3 4-3 2 3h2'/%3E%3C/svg%3E"); }

/* One green only: completed steps, discounts and success marks use brand teal. */
body.bike-reserve { --color-success: #016d66; }

/* Proof line under the title. */
.bike-reserve .bike-reserve-title p.bike-reserve-title__proof {
  margin: 8px 0 0;
  color: var(--br-ink);
  font-size: 16px;
  font-weight: 600;
}
.bike-reserve .bike-reserve-title__proof span { color: var(--br-ink); }

/* The Plan button while dates, times and lengths load: busy, not unavailable. */
.bike-reserve #whenNext .when-next-loading { display: none; }
.bike-reserve #whenNext.is-loading:disabled {
  border-color: #016d66;
  background: #016d66;
  color: #ffffff;
  cursor: progress;
  opacity: 0.8;
}
.bike-reserve #whenNext.is-loading .when-next-label { display: none; }
.bike-reserve #whenNext.is-loading .when-next-loading { display: inline; }
.bike-reserve #whenNext.is-loading i { display: none; }

/* A handed-over pickup time that had to change: a visible note, not a silent reset. */
.bike-reserve .pickup-time-adjusted {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--br-ink);
  border-radius: 8px;
  background: var(--br-snow);
  color: var(--br-ink);
  font-size: 16px;
  line-height: 1.5;
}
.bike-reserve .pickup-time-adjusted[hidden] { display: none; }

/* Bike step: the rental length from /bikes is a summary with a Change button. */
.bike-reserve .bike-duration-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  grid-column: 1 / -1;
}
.bike-reserve .bike-duration-summary[hidden] { display: none; }
.bike-reserve .bike-duration-summary p { margin: 0; color: var(--br-ink); font-size: 16px; line-height: 1.5; }
.bike-reserve .bike-duration-summary span { color: var(--br-muted); }
.bike-reserve .bike-duration-summary strong { font-weight: 600; }
.bike-reserve .bike-duration-summary .btn { min-height: 44px; padding: 0 16px; }
.bike-reserve .bike-duration-workbench.is-summary > :not(.bike-duration-summary):not(.return-time-preview) { display: none; }

/* Sizes: each size once, "Recommended" inside the size that fits (replaces the round 1 rule). */
.bike-reserve .adaptive-size-options { display: flex; flex-wrap: wrap; }
.bike-reserve .adaptive-size-option { flex: 1 1 0; min-width: 64px; min-height: 48px; }
.bike-reserve .adaptive-size-option .adaptive-size-tag {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
}
.bike-reserve .adaptive-size-readout strong { text-transform: none; font-family: "Barlow", "Barlow Fallback", sans-serif; font-size: 16px; font-weight: 600; }

/* Bike type tabs: sentence case, and two by two on phones so "Hypershell" is never cut. */
.bike-reserve .bike-category-card {
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
}
@media (max-width: 480px) {
  .bike-reserve .bike-category-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .bike-reserve .bike-category-card { min-height: 48px; }
}

/* Rider height: a native list with no preselected height. */
.bike-reserve .rider-height-row { display: grid; gap: 8px; }
.bike-reserve .rider-height-select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #7c8987;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--br-ink);
  font: 400 16px/1.5 "Barlow", "Barlow Fallback", sans-serif;
}
.bike-reserve .rider-height-select:focus-visible { outline: 2px solid #016d66; outline-offset: 2px; }
.bike-reserve .rider-height-select[aria-invalid="true"] { border-color: #b42318; box-shadow: inset 0 0 0 1px #b42318; }
.bike-reserve .rider-height-label { color: var(--br-ink); font-size: 16px; font-weight: 600; }

/* Errors read as errors: red border and helper text (4.5:1 on white), distinct from the
   teal focus ring. */
.bike-reserve .field-error { color: #b42318; font-size: 13px; font-weight: 600; }
.bike-reserve .form-group input[aria-invalid="true"],
.bike-reserve .form-group select[aria-invalid="true"],
.bike-reserve .form-group textarea[aria-invalid="true"] {
  border-color: #b42318;
  outline: 0;
  box-shadow: inset 0 0 0 1px #b42318;
}
.bike-reserve .form-group input[aria-invalid="true"]:focus-visible,
.bike-reserve .form-group select[aria-invalid="true"]:focus-visible {
  outline: 2px solid #016d66;
  outline-offset: 2px;
}

/* Extras: descriptions are plain text under their options, not boxes that look like inputs. */
.bike-reserve #ribbon-payment .addon-selected-note,
.bike-reserve #ribbon-payment .checkout-section.checkout-section-addons .addon-selected-note {
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--br-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

/* Today / Tomorrow stay out of the way until reserve.js shows them (in season only). */
.bike-reserve #quickDateBtns[hidden] { display: none; }

/* Status colours: brand teal, not a second green. */
body.bike-reserve { --success: #016d66; }
.bike-reserve .badge-available,
.bike-reserve .badge-confirmed,
.bike-reserve .badge-success { background: #f2f5f5; color: #016d66; }

/* The "Recommended" tag wraps inside its size button instead of being cut off. */
.bike-reserve .adaptive-size-option .adaptive-size-tag {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
@media (max-width: 600px) {
  .bike-reserve .adaptive-size-option { padding: 4px; }
  .bike-reserve .adaptive-size-option .adaptive-size-tag { display: block; }
}

/* Closest-size note: plain text under the size control. */
.bike-reserve .bike-size-note {
  margin: 8px 0 0;
  color: var(--br-ink);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Round 3 (2026-11-13) ---------- */

/* Low stock (ruling 16): neutral grey text, only under 3 left or within 14 days of the ride. */
.bike-reserve .bike-availability-badge.is-low-stock {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--br-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

/* Sizes: "M" on line one, the tag on line two at 13px, and the row wraps instead of
   pushing "Recommended" out of its button at 375px. */
.bike-reserve .adaptive-size-options { gap: 8px; }
.bike-reserve .adaptive-size-option {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  padding: 4px 8px;
  overflow: visible;
}
.bike-reserve .adaptive-size-option strong { font-size: 16px; line-height: 1.2; }
.bike-reserve .adaptive-size-option .adaptive-size-tag {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Too tall for this bike (ruling 14): the reason and a switch, under the sizes. */
.bike-reserve .bike-size-switch {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin: 12px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--br-ink);
  border-radius: 8px;
  background: var(--br-snow);
}
.bike-reserve .bike-size-switch .bike-size-note { margin: 0; font-size: 16px; }
.bike-reserve .bike-size-switch-btn { min-height: 44px; padding: 0 16px; font-size: 16px; }

/* Extras: option names at 16px, helper lines at 13px, like the rest of the step. */
.bike-reserve #ribbon-payment .family-addon-heading strong,
.bike-reserve #ribbon-payment .family-addon-copy strong,
.bike-reserve #ribbon-payment .addon-choice strong,
.bike-reserve #ribbon-payment .optional-tip-heading span {
  font-family: "Barlow", "Barlow Fallback", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}
.bike-reserve #ribbon-payment .family-addon-heading small,
.bike-reserve #ribbon-payment .family-addon-copy small,
.bike-reserve #ribbon-payment .family-addon-copy span,
.bike-reserve #ribbon-payment .addon-choice small,
.bike-reserve #ribbon-payment .optional-tip-heading small {
  font-size: 13px;
  line-height: 1.5;
}

/* Pay step order (ruling 17): extras, the tip as one compact row, then the itemised total,
   the terms and the pay button. The total already sits right above the button, so the
   button row does not repeat it. */
.bike-reserve #ribbon-payment .checkout-options-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.bike-reserve #ribbon-payment .optional-tip-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px;
}
.bike-reserve #ribbon-payment .optional-tip-heading { display: flex; flex-direction: column; gap: 0; margin: 0; }
.bike-reserve #ribbon-payment .tip-selector { display: grid; grid-template-columns: repeat(4, minmax(56px, auto)); gap: 8px; }
.bike-reserve #ribbon-payment .tip-btn { min-height: 44px; padding: 0 12px; font-size: 16px; letter-spacing: 0; text-transform: none; }
.bike-reserve #ribbon-payment .order-summary { margin: 24px 0 0; }
.bike-reserve #ribbon-payment .checkout-payment-note { margin: 16px 0 0; font-size: 13px; line-height: 1.5; }
.bike-reserve .accordion-container #ribbon-payment .payment-floating-total { margin-top: 16px; padding: 0; background: none; }
.bike-reserve #ribbon-payment .payment-floating-total-copy { display: none; }
.bike-reserve #ribbon-payment .payment-floating-total #resPayBtn { width: 100%; min-height: 48px; }
.bike-reserve #ribbon-payment .checkout-waiver-handoff { margin: 24px 0 0; }
@media (max-width: 479px) {
  .bike-reserve #ribbon-payment .tip-selector { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Completed steps (ruling 17): a one-line summary with a "Change" button, no chevron.
   Ink, not teal: the accent stays on buttons and links. */
.bike-reserve .ribbon.completed .ribbon-header { padding: 12px 16px; }
.bike-reserve .ribbon.completed .ribbon-title { color: var(--br-ink); }
.bike-reserve .ribbon.completed .ribbon-icon { background: var(--br-ink); color: #ffffff; }
.bike-reserve .ribbon-change { display: none; }
.bike-reserve .ribbon.completed .ribbon-change {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #016d66;
  font: 600 16px/1.2 "Barlow", "Barlow Fallback", sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.bike-reserve .ribbon.completed .ribbon-change:focus-visible { outline: 2px solid #016d66; outline-offset: 2px; }
.bike-reserve .ribbon.completed .ribbon-chevron { display: none; }

/* Confirmation title: plain text in the server HTML, promoted to an H2 on confirmation. */
.bike-reserve .confirmation-title {
  margin: 0 0 8px;
  color: var(--br-ink);
  font: 700 25px/1.2 "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Extras: the section label matches the other field labels; quantity steppers are 44px targets. */
.bike-reserve #addonsCheckout > label { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bike-reserve #ribbon-payment .family-addon-quantity button { min-width: 44px; min-height: 44px; font-size: 20px; }
/* 8px between each stepper button and the count, so the "0" never touches the minus. */
.bike-reserve #ribbon-payment .family-addon-quantity { grid-template-columns: 44px minmax(24px, auto) 44px; gap: 8px; }
/* "Buy the crew a coffee" on one line beside the tip buttons at desktop. */
@media (min-width: 768px) {
  .bike-reserve .accordion-container #ribbon-payment .optional-tip-block { grid-template-columns: max-content minmax(0, 1fr); }
}

/* Full-day pickup notice: neutral, like the other notes in the step (teal stays on buttons and links). */
.bike-reserve .full-day-pickup-notice {
  border: 0;
  border-left: 4px solid var(--br-ink);
  border-radius: 8px;
  background: var(--br-snow);
  color: var(--br-ink);
}
.bike-reserve .full-day-pickup-notice strong { color: var(--br-ink); font-size: 16px; }
.bike-reserve .full-day-pickup-notice span { color: var(--br-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Round 4 (2026-11-13) ---------- */

/* Sizes on one row at every width: each column is as wide as its label ("XL" over
   "Recommended"), and the row shares out the rest. Four mountain bike sizes fit at 375px. */
.bike-reserve .adaptive-size-options {
  display: grid;
  grid-template-columns: repeat(var(--size-option-count, 4), auto);
  gap: 4px;
}
.bike-reserve .adaptive-size-option { min-width: 48px; }
@media (max-width: 480px) {
  .bike-reserve .adaptive-size-option { padding: 4px; }
}

/* Rental length summary: the pickup window reads on one line across the box. */
.bike-reserve .bike-duration-workbench.is-summary { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.bike-reserve .bike-duration-workbench.is-summary .return-time-preview {
  grid-column: 1 / -1;
  justify-self: start;
  max-width: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

/* Bikes the shop has switched off: one neutral line under the bike cards (ruling 3). */
.bike-reserve .bike-choice-switched-off {
  margin: 12px 0 0;
  color: var(--br-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Times or bikes did not load (ruling 8): a plain notice with a retry, never endless loading. */
.bike-reserve .booking-load-error {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid #b42318;
  border-radius: 8px;
  background: var(--br-snow);
}
.bike-reserve .booking-load-error[hidden] { display: none; }
.bike-reserve .booking-load-error p { margin: 0; color: var(--br-ink); font-size: 16px; line-height: 1.5; }
.bike-reserve .booking-load-error a { color: #016d66; font-weight: 600; white-space: nowrap; }
.bike-reserve .booking-load-error .btn { min-height: 44px; padding: 0 16px; }
.bike-reserve #whenNext.is-failed .when-next-loading { display: none; }

/* Details: other riders' names come straight after the contact fields, one per row on phones. */
@media (max-width: 479px) {
  .bike-reserve .additional-rider-names { grid-template-columns: minmax(0, 1fr); }
}
.bike-reserve .additional-rider-names { margin: 16px 0 24px; }

/* Closed cards end at their header: the content's padding stays out of the 0fr row, so a
   completed step is one line high, not a line plus 28px of empty card (C-N4). */
.bike-reserve .ribbon:not(.active) > .ribbon-body > .ribbon-content { padding-top: 0; padding-bottom: 0; }

/* Footer column titles are paragraphs now (not H2s), so the page outline ends with the
   page's own headings. They keep the condensed face the old H2s had on this page. */
.bike-reserve .rb-site-footer__title { font-family: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback 2", "Arial Narrow", sans-serif; }

/* Round 5 (D2): the bottom bar and its button leave the tab order while the bar is away,
   after its slide-out, and the payment step's visually hidden radios and checkboxes show
   focus on their card. */
.bike-reserve .booking-sticky-next:not(.visible) { visibility: hidden; transition: transform 200ms ease, opacity 200ms ease, visibility 0s linear 200ms; }
.bike-reserve .booking-sticky-next.visible { visibility: visible; }
.bike-reserve #ribbon-payment label:has(> input:focus-visible) { outline: 2px solid #016d66; outline-offset: 2px; }
.bike-reserve #addonsCheckout:has(> .addon-none-input:focus-visible) .bear-spray-options { outline: 2px solid #016d66; outline-offset: 2px; border-radius: 8px; }

/* Round 5 (S1): the season advisory is the phone LCP text. A metric-matched fallback keeps
   its line breaks the same before and after Barlow loads, so the Plan step does not move. */
@font-face {
  font-family: "Barlow Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 95.4%;
  ascent-override: 104.8%;
  descent-override: 21%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Barlow Fallback";
  font-weight: 500 700;
  src: local("Arial Bold"), local("Arial"), local("Helvetica Neue Bold"), local("Roboto Bold");
  size-adjust: 90.7%;
  ascent-override: 110.3%;
  descent-override: 22.1%;
  line-gap-override: 0%;
}
.bike-reserve .bike-reserve-advisory { font-family: "Barlow", "Barlow Fallback", sans-serif; }
