.comebacker {
    width: 970px;
    height: 535px;
    font-family: 'Open Sans', '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: radial-gradient(50% 367.71% at 50% 50%, #288848 0%, #003609 100%);
    height: 165px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.cb-top p {
    position: relative;
    left: 50%;
    top: 20%;
    width: 45%;
    font-family: 'Open Sans', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}
.cb-top img {
    position: absolute;
    top: 17px;
    right: 17px;
    cursor: pointer;
}
.cb-bottom {
    height: 370px;
    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: -30px;
    max-width: 500px;
}
.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: 'Open Sans', sans-serif;
    text-transform: initial;
}
.comebacker-timer {
    display: flex;
    justify-content: space-between;
    width: 308px;
}
.timer-wrapper {
    font-family: 'Open Sans', sans-serif;
    width: 70px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #E7FFDC;
    border: 1px solid #E7FFDC;
    border-radius: 5px;
}
.timer-digit {
    font-weight: bold;
    font-size: 30px;
    line-height: 35px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #003720;
}
.timer-wrapper span {
    font-weight: 300;
    font-size: 8px;
    line-height: 9px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #003720;
}
.timer-dots {
    color: #F5F5F5;
    font-size: 25px;
    line-height: 55px;
    margin: 0 10px;
}
.popup-order {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    background: linear-gradient(97.49deg, #FF0000 0%, #FF9900 100%);
    border-radius: 10px;
    width: 370px;
    height: 60px;
    line-height: 60px;
    margin: 0;
    text-decoration: none;
}
.popup-order:visited {
    color: #ffffff;
}
.popup-order:hover {
    color: #ffffff;
}
.popup-details .prices {
    display: flex;
    font-family: 'Roboto', sans-serif;
    justify-content: space-between;
    margin: 21px 0;
}
.popup-details .price {
    text-align: center;
    padding: 9px 15px;
    width: 156px;
    height: 72px;
}
.popup-details div.old-price p {
    color: #9E9E9E;
    position: relative;
}
.popup-details div.new-price {
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 5px;
}
.popup-details div.new-price p {
    color: #FF0000;
}
.popup-details .price-title {
    font-weight: bold;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.popup-details .price-digits {
    font-weight: bold;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: 0.04em;
}
.popup-details .old-price {
    color: #9E9E9E;
    position: relative;
    background: #F7F7F7;
    border: 1px solid #D2D2D2;
    border-radius: 5px;
    margin-right: 14px;
}
.popup-details .old-price::after {
    content: "";
    display: block;
    position: absolute;
    width: 166px;
    height: 1px;
    top: 49%;
    left: -3%;
    background-color: #D2D2D2;
    transform: rotate(-24deg);
}
.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;
    }
    .popup-image img {
        left: -50px;
        max-width: 450px;
    }
    .popup-order {
        width: 326px;
    }
}

@media (max-width: 767px) {
    .comebacker {
        max-width: 320px;
        height: auto;
        top: 0;
        transform: translate(-50%, 0);
    }
    .comebacker-timer {
        width: 280px;
    }
    .cb-top p {
        left: 0;
        width: 100%;
        text-align: center;
        top: 20%;
        font-size: 30px;
        line-height: 35px;
    }
    .cb-bottom {
        flex-direction: column;
        height: 500px;
    }
    .cb-bottom p {
        text-align: center;
        font-size: 21px;
        line-height: 45px;
    }
    .popup-details {
        align-items: center;
        margin-top: 110px;
        padding: 0 20px;
    }
    .popup-details .old-price::after {
        width: 140px;
    }
    .popup-order {
        width: 280px;
    }
    .popup-image {
        margin: 0 auto;
        height: 20px;
    }
    .popup-image img {
        max-width: 150%;
        bottom: -150px;
        left: 48%;
        transform: translateX(-50%);
    }
    .cb-top {
        height: 165px;
        padding-bottom: 0px;
    }
    .cb-top img {
        top: 20px;
        right: 20px;
        width: 7%;
    }
    .popup-details .price:last-child {
        margin-right: 0;
    }
    .prices {
        width: 100%;
    }
    .prices .price {
        width: 48%;
    }
}