  
  
  
  
  
  
  /*---------------------------------------_*/
  
  
  .ivory-gallery-slider{
  position: relative;
  margin-top: 20px;
}
.ivory-gallery-slider__viewport{
  overflow: hidden;
  width: 100%;
}
.ivory-gallery-slider__track{
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.ivory-gallery-slide{
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 0 12px;
  box-sizing: border-box;
}
.ivory-gallery-slide .gallery-img{
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.ivory-gallery-slide .gallery-img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ivory-gallery-slide .gallery-img a.popup-gallery-item{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.ivory-gallery-slide .gallery-img:hover a.popup-gallery-item{
  opacity: 1;
}
 
.ivory-gallery-slider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}
.ivory-gallery-slider__arrow:hover{
  background: #f1f1f1;
}
.ivory-gallery-slider__arrow--prev{ left: -18px; }
.ivory-gallery-slider__arrow--next{ right: -18px; }
.ivory-gallery-slider__arrow:disabled{
  opacity: 0.35;
  cursor: default;
}
 
.ivory-gallery-slider__dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.ivory-gallery-slider__dots button{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #d8d8d8;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ivory-gallery-slider__dots button.is-active{
  background: #333;
  transform: scale(1.2);
}
 
@media (max-width: 991px){
  .ivory-gallery-slide{
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 575px){
  .ivory-gallery-slide{
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ivory-gallery-slider__arrow--prev{ left: 4px; }
  .ivory-gallery-slider__arrow--next{ right: 4px; }
}