.lightbox-trigger {
    cursor: zoom-in;
    transition: opacity .2s ease;
}
.lightbox-trigger:hover {
    opacity: .85;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
    user-select: none;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox-btn {
    position: absolute;
    border: 0;
    background: rgba(96, 10, 10, .85);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 52px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease;
}
.lightbox-btn:hover {
    background: #b93737;
}
.lightbox-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.lightbox-close {
    top: 20px;
    right: 20px;
}
.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    letter-spacing: .05em;
}
@media (max-width: 575px) {
    .lightbox-img { max-width: 100vw; border-radius: 0; }
    .lightbox-btn { width: 42px; height: 42px; line-height: 42px; font-size: 22px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
