.comebacker {
    width: 770px;
    height: 450px;
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: #F2C05F;
    border-radius: 10px;
    overflow-x: hidden;
}
.comebacker.active {
    display: block;
}
.cb-top {
    height: 100px;
    display: flex;
    align-items: flex-end;
    position: relative;
}
.cb-top p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    text-transform: uppercase;
    color: #396B10;
    position: relative;
    left: 50%;
    top: 25%;
    width: 45%;
}
.cb-top img {
    position: absolute;
    top: 17px;
    right: 17px;
    cursor: pointer;
}
.cb-bottom {
    display: flex;
    flex-direction: row;
    padding-bottom: 50px;
}
.cb-bottom p {
    font-weight: bold;
    font-size: 30px;
    line-height: 37px;
    text-transform: uppercase;
    color: #717171;
}
.popup-image {
    position: relative;
    width: 50%;
}
.popup-image img {
    position: absolute;
    left: 0;
    bottom: -50px;
    max-width: 410px;
}
.popup-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 28px;
}
.popup-details > * {
    margin: 10px 0;
}
.popup-details p {
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
    color: #FFFFFF;
}
.popup-details p span {
    font-weight: 700;
}
.comebacker-timer {
    display: flex;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    align-items: center;
}
.timer-wrapper {
    font-family: 'Montserrat', sans-serif;
    width: 100px;
    height: 70px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.timer-digit {
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}
.timer-wrapper span {
    font-weight: 300;
    font-size: 8px;
    line-height: 9px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}
.timer-dots {
    color: #ffffff;
    font-size: 40px;
    line-height: 47px;
}
.popup-order {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(178.81deg, #FFB800 4.44%, #D95600 95.06%);
    border-radius: 10px;
    width: 270px;
    height: 60px;
    margin: 20px 0 0 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-order:hover {
    background: #FFB800;
}
.comebacker-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}
.comebacker-overlay.active {
    display: block;
}

@media (max-width: 1024px) {
    .comebacker {
        max-width: 708px;
    }
}

@media (max-width: 767px) {
    .comebacker {
        width: 320px;
        max-width: 320px;
        height: auto;
    }
    .cb-top p {
        left: 0;
        width: 75%;
        text-align: center;
        top: -50%;
        font-size: 20px;
        line-height: 25px;
        margin: 0 auto;
    }
    .cb-bottom {
        flex-direction: column;
    }
    .cb-bottom p {
        text-align: center;
    }
    .popup-details {
        align-items: center;
    }
    .popup-details p {
        font-size: 18px;
        line-height: 20px;
    }
    .popup-image {
        margin: 0 auto;
        height: 20px;
        width: 90%;
    }
    .popup-image img {
        max-width: 100%;
        bottom: -185%;
        left: 50%;
        transform: translateX(-50%);
    }
    .cb-top {
        height: 200px;
        padding-bottom: 70px;
    }
    .cb-top img {
        top: 20px;
        right: 20px;
        width: 7%;
    }
    .timer-wrapper {
        height: 54px;
        width: 80px;
    }
}