.comebacker {
    width: 770px;
    height: 500px;
    font-family: 'Montserrat', 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(94.19deg, #D4FC79 0%, #96E6A1 100%);
    height: 165px;
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.cb-top p {
    position: relative;
    left: 50%;
    top: 30%;
    width: 45%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 0.04em;
    color: #393939;
    text-transform: uppercase;
}
.cb-top img {
    position: absolute;
    top: 17px;
    right: 17px;
    cursor: pointer;
}
.cb-bottom {
    height: 335px;
    display: flex;
    flex-direction: row;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #ffffff;
    padding-bottom: 50px;
}
.cb-bottom p {
    font-weight: bold;
    font-size: 30px;
    line-height: 37px;
    text-transform: uppercase;
    background: linear-gradient(93.76deg, #F09819 0%, #FF5858 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.popup-image {
    position: relative;
    width: 58%;
}
.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: 30px;
    line-height: 37px;
    color: #6F463F;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.comebacker-timer {
    display: flex;
    justify-content: space-between;
    width: 308px;
}
.timer-wrapper {
    width: 84px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #CCF97F;
    border: none;
    border-radius: 15px;
}
.timer-digit {
    font-weight: bold;
    font-size: 30px;
    line-height: 35px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #393939;
}
.timer-wrapper span {
    font-weight: 300;
    font-size: 8px;
    line-height: 9px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #393939;
}
.timer-dots {
    color: #D2D2D2;
    font-size: 25px;
    line-height: 55px;
    margin: 0 10px;
}
.btn-container {
    margin: 33px 0 0;
    border-radius: 50px;
    padding: 6px; 
}
  
.comebacker-order-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    background: #FF5858;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    margin: 0 auto; 
}
  
  .comebacker-btn::after {
    content: '';
    position: absolute;
    display: block;
    height: 70px;
    width: 300px;
    background: transparent;
    border: 1px solid #FFEDEC;
    border-radius: 50px;
    top: -9px;
    left: -11px; 
}
  
  .comebacker-btn:hover {
    background: #DC4F44; 
}
  
  .comebacker-btn:active {
    background: linear-gradient(180deg, #FE6E63 0%, #8F1208 100%); 
}

.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: 4px;
        max-width: 327px;
    }
    .popup-order {
        width: 326px;
    }
}

@media (max-width: 767px) {
    .comebacker {
        max-width: 320px;
        height: auto;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .comebacker-timer {
        width: 280px;
    }
    .cb-top p {
        left: 0;
        width: 100%;
        text-align: center;
        top: 15%;
        font-size: 30px;
        line-height: 35px;
    }
    .cb-bottom {
        flex-direction: column;
        height: 300px;
    }
    .cb-bottom p {
        text-align: center;
        font-size: 24px;
        line-height: 29px;
    }
    .popup-details {
        align-items: center;
        margin-top: 42px;
        padding: 0 20px;
    }
    .popup-details .old-price::after {
        width: 140px;
    }
    .popup-order {
        width: 280px;
    }
    .popup-image {
        margin: 0 auto;
        height: 20px;
        top: 45px;
    }
    .popup-image img {
        max-width: 150%;
        bottom: -900%;
        left: 48%;
        transform: translateX(-50%);
    }
    .cb-top {
        height: 200px;
        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%;
    }
    .btn-container {
        margin: 5px 0 0;
    }
}