/* Mount Batur 4WD Jeep v8.9.539 — targeted homepage improvements.
   Scoped to Home only: original mobile cards and booking flows remain untouched. */

/* Preserve the cart count as a legible red badge with white numerals on both
   transparent and white sticky headers. Header icon colors remain stateful. */
html body.btbs-4wd-homepage .btbs-global-header-wrap .btbs-gh-cart-btn .btbs-gh-badge,
html body.btbs-4wd-homepage .btbs-global-header-wrap .btbs-gh-cart-btn .btbs-gh-cart-count,
html body.btbs-4wd-homepage .btbs-global-header-wrap .btbs-gh-cart-btn .btbs-gh-badge::before {
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:#c82c31!important;border-color:#c82c31!important;
  text-shadow:none!important;opacity:1!important;filter:none!important;
}
html body.btbs-4wd-homepage.btbs-4wd-header-scrolled .btbs-global-mobile-header .btbs-gh-cart-btn .btbs-gh-badge,
html body.btbs-4wd-homepage.btbs-4wd-header-scrolled .btbs-global-mobile-header .btbs-gh-cart-btn .btbs-gh-cart-count,
html body.btbs-4wd-homepage.btbs-4wd-header-scrolled .btbs-global-desktop-header .btbs-gh-cart-btn .btbs-gh-badge {
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:#c82c31!important;
}
/* The star glyph is live text (not an SVG) and may be reset by global theme styles. */
html body.btbs-4wd-homepage .btbs-4wd-reviews-wrap .btbs-home-review-tabs-section .btbs-tabs-review-row .btbs-mh-review-stars,
html body.btbs-4wd-homepage .btbs-4wd-reviews-wrap .btbs-home-review-tabs-section .btbs-tabs-review-row .btbs-dh-review-stars,
html body.btbs-4wd-homepage .btbs-4wd-reviews-wrap .btbs-home-review-tabs-section .btbs-tabs-rating-stars {
  color:#ffb300!important;-webkit-text-fill-color:#ffb300!important;
  text-shadow:none!important;opacity:1!important;filter:none!important;
}
/* Match Mount Batur Activities desktop: four cards across, remaining cards
   horizontally scrollable with snap and explicit previous/next controls. */
@media(min-width:981px) {
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-list {
    display:flex!important;flex-wrap:nowrap!important;
    gap:19px!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;scroll-behavior:smooth!important;
    scrollbar-width:thin!important;scrollbar-color:#bdcdd8 transparent!important;
    -webkit-overflow-scrolling:touch!important;
    padding:3px 2px 15px!important;margin:10px 0 20px!important;
    min-width:0!important;max-width:100%!important;align-items:stretch!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-list>.btbs-4wd-tour-card {
    flex:0 0 calc((100% - 57px)/4)!important;
    width:calc((100% - 57px)/4)!important;
    max-width:calc((100% - 57px)/4)!important;
    min-width:0!important;margin:0!important;
    scroll-snap-align:start!important;
    border-radius:13px!important;
    overflow:hidden!important;
    box-shadow:0 4px 20px rgba(16,44,63,.06)!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo {
    aspect-ratio:1.36!important;height:auto!important;min-height:0!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info {
    padding:16px 16px 19px!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info h3 {
    font-size:17px!important;line-height:1.32!important;
    min-height:45px!important;margin-bottom:9px!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-price strong {
    font-size:19px!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-button {
    font-size:12px!important;padding:10px 11px!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-list .btbs-4wd-card-wishlist {
    top:10px!important;right:10px!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tour-slider-controls {
    display:flex!important;justify-content:flex-end;gap:9px;
    max-width:100%;margin:18px 0 0!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tour-slider-controls button {
    appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;
    border:1px solid #ccdae3!important;border-radius:50%!important;
    background:#fff!important;color:#102c3f!important;box-shadow:0 4px 12px rgba(16,44,63,.06)!important;
    padding:0!important;margin:0!important;font:700 27px/1 Arial,sans-serif!important;cursor:pointer!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tour-slider-controls button:disabled {
    opacity:.35!important;cursor:default!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tour-slider-controls button:focus-visible,
  html body.btbs-4wd-homepage .btbs-4wd-tour-list:focus-visible {outline:2px solid #e87825!important;outline-offset:3px!important}
}
/* Native mobile card layout stays as-is: no sliding controls at mobile/tablet. */
@media(max-width:980px) {
  body.btbs-4wd-homepage .btbs-4wd-tour-slider-controls{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  html body.btbs-4wd-homepage .btbs-4wd-tour-list{scroll-behavior:auto!important}
}
