/* Peptira Product Controller — PDF Lightbox */

#pps-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pps-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

#pps-lightbox-container {
    position: relative;
    z-index: 1;
    width: 92vw;
    height: 92vh;
    max-width: 1100px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

#pps-lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

#pps-lightbox-close:hover { background: rgba(0,0,0,0.85); }

#pps-lightbox-zoom-controls {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 10;
    display: flex;
    gap: 6px;
}

#pps-lightbox-zoom-controls button {
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

#pps-lightbox-zoom-controls button:hover { background: rgba(0,0,0,0.85); }

#pps-lightbox-content {
    flex: 1;
    overflow: hidden;
}

#pps-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Animate in */
#pps-lightbox.pps-lb-open #pps-lightbox-container {
    animation: ppsLbIn 0.2s ease;
}

@keyframes ppsLbIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
