/* Add custom CSS styles below */ 
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-width: 400px;
    width: 90%;
    text-align: center;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.coupon-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.coupon-image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

.coupon-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.coupon-header {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.coupon-subheader {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.countdown-timer {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.discount-text {
    font-size: 20px;
    color: #2ecc71;
    font-weight: bold;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }
    
    .coupon-header {
        font-size: 20px;
    }
    
    .coupon-subheader {
        font-size: 16px;
    }
    
    .countdown-timer {
        font-size: 16px;
    }
}

div.popup-overlay > div > div > div:nth-child(4) img {
    width: 200px !important;
    margin: auto;
}