.twiddy-perk {
    padding: 5px 10px;
    display: inline-block;
    border: 2px dashed #ddd;
}
.twiddy-perk p {
    margin: 0;
}

.scavenger-bg {
  position: relative;
  z-index: 1;
}

.scavenger-bg::before,
.scavenger-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 250px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

/* Top path */
.scavenger-bg::before {
  top: 0;
  transform: rotate(185deg);
  background-image: url("data:image/svg+xml,%3Csvg width='1000' height='100' viewBox='0 0 1000 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C150,150 350,-50 500,50 C650,150 850,-50 1000,50' fill='none' stroke='%23ccc' stroke-width='2' stroke-dasharray='10 8'/%3E%3C/svg%3E");
}

/* Bottom path */
.scavenger-bg::after {
  bottom: 0;
  right: -100px;
  transform: rotate(-15deg);
  background-image: url("data:image/svg+xml,%3Csvg width='1000' height='100' viewBox='0 0 1000 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C200,-50 400,150 600,50 C800,-50 900,150 1000,50' fill='none' stroke='%23ccc' stroke-width='2' stroke-dasharray='10 8'/%3E%3C/svg%3E");
}


.offcanvas-map {
  position: sticky;
  overflow: hidden;
  height: 100vh;
  top: 0;
  width: 100%;
}
@media (max-width:1199px) {
.offcanvas-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-radius: 0 !important;
}
}
.offcanvas-map.active {
  transform: translateY(0);
}
.offcanvas-map {
    width: 100%;
    flex: 0 0 100%;
}
#offcanvasFilters .offcanvas-content h6 {
    font-size: 14px;
    font-weight: bold;
}
.filters-sidebar-filter-wrap:not(:first-child) {
    border-top: 1px solid #efefef;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
#offcanvasFilters .offcanvas-footer {
    position: fixed;
    bottom: 0;
}
@media (max-width: 991px) { 
#offcanvasFilters .offcanvas-content {
    overflow-y: scroll;
    height: calc(100vh - 7rem);
}
}
@media (max-width:1199px) {
.offcanvas-map #map {
  border-radius: 0 !important;
}
}
@media (min-width: 1199px) {
  .offcanvas-map {
    width: 350px;
    flex: 0 0 350px;
  }
  .offcanvas-map #map {
      height: 100% !important;
  }
}
@media (max-width: 991px) { 
.listings-container-buttons {
    border-bottom: 1px solid #efefef;
    position: sticky;
    top: 0;
    background: #fff;
    margin-left: -25px;
    margin-right: -25px;
    padding: 20px 25px;
    z-index: 5;
}
}
 .preferred {
     display: flex;
     align-items: center;
     white-space: nowrap;
     /*color: #d19d00;*/
     font-weight: bold;
     justify-content: center;
     font-size: 12px;
     text-transform: uppercase;
     letter-spacing: 1px;
     cursor: default;
 }
 .preferred i {
     font-size: 14px;
 }
 #map .gm-style .gm-style-iw-chr {
     height: 0 !important;
 }
  .container-fluid, .container {
    /*max-width: 1600px !important;*/
    padding-left: 25px;
    padding-right: 25px;
  }
  .page-hero-image {
    background: #000; 
  }
  .page-hero-image img {
    opacity: 0.7; 
  }
  .page-hero-light .page-hero-image img {
    opacity: 1; 
    z-index: 1;
  }
  .page-hero p {
    max-width: 1060px;
  }
  @media (min-width: 992px) {
  #listings-container-wrap {
      border-left: 1px solid #efefef;
  }
  }

    .card-amenities ul > li {
  padding: 1px 10px;
  background: rgba(0, 0, 0, .05);
  border-radius: 20px;
  margin-right: 5px !important;
  margin-bottom: 5px !important;
  margin-top: 5px !important;
  position: relative;
}
.card-amenities ul > li:after {
  display: none;
}
  .vacation-guide-result {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1.5rem;
  }
  .vacation-guide-result-image {
      width: 120px;
      max-width: 35%;
      float: right;
      margin-left: 1rem;
      margin-bottom: 1rem;
  }
  @media (min-width: 768px) {
       .vacation-guide-result-image {
          width: 150px;
          flex: 0 0 150px;
          float: none;
          padding-right: 1.5rem;
      }
  }
  .vacation-guide-result img {
      aspect-ratio: 1/1;
      object-fit: cover;
      object-position: 50% 50%;
      width: 100%;
  }

  /* Sidebar filters */
  #offcanvasFilters {
    width: 180px;
    flex: 0 0 180px;
    transition: transform 0.3s ease-in-out;
    font-size: 0.9rem;
  }
  @media (min-width: 1200px) {
    #offcanvasFilters {
        width: 180px;
        flex: 0 0 180px;
    }
  }
    @media (max-width: 1199px) {
     #offcanvasFilters {
         height: 100vh;   
     }
    }

  /* Hide on mobile */
  @media (max-width: 991.98px) {
    #offcanvasFilters {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 1040;
      transform: translateX(-100%);
      position: fixed;
    }
    #offcanvasFilters.active {
      transform: translateX(0);
    }
    #offcanvasBackdrop {
      display: none;
    }
    #offcanvasBackdrop.active {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1030;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
    }
  }

  /* Prevent scroll when offcanvas open */
  body.offcanvas-open {
    overflow: hidden;
  }
  
  
  .card-img-background .card-img-top-wrap {
      border-radius: 8px !important;
      overflow: hidden;
      aspect-ratio: 800/600;
  }
  .card-body-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    background: rgba(0,0,0,0.1);
background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  }
  
  
  
.tags-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.tags-carousel.slick-initialized {
   display: block;   
}

.tags-carousel .card {
    text-align: center;
    width: 190px;
    flex: 0 0 190px;
}

@media (min-width: 768px) {
    .tags-carousel .card {
        width: 153px;
        flex: 0 0 153px;
    }
}

@media (min-width: 992px) {
    .tags-carousel .card {
        width: 143px;
        flex: 0 0 143px;
    }
}

@media (min-width: 1200px) {
    .tags-carousel .card {
        width: 190px;
        flex: 0 0 190px;
    }
}

@media (max-width:767px) {
    .tags-carousel {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .tags-carousel .card {
        text-align: center;
        width: calc(80% / 3);
        flex: 0 0 calc(80% / 3);
        scroll-snap-align: start;
    }
}
