/* CSS for to_top */
#top_items {
    position: relative;
    border: 3px solid #EDEDED;
    padding: 20px 0;
    border-radius: 10px;
    background: #FCFCFC;
    overflow: hidden;
}

#top_items::before {
    content: attr(data-title); /* Fetch translation from HTML attribute */
    position: absolute;
    top: 10px;
    left: 15px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 15px;

}

.product-card-row__item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#top_items .product-card-row__item{
    margin-top: 20px;
    background: transparent;
}

#top_items .halls-serives-card-info__profession{
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -moz-box;
    display: -webkit-box;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
#top_items .product-card-row__item {
    width: 20%;
}
#productList .product-card-row__item{
    width: 20%;
}

@media all and (max-width: 950px) {
    #productList .product-card-row__item{
        width: 25%;
    }
    #top_items .product-card-row__item {
        width: 25%;
    }
}
@media all and (max-width: 767px) {
    #productList .product-card-row__item{
        width: 33.333%;
    }
    #top_items .product-card-row__item {
        width: 33.333%;
    }
}
@media all and (max-width: 575px) {
    #productList .product-card-row__item{
        width: 50%;
    }
    #top_items .product-card-row__item {
        width: 50%;
    }
}
@media all and (max-width: 375px) {
    #productList .product-card-row__item{
        width: 100%;
    }
    #top_items .product-card-row__item {
        width: 100%;
    }
}
