/* ═══════════════════════════════════════════
   BOOKING MODAL — extracted/adapted from the
   Bókun prototype design, wired to Pesapal
   ═══════════════════════════════════════════ */

.bkm-veil { position: fixed; inset: 0; background: rgba(26,14,2,.55); z-index: 200; display: none; }
.bkm-veil.on { display: block; }

.bkm-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 210;
  background: var(--white); display: none; flex-direction: column;
}
.bkm-sheet.on { display: flex; }

.bkm-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  border-bottom: 1px solid var(--cream); background: var(--ivory);
}
.bkm-head b { flex: 1; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--earth); }
.bkm-close { border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--text-light); cursor: pointer; padding: 0 4px; }

.bkm-dots { display: flex; gap: 5px; padding: 12px 18px; border-bottom: 1px solid var(--cream); }
.bkm-dots div { flex: 1; height: 3px; border-radius: 2px; background: var(--cream); }
.bkm-dots div.on { background: var(--green); }

.bkm-scroll { flex: 1; overflow-y: auto; padding: 20px 18px; -webkit-overflow-scrolling: touch; }

.bkm-foot {
  border-top: 1px solid var(--cream); padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; background: var(--white);
}
.bkm-foot .t { flex: 1; min-width: 0; }
.bkm-foot .t span { display: block; font-size: 11px; color: var(--text-light); }
.bkm-foot .t b { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--earth); }
.bkm-go {
  background: var(--green); color: #fff; border: 0; border-radius: 8px; padding: 14px 22px;
  font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.bkm-go:hover { background: var(--green-light); }
.bkm-go[disabled] { background: #b7c9b3; cursor: not-allowed; }
.bkm-back { background: transparent; border: 1.5px solid var(--cream); color: var(--text); border-radius: 8px; padding: 13px 18px; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }

.bkm-lab { display: block; font-size: .88rem; font-weight: 700; color: var(--earth); margin: 0 0 10px; }
.bkm-sub { font-size: .78rem; color: var(--text-light); line-height: 1.5; margin: 6px 0 0; }

.bkm-fld { margin-bottom: 16px; }
.bkm-fld input, .bkm-fld select {
  width: 100%; font-family: 'Jost', sans-serif; font-size: .95rem; padding: 12px;
  border: 1.5px solid var(--cream); border-radius: 8px; background: var(--white); color: var(--text);
}
.bkm-fld input:focus, .bkm-fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,135,42,.12); }

/* Selectable safari-type cards */
.bkm-opt { border: 1.5px solid var(--cream); border-radius: 10px; padding: 14px 15px; margin-bottom: 10px; cursor: pointer; display: block; }
.bkm-opt.on { border-color: var(--green); background: #F6F9F7; box-shadow: inset 0 0 0 1px var(--green); }
.bkm-opt .r { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bkm-opt b { font-size: .95rem; font-weight: 700; color: var(--earth); }
.bkm-opt .p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--green); white-space: nowrap; }
.bkm-opt p { margin: 6px 0 0; font-size: .8rem; color: var(--text-light); line-height: 1.5; }

/* Guide language exclusive cards */
.bkm-ex { display: flex; align-items: center; gap: 11px; border: 1.5px solid var(--cream); border-radius: 8px; padding: 12px 13px; margin-bottom: 9px; cursor: pointer; }
.bkm-ex.on { border-color: var(--green); background: #F6F9F7; }
.bkm-ex.lock { opacity: .45; cursor: not-allowed; background: var(--ivory); }
.bkm-ex span:first-of-type { flex: 1; font-size: .9rem; }
.bkm-ex .p { font-size: .8rem; color: var(--text-light); white-space: nowrap; }
.bkm-ex input { width: 18px; height: 18px; accent-color: var(--green); }

.bkm-warn {
  background: #FBF6E7; border: 1px solid #E6D8A8; border-radius: 8px; padding: 11px 13px;
  font-size: .82rem; line-height: 1.5; color: #5C4A14; margin: 0 0 13px;
}

/* Review + payment */
.bkm-sum { background: var(--ivory); border: 1.5px solid var(--cream); border-radius: 9px; padding: 14px; margin-top: 8px; }
.bkm-sum .l { display: flex; justify-content: space-between; padding: 7px 0; font-size: .88rem; color: var(--text-light); border-bottom: 1px dashed var(--cream); }
.bkm-sum .l:last-of-type { border-bottom: 0; }
.bkm-sum .tt { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--green); margin-top: 9px; padding-top: 11px; }
.bkm-sum .tt b { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--earth); }

.bkm-pay { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--cream); border-radius: 8px; padding: 13px; margin-bottom: 9px; cursor: pointer; }
.bkm-pay.on { border-color: var(--green); background: #F6F9F7; }
.bkm-pay input { width: 18px; height: 18px; accent-color: var(--green); }

.bkm-notice {
  font-size: .78rem; color: var(--text-light); line-height: 1.5; margin-top: 10px;
  padding: 10px 12px; background: var(--ivory); border-radius: 8px;
}

.bkm-enquire-bar {
  text-align: center; padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  background: var(--ivory); border-top: 1px solid var(--cream);
}
.bkm-enquire-bar a { font-size: .8rem; color: var(--text-light); text-decoration: underline; }
.bkm-enquire-bar a:hover { color: var(--green); }

@media (min-width: 900px) {
  .bkm-sheet {
    left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%);
    width: 460px; max-height: 90vh; border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
  }
}
@media (prefers-reduced-motion: reduce) { .bkm-sheet, .bkm-veil, .bkm-opt, .bkm-ex { transition: none !important; } }
