

@media screen and (max-width: 1380px) {
  .ocf-btn-mobile-static {
    display: none !important;
  }

  .box-wrap,
  header nav .box-wrap,
  #catalog .box-wrap {
    width: 900px
  }

  header .logo {
    order: 0
  }

  header .data {
    order: 1
  }

  header .search {
    order: 2;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
  }

  #filters {
    width: 270px;
  }
  

  #promo {
    height: auto;
    padding: 25px 0 100px;
  }

  #promo .image {
    max-width: 500px
  }

  #promo .text {
    width: calc(100% - 520px);
    padding: 20px 0 0;
  }

  #promo .title b {
    font-size: 32px;
    margin-bottom: 10px;
  }

  #promo .title span {
    font-size: 20px;
    display: block;
  }

  #promo .btn {
    margin: 20px 0 0;
  }


  .list__marks {
    grid-template-columns: repeat(5, 1fr);
  }

  #product__show .list__products {
    grid-template-columns: repeat(4, 1fr);
  }


  footer .logo {
    width: 100%;
    margin-bottom: 50px;
  }

  footer .logo img {
    margin: 0 auto
  }


  #catalog__products .data {
    width: 100%;
  }

  #catalog__products .list__marks.list__models {
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(3, 1fr);
     /* width: calc(100% - 400px); */
     width: calc(100% - 300px);
  }


  .filters__mobile {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  .filters__mobile .title {
    line-height: 50px;
    color: #fff;
    background: #18B0F7 url("../img/filters.svg") calc(50% - 52px) 50% no-repeat;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
  }

  .filters__mobile .filter__content {
    display: none;
  }


  #top-btn a,
  #callback-btn a {
    width: 50px;
    height: 50px;
    right: 10px;
    background-size: 12px;
    font-size: 16px;
  }


  #page__product .gallery {
    width: 100%;
    margin-bottom: 20px;
  }

  #page__product .data {
    width: 100%;
  }

  #page__product .advantages .item {
    width: 100%;
    margin-bottom: 20px;
  }

  .full__tth .row {
    width: 100%;
  }
}

@media screen and (max-width: 990px){
    #catalog__products .list__marks.list__models {
       /* grid-template-columns: repeat(4, 1fr);*/
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    #catalog__products:not(:has(.list__marks)) .data {
        width: 100%;
    }
}

@media screen and (max-width: 959px) {

  .box-wrap,
  header nav .box-wrap,
  #catalog .box-wrap {
    width: 100%;
    padding: 0 17px;
  }

  header .data {
    display: none;
  }

  header .bottom {
    padding: 15px 0;
  }

  header .search {
    margin-top: 12px;
  }

  header .logo {
    width: 100%;
  }

  header .logo img {
    max-width: 285px;
    margin: 0 auto
  }


  header .actions__mobile {
    display: flex;
  }

  header .top .flex {
    justify-content: center;
  }

  header .left-block,
  header .right-block {
    display: none;
  }

  header .top .pull,
  header .top a,
  header .top .pull,
  header .top button {
    display: block;
    width: 52px;
    height: 46px;
  }

  header .top a {
    border-right: 1px solid #3B3B3B;
  }

  header .top .pull {
    background: url("../img/pull.svg") 50% 50% repeat;
  }

  header .top button.info {
    box-shadow: none;
    border: none;
  }

  header .top button.info svg {
    width: 25px;
    fill: #d5d5d5;
  }

  .user__cart .btn-orange {
    line-height: 36px;
  }

  header .top a.compare,
  header .top button.info,
  header .top a.phone {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  header .top a.compare svg,
  header .top a.phone svg {
    width: 30px;
    fill: #d5d5d5;
  }

  header .top a.phone svg {
    width: 22px;
  }

  header nav {
    position: absolute;
    top: 46px;
    left: 0;
    width: 100%;
    z-index: 222;
    display: none;
  }

  header nav.open {
    display: block;
  }

  header nav li {
    display: block;
    width: 100%;
  }

  #cart-total b {
    display: none;
  }

  header .top #cart {
    border-right: 1px solid #3B3B3B;

  }

  header #cart button.cart-but {
    background-image: url(../img/cartm.svg);
    background-size: 30px;
    background-position: center;
  }

  header #cart .cart-price-all {
    position: absolute;
    top: 5px;
    left: 32px;
  }

  .user__cart {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 320px;
    z-index: 9999;
    color: #3B3B3B;
  }
  .user__cart .total {
    justify-content: space-between!important;
  }
  .user__cart .info-cart {
    width: 100%;
  }

  .user__cart .title a {
    width: 100%;
    border-right: none;
    margin: 10px 0;
    height: auto;
  }

  .user__cart {
    overflow: auto;
    height: 100vh;
  }

  .user__cart .bt {
    color: #333;
  }

  .user__cart {
    right: 17px;
    max-width: calc(100% - 34px);
    margin-top: -15px;
    top: 0;
  }

  .m-info-menu {
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 50px;
    width: 100%;
    background-color: #3B3B3B;
    padding: 20px;
  }
  .m-info-menu ul li a {
    color: #fff;
    padding: 10px 0;
    display: block;
  }

  #catalog .box-wrap {
    margin: 0;
    padding: 30px 17px
  }


  #promo .image {
    width: 350px;
  }

  #promo .text {
    width: calc(100% - 370px)
  }


  .list__marks {
    grid-template-columns: repeat(4, 1fr);
  }

  #product__show .list__products {
    grid-template-columns: repeat(3, 1fr);
  }


  .list__products {
    grid-template-columns: repeat(3, 1fr);
  }


  #catalog__products .flex {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  #catalog__products .list__products .item .actions {
    padding-right: 20px;
    box-sizing: border-box;
  }

  #catalog__products .list__marks {
    grid-template-columns: repeat(5, 1fr);
  }

  .filter__products .tags {
    padding-bottom: 20px;
  }

  footer {
    font-size: 15px;
  }
  .products-compare .row a {
    width: 120px;
  }
}


#page__compare .swiper-button-next,
#page__compare .swiper-button-prev {
  display: none;
}


@media screen and (max-width: 767px) {
  #filters {
    width: 370px;
  }
  
  #filters .ocf-header {
    display: block;
  }

  .bt {
    font-size: 16px;
  }

  #filters .ocf-filter-name:after,
  #filters .ocf-filter:nth-child(-n+3) .ocf-filter-name:after {
    display: none;
  }

  #filters .ocf-theme-light .ocf-filter {
    margin-bottom: 0;
  }

  .ocf-filter {
    margin: 0 10px;
  }

  #filters .ocf-filter-name {
    border: none;
  }

  #filters .ocf-body>.ocf-filter-list {
    padding-bottom: 100px;
  }


  #filters .ocf-close-mobile {
    position: absolute;
    right: 15px;
    top: 20px;
  }

  #promo .image {
    width: 100%;
    max-width: 100%;
  }

  #promo .image img {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  #promo .text {
    width: 100%;
    text-align: center;
  }

  #promo .sale span {
    left: 0
  }


  .list__catalog .item {
    width: 100%;
  }

  .list__catalog .item a {
    padding-bottom: 20px;
  }

  .list__catalog .title {
    font-size: 15px;
  }


  #page__compare .box-wrap {
    padding: 0;
  }

  #page__compare .bt {
    padding: 0 17px;
  }

  #page__compare .tth__name {
    width: 140px;
    text-align: right;
    padding-top: 50px;
  }

  #page__compare .tth__name .row {
    font-size: 12px;
    text-align: right;
    justify-content: flex-end;
    height: 60px;
  }

  .products-compare {
    width: calc(100% - 140px);
  }

  .products-compare .row {
    padding: 0 10px;
    font-style: 11px;
    height: 60px;
  }

  .products-compare .row.row__price {
    font-size: 18px;
  }

  #page__compare .swiper-button-next,
  #page__compare .swiper-button-prev {
    display: block;
    top: 0;
    margin-top: 0;
    width: 30px;
    height: 30px;
    background-size: 100%;
  }

  #page__compare .swiper-button-prev {
    left: calc(100% - 100px)
  }

  #page__compare .swiper-button-next {
    right: 17px;
  }

  .swiper-compare {
    padding-top: 50px;
  }





  .list__marks {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .list__marks .item .title {
    line-height: 15px;
    font-size: 9px;
  }

  .list__marks .item a {
    /* height: 95px */
  }

  .list__marks .item a .icon {
    /* height: 75px; */
  }

  .list__marks .item a .icon img {
    /* max-height: 54px; */
    width: auto;
  }


  #product__show .list__products {
    gap: 12px;
  }

  #product__show .list__products .item .compare a {
    width: 24px;
    height: 24px;
    background-size: 13px;
  }

  #product__show .list__products .item .artikul,
  #product__show .list__products .item .title a,
  #product__show .list__products .item .title {
    font-size: 7px;
    line-height: normal;
  }

  #product__show .list__products .item .price {
    font-size: 10px;
  }

  #product__show .list__products .item .rating {
    transform: scale(0.7);
  }

  #product__show .list__products .item .btn {
    font-size: 9px;
  }


  #catalog__products .list__marks.list__models {
    grid-template-columns: repeat(3, 1fr);
  }

  #catalog__products .list__marks.list__models .item {
    /* height: 160px; */
  }

  #catalog__products .list__marks.list__models .item .title {
    line-height: normal;
    padding: 3px;
    font-size: 9px;
  }


  #page__product .gallery .main__image {
    /* height: 305px; */
    padding: 0;
  }

  #page__product .gallery .thumbnails a {
    height: 90px;
  }

  #page__product .data .info {
    margin-bottom: 0;
  }

  .btn__cart.flex,
  #page__product .message,
  #page__product .message .btn {
    width: 100% !important;
    margin-bottom: 0;
  }

  #page__product .data .info .st {
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
  }

  #page__product .data .info .st div {
    /*width: 49%;*/
    font-size: 13px;
  }

  #page__product .tth {
    padding-top: 20px;
  }

  #page__product .tth .row {
    font-size: 9px;
  }

  #page__product .tth p,
  #page__product .tth span {
    font-size: 9px;
    height: 28px;
    width: 110px;
  }

  #page__product .tth span {
    width: calc(100% - 120px)
  }


  .full__tth,
  .product__description {
    padding: 0;
    border: none;
    font-size: 10px;
  }

  .full__tth .row {
    font-size: 9px;
  }

  .full__tth p,
  .full__tth span {
    font-size: 9px;
    height: 28px;
    width: 110px;
  }

  .full__tth span {
    width: calc(100% - 120px)
  }


  .product__reviews {
    padding: 25px 20px;
  }

  .product__reviews .rev {
    width: 100%;
    padding: 10px 0 0;
  }

  .product__reviews .item {
    position: relative;
  }

  .product__reviews .item .name {
    font-size: 11px;
  }

  .product__reviews .item p {
    font-size: 10px;
  }

  .product__reviews .item .date {
    position: absolute;
    top: 0;
    right: 0px;
    font-size: 14px;
  }


  #page__product .advantages .item .icon {
    width: 75px;
    height: 75px;
  }

  #page__product .advantages .item .inn {
    width: calc(100% - 90px);
    font-size: 12px;
  }

  #page__product .advantages .item .inn .title {
    font-size: 15px;
  }

  #page__product .data .cart {
    width: 100%;
  }

  #page__product .data .compare {
    width: 100%;
  }

  #page__product .data .compare button,
  #page__product .data .cart button {
    width: 100%;
    text-align: center;
    background-position: calc(50% - 65px) 50%;
  }


  footer {
    padding: 20px 0 0;
  }

  footer .logo {
    margin-bottom: 20px;
  }

  footer .copyright {
    font-size: 11px;
    margin-top: 25px;
  }

  footer .social {
    padding: 20px 0 0;
  }

  footer .col {
    width: 100%;
  }

  footer .col ul {
    display: none;
  }

  footer .title {
    width: calc(100% + 34px);
    left: -17px;
    position: relative;
    border: none;
    text-align: center;
    text-transform: none;
    font-size: 16px;
    font-weight: 500;
    background: #3B3B3B;
    padding: 0;
    margin: 0 0 1px;
    line-height: 50px;
  }

  footer .title:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: url("../img/arrtf.svg") 0% 50% no-repeat;
    content: ''
  }

  footer .title.open {
    margin-bottom: 20px;
  }

  footer .title.open:after {
    transform: rotate(180deg);
    background-position: 100% 50%
  }


  #order__check {
    font-size: 14px;
    padding-bottom: 45px;
  }

  #order__check p {
    margin-bottom: 20px;
  }

  #order__check .title {
    margin-bottom: 20px;
    font-size: 35px;
  }


  #catalog__products .data .list__marks {
    grid-template-columns: repeat(4, 1fr);
  }

  .filter__products .tags {
    padding-bottom: 20px;
  }

  #catalog__products .data {
    display: flex;
    flex-wrap: wrap;
  }

  #catalog__products .data .filter__products {
    order: 0;
  }

  #catalog__products  .list__marks {
    order: 0;
  }

  .filters__mobile {
    order: 2;
  }

  #catalog__products .data .list__products {
    order: 3;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .show__more {
    order: 4;
    width: 100%;
  }

  .pagination__list {
    order: 5;
    width: 100%;
  }

  .filter__products .show {
    display: none;
  }

  #catalog__products .flex {
    padding: 0
  }


  .filter__products .sorting {
    justify-content: space-between !important
  }

  .filter__products select {
    width: calc(100% - 100px);
    margin-top: 10px !important;
    font-size: 10px;
    height: 35px;
    background-size: 12px;
  }

  .filter__products select.count__show {
    margin: 0;
    width: 66px;
  }


  #top-btn {
    bottom: 50px
  }

  #callback-btn {
    bottom: 150px
  }

  #top-btn button {
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 530px) {
  #product__show .list__products {
    grid-template-columns: 1fr 1fr;
  }

  #product__show .list__products .item .artikul,
  #product__show .list__products .item .title a,
  #product__show .list__products .item .title {
    font-size: 11px;
  }
}