/*@media screen and (max-width: 1180px) {
  .header__contact {
    padding: 0 4%;
  }
}*/

@media screen and (min-width: 1024px) and (max-width: 1180px) {
  /* cart */
  .basket-card__info {
    width: 100%;
  }
  .basket-card__count-price {
    display: block;
    width: 100%;
    padding: 0;
  }
  .basket-card__count {
    width: 30%;
    max-width: 80px;
  }
  .basket-card__price {
    width: 70%;
    padding-top: 10px;
  }
  .basket-card__price-total {
    float: right;
    padding: 0 0 0 15px;
  }
  .basket-card__price-total span {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  /* header */
  .header__logo {
    min-width: 120px;
  }
  .header__logo .logo-name {
    display: none;
  }
  /*.header__contact {
    padding: 0 5%;
  }*/
}

@media screen and (max-width: 1023px) {
  .content {
    padding-top: 60px;
  }
  /* header */
  .header, .header__logo, .header__search, .header__basket, .header__contact-callback, .header__compare {
    display: none;
  }
  .header .layout__table {
    display: block;
  }
  .m-header {
    display: block;
    position: fixed;
    z-index: 50;
  }
  .header {
    position: fixed;
    width: 400px;
    right: 0;
    top: 0;
    bottom: 0;
    padding-top: 60px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(72, 72, 72, 0.61);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    z-index: 49;
  }
  .body-bars .header {
    display: block;
  }
  .header__top, .header__top .layout, .header__bottom .layout {
    padding: 0;
  }
  .header__contact, .header__login {
    position: relative;
    display: block;
    border-top: 1px solid #eee;
    padding: 6px 30px;
  }
  .header__contact {
    border: 0;
    overflow: hidden;
    z-index: 1;
  }
  .header__contact:after {
    content: "\f095";
    position: absolute;
    font-size: 90px;
    top: 60px;
    right: 25px;
    color: rgba(199, 199, 199, 0.38);
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    z-index: -1;
  }
  .header__contact-inner {
    display: block;
    padding: 0 0 8px;
  }
  .header__contact-item  {
    margin-top: 10px;
  }
  /*.header__contact-phone {
    padding-left: 5px;
  }
  .header__contact-phone i {
    display: none;
  }
  .header__contact-address {
    margin-top: 7px;
  }
  .header__contact-address-city {
    padding: 4px 10px;
  }
  .header__contact-address-desc {
    margin-top: 4px;
  }*/
  .header__whatsapp {
    display: none;
  }
  .header__callback {
    display: none;
  }
  .header__login-link {
    display: block;
  }
  .header__login-link:after {
    content: 'Личный кабинет';
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }
  .header__login-link i {
    vertical-align: middle;
  }
  .header__cat, .header__nav {
    display: block;
  }
  .header__nav {
    white-space: inherit;
  }
  .navbar {
    display: block;
  }
  .navbar__item {
    display: block;
    width: auto;
  }
  .navbar__link {
    font-size: 14px;
    line-height: 16px;
    padding: 10px 30px;
    text-align: left;
    border-top: 1px solid #41474e;
  }
  .navbar__item:first-child .navbar__link {
    border: 0;
  }
  .navbar__item.dealers {
    background: #c32130;
  }
  .navbar__item.dealers .navbar__link {
    color: #fff;
  }
  .navbar__link i {
    position: absolute;
    margin-top: 2px;
    right: 30px;
  }
  .navbar__sub-menu {
    position: relative;
    padding: 0;
  }
  .navbar__sub-inner {
    padding: 0;
    background: #282a2d;
  }
  .navbar__sub-link {
    font-size: 13px;
    line-height: 16px;
    padding: 10px 30px;
    border-color: #35393c;
  }

  /* header catalog */
  .head-catalog {
    white-space: inherit;
  }
  .head-catalog__inner {
    background: #1a1e22;
  }
  .head-catalog__button {
    padding: 10px 30px;
  }
  .head-catalog__dropdown {
    display: block;
    position: relative;
    padding: 0;
    border-bottom: 2px solid #000;
  }
  .head-catalog__category {
    padding: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .category__link {
    padding: 10px 30px;
    border-color: #313538;
  }
  .head-catalog__banner img {
    width: 100%;
  }

  /* cart */
  .checkout-block__main {
    padding: 0;
  }
  .checkout-block__side {
    width: 100%;
    margin: 25px 0 0;
  }
  .checkout-subtotal {
    float: right;
    width: 46%;
  }
  .checkout-info {
    float: left;
    width: 52%;
    margin: 0;
  }


  /* category-main */
  .category-block__cover {
    height: 110px;
    width: 110px;
    line-height: 110px;
  }
  .category-block__title {
    font-size: 16px;
    line-height: 22px;
  }

  /* advantages */
  .advantages__item {
    width: 48%;
    padding: 20px;
  }
  .advantages__name {
    font-size: 18px;
  }

  /* product page */
  .product-top__gallery {
    width: 50%;
  }
  .product-top__content {
    width: 50%;
  }
  .product-desc__content {
    width: 100%;
    padding: 0;
  }
  .product-desc__side {
    width: 100%;
    padding: 40px 0 0;
  }
  .product-banner {
    float: left;
    width: 45%;
  }
  .product-info {
    float: right;
    width: 50%;
  }
  .product-nav {
    display: block;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
  }
  .product-nav__link {
    display: inline-block;
    margin-right: 7px;
    padding: 2px 10px;
    font-size: 14px;
    line-height: inherit;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  .product-nav.is_stuck {
    top: 60px !important;
    left: 0;
    width: 100% !important;
    padding: 10px 30px;
    background: #fff;
    -webkit-box-shadow: 0 1px 9px rgba(0, 0, 0, .175);
    box-shadow: 0 1px 9px rgba(0, 0, 0, .175);
  }

  /* article */
  .articles .article-card {
    width: 50%;
  }

  /* footer */
  .contact-foot {
    padding-left: 0;
  }
  .contact-foot i, .footer__dev, .logo-footer {
    display: none;
  }
  .footer__bottom {
    padding-bottom: 15px;
  }
  .footer__side {
    width: 100%;
    margin: 25px 0 0;
    padding-top: 15px;
    border-top: 2px solid #e2e2e2;
  }
  .footer__copyright {
    float: left;
  }
  .social-list {
    float: right;
    margin-top: 0;
  }
  .footer__content {
    float: none;
    padding: 0;
  }

  /* overlay */
  .body-bars .body-overlay {
    display: block !important;
    opacity: 1 !important;
  }
}

@media screen and (max-width: 900px) {
  /* content */
  .article-list__item {
    width: 100%;
    padding: 0 0 20px;
  }
  .article-list__item:last-child {
    padding: 0;
  }

  .section-bannerslider, .section-bannerslider .layout {
    padding: 0;
  }

  /* section about */
  .section-about h1 {
    font-size: 28px;
    line-height: 32px;
  }

  /* contact block */
  .contact-block__side {
    width: 40%;
  }
  .contact-block__map {
    width: 60%;
  }

  /* m side */
  .m-side__head {
    display: block;
  }
  .m-button-side {
    display: inline-block;
  }
  .m-side {
    display: none;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    bottom: 0;
    width: 400px;
    margin: 0;
    padding: 80px 20px 20px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(72, 72, 72, 0.61);
    z-index: 40;
  }
  .body-side .m-side {
    display: block;
  }
  .m-main {
    padding-left: 0;
  }

  /* page nav */
  .page-nav__sub-link {
    padding: 10px 0;
  }

  /* products grid */
  .products_grid .product-card {
    width: 100%;
  }

  /* product page */
  .product-thumb {
    display: none;
  }
  .product-order .button {
    width: 100%;
  }
  .product-order__action-item {
    margin-top: 5px;
    width: 100%;
  }

  /* category list */
  .category-list__item {
    width: 31.3333%;
  }
  .category-list__cover {
    height: 250px;
    line-height: 250px;
  }

  /* cart */
  .checkout-subtotal, .checkout-info {
    width: 100%;
  }
  .checkout-subtotal {
    margin-bottom: 25px;
  }
  .basket-card__info {
    width: 100%;
  }
  .basket-card__count-price {
    width: 100%;
    padding: 0;
  }
  .basket-card__count {
    width: 30%;
    max-width: 80px;
  }
  .basket-card__price {
    width: 70%;
    padding-top: 10px;
  }
  .basket-card__price-total {
    float: right;
    padding: 0 0 0 15px;
  }
  .basket-card__price-total span {
    display: none;
  }

  /* footer */
  .contact-foot {
    width: 30%;
  }
  .contact-foot_subscription {
    width: 40%;
  }
}

@media screen and (max-width: 767px) {
  /* section about */
  .section-about__text-promo {
    font-size: 20px;
    text-align: center;
  }

  /* articles */
  .section-articles__news, .section-articles__actions {
    width: 100%;
    margin: 0;
  }
  .section-articles__actions {
    margin-bottom: 30px;
  }

  /* contact block */
  .contact-block__side, .contact-block__map {
    width: 100%;
  }
  .contact-block__map {
    padding: 15px 0 0;
  }
  .contact-block__info {
    font-size: 0;
  }
  .contact-block__info-item {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding-right: 10px;
  }

  /* header */
  .header {
    width: 100%;
  }

  /* header search */
  .m-header__search {
    padding: 0 20px 0 0;
  }
  .m-button-search {
    display: block;
    float: right;
  }
  .search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 10;
  }
  .search.active {
    display: block;
  }
  .search__input .input {
    height: 43px!important;
    line-height: 43px!important;
    padding: 0 80px 0 30px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  .search__button {
    right: 30px;
  }
  .search__button .button {
    height: 43px!important;
  }
  .search__result {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  .search__result-item {
    padding: 4px 21px;
  }

  /* cart */
  .basket-card__count, .basket-card__price {
    width: 100%;
    padding: 0;
  }
  .basket-card__price {
    margin-top: 15px;
  }

  /* table */
  /* .table thead {
    display: none;
  }
  .table td {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #e8e8e8;
    line-height: 18px;
  }
  .table td:last-child {
    border-bottom: 0;
  }
  .table td:before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  } */

  .table-responsive {
    min-height: .01%;
    overflow-x: auto;
  }

  .table-responsive>.table>tbody>tr>td,
  .table-responsive>.table>tbody>tr>th,
  .table-responsive>.table>tfoot>tr>td,
  .table-responsive>.table>tfoot>tr>th,
  .table-responsive>.table>thead>tr>td,
  .table-responsive>.table>thead>tr>th {
    white-space: nowrap;
  }

  /* modal */
  .modal-block {
    width: 100%;
    padding: 40px 25px 25px;
  }

  /* breadcrumbs */
  .breadcrumbs__item {
    display: none;
  }
  .breadcrumbs__item:last-child {
    display: block;
    padding: 0 17px;
  }
  .breadcrumbs__item:before {
    content: "\f0d9";
    font-size: 16px;
    line-height: 16px;
    color: #9a9da4;
    font-weight: bold;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 0;
    height: auto;
    width: auto;
    background: transparent;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
  }
  .breadcrumbs__item:first-child {
    padding-left: 0;
  }
  .breadcrumbs__item:first-child:before {
    content: none;
  }

  /* content */
  .content {
    padding: 60px 0 0;
  }
  .content-main .preloader {
    left: 0;
  }

  /* link list */
  .link-list__inner {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
  }

  /* m side */
  .m-side {
    width: 100%;
    padding: 20px;
    z-index: 200;
  }

  /* m button */
  .filter-panel {
    padding: 5px 0;
  }
  .m-button-filter {
    display: inline-block;
  }
  .m-filters__head {
    display: block;
  }
  .m-filters {
    display: none;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff;
    z-index: 200;
  }
  .body-filters .m-filters {
    display: block;
    padding-bottom: 100px;
  }
  .m-products {
    padding-left: 0;
  }
  .filter-search {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 7px 20px 10px;
    font-size: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    z-index: 22;
  }
  .filter-search .button {
    width: 49%;
    margin-right: 2%;
  }
  .filter-search .button:last-child {
    margin-right: 0;
  }
  .m-filters-result {
    display: inline-block;
  }

  /* products grid */
  .products_grid .product-card {
    width: 48%;
  }

  /* product page */
  .product-top__gallery, .product-top__content {
    width: 100%;
    padding: 0;
  }
  .product-desc__side {
    padding-top: 20px;
  }
  .product-top__content {
    margin-top: 25px;
  }
  .product-properties-head, .product-banner {
    display: none;
  }
  .product-order {
    margin: 0;
  }
  .product-info {
    width: 100%;
  }
  .product-content__main {
    padding: 0;
  }
  .product-content__side {
    width: 100%;
    margin: 0;
  }
  .product-accessories {
    margin-bottom: 20px;
  }
  .product-accessories__title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  .product-accessory {
    width: 250px;
    margin-right: 20px;
  }
  .product-accessory__cover, .product-accessory__content {
    width: 100%;
  }
  .product-accessory__content {
    padding: 10px;
  }
  .product-accessory__name {
    height: 40px;
    overflow: hidden;
  }

  /* advantages */
  .advantages__item {
    padding: 15px;
  }
  .advantages__icon {
    font-size: 60px;
  }
  .advantages__name {
    font-size: 16px;
    line-height: 20px;
  }
  .advantages__text {
    font-size: 14px;
    margin-top: 10px;
  }

  /* question block */
  .question-block {
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    z-index: 1;
  }
  .question-block__text {
    display: block;
    padding: 15px 20px;
  }
  .question-block i {
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 80px;
    color: #eaeaea;
    z-index: -1;
  }
  .question-block .button {
    max-width: none;
    line-height: 23px;
  }

  /* category main */
  .section-category {
    padding: 15px 0;
  }
  .category-block__item {
    position: relative;
    width: 48%;
    margin: 0 1%;
    padding: 10px 15px 10px 0;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
  }
  .category-block__item:after {
    content: "\f0da";
    position: absolute;
    font-size: 16px;
    top: 50%;
    right: 0;
    color: #b6babd;
    font-weight: 900;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
  }
  .category-block__cover {
    display: none;
  }
  .category-block__title {
    max-width: 220px;
  }

  /* article */
  .article-card__name {
    font-size: 16px;
    line-height: 22px;
  }
  .article-card__cover {
    /* height: 150px; */
  }

  /* footer */
  .footer {
    margin: 0 auto;
    height: auto;
  }
  .contact-foot {
    width: 50%;
    padding-left: 47px;
  }
  .contact-foot_subscription {
    display: none;
  }
  .contact-foot i {
    display: block;
  }
  .footer__bottom {
    padding: 0;
    background: #22262b;
  }
  .footer__side {
    margin: 0;
    padding: 15px 0;
    border: 0;
  }
  .footer__copyright, .social-list__link {
    color: #696f75;
  }
  .social-list__item:before {
    background: #565656;
  }
  .footer__content {
    margin: 0 -30px;
    width: auto;
  }
  .footer__col {
    width: 100%;
    padding: 0;
  }
  .footer__title {
    position: relative;
    padding: 10px 30px;
    margin: 0;
    color: #d2d2d2;
    font-weight: normal;
    background: #22262b;
    border-bottom: 1px solid #33373c;
    cursor: pointer;
  }
  .footer__title:after {
    content: "\f0dd";
    position: absolute;
    font-size: 16px;
    top: 50%;
    right: 30px;
    margin-top: -3px;
    color: #696f75;
    font-weight: 900;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
  }
  .footer__nav {
    display: none;
    background: #131517;
    border-bottom: 2px solid #36383c;
  }
  .footer__nav-item {
    margin: 0;
  }
  .footer__nav-link {
    display: block;
    color: #a9a9a9;
    padding: 10px 30px;
    border-bottom: 1px solid #272a2d;
  }
  .footer__nav-item:last-child .footer__nav-link {
    border: 0;
  }
  .footer__col.active .footer__nav {
    display: block;
  }
  .footer__col.active .footer__title:after {
    content: "\f0d8";
    margin-top: 0;
  }
}

@media screen and (max-width: 599px) {
  .layout {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* header */
  .navbar__link, .navbar__sub-link, .header__contact, .header__login, .head-catalog__button, .category__link {
    padding-left: 15px;
    padding-right: 15px;
  }
  .m-header__phone {
    display: none;
  }
  .m-header__compare {
    display: none;
  }
  .header__compare {
    display: block;
    position: relative;
    display: block;
    border-top: 1px solid #eee;
    padding: 6px 15px;
  }
  .header__compare .compare-head {
    color: #282828;
  }
  .header__compare .compare-head:after {
    content: 'Сравнение';
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }
  .header__compare .compare-head i {
    vertical-align: middle;
  }
  .compare-head__count {
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    font-size: 14px;
    line-height: 25px;
    padding: 0 7px;
  }
  .navbar__link i {
    right: 15px;
  }
  .search__input .input {
    padding: 0 55px 0 15px;
  }
  .search__button {
    right: 15px;
  }
  .search__result-item {
    padding-left: 6px;
    padding-right: 6px;
  }

  /* cart */
  .checkout-steps {
    margin-bottom: 25px;
  }
  .checkout-steps__item {
    width: 100%;
    margin-bottom: 4px;
  }
  .checkout-steps__item:last-child {
    margin-bottom: 0;
  }

  /* content */
  .section-advantages, .section-advantages, .section-question, .section-about {
    margin: 15px 0;
    padding: 15px 0;
  }
  .title-block__name, .section__title, .product-accessories__title, .section-about h1 {
    font-size: 24px;
    line-height: 30px;
  }
  .section__body {
    margin-top: 20px;
  }
  .control-sort__link {
    margin: 0 4% 0 0;
  }
  .control-sort__link:last-child {
    margin-right: 0;
  }

  /* form */
  .form-block__row_inline .form-block__cell {
    width: 100%;
    margin: 0 0 10px;
  }
  .form-block__row_inline .form-block__cell:last-child {
    margin-bottom: 0;
  }

  /* category list */
  .category-list__item {
    width: 48%;
  }
  .category-list__cover {
    height: 200px;
    line-height: 200px;
    margin-bottom: 10px;
  }
  .category-list__name {
    font-size: 16px;
  }

  /* city */
  .city-list {
    width: 50%;
  }

  /* advantages */
  .advantages__item {
    width: 100%;
  }

  /* category-main */
  .category-block__item {
    width: 100%;
  }
  .category-block__item:last-child {
    border: 0;
  }
  .category-block__title {
    max-width: none;
  }

  /* product card */
  .products_grid .product-card {
    width: 100%;
  }
  .product-card {
    padding: 0;
  }

  /* product page */
  .product-nav.is_stuck {
    padding: 10px 15px;
  }
  .button-reviews {
    display: block;
    margin: 10px 0 0;
    width: fit-content;
  }

  /* article */
  .article-card__name {
    font-size: 14px;
    line-height: 18px;
  }
  .article-card__cover {
    /* height: 120px; */
  }
  .article-card__summary {
    display: none;
  }

  /* compare */
  .compare {
    padding-top: 30px;
  }
  .compare__head {
    border: 0;
  }
  .compare__options {
    position: absolute;
    width: auto;
    margin-right: 0;
    border: 0;
  }
  .compare__options .checkbox {
    position: absolute;
    top: -40px;
    left: 0;
  }
  .compare__products {
    padding-left: 0;
  }
  .compare__products .compare__item:before {
    height: 35px;
  }
  .compare__options .compare__item:hover, .compare__options .compare__item.hover {
    background: transparent;
  }

  /* footer */
  .footer__content {
    margin: 0 -15px;
  }
  .footer__title {
    padding: 10px 15px;
  }
  .footer__title:after {
    right: 15px;
  }
  .footer__nav-link {
    padding: 10px 15px;
  }
  .contact-foot {
    padding-left: 0;
  }
  .contact-foot i {
    display: none;
  }
  .social-list {
    width: 100%;
    margin-top: 5px;
  }
}

@media screen and (max-width: 399px) {
  .m-header__logo, .m-header__search, .m-header__compare, .m-header__basket, .m-header__whatsapp, .m-header__phone {
    padding-right: 10px;
  }
  .m-header__search {
    padding: 0 10px 0 0;
  }
}