/* Planner money features (money.js): fare line on the flight card, extra ticket links on activities. */
.tb-fare { grid-column: 2 / -1; margin: 6px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.tb-fare b { color: var(--ink); font-family: var(--display); }
.tb-fare-note { font-weight: 500; color: var(--ink-3); }
.tb-fare a { margin-left: 4px; font-weight: 700; white-space: nowrap; }
.tb-fare-head { margin: 6px 0 0; line-height: 1.45; }

/* Landing fare strip: city, month chips, recent fare, WhatsApp fare tracking */
.vh-copy { min-width: 0; }
.tb-strip { margin-top: 22px; max-width: 560px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--ink-2); border: 1px solid var(--hair-2); box-shadow: var(--pop); animation: dropIn 0.8s 0.6s var(--ease) both; }
.tb-strip-route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.tb-strip-ico { margin-right: 2px; }
.tb-strip-route select { height: 36px; max-width: 160px; padding: 0 26px 0 10px; border: 2px solid var(--navy); border-radius: 999px; background: var(--sun); color: var(--navy); font: 700 0.875rem var(--font); cursor: pointer; }
.tb-months { display: flex; gap: 6px; margin: 12px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.tb-months::-webkit-scrollbar { display: none; }
.tb-mchip { flex: none; scroll-snap-align: start; min-height: 36px; padding: 8px 14px; border: 1.5px solid var(--hair-2); border-radius: 999px; background: #fff; color: var(--ink); font: 700 0.8125rem var(--font); cursor: pointer; }
.tb-mchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tb-strip-fare { min-height: 1.45em; margin: 12px 0 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.45; }
.tb-strip-fare b { color: var(--ink); font-family: var(--display); font-size: 1.25rem; }
.tb-strip-wait { color: var(--ink-3); font-weight: 500; }
.tb-strip-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tb-strip-acts:empty { display: none; }
.tb-strip-acts [hidden] { display: none; }
.tb-strip-acts .btn { min-height: 44px; }
@media (min-width: 761px) {
  .tb-strip { max-width: 640px; }
  .tb-strip-acts { flex-direction: column; align-items: stretch; }
  .tb-strip-acts .btn { width: 100%; justify-content: center; min-height: 48px; }
  .tb-strip-acts .btn-whatsapp { order: -1; }
}
@media (max-width: 640px) {
  .tb-strip { margin-top: 16px; width: 100%; max-width: none; box-sizing: border-box; }
  .tb-strip-route { font-size: 0.875rem; }
  .tb-strip-route select { height: 40px; max-width: min(160px, 46vw); }
  .tb-mchip { min-height: 40px; padding: 10px 14px; }
  .tb-strip-acts { flex-direction: column; }
  .tb-strip-acts .btn { flex: 1 1 auto; width: 100%; justify-content: center; min-height: 48px; }
}

/* Sticky Book flights / Choose stays bar on itineraries (above the phone tab bar) */
.tb-bookbar {
  position: fixed;
  z-index: 71;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(19, 34, 58, 0.12);
  box-shadow: 0 -10px 28px -18px rgba(19, 34, 58, 0.45);
}
.tb-bookbar-in {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}
.tb-bookbar .btn {
  flex: 1 1 0;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  font-weight: 700;
  box-shadow: none;
}
.tb-bookbar-fl {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.15;
}
.tb-bookbar-fl small {
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.8;
}
body:has(.tb-bookbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body:has(.bnav):has(.tb-bookbar) { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
body:has(.bnav) .tb-bookbar { bottom: calc(62px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
body:has(.sheet) .tb-bookbar,
body:has(.modal-bg) .tb-bookbar { visibility: hidden; pointer-events: none; }
body:has(.bnav):has(.tb-bookbar) #toast { bottom: calc(140px + env(safe-area-inset-bottom)); }
@media (min-width: 761px) {
  .tb-bookbar {
    padding: 12px 24px;
    /* Sit above the page foot, clear of the AI fab */
    box-shadow: 0 -12px 36px -16px rgba(19, 34, 58, 0.35);
  }
  .tb-bookbar-in {
    max-width: 880px;
    gap: 12px;
  }
  .tb-bookbar .btn { min-height: 52px; font-size: 1rem; border-radius: 14px; }
  .tb-bookbar-fl { flex: 1.35 1 0; }
  .tb-bookbar-st { flex: 1 1 0; }
  .tb-bookbar-fl small { font-size: 0.75rem; }
  body:has(.tb-bookbar) { padding-bottom: 88px; }
  body:has(.deal-hook) .tb-bookbar,
  body:has(.bk-ribbon) .tb-bookbar { display: none !important; }
}
.tb-tix { position: relative; align-self: center; }
.tb-tix > summary { list-style: none; cursor: pointer; }
.tb-tix > summary::-webkit-details-marker { display: none; }
.tb-tix > summary::after { content: "▾"; margin-left: 4px; font-size: 0.6875rem; }
.tb-tix[open] > summary::after { content: "▴"; }
.tb-tix-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: 300px; padding: 12px 14px; background: #fff; border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 30, 50, 0.16); text-align: left; }
.tb-tix-h { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.tb-tix-pop ul { list-style: none; margin: 0; padding: 0; }
.tb-tix-pop li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 0.875rem; }
.tb-tix-pop li + li { border-top: 1px solid var(--hair); }
.tb-tix-pop li .num { font-family: var(--display); font-weight: 700; }
.tb-tix-na { color: var(--ink-3); }
.tb-tix-note { margin: 6px 0 0; font-size: 0.75rem; line-height: 1.45; color: var(--ink-3); }
.tb-tix-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); }
.tb-tix-foot .link-btn { display: inline-flex; align-items: center; gap: 4px; }
.tb-tix-pop > .muted { margin: 2px 0 0; }
.act-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.act-chip span { font-weight: 600; }
.tb-tix.is-booked .act-chip { background: #e5f5ec; color: #17734a; }
.tb-tix.is-skipped .act-chip { background: var(--sand, #fff3d9); color: var(--ink-3); font-weight: 600; }
@media (max-width: 640px) {
  .tb-tix-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; z-index: 80; padding: 16px 18px; box-shadow: 0 -8px 40px rgba(20, 30, 50, 0.22); }
  .tb-tix-pop li { padding: 12px 0; }
}
