/* Overlay e popup */
.ec-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  z-index: 200000
}

.ec-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  border-radius: 16px;
  max-width: min(90vw, 740px);
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35)
}

.ec-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: #fff;
  color: #111;
  width: 36px;
  height: 36px;
  padding: 0px !important;
  border-radius: 999px;
  font-size: 18px;
  line-height: 36px;
  cursor: pointer;
  z-index: 3
}

.ec-popup-close:hover {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: #46c0b6;
  color: white;
  width: 36px;
  height: 36px;
  padding: 0px !important;
  border-radius: 999px;
  font-size: 18px;
  line-height: 36px;
  cursor: pointer;
  z-index: 3
}
/* Carrossel puro JS */
.ec-carousel {
  position: relative;
  width: 100%;
  height: auto
}

.ec-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform
}

.ec-slide {
  min-width: 100%
}

.ec-slide img {
  display: block;
  width: 100%;
  height: auto
}

/* Botões */
.ec-prev,
.ec-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .6);
  color: #fff;
  border: 0;
  padding: 0px !important;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2
}

.ec-prev:hover,
.ec-next:hover {
  background: #46c0b6 !important;
  color: white !important;
}

.ec-prev {
  left: 10px
}

.ec-next {
  right: 10px
}

/* Paginação */
.ec-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 10px
}

.ec-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #999
}

.ec-dots button:hover {
  background: #46c0b6 !important;
  color: white !important;
}

.ec-dots button[aria-current="true"] {
  background: #fff
}