.items-col { text-align: center; &:nth-child(4n+5) { clear: both; } } .items-img-wr { @include wfl; margin-top: 30px; } .items-img { width: 228px; max-width: 100%; display: inline-block; a { display: table-cell; width: 228px; height: 228px; max-width: 100%; vertical-align: middle; text-align: center; cursor: zoom-in; } img { max-width: 100%; vertical-align: middle; } } .items-title { margin-top: 11px; @include wfl; a, span { font-size: 16px; } } .items-price { margin-top: 5px; @include wfl; font-size: 18px; color: $violet-color; span { font-size: 16px; } } @media (max-width: 991px) { .items-col { &:nth-child(4n+5) { clear: none; } &:nth-child(3n+4) { clear: both; } } } @media (max-width: 790px) { .items-img { width: 220px; a { width: 220px; height: 220px; } } } @media (max-width: 767px) { .items-col { &:nth-child(3n+4) { clear: none; } &:nth-child(2n+3) { clear: both; } } .contacts-footer-wr, .contacts-footer-col { height: 240px !important; } } @media (max-width: 450px) { .items-img { width: 190px; a { width: 190px; height: 190px; } } } @media (max-width: 400px) { .items-img { width: 160px; a { width: 160px; height: 160px; } } } @media (max-width: 380px) { .items-img { width: 150px; a { width: 150px; height: 150px; } } } @media (max-width: 360px) { .c-f-adress { font-size: 16px !important; } } @media (max-width: 350px) { .items-img { width: 130px; a { width: 130px; height: 130px; } } }