/* ===== Лайтбокс ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 25, 35, .92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 94vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
    background: #fff;
}

.lightbox-caption {
    color: #dce6ee;
    margin-top: 12px;
    font-size: 15px;
    text-align: center;
    max-width: 80vw;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 8px;
}

.lightbox-close:hover { color: #ffb4a8; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 12px 18px;
    opacity: .8;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
