.mfp-bg {
    position: fixed;
    z-index: 1102;
    overflow: hidden;
    background-color: rgb(0 0 0 / .7);
    inset: 0;
    opacity: 0;
    transition: all 0.45s cubic-bezier(.19,1,.22,1)
}

    .mfp-bg.mfp-ready {
        opacity: 1
    }

    .mfp-bg.mfp-removing {
        opacity: 0
    }

.mfp-wrap {
    position: fixed;
    z-index: 1103;
    outline: none !important;
    inset: var(--wd-admin-bar-h) 0 0 0;
    -webkit-backface-visibility: hidden;
    direction: ltr
}

.mfp-container {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl
}

.mfp-content {
    position: relative;
    z-index: 1105;
    margin-block: auto;
    width: 100%
}

.mfp-hide {
    display: none !important
}

.mfp-s-ready .mfp-preloader, .mfp-s-error .mfp-content {
    display: none
}

.mfp-wrap ~ :is(.wd-close-side,.wd-side-hidden) {
    z-index: 900;
    pointer-events: none
}

.wd-popup {
    position: relative;
    display: none;
    margin: 50px auto;
    padding: var(--wd-popup-padding,30px);
    width: 100%;
    max-width: var(--wd-popup-width,800px);
    border-radius: var(--wd-brd-radius);
    background-color: var(--bgcolor-white);
    content-visibility: unset !important
}

.mfp-wrap .wd-popup {
    display: block
}

.wd-popup.wd-with-video {
    --wd-popup-padding: .001px;
    --wd-popup-width: 900px;
    background-color: #000;
    line-height: 0
}

    .wd-popup.wd-with-video :is(video,iframe) {
        width: 100%;
        border-radius: var(--wd-brd-radius)
    }

    .wd-popup.wd-with-video iframe {
        aspect-ratio: 16 / 9
    }

.wd-popup-slide-from-left .wd-popup {
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(.19,1,.22,1),transform 0.45s cubic-bezier(.19,1,.22,1);
    transform: translateX(100px)
}

.wd-popup-slide-from-left.mfp-ready .wd-popup {
    opacity: 1;
    transform: none
}

.wd-popup-slide-from-left.mfp-removing .wd-popup {
    opacity: 0;
    transform: translateX(-100px)
}

.wd-popup-slide-from-left.mfp-removing .mfp-close {
    display: none
}

button.mfp-close {
    position: absolute;
    top: -50px;
    inset-inline-end: -15px;
    gap: 0;
    z-index: 1104;
    padding: 0;
    width: 50px;
    height: 50px;
    min-height: unset;
    background: none;
    color: #fff;
    font-weight: 400;
    font-size: 0;
    opacity: 1;
    touch-action: manipulation;
    opacity: 0;
    transition: all .25s ease,opacity 0s ease 0s
}

    button.mfp-close:after {
        font-size: 20px;
        content: "\f112";
        font-family: "woodmart-font"
    }

    button.mfp-close:hover {
        background-color: #fff0;
        color: rgb(255 255 255 / .8)
    }

.mfp-ready button.mfp-close {
    opacity: 1;
    transition: all .25s ease,opacity .3s ease .35s
}
