.mt-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 18, 22, 0.88);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mt-lightbox-overlay.show {
    display: flex;
}

.mt-lightbox-box {
    width: min(980px, 100%);
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: mtLightboxZoom 0.25s ease;
}

.mt-lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #071C22;
    display: block;
}

.mt-lightbox-content {
    padding: 20px 24px;
}

.mt-lightbox-title {
    font-size: 21px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 6px;
}

.mt-lightbox-description {
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

.mt-lightbox-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    font-size: 26px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}

.mt-lightbox-close:hover {
    background: #008194;
    color: #ffffff;
}

.mt-gallery-image,
.gallery-page-image {
    cursor: zoom-in;
}

body.mt-lightbox-open {
    overflow: hidden;
}

@keyframes mtLightboxZoom {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 575px) {
    .mt-lightbox-overlay {
        padding: 14px;
    }

    .mt-lightbox-box {
        border-radius: 22px;
    }

    .mt-lightbox-image {
        max-height: 65vh;
    }

    .mt-lightbox-content {
        padding: 16px;
    }

    .mt-lightbox-title {
        font-size: 18px;
    }

    .mt-lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 23px;
        right: 12px;
        top: 12px;
    }
}
