/*=================================
   Hero Booking Widget
   Rodriguez Luxury Cars - reservation system
==================================*/

.booking-widget {
  --bk-line: rgba(255, 255, 255, 0.12);
  --bk-field: rgba(255, 255, 255, 0.04);
  --bk-muted: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 3;
  background-color: rgba(12, 15, 20, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(192, 160, 98, 0.28);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  color: var(--white-color);
  /* The hero centres its text; the card is a form and stays left */
  text-align: left;
  overflow: hidden;
}

.booking-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background-color: var(--theme-color);
  border-radius: 0 0 6px 6px;
}

/*------------------- Header -------------------*/
.booking-head {
  margin-bottom: 10px;
}

.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-color);
  margin-bottom: 8px;
}

.booking-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--white-color);
  margin: 0 0 3px 0;
}

.booking-title i {
  font-size: 15px;
  color: var(--theme-color);
}

.booking-subtitle {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--bk-muted);
  margin: 0;
}

/* A parenthetical in a label keeps its own capitalisation */
.bk-label-note {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

/* Present to screen readers, absent on screen */
.bk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/*------------------- Stepper -------------------*/
.booking-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.booking-steps li:last-child {
  flex: 0 0 auto;
}

.booking-steps .step-num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--bk-line);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--title-font);
  color: var(--bk-muted);
  transition: all 0.3s ease;
}

.booking-steps .step-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bk-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.booking-steps .step-bar {
  flex: 1;
  height: 1px;
  background-color: var(--bk-line);
  min-width: 12px;
}

.booking-steps li.is-active .step-num {
  border-color: var(--theme-color);
  background-color: var(--theme-color);
  color: var(--title-color);
}

.booking-steps li.is-active .step-label {
  color: var(--white-color);
}

.booking-steps li.is-done .step-num {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.booking-steps li.is-done .step-num::before {
  content: "\f00c";
  font-family: var(--icon-font);
  font-weight: 900;
  font-size: 11px;
}

.booking-steps li.is-done .step-num span {
  display: none;
}

/* Labels take too much room on narrow cards */
@media (max-width: 575px) {
  .booking-steps .step-label {
    display: none;
  }
}

/*------------------- Panels -------------------*/
.booking-panel {
  display: block;
}

/* Without JS there are no steps: show every panel and every conditional
   field as one long form, drop the step chrome, and let booking.php
   validate the submission. .bk-js is added by the script on boot.
   !important is needed to beat Bootstrap's [hidden] { display: none !important }. */
.booking-widget:not(.bk-js) .booking-panel[hidden] {
  display: block !important;
}

.booking-widget:not(.bk-js) .booking-field[hidden] {
  display: flex !important;
}

.booking-widget:not(.bk-js) .booking-row[hidden],
.booking-widget:not(.bk-js) .booking-direction[hidden] {
  display: grid !important;
}

/* The running estimate is a scripted feature; booking.php prices the
   request itself, so the no-JS form does not show a stale figure. */
.booking-widget:not(.bk-js) .booking-summary {
  display: none;
}

.booking-widget:not(.bk-js) .booking-steps,
.booking-widget:not(.bk-js) .bk-next {
  display: none;
}

.booking-panel + .booking-panel {
  margin-top: 26px;
}

.bk-js .booking-panel + .booking-panel {
  margin-top: 0;
}

.booking-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.booking-field.is-full {
  grid-column: 1 / -1;
}

.booking-row .booking-field {
  margin-bottom: 0;
}

/* A row with one visible field (hourly hides the drop-off) */
.booking-row.is-single .booking-field {
  grid-column: 1 / -1;
}

.booking-row {
  margin-bottom: 8px;
}

.booking-field > label,
.booking-legend {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bk-muted);
  margin-bottom: 4px;
}

.booking-legend {
  display: block;
  float: none;
  width: auto;
  padding: 0;
}

/*------------------- Inputs -------------------*/
.booking-widget .bk-input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background-color: var(--bk-field);
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 40px;
  color-scheme: dark;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.booking-widget textarea.bk-input {
  height: 72px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.booking-widget select.bk-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C0A062' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.booking-widget select.bk-input option {
  background-color: #12161c;
  color: var(--white-color);
}

.booking-widget .bk-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.booking-widget .bk-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.booking-widget .bk-input:focus {
  outline: none;
  border-color: var(--theme-color);
  background-color: rgba(192, 160, 98, 0.07);
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.14);
}

.booking-widget .bk-input.is-invalid {
  border-color: var(--error-color);
}

.booking-widget .bk-input::-webkit-calendar-picker-indicator {
  filter: invert(72%) sepia(24%) saturate(650%) hue-rotate(2deg) brightness(92%);
  cursor: pointer;
}

.bk-error {
  display: none;
  font-size: 12.5px;
  line-height: 1.4;
  color: #ff8b93;
  margin-top: 6px;
}

.bk-error.is-shown {
  display: block;
}

/*------------------- Choice inputs -------------------*/
/* The theme sets input[type=radio] to display:none, which drops the
   service and vehicle choices out of the tab order entirely. Hide them
   the accessible way instead: invisible, but focusable and announced. */
.booking-widget input[type="radio"],
.booking-widget input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  display: block;
  visibility: visible;
}

/* Honeypot */
.bk-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/*------------------- Service chips -------------------*/
.booking-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px 0;
  padding: 0;
  border: 0;
}

.booking-services .bk-chip {
  position: relative;
  display: block;
}


.booking-services .bk-chip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 8px;
  text-align: left;
  background-color: var(--bk-field);
  border: 1px solid var(--bk-line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.booking-services .bk-chip-inner i {
  font-size: 14px;
  color: var(--theme-color);
  transition: transform 0.25s ease;
}

.booking-services .bk-chip-inner span {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.booking-services .bk-chip:hover .bk-chip-inner {
  border-color: rgba(192, 160, 98, 0.5);
}

.booking-services input:focus-visible + .bk-chip-inner {
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.3);
}

.booking-services input:checked + .bk-chip-inner {
  background-color: rgba(192, 160, 98, 0.14);
  border-color: var(--theme-color);
}

.booking-services input:checked + .bk-chip-inner span {
  color: var(--white-color);
}

.booking-services input:checked + .bk-chip-inner i {
  transform: scale(1.08);
}

/*------------------- Vehicle options -------------------*/
.booking-vehicles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px 0;
  padding: 0;
  border: 0;
}

.bk-vehicle {
  position: relative;
  display: block;
}


.bk-vehicle-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bk-field);
  border: 1px solid var(--bk-line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bk-vehicle-inner i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: rgba(192, 160, 98, 0.12);
  color: var(--theme-color);
  font-size: 17px;
}

.bk-vehicle-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.bk-vehicle-name {
  display: block;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--white-color);
  line-height: 1.3;
}

.bk-vehicle-meta {
  display: block;
  font-size: 12.5px;
  color: var(--bk-muted);
  line-height: 1.4;
}

.bk-vehicle-rate {
  flex: 0 0 auto;
  text-align: right;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1.2;
}

.bk-vehicle-rate small {
  display: block;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 400;
  color: var(--bk-muted);
}

.bk-vehicle:hover .bk-vehicle-inner {
  border-color: rgba(192, 160, 98, 0.5);
}

.bk-vehicle input:focus-visible + .bk-vehicle-inner {
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.3);
}

.bk-vehicle input:checked + .bk-vehicle-inner {
  background-color: rgba(192, 160, 98, 0.12);
  border-color: var(--theme-color);
}

.bk-vehicle.is-too-small .bk-vehicle-inner {
  opacity: 0.45;
}

/*------------------- Extras -------------------*/
.booking-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 4px 0;
  padding: 0;
  border: 0;
}

.bk-extra {
  position: relative;
}


.bk-extra-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background-color: var(--bk-field);
  border: 1px solid var(--bk-line);
  border-radius: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.25s ease;
}

.bk-extra-inner::before {
  content: "\2b";
  font-family: var(--icon-font);
  font-weight: 900;
  font-size: 10px;
  color: var(--theme-color);
}

.bk-extra input:checked + .bk-extra-inner {
  background-color: rgba(192, 160, 98, 0.14);
  border-color: var(--theme-color);
  color: var(--white-color);
}

.bk-extra input:checked + .bk-extra-inner::before {
  content: "\f00c";
}

.bk-extra input:focus-visible + .bk-extra-inner {
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.3);
}

/*------------------- Airport direction toggle -------------------*/
.booking-direction {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 10px 0;
  padding: 0;
  border: 0;
}

.bk-toggle {
  position: relative;
  display: block;
}

.bk-toggle-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  background-color: var(--bk-field);
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.25s ease;
}

.bk-toggle-inner i {
  font-size: 14px;
  color: var(--theme-color);
}

.bk-toggle:hover .bk-toggle-inner {
  border-color: rgba(192, 160, 98, 0.5);
}

.bk-toggle input:checked + .bk-toggle-inner {
  background-color: rgba(192, 160, 98, 0.14);
  border-color: var(--theme-color);
  color: var(--white-color);
}

.bk-toggle input:focus-visible + .bk-toggle-inner {
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.3);
}

/*------------------- Inline hint -------------------*/
.bk-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 0 0;
  padding: 9px 12px;
  background-color: rgba(192, 160, 98, 0.09);
  border: 1px solid rgba(192, 160, 98, 0.25);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.bk-hint i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--theme-color);
  font-size: 13px;
}

/*------------------- New York advisories -------------------*/
.bk-advisories {
  margin: 12px 0 0 0;
  padding: 12px 0 0 0;
  border-top: 1px solid rgba(192, 160, 98, 0.2);
  list-style: none;
}

.bk-advisories li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--bk-muted);
}

.bk-advisories li + li {
  margin-top: 7px;
}

.bk-advisories li::before {
  content: "\f05a";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--icon-font);
  font-weight: 900;
  font-size: 11px;
  color: var(--theme-color);
}

/*------------------- Summary -------------------*/
.booking-summary {
  margin: 2px 0 12px 0;
  padding: 13px 15px;
  background-color: rgba(192, 160, 98, 0.07);
  border: 1px solid rgba(192, 160, 98, 0.22);
  border-radius: 10px;
}

.booking-summary dl {
  margin: 0;
}

.bk-sum-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 13.5px;
}

.bk-sum-row dt {
  flex: 0 0 auto;
  font-weight: 400;
  color: var(--bk-muted);
}

.bk-sum-row dd {
  margin: 0;
  text-align: right;
  color: var(--white-color);
  font-weight: 500;
  word-break: break-word;
}

.bk-sum-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(192, 160, 98, 0.25);
  align-items: center;
}

.bk-sum-total dt {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--white-color);
}

.bk-sum-total dd {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1.1;
}

.bk-sum-note {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--bk-muted);
}

/*------------------- Actions -------------------*/
.booking-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.booking-widget .vs-btn {
  justify-content: center;
  padding: 14px 26px;
  font-size: 15px;
}

.booking-actions .bk-next,
.booking-actions .bk-submit {
  flex: 1 1 auto;
}

.bk-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background-color: transparent;
  border: 1px solid var(--bk-line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bk-back:hover {
  border-color: var(--theme-color);
  color: var(--white-color);
}

.booking-widget .vs-btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.booking-widget .vs-btn.is-loading i {
  animation: bk-spin 0.8s linear infinite;
}

@keyframes bk-spin {
  to {
    transform: rotate(360deg);
  }
}

.booking-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--bk-line);
  font-size: 11.5px;
  color: var(--bk-muted);
}

.booking-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-foot i {
  color: var(--theme-color);
  font-size: 11px;
}

/*------------------- Success state -------------------*/
.booking-success {
  text-align: center;
  padding: 18px 4px 8px;
}

.booking-success i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  background-color: rgba(192, 160, 98, 0.14);
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  font-size: 24px;
}

.booking-success h3 {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 10px;
}

.booking-success p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--bk-muted);
  margin-bottom: 18px;
}

.booking-ref {
  display: inline-block;
  padding: 9px 18px;
  margin-bottom: 14px;
  border: 1px dashed rgba(192, 160, 98, 0.5);
  border-radius: 8px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--theme-color);
}

.booking-sent-to {
  display: block;
  margin: 14px 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bk-muted);
}

.booking-sent-to strong {
  color: var(--white-color);
  font-weight: 500;
  word-break: break-word;
}

.bk-restart {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bk-restart:hover {
  color: var(--theme-color);
}

/* Server-side (no-JS) response banner */
.booking-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--theme-color);
  background-color: rgba(192, 160, 98, 0.12);
  color: var(--white-color);
}

.booking-notice.is-error {
  border-color: var(--error-color);
  background-color: rgba(220, 53, 69, 0.12);
}

/*------------------- Hero integration -------------------*/
.hero-with-booking .hero-item {
  padding: 40px 0;
}

.hero-with-booking .hero-shape1,
.hero-with-booking .hero-shape2,
.hero-with-booking .hero-shape3 {
  display: none !important;
}

.hero-with-booking .hero-content {
  padding-right: 10px;
}

.hero-with-booking .hero-text {
  max-width: 42ch;
}

/* Large tablets and below: card drops under the copy */
@media (max-width: 1199px) {
  .hero-with-booking .hero-item {
    padding: 90px 0 80px;
  }
  .booking-widget {
    margin-top: 40px;
  }
}

/* Phones and small tablets */
@media (max-width: 767px) {
  .booking-widget {
    padding: 24px 20px;
  }
  .booking-widget::before {
    left: 20px;
    right: 20px;
  }
  .booking-title {
    font-size: 24px;
  }
  .booking-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-actions {
    flex-wrap: wrap;
  }
  .bk-back {
    width: 100%;
    justify-content: center;
  }
  .bk-vehicle-inner {
    gap: 12px;
    padding: 12px 14px;
  }
  /* Stacked rows need their own spacing back */
  .booking-row .booking-field + .booking-field {
    margin-top: 12px;
  }
}

/* Narrow screens: a right-aligned value that wraps three times is hard to
   read, so the summary becomes label-over-value instead. */
@media (max-width: 575px) {
  .bk-sum-row {
    flex-direction: column;
    gap: 2px;
    padding: 7px 0;
  }
  .bk-sum-row dd {
    text-align: left;
  }
  .bk-sum-total {
    flex-direction: row;
    align-items: center;
  }
}

/* Narrow phones (iPhone SE and friends) */
@media (max-width: 359px) {
  .booking-widget {
    padding: 20px 16px;
  }
  .booking-widget::before {
    left: 16px;
    right: 16px;
  }
  .booking-services {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-direction {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-vehicle-inner {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .bk-vehicle-rate {
    text-align: left;
  }
  .bk-vehicle-rate small {
    display: inline;
    margin-left: 4px;
  }
}

/* Phones in landscape: the hero has almost no vertical room */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-with-booking .hero-item {
    padding: 50px 0 40px;
  }
  .booking-widget {
    margin-top: 28px;
  }
}

/*------------------- Touch devices -------------------*/
/* iOS zooms the page whenever a focused field is under 16px, which throws
   the hero layout off. Full size type on touch keeps the page still. */
@media (max-width: 1199px), (pointer: coarse) {
  .booking-widget .bk-input {
    font-size: 16px;
  }
  .booking-widget .bk-input::placeholder {
    font-size: 15px;
  }
}

@media (pointer: coarse) {
  /* Comfortable 44px minimum tap targets */
  .booking-widget .bk-input {
    min-height: 50px;
  }
  .bk-extra-inner {
    min-height: 42px;
    padding: 10px 16px;
  }
  .booking-services .bk-chip-inner {
    min-height: 50px;
  }
  .booking-steps .step-num {
    width: 30px;
    height: 30px;
  }
  .bk-restart {
    display: inline-block;
    padding: 10px 4px;
  }
  .booking-widget label,
  .bk-chip-inner,
  .bk-vehicle-inner,
  .bk-extra-inner,
  .bk-toggle-inner {
    -webkit-tap-highlight-color: rgba(192, 160, 98, 0.2);
  }
}

/* Safari (desktop and iOS) ignores line-height on date and time inputs and
   renders them with its own inner box, so let flex do the centring. */
.booking-widget input[type="date"],
.booking-widget input[type="time"] {
  display: flex;
  align-items: center;
  line-height: normal;
  min-height: 40px;
  -webkit-appearance: none;
  appearance: none;
}

/* iOS refuses to shrink an empty date field below its intrinsic width */
@supports (-webkit-touch-callout: none) {
  .booking-widget input[type="date"],
  .booking-widget input[type="time"] {
    min-width: 0;
    width: 100%;
  }
}

/*------------------- Accessibility preferences -------------------*/
@media (prefers-reduced-motion: reduce) {
  .booking-widget * {
    transition: none !important;
    animation: none !important;
  }
  .booking-widget {
    scroll-behavior: auto;
  }
}

/* Windows high contrast: keep every boundary and selection visible */
@media (forced-colors: active) {
  .booking-widget,
  .booking-widget .bk-input,
  .bk-chip-inner,
  .bk-vehicle-inner,
  .bk-extra-inner,
  .bk-toggle-inner,
  .booking-summary,
  .bk-hint {
    border: 1px solid CanvasText;
  }
  .booking-services input:checked + .bk-chip-inner,
  .bk-vehicle input:checked + .bk-vehicle-inner,
  .bk-extra input:checked + .bk-extra-inner,
  .bk-toggle input:checked + .bk-toggle-inner {
    border: 2px solid Highlight;
    forced-color-adjust: none;
    background-color: Highlight;
    color: HighlightText;
  }
}

/* A client printing the confirmation should get something readable */
@media print {
  .booking-widget {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #999;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .booking-title,
  .booking-success h3,
  .bk-sum-row dd,
  .bk-vehicle-name {
    color: #000 !important;
  }
  .booking-subtitle,
  .bk-sum-row dt,
  .bk-sum-note,
  .bk-advisories li {
    color: #444 !important;
  }
  .booking-actions,
  .booking-steps,
  .bk-restart {
    display: none !important;
  }
}

/*------------------- Fixed step viewport -------------------*/
/* The three steps are different heights (389 / 453 / 675 on desktop), and the
   first step also changes height when the service type changes (262-389),
   so the card used to jump by up to 413px and shove the page around.

   The steps now live in a fixed-height viewport: the card is ONE size at all
   times. Anything taller than the viewport scrolls inside it, and because the
   action buttons sit outside the wrapper, Continue stays visible throughout. */
.booking-steps-viewport {
  /* 392px is the tallest step-1 state (airport, 389px) plus a hair. Step 1
     therefore never scrolls, and the card stays short enough that Continue
     stays above the fold on a laptop. Steps 2 and 3 scroll inside. */
  height: 392px;
  overflow-y: auto;
  overflow-x: hidden;
  /* room so focus rings and the last field are not clipped by the edge */
  padding-right: 6px;
  margin-right: -6px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(192, 160, 98, 0.45) transparent;
}

.booking-steps-viewport::-webkit-scrollbar { width: 5px; }
.booking-steps-viewport::-webkit-scrollbar-track { background: transparent; }
.booking-steps-viewport::-webkit-scrollbar-thumb {
  background-color: rgba(192, 160, 98, 0.45);
  border-radius: 3px;
}
.booking-steps-viewport::-webkit-scrollbar-thumb:hover {
  background-color: rgba(192, 160, 98, 0.7);
}

/* Without JS every panel is shown as one long form, so the fixed height would
   trap the whole thing behind a scrollbar. Let it flow instead. */
.booking-widget:not(.bk-js) .booking-steps-viewport {
  height: auto;
  overflow: visible;
}

/* Phones: panels run 472-899px, so the viewport is taller here */
@media (max-width: 767px) {
  .booking-steps-viewport { height: 700px; }
}

@media (max-width: 480px) {
  .booking-steps-viewport { height: 620px; }
}

/* Short/landscape windows: don't let the card exceed the screen */
@media (max-height: 700px) and (min-width: 768px) {
  .booking-steps-viewport { height: 380px; }
}

@media (max-height: 520px) {
  .booking-steps-viewport { height: 260px; }
}

@media (prefers-reduced-motion: no-preference) {
  .booking-steps-viewport { scroll-behavior: smooth; }
}
