.pzp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    touch-action: none; /* Permite capturar gestos táctiles */
}

.pzp-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    touch-action: none;
}

.pzp-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.pzp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    backdrop-filter: blur(5px);
    transition: all 0.2s;
    touch-action: manipulation;
}

.pzp-close:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

@media (hover: hover) {
    .pzp-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
}