* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Roboto Thin", sans-serif;
}

.container{
    display: flex;
    background-color: white;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.container>.item{
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    width: calc(20% - 8px);
    min-width: 220px;
    height: 100%;
    flex-grow: 0;
    /*flex-shrink: 0;*/
    padding: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    position: relative;
}
.container>.item:hover{
    /*transform: scale(101%);*/
    /*transform: skew(1deg);*/
    /*background-color: lightpink;*/
    box-shadow: 10px 10px 10px rgba(251, 155, 221, 0.83);
}
.item-picture>img{
    width: 100%;
}
.item>h2{
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.item>span{
    display: inline-block;
    margin: 5px 0;
}
.item-price-new, .item-price-sale{
    color:red;
    font-weight: bold;
}
.item-price-old{
    color: darkgray;
    font-weight: bold;
    text-decoration: line-through;
}
.text{
    color:#444;
    font-size: 14px;
}
.bonus{
    font-size: 12px;
    border: 1px solid #e5e7eb;
    color:#444;
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    background-color: #f0f1f3;
    border-radius: 10px;
    margin-bottom: 20px;
}
.footer{
    display: flex;
    justify-content: space-between;
}
.icon-star{
    color: gold;
    font-weight: bold;
}
.icon-heart>i{
    color:orangered;
}
.icon-heart>span{
    color: gray;
}
/**/
.price-percent{
    color: white;
    /*background-color: darkred;*/
    display: inline-block;
    padding: 5px;
    position: absolute;
    top: -6px;
    left: -10px;
}
.price-percent>.photo-discount{
    width: 100px;
    position: relative;
}
.price-percent p{
    position: relative;
    top: -35px;
    left: 20px;
}