/* BTBS v3.5 global mobile header */
.btbs-global-header-wrap{display:none}
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled #masthead,
  body.btbs-global-mobile-header-enabled .site-header,
  body.btbs-global-mobile-header-enabled .ast-mobile-header-wrap,
  body.btbs-global-mobile-header-enabled header.site-header{
    display:none!important;
  }
  body.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
  body.btbs-global-mobile-header-enabled.single-btbs_tour #btbs-forced-single{
    margin-top:0!important;
  }
  .btbs-global-header-wrap{
    display:block!important;
    position:relative;
    z-index:100000;
    font-family:inherit;
  }
  .btbs-global-mobile-header{
    position:relative;
    left:auto;
    right:auto;
    top:auto;
    z-index:100000;
    height:58px;
    background:#fff;
    border-bottom:1px solid #e6edf5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 12px;
    box-shadow:0 2px 14px rgba(15,41,74,.08);
  }
  body.admin-bar .btbs-global-mobile-header{top:auto}
  body.admin-bar.btbs-global-mobile-header-enabled{padding-top:0!important}
  .btbs-gh-logo{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    align-items:center;
    overflow:hidden;
  }
  .btbs-gh-logo .custom-logo-link{
    display:flex!important;
    align-items:center!important;
    max-width:150px!important;
    height:40px!important;
    overflow:hidden!important;
  }
  .btbs-gh-logo img{
    max-height:38px!important;
    width:auto!important;
    object-fit:contain!important;
    display:block!important;
  }
  .btbs-gh-logo-text{
    color:#0f294a!important;
    font-size:16px!important;
    font-weight:900!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:150px!important;
    display:block!important;
    letter-spacing:-.02em!important;
  }
  .btbs-gh-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    flex:0 0 auto;
  }
  .btbs-gh-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    border:1px solid #e6edf5!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#0f294a!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    text-decoration:none!important;
    box-shadow:none!important;
    position:relative!important;
    overflow:visible!important;
  }
  .btbs-gh-icon .dashicons{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    font-size:18px!important;
    line-height:18px!important;
    color:#0f294a!important;
    margin:0!important;
    padding:0!important;
  }
  .btbs-gh-icon:active{transform:scale(.97)}
  .btbs-gh-badge{
    position:absolute;
    top:-5px;
    right:-4px;
    min-width:17px;
    height:17px;
    padding:0 4px;
    border-radius:999px;
    background:#0b74ff;
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:17px;
    text-align:center;
  }
  .btbs-gh-overlay{
    display:none;
    position:fixed;
    inset:0;
    z-index:100001;
    background:rgba(15,41,74,.42);
  }
  .btbs-gh-overlay.is-open{display:block}
  .btbs-gh-sheet{
    position:absolute;
    left:10px;
    right:10px;
    top:68px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 18px 46px rgba(15,41,74,.22);
    overflow:hidden;
    max-height:78vh;
    display:flex;
    flex-direction:column;
  }
  body.admin-bar .btbs-gh-sheet{top:114px}
  .btbs-gh-sheet-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 14px 10px;
    color:#0f294a;
  }
  .btbs-gh-sheet-head strong{
    font-size:17px;
    font-weight:900;
  }
  .btbs-gh-close{
    width:34px!important;
    height:34px!important;
    border:0!important;
    border-radius:999px!important;
    background:#eef2f7!important;
    color:#0f294a!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    font-size:26px!important;
    line-height:1!important;
    font-family:Arial, sans-serif!important;
  }
  .btbs-gh-search-box{
    margin:0 14px 12px;
    height:44px;
    border:1px solid #dbe4ef;
    border-radius:999px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:0 13px;
    background:#f8fafc;
  }
  .btbs-gh-search-box .dashicons{
    color:#0f294a;
    width:18px;
    height:18px;
    font-size:18px;
  }
  .btbs-gh-search-input{
    width:100%!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    padding:0!important;
    margin:0!important;
    font-size:14px!important;
    font-weight:700!important;
    color:#0f294a!important;
  }
  .btbs-gh-search-results,
  .btbs-gh-wishlist-list{
    overflow:auto;
    padding:0 14px 14px;
  }
  .btbs-gh-empty{
    margin:8px 0 0;
    color:#667085;
    font-size:13px;
  }
  .btbs-gh-result,
  .btbs-gh-wish-item{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:10px 0;
    border-top:1px solid #eef2f7;
    text-decoration:none!important;
    color:#0f294a!important;
  }
  .btbs-gh-result:first-child,
  .btbs-gh-wish-item:first-child{border-top:0}
  .btbs-gh-result img,
  .btbs-gh-wish-item img{
    width:58px;
    height:48px;
    object-fit:cover;
    border-radius:10px;
    background:#eef2f7;
  }
  .btbs-gh-result strong,
  .btbs-gh-wish-item strong{
    display:block;
    color:#0f294a;
    font-size:13px;
    line-height:1.3;
    font-weight:900;
  }
  .btbs-gh-result small,
  .btbs-gh-wish-item small{
    display:block;
    margin-top:3px;
    color:#667085;
    font-size:12px;
  }
  .btbs-gh-wishlist-actions{
    padding:0 14px 10px;
  }
  .btbs-gh-add-current{
    width:100%;
    height:42px;
    border:0;
    border-radius:999px;
    background:#0b74ff;
    color:#fff;
    font-size:14px;
    font-weight:900;
  }
  .btbs-gh-side{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:min(86vw,340px);
    background:#fff;
    box-shadow:-18px 0 46px rgba(15,41,74,.22);
    padding:10px 14px 18px;
    transform:translateX(100%);
    transition:transform .22s ease;
  }
  .btbs-gh-menu-panel.is-open .btbs-gh-side{transform:translateX(0)}
  .btbs-gh-side a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 2px;
    border-bottom:1px solid #eef2f7;
    color:#0f294a!important;
    text-decoration:none!important;
    font-size:15px;
    font-weight:800;
  }
  .btbs-gh-side a .dashicons{
    width:19px;
    height:19px;
    font-size:19px;
    color:#0f294a;
  }
}
@media(max-width:380px){
  .btbs-gh-actions{gap:5px}
  .btbs-gh-icon{width:34px!important;height:34px!important;min-width:34px!important}
  .btbs-gh-logo-text{max-width:125px!important;font-size:15px!important}
}

@media(max-width:980px){html.btbs-gh-no-scroll,html.btbs-gh-no-scroll body{overflow:hidden!important}}


/* v3.6 stronger hide Astra/mobile theme header and wishlist active state */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled #masthead,
  body.btbs-global-mobile-header-enabled .site-header,
  body.btbs-global-mobile-header-enabled header.site-header,
  body.btbs-global-mobile-header-enabled .ast-mobile-header-wrap,
  body.btbs-global-mobile-header-enabled .ast-primary-header-bar,
  body.btbs-global-mobile-header-enabled .ast-main-header-wrap,
  body.btbs-global-mobile-header-enabled .main-header-bar-wrap,
  body.btbs-global-mobile-header-enabled .main-header-bar,
  body.btbs-global-mobile-header-enabled .ast-above-header-wrap,
  body.btbs-global-mobile-header-enabled .ast-below-header-wrap,
  body.btbs-global-mobile-header-enabled .ast-builder-grid-row-container,
  body.btbs-global-mobile-header-enabled .ast-mobile-popup-drawer,
  body.btbs-global-mobile-header-enabled .ast-mobile-header-content,
  body.btbs-global-mobile-header-enabled .ast-header-break-point .main-header-bar-navigation,
  body.btbs-global-mobile-header-enabled .ast-header-break-point .ast-mobile-menu-buttons{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-header-wrap,
  body.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    pointer-events:auto!important;
  }

  .btbs-wishlist-toggle.is-active,
  .btbs-gh-wishlist-btn.is-active{
    background:#ffeef1!important;
    border-color:#ffb8c2!important;
    color:#e22b45!important;
  }
  .btbs-wishlist-toggle.is-active .dashicons,
  .btbs-gh-wishlist-btn.is-active .dashicons{
    color:#e22b45!important;
  }
}


/* v3.7 tighten spacing under the custom mobile header */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled{
    padding-top:0!important;
    margin-top:0!important;
  }

  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled #page,
  body.btbs-global-mobile-header-enabled .site,
  body.btbs-global-mobile-header-enabled .site-content,
  body.btbs-global-mobile-header-enabled #content,
  body.btbs-global-mobile-header-enabled .ast-container,
  body.btbs-global-mobile-header-enabled .content-area,
  body.btbs-global-mobile-header-enabled .site-main,
  body.btbs-global-mobile-header-enabled article,
  body.btbs-global-mobile-header-enabled .entry-content{
    margin-top:0!important;
  }

  body.btbs-global-mobile-header-enabled .site-content,
  body.btbs-global-mobile-header-enabled #content,
  body.btbs-global-mobile-header-enabled .content-area,
  body.btbs-global-mobile-header-enabled .site-main{
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled .ast-container{
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled .entry-header{
    margin-top:0!important;
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-header-wrap{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  body.btbs-global-mobile-header-enabled:not(.admin-bar){
    padding-top:0!important;
  }

  body.admin-bar.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    top:auto!important;
  }

  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour #btbs-forced-single,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-hero{
    margin-top:0!important;
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page{
    transform:translateY(-1px);
  }

  body.btbs-global-mobile-header-enabled:not(.single-btbs_tour) .site-main > article:first-child,
  body.btbs-global-mobile-header-enabled:not(.single-btbs_tour) .entry-content > *:first-child{
    margin-top:0!important;
  }
}

@media(max-width:782px){
  body.admin-bar.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    top:auto!important;
  }
  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
}

@media(max-width:600px){
  body.admin-bar.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    top:auto!important;
  }
  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
}


/* v3.8 fix detail page fixed elements after header spacing adjustment */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page,
  body.btbs-global-mobile-header-enabled.single-btbs_tour #btbs-forced-single,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-hero{
    transform:none!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page{
    margin-top:0!important;
    padding-top:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-sticky,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page .btbs-v27-sticky{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    z-index:100002!important;
    will-change:transform, opacity!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-lightbox,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-mobile-v27-page .btbs-v27-lightbox{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:100vh!important;
    z-index:100003!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
}


/* v3.9 global footer with payment logos */
.btbs-global-footer{
  background:#071b32;
  color:#dbe7f5;
  margin-top:42px;
  padding:36px 18px 22px;
  font-family:inherit;
}
.btbs-gf-inner{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:26px;
}
.btbs-gf-brand strong{
  display:block;
  color:#fff;
  font-size:22px;
  line-height:1.2;
  font-weight:900;
  margin:0 0 10px;
}
.btbs-gf-brand p,
.btbs-gf-col p{
  color:#b9c8da;
  font-size:14px;
  line-height:1.6;
  margin:0 0 12px;
}
.btbs-gf-col h3{
  color:#fff;
  font-size:15px;
  line-height:1.2;
  font-weight:900;
  margin:0 0 12px;
}
.btbs-gf-col a{
  display:block;
  color:#dbe7f5!important;
  text-decoration:none!important;
  font-size:14px;
  line-height:1.35;
  margin:0 0 10px;
}
.btbs-gf-col a:hover{
  color:#fff!important;
  text-decoration:underline!important;
}
.btbs-gf-payments{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.btbs-pay-logo{
  min-width:58px;
  height:34px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  background:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.btbs-pay-paypal{
  color:#003087;
  font-size:13px;
  letter-spacing:-.04em;
}
.btbs-pay-mastercard{
  color:#111827;
  position:relative;
  padding-left:28px;
}
.btbs-pay-mastercard:before,
.btbs-pay-mastercard:after{
  content:"";
  position:absolute;
  top:10px;
  width:15px;
  height:15px;
  border-radius:50%;
}
.btbs-pay-mastercard:before{
  left:8px;
  background:#eb001b;
}
.btbs-pay-mastercard:after{
  left:18px;
  background:#f79e1b;
  mix-blend-mode:multiply;
}
.btbs-pay-visa{
  color:#1a1f71;
  font-size:15px;
  font-style:italic;
  letter-spacing:.02em;
}
.btbs-pay-jcb{
  color:#0b5cab;
  font-size:14px;
}
.btbs-pay-amex{
  background:#2e77bb;
  color:#fff;
  font-size:13px;
}
.btbs-gf-bottom{
  width:min(1180px,100%);
  margin:24px auto 0;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:#9fb1c6;
  font-size:13px;
  line-height:1.4;
}
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled .site-footer,
  body.btbs-global-mobile-header-enabled footer.site-footer,
  body.btbs-global-mobile-header-enabled .ast-footer-copyright,
  body.btbs-global-mobile-header-enabled .site-primary-footer-wrap,
  body.btbs-global-mobile-header-enabled .site-below-footer-wrap,
  body.btbs-global-mobile-header-enabled .site-above-footer-wrap,
  body.btbs-global-mobile-header-enabled .ast-builder-footer-grid-columns,
  body.btbs-global-mobile-header-enabled .ast-footer-overlay{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    overflow:hidden!important;
  }
  .btbs-global-footer{
    margin-top:30px;
    padding:30px 16px 88px;
  }
  .btbs-gf-inner{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
  }
  .btbs-gf-brand strong{
    font-size:20px;
  }
  .btbs-gf-payments{
    gap:7px;
  }
  .btbs-pay-logo{
    min-width:54px;
    height:32px;
    padding:0 8px;
    font-size:11px;
  }
  .btbs-pay-mastercard{
    padding-left:25px;
  }
  .btbs-pay-mastercard:before{
    left:7px;
  }
  .btbs-pay-mastercard:after{
    left:16px;
  }
  .btbs-gf-bottom{
    display:block;
    margin-top:20px;
    padding-top:16px;
  }
  .btbs-gf-bottom span{
    display:block;
    margin-top:7px;
  }
}


/* v4.0 cleaner payment logo badges */
.btbs-gf-payments{
  gap:10px!important;
  align-items:center!important;
}
.btbs-pay-logo{
  width:74px!important;
  min-width:74px!important;
  height:44px!important;
  border-radius:8px!important;
  background:#fff!important;
  border:1px solid #d8e0ea!important;
  box-shadow:0 7px 18px rgba(0,0,0,.16)!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  position:relative!important;
  font-family:Arial, Helvetica, sans-serif!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* PayPal style */
.btbs-pay-paypal{
  font-size:0!important;
}
.btbs-pay-paypal:before{
  content:"Pay";
  color:#003087;
  font-size:18px;
  font-weight:900;
  letter-spacing:-1.1px;
}
.btbs-pay-paypal:after{
  content:"Pal";
  color:#009cde;
  font-size:18px;
  font-weight:900;
  letter-spacing:-1.1px;
}

/* Mastercard style with overlapping circles */
.btbs-pay-mastercard{
  font-size:0!important;
  color:transparent!important;
}
.btbs-pay-mastercard:before{
  content:""!important;
  position:absolute!important;
  left:21px!important;
  top:9px!important;
  width:23px!important;
  height:23px!important;
  border-radius:999px!important;
  background:#eb001b!important;
}
.btbs-pay-mastercard:after{
  content:""!important;
  position:absolute!important;
  left:32px!important;
  top:9px!important;
  width:23px!important;
  height:23px!important;
  border-radius:999px!important;
  background:#f79e1b!important;
  mix-blend-mode:multiply!important;
}

/* Visa style */
.btbs-pay-visa{
  color:#1a1f71!important;
  font-size:23px!important;
  font-weight:900!important;
  font-style:italic!important;
  letter-spacing:-1px!important;
  text-transform:uppercase!important;
}

/* JCB style */
.btbs-pay-jcb{
  font-size:0!important;
  background:#fff!important;
}
.btbs-pay-jcb:before{
  content:"JCB";
  position:absolute;
  inset:7px 10px;
  border-radius:5px;
  background:linear-gradient(90deg,#0066b3 0 33%,#008a3d 33% 66%,#d71920 66% 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:900;
  letter-spacing:.5px;
}

/* American Express style */
.btbs-pay-amex{
  background:#2e77bb!important;
  color:#fff!important;
  font-size:0!important;
  border-color:#2e77bb!important;
}
.btbs-pay-amex:before{
  content:"AMERICAN";
  position:absolute;
  top:9px;
  left:0;
  right:0;
  color:#fff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.7px;
  text-align:center;
}
.btbs-pay-amex:after{
  content:"EXPRESS";
  position:absolute;
  top:20px;
  left:0;
  right:0;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.5px;
  text-align:center;
}

@media(max-width:980px){
  .btbs-gf-payments{
    gap:8px!important;
  }
  .btbs-pay-logo{
    width:68px!important;
    min-width:68px!important;
    height:40px!important;
    border-radius:7px!important;
  }
  .btbs-pay-paypal:before,
  .btbs-pay-paypal:after{
    font-size:16px!important;
  }
  .btbs-pay-mastercard:before{
    left:18px!important;
    top:8px!important;
    width:22px!important;
    height:22px!important;
  }
  .btbs-pay-mastercard:after{
    left:29px!important;
    top:8px!important;
    width:22px!important;
    height:22px!important;
  }
  .btbs-pay-visa{
    font-size:21px!important;
  }
  .btbs-pay-jcb:before{
    inset:7px 9px!important;
    font-size:14px!important;
  }
  .btbs-pay-amex:before{
    top:8px!important;
    font-size:7px!important;
  }
  .btbs-pay-amex:after{
    top:19px!important;
    font-size:11px!important;
  }
}


/* v4.1 reduce footer gap above sticky booking bar on tour detail mobile */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-global-footer{
    margin-top:18px!important;
    padding-top:26px!important;
    padding-bottom:68px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-inner{
    gap:18px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-bottom{
    margin-top:16px!important;
    padding-top:14px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-sticky{
    margin:0!important;
  }
}

@media(max-width:480px){
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-global-footer{
    margin-top:14px!important;
    padding-bottom:62px!important;
  }
}


/* v4.2 stronger fix: remove large bottom gap between footer and sticky booking bar */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-global-footer,
  body.single-btbs_tour .btbs-global-footer{
    margin-top:10px!important;
    margin-bottom:0!important;
    padding-top:22px!important;
    padding-bottom:12px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-inner,
  body.single-btbs_tour .btbs-gf-inner{
    gap:14px!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-brand,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-col,
  body.single-btbs_tour .btbs-gf-brand,
  body.single-btbs_tour .btbs-gf-col{
    margin-bottom:0!important;
    padding-bottom:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-brand p,
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-col p,
  body.single-btbs_tour .btbs-gf-brand p,
  body.single-btbs_tour .btbs-gf-col p{
    margin-bottom:8px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-col a,
  body.single-btbs_tour .btbs-gf-col a{
    margin-bottom:7px!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-payments,
  body.single-btbs_tour .btbs-gf-payments{
    margin-top:10px!important;
    margin-bottom:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-bottom,
  body.single-btbs_tour .btbs-gf-bottom{
    margin-top:12px!important;
    margin-bottom:0!important;
    padding-top:12px!important;
    padding-bottom:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-gf-bottom span,
  body.single-btbs_tour .btbs-gf-bottom span{
    margin-top:4px!important;
    margin-bottom:0!important;
  }

  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-v27-sticky,
  body.single-btbs_tour .btbs-v27-sticky{
    bottom:0!important;
    margin:0!important;
  }
}

@media(max-width:480px){
  body.btbs-global-mobile-header-enabled.single-btbs_tour .btbs-global-footer,
  body.single-btbs_tour .btbs-global-footer{
    padding-bottom:8px!important;
  }
}


/* v4.3 support rule: no extra blank area below footer on tour detail */
@media(max-width:980px){
  html body.single-btbs_tour{
    padding-bottom:0!important;
  }
  html body.single-btbs_tour .btbs-global-footer{
    padding-bottom:4px!important;
    margin-bottom:0!important;
  }
}


/* v4.6: hide frontend admin bar and remove logged-in header gap */
#wpadminbar{
  display:none!important;
}
html{
  margin-top:0!important;
}
@media(max-width:980px){
  html body.btbs-global-mobile-header-enabled,
  html body.btbs-global-mobile-header-enabled.admin-bar,
  html body.btbs-global-mobile-header-enabled.logged-in{
    padding-top:0!important;
    margin-top:0!important;
  }

  html body.btbs-global-mobile-header-enabled .btbs-global-mobile-header,
  html body.btbs-global-mobile-header-enabled.admin-bar .btbs-global-mobile-header,
  html body.btbs-global-mobile-header-enabled.logged-in .btbs-global-mobile-header{
    top:auto!important;
  }

  html body.btbs-global-mobile-header-enabled #page,
  html body.btbs-global-mobile-header-enabled .site,
  html body.btbs-global-mobile-header-enabled .site-content,
  html body.btbs-global-mobile-header-enabled #content,
  html body.btbs-global-mobile-header-enabled .ast-container,
  html body.btbs-global-mobile-header-enabled .content-area,
  html body.btbs-global-mobile-header-enabled .site-main,
  html body.btbs-global-mobile-header-enabled .entry-content{
    margin-top:0!important;
    padding-top:0!important;
  }

  html body.btbs-global-mobile-header-enabled .btbs-gh-sheet{
    top:66px!important;
  }

  html body.btbs-global-mobile-header-enabled .btbs-gh-side{
    padding-top:10px!important;
  }
}


/* v4.8 account-based wishlist login prompt */
.btbs-gh-login-wishlist{
  width:100%;
  min-height:42px;
  border-radius:999px;
  background:#071b3a;
  color:#fff!important;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  font-size:14px;
  font-weight:900;
}
.btbs-wishlist-toggle.is-active .dashicons,
.btbs-gh-wishlist-btn.is-active .dashicons{
  color:#e22b45!important;
}


/* v7.2 desktop global header */
@media(min-width:981px){
  body.btbs-global-mobile-header-enabled #masthead,
  body.btbs-global-mobile-header-enabled .site-header,
  body.btbs-global-mobile-header-enabled header.site-header,
  body.btbs-global-mobile-header-enabled .ast-primary-header-bar,
  body.btbs-global-mobile-header-enabled .ast-main-header-wrap,
  body.btbs-global-mobile-header-enabled .main-header-bar-wrap,
  body.btbs-global-mobile-header-enabled .main-header-bar,
  body.btbs-global-mobile-header-enabled .ast-above-header-wrap,
  body.btbs-global-mobile-header-enabled .ast-below-header-wrap,
  body.btbs-global-mobile-header-enabled .ast-builder-grid-row-container{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }

  body.btbs-global-mobile-header-enabled{
    padding-top:0!important;
    margin-top:0!important;
  }
  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
  body.btbs-global-mobile-header-enabled #page,
  body.btbs-global-mobile-header-enabled .site,
  body.btbs-global-mobile-header-enabled .site-content,
  body.btbs-global-mobile-header-enabled #content,
  body.btbs-global-mobile-header-enabled .ast-container,
  body.btbs-global-mobile-header-enabled .content-area,
  body.btbs-global-mobile-header-enabled .site-main,
  body.btbs-global-mobile-header-enabled article,
  body.btbs-global-mobile-header-enabled .entry-content{
    margin-top:0!important;
  }

  .btbs-global-header-wrap{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    position:relative!important;
    z-index:100000!important;
    font-family:inherit!important;
  }
  .btbs-global-mobile-header{display:none!important}
  .btbs-global-desktop-header{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    height:74px!important;
    z-index:100000!important;
    background:#fff!important;
    border-bottom:1px solid #e6edf5!important;
    box-shadow:0 2px 16px rgba(15,41,74,.07)!important;
    display:flex!important;
    align-items:center!important;
  }
  body.admin-bar .btbs-global-desktop-header{top:auto!important}
  .btbs-gd-inner{
    width:min(1180px,100%)!important;
    margin:0 auto!important;
    padding:0 22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:24px!important;
    height:100%!important;
  }
  .btbs-gd-logo{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
  }
  .btbs-gd-logo .custom-logo-link{
    display:flex!important;
    align-items:center!important;
    max-width:220px!important;
    height:50px!important;
    overflow:hidden!important;
  }
  .btbs-gd-logo img{
    max-height:48px!important;
    width:auto!important;
    object-fit:contain!important;
    display:block!important;
  }
  .btbs-gd-logo .btbs-gh-logo-text{
    color:#071b3a!important;
    font-size:20px!important;
    line-height:1!important;
    font-weight:950!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    letter-spacing:-.03em!important;
    max-width:240px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .btbs-gd-nav{
    flex:1 1 auto!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:24px!important;
    white-space:nowrap!important;
  }
  .btbs-gd-nav a{
    color:#071b3a!important;
    text-decoration:none!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:850!important;
    padding:28px 0!important;
    border-bottom:3px solid transparent!important;
  }
  .btbs-gd-nav a:hover{
    color:#0b74ff!important;
    border-bottom-color:#0b74ff!important;
  }
  .btbs-gd-actions{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:9px!important;
  }
  .btbs-gd-action,
  .btbs-gd-account{
    height:42px!important;
    min-height:42px!important;
    border:1px solid #e6edf5!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#071b3a!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:0 13px!important;
    margin:0!important;
    text-decoration:none!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:850!important;
    box-shadow:none!important;
    cursor:pointer!important;
    position:relative!important;
    white-space:nowrap!important;
  }
  .btbs-gd-account{
    background:#071b3a!important;
    border-color:#071b3a!important;
    color:#fff!important;
    padding:0 15px!important;
  }
  .btbs-gd-action:hover{
    border-color:#b9d8ff!important;
    background:#f3f8ff!important;
    color:#0b74ff!important;
  }
  .btbs-gd-account:hover{
    background:#0b74ff!important;
    border-color:#0b74ff!important;
    color:#fff!important;
  }
  .btbs-gd-action .dashicons,
  .btbs-gd-account .dashicons{
    width:17px!important;
    height:17px!important;
    font-size:17px!important;
    line-height:17px!important;
    color:inherit!important;
    margin:0!important;
    padding:0!important;
  }
  .btbs-gd-actions .btbs-gh-badge{
    position:absolute!important;
    top:-6px!important;
    right:-5px!important;
    min-width:18px!important;
    height:18px!important;
    padding:0 5px!important;
    border-radius:999px!important;
    background:#0b74ff!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:950!important;
    line-height:18px!important;
    text-align:center!important;
  }

  .btbs-gh-overlay{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    z-index:100001!important;
    background:rgba(15,41,74,.42)!important;
  }
  .btbs-gh-overlay.is-open{display:block!important}
  .btbs-gh-sheet{
    position:absolute!important;
    left:50%!important;
    top:88px!important;
    transform:translateX(-50%)!important;
    width:min(720px,calc(100vw - 40px))!important;
    max-height:calc(100vh - 116px)!important;
    background:#fff!important;
    border:1px solid #e6edf5!important;
    border-radius:22px!important;
    box-shadow:0 24px 70px rgba(15,41,74,.25)!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body.admin-bar .btbs-gh-sheet{top:120px!important}
  .btbs-gh-sheet-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:18px 20px 12px!important;
    color:#071b3a!important;
  }
  .btbs-gh-sheet-head strong{
    font-size:19px!important;
    font-weight:950!important;
    line-height:1.2!important;
  }
  .btbs-gh-close{
    width:36px!important;
    height:36px!important;
    border:0!important;
    border-radius:999px!important;
    background:#eef2f7!important;
    color:#071b3a!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    font-size:26px!important;
    line-height:1!important;
    font-family:Arial,sans-serif!important;
    cursor:pointer!important;
  }
  .btbs-gh-search-box{
    margin:0 20px 14px!important;
    height:50px!important;
    border:1px solid #dbe4ef!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:0 16px!important;
    background:#f8fafc!important;
  }
  .btbs-gh-search-box .dashicons{
    color:#071b3a!important;
    width:20px!important;
    height:20px!important;
    font-size:20px!important;
  }
  .btbs-gh-search-input{
    width:100%!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    padding:0!important;
    margin:0!important;
    font-size:15px!important;
    font-weight:750!important;
    color:#071b3a!important;
  }
  .btbs-gh-search-results,
  .btbs-gh-wishlist-list{
    overflow:auto!important;
    padding:0 20px 20px!important;
  }
  .btbs-gh-empty{
    margin:10px 0 0!important;
    color:#667085!important;
    font-size:14px!important;
  }
  .btbs-gh-result,
  .btbs-gh-wish-item{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    padding:12px 0!important;
    border-top:1px solid #eef2f7!important;
    text-decoration:none!important;
    color:#071b3a!important;
  }
  .btbs-gh-result:first-child,
  .btbs-gh-wish-item:first-child{border-top:0!important}
  .btbs-gh-result img,
  .btbs-gh-wish-item img{
    width:72px!important;
    height:58px!important;
    object-fit:cover!important;
    border-radius:12px!important;
    background:#eef2f7!important;
  }
  .btbs-gh-result strong,
  .btbs-gh-wish-item strong{
    display:block!important;
    color:#071b3a!important;
    font-size:15px!important;
    line-height:1.28!important;
    font-weight:900!important;
  }
  .btbs-gh-result small,
  .btbs-gh-wish-item small{
    display:block!important;
    margin-top:4px!important;
    color:#667085!important;
    font-size:13px!important;
  }
  .btbs-gh-wishlist-actions{
    padding:0 20px 12px!important;
  }
  .btbs-gh-add-current,
  .btbs-gh-login-wishlist{
    width:100%!important;
    min-height:44px!important;
    border:0!important;
    border-radius:999px!important;
    background:#0b74ff!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:14px!important;
    font-weight:900!important;
    text-decoration:none!important;
    padding:0 16px!important;
    cursor:pointer!important;
  }
}
@media(max-width:980px){
  .btbs-global-desktop-header{display:none!important}
}
@media(min-width:981px) and (max-width:1120px){
  .btbs-gd-nav{gap:14px!important}
  .btbs-gd-nav a{font-size:14px!important}
  .btbs-gd-action span:not(.dashicons),
  .btbs-gd-account span:not(.dashicons){display:none!important}
  .btbs-gd-action,
  .btbs-gd-account{width:42px!important;min-width:42px!important;padding:0!important}
}


/* v7.3 desktop header cleanup: no logo/menu overlap, cleaner spacing */
@media(min-width:981px){
  body.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
  .btbs-global-desktop-header{
    height:68px!important;
    box-shadow:0 1px 14px rgba(15,41,74,.07)!important;
  }
  .btbs-gd-inner{
    width:min(1240px, calc(100% - 44px))!important;
    max-width:1240px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(175px,220px) minmax(0,1fr) auto!important;
    gap:22px!important;
    align-items:center!important;
    justify-content:normal!important;
  }
  .btbs-gd-logo{
    min-width:0!important;
    max-width:220px!important;
    overflow:hidden!important;
    padding-right:4px!important;
  }
  .btbs-gd-logo .custom-logo-link{
    max-width:220px!important;
    height:48px!important;
  }
  .btbs-gd-logo img{
    max-height:42px!important;
    max-width:100%!important;
  }
  .btbs-gd-logo .btbs-gh-logo-text{
    display:block!important;
    max-width:100%!important;
    font-size:18px!important;
    line-height:1.05!important;
    letter-spacing:-.035em!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .btbs-gd-nav{
    min-width:0!important;
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:22px!important;
    overflow:hidden!important;
  }
  .btbs-gd-nav a{
    flex:0 0 auto!important;
    font-size:14.5px!important;
    line-height:1!important;
    padding:26px 0 24px!important;
  }
  .btbs-gd-actions{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    min-width:max-content!important;
  }
  .btbs-gd-action,
  .btbs-gd-account{
    height:40px!important;
    min-height:40px!important;
    padding:0 12px!important;
    font-size:13.5px!important;
  }
  .btbs-gd-account{padding:0 15px!important}
  .btbs-gh-sheet{top:82px!important}
  body.admin-bar .btbs-gh-sheet{top:114px!important}
}
@media(min-width:981px) and (max-width:1240px){
  .btbs-gd-inner{width:calc(100% - 28px)!important;grid-template-columns:minmax(150px,190px) minmax(0,1fr) auto!important;gap:16px!important}
  .btbs-gd-nav{gap:15px!important}
  .btbs-gd-nav a{font-size:13.5px!important}
  .btbs-gd-logo .btbs-gh-logo-text{font-size:17px!important}
  .btbs-gd-action span:not(.dashicons){display:none!important}
  .btbs-gd-action{width:40px!important;min-width:40px!important;padding:0!important}
  .btbs-gd-account{padding:0 13px!important}
}
@media(min-width:981px) and (max-width:1080px){
  .btbs-gd-nav a:nth-child(5){display:none!important}
  .btbs-gd-nav{gap:12px!important}
  .btbs-gd-account span:not(.dashicons){display:none!important}
  .btbs-gd-account{width:40px!important;min-width:40px!important;padding:0!important}
}


/* BTBS v8.6.9: non-sticky header + full-width mobile header alignment */
@media(max-width:980px){
  body.btbs-global-mobile-header-enabled,
  body.admin-bar.btbs-global-mobile-header-enabled,
  html body.btbs-global-mobile-header-enabled{
    padding-top:0!important;
    margin-top:0!important;
    overflow-x:hidden!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-header-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:100000!important;
    box-sizing:border-box!important;
    background:#fff!important;
    overflow:visible!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-desktop-header{
    display:none!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    margin:0!important;
    padding:8px 12px!important;
    box-sizing:border-box!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    background:#fff!important;
    border-bottom:1px solid #e6edf5!important;
    overflow:hidden!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-gh-logo{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:calc(100% - 190px)!important;
    width:auto!important;
    overflow:hidden!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-gh-logo .custom-logo-link{
    max-width:100%!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-gh-logo-text{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:16px!important;
    line-height:1.1!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-gh-actions{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    min-width:0!important;
  }

  body.btbs-global-mobile-header-enabled .btbs-gh-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    flex:0 0 38px!important;
  }
}

@media(max-width:380px){
  body.btbs-global-mobile-header-enabled .btbs-global-mobile-header{
    padding-left:10px!important;
    padding-right:10px!important;
    gap:6px!important;
  }
  body.btbs-global-mobile-header-enabled .btbs-gh-logo{
    max-width:calc(100% - 178px)!important;
  }
  body.btbs-global-mobile-header-enabled .btbs-gh-actions{
    gap:5px!important;
  }
  body.btbs-global-mobile-header-enabled .btbs-gh-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    flex-basis:36px!important;
  }
}

@media(min-width:981px){
  body.btbs-global-mobile-header-enabled,
  body.admin-bar.btbs-global-mobile-header-enabled{
    padding-top:0!important;
  }
  body.btbs-global-mobile-header-enabled .btbs-global-header-wrap{
    height:auto!important;
    max-height:none!important;
    position:relative!important;
  }
  body.btbs-global-mobile-header-enabled .btbs-global-desktop-header{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
  }
}
