/* Carousel - Opción 3: object-fit: cover con max-width */
.carousel-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    padding: 0;
    margin-top: 30px;
    max-width: 890px;
   
}

.carousel-image {
    object-fit: cover;
    width: 100%;
    height: 400px;
}

.carousel-indicators li {
    background-color: #b05785;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #d81bd8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    background-size: 100% 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

@media (max-width: 768px) {
    .carousel-image {
        height: auto;
       max-height: 300px;
        object-fit: contain;
        background-color: #fff; 
    }
} 


.carousel-indicators {
    bottom: 7px; 
}

/* clic en la imagen */
@media (max-width: 768px) {
  #preview-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 120vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  #preview-overlay img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    padding: 10px;
  }

  
  
}



