.comebacker {
    width: 770px;
    height: 500px;
    font-family: 'Lato', 'Roboto', sans-serif;
    position: fixed;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.comebacker.active {
    display: block;
}
.cb-top {
    background: linear-gradient(179.84deg, #FF9900 22.66%, #FF4D00 79.3%);
    height: 165px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.cb-top p {
    position: relative;
    left: 50%;
    top: 25%;
    width: 45%;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 35px;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}
.cb-top img {
    position: absolute;
    top: 17px;
    right: 17px;
    cursor: pointer;
}
.cb-bottom {
    display: flex;
    flex-direction: row;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #ffffff;
    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: -25px;
    max-width: 370px;
}
.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-size: 25px;
    line-height: 35px;
    color: #343434;
    font-family: 'Roboto Slab', serif;
    text-transform: initial;
}
.comebacker-timer {
    display: flex;
    justify-content: space-between;
    width: 308px;
}
.timer-wrapper {
    font-family: 'Roboto SlaB', serif;
    width: 70px;
    height: 60px;
    background: #418262;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.timer-digit {
    font-weight: bold;
    font-size: 30px;
    line-height: 35px;
    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: #418262;
    font-size: 25px;
    line-height: 55px;
    margin: 0 10px;
}
.popup-order {
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #F44545;
    border-radius: 5px;
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.2);
    width: 308px;
    height: 70px;
    line-height: 32px;
    margin: 20px 0 0 0;
    text-decoration: none;
}
.popup-order:visited {
    color: #ffffff;
}
.popup-order:hover {
    color: #ffffff;
}
.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 {
        max-width: 320px;
        height: auto;
    }
    .comebacker-timer {
        width: 280px;
    }
    .cb-top p {
        left: 0;
        width: 100%;
        text-align: center;
        top: 20%;
    }
    .cb-bottom {
        flex-direction: column;
    }
    .cb-bottom p {
        text-align: center;
    }
    .popup-details {
        align-items: center;
    }
    .popup-order {
        width: 280px;
    }
    .popup-image {
        margin: 0 auto;
        height: 20px;
    }
    .popup-image img {
        max-width: 100%;
        bottom: -185%;
        left: 40%;
        transform: translateX(-50%);
    }
    .cb-top {
        height: 200px;
        padding-bottom: 60px;
    }
    .cb-top img {
        top: 20px;
        right: 20px;
        width: 7%;
    }
}