/* =========================================================
   Details page gallery — OwlCarousel2
   Custom styles for the activity / tour detail galleries.
   Loaded AFTER style.css so it overrides the grid gallery.
   ========================================================= */

/* Neutralize the default grid gallery from style.css */
.tdD-gallery.owl-carousel {
  display: block;
  height: auto;
  overflow: visible;
  margin: 30px 0;
}

.tdD-gallery .owl-stage-outer {
  border-radius: 18px;
  overflow: hidden;
}

.tdD-gallery__slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Prev / next nav buttons */
.tdD-gallery .owl-nav button.owl-prev,
.tdD-gallery .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7, 35, 93, 0.85);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tdD-gallery .owl-nav button.owl-prev:hover,
.tdD-gallery .owl-nav button.owl-next:hover {
  background: #E23744;
}

.tdD-gallery .owl-nav button.owl-prev {
  left: 14px;
}

.tdD-gallery .owl-nav button.owl-next {
  right: 14px;
}

/* Dots indicator */
.tdD-gallery .owl-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.tdD-gallery .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: #d7deea;
  transition: background 0.3s ease, width 0.3s ease;
}

.tdD-gallery .owl-dots .owl-dot.active span {
  background: #07235D;
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 575px) {
  .tdD-gallery.owl-carousel {
    margin: 22px 0;
  }
}
