/* ==========================================================================
   Intake SaaS — Booking Form CSS
   Uses --p- tokens from the public site layout.
   ========================================================================== */

/* Progress bar */
.bk-progress {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px var(--p-gutter);
  max-width: var(--p-max);
  margin: 0 auto;
}
.bk-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.bk-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bk-progress-text, rgba(255,255,255,.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--bk-progress-text, rgba(255,255,255,.4));
  flex-shrink: 0;
  transition: all .2s;
  background: var(--p-bg);
  z-index: 1;
}
.bk-step.active .bk-step-dot {
  border-color: var(--p-accent);
  background: var(--p-accent);
  color: var(--p-accent-text);
}
.bk-step.done .bk-step-dot {
  border-color: var(--p-accent);
  background: var(--p-accent);
  color: var(--p-accent-text);
}
.bk-step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bk-progress-text, rgba(255,255,255,.45));
  transition: color .2s;
  white-space: nowrap;
}
.bk-step.active .bk-step-label,
.bk-step.done .bk-step-label { color: var(--p-text); }
.bk-step-line {
  flex: 1;
  height: 1.5px;
  background: rgba(0,0,0,.1);
  margin: 0 8px;
}
.bk-step.done .bk-step-line { background: var(--p-accent); }

/* Main layout */
.bk-body {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 0 var(--p-gutter) 60px;
}
.bk-section { display: none; }
.bk-section.active { display: block; }
.bk-section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.bk-section-sub { font-size: 15px; opacity: .5; margin-bottom: 28px; }

/* Two-column layout for details step */
.bk-details-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* Item grid */
.bk-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.bk-item-card {
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--p-r-lg);
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
}
.bk-item-card:hover { border-color: var(--p-accent); }
.bk-item-card.selected { border-color: var(--p-accent); background: rgba(0,0,0,.03); }
.bk-item-name { font-size: 14px; font-weight: 600; margin-bottom: 10px; }

/* Tier buttons */
.bk-tiers { display: flex; flex-direction: column; gap: 6px; }
.bk-tier-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--p-r);
  border: 1.5px solid rgba(0,0,0,.1);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .12s;
  color: var(--p-text);
}
.bk-tier-btn:hover { border-color: var(--p-accent); }
.bk-tier-btn.selected {
  border-color: var(--p-accent);
  background: var(--p-accent);
  color: var(--p-accent-text);
}
.bk-tier-price { font-size: 12px; opacity: .7; }
.bk-tier-btn.selected .bk-tier-price { opacity: .85; }

/* Category heading */
.bk-cat-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  opacity: .4;
  margin: 20px 0 10px;
}
.bk-cat-heading:first-child { margin-top: 0; }

/* Search / toolbar */
.bk-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.bk-search {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--p-r);
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--p-text);
  transition: border-color .12s;
}
.bk-search:focus { outline: none; border-color: var(--p-accent); }

/* Date picker */
.bk-calendar {
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--p-r-lg);
  overflow: hidden;
  width: 100%;
}
.bk-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.bk-cal-nav {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .12s;
  color: var(--p-text);
}
.bk-cal-nav:hover { background: rgba(0,0,0,.06); }
.bk-cal-month { font-size: 17px; font-weight: 600; }
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 18px;
}
.bk-cal-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  opacity: .35;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bk-cal-day {
  aspect-ratio: 1;
  max-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: clamp(13px, 1.4vw, 16px);
  cursor: default;
  color: var(--p-text);
  opacity: .4;
}
.bk-cal-day:not(.available):not(:empty) {
  /* Unavailable but rendered dates — visible enough to read, clearly not clickable. */
  color: var(--p-text);
  opacity: .35;
}
.bk-cal-day.available {
  opacity: 1;
  cursor: pointer;
  transition: all .12s;
}
.bk-cal-day.available:hover { background: rgba(0,0,0,.06); }
.bk-cal-day.selected {
  background: var(--p-accent);
  color: var(--p-accent-text);
  opacity: 1;
}
.bk-cal-day.today { font-weight: 700; }
.bk-cal-loading { text-align: center; padding: 20px; font-size: 13px; opacity: .4; }

/* Availability density indicator on bookable days. The dot sits below
   the date number using a flex column. Selected state keeps the dot
   visible by re-coloring it on the accent background. */
.bk-cal-day.available {
  flex-direction: column;
  gap: 2px;
}
.bk-cal-day.available::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--p-accent);
}
.bk-cal-day.selected::after {
  background: var(--p-accent-text);
}

/* Full / closed / eligibility-blocked days — readable but explicitly
   non-bookable. Strikethrough + dimmed. Distinct from past/out-of-window
   days which stay just dimmed. */
.bk-cal-day.unavailable {
  color: var(--p-text);
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Earliest-available pill — primary affordance for "just book the
   soonest spot." Click selects the date (and time, in time-slot mode)
   so the customer can skip the calendar entirely. */
.bk-earliest {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(190, 242, 100, 0.12);
  border: 1px solid rgba(190, 242, 100, 0.4);
  border-radius: var(--p-r-lg);
  margin-bottom: 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, transform 0.08s;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: var(--p-text);
}
.bk-earliest:hover {
  background: rgba(190, 242, 100, 0.2);
  border-color: var(--p-accent);
}
.bk-earliest:active { transform: scale(0.99); }
.bk-earliest-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p-accent);
  flex-shrink: 0;
}
.bk-earliest-text { flex: 1; }
.bk-earliest-text strong { font-weight: 600; }
.bk-earliest-arrow {
  font-size: 18px;
  opacity: 0.55;
  flex-shrink: 0;
}
.bk-earliest:hover .bk-earliest-arrow { opacity: 1; }

/* Legend below the calendar. Subtle, just enough to teach the dot/strike vocabulary. */
.bk-cal-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  opacity: 0.55;
  margin-top: 12px;
  padding: 10px 18px 0;
  flex-wrap: wrap;
}
.bk-cal-legend-item { display: inline-flex; align-items: center; gap: 5px; }
.bk-cal-legend-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--p-accent);
}
.bk-cal-legend-strike {
  width: 14px; height: 1px; background: var(--p-text); opacity: 0.4;
}

/* Pulse a field that's blocking the express-path pill from advancing.
   Subtle border + soft tinted bg, fades back to normal in ~1.8s. */
.bk-flash-attention {
  animation: bkFlashAttention 1.8s ease-out;
}
@keyframes bkFlashAttention {
  0%   { box-shadow: 0 0 0 3px rgba(190,242,100,0.35); border-color: var(--p-accent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Inline note explaining what's blocking the pill's auto-advance. */
.bk-earliest-blocker-note {
  font-size: 12.5px;
  color: var(--p-accent-text, #111);
  background: rgba(190,242,100,0.18);
  border: 1px solid var(--p-accent);
  border-radius: var(--p-r);
  padding: 8px 12px;
  margin-bottom: 8px;
  animation: bkNoteFadeIn 0.2s ease-out;
}
@keyframes bkNoteFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step 3 recap — confirms what was scheduled in step 2 so the customer
   has context while filling out their details. Click 'Change' goes back. */
.bk-step3-recap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(190, 242, 100, 0.10);
  border: 1px solid rgba(190, 242, 100, 0.45);
  border-radius: var(--p-r-lg);
  margin: 0 0 20px;
}
.bk-step3-recap-text { flex: 1; min-width: 0; }
.bk-step3-recap-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--p-text);
  line-height: 1.3;
}
.bk-step3-recap-text small {
  display: block;
  font-size: 12px;
  opacity: 0.65;
  margin-top: 3px;
  line-height: 1.4;
}
.bk-step3-recap-change {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(190, 242, 100, 0.55);
  border-radius: var(--p-r);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--p-text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s;
}
.bk-step3-recap-change:hover {
  background: rgba(190, 242, 100, 0.22);
  border-color: var(--p-accent);
}

/* Order sidebar */
.bk-sidebar {
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--p-r-lg);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.bk-sidebar-title { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.bk-sidebar-empty { font-size: 13px; opacity: .4; }
.bk-sidebar-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.bk-sidebar-line:last-of-type { border-bottom: none; }
.bk-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  padding-top: 12px;
  border-top: 1.5px solid rgba(0,0,0,.1);
  margin-top: 8px;
}

/* Form fields */
.bk-field-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-form-group { margin-bottom: 16px; }
.bk-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; opacity: .7; }
.bk-input, .bk-select, .bk-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--p-r);
  font-family: inherit;
  font-size: 14px;
  background: transparent;
  color: var(--p-text);
  transition: border-color .12s;
}
.bk-input:focus, .bk-select:focus, .bk-textarea:focus {
  outline: none;
  border-color: var(--p-accent);
}
.bk-textarea { resize: vertical; min-height: 80px; }

/* Payment section */
.bk-payment-methods { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.bk-payment-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--p-r);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .12s;
  color: var(--p-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bk-payment-btn:hover { border-color: var(--p-accent); }
.bk-payment-btn.selected { border-color: var(--p-accent); background: rgba(0,0,0,.03); }
#bk-stripe-elements { margin-bottom: 20px; }

/* Navigation buttons */
.bk-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.bk-back {
  background: none;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--p-r);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--p-text);
  transition: all .12s;
}
.bk-back:hover { border-color: rgba(0,0,0,.25); }
.bk-next, .bk-submit {
  flex: 1;
  padding: 14px 24px;
  background: var(--p-accent);
  color: var(--p-accent-text);
  border: none;
  border-radius: var(--p-r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .12s;
}
.bk-next:hover, .bk-submit:hover { filter: brightness(.93); }
.bk-next:disabled, .bk-submit:disabled { opacity: .5; cursor: not-allowed; filter: none; }

/* Error */
.bk-error {
  background: #FCEBEB;
  color: #A32D2D;
  border-radius: var(--p-r);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Add-ons */
.bk-addon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.bk-addon-row:last-child { border-bottom: none; }
.bk-addon-name { flex: 1; font-size: 14px; }
.bk-addon-price { font-size: 13px; opacity: .6; margin-right: 8px; }

/* Review step */
.bk-review-card {
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--p-r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.bk-review-head {
  padding: 14px 18px;
  background: rgba(0,0,0,.03);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,.07);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bk-review-body { padding: 16px 18px; }
.bk-review-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
}
.bk-review-row-label { opacity: .55; }

/* Responsive */
@media (max-width: 860px) {
  .bk-details-layout { grid-template-columns: 1fr; }
  .bk-sidebar { position: static; }
}
@media (max-width: 560px) {
  .bk-item-grid { grid-template-columns: 1fr 1fr; }
  .bk-field-grid-2 { grid-template-columns: 1fr; }
  .bk-step-label { display: none; }

  /* Capacity-style booking polish (patch #41) */
  /* Calendar cells — keep readable at narrow widths. aspect-ratio:1 makes
     them shrink with column width; we set a min-height so they remain
     touchable (Apple HIG: 44pt = ~44px). */
  .bk-cal-day { min-height: 40px; font-size: 13px; }
  .bk-cal-day-name { font-size: 11px; }

  /* Step nav — let buttons stack if container is too narrow. The Next
     button has long labels like "Continue → Schedule" which can overflow. */
  .bk-nav {
    flex-direction: column-reverse;
    gap: 8px;
    align-items: stretch;
  }
  .bk-back, .bk-next, .bk-submit { width: 100%; justify-content: center; }

  /* Top bar — keep on one line but tighten. */
  .bk-top-bar { padding: 10px var(--p-gutter); }

  /* Section title scales down a bit further on phones. */
  .bk-section-title { font-size: 20px; }
  .bk-section-sub { font-size: 13px; }

  /* Calendar legend — let items wrap with reasonable spacing. */
  .bk-cal-legend { flex-wrap: wrap; gap: 8px 14px; }
}
@media (max-width: 380px) {
  .bk-item-grid { grid-template-columns: 1fr; }
}


/* ===== multi-asset pre-flow (You + Bikes) ===== */
#bk-preflow { display: none; }
#bk-preflow.active { display: block; }
.bk-pre-panel { display: none; }
.bk-pre-panel.active { display: block; }

.bk-pre-toggle {
  display: flex; position: relative;
  border: 1px solid var(--p-border, rgba(0,0,0,.12));
  border-radius: var(--p-r, 10px);
  padding: 4px; margin: 24px 0 20px;
}
.bk-pre-toggle button {
  flex: 1; padding: 11px; border: none; background: none;
  color: var(--p-text); opacity: .55; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; z-index: 1;
  border-radius: calc(var(--p-r, 10px) - 2px); transition: opacity .15s, color .15s;
}
.bk-pre-toggle button.on { opacity: 1; color: var(--p-accent-text); font-weight: 600; }
.bk-pre-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px); background: var(--p-accent);
  border-radius: calc(var(--p-r, 10px) - 2px); transition: transform .2s ease;
}
.bk-pre-toggle[data-pos="right"] .bk-pre-thumb { transform: translateX(100%); }

.bk-label { display: block; font-size: 13px; font-weight: 500; opacity: .7; margin-bottom: 7px; }
.bk-pre-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.bk-pre-actions--split { justify-content: space-between; gap: 10px; }

.bk-pre-status { margin-top: 14px; padding: 11px 14px; border-radius: var(--p-r, 10px); font-size: 13.5px; display: none; line-height: 1.5; }
.bk-pre-status.show { display: block; }
.bk-pre-status.found { background: var(--p-accent); color: var(--p-accent-text); font-weight: 500; }
.bk-pre-status.err { border: 1px solid var(--p-border, rgba(0,0,0,.15)); opacity: .9; }

.bk-pre-bike { border: 1px solid var(--p-border, rgba(0,0,0,.12)); border-radius: var(--p-r-lg, 14px); padding: 14px 16px; margin-bottom: 12px; }
.bk-pre-bike-h { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.bk-pre-bike-idx { width: 24px; height: 24px; border-radius: 6px; background: var(--p-accent); color: var(--p-accent-text); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.bk-pre-bike-tag { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--p-accent-text); background: var(--p-accent); padding: 2px 8px; border-radius: 5px; }
.bk-pre-bike-rm { margin-left: auto; background: none; border: none; color: var(--p-text); opacity: .5; font-size: 13px; cursor: pointer; font-family: inherit; }
.bk-pre-bike-rm:hover { opacity: 1; }

.bk-pre-add { width: 100%; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px dashed var(--p-border, rgba(0,0,0,.22)); border-radius: var(--p-r-lg, 14px); background: none; color: var(--p-text); cursor: pointer; font-family: inherit; text-align: left; opacity: .85; }
.bk-pre-add:hover { opacity: 1; border-color: var(--p-accent); }
.bk-pre-add-ic { width: 28px; height: 28px; border-radius: 7px; background: var(--p-accent); color: var(--p-accent-text); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.bk-pre-add-txt strong { display: block; font-size: 14px; font-weight: 500; }
.bk-pre-add-txt small { display: block; font-size: 12px; opacity: .55; margin-top: 1px; }


/* ===== b — per-asset service tabs + grouped review ===== */
.bk-asset-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 4px 0 10px; }
.bk-asset-tab { flex: 0 0 auto; min-width: 124px; text-align: left; padding: 9px 13px; border: 1px solid var(--p-border, rgba(0,0,0,.12)); border-radius: var(--p-r, 10px); background: none; color: var(--p-text); cursor: pointer; font-family: inherit; }
.bk-asset-tab.on { border-color: var(--p-accent); background: var(--p-accent); color: var(--p-accent-text); }
.bk-asset-tab-n { display: block; font-size: 13px; font-weight: 600; }
.bk-asset-tab-m { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.bk-asset-tab.on .bk-asset-tab-m { opacity: .85; }
.bk-asset-choosing { font-size: 13px; opacity: .75; margin-bottom: 16px; }
.bk-review-asset { margin-bottom: 14px; }
.bk-review-asset-name { font-size: 13px; font-weight: 600; margin-bottom: 5px; }


/* f — per-bike label in the cart */
.bk-sidebar-asset { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; opacity: .55; margin: 12px 0 4px; }
.bk-sidebar-asset:first-child { margin-top: 0; }


/* ===== g — numbered per-bike cart (treatment C) ===== */
.bk-cart-bike { padding: 13px 0; border-top: 1px solid var(--p-border, rgba(0,0,0,.1)); }
.bk-cart-bike:first-child { border-top: none; padding-top: 0; }
.bk-cart-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.bk-cart-idx { width: 22px; height: 22px; border-radius: 6px; background: var(--p-accent); color: var(--p-accent-text); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.bk-cart-name { font-size: 13.5px; font-weight: 700; }
.bk-cart-sub { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--p-text); font-variant-numeric: tabular-nums; }
/* h — line items sit quieter than the bike's headline subtotal */
.bk-cart-line { font-weight: 400; }
.bk-cart-line span:last-child { opacity: .85; }
.bk-cart-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 3px 0 3px 31px; }
.bk-cart-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-cart-line--addon { opacity: .8; font-size: 12.5px; }
.bk-cart-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--p-border, rgba(0,0,0,.14)); margin-top: 12px; padding-top: 12px; }
.bk-cart-total span:first-child { font-size: 14px; font-weight: 600; }
.bk-cart-total span:last-child { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }


/* i — locked Details fields + returning-customer note */
.bk-input.bk-locked { background: rgba(0,0,0,.045); cursor: not-allowed; opacity: .9; }
.bk-input.bk-locked:focus { outline: none; box-shadow: none; }
.bk-returning-note { background: var(--p-accent); color: var(--p-accent-text); border-radius: var(--p-r, 10px); padding: 11px 14px; font-size: 13.5px; line-height: 1.5; margin-bottom: 18px; }


/* k — fixed (account) asset display in the Bikes step */
.bk-pre-bike-fixed { font-size: 15px; font-weight: 600; padding: 5px 2px; }


/* schedule step split layout */
.bk-s2-layout { margin-top: 4px; }
.bk-s2-main { min-width: 0; }
.bk-s2-rail { position: sticky; top: 80px; }
.bk-s2-card { position: static; top: auto; padding: 16px 18px; margin-bottom: 12px; }
.bk-s2-card:empty { display: none; }
.bk-s2-rail #bk-pd-windows,
.bk-s2-rail #bk-time-slots { margin-top: 0; }
.bk-s2-rail #bk-pd-windows > div:last-child { flex-direction: column; align-items: stretch; }
.bk-s2-change { margin-top: 12px; background: none; border: none; padding: 0; font-size: 12.5px; cursor: pointer; color: inherit; opacity: .6; text-decoration: underline; }
.bk-s2-change:hover { opacity: 1; }
.bk-s2-day { font-size: 17px; font-weight: 650; }
.bk-s2-day-sub { font-size: 12.5px; opacity: .6; margin-top: 2px; }
.bk-s2-nav { margin-top: 2px; }
@media (max-width: 900px) {
  .bk-s2-layout { grid-template-columns: 1fr; }
  .bk-s2-rail { position: static; }
  .bk-s2-nav { position: sticky; bottom: 12px; background: var(--p-bg, #fff); border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--p-r-lg); padding: 10px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.14); z-index: 5; }
}
