:root {
  --orange: #ff7600;
  --white: #ffffff;
}

html {
  font-size: 16px;
}

.loader {
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid orange;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.list-layout .utf_listing_item_content p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: normal;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;

  &.clamp-1 {
    -webkit-line-clamp: 1 !important;
  }

  &.clamp-2 {
    -webkit-line-clamp: 2 !important;
  }

  &.clamp-3 {
    -webkit-line-clamp: 3 !important;
  }

  &.clamp-4 {
    -webkit-line-clamp: 4 !important;
  }
}

.utf_listing_item-image {
  min-height: auto !important;
  flex: 0 0 auto !important;
}

img.scale-in {
  object-fit: contain;
}

img.scale-out {
  object-fit: cover;
}

.overlay_dark_part:before {
  background: rgba(0, 0, 0, 0.2) !important;
}

.utf_box {
  background: rgba(0, 0, 0, 0.6) !important;
}

.contest-title {
  color: white;
}

.contest-description {
  display: none;
  color: white;
}

.category_item_box:hover .contest-description {
  display: block;
}

.img-shake,
.img-shake2 {
  transition: width 2s, height 2s, transform 3s;
}

.img-shake2:hover {
  transform: rotatez(5deg);
}

.img-shake2:hover ~ .img-shake {
  width: 200px !important;
  height: 200px !important;
  transform: rotatez(-10deg);
}

.img-shake:hover {
  width: 200px !important;
  height: 200px !important;
  transform: rotatez(-10deg);
}

/*  trending css --- */

.trending-cover-img {
  /* & h3 {
    font-size: 15px;
  } */

  & p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 20px;
  }

  & .cover-details {
    background-color: red;
    color: white;
    font-size: 12px;
    height: 22px;
    width: auto;
    border-radius: 2px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
  }
}

.trendingSwiper {
  & .card-img-top {
    aspect-ratio: 3/2;
    object-fit: cover;
    max-height: -webkit-fill-available;
    width: -webkit-fill-available;
  }

  & .card-body {
    padding: 0.5rem 1rem;

    & .card-title {
      margin-bottom: 0.5rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 2.2em;
      line-height: 1.1em;
      font-weight: 600;
      margin-top: 0.5rem;
      font-size: inherit;
    }

    & .rating {
      color: var(--orange) !important;
    }

    & .trending-price {
      background-color: red;
      color: white;
      font-size: 12px;
      height: 22px;
      width: 45px;
      border-radius: 2px;
      font-weight: bold;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.trending-item span.price {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  opacity: 1;
  background: rgba(255, 34, 34, 0.8);
  padding: 2px 7px;
  border-radius: 4px;
}

/* new */

.img-gradient {
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%;
}

.img-gradient111:after {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 10%),
    rgba(0, 0, 0, 30%),
    rgba(0, 0, 0, 80%)
  );
}

.img-gradient img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.trending-box {
  border: 1px solid lightgray;
  border-radius: 10px 10px 10px 10px;
  overflow: hidden;
  /* flex-wrap: nowrap; */
}

.trending-box .detail {
  color: white;
  width: -webkit-fill-available;
  background: linear-gradient(
    rgba(0, 0, 0, 10%),
    rgba(0, 0, 0, 30%),
    rgba(0, 0, 0, 80%)
  );

  & h3 {
    color: white;
    margin: 5px 0;
  }
}

.trending-cover-img .detail-text {
  max-height: 0;
  transition: max-height 2s ease-out;
  overflow: hidden;
  line-height: 20px;

  & .detail-text-body {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

.trending-cover-img:hover .detail-text {
  max-height: 150px;
  transition: max-height 2s ease-in;
}

.trending-cover-img {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.trendingSwiper .swiper-slide {
  box-shadow: 2px 3px 6px 1px;
  margin: 10px 10px 10px 0;
}

.trendingSwiper .blog_compact_part {
  max-height: 260px;
}

.trendingSwiper .blog_compact_part-container {
  margin: 10px 0;
}

section.fullwidth_block .utf_listing_item-container,
.fs-content .utf_listing_item-container {
  box-shadow: 0 3px 5px 0 #888 !important;
  height: auto !important;
  min-height: unset !important;
}

.dropdown-toggle::after {
  content: unset !important;
}

@media screen and (min-width: 400px) and (max-width: 767px) {
  .trending-box {
    flex-wrap: wrap;
  }

  .img-gradient {
    width: inherit;
  }

  .trending-cover-img {
    width: 100%;
  }
}

/*  trending css --- */

* {
  box-sizing: border-box;
}

body {
  font: 16px Arial;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type="text"] {
  /* background-color: #f1f1f1; */
  width: 100%;
}

input[type="submit"] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* filters css */

.filter-section {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  height: 100vh;
  width: 100vw;
  z-index: 2001;
  background-color: #000000aa;
  justify-content: center;
  align-items: center;
}

.filter-section > .filter-content {
  position: relative;
  background-color: white;
  display: flex;
  height: 80vh;
  width: 60vw;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .filter-section > .filter-content {
    width: 80vw;
    top: -8vh;
  }
}

.filter-header,
.filter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.filter-header {
  height: 60px;
  border-bottom: 1px solid lightgrey;
}

.filter-footer {
  height: 60px;
  border-top: 1px solid lightgrey;
}

.filter-body {
  display: flex;
  width: 100%;
  height: inherit;
  overflow-y: scroll;
}

span.close {
  font-size: xx-large;
  padding: 14px;
}

span.close:hover {
  color: #ff7600;
}

body {
  /*overflow: hidden;*/
  margin: 0;
  /*filter: blur(3px);*/
}

.filter_item_section {
  /* border-radius: 4px; */
  /* background-color: #fff; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  /* box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.08); */
  padding: 0 30px 30px 30px;
  width: 100%;
  float: left;
}

.checkboxes label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
  display: inherit;
}

/* Button Group css */

/*
.btn-group {}
*/

.btn-group .button {
  flex: 1;
  margin: 0;
  background-color: rgba(255, 118, 0, 0.06);
  color: #ff7600;
  text-align: center;
}

.btn-group .button.active {
  background-color: #ff7600;
  color: white;
}

.btn-group .button:first-child {
  border-radius: 4px 0 0 4px;
}

.btn-group .button:last-child {
  border-radius: 0 4px 4px 0;
}

.utf_listing_section .utf_room_detail ul li {
  display: inline-block;
  font-weight: 600;
  color: #888;
  position: relative;
  font-size: 13px;
  line-height: 16px;
  border-radius: 4px;
  padding: 4px 4px;
  margin: 2px 2px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* .utf_listing_item-container.list-layout .utf_listing_item-inner {
	position: absolute;
	top: 12px;
	transform: unset;
	left: 12px;
	padding-right: 20px;
} */

.utf_listing_item-inner .utf_listing-amanities-grid ul {
  font-size: 13px;
  font-weight: bold;
  /* display: grid;
	gap: 5px;
	grid-template-columns: repeat(3, 1fr); */
  display: inline-flex;
  gap: 24px;
}

.utf_listing_item-inner .utf_listing-amanities-grid ul li {
  margin-right: 10px;
}

.list-layout .utf_listing_item-inner .utf_star_rating_section {
  margin-top: 7px;
  margin-left: 2px;
}

.utf_listing_item_content .utf_star_rating_section .utf_counter_star_rating {
  /* top: -3px; */
  margin-left: 0;
}

.imgCont {
  border-radius: 4px 4px 0 0;
  display: block;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.imgCont img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.imgGalleryCont {
  display: flex;
  flex-direction: column;
}

.imgGallery {
  flex-grow: 1;
  min-height: 0;
}

@media (max-width: 991px) {
  .imgThumbList {
    width: 100% !important;
  }
}

.utf_listing_item-container.list-layout .utf_listing_item-inner h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.listing-tags {
  display: inline-flex;
  flex-wrap: wrap;
  /* column-gap: 4px; */
  /* margin: 4px 0; */
  margin-bottom: 5px;
  width: 100%;
}

.listing-tags span {
  width: max-content;
  /* padding: 2px 4px; */
  color: grey;
  /* color: var(--orange) !important; */
  border-radius: 2px;
  font-size: 14px;
}

.listing-tags span i {
  color: gray;
  font-size: 16px;
  vertical-align: middle;
  width: unset;
}

.utf_listing_item-inner1 {
  padding: 10px;
}

span.listing_claimed-address {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #3878c7 !important;
}

.btn-review-selector {
  background-color: #ff7600;
  padding: 5px;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.utf_listing_head {
  display: flex;
  justify-content: space-between;
}

#header_part.fixed {
  z-index: unset;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: #ff9500 #f0e2bd;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #f0e2bd;
}

*::-webkit-scrollbar-thumb {
  background-color: #ff9500;
  border-radius: 4px;
  border: 0px none #f0e2bd;
}

.featured-showcase {
  & .showcase-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;

    & .image {
      & img {
        aspect-ratio: 3/2;
        object-fit: cover;
      }
    }

    & .detail {
      position: absolute;
      padding: 0 10px;
      bottom: 0;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 00%,
        rgba(0, 0, 0, 0.6) 25%,
        rgba(22, 22, 23, 0.4) 80%,
        rgba(0, 0, 0, 0) 100%
      );

      & .detail-text {
        max-height: 0;
        color: white;
      }
    }
  }
}

.showcase-item:hover .detail-text {
  max-height: 150px !important;
  transition: max-height 2s ease-in;
}

:root {
  --swiper-navigation-size: 16px;
  --swiper-theme-color: white;
  --swiper-navigation-color: var(--orange);
}

.swiper-button-next,
.swiper-button-prev {
  border-radius: 50%;
  padding: 16px;
  font-weight: bolder;
  background: #ffffffc4;
  box-shadow: 0 0 4px 0 #00000052;
}

span.cicon {
  display: flex;
  align-items: center;
  margin: 0 !important;

  & svg.icon {
    width: 20px;
    height: 20px;
    fill: grey;
    stroke: grey;
  }
}

/* Add this to your CSS file */
@media (min-width: 768px) {
  .view-events-desktop {
    display: block !important;
  }

  .view-events-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .view-events-desktop {
    display: none !important;
  }

  .view-events-mobile {
    display: block !important;
  }
}

/* Normalized UI for Action Row (Reviews, Request Info, Quick View) */
.utf_star_rating_section,
.quick-view {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #808080 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
  /* Override legacy stylesheet rules */
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  padding: 0 !important;
  z-index: 1 !important;
  border-radius: 0 !important;
}

.utf_listing_item_content span {
  /* display: inline-block !important; */
  /* margin-left: 2px !important; */
  font-size: 14px !important;
  color: unset !important;
  font-weight: unset !important;
}

.checkboxes label {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #808080 !important;
  cursor: pointer;
  user-select: none;
  line-height: normal !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 0 0 24px !important; /* Leave space for the absolute pseudo-checkbox */
  position: relative !important;
}

.checkboxes label:before {
  width: 18px !important;
  height: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important; /* Perfect circle */
  transition: all 0.2s ease !important;
}

.checkboxes input[type="checkbox"]:checked + label:before {
  background-color: #ff7600 !important; /* Brand Orange */
  border-color: #ff7600 !important;
}

/* Reviews Badge Styling */
.utf_star_rating_section .utf_counter_star_rating {
  background: #54ba1d !important; /* Green like screenshot */
  color: #fff !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  line-height: normal !important;
  margin-right: 4px !important;
  margin-left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px;
}

/* Icon inside rating badge */
.utf_star_rating_section .utf_counter_star_rating i {
  font-size: 12px !important;
  color: #fff !important;
  margin: 0 !important;
}

.checkboxes {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  cursor: pointer;
}

.checkboxes.d-none,
.checkboxes[hidden] {
  display: none !important;
}

.checkboxes input[type="checkbox"] {
  display: none !important; /* Hide original, the theme uses label:before */
}

/* Quick View Styling */
.quick-view {
  cursor: pointer;
  gap: 4px !important;
}

.quick-view i {
  transition: transform 0.3s ease;
  font-size: 16px !important;
  color: #ff7600 !important; /* Arrow icon orange */
  display: flex !important;
  align-items: center !important;
  height: 14px;
  margin-top: -1px !important;
}

.details-open .quick-view i {
  transform: rotate(180deg);
  margin-top: 1px !important;
}

.listing-action-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  bottom: 0;
  width: 100%;
}

/* GQ Normalized Design System */
.gq-listing-content-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  position: relative !important;
  left: 4px !important;
  top: 0px !important;
  padding: 0px 6px !important;
  transform: none !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .gq-listing-content-inner {
    left: 0px !important;
    top: 4px !important;
    padding: 5px !important;
  }
}

.gq-listing-content-inner h3 {
  color: #333 !important;
  /* margin-bottom: 5px !important; */
  transition: color 0.3s ease !important;
}

.utf_listing_item:hover .gq-listing-content-inner h3,
.gq-listing-content-inner h3:hover {
  color: #ff7600 !important;
  font-weight: 700 !important;
}

.gq-listing-content-inner .gq-address {
  color: #707070 !important;
  font-size: 14px !important;
  display: block;
  margin-bottom: 5px !important;
}

.gq-listing-content-inner .gq-address i {
  color: #ff7600 !important;
  margin-right: 2px !important;
}

.gq-action-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  margin-top: 4px !important;
}

@media (min-width: 768px) {
  .gq-action-row {
    gap: 20px;
  }
}

.gq-quick-view-wrapper {
  width: auto !important;
  text-align: right !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .gq-quick-view-wrapper {
    display: inline-block !important;
  }
}

.gq-small-map {
  flex: 1;
  height: auto;
}

.like-icon-disabled {
  display: none !important;
}

/* Ensure images don't get squashed in normalized layout */
.utf_listing_item-container.list-layout .utf_listing_item {
  height: auto !important;
  min-height: unset !important;
}

/* nav css */
.nav-tabs {
  border: none !important;
  background: #f8f9fa !important;
  padding: 6px !important;
  border-radius: 12px !important;
  display: flex !important;
  gap: 8px !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 5px !important;
  scrollbar-width: none;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tabs .nav-link {
  border: none !important;
  border-radius: 8px !important;
  color: #666 !important;
  font-weight: 600 !important;
  /* padding: 10px 22px !important; */
  font-size: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background-color: transparent !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.nav-tabs .nav-link:hover {
  color: var(--orange) !important;
  background-color: rgba(255, 118, 0, 0.08) !important;
  transform: translateY(-1px) !important;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: var(--orange) !important;
  box-shadow: 0 6px 15px rgba(255, 118, 0, 0.3) !important;
  transform: scale(1.02) !important;
}

/* nav view color */
.nav-view-color {
  color: var(--orange) !important;
}

.image-glow {
  filter: drop-shadow(0 0 0.75rem rgb(255, 149, 0, 0.5));
}
