.pp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.pp-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pp-modal {
    position: relative;
    max-width: 520px;
    width: 92%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pp-overlay.active .pp-modal {
    transform: scale(1);
}

.pp-modal img {
    width: 100%;
    display: block;
}

.pp-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

@media (max-width: 600px) {
    .pp-modal {
        max-width: 95%;
    }
}