.view-container svg{
    font-size: 1.5em !important;
    cursor: pointer;
    cursor: hand;
  }
  .view-container svg.current{
    color: var(--verde-sm);
  }
  .view-container{
    width: 9em;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .h1-container{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin: 1em 0;
  }
  @media only screen and (max-width: 667px){
    .view-container{
      width: 7em;
    }
  }
  @media screen and (max-width: 768px) {
    .titolo-tipologia {
      font-size: 30px !important;
      margin-left: 0.4em !important;
    }
    .salati {
      border: 1px solid #DA9959;
      background-color: #DA9959;
    }
    .dolci {
      border: 1px solid #51060B;
      background-color: #51060B;
    }
    .vini {
      border: 1px solid #C65A7C;
      background-color: #C65A7C;
    }
    .regali-accessori {
      border: 1px solid #4C6F64;
      background-color: #4C6F64;
    }
    .point {
      height: 18px;
      width: 18px;
      /*border: 1px solid;*/
      border-radius: 100%;
      /*margin-left: 0.8em;*/
    }
    .container-cat {
      display: inline-flex;
      align-items: center;
      padding-bottom: 1em;
      border-bottom: 1px solid #CCC;
      width: 100%;
    }
    .txtcat a h3 {
      font-family: var(--fonttitoli);
      font-size: 21px;
      color: #333;
      margin-left: 1em;
    }
    .selezione:last-child .container-cat {
      border-bottom: 0;
    }
    .img-produttori {
      margin-top: 6em;
    }
  }

  @media only screen and (max-width: 900px){
    .container-image img{
      object-fit: cover !important;
      aspect-ratio: 1/1 !important;
      width: 100% !important;
      height: auto !important;
    }
    .selezione .container-image{
      height: 200px !important;
    }
    .container-image img,
    .selezione .container-image::after{
      border-radius: 100%;
    }
    .selezione{
      height: 30px !important;
      margin: 0;
    }
    .selezione a{
      width: 100%;
      margin: 0;
      color: #333;
      font-family: var(--fonttitoli);
      font-size: 24px;
      font-weight: 600;
      text-align: center;
    }
    .selezione .container-image::after{
      content: initial !important;
    }

    .h1-container{
      justify-content: left !important;
    }
    /*.h1-container .titolo-tipologia{
      padding-left: 0.8em !important;
    }
    .selezione a h3{
      font-family: var(--fontprincipale) !important;
      font-size: 16px;
    }*/
  }

  
  .selezione{
    height: 420px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 0 2em 0;
}
.selezione p:not(:empty){
    margin: 1em 0;
    height: 6em;
}
.selezione .curata{
    margin: 0 0 1em 0;
    font-weight: 600;
}
.selezione .btn_cart_new{
    margin: 0;
    width: 100%;
}
.selezione .container-image{
    position: relative;
    border-radius: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    cursor: hand;
}
.selezione .container-image::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: rgb(255,255,255);
  background: linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.15) 40%,rgba(0,0,0,0.65) 100%); 
}
.selezione .container-image picture{
    max-height: 100%;
    height: 300px;
}
.selezione .container-image picture *{
    max-height: 100%;
    height: 300px;
}
.selezione .container-image h3{
    position: absolute;
    bottom: 1em;
    left: 1em;
    color: #FFF;
    font-family: var(--fonttitoli);
    font-size: 24px;
    font-weight: 600;
    z-index: 1;
}


.titolo-tipologia{
    font-family: var(--fonttitoli);
    text-align: center;
    font-size: 28px;
    margin: 1em 0;
    padding:0.5em 0;
    border-bottom: 1px solid #eee
  }
  .btn-link2{
    color: #333 !important;
    transition: all 0.5s;
  }
  .btn-link2:hover{
    color: var(--verde-sm) !important;
  }

  
  .box-esterno-grey {
    padding-inline: var(--border-custom);
  }
  .piccola_descrizione_categoria.top_text,
  .piccola_descrizione_categoria.top_text p{
    /* text-overflow: ellipsis; */
    overflow: hidden;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    color: #333;
    
    line-height: 1.3;text-align: left;

    font-family: var(--fontprincipale);
    font-weight: 300;
    font-size: 15px;
    margin-bottom: 1em;
  }
  .piccola_descrizione_categoria.top_text *{
    color: #333 !important;
  }
  .piccola_descrizione_categoria.top_text h2{
    font-size: 25px;
    text-align: left;
  }
  
  .nome-corsivato .hide_top_text{
    display: none !important;
  }
  .nome-corsivato.open{
    height: fit-content !important;
    padding-bottom: 2.5em;
  }
  .nome-corsivato.open .hide_top_text{
    display: block !important;
  }
  .nome-corsivato.open .piccola_descrizione_categoria.top_text,
  .nome-corsivato.open .piccola_descrizione_categoria.top_text p{
    overflow: initial;
    display: block;
  }