/* TESO booking flow — custom step 2 (Specifications). Added by us. */

.bk-hidden { display: none !important; }

/* step 1 continue button row */
.bk-step1-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ---- step 2 panel ---- */
/* step 2 lives inside the white .form-block; give it sane padding (override the
   wide category-step indents) and let content fill the width. */
.form-block.bk-on-step2 {
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 40px;
  padding-bottom: 56px;
}
.booking-step2 { width: 100%; }
.booking-step2 h2.bk-title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 32px;
}

.bk-field { margin: 0 0 28px; }
.bk-field__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
}
.bk-field__sub { margin: 0 0 14px; color: #444; }
.bk-info-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #333;
  margin: 0 0 14px;
}

.bk-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 1.5px solid #888;
  border-radius: 50%;
  font-size: 12px;
  font-style: italic;
  font-family: Georgia, serif;
  color: #555;
  flex: 0 0 auto;
}

.bk-input,
.bk-select {
  width: 100%;
  box-sizing: border-box;
  background: #f4f4f4;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 18px 16px;
  font-size: 18px;
  color: #111;
}
.bk-input:focus,
.bk-select:focus { outline: 2px solid #2b6cb0; background: #fff; }
.bk-select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("../icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

.bk-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  cursor: pointer;
  user-select: none;
}
.bk-check input { width: 22px; height: 22px; }

/* yellow info box (Auto -> long vehicle hint) */
.bk-longhint {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fdf6d8;
  padding: 20px 24px;
  border-radius: 4px;
  margin: 24px 0;
  line-height: 1.45;
}
.bk-longhint svg { flex: 0 0 auto; }
.bk-longhint a { font-weight: 700; }

/* length section */
.bk-length-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 16px;
}
.bk-length-head svg { flex: 0 0 auto; }
.bk-length-head p { margin: 0; line-height: 1.45; color: #333; }

/* price */
.bk-price {
  text-align: right;
  font-size: 32px;
  margin: 40px 0 24px;
}
.bk-price .bk-price-val { font-weight: 400; }

/* bottom nav */
.bk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.bk-back {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  padding: 8px 4px;
}
.bk-back::before { content: "‹"; font-size: 26px; line-height: 1; }

.bk-placeholder {
  background: #f4f4f4;
  border-radius: 4px;
  padding: 24px;
  color: #555;
  line-height: 1.5;
}

/* date-of-departure options (long vehicle) */
.bk-dates { margin-top: 28px; }
.bk-dateopt {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 22px 24px;
  margin: 0 0 16px;
  font-size: 18px;
  cursor: pointer;
  transition: border-color .15s ease;
}
.bk-dateopt:hover { border-color: #b5b5b5; }
.bk-dateopt.bk-selected {
  border: 2px solid gold;
  padding: 21px 23px; /* keep box size stable when border grows */
}

/* step 3 — contact details */
.booking-step3 { width: 100%; }
.bk-account { margin: 26px 0 6px; line-height: 1.5; }
.bk-acctlink, .bk-termslink { text-decoration: underline; font-weight: 700; color: #111; }
.bk-terms { margin-top: 22px; align-items: center; }
.bk-terms span { font-size: 18px; }

/* step 4 — order & payment overview */
.booking-step4 { width: 100%; }
.bk-sec-title { font-size: 28px; margin: 36px 0 16px; }
.bk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 12px;
}
.bk-summary-info { line-height: 1.6; font-size: 18px; }
.bk-summary-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.bk-iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #111;
}
.bk-iconbtn:hover { border-color: #999; }
.bk-iconbtn--icon { padding: 10px 12px; }
.bk-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin: 8px 0 4px;
  text-decoration: none;
  color: #111;
  cursor: pointer;
}
.bk-more::before { content: "\203A"; font-size: 22px; line-height: 1; }
.bk-total { text-align: right; font-size: 32px; margin: 32px 0 24px; }

/* pedestrian — quantity stepper */
.bk-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.bk-qty-label { font-weight: 700; font-size: 18px; }
.bk-qty-ctrl { display: flex; gap: 10px; flex: 0 0 auto; }
.bk-qty-ctrl button,
.bk-qty {
  width: 64px;
  height: 56px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  font-size: 22px;
  text-align: center;
  box-sizing: border-box;
  color: #111;
}
.bk-qty-ctrl button { cursor: pointer; line-height: 1; }
.bk-qty-ctrl button:hover { border-color: #999; }
.bk-qty { font-size: 18px; pointer-events: none; }
.bk-foot-info { margin: 18px 0 0; line-height: 1.5; font-size: 18px; color: #333; max-width: 640px; }

/* disabled "continue" button until terms accepted */
.bk-pay.bk-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---- mobile / narrow screens ---- */
@media (max-width: 760px) {
  .form-block.bk-on-step2 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .booking-step2 h2.bk-title,
  .booking-step3 h2.bk-title,
  .booking-step4 h2.bk-title { font-size: 30px; }

  /* keep ticket text on the left; stack the two action buttons on the right */
  .bk-summary-row { gap: 16px; align-items: flex-start; }
  .bk-summary-actions { flex-direction: column; gap: 12px; flex: 0 0 150px; }
  .bk-summary-actions .bk-iconbtn { width: 100%; justify-content: flex-start; }
  /* steppers: label above the control */
  .bk-qty-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .bk-qty-ctrl { align-self: flex-start; }

  /* bottom nav: full-width stacked buttons */
  .bk-nav { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .bk-nav .button { width: 100%; text-align: center; }
  .bk-back { align-self: center; }

  .bk-price, .bk-total { font-size: 26px; }
  .bk-foot-info, .bk-summary-info { font-size: 16px; }
}
