/* assets/css/admin.css OR your frontend CSS */
.wise-discount-countdown {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

.wise-discount-countdown p {
    margin: 0;
    font-weight: bold;
    color: #333;
}

.wise-discount-countdown .wise-timer-display {
    color: #d9534f;
    /* Example: Red color */
    margin-left: 5px;
}

/* Promotional Banner - Cart/Checkout Notice */
.wise-promo-banner-container {
    width: 100%;
}

.wise-promo-banner-container:empty {
    display: none;
}

.wise-promo-banner {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 15px;
    line-height: 1.5;
    animation: wise-banner-fade-in 0.3s ease-out;
}

@keyframes wise-banner-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wise-promo-banner__icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 12px;
}

.wise-promo-banner__message {
    flex: 1;
}

.wise-promo-banner__message strong {
    font-weight: 600;
}

/* Banner Style Variants */
.wise-promo-banner--info {
    background-color: #e0f2fe;
    border-left: 5px solid #0284c7;
    color: #0c4a6e;
}

.wise-promo-banner--success {
    background-color: #dcfce7;
    border-left: 5px solid #16a34a;
    color: #14532d;
}

.wise-promo-banner--warning {
    background-color: #fef3c7;
    border-left: 5px solid #d97706;
    color: #78350f;
}

.wise-promo-banner--promo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left: 5px solid #764ba2;
    color: #ffffff;
}

.wise-promo-banner--gift {
    background-color: #fdf2f8;
    border-left: 5px solid #db2777;
    color: #831843;
}

/* Legacy support */
.wise-cart-notice {
    display: flex;
    align-items: center;
    padding: 1em 1.5em;
    margin-bottom: 1.5em;
    background-color: #f0f9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.wise-cart-notice::before {
    content: "\f348";
    font-family: dashicons;
    font-size: 20px;
    color: #3b82f6;
    margin-right: 10px;
}

/* Hide WooCommerce default sale badge when our badge is present */
.wise-discount-badge ~ .onsale:not(.wise-discount-badge),
.onsale:not(.wise-discount-badge):has(~ .wise-discount-badge) {
    display: none !important;
}

/* Sale Badge - Global Discount Badge */
.wise-discount-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 99 !important;
    background-color: #6b7280 !important;
    color: white !important;
    font-size: 0.85em !important;
    font-weight: 600 !important;
    padding: 0.3em 0.6em !important;
    border-radius: 3px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Also hide wise-custom-badge if it still appears (legacy) */
.wise-custom-badge {
    display: none !important;
}

/* Product page promotional content */
.wise-next-order-promo {
    margin: 1.5em 0;
    padding: 1em;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}