/*Select2 fixes for page distortion */
body {
  overflow-x: hidden !important;
}

.select2-dropdown {
  max-width: max-content !important;
}

.select2-container:has(.select2-dropdown) {
  max-width: max-content !important;
}

/* fixes end */

div[data-component="carousel-slider"].hp-listing__image.enable-loading:not(:has(.slick-initialized)) {
  display: flex;
}

div[data-component="carousel-slider"].hp-listing__image.enable-loading:not(:has(.slick-initialized)) img,
.hp-listing__images.content-slider:not(:has(.slick-initialized)) .hp-row {
  visibility: hidden;
}

div[data-component="carousel-slider"].hp-listing__image.enable-loading:not(:has(.slick-initialized))::before,
.hp-listing__images.content-slider:not(:has(.slick-initialized))::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
      90deg,
      rgba(7, 36, 86, 0.075) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(7, 36, 86, 0.075) 100%
  );

  background-size: 200% 100%;
  background-position: -200% 0;

  animation: shimmer-left-right 5s linear infinite;
}

@keyframes shimmer-left-right {
  from {
      background-position: 200% 0;
  }
  to {
      background-position: -200% 0;
  }
}

.hp-form--listing-search button[type="submit"] {
  opacity: 0.5;
  cursor: pointer;
}

.hp-form--listing-filter .hp-form__field:has([data-filter="tag"]) {
  display: none;
}