/* Scoped to the package booking form; preserves all existing theme color settings. */
body.single-btbs_tour .btbs-step-control.btbs-participant-open,
body.single-btbs_tour .btbs-v27-control.btbs-participant-open { position:relative !important; z-index:120 !important; }
body.single-btbs_tour .btbs-participant-native {
  position:absolute !important; width:1px !important; height:1px !important; padding:0 !important;
  border:0 !important; opacity:0 !important; pointer-events:none !important; overflow:hidden !important;
}
body.single-btbs_tour .btbs-participant-picker { position:relative; flex:1 1 auto; min-width:0; width:100%; text-align:left; font-family:inherit; }
body.single-btbs_tour .btbs-participant-trigger {
  display:flex !important; align-items:center !important; justify-content:space-between !important; gap:8px !important;
  width:100% !important; min-height:30px !important; padding:3px 3px 3px 0 !important;
  margin:0 !important; border:0 !important; box-shadow:none !important; border-radius:0 !important;
  background:transparent !important; color:var(--btbs-heading,#071b3a) !important;
  text-align:left !important; font-size:14px !important; font-weight:750 !important; line-height:1.35 !important;
  cursor:pointer !important; white-space:nowrap !important;
}
body.single-btbs_tour .btbs-participant-summary { min-width:0; text-overflow:ellipsis; overflow:hidden; }
body.single-btbs_tour .btbs-participant-chevron { flex-shrink:0; font-size:19px; font-weight:600; }
body.single-btbs_tour .btbs-participant-trigger:focus-visible,
body.single-btbs_tour .btbs-participant-step:focus-visible,
body.single-btbs_tour .btbs-participant-done:focus-visible { outline:2px solid var(--btbs-brand,#0f5ca8) !important; outline-offset:2px !important; }
body.single-btbs_tour .btbs-participant-panel {
  position:absolute !important; top:calc(100% + 11px); right:0; z-index:1000;
  box-sizing:border-box !important; width:320px; max-width:min(84vw,360px);
  padding:16px !important; border:1px solid var(--btbs-booking-field-border,#dce3ef) !important;
  border-radius:17px !important; background:#fff !important; color:#132541 !important;
  box-shadow:0 15px 40px rgba(7,27,58,.18) !important; text-align:left !important;
}
body.single-btbs_tour .btbs-participant-panel[hidden] { display:none !important; }
body.single-btbs_tour .btbs-participant-heading {font-size:15px; font-weight:800; margin-bottom:12px; color:#0c1e39;}
body.single-btbs_tour .btbs-participant-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf0f5; }
body.single-btbs_tour .btbs-participant-type { font-size:14px; font-weight:750; color:#142743; }
body.single-btbs_tour .btbs-participant-steps { display:flex; align-items:center; gap:11px; flex-shrink:0; }
body.single-btbs_tour .btbs-participant-count { display:block; min-width:19px; text-align:center; font-size:15px; font-weight:800; color:#142743; }
body.single-btbs_tour .btbs-participant-step {
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:34px !important; height:34px !important; padding:0 !important; margin:0 !important;
  border-radius:50% !important; border:1px solid #d3dce9 !important;
  background:#f9fbfe !important; color:#123256 !important; box-shadow:none !important;
  cursor:pointer !important; font-size:21px !important; font-weight:500 !important; line-height:1 !important;
}
body.single-btbs_tour .btbs-participant-step:disabled { opacity:.38 !important; cursor:not-allowed !important; }
body.single-btbs_tour .btbs-participant-note {margin:12px 0 !important; color:#55667e !important; font-size:11px !important; font-weight:500 !important; line-height:1.5 !important; text-align:left !important;}
body.single-btbs_tour .btbs-participant-done {
  display:block !important; width:100% !important; margin:4px 0 0 !important; padding:10px 14px !important;
  background:var(--btbs-brand,#0f5ca8) !important; color:#fff !important;
  border:0 !important; border-radius:999px !important; font-size:13px !important; font-weight:800 !important;
  cursor:pointer !important; text-align:center !important;
}
@media(max-width:980px){
  body.single-btbs_tour .btbs-participant-trigger { min-height:24px !important; font-size:13px !important; }
  body.single-btbs_tour .btbs-participant-panel { width:305px; max-width:min(81vw,340px); padding:14px !important; }
  body.single-btbs_tour .btbs-step-control .btbs-participant-panel {right:-4px;}
}
@media(max-width:380px){ body.single-btbs_tour .btbs-participant-panel { max-width:76vw; } }

/* Age bands and the optional age-policy note; shared by desktop and mobile. */
body.single-btbs_tour .btbs-participant-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:4px; }
body.single-btbs_tour .btbs-participant-heading { margin:0; }
body.single-btbs_tour .btbs-participant-age { display:block; margin-top:2px; font-size:11px; line-height:1.45; font-weight:500; color:#6a7688; }
body.single-btbs_tour .btbs-participant-extra-note { margin:0 0 10px !important; font-size:11px !important; color:#42536c !important; line-height:1.5 !important; text-align:left !important; }
body.single-btbs_tour .btbs-participant-close { display:none !important; align-items:center !important; justify-content:center !important; width:34px !important; height:34px !important; padding:0 !important; border:0 !important; border-radius:50% !important; background:#f1f4f9 !important; color:#142743 !important; font-size:23px !important; cursor:pointer !important; }
body.single-btbs_tour .btbs-participant-close:focus-visible { outline:2px solid var(--btbs-brand,#0f5ca8) !important; outline-offset:2px !important; }

/* Mobile: move the active selector to <body> as a bottom sheet, outside form
   transforms, scrolling containers and sticky booking-card stacking contexts. */
body.single-btbs_tour .btbs-participant-backdrop[hidden] { display:none !important; }
@media(max-width:980px) {
  body.single-btbs_tour.btbs-participant-sheet-open { overflow:hidden !important; }
  body.single-btbs_tour .btbs-participant-backdrop:not([hidden]) {
    display:block !important; position:fixed !important; inset:0 !important;
    z-index:2147483600 !important; background:rgba(6,17,36,.48) !important;
  }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet:not([hidden]) {
    position:fixed !important; inset:auto 0 0 0 !important; z-index:2147483601 !important;
    display:block !important; box-sizing:border-box !important;
    width:100% !important; max-width:none !important;
    max-height:min(90vh,650px) !important; max-height:min(90dvh,650px) !important;
    overflow-y:auto !important; overscroll-behavior:contain !important;
    padding:20px 20px calc(18px + env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important; border:0 !important; border-radius:22px 22px 0 0 !important;
    background:#fff !important; box-shadow:0 -10px 38px rgba(7,27,58,.22) !important;
    text-align:left !important;
    animation:btbs-participant-sheet-enter .22s ease-out both;
  }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-close { display:flex !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-heading { font-size:17px !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-row { padding:16px 0 !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-type { font-size:15px !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-age { font-size:12px !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-step { width:38px !important; height:38px !important; }
  body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet .btbs-participant-done { min-height:45px !important; margin-top:14px !important; font-size:14px !important; }
  @keyframes btbs-participant-sheet-enter { from {transform:translateY(20px);opacity:.8;} to {transform:translateY(0);opacity:1;} }
}
@media(prefers-reduced-motion:reduce) { body.single-btbs_tour .btbs-participant-panel.btbs-participant-bottom-sheet { animation:none !important; } }
