.acf-block-branze-owl-gallery-view {
  position: relative;
  margin-bottom: 24px;
}
.acf-block-branze-owl-gallery-view .acf-gallery-carousel .gallery-slide {
  position: relative;
  text-align: left;
}
.acf-block-branze-owl-gallery-view .acf-gallery-carousel .gallery-slide:after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 24px;
  z-index: 10;
  pointer-events: none;
  background-image: url(../../assets/img/max-fancybox-img.svg);
}

.acf-block-branze-owl-gallery-view .acf-gallery-carousel img {
  width: 100%;
  height: auto;
  display: block;
}

.acf-block-branze-owl-gallery-view .slide-caption-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.acf-block-branze-owl-gallery-view .slide-caption {
  font-size: 14px;
  color: #333;
  flex: 1;
}

.acf-block-branze-owl-gallery-view .owl-carousel .owl-dots {
  display: none !important; /* Ukrywamy domyślne kropki */
}
.acf-block-branze-owl-gallery-view .custom-dots-placeholder {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  bottom: 10px;
}

.acf-block-branze-owl-gallery-view .custom-dots-placeholder .dot {
  width: 6px;
  height: 6px;
  background-color: #666666;
  border-radius: 3px;
  transition: all 0.3s;
}

.acf-block-branze-owl-gallery-view .custom-dots-placeholder .dot.active {
  width: 12px;
  background-color: #666666;
}

.acf-block-branze-owl-gallery-view .owl-carousel .fadeOut {
  animation-name: fadeOut;
}

.acf-block-branze-owl-gallery-view .owl-carousel .fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
