/* ============================================
   LIGHTBOX - clique na foto do carrossel amplia (desktop)
   ============================================ */

/* Cursor de zoom nas imagens clicáveis (desktop apenas) */
@media (min-width: 769px) {
    .carousel-slide img,
    [class$="-carousel-slide"] img,
    .meet-bianca-slide img,
    .meet-lourinha-slide img {
        cursor: zoom-in;
    }
}

/* Overlay do lightbox */
.qm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.qm-lightbox.is-open {
    display: flex;
    opacity: 1;
}

.qm-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    touch-action: pinch-zoom; /* permite zoom com os dedos no mobile */
}

/* Botão fechar */
.qm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.qm-lightbox-close:hover {
    opacity: 1;
}
