/* Menu Modal */
.vtp-mm-btn {
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Modal */
.vtp-mm-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vtp-mm-modal--open {
    opacity: 1;
}

.vtp-mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: -1;
}

.vtp-mm-modal__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.vtp-mm-modal__img {
    width: 100%;
    max-width: 100vw;
    min-height: 360px;
    position: relative;
    z-index: 1;
}

.vtp-mm-modal__img img {
    max-height: 90vh;
    object-fit: contain;
}

.vtp-mm-modal__img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Close button - same style as partner modal */
.vtp-mm-close {
    position: fixed !important;
    top: 16px !important;
    right: 40px !important;
    z-index: 1000001 !important;
    width: 45px !important;
    height: 45px !important;
    min-width: unset !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.vtp-mm-close svg {
    width: 25px !important;
    height: 25px !important;
    color: #fff !important;
    stroke: #fff !important;
    flex-shrink: 0;
}

.vtp-mm-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 767px) {
    .vtp-mm-modal__inner {
        padding: 20px;
    }

    .vtp-mm-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .vtp-mm-close svg {
        width: 20px !important;
        height: 20px !important;
    }
}
