/* Lote: lightbox (#5) + compartir nativo oculto en escritorio */
.rp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 12, .92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.rp-lightbox.open { display: flex; }
.rp-lightbox figure { margin: 0; max-width: min(94vw, 1400px); text-align: center; }
.rp-lightbox img {
    max-width: 94vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 60px rgba(0,0,0,.5);
    transition: transform .2s ease;
    cursor: zoom-out;
}
.rp-lightbox.zoomed img { max-width: none; max-height: none; transform: scale(1.6); cursor: grab; }
.rp-lightbox figcaption { color: #ddd; font-size: .85rem; margin-top: .6rem; }
.rp-lb-close, .rp-lb-prev, .rp-lb-next {
    position: absolute;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px; height: 42px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.rp-lb-close { top: 14px; right: 14px; }
.rp-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.rp-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.rp-lb-prev:hover, .rp-lb-next:hover, .rp-lb-close:hover { background: rgba(255,255,255,.28); }
.rp-lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #bbb; font-size: .8rem; }

/* Compartir nativo: solo en móvil/tablet */
.share-native { display: none; }
@media (max-width: 1023.98px) {
    .share-native, .share-inline .share-native { display: inline-flex; }
}
