html {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    background-color: #EDEDED;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
}
img {
    max-width: 100%;
}
a {
    color:#DC191B;
    text-decoration: none;
}
a:hover,
a:active {
    color: #1b1b1b;
}
h1, h2, h3, p {
    margin: 0;
}
h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 24px;
}
.header {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #1B1B1B;
}
.content {
    display: block;
}
.wrapper {
    display: block;
    box-sizing: border-box;
    margin: 0 auto;
    min-width: 200px;
    max-width: 992px;
    padding-left: 15px;
    padding-right: 15px;
}
.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}
.logo:hover,
.logo:active {
    color: #fff;
}
.logo span {
    color: #DC191B;
}
.header__action {
    display: flex;
    align-items: center;
}
.header__lang {
    display: none;
    position: relative;
    font-size: 12px;
    color: #fff;
    padding-right: 30px;
    border-right: 1px solid #4b4b4b;
}
.header__lang::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    right: 14px;
    background: url(../img/down.svg) no-repeat;
}
.header__lang:hover,
.header__lang:active {
    color: #fff;
}
.header__lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
}
.header__social {
    display: none;
    list-style: none;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid #4b4b4b;
}
.header__social li {
    margin-right: 7px;
}
.header__social img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.header__subscribe {
    position: relative;
    padding: 6px 17px 6px 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff;
}
.header__subscribe::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    right: 6px;
    background: url(../img/down-red.svg) no-repeat;
}
.header__subscribe:hover::after,
.header__subscribe:active::after {
    background: url(../img/down-black.svg) no-repeat;
}
.header__search {
    margin-left: 20px;
}
.header__search img {
    display: block;
}
.nav {
    font-size: 16px;
    color: #fff;
    background: #DC191B;
}
.nav a {
    color: #fff;
    text-decoration: none;
}
.nav__wrapper {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__list {
    display: none;
    list-style: none;
}
.nav__list li:not(:last-child) {
    margin-right: 30px;
}
.nav__list li:last-child a{
    position: relative;
    padding-right: 20px;
}
.nav__list li:last-child a::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    right: 6px;
    background: url(../img/down.svg) no-repeat;
}
.nav__list a:hover,
.nav__list a:active {
    font-weight: 700;
    text-decoration: underline;
}
.nav__more {
    position: relative;
    padding-right: 18px;
}
.nav__more:hover,
.nav__more:active {
    font-weight: 700;
    text-decoration: underline;
}
.nav__more::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    right: 6px;
    background: url(../img/down.svg) no-repeat;
}
.topics {
    display: none;
    margin-top: 10px;
    min-height: 44px;
    background: #fff;
}
.topics__best {
    display: flex;
    align-items: center;
    height: 44px;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    background: #dc191b;
}
.topics__best::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: -39px;
    border-top: 44px solid #dc191b;
    border-right: 39px solid transparent;
}
.topics__best a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.topics__items {
    list-style: none;
    display: flex;
    align-items: center;
}
.topics__items a {
    font-size: 14px;
    color: #1b1b1b;
    font-weight: 700;
}
.topics__items a:hover,
.topics__items a:active {
    color: #DC191B;
}
.topics__items li:not(:last-child) {
    margin-right: 20px;
}
.topics__popular {
    display: flex;
    align-items: center;
    position: relative;
    height: 44px;
    padding-left: 20px;
    padding-right: 20px;
    background: #dc191b;
}
.topics__popular::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: -39px;
    border-bottom: 44px solid #dc191b;
    border-left: 39px solid transparent;
}
.topics__popular a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.content__main {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}
.news {
    display: none;
    margin-top: 6px;
}
.news__item {
    margin: 5px 0 5px 15px;
    padding: 10px;
    background: #fff;
}
.news__img {
    margin-right: 10px;
}
.news__text {
    flex-basis: 100%;
    align-self: stretch;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news__title {
    font-size: 14px;
    font-weight: 400;
    color: #1b1b1b;
}
.news__title:hover,
.news__title:active {
    color: #DC191B;
}
.news__date {
    align-self: flex-end;
    font-size: 12px;
    color: #969696;
}
.news__more {
    position: relative;
    align-self: flex-end;
    margin-top: 5px;
    padding-right: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.news__more::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    top: 50%;
    margin-top: -4px;
    right: 6px;
    background: url(../img/right.svg) no-repeat;
}
.news__more:hover::after,
.news__more:active::after {
    background: url(../img/right-hover.svg) no-repeat;
}
.breadcrumb {
    display: flex;
    justify-content: start;
    padding-top: 17px;
    padding-bottom: 12px;
}
.breadcrumb a {
    position: relative;
    margin-right: 20px;
    font-size: 12px;
}
.breadcrumb a:hover,
.breadcrumb a:active {
    color: #1B1B1B;
}
.breadcrumb a:not(:last-child)::after {
    content: '>';
    position: absolute;
    width: 8px;
    height: 12px;
    top: 50%;
    margin-top: -7px;
    right: -16px;
    color:#1B1B1B;
}
.main__info {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
}
.main__author {
    padding-right: 10px;
    border-right: 1px solid #c4c4c4;
}
.main__share {
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.main__share a {
    display: inline-block;
}
.main__share img {
    margin-left: 5px;
    vertical-align: middle;
}
.main__share a:last-child img{
    width: 15px;
    height: 16px;
}
.main > p {
    margin-top: 20px;
    line-height: 24px;
}
article {
    margin-top: 10px;
    border-left: 2px solid #dc191b;
}
.article__wrapper {
    overflow: hidden;
    padding: 15px 13px;
    background: #fff;
}
.article__wrapper img {
    display: block;
    width: 256px;
    margin: 0 auto;
}
.article__wrapper p {
    padding-top: 20px;
    font-style: italic;
    line-height: 24px;
}
.product__link {
    font-weight: 700;
}
.main__product-img {
    margin-top: 20px;
    width: 100%
}
.main__list {
    list-style-image: url(../img/list-marker.svg);
    margin-left: 23px;
    font-weight: 700;
}
.main__list-item {
    margin-top: 17px;
    line-height: 24px;
}
.result {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    color: #1b1b1b;
    background: #fff;
}
.result__images {
    display: flex;
    gap: 3px;   
}
.result__images img {
    flex: 1;
    max-width: 100%;
    min-width: 0;
}
.result__text {
    padding: 20px 15px;
}
.main__chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
.chat__item  {
    margin-top: 20px;
    width: 256px;
}
.chat__header {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    background: #F6F6F6;
}
.main__alert p {
    padding-top: 0;
}
.chat__header-name {

    color: #1b1b1b;
    font-size: 12px;
    font-weight: 700;
}
.chat__header-contact {
    font-size: 9px;
    font-weight: 400;
    color: #ABAAAF;
}
.chat__header-avatar {
    margin-right: 10px;
}
.chat__header-phone {
    margin-left: auto;
}
.chat__base {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: url(../img/chat-bg.png) no-repeat;
    background-size: 159%;
}
.chat__date {
    margin-top: 7px;
    padding: 2px 15px;
    color: #565660;
    font-size: 9px;
    font-weight: 700;
    background: #DEDEEA;
    border-radius: 20px;
}
.chat__text {
    padding-right: 12px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.chat__message {
    margin-top: 10px;
    border-radius: 8px;
    background: #DCF6C6;
}
.chat__message p {
    font-family: "Arial", sans-serif;
    font-size: 11px;
    line-height: 14px;
    color: #000;
}
.chat__message-text {
    width: 182px;
    padding: 4px 9px;
}
.chat__message-img {
    position: relative;
    width: 162px;
    padding: 3px 3px 4px;
}
.chat__message-img::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 10px;
    right: -6px;
    bottom: 1px;
    background: url(../img/chat-tail.png) no-repeat;
}
.chat__message-img > img {
    display: block;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2px;
}
.chat__message-footer {
    display: flex;
    font-size: 9px;
    color: #ABAAAF;
}
.chat__message-text .chat__message-footer {
    justify-content: flex-end;
}
.chat__message-img .chat__message-footer {
    justify-content: space-between;
    padding-left: 2px;
    padding-right: 2px;
}
.chat__message-time-tick {
    display: flex;
}
.chat__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
    background: #F6F6F6;
    border-top: 1px solid #d4ccc9;
}
.btn {
    display: block;
    margin: 15px auto 0;
    max-width: 284px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #dc191b;
    text-transform: uppercase;
}
.btn:hover,
.btn:active {
    color: #fff;
    border-radius: 8px;
    background-color: #BD0002;
}
.comments {
    margin-top: 20px;
    margin-bottom: 20px;
}
.comments__header {
    padding: 13px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: #1b1b1b;
}
.comments__item {
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: flex-start;
    border-bottom: 1px solid #c4c4c4;
}
.comments__item:not(:nth-last-child(-n+6)) {
    display: none;
}
.comments__item_last {
    border: none;
}
.comments__item > img {
    width: 40px;
}
.comments__text {
    flex-basis: 100%;
    flex-grow: 1;
    padding-top: 8px;
    padding-left: 10px; 
}
.comments__author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments__name {
    font-weight: 700;
}
.comments__date {
    color: #dc191b;
}
.comments__base {
    margin-top: 11px;
    margin-bottom: 13px;
    line-height: 21px;
}
.comments__base-btn {
    display: block;
    margin-top: 9px;
}
.comments__answer {
    display: flex;
    align-items: flex-start;
}
.comments__answer > img {
    width: 40px;
}
.comments__result {
    display: block;
    margin-top: 15px;
}
.comments__btn {
    padding: 20px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #dc191b;
    background: #fff;
}
.footer {
    padding: 15px 0 13px;
    text-align: center;
    font-size: 14px;
    color: #969696;
    background: #e4e4e4;
}
@media (min-width: 576px) {
    .header__social {
        display: flex;
        align-items: center;
    }
    .header__subscribe {
        margin-left: 24px;
    }
    .article__wrapper {
        margin-left: 5px;
    }
    .article__wrapper img {
        width: auto;
        float: right;
        margin-left: 15px;
    }
    .article__wrapper p:first-of-type {
        padding-top: 0;
    }
    .result {
        flex-direction: row;
    }
    .result__images {
        width: 55%;
    }
    .result__text {
        width: 45%;
    }
    .main__chat {
        flex-direction: row;
        justify-content: center;
    }
    .chat a:first-child .chat__item {
        margin-right: 20px;
    }
    .comments {
        margin-top: 30px;
    }
    .comments__item > img,
    .comments__answer > img {
        width: 64px;
    }
    .comments__text {
        padding-left: 25px;
    }

}
@media (min-width: 768px) {
    .header__lang {
        display: flex;
        align-items: center;
    }
    .nav__list {
        display: flex;
        align-items: center;
    }
    .nav__more {
        visibility: hidden;
    }
}
@media (min-width: 992px) {
    .topics {
        display: flex;
        justify-content: space-between;
    }
    .content__columns {
        display: flex;
    }
    .content__main {
        flex-basis: 100%;
        max-width: 640px;
        flex-shrink: 1;
    }
    .news {
        flex-basis: 307px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .news__item {
        display: flex;
        align-items: start;
    }
    .comments__item:not(:nth-last-child(-n+6)) {
        display: flex;
    }
}