.sale-countdown-container {
    background: linear-gradient(135deg, #666666, #888888);
    padding: 20px 20px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 600px;
    border: 3px solid #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sale-countdown-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sale-countdown-container .sale-word {
    font-weight: bold;
    color: red;
    text-stroke: 1px white;
    font-size:  30px;
    -webkit-text-stroke: 1px white;
}

.sale-countdown-container p {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px !important;
    letter-spacing: 2px;
}

.sale-countdown-container .countdown-timer {
    gap: 15px;
    justify-content: center;
}

.sale-countdown-container .countdown-unit-wrapper {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 10px 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    min-width: 80px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sale-countdown-container .countdown-unit {
    font-size: 36px !important;
    font-weight: bold;
    color: red;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    display: block;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.sale-countdown-container .countdown-label {
    font-size: 12px !important;
    color: #666 !important;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.sale-countdown-container .countdown-colon {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    align-self: center;
    margin-top: 10px;
}


.sale-countdown-container .countdown-unit-wrapper.flash {
    animation: saleFlash 0.3s ease-in-out;
}

.sale-countdown-container .countdown-unit-wrapper.flash .countdown-unit {
    background: transparent !important;
}

/* Fix: Make this rule specific to sale countdown only */
.sale-countdown-container .countdown-unit {
    background: transparent !important;
    font-size: 36px !important;
    font-weight: bold;
    color: red;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    display: block;
    line-height: 1;
    text-align: center;
    width: 100%;
}

/* Flash animation for sale countdown */
/*.sale-countdown-container .countdown-unit.flash {
    animation: saleFlash 0.3s ease-in-out;
}*/

@keyframes saleFlash {
    0% { 
        background: rgba(255,255,255,0.95);
        transform: scale(1);
    }
    50% { 
        background: #f5f5dc;
        transform: scale(1.03);
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    }
    100% { 
        background: rgba(255,255,255,0.95);
        transform: scale(1);
    }
}

/* Pulse effect for urgency */
/*.sale-countdown-container {
    animation: salePulse 2s infinite;
}*/

/*@keyframes salePulse {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.02);
    }
    100% { 
        transform: scale(1);
    }
}*/

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sale-countdown-container {
        margin: 20px 10px;
        padding: 20px 15px;
    }
    
    .sale-countdown-container .countdown-unit {
        font-size: 28px !important;
    }
    
    .sale-countdown-container .countdown-unit-wrapper {
        min-width: 65px;
        padding: 12px 8px;
    }
    
    .sale-countdown-container .countdown-timer {
        gap: 10px;
    }
}