/* Luminous lightbox adjustments */
.mitachi-lightbox__trigger,
.mitachi-lightbox__img {
    cursor: zoom-in;
}

.mitachi-lightbox--gallery .mitachi-lightbox__img {
    cursor: zoom-in;
}

html.mitachi-lightbox-open,
body.mitachi-lightbox-open {
    overflow: hidden;
}

body.mitachi-lightbox-open {
    position: fixed;
    width: 100%;
}

.lum-lightbox {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.lum-lightbox.lum-open {
    z-index: 9999;
}

.lum-lightbox-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lum-lightbox-inner {
    padding: 24px;
}

.lum-lightbox-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lum-lightbox-inner .lum-img {
    display: block;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.lum-close-button {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.lum-gallery-button {
    background: none;
    border: none;
    box-shadow: none;
    width: 44px;
    height: 64px;
    border-radius: 6px;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
    z-index: 1001;
}

.lum-gallery-button:after {
    color: #fff;
    font-size: 24px;
}

.lum-lightbox-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #f5f5f5;
}

@media (max-width: 600px) {
    .lum-gallery-button {
        width: 36px;
        height: 52px;
    }

    .lum-lightbox-inner {
        padding: 16px;
    }

    .lum-lightbox-inner .lum-img {
        max-width: calc(100vw - 56px);
        max-height: calc(100vh - 96px);
    }
}
