.vfw-lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--vfw-z-overlay, 1000);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--vfw-space-xl);
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.vfw-lightbox-open {
    opacity: 1;
    visibility: visible;
}

.vfw-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.vfw-lightbox-image {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--vfw-border-radius);
}

.vfw-lightbox-frame {
    width: 88vw;
    height: 82vh;
    border: none;
    background: var(--vfw-color-surface);
    border-radius: var(--vfw-border-radius);
}

.vfw-lightbox-close,
.vfw-lightbox-prev,
.vfw-lightbox-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.vfw-lightbox-close:hover,
.vfw-lightbox-prev:hover,
.vfw-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.28);
}

.vfw-lightbox-close:disabled,
.vfw-lightbox-prev:disabled,
.vfw-lightbox-next:disabled {
    opacity: 0.35;
    cursor: default;
}

.vfw-lightbox-close {
    top: var(--vfw-space-md);
    right: var(--vfw-space-md);
}

.vfw-lightbox-prev {
    left: var(--vfw-space-md);
}

.vfw-lightbox-next {
    right: var(--vfw-space-md);
}

.vfw-lightbox-counter {
    position: absolute;
    top: var(--vfw-space-md);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--vfw-font-size-body-sm);
}

.vfw-lightbox-caption {
    position: absolute;
    bottom: var(--vfw-space-lg);
    left: 50%;
    transform: translateX(-50%);
    max-width: 80vw;
    color: #ffffff;
    font-size: var(--vfw-font-size-body-sm);
    text-align: center;
}
/* @audited cfw style=2b30f9edacd3 */
