.flash-sale-cont {
    position: relative;
}

/* CSS for the flash sale strip */
.flash-sale-strip {
    background-image: url(../../public/images/flash-sale-strip.png);

    background-repeat: repeat-x;
    width: 100%;
    height: 20px;
    animation: scrollBackground 30s linear infinite;
}

@keyframes scrollBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -200px 0;
    }
}

.flash-sale-strip-top {
    position: absolute;
    top: 0px;
}

.flash-sale-strip-bottom {
    position: absolute;
    bottom: 0px;
}


@keyframes scrollBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -200px 0;
    }
}


.timer {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;

    position: absolute;
    top: 30px;
    right: 24px;

    border-radius: 10px;
}

.flash-sale_next {
    right: -10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
}

.flash-sale_prev {
    left: -10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
}


.sale-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f99f05;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 5px;
}

.discount {
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}


.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #000;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 70px;
}

.countdown-value {
    font-size: 24px;
    font-weight: bold;
    color: #f99f05;
    line-height: 1;
}

.countdown-label {
    font-size: 12px;
    color: #ffffff;
    margin-left: 5px;
    text-transform: uppercase;
    font-weight: normal;
}

.countdown-separator {
    font-size: 20px;
    font-weight: bold;
    color: #f99f05;

}

.countdown-ended {
    font-size: 24px;
    color: #f99f05;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .countdown-container {
        gap: 5px;
    }

    .countdown-item {
        padding: 8px 12px;
        min-width: 60px;
    }

    .countdown-value {
        font-size: 20px;
    }

    .countdown-label {
        font-size: 11px;
    }

    .countdown-separator {
        font-size: 18px;
    }

    .timer {

        top: 29px !important;
        right: 12px !important;
    }

    @media (max-width: 480px) {
        .countdown-container {
            gap: 3px;
        }

        .promotion-banner-new {
            width: 100%;
            height: 14vh;
            margin: 16px;
        }

        .countdown-item {
            padding: 5px 8px;
            min-width: 40px;
        }

        .countdown-value {
            font-size: 15px;
        }

        .countdown-label {
            font-size: 10px;
        }

        .countdown-separator {
            font-size: 16px;
        }
    }


    .promotion-banner-new {
        width: 100%;

        margin: 0px;
    }

    .promotion-section-home {
        margin-bottom: 32px;
    }


}