/* ===================================================
   HUMMINGBIRD CARS — Booking Widget Stylesheet
=================================================== */

/* ── BOOKING SECTION WRAPPER ── */
.booking-section {
  background: var(--black);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* ── WIDGET CARD ── */
.booking-card {
  position: relative;
  z-index: 2;
  background: var(--off-white);
  border-radius: 10px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.2);
  overflow: hidden;
}

/* ── TABS ── */
.bk-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.bk-tab {
  flex: 1;
  padding: 16px 10px 14px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.bk-tab .tab-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.bk-tab.active { color: var(--text-dark); border-bottom-color: var(--gold); }
.bk-tab:hover:not(.active) { color: var(--text-dark); background: rgba(201,168,76,0.04); }

/* ── STEPS ── */
.bk-steps {
  display: flex;
  align-items: center;
  padding: 20px 32px 0;
  gap: 0;
}

.bk-step {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
}

.bk-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-right: 8px;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--mid);
}

.bk-step.active .bk-step-num  { background: var(--gold); border-color: var(--gold); color: #fff; }
.bk-step.done   .bk-step-num  { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.bk-step.done   .bk-step-label,
.bk-step.active .bk-step-label { color: var(--text-dark); }

.bk-step-line { flex: 1; height: 1px; background: var(--border-light); margin: 0 8px; }

/* ── BODY ── */
.bk-body { padding: 28px 32px 32px; }

/* ── PANELS ── */
.bk-panel { display: none; }
.bk-panel.active { display: block; }

/* ── FIELDS ── */
.f-row { display: grid; gap: 14px; margin-bottom: 14px; }
.f-row.col2 { grid-template-columns: 1fr 1fr; }
.f-row.col3 { grid-template-columns: 1fr 1fr 1fr; }

.f-group { display: flex; flex-direction: column; gap: 5px; }

.f-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 600;
}

.f-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.f-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.f-wrap.error { border-color: #e05252; }

.f-icon {
  padding: 0 11px;
  color: var(--gold);
  font-size: 16px;
  pointer-events: none;
  flex-shrink: 0;
}

.f-input {
  flex: 1;
  height: 48px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  padding-right: 12px;
}

.f-input::placeholder { color: #bbb; }

select.f-input { cursor: pointer; appearance: none; }

textarea.f-input {
  height: 80px;
  padding: 12px 12px 12px 0;
  resize: none;
  line-height: 1.5;
}

.f-chevron { padding: 0 10px; color: #bbb; font-size: 11px; pointer-events: none; }
.f-err { color: #e05252; font-size: 11px; margin-top: 3px; display: none; }

/* ── RETURN TOGGLE ── */
.return-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.return-toggle:hover { background: #fff8ee; }

.toggle-sw {
  width: 40px; height: 22px;
  background: #ddd;
  border-radius: 11px;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}

.toggle-sw::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px; left: 2px;
  transition: left 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-sw.on { background: var(--gold); }
.toggle-sw.on::after { left: 20px; }

.rt-label { font-size: 14px; font-weight: 400; }
.rt-sub { font-size: 12px; color: var(--mid); margin-left: auto; }

/* ── PAX ── */
.pax-row { display: flex; gap: 12px; margin-bottom: 14px; }

.pax-item {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pax-lbl { font-size: 13px; font-weight: 500; }
.pax-sub { font-size: 11px; color: var(--mid); }

.pax-counter { display: flex; align-items: center; gap: 10px; }

.pax-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: inherit;
  color: var(--text-dark);
  transition: all 0.2s;
}

.pax-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.pax-num { font-size: 16px; font-weight: 600; min-width: 20px; text-align: center; }

/* ── FLIGHT INFO ── */
.flight-box {
  display: none;
  margin-bottom: 14px;
  padding: 16px;
  background: #fffbf2;
  border: 1px solid rgba(201,168,76,0.3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  animation: slideDown 0.25s ease;
}

.flight-box.show { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── VEHICLE CARDS ── */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.vc {
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: #fff;
  position: relative;
}

.vc:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.12); }
.vc.selected { border-color: var(--gold); background: #fffbf0; }

.vc.selected::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
}

.vc-icon  { font-size: 36px; margin-bottom: 8px; display: block; }
.vc-name  { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.vc-pax   { font-size: 11px; color: var(--mid); margin-bottom: 8px; }
.vc-desc  { font-size: 10px; color: #aaa; margin-bottom: 8px; }
.vc-price { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--gold); }
.vc-price-lbl { font-size: 10px; color: var(--mid); }

/* ── EXTRAS ── */
.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.extra-item:hover { border-color: var(--gold); }
.extra-item.selected { border-color: var(--gold); background: #fffbf0; }

.extra-cb {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  transition: all 0.2s;
}

.extra-item.selected .extra-cb { background: var(--gold); border-color: var(--gold); }
.extra-item.selected .extra-cb::after { content: '✓'; }

.extra-info { flex: 1; }
.extra-name { font-size: 13px; font-weight: 500; }
.extra-desc { font-size: 11px; color: var(--mid); }
.extra-price { font-size: 13px; font-weight: 600; color: var(--gold); }

/* ── DIVIDER ── */
.bk-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mid);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 20px 0;
}

.bk-divider::before, .bk-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* ── ROUTE MINI SUMMARY ── */
.route-mini {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.route-mini-item { flex: 1; min-width: 140px; }

.route-mini-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 600;
  margin-bottom: 3px;
}

.route-mini-val { font-size: 13px; font-weight: 400; }

/* ── PRICE SUMMARY ── */
.price-box {
  background: var(--dark);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.price-box-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 400;
}

.price-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.price-line:last-of-type { border: none; }
.price-line-lbl { color: rgba(255,255,255,0.55); }
.price-line-val { color: #fff; }

.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.3);
}

.price-total-lbl { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.price-total-val { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300; color: #fff; }

/* ── TERMS NOTE ── */
.terms-note {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.7;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.terms-note a { color: var(--gold); text-decoration: underline; }

/* ── FORM BUTTON ROW ── */
.bk-btn-row { display: flex; gap: 12px; margin-top: 4px; }
.bk-btn-row .btn { flex: 1; height: 52px; }

/* ── SUCCESS ── */
.bk-success {
  text-align: center;
  padding: 48px 32px 40px;
}

.bk-success-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
  animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both;
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.bk-success-title { font-size: 36px; font-weight: 300; margin-bottom: 12px; }
.bk-success-sub { font-size: 14px; color: var(--mid); line-height: 1.7; margin-bottom: 24px; }

.bk-ref {
  display: inline-block;
  padding: 10px 28px;
  background: var(--gold-pale);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--gold-dark);
  margin-bottom: 28px;
}

/* ── TRUST BAR ── */
.bk-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 18px 32px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.bk-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--mid);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.bk-trust-icon { font-size: 16px; color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .bk-body { padding: 20px; }
  .bk-steps { padding: 16px 20px 0; }
  .bk-step-label { display: none; }
  .f-row.col2, .f-row.col3 { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .pax-row { flex-direction: column; }
  .bk-trust { gap: 14px; justify-content: flex-start; padding: 16px 20px; }
}

@media (max-width: 400px) {
  .vehicle-grid { grid-template-columns: 1fr; }
}
