.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 100000;
    transition: 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

a[href$=".jpg"] img,
a[href$=".jpeg"] img,
a[href$=".png"] img,
a[href$=".webp"] img,
a[href$=".gif"] img {
    cursor: pointer !important;
}