

/* Zoom que sigue al cursor en pantallas grandes 
@media (min-width: 576px) {
    .slider-principal img {
        border-radius: 10px;
    }
}*/

/* Clase para ocultar el swiper principal y miniaturas */
.hidden {
    display: none !important;
}

/* Clase para deshabilitar el scroll en el cuerpo */
.no-scroll {
    overflow: hidden;
    height: 50%;
}

.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.96);
    z-index: 99999;
    overflow: hidden;
}

.image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    touch-action: manipulation;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(109, 14, 14, 0.575);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    z-index: 1000;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    z-index: 999;
}

.modal-arrow-left {
    left: 12px;
}

.modal-arrow-right {
    right: 12px;
}

.modal-arrow:active,
.modal-close:active {
    transform: translateY(-50%) scale(0.92);
}

.modal-close:active {
    transform: scale(0.92);
}

/* Ocultar flechas si sólo existe una imagen */
.modal-arrow.hidden {
    display: none;
}

.no-scroll{
    overflow:hidden;
    position:fixed;
    width:100%;
}
