/* Single Image Slider */
.kionera-single-slider {
  position: relative;
  max-width: 700px;
  width: 100%;
  height: 600px !important;
  /* background: #3d2518; */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kionera-single-slider-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.kionera-single-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.kionera-single-slide {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kionera-single-slide::before {
  content: '';
  position: absolute;
  top: 14%;
  left: 0%;
  width: 94%;
  height: 83%;
  background: #4141413d; /* Overlay for better text visibility */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  z-index: -1;
}

.kionera-single-slide.active {
  opacity: 1;
}

.kionera-single-slide img {
  width: 660px; /* 500px */
  height: 515px; /* 400px */
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.kionera-single-slider-dots {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.kionera-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kionera-dot.active {
  width: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.kionera-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.elementor-widget-kionera_single_image_slider .elementor-widget-container{
  display: flex;
  justify-content: center;
}

/* Responsivo */
@media (max-width: 768px) {
  .kionera-single-slider {
    height: 300px;
    border-radius: 12px;
  }
  
  .kionera-single-slide {
    padding: 15px;
  }
  
  .kionera-single-slide img {
    border-radius: 8px;
  }
  
  .kionera-single-slider-dots {
    bottom: 15px;
  }
  
  .kionera-dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .kionera-single-slider {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    height: 350px !important;
    border-radius: 8px;
  }
  
  .kionera-single-slide {
    padding: 10px;
  }
  
  .kionera-single-slide img {
      position: relative;
      top: -16px;
      right: -7px;
      width: 93%;
      height: 235px;
      max-height: 250px;
      border-radius: 6px;
  }
  
  .kionera-single-slider-dots {
    bottom: 10px;
    gap: 6px;
  }
  
  .kionera-dot {
    width: 7px;
    height: 7px;
  }

  .kionera-single-slide::before {
      top: 18%;
      left: 2%;
      width: 100%;
      max-width: 88%;
      height: 240px;
  }
}