* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    /* outline: 1px solid red; */
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    color: #515151;
    font-family: Roboto, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

.clearfix::after {
    display: table;
    content: "";
    clear: both;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
}


/* header section */

.header-menu {
    padding: 38px 0;
}

.shop-name {
    display: block;
    float: left;
    text-transform: uppercase;
    font-size: 30px;
    margin: auto;
    color: #515151;
    text-decoration: none;
}

.shop-name:first-letter {
    color: #1abc9c;
    font-weight: 900;
}

.header-list {
    float: right;
    width: 466px;
    margin-top: 10px;
    list-style-type: none;
}

.header-list li {
    float: left;
}

.header-list li:not(:last-child) {
    margin-right: 32px;
}

.header-list a {
    display: block;
    font-size: 14px;
    line-height: 11px;
    color: #515151;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.header-list a:hover,
.header-list a:focus {
    color: #1abc9c;
}


/* Products section */

.products {
    margin-top: 87px;
}

.products-title,
.news-title {
    font-size: 48px;
    line-height: 32px;
    text-transform: uppercase;
    text-align: center;
}

.products-title::after,
.news-title::after {
    display: block;
    width: 164px;
    height: 7px;
    background: #4ec6ab;
    content: '';
    margin: 32px auto 0;
}

.products-gallery {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 92px;
    margin-bottom: 105px;
}

.products-gallery-item {
    float: left;
    width: 255px;
    height: 322px;
    margin-right: 30px;
    margin-bottom: 30px;
    text-align: center;
    background-color: #e9f0fd;
}

.products-gallery-item:nth-child(4n) {
    margin-right: 0;
}

.products-gallery-item:nth-last-child(-n+4) {
    margin-bottom: 0;
}

.products-gallery-item:hover>.product-chars-frame {
    background-color: #1abc9c;
}

.products-gallery-item:hover>.product-chars-frame>.product-chars-price-frame {
    background-color: #7fd9c7;
}

.product-chars-frame {
    background-color: #323232;
}

.product-chars-name {
    margin-top: 13px;
    margin-left: 14px;
    float: left;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
}

.product-chars-price-frame {
    background-color: #8c8c8c;
    float: right;
    padding-bottom: 8px;
    padding-left: 14px;
}

.product-chars-price {
    margin-top: 13px;
    margin-right: 15px;
    float: right;
    color: #fff;
    font-weight: 900;
}


/* News section */


/* .news {
    margin-bottom: 82px;
} */

.news-blog {
    margin-top: 80px;
    list-style-type: none;
}

.news-blog-item {
    float: left;
    width: 350px;
    margin-right: 30px;
}

.blog-image {
    margin-bottom: 14px;
}

.blog-name {
    line-height: 26px;
    font-size: 18px;
    color: #555252;
}

.blog-name::after {
    display: block;
    background: #4ec6ab;
    width: 136px;
    height: 3px;
    content: '';
    margin-top: 15px;
    margin-bottom: 30px;
}

.news-blog-item:last-child {
    margin-right: 0;
}

.blog-text {
    line-height: 26px;
    font-size: 14px;
    color: #555252;
    margin-bottom: 10px;
}

.blog-read-button {
    height: 51px;
    width: 160px;
    color: #fff;
    background-color: #4ec6ab;
    border: 0 solid transparent;
    border-radius: 2px;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}