.random-sale-products {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: stretch;
    row-gap: 10px;
}

.sale-product {
    border: 1px solid #000;
    border-radius: 0;
    width: 33%;
    padding: 5px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center; /* יישור תוכן ותמונה למרכז */
}

.sale_product_img {
    width: 30%;
}

.sale_product_img img {
    max-height: 150px !important;
    width: auto !important;
    display: block; /* מניעת תזוזות */
}

.sale_product_info {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* יישור מרכזי אנכי */
    align-items: center;
}

.sale_product_info h2, .sale_product_info a {
    font-size: 18px;
    text-align: center;
    color: #000;
    font-weight: 400;
    margin-bottom: 10px;
}

.sale_product_info .price {
    color: #000;
    font-weight: 700;
    font-size: 18px;
}

.sale-product .home_sale-countdown_outer div.sale-countdown {
    margin-top: 15px;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 0px;
    justify-content: center;
}

.collector a.category-button {
    width: fit-content;
    background: #9EBEE5;
    padding: 1px 10px;
    border-radius: 15px;
    font-size: 13px;
    text-align: center;
    min-height: 0;
}

.more-items-text {
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

span.cross_price {
    color: #888;
    font-weight: 400;
    font-size: 16px;
    text-decoration: line-through;
}

@media(max-width: 500px) {
    .collector a.category-button {
        font-size: 10px;
        font-weight: 700;
    }

    .product-categories {
        max-height: 25px;
        overflow: hidden;
    }

    .random-sale-products {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px;
    }

    .sale-product {
        flex: 0 0 70%;
        scroll-snap-align: start;
        padding: 5px;
        display: flex;
        flex-direction: row;
        align-items: center; /* יישור מרכזי */
        justify-content: center;
        align-content: center;
    }

    .sale_product_img {
        width: 25%;
    }

    .sale_product_img img {
        max-height: 120px !important;
    }

    .sale_product_info {
        width: 75%;
        justify-content: center;
    }

    .sale_product_info h2, .sale_product_info a {
        font-size: 14px;
    }

    .sale_product_info .price {
        font-size: 16px;
    }

    .sale_product_info h2 {
        max-height: 45px;
        overflow: hidden;
    }

    span.cross_price {
        font-size: 13px;
    }
}
