/*
*
* Estilos del modal en Promociones para ver las imagenes mas grandes.
*
*/
.modal-image-viewer {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.modal-image-viewer .modal-content {
    max-width: 90%;
    max-height: 80vh;
    transition: transform 0.4s ease;
}

.modal-image-viewer.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.promnocion--imagen img, .img-modal-trigger {
    cursor: pointer;
}

/* 🔒 Desactivar modal en mobile */
@media (max-width: 767px) {
    .modal-image-viewer {
        display: none !important;
    }

    .img-modal-trigger {
        pointer-events: none; /* Evita que se dispare el JS en mobile */
    }

    /* ocultar el btn + info */
    .mas-info-promo {
        display: none !important;
    }
}