.item_prod {
    background: white;
    box-shadow: 0 -1px 2px rgba(24, 28, 71, .04), 0 1px 2px rgba(24, 28, 71, .1);
    border: 1px solid #d7def0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px;
    gap: 12px;
    height: 142px;
}

.thum_compra {
    display: block;
    width: 124px;
}

.thum_compra img {
    display: block;
    width: 100px;
    min-width: 90px;
    box-shadow: none;
    margin-bottom: 0px;
}


.desc {
    font-size: 16px;
    width: 280px;
    text-align: left;
    line-height: 1.1;
    display: -webkit-box;        /* crea un box flessibile multi-linea */
    -webkit-box-orient: vertical;/* orienta il box in verticale       */
    -webkit-line-clamp: 2;       /* numero di linee da mostrare        */
    overflow: hidden;            /* nasconde il resto                  */
}

.shop_places {
    background: #e2eaf0;
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-left: 24px;
    position: relative;
    height: 100%;
    max-width: 300px;
}
.shop_places::before {
    content: '';
    position: absolute; 
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #e2eaf0;
}


.shop_logo {
    font-size: 12px;
    text-align: center;
}

.shop_logo img {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    display: block;
    background: white;
    padding: 12px;
    display: block;
/*     border-bottom: 8px solid white;
    border-top: 8px solid white; */
}

.shop_places .price {
    text-align: center;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.shop_places .price .green_button {
    text-align: center;
    display: block;
    width: 100%;
    background: #ff9d28;
    color: white;
    border-radius: 4px;
    padding: 6px 20px;
    margin-top: 6px;
    font-weight: 600;
}

.shop_places .price  strong {
    font-size: 22px;
    letter-spacing: -1px;
}


.shop_places .price  small {
    font-size: 12px;
}

.shop_places .price  s {
    color: #999;
    font-weight: 400;
    font-size: 20px;
}


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

    .item_prod {
        padding: 12px 0px 4px 0px;
        min-height: 85px;
        height: 176px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 12px;
        grid-row-gap: 0;
    }
    .item_prod:last-child {
        border-bottom: 1px solid #f2f0f0;
    }
    .shop_places {
        grid-column: span 3;
        height: auto;
        margin-left: 0;
        border-radius: 0;
        padding: 0;
        background: none;
        align-items: center;
        max-width: 100%;
    }
    .shop_places::before {
        display: none;
    }
    .shop_places .price strong {
        font-size: 26px;
    }
    .desc {
        -webkit-line-clamp: 3;
        font-size: 18px;
        font-weight: 400 !important;
        line-height: 18px;
        grid-column: span 2;
        padding-right: 12px;
        width: 100%;
    }
    .shop_logo {
        font-size: 0px;
        text-align: center;
        width: 174px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .shop_logo img {
        border-bottom: 0;
        border-top: 0;
        padding: 0 !important;
    }
    .price {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        margin-bottom: 0 !important;
    }
    .shop_places .price .green_button {
        margin: 0 !important;
        padding: 8px 6px;
        width: 120px;
        font-weight: 400 !important;
    }
}


#prices .item_prod {
  background: #f1f4f7;
  border: 0;
  box-shadow: none;
  justify-content: space-between;
}
#prices .item_prod .shop_places {
  background: white;
}
#prices .item_prod .shop_places:before {
  border-right: 12px solid #ffffff;
}
#prices .item_prod .price a strong {
  font-weight: 400;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 26px;
}
#prices .item_prod .price a strong small {
  font-size: 20px;
}
#prices .is_premium .item_prod {
  background: #e3f0f8;
}

.item_prod.domination_price .shop_places {
  max-width: 340px;
}
