/* Popup Master Frontend Styles */
.popup-master-front {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-content.small {
    width: 90%;
    max-width: 400px;
}

.popup-content.medium {
    width: 90%;
    max-width: 600px;
}

.popup-content.big {
    width: 90%;
    max-width: 800px;
}

.popup-inner {
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.countdown-timer {
    font-size: 24px;
    margin: 20px 0;
    font-weight: bold;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
}

.whatsapp-button, .buy-now-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.whatsapp-button img, .buy-now-button img {
    max-height: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

.close-button {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s;
}

.close-button:hover {
    opacity: 0.9;
}

.product-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.popup-inner h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .popup-inner {
        padding: 20px;
    }
    
    .countdown-timer {
        font-size: 20px;
    }
    
    .popup-inner h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98%;
        margin: 10px;
    }
    
    .countdown-timer {
        font-size: 16px;
    }
    
    .whatsapp-button, .buy-now-button, .close-button {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 14px;
    }
    
    .popup-inner h2 {
        font-size: 18px;
    }
}