/* Sale Badges CSS - Styles for sale and discount badges */

.sale-badge,
.discount-badge,
.sale-label {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    margin-left: 0.5rem;
}

.sale-badge.hot {
    background: linear-gradient(135deg, #ff9500, #ff6600);
}

.sale-badge.new {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.sale-banner {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sale-banner h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.sale-banner .countdown {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    min-height: 1.4rem;
    line-height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}

.sale-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Dark theme adjustments */
body.dark-theme .sale-badge,
body.dark-theme .discount-badge {
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}
