/* Booking stream, widget pass (19 Nov 2026). Loaded after booking-mobile.css on car, request and confirmation pages. */

/* W94 Car hero: the source card is 420px of content plus 32px padding (content-box), 486px in all. */
@media (min-width:1024px){.bk-hero__card{max-width:486px}}

/* W104 Conversion bar: appears once the hero's reserve card has scrolled out, at every width (JS adds .is-tucked). */
.bk-bar{transition:transform .25s ease,opacity .25s ease,visibility 0s linear 0s}
.bk-bar.is-tucked{transform:translateY(100%);opacity:0;pointer-events:none;visibility:hidden;transition:transform .25s ease,opacity .25s ease,visibility 0s linear .25s}
@media (max-width:767px){.bk-bar.is-tucked{transform:translateY(calc(100% + var(--cc-contact-bar-h,0px)))}}
@media (prefers-reduced-motion:reduce){.bk-bar,.bk-bar.is-tucked{transition:none}}

/* W36 Similar rail: arrows dim at either end. */
.bk-arrows button[aria-disabled=true]{color:rgba(11,11,12,.28);cursor:default}

/* W100 Form field states: empty = hairline, focus = 2px ink, filled = 1px ink, error = 1px ink + ink message, disabled = dashed, helper = Ash. */
.bk-in input:placeholder-shown,.bk-in textarea:placeholder-shown{border-bottom-color:rgba(11,11,12,.16)}
.bk-in input:focus,.bk-in textarea:focus,.bk-in select:focus{border-bottom-color:#0B0B0C}
.bk-in.is-bad input,.bk-in.is-bad select,.bk-in.is-bad textarea{border-bottom:1px solid #0B0B0C;padding-bottom:10px}
.bk-in.is-bad input:focus,.bk-in.is-bad select:focus,.bk-in.is-bad textarea:focus{border-bottom-width:2px;padding-bottom:9px}
.bk-err{font-weight:400;color:#0B0B0C}
/* Invalid field (QC #17): the label turns ink and medium so the field reads as flagged, not just filled. */
.bk-in.is-bad>.bk-label{color:#0B0B0C;font-weight:500}
.bk-err::before{content:none;display:none}
.bk-in input:disabled,.bk-in select:disabled,.bk-in textarea:disabled{border-bottom:1px dashed rgba(11,11,12,.16);color:#5A574F;cursor:not-allowed}
/* Return address: empty means "same as delivery"; the collection area opens once an address is typed. */
.bk-return{display:flex;flex-direction:column;gap:20px}
.bk-return:has(#bk-return_address:placeholder-shown) .bk-return-else{display:none}
.bk-in--return{gap:6px}

/* W47 Offline: the request waits on this device. */
.bk-offline{outline:1px solid rgba(11,11,12,.14);background:#EFECE5;padding:48px;display:flex;flex-direction:column;gap:16px;min-width:0}
.bk-offline[hidden]{display:none}
.bk-offline p{margin:0;color:#3A3B3D}
.bk-offline a{color:#0B0B0C}
@media (max-width:600px){.bk-offline{padding:32px 24px}.bk-offline p{font-size:16px}}

/* W77 Interstitial & loader: carbon, the Ring drawing in, one line of status. */
.bk-loader{position:fixed;inset:0;z-index:100000;background:#070708;color:#E9E5DD;display:flex;align-items:center;justify-content:center;padding:24px}
.bk-loader[hidden]{display:none}
.bk-loader__in{display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center;max-width:560px}
.bk-loader__ring{width:140px;height:140px;display:block}
.bk-loader__arc{stroke-dasharray:100 100;stroke-dashoffset:100;animation:bk-ring-draw 2.6s cubic-bezier(.3,.6,.2,1) forwards}
@keyframes bk-ring-draw{to{stroke-dashoffset:18}}
.bk-loader__line{font-family:'Bodoni Moda',serif;font-style:italic;font-variation-settings:'opsz' 11;font-size:20px;line-height:1.4;color:#CFCAC0}
.bk-loader__sub{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#8E8A82}
html.bk-loading{overflow:hidden}
@media (max-width:767px){.bk-loader__ring{width:112px;height:112px}.bk-loader__sub{font-size:11px;letter-spacing:.18em;line-height:1.6}}
@media (prefers-reduced-motion:reduce){.bk-loader__arc{animation:none;stroke-dashoffset:18}}

/* W60 Confirmation B: italic line under the title, and the payment card under the ticket. */
.bk-ticket__h+.bk-italic{margin-top:8px}
.bk-ticket__wrap{flex-direction:column;align-items:center;gap:24px}
.bk-ticket__pay{max-width:760px;width:100%;border:1px solid rgba(233,229,221,.14);padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin:0}
.bk-ticket__paycopy{display:flex;flex-direction:column;gap:6px;max-width:440px;min-width:0}
.bk-ticket__payt{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#E9E5DD}
.bk-ticket__pay .bk-small12{color:#CFCAC0;margin:0}
.bk-ticket__pay .bk-btnrow{gap:10px}
@media (max-width:767px){
  .bk-ticket__pay{padding:20px;flex-direction:column;align-items:stretch}
  .bk-ticket__payt{font-size:13px}
  .bk-ticket__pay .bk-small12{font-size:15px;line-height:1.6}
  .bk-ticket__pay .bk-btnrow{flex-direction:column;align-items:stretch}
  .bk-ticket__pay .bk-btn{width:100%;text-align:center;min-height:48px;white-space:normal}
}

/* W100 date field (QC #14). Without JS the native control shows as is. With JS (.is-js) the native
   segments and calendar glyph are hidden and the formatted value ("Fri 21 Nov") is laid over the
   field; the whole field opens the browser/phone picker, and typing shows the native segments. */
.bk-date{position:relative;display:block}
.bk-date__show{display:none}
.bk-date.is-js input{position:relative;cursor:pointer}
.bk-date.is-js input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;margin:0;padding:0;opacity:0;cursor:pointer;background:none}
.bk-date.is-js input::-webkit-inner-spin-button,.bk-date.is-js input::-webkit-clear-button{display:none}
.bk-date.is-js:not(.is-typing) input{color:transparent}
.bk-date.is-js:not(.is-typing) input::-webkit-datetime-edit{opacity:0}
.bk-date.is-js .bk-date__show{display:flex;align-items:center;position:absolute;left:0;right:0;top:0;bottom:1px;font:300 14px/normal 'Jost','Jost Fallback',sans-serif;color:#0B0B0C;pointer-events:none;white-space:nowrap;overflow:hidden}
.bk-date.is-js .bk-date__show:empty::before{content:attr(data-empty);color:#5A574F}
.bk-date.is-js.is-typing .bk-date__show{visibility:hidden}
.bk-date.is-empty input:not(:focus){border-bottom-color:rgba(11,11,12,.16)}
.bk-in.is-bad .bk-date.is-empty input{border-bottom-color:#0B0B0C}
@media (max-width:1023px){.bk-date.is-js .bk-date__show{font-size:16px}}
@media (max-width:767px){.bk-toggle__why{font-size:15px;line-height:1.6}}
/* Errors on phone (QC #16): the summary comes before the car column and takes focus (booking-request.js). */
@media (max-width:767px){
  .bk-request__form:has(>.bk-errors){display:contents}
  .bk-request__form>.bk-errors{order:-1}
}
.bk-errors{scroll-margin-top:24px}
/* Delivery-area selects (QC #19): with JS the chosen label shows on up to two lines over a transparent native select. */
.bk-sel{position:relative;display:block}
.bk-sel__show{display:none}
.bk-sel.is-js select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
.bk-sel.is-js .bk-sel__show{display:block;border-bottom:1px solid #0B0B0C;padding:10px 18px 10px 0;font:300 14px/1.45 'Jost','Jost Fallback',sans-serif;color:#0B0B0C;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%230B0B0C'/%3E%3C/svg%3E") right 2px center no-repeat}
.bk-sel.is-js select:focus+.bk-sel__show{border-bottom-width:2px;padding-bottom:9px}
.bk-sel.is-js select:focus-visible+.bk-sel__show{outline:1px solid currentColor;outline-offset:3px}
@media (max-width:1023px){.bk-sel.is-js .bk-sel__show{font-size:16px}}
@media (max-width:767px){.bk-sel.is-js .bk-sel__show{padding:12px 22px 12px 0;min-height:48px;background-position:right 4px center}.bk-sel.is-js select:focus+.bk-sel__show{padding-bottom:11px}}
/* Route at tablet width: the SVG labels fall below 6px, so the stop list (as on phones) is used up to 1023px. */
@media (min-width:768px) and (max-width:1023px){
  .bk-route__line{padding:8px 20px;margin-top:28px}
  .bk-route__line svg{display:none}
  .bk-route__list{display:flex;flex-direction:column;position:relative}
  .bk-route__list::before{content:"";position:absolute;left:4px;top:24px;bottom:24px;width:1px;background:#0B0B0C}
  .bk-route__list li{display:grid;grid-template-columns:9px 1fr auto;gap:16px;align-items:center;padding:14px 0;position:relative}
  .bk-route__list li+li{border-top:1px solid rgba(11,11,12,.1)}
  .bk-route__dot{width:9px;height:9px;border:1px solid #0B0B0C;background:#F2EFE8}
  .bk-route__list li.is-done .bk-route__dot{background:#0B0B0C}
  .bk-route__t{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#3A3B3D}
  .bk-route__v{font-family:'Bodoni Moda',serif;font-weight:500;font-variation-settings:'opsz' 11;font-size:17px;color:#0B0B0C}
}
@media (max-width:1023px),(pointer:coarse){.bk-hint a{display:inline-block;padding:13px 0;margin:-13px 0}}
