.head {
    padding: 10px 0 0;
}

.container {
    display: flex;
    width: 100%;
    justify-content: center;
}


.head {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cat_flex {
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: center;
}

.cat_filter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.sort-select {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    padding: 0 50px 0 0 ;
}

.sort-select label {
    margin-right: 10px;
}

#sortOptions {
    padding: 5px 10px;
    font-size: 16px;
    color: #333;
    border: 0 solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}

#sortOptions:focus {
    outline: none;
    border-color: #999;
}

.cat_results_count{
    display: flex;
    justify-content: center;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;

}

. .category-select{
    width: 100%;
}

.text-block h1{
    display: flex;
    justify-content: center;
}
.text-block {
    width: 100%;
}

.sort-select label {
    margin: 0 10px 0 10px;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.cat_flex {
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: center;
    width: 100%;
}

#setup-pi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
/*product-item-pi*/
.product-item-pi img {
    object-fit: cover;
    border-radius: 14px;
    width: 100%;
}


.product-item-pi .price {

    font-weight: 700;
    color: #000000;
    font-size: 16px;
    display: flex;
    justify-content: start;
}

.product-item-pi .stars {
    color: #1a1d20;
    align-items: center;
    display: flex;
    justify-content: normal;
    padding: 12px 0;
}
.product-item-pi img {
    object-fit: cover;
    border-radius: 14px;
    width: 100%;
}

.product-item-pi span {
    font-size: 18px;
    text-align: left;
    margin: 0 0 10px;
    width: 100%;
    color: #444;
    display: block;
    line-height: 21px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.product-item-pi .price {

    font-weight: 700;
    color: #000000;
    font-size: 16px;
    display: flex;
    justify-content: start;
}

.product-item-pi .stars {
    color: #1a1d20;
    align-items: center;
    display: flex;
    justify-content: normal;
    padding: 12px 0;
}
.product-item-pi a {
    display: block;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    transition: all .3s ease-out;
    color: inherit;
    text-decoration: none;
}

.product-item-pi a {
    border: black;
}

.product-item-pi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}


.product-item-pi a:hover {
    box-shadow: 0 4px 20px rgba(77, 54, 116, .15);
    transition: all .3s ease-out;
}
@media (max-width: 770px) {
    .product-item-pi {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
}