/* BDS Gallery Slider Styles */
.bds-gallery-slider {
  position: relative;
  width: 100%;
}

.bds-main-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}

.bds-main-slider .bds-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bds-main-slider .bds-slide.active {
  display: block;
  opacity: 1;
}

.bds-main-slider .bds-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation arrows */
.bds-nav-prev,
.bds-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bds-nav-prev:hover,
.bds-nav-next:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.bds-nav-prev {
  left: 15px;
}

.bds-nav-next {
  right: 15px;
}

.bds-nav-prev:before {
  content: '‹';
}

.bds-nav-next:before {
  content: '›';
}

/* Thumbnail slider */
.bds-thumb-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding: 5px 0;
}

.bds-thumb-container::-webkit-scrollbar {
  height: 6px;
}

.bds-thumb-container::-webkit-scrollbar-track {
  background: transparent;
}

.bds-thumb-container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.bds-thumb-slider {
  display: flex;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.bds-thumb {
  flex: 0 0 auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 5px;
}

.bds-thumb:hover {
  opacity: 0.8;
}

.bds-thumb.active {
  opacity: 1;
  border-color: #428bca;
}

.bds-thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

/* Page info */
.slider-page-info {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 5;
}

.slider-page-info-text {
  display: inline-block;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .bds-nav-prev,
  .bds-nav-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .bds-nav-prev {
    left: 10px;
  }
  
  .bds-nav-next {
    right: 10px;
  }
  
  .slider-page-info {
    bottom: 5px;
    right: 5px;
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .bds-thumb img {
    height: 60px;
  }
}

