/* Mount Batur 4WD Jeep v8.9.540. One card component on Home and Tour Packages.
 * Reference: the established Mount Batur Activities card (photo/rating/wishlist/location/title/facts/price).
 * The Home slider keeps 4 visible; the full archive and shortcode use a four-column grid. */
.btbs-4wd-unified-card{position:relative!important;min-width:0!important;box-sizing:border-box!important;background:#fff!important;overflow:hidden!important;border:1px solid #e2e9eb!important;border-radius:15px!important;box-shadow:0 5px 18px rgba(16,44,63,.055)!important}
.btbs-4wd-unified-card .btbs-4wd-photo-rating{display:none!important}
.btbs-4wd-unified-card .btbs-4wd-photo-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#e5edf1;color:#758591;font-size:12px;font-family:inherit;font-weight:600;line-height:1.4;text-align:center;padding:15px}
.btbs-4wd-unified-card .btbs-4wd-tour-location{display:flex;align-items:flex-start;gap:5px;color:#c35c31;line-height:1.35}
.btbs-4wd-unified-card .btbs-4wd-tour-location svg{height:13px;width:13px;flex:0 0 13px;stroke:#e87825;stroke-width:1.9;fill:none}
.btbs-4wd-unified-card .btbs-4wd-tour-facts-items{display:flex!important;flex-wrap:wrap!important;gap:3px 8px!important;align-items:center!important}
.btbs-4wd-unified-card .btbs-4wd-tour-facts-items .btbs-loop-card-info-item{display:inline-flex;align-items:baseline;gap:3px;font-style:normal;color:#71808a}
.btbs-4wd-unified-card .btbs-4wd-tour-facts-items .btbs-loop-card-info-item em{font-style:normal}
.btbs-4wd-unified-card .btbs-4wd-tour-facts-items .dashicons{color:#da6832;vertical-align:middle;flex:none}
.btbs-4wd-unified-card .btbs-4wd-tour-price{display:flex!important;flex-direction:row!important;align-items:baseline!important;flex-wrap:wrap!important;column-gap:3px!important;row-gap:0!important}
.btbs-4wd-unified-card .btbs-4wd-tour-price strong{color:#e87825}
/* Archive cards need their own visible layout regardless of the original 3-column archive rules. */
#btbs-tour-archive .btbs-4wd-archive-grid>.btbs-4wd-unified-card,
.btbs-4wd-tour-packages-shortcode .btbs-4wd-archive-grid>.btbs-4wd-unified-card{height:100%;width:100%!important;max-width:none!important;margin:0!important}
@media(min-width:981px){
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-list>.btbs-4wd-unified-card{border-radius:15px!important;overflow:hidden!important;}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo{aspect-ratio:1.40!important;width:100%!important;height:auto!important;display:block!important;position:relative!important;overflow:hidden!important;flex:none!important;border-radius:0!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo img{width:100%!important;height:100%!important;position:absolute!important;inset:0!important;object-fit:cover!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info{padding:13px 15px 16px!important;display:flex!important;flex-direction:column!important;flex:1!important;align-items:stretch!important;gap:0!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-location{display:flex!important;margin:0 0 7px!important;font-size:11px!important;font-weight:650!important;color:#c35c31!important;order:0}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info h3{order:1;font-size:17px!important;line-height:1.30!important;min-height:44px!important;margin:0 0 8px!important;font-weight:800!important;letter-spacing:-.018em}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info>.btbs-4wd-paylater{order:2;margin:0 0 4px!important;align-self:flex-start}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-desktop-card-facts{order:3;margin:0 0 12px!important;display:block!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-facts-items .btbs-loop-card-info-item{font-size:11px!important;line-height:1.4!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-info .btbs-4wd-tour-bottom{order:5;margin-top:auto!important;border-top:0!important;padding:8px 0 0!important;justify-content:flex-start!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-button{display:none!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo .btbs-4wd-photo-rating{display:inline-flex!important;position:absolute!important;left:10px!important;bottom:10px!important;z-index:3!important;align-items:center!important;gap:3px!important;padding:4px 8px!important;border-radius:15px!important;background:rgba(0,0,0,.79)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;text-shadow:none!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo .btbs-4wd-photo-rating>span{color:#ffcf43!important}
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-tour-photo .btbs-4wd-photo-rating small{color:#fff!important;font-size:10px!important;font-weight:600!important}
  /* Full Tour Packages displays all tours as the same 4-across card, not an artificially limited carousel. */
  html body #btbs-tour-archive .btbs-4wd-archive-grid,
  html body .btbs-4wd-tour-packages-shortcode .btbs-4wd-archive-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:19px!important;align-items:stretch!important}
}
/* Shared desktop archive card uses the same measurements and markup as the Home slider card. */
@media(min-width:768px){
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card{display:flex!important;flex-direction:column!important;overflow:hidden!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-photo{position:relative!important;display:block!important;aspect-ratio:1.4!important;overflow:hidden!important;width:100%!important;flex:none!important;border-radius:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-photo-rating{display:inline-flex!important;position:absolute!important;bottom:10px!important;left:10px!important;padding:4px 8px!important;background:#09121bcc!important;border-radius:14px!important;color:white!important;font-weight:800!important;font-size:11px!important;z-index:3!important;align-items:center!important;gap:3px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-photo-rating span{color:#ffcc45!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-photo-rating small{color:#fff!important;font-size:10px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-card-wishlist{position:absolute!important;right:11px!important;top:11px!important;left:auto!important;z-index:4!important;width:34px!important;height:34px!important;background:#102c3fb3!important;color:#fff!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-card-wishlist .dashicons{color:white!important;line-height:20px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-info{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex:1!important;padding:13px 15px 17px!important;gap:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-location{display:flex!important;order:0;font-size:11px!important;color:#bf623a!important;margin:0 0 7px!important;font-weight:650!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card h3{order:1;margin:0 0 8px!important;font-size:17px!important;line-height:1.3!important;font-weight:800!important;min-height:44px!important;color:#102c3f!important;letter-spacing:-.018em}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card h3 a{color:inherit!important;text-decoration:none!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-paylater{order:2;align-self:flex-start;margin:0 0 4px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-desktop-card-facts{display:block!important;order:3;margin:0 0 12px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-mobile-card-facts{display:none!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-facts-items .btbs-loop-card-info-item{font-size:11px!important;line-height:1.4!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-rating{display:none!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-bottom{order:5;margin-top:auto!important;padding-top:8px!important;border-top:0!important;display:flex!important;justify-content:flex-start!important;min-width:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-price strong{font-size:19px!important;color:#e87825!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-price small{font-size:10px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-button{display:none!important}
}
@media(min-width:768px) and (max-width:980px){
 html body #btbs-tour-archive .btbs-4wd-archive-grid,html body .btbs-4wd-tour-packages-shortcode .btbs-4wd-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
}
/* On mobile the Home is intentionally a compact image-left tour list. Keep exactly
   the same image-left layout for Tour Packages rather than forcing a giant image card. */
@media(max-width:767px){
  html body .btbs-4wd-archive-grid{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card{display:flex!important;gap:11px!important;padding:10px!important;align-items:flex-start!important;overflow:visible!important;box-shadow:0 4px 15px #102c3f0a!important;border-radius:13px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-photo{flex:0 0 108px!important;width:108px!important;min-width:108px!important;height:119px!important;max-height:119px!important;position:relative!important;border-radius:9px!important;overflow:hidden!important;align-self:flex-start!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-card-wishlist{position:absolute!important;top:15px!important;left:82px!important;right:auto!important;width:31px!important;height:31px!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important;background:#132f40cc!important;color:#fff!important;border:0!important;z-index:2!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-card-wishlist .dashicons{color:#fff!important;font-size:17px!important;width:17px!important;height:17px!important;line-height:17px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-info{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;padding:0!important;gap:0!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-info h3{order:0;font-size:14px!important;line-height:1.3!important;font-weight:800!important;margin:4px 0 5px!important;color:#102c3f!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-info h3 a{color:inherit!important;text-decoration:none!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-location{order:1;margin:0 0 7px!important;font-size:11px!important;color:#71808d!important;line-height:1.3!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-mobile-card-facts{order:3;display:block!important;margin:0 0 6px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-desktop-card-facts{display:none!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-facts-items .btbs-loop-card-info-item{font-size:10px!important;line-height:1.3!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-paylater{order:2;align-self:flex-start;margin:0 0 5px!important;font-size:10px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-rating{order:4;display:flex!important;align-items:center!important;gap:4px!important;margin:0 0 6px!important;font-size:11px!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-rating .btbs-4wd-tour-rating-star{color:#ffb300!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-bottom{order:5;margin-top:auto!important;display:flex!important;align-items:baseline!important;gap:5px!important;flex-wrap:wrap!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-button{font-size:10px!important;color:#e87825!important}
  html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-photo-rating{display:none!important}
}
@media(max-width:350px){html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-tour-photo{flex-basis:92px!important;width:92px!important;min-width:92px!important;height:110px!important;max-height:110px!important}
html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-card-wishlist{left:66px!important}}
/* v540 finishing touches: align price on one line and make BNPL equally polished
   on the archive and shortcode, not just on Homepage. */
@media(min-width:981px){
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-unified-card .btbs-4wd-tour-price{
    display:flex!important;flex-direction:row!important;align-items:baseline!important;
    flex-wrap:wrap!important;column-gap:3px!important;line-height:1.2!important;
  }
  html body.btbs-4wd-homepage .btbs-4wd-tours .btbs-4wd-unified-card .btbs-4wd-tour-price small{
    display:inline!important;font-size:10px!important;line-height:1.3!important;
  }
}
html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-paylater{
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  padding:4px 9px!important;border:1px solid #b8e2ce!important;background:#eaf7f0!important;
  color:#176343!important;border-radius:6px!important;font-size:10px!important;
  font-weight:800!important;line-height:1.2!important;
}
html body .btbs-4wd-archive-grid>.btbs-4wd-unified-card .btbs-4wd-paylater .dashicons{
  color:#176343!important;width:13px!important;height:13px!important;line-height:13px!important;font-size:13px!important;
}
@media(max-width:767px){
  /* Preserve the user's previous mobile requirement: location sits BELOW the title. */
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-tour-info h3{order:0!important}
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-tour-location{order:1!important}
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-paylater{order:2!important}
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-mobile-card-facts{order:3!important}
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-tour-rating{order:4!important}
  html body.btbs-4wd-homepage .btbs-4wd-mobile .btbs-4wd-unified-card .btbs-4wd-tour-bottom{order:5!important}
}

/* A reliable vector heart in the wishlist control even if WordPress Dashicons are
   not loaded by the active theme; active state follows the existing JS handler. */
.btbs-4wd-unified-card .btbs-4wd-card-wishlist .dashicons{display:none!important}
.btbs-4wd-unified-card .btbs-4wd-card-wishlist .btbs-4wd-heart-svg{display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;width:19px!important;height:19px!important;flex:none!important}
.btbs-4wd-unified-card .btbs-4wd-card-wishlist.is-active .btbs-4wd-heart-svg,
.btbs-4wd-unified-card .btbs-4wd-card-wishlist[aria-pressed="true"] .btbs-4wd-heart-svg{fill:#fff!important;stroke:#fff!important}
