/* Property Gallery Slider Styles with SwiperJS */
.property-gallery-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
}

/* Thumbnail Slider Styles */
.thumbnail-slider {
  border-radius: 12px;
  padding: 20px;
  background: #d3d6e0;
  margin: 0px;
}

.thumbnail-slider .swiper-wrapper {
  justify-content: center;
  gap: 20px;
  margin: 0px;
}

.thumbnail-slider .swiper-slide {
  width: auto !important;
  margin-right: 0px !important;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-slider .swiper-slide:not(.swiper-slide-thumb-active) {
  opacity: 0.7;
}

.thumbnail-slider .swiper-slide.swiper-slide-thumb-active {
  border-color: #007cba;
  transform: scale(1.05);
}

.thumbnail-slider .swiper-slide img {
  width: 93px;
  height: 94px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Main Image Slider Styles */
.main-slider {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}

.main-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.main-slider .swiper-slide img {
  width: 100%;
  height: 583px !important;
  object-fit: cover;
  display: block;
}

/* Custom Navigation Styles */
.main-pagation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1e57df;
  width: fit-content;
  margin: 30px auto 0px auto;
  padding: 10px;
  border-radius: 100px;
}

.left-icon,
.right-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #fff;
  outline: none;
}

.left-icon:hover,
.right-icon:hover {
  background: #e28756;
}

.left-icon.swiper-button-disabled,
.right-icon.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.left-icon .icon-svg,
.right-icon .icon-svg {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(96%) contrast(86%);
  transition: filter 0.3s ease;
}

.left-icon:hover .icon-svg,
.right-icon:hover .icon-svg {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
    hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Dash Pagination */
.dash-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dash {
  width: 30px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dash.active {
  background: #e28756;
  transform: scaleX(1.2);
}

.dash:hover {
  background: #e28756;
}

/* Responsive Design */
@media (max-width: 768px) {
  .thumbnail-slider .swiper-slide img {
    width: 60px;
    height: 45px;
  }

  .main-slider .swiper-slide img {
    height: 300px;
  }

  .left-icon,
  .right-icon {
    width: 35px;
    height: 35px;
  }

  .left-icon .icon-svg,
  .right-icon .icon-svg {
    width: 16px;
    height: 16px;
  }

  .dash {
    width: 20px;
    height: 3px;
  }

  .main-pagation {
    gap: 15px;
    padding: 15px 0;
  }
}

@media (max-width: 480px) {
  .thumbnail-slider {
    padding: 0 5px;
  }

  .thumbnail-slider .swiper-slide img {
    width: 50px;
    height: 38px;
  }

  .main-slider .swiper-slide img {
    height: 250px;
  }

  .main-pagation {
    gap: 10px;
  }

  .dash {
    width: 15px;
  }
}

/* Loading and No Images States */
.property-gallery-slider.loading {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-gallery-slider.loading::before {
  content: "Loading gallery...";
  color: #666;
  font-style: italic;
}

.property-gallery-slider.no-images {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border: 2px dashed #ddd;
}

.property-gallery-slider.no-images::before {
  content: "No images available";
  color: #999;
  font-style: italic;
}
