.modal {
    display: none;
}
.modal.modal-show {
    display: block;
    opacity: 1;
}
.modal.modal-show .modal-inner,
.modal.modal-show .modal-background {
    opacity: 1;
}
.modal-background {
    position: fixed;
    background: #00000082;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 999999999999999;
    top: 0;
}
.modal-inner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999999999999999;
    /* width: 52.778vw;
    height: 26.7vw; */
    width: 52.778vw;
    height: 40.7vw;
    opacity: 0;
    transition: opacity 0.7s ease;
    /* background: #292929; */
    border-radius: 2vw;
    /* background: url(/wp-content/uploads/2026/09/ellipse-42339.svg); */
    background: url(/wp-content/uploads/2026/09/pop-up-bg-scaled.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box-modal {
    position: relative;
    padding: 1.556vw 0 2.222vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1vw;
    width: 100%;
    min-height: 21.7vw;
}
.box-modal > svg {
    width: 11.30556vw;
    height: 3.77778vw;
    margin-bottom: 2vw;
}
.box-modal img {
    display: none;
    width: 62%;
    height: 68%;
    position: absolute;
    top: 50%;
    bottom: 0;
    z-index: -1;
    right: 0;
    left: 50%;
    border-radius: 2vw;
    /* object-fit: cover; */
    object-position: center;
    transform: translate(-50%, -50%);
}
.box-modal p {
    text-align: center;
    color: #FFFFFFCC;
    margin-top: 1.111vw;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 0;
    font-size: 1.111vw;
}
.box-modal h2 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 2.5417vw;
    line-height: 100%;
    -webkit-text-fill-color: initial;
    font-weight: 700;
    font-family: var(--title-font);
    margin-bottom: 25vw;
    text-align: center;
}
.b1__topLabel {
    position: absolute;
    left: 50%;
    top: 0.5vw;
    transform: translate(-50%, 0px);
    box-shadow: rgba(0, 0, 0, 0.25) 2.6px 3.9px 5.2px 0px;
    border-radius: 0px 0px 1.111vw 1.111vw;
    background: linear-gradient(rgb(44, 44, 44) 0%, rgb(32, 31, 27) 100%);
    padding: 0.972vw 1.944vw;
}
.b1__topLabel ul {
    display: flex;
    align-items: center;
    gap: 0.694vw;
}
.b1__topLabel ul li {
    color: rgb(255, 255, 255);
    font-size: 1.25vw;
    font-weight: 600;
    line-height: 120%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.694vw;
}
.b1__topLabel li:not(:last-child)::after {
    content: "";
    display: block;
    width: 0.556vw;
    height: 0.556vw;
    background: var(--after-bg);
    border-radius: 6.875vw;
}
.box-modal div.modal-button-box {
    margin-top: 2vw;
    width: 90%;
}
.box-modal div.modal-button-box a {
    box-shadow: rgba(0, 0, 0, 0.15) 2.6px 3.9px 5.2px 0px;
    color: white;
    border-width: 0.139vw;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-image: initial;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25vw;
    font-weight: 600;
    line-height: 120%;
    gap: 0.833vw;
    border-radius: 6.875vw;
    padding: 1.111vw 2.431vw;
    background: transparent;
    text-decoration: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.box-modal div.modal-button-box a::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    transition: 0.3s;
    z-index: -1;
    background: linear-gradient(rgb(44, 44, 44) 0%, rgb(32, 31, 27) 100%);
}
.box-modal div.modal-button-box a::after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    transition: 0.3s;
    z-index: -2;
    background: linear-gradient(rgb(68, 68, 68) 0%, rgb(32, 31, 27) 100%);
}
.box-modal div.modal-button-box a .dot{
    display: block;
    width: 0.694vw;
    min-width: 0.694vw;
    height: 0.694vw;
    box-shadow: rgba(255, 119, 29, 0.31) 0px 2.5px 6.25px;
    border-radius: 6.875vw;
    background: linear-gradient(rgb(255, 155, 89) 0%, rgb(255, 119, 29) 100%);
}
.box-modal a.modal-button {
    padding: 1vw 2.222vw 0.833vw;
    color: white;
    background-color: #f3731e;
    font-size: 1.389vw;
    text-decoration: none;
    text-transform: uppercase;
}
.box-modal a.modal-button svg {
    height: 1.736vw;
    width: 1.736vw;
}
.modal-inner .close-icon {
    position: absolute;
    top: 1vw;
    right: 1vw;
    /* top: 5.7vw;
    right: 3.7vw; */
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
    /* backdrop-filter: blur(40px); */
    border-radius: 100%;
    padding: .7vw;
    /* background-color: rgba(255, 255, 255, .5); */
}
.mobile-frame {
    display: none;
}
.box-modal-content {
    max-width: 70%;
}

/* @media screen and (max-width: 960px) and (min-width: 375px) {
    .box-modal {
        max-height: 75vh;
    }
    .box-modal > svg {
        width: 24.30556vw;
        height: 4.77778vw;
        margin-bottom: 2.667vw;
    }
    .box-modal h2 {
        font-size: 7vw;
    }
    .box-modal p {
        font-size: 4.267vw;
        margin-top: 4.267vw;
        margin-bottom: 1.4vw;
    }
} */
@media screen and (max-width: 960px) {
    .modal-inner {
        width: 53.5vw;
        height: 60vw;
        border-radius: 4vw;
        /* background: #040609; */
    }
    .box-modal-content {
        max-width: 94%;
    }
    .box-modal {
        height: auto;
        padding: 8.533vw 4.267vw 4.267vw;
        border-radius: 4.267vw;
    }
    .box-modal > svg path {
        fill: white;
    }
    .box-modal img {
        width: 61%;
        height: 51%;
    }
    .box-modal h2 {
        font-size: 5.4vw;
        margin-bottom: 65vw;
    }
    .box-modal p {
        font-size: 3.733vw;
        margin-top: 4.267vw;
        margin-bottom: 6.4vw;
    }
    .box-modal a.modal-button {
        padding: 4.533vw 9.6vw;
        font-size: 4.267vw;
        padding: 1.389vw;
    }
    .box-modal a.modal-button svg {
        height: 2.736vw;
        width: 4.736vw;
    }
    .box-modal div.modal-button-box {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .mobile-frame {
        display: block;
    }
    .desktop-frame {
        display: none;
    }
    .modal-inner {
        width: 91.467vw;
        height: auto;
    }
    .box-modal a.modal-button {
        font-size: 3.389vw;
    }
    .box-modal > svg {
        width: 32.30556vw;
        height: initial;
        margin: 5vw 0;
    }
    .box-modal a.modal-button {
        font-size: 4vw;
    }
    .box-modal a.modal-button svg {
        height: 4.736vw;
        width: 4.736vw;
    }
    .box-modal div.modal-button-box a { 
        font-size: 4.267vw;
        padding: 4.267vw 2.431vw;
    }
    .box-modal div.modal-button-box a .dot {
        width: 1.294vw;
        height: 1.294vw;
    }
    .b1__topLabel ul li {
        font-size: 3.733vw;
    }
    .b1__topLabel li:not(:last-child)::after {
        width: 1.556vw;
        height: 1.556vw;
    }
    .b1__topLabel {
        border-radius: 0px 0px 4.267vw 4.267vw;
        padding: 2.133vw 4.8vw;
    }
    .modal-inner .close-icon {
        top: -0.3vw;
        right: 0.7vw;
    }
}