@media (max-width: 1200px) {
  .site-header .container {
    height: 70px;
  }
  .site-header .site-logo {
    max-width: 170px;
  }
  .site-header .lang-switcher,
  .site-header .btn-login {
    margin-left: 35px;
  }

  .catalog-links .link-wrap {
    height: 400px;
  }
}


@media (max-width: 992px) {
  body {
    font-size: 14px;
  }

  h3 {
    font-size: 32px;
    line-height: 40px;
  }
  h5 {
    font-size: 16px;
    line-height: 24px;
  }

  .site-header .desktop-navigation {
    display: none;
  }
  .site-header .container {
    height: 60px;
    justify-content: space-between;
  }
  .site-header .btn-login {
    margin-left: 0;
  }
  .site-header .site-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .mobile-menu-btn {
    display: block;
    width: 35px;
    height: 35px;
    border: none;
    background-color: transparent;
  }
  .mobile-menu-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, .8);
    box-sizing: border-box;
    overflow: scroll;
    transition: all .5s;
    z-index: 200;
  }
  .mobile-menu.active {
    left: 0;
  }
  .mobile-menu .close-menu {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 0 40px auto;
    border: none;
    background-color: transparent;
  }
  .mobile-menu .close-menu img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mobile-menu .menu-wrap {
    max-width: 400px;
    margin: auto;
  }
  .mobile-menu .menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-menu .menu a {
    padding: 8px;
    font-size: 18px;
    color: #fff;
  }
  .mobile-menu .menu .menu-item-has-children::after {
    display: none;
  }
  .mobile-menu .menu .sub-menu {
    list-style: circle;
    display: block;
    position: static;
    min-width: 0;
    padding: 0;
    padding-left: 25px;
    color: #fff;
    background-color: transparent;
    box-shadow: none;
  }
  .mobile-menu .lang-switcher {
    justify-content: flex-end;
    margin-top: 30px;
  }
  .mobile-menu .lang-switcher a {
    padding: 12px;
    font-size: 18px;
    color: #fff;
  }

  .slider-wrap h1 {
    font-size: 52px;
    white-space: normal;
    margin-bottom: 70px;
  }
  .slider-wrap .btn-consultation {
    height: 60px;
    padding: 15px 20px;
    font-size: 22px;
    line-height: 26px;
  }

  .catalog-links .link-wrap {
    height: 350px;
  }
  .catalog-links .link-wrap a {
    padding: 12px 18px;
  }

  .site-footer .footer-contacts .big-link {
    min-height: 120px;
    padding: 20px;
    font-size: 24px;
  }
  .site-footer .site-info {
    height: 50px;
  }

  .page-title h1 {
    margin: 0 auto 40px;
    font-size: 48px;
  }
  .catalog-page,
  .about-page,
  .news-page,
  .post-page,
  .contacts-page {
    margin: 90px 0 40px;
  }

  .about-page .page-image {
    max-width: 400px;
  }

  .news-page .posts-list {
    justify-content: space-between;
  }
  .news-page .posts-list .post {
    width: calc(50% - 15px);
  }
  .news-page .posts-list .post:not(:nth-of-type(3n)) {
    margin-right: 0;
  }

  .contacts-page .map {
    height: 420px;
  }

  .popup-form .form-wrap {
    overflow-y: scroll;
  }
}

@media (max-width: 768px) {
  h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .site-header .container {
    height: 50px;
  }

  .mobile-menu {
    padding: 20px 10px;
  }
  .mobile-menu .close-menu {
    width: 40px;
    height: 40px;
    margin: 0 0 30px auto;
  }
  .mobile-menu .lang-switcher {
    margin-top: 20px;
  }
  .mobile-menu .menu a,
  .mobile-menu .lang-switcher a {
    padding: 6px;
    font-size: 15px;
  }

  #home-banner img {
    min-height: 500px;
  }
  .slider-wrap h1 {
    font-size: 46px;
    margin-bottom: 60px;
  }
  .slider-wrap .btn-consultation {
    height: 50px;
    padding: 11px 20px;
    font-size: 20px;
    line-height: 24px;
    white-space: nowrap;
  }

  .catalog-links .link-wrap {
    height: 280px;
  }
  .site-footer .footer-contacts .column {
    width: 48%;
  }
  .site-footer .footer-contacts .column.column-contacts {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  .site-footer .footer-contacts .big-link {
    min-height: 100px;
    padding: 20px;
    font-size: 22px;
  }
  .site-footer .site-info {
    height: 40px;
  }

  #to-top {
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
  }

  .page-title h1 {
    margin: 0 auto 30px;
    font-size: 42px;
  }

  .about-page .page-image {
    max-width: 450px;
    margin: 0 auto 30px;
    float: none;
  }

  .contacts-page .map {
    height: 380px;
  }

  .popup-form .form-wrap {
    padding: 20px 15px;
  }
  .form-control {
    padding: 6px;
    font-size: 12px;
    line-height: 16px;
  }
  .contacts-page .page-content .form-wrap textarea.form-control {
    height: 78px;
  }
  .popup-form .form-wrap textarea.form-control {
    height: 62px;
  }
  .popup-form .form-wrap h4 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 24px;
  }
  .popup-form .form-wrap.login-wrap {
    padding-top: 50px;
  }
  .auth-tabs .tab {
    padding: 10px 6px;
  }

  .btn {
    font-size: 12px;
    padding: 9px 15px;
  }

  .shop_table .coupon {
    justify-content: space-between;
  }
  .shop_table .coupon::before,
  .shop_table .coupon::after {
    display: none !important;
  }
  .shop_table .coupon button,
  .shop_table .button[name="update_cart"] {
    max-width: 180px;
  }

  .catalog-categories .item {
    width: 48%;
  }
}


@media (max-width: 767px) {
  .btn-filter {
    display: block;
  }
  #primary {
    width: 100%;
  }
  .products {
    justify-content: space-between;
  }
  .products::before,
  .products::after {
    display: none !important;
  }
  #secondary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 20px;
    background-color: rgba(255, 255, 255, .95);
    box-sizing: border-box;
    overflow-y: scroll;
    z-index: 80;
    transform: translateY(-100%);
    transition: all .5s;
  }
  #secondary.open {
    transform: translateY(0);
  }
  #secondary .btn-close {
    display: block;
    margin: 0 0 30px auto;
  }
}


@media (max-width: 580px) {
  h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .slider-wrap h1 {
    font-size: 40px;
    margin-bottom: 50px;
  }
  .slider-wrap .btn-consultation {
    height: 45px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 21px;
  }

  #home-banner img {
    min-height: 450px;
  }

  .brand-description {
    font-size: 14px;
  }

  .catalog-links .link-wrap {
    width: 100%;
    height: 150px;
  }
  .catalog-links .link-wrap a {
    font-size: 14px;
    padding: 10px 16px;
  }

  .site-footer .footer-contacts .big-link {
    min-height: 80px;
    padding: 10px;
    font-size: 16px;
  }

  .site-footer .site-info {
    height: 30px;
    font-size: 10px;
  }

  .page-title h1 {
    margin: 0 auto 25px;
    font-size: 40px;
  }
  .catalog-page,
  .about-page,
  .news-page,
  .post-page,
  .contacts-page {
    margin: 80px 0 30px;
  }

  .about-page .page-image {
    max-width: 400px;
  }

  .news-page .posts-list .post {
    width: 100%;
  }

  .contacts-page .map {
    height: 320px;
  }
  .contacts-page .page-content {
    flex-direction: column;
    align-items: center;
  }
  .contacts-page .page-content .contacts-info {
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
  }
  .contacts-page .page-content .form-wrap {
    width: 400px;
    max-width: 100%;
  }

  .woocommerce ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
  }

  .single-product .summary .cart {
    flex-direction: column;
    align-items: flex-end;
  }
  .single-product .summary .cart .quantity {
    width: 100%;
  }
  .single-product .summary .cart .quantity label {
    max-width: calc(100% - 90px);
    width: calc(100% - 90px);
  }
  .single-product .summary .cart .button {
    margin-top: 10px;
  }

  .shop_table .coupon {
    flex-direction: column;
  }
  #content .shop_table .coupon input,
  .shop_table .coupon button,
  .shop_table .button[name="update_cart"] {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .woocommerce-error,
  .woocommerce-info,
  .woocommerce-message {
    top: 50px;
    right: 0;
    width: 100%;
  }

  .catalog-categories .item {
    width: 100%;
    max-width: 400px;
    height: 250px;
    margin: 10px auto;
  }

  .distributors .item {
    margin-bottom: 20px;
  }
  .distributors .item .info,
  .distributors .item .map {
    width: 100%;
  }
  .distributors .item .map {
    margin-top: 20px;
  }
}
