
.ppg-photo-gallery a {
    cursor: zoom-in;
}

.ppg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.96);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.ppg-lightbox[hidden] {
    display: none !important;
}

.ppg-lb-image {
    max-width: 85vw;
    max-height: 70vh;
    object-fit: contain;
    touch-action: pan-y;
}

.ppg-lb-btn {
    position: absolute;
    background: rgba(255,255,255,.15);
    color: white;
    border: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
}

.ppg-lb-btn:hover {
    background: #c91d27;
}

.ppg-lb-close {
    top: 15px;
    right: 15px;
}

.ppg-lb-prev {
    left: 15px;
    top: 45%;
}

.ppg-lb-next {
    right: 15px;
    top: 45%;
}

.ppg-lb-counter {
    margin-bottom: 12px;
    font-size: 14px;
}

.ppg-lb-thumbs {
    display: flex;
    gap: 8px;
    max-width: 90vw;
    overflow-x: auto;
    padding: 12px 4px;
    margin-top: 10px;
}

.ppg-lb-thumbs button {
    flex: 0 0 75px;
    padding: 0;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    opacity: .55;
}

.ppg-lb-thumbs button.active {
    border-color: #c91d27;
    opacity: 1;
}

.ppg-lb-thumbs img {
    width: 75px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .ppg-lb-image {
        max-width: 95vw;
        max-height: 65vh;
    }

    .ppg-lb-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .ppg-lb-prev {
        left: 5px;
    }

    .ppg-lb-next {
        right: 5px;
    }
}
