.shop-grid {

    display: flex;
    flex-direction: column;
    width: 100%;
    height:auto ;
    align-items: flex-start;
    justify-content: flex-start;


}

@media screen and (min-width: 992px) {
    .shop-grid {
        justify-content: center;
    }
}

.shop-grid h1 {
    width: 100%;
}

.shop-grid .filter-row-shop {
    height: 30px;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1%;
}

.shop-grid .filter-row-shop img {
    height: 20px;
    width: auto;
    margin:0 5px;
}


.shop-grid .filter-row-shop span {
    font-size: 1rem;
    color: var(--verde-scuro);
    font-weight: 300;
}

.product-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 0 15px 0;
}

@media screen and (min-width: 992px) {
    .product-grid { 
        justify-content: center;
    }
}

.product-item {
    width: 48%;
    height: 450px;
    background-color: rgba(193,193,193,.3);
    margin: 3% 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border: 2px solid transparent;

}

.product-item a {
    height: 100%;
    width: 100%;
    color: var(--verde-scuro);
}
.product-item.product-page {
    background-color: white;
    border: none;
}

@media screen and (max-width: 992px) {

    .product-item .product-name {
        height: 120px;
    }

    .product-item a {
       text-align: center;
    }
}


@media screen and (min-width: 992px) {
    .product-item {
        width: 22%;
        height: auto;
    }
}




.product-item img {
    height: 260px;
    width: auto;
}

@media screen and (min-width: 992px) {
   .product-item img {
    height: auto;
    width: 100%;
   }
}

.product-item .product-name {
    width: 100%;
    height: 100px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.product-item .product-name .title {
    background-color: var(--colore-testo-home);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
}


.product-item .product-name .sub-title {
    background-color: var(--bianco);
    color: var(--colore-testo-home);
    text-align: center;
    font-size: .8rem;
    font-weight: 300;
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: .7rem;
}

.product-item .product-name .sub-title span {
    font-size: .7rem;
    padding: 5px 0;
}

.product-item .product-price {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--colore-testo-home);
    padding: 5px;
}


.product-item .product-action span {
    padding: 5px 15px;
    background-color: var(--colore-testo-home);
    color: white;
    font-size: 1rem;
    font-weight: 300;
    width: 90%;
    text-align: center;
    text-transform: uppercase;
}


@media screen and (min-width: 992px) {

    .product-item {
        background-color: white;
        padding-bottom: 20px;
        border-radius: 4px;
    }

    .product-item .product-name .title { 
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    .product-item .product-name {
        height: auto;
    }
    .product-item .product-name .sub-title {
        font-size: 16px;
        line-height: 16px;
        padding: 10px 10px;
        height: 90px;
        color: var(--colore-testo-home);
    }
    .product-item .product-name .sub-title span {
        font-size: 14px;
        line-height: 14px;
        padding: 10px 0;
       
    }
    .product-item .product-price {
        font-size: 1.4rem;
        height: 50px;
    }

    .product-item .product-action span {
        font-size: 1.3rem;
        padding: 10px 20px;
    }
 }
 



.product-item .product-action {
    height: 40px;
    width: 100%;
   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

