/* ADZ Carousel - basic responsive styles */
.adzc-carousel {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.adzc-carousel .adzc-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.adzc-carousel.fade .adzc-track {
  transition: none;
  position: relative;
}

.adzc-carousel .adzc-slide {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.adzc-carousel.fade .adzc-slide {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  opacity:0;
  transition: opacity 0.4s ease;
}

.adzc-carousel.fade .adzc-slide.active {
  opacity:1;
  z-index:2;
}

.adzc-carousel .adzc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adzc-caption {
  position: absolute;
  left: 0; right: 0;
  padding: 16px 20px;
  color: #fff;
  background: rgba(0,0,0,0.45);
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
}

.adzc-title { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.adzc-text { margin: 0; }

/* Positions */
.adzc-carousel[data-textpos="overlay-bottom"] .adzc-caption { bottom: 0; }
.adzc-carousel[data-textpos="overlay-top"]    .adzc-caption { top: 0; }
.adzc-carousel[data-textpos="below"] .adzc-caption {
  position: static;
  background: transparent;
  color: inherit;
  padding: 8px 0 0;
}

/* Navigation */
.adzc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  z-index: 5;
}

.adzc-prev { left: 10px; }
.adzc-next { right: 10px; }

.adzc-dots {
  position: absolute;
  bottom: 10px; left: 0; right:0;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 4;
}

.adzc-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.adzc-dots button.active {
  background: rgba(255,255,255,1);
}

/* Admin helpers */
#adzc-slides-list { margin-top: 12px; }
.adzc-slide-item { background:#fff; border:1px solid #ddd; padding:12px; margin-bottom:10px; }
.adzc-slide-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.adzc-field { margin-bottom:12px; }
