#mpmt-relocation-popup {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(1200px, calc(100vw - 32px), calc((100vh - 32px) * 1200 / 577));
    max-width: none;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #343544;
    box-shadow: 0 20px 80px rgb(0 0 0 / 35%);
}

@supports (height: 100dvh) {
    #mpmt-relocation-popup {
        width: min(1200px, calc(100vw - 32px), calc((100dvh - 32px) * 1200 / 577));
        max-height: calc(100dvh - 32px);
    }
}

#mpmt-relocation-popup:not([open]) {
    display: none;
}

#mpmt-relocation-popup::backdrop {
    background: rgb(0 0 0 / 65%);
}

#mpmt-relocation-popup .mpmt-relocation-popup__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 577;
    background: url("../img/popup-demenagement.jpg") center / contain no-repeat;
}

#mpmt-relocation-popup[lang="en-CA"] .mpmt-relocation-popup__image {
    background-image: url("../img/popup-demenagement-eng.jpg");
}

#mpmt-relocation-popup .mpmt-relocation-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 50%;
    background: #343544;
    color: #fff;
    cursor: pointer;
    appearance: none;
}

#mpmt-relocation-popup .mpmt-relocation-popup__close:hover {
    background: #008d9d;
}

#mpmt-relocation-popup .mpmt-relocation-popup__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

html.mpmt-relocation-popup-open,
html.mpmt-relocation-popup-open body {
    overflow: hidden;
}
