.zi-3fc20e8f-trigger {
    cursor: zoom-in;
    display: inline-block;
}
.zi-3fc20e8f-trigger img {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s;
}
.zi-3fc20e8f-trigger:hover img {
    transform: scale(1.02);
}

body.admin-bar .zi-3fc20e8f-lightbox {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .zi-3fc20e8f-lightbox {
        top: 46px;
    }
}
.zi-3fc20e8f-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: ziFadeIn 0.3s ease;
}
.zi-3fc20e8f-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    animation: ziScaleIn 0.3s ease;
}
.zi-3fc20e8f-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
}
.zi-3fc20e8f-close:hover {
    color: #ddd;
}
.zi-3fc20e8f-download {
    position: absolute;
    top: 25px;
    right: 80px;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.zi-3fc20e8f-download:hover {
    color: #ddd;
}
@keyframes ziFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ziScaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}