/* Sale Carousel Component */
.sale-carousel-wrapper {
    position: relative;
}

.sale-container {
    overflow: hidden;
    border-left: solid 1px #f0f0f0;
    border-right: solid 1px #f0f0f0;
    padding: 10px 0;
}

.sale-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(203, 54, 55, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sale-scroll-btn:hover:not(:disabled) {
    background: rgba(157, 44, 45, 0.95);
}

.sale-scroll-btn:disabled {
    background: rgba(204, 204, 204, 0.7);
    cursor: not-allowed;
}

.sale-scroll-btn--left {
    left: -20px;
}

.sale-scroll-btn--right {
    right: -20px;
}

.sale-container ul.sale {
    display: flex;
    scroll-behavior: smooth;
    margin: 0;
    transition: transform 0.3s ease;
}

.sale-container .sale li {
    margin-left: 10px;
    height: 60px;
    width: 234px;
    flex-shrink: 0;
    font-size: 0;
}

.sale-container .sale li:last-child {
    margin-right: 0;
}

/* Mobile styles */
@media screen and (max-width: 770px) {
    .sale-carousel-wrapper {
        display: block;
    }

    .sale-scroll-btn {
        display: none;
    }

    .sale-container {
        border: none;
        padding: 0;
    }

    .sale-container ul.sale {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
        display: flex;
        justify-content: flex-start;

        & li {
            margin-left: 1px;
        }
    }
}