.products {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.product-wrapper {
    display: flex;
    margin-top: 1.3rem;
    max-width: 25%;
    padding: 0 .65rem;
    width: 100%;
}

.product {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 .4rem 2.5rem rgba(165, 172, 182, .2);
    color: #2f2f2f;
    display: flex;
    flex-direction: column;
    height: 40rem;
    justify-content: flex-start;
    min-height: 40rem;
    min-width: 20.3rem;
    position: relative;
    transition: box-shadow .15s linear;
    margin: 0;
    width: 100%;
    padding-top: 1.2rem;
}

.product:hover {
    box-shadow: 0 1rem 2.5rem rgba(165, 172, 182, .5);
}

.images-container {
    align-items: center;
    border-radius: 1rem 1rem 0 0;
    cursor: pointer;
    display: flex;
    height: 20.3rem;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    width: 20.3rem;
}

.image {
    height: 100%;
    justify-content: center;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}

.details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.information {
    padding: 1.2rem 1.2rem 0;
}

.product .title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: inherit;
    display: -webkit-box;
    font-size: 1.5rem;
    line-height: 1.8rem;
    max-height: 5.4rem;
    overflow: hidden;
    -webkit-text-decoration: none;
    text-decoration: none;
    margin-bottom: 1.2rem;
}

.price-block {
    align-items: flex-start;
    display: flex;
}

.visible-part .price-in-cart {
    align-items: center;
    display: flex;
}

.visible-part.card .prices .price-in-cart .special-price {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.2rem;
    color: #81bb3c;
}

.visible-part.card .prices .price-in-cart .regular-price.old-price {
    color: #828282;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7rem;
    margin-left: .8rem;
    -webkit-text-decoration: line-through;
    text-decoration: line-through;
}

.controls-block {
    align-items: center;
    display: flex;
    box-sizing: content-box;
    min-height: 4rem;
    padding: 1.2rem;
}

.grid-button {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.grid-button .button {
    border-radius: .6rem;
    font-size: 1.3rem;
    font-weight: 600;
    height: 4rem;
    line-height: 1.6rem;
    min-width: 10.2rem;
    background-color: #81bb3c;
    border: .1rem solid #81bb3c;
    padding-bottom: .8rem;
    padding-top: .8rem;
    width: 50%;
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-wrapper {
        max-width: 33%;
    }
}

@media (min-width: 450px) and (max-width: 767px) {
    .product-wrapper {
        max-width: 50%;
    }
}

@media (max-width: 449px) {
    .product-wrapper {
        max-width: 100%;
    }
}