/*==========  Desktop First Method  ==========*/
@media (max-width: 1399px) {
  .logo img {
    max-height: 55px;
  }
  .header__grid .logo,
  .header__grid .search-form,
  .header__shops {
    margin-right: 30px;
  }
  .header__grid .search-form {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    width: auto;
  }
  .menu-line__list {
    margin: 0 30px;
  }
  .sm-advant {
    padding: 15px;
  }
  .sm-advant .img-box {
    margin-right: 15px;
  }
  .cats-slider {
    padding-right: 50px;
  }
  .cats-slider__next {
    width: 35px;
  }
  .sm-about__img {
    width: 400px;
    margin-left: 80px;
  }
  .shop-item__btns {
    /* margin-top: -10px; */
  }
  .footer__grid {
    padding: 60px 0;
  }
  .footer__first {
    width: 320px;
  }
  .catalog__grid {
    margin: 0 -15px 0 0;
  }
  .catalog__main,
  .catalog__filter {
    padding: 0 15px 0 0;
  }
  .catalog-row {
    margin-left: 0;
    margin-right: -15px;
  }
  .catalog-row > * {
    padding-left: 0;
    padding-right: 15px;
  }
  .product__left {
    padding-right: 50px;
  }
  .product__right {
    padding-left: 0;
  }
  .cart__left,
  .lc__right {
    width: 71%;
  }
  .cart__right,
  .lc__menu {
    width: 29%;
  }
}

@media (max-width: 1199px) {
  table {
    font-size: 15px;
  }
  .title {
    margin-bottom: 30px;
  }
  .title__grid .tab-btns {
    margin: 30px 0 0;
    width: 100%;
  }
  .tab-btns {
    margin-bottom: 30px;
  }
  .tab-btns__wrap {
    margin-bottom: -15px;
  }
  .tab-btn {
    margin: 0 25px 15px 0;
    padding: 0 0 12px;
  }
  .tab-btn-lk {
    margin: 0 25px 15px 0;
    padding: 0 0 12px;
  }
  .menu__list {
    width: 350px;
  }
  .menu__drop {
    padding-left: 40px;
  }
  .bann-slider .swiper-nav {
    bottom: 110px;
  }
  .sm-about__main .btn {
    margin-top: 30px;
  }
  .shop-item__grid {
    padding: 60px 390px 60px 0;
  }
  .shop-item__btns {
    /* margin-left: 20px; */
  }
  .shop-item__img {
    width: 400px;
  }
  .footer__grid {
    padding: 40px 0;
  }
  .footer__first {
    display: none;
  }
  .foot-bottom {
    padding: 30px 0;
    font-size: 15px;
  }
  .catalog__grid {
    display: block;
    margin: 0;
  }
  .catalog__filter,
  .catalog__main {
    width: auto;
    padding: 0;
  }
  .catalog__filter {
    margin: 0 0 40px;
  }
  .catalog-sort {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .inn-bann {
    padding: 40px 0 25px;
  }
  .inn-bann .breadcrumbs {
    margin-bottom: 20px;
  }
  .product__wrap {
    display: block;
  }
  .product__left {
    width: auto;
    padding: 0;
  }
  .product__right {
    width: auto;
    margin: 50px 0 0;
  }
  .product__content {
    margin-top: 40px;
  }
  .cart__wrap {
    display: block;
  }
  .cart__left {
    width: auto;
  }
  .cart__right {
    width: auto;
    margin: 50px 0 0;
    padding: 0;
  }
  .cart-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  .lc__wrap {
    display: block;
  }
  .lc__menu {
    width: auto;
    margin: 0 0 40px;
    padding: 0;
    max-width: 300px;
  }
  .lc__right {
    width: auto;
    padding: 0;
  }
  .shops-popup {
    padding: 0;
    max-width: 660px;
    min-height: 0;
  }
  .shops-popup .close-btn {
    top: -15px !important;
    right: -15px !important;
  }
  .shops-popup__map {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 0 0 5px 5px;
  }
}

@media (max-width: 991px) {
  h1, .h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 28px;
  }
  .top-line {
    padding: 17px 0;
  }
  .top-line__menu li {
    margin-right: 25px;
  }
  .header {
    padding: 20px 0;
  }
  .header__phone {
    margin-right: 15px;
    font-size: 0;
  }
  .header__phone:before {
    display: block;
    content: '\e90b';
    font-family: 'icomoon';
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-size: 26px;
  }
  .header__icons > *:nth-child(n+2) {
    margin-left: 15px;
  }
  .header__shops span {
    display: none;
  }
  .menu-line__grid,
  .menu__top {
    height: 95px;
  }
  .menu__list {
    width: 320px;
  }
  .menu__list-dropdown > li {
    width: 100%;
  }
  .menu__list-dropdown > li:nth-child(n) {
    padding: 0;
  }
  .menu__list-dropdown > li:nth-child(n+2) {
    margin-top: 30px;
  }
  .bann-item {
    padding: 40px;
  }
  .cat-item span {
    left: 15px;
    right: 15px;
  }
  .sm-about__img {
    display: none;
  }
  .shop-item:before {
    top: 0;
  }
  .shop-item__grid {
    padding: 40px 0 265px;
  }
  .shop-item__img {
    top: auto;
    left: 0;
    right: auto;
    height: 230px;
  }
  .reg__top {
    padding: 30px 30px 45px;
  }
  .lc-order__avail {
    width: auto !important;
    margin-right: 30px;
  }
  .lc-order__items .cart-item__price {
    min-width: 0;
  }
  .lc-sort__fields {
    margin-left: 30px;
  }
}

@media (max-width: 375px) {
  .shop-item__btns {
    flex-direction: column;
  }
  .shop-item__btns a{
    margin-right: 0;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .breadcrumbs li {
    margin-right: .4em;
    padding-right: 1.2em;
  }
  .top-line__menu {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: 20px;
    max-width: 100%;
    border-radius: 5px;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    color: #000;
  }
  .top-line__menu ul {
    display: block;
  }
  .top-line__menu li {
    margin: 0;
    border-bottom: 1px solid #EAEAEA;
  }
  .top-line__menu li:last-child {
    border-bottom: none;
  }
  .top-line__menu a {
    display: block;
    padding: 8px 10px;
  }
  .header__grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .header__sep {
    display: block;
  }
  .header__grid .search-form {
    margin-right: 0;
  }
  .header__shops {
    margin-right: auto;
  }
  .header__shops span {
    display: block;
  }
  .header__phone {
    margin-right: 30px;
    font-size: 18px;
  }
  .header__phone:before {
    display: none;
  }
  .header__icons {
    margin-left: 0;
  }
  .menu__list {
    width: 100%;
    border-radius: 0 0 5px 5px;
  }
  .menu__list > li._dropdown > a:after {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .menu__list-dropdown {
    position: relative;
    margin-bottom: 10px;
    padding: 30px 35px;
    background: #fff;
    color: #000;
  }
  .menu__list-dropdown > li > a {
    font-size: 18px;
  }
  .menu__list > li:last-child .menu__list-dropdown {
    margin-bottom: 0;
  }
  .menu__drop {
    display: none;
  }
  .bann-slider .swiper-nav {
    display: none;
  }
  .bann-item {
    padding: 40px 30px;
    min-height: 300px;
  }
  .bann-item__wrap {
    min-height: 0;
  }
  .offers-slider .swiper-nav {
    display: none;
  }
  .offer-item {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .offer-item__img {
    position: relative;
    height: 200px;
    border-radius: 5px 5px 0 0;
  }
  .offer-item__main {
    width: auto;
    border-radius: 0 0 5px 5px;
  }
  .footer__menu-col {
    margin-right: 20px;
  }
  .footer__menu-list {
    font-size: 14px;
  }
  .categories-slider .swiper {
    margin: -30px -10px;
    padding: 30px 10px;
  }
  .categories-row {
    margin: 0 -5px -10px;
  }
  .categories-row > * {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
  }
  .category-item {
    min-height: 160px;
  }
  .category-item__head {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 14px;
  }
  .cart-item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .cart-item__main {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    max-width: none;
  }
  .cart-item__action {
    margin: 25px 0 0;
    width: 100%;
  }
  .order-choice__item {
    width: 245px;
  }
  .order-shop {
    display: block;
  }
  .order-shop__img {
    width: auto;
    min-height: 200px;
  }
  .lc-order__first {
    display: block;
    position: relative;
    padding: 20px;
  }
  .lc-order__main,
  .lc-order__price {
    margin: 0 0 15px;
  }
  .lc-order__avail {
    margin: 0;
  }
  .lc-order__toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
  }
  .lc-order__second {
    display: block;
    padding: 20px;
  }
  .lc-order__second .btn {
    margin-top: 15px;
  }
  .lc-order__items {
    padding: 20px;
  }
  .lc-order__items .cart-item__action {
    width: 100%;
  }
  .lc-order__items .cart-item__price {
    text-align: left;
  }
  .lc-sort {
    display: block;
  }
  .lc-sort__fields {
    margin: 20px 0 0;
  }
  .shops-popup {
    max-width: none;
  }
  .shops-popup__title {
    padding: 30px 20px 20px;
  }
  .shop-avail {
    padding: 20px;
  }
  .shop-avail__main {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    width: 100%;
    margin: 0 0 15px;
  }
}

@media (max-width: 575px) {
  .foot-bottom {
    text-align: center;
  }
  .foot-bottom p {
    margin-bottom: 15px;
  }
  h1, .h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  table {
    font-size: 14px;
  }
  .title__grid {
    display: block;
  }
  .title__action {
    margin: 20px 0 0;
  }
  .tab-btns {
    overflow: auto;
    width: auto !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  .tab-btns:before {
    display: none;
  }
  .tab-btns__wrap {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    margin: 0;
    padding: 0 15px;
    -webkit-box-shadow: inset 0 -1px 0 #E2E2E2;
            box-shadow: inset 0 -1px 0 #E2E2E2;
  }
  .tab-btn {
    margin: 0 25px 0 0;
  }
  .tab-btn-lk {
    margin: 0 25px 0 0;
  }
  .pagination {
    margin-top: 40px;
    padding-top: 40px;
  }
  .pagination__list {
    margin: 0 -4px -8px;
  }
  .pagination__list li {
    margin: 0 4px 8px;
  }
  .pagination__list a, .pagination__list span {
    padding: 0 10px;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
  }
  .header__phone {
    margin-right: auto;
    font-size: 0;
  }
  .header__phone:before {
    display: block;
  }
  .header__grid._search .logo {
    display: none;
  }
  .menu-line__btn {
    width: 100%;
  }
  .menu-line__list,
  .menu-line__next {
    display: none;
  }
  .menu__top {
    padding: 0;
  }
  .menu__close {
    width: 100%;
  }
  .menu__list {
    padding: 15px 0;
  }
  .menu__list > li > a {
    padding: 11px 20px 10px;
  }
  .menu__list > li._dropdown > a {
    padding-right: 40px;
  }
  .menu__list > li._dropdown > a:after {
    right: 20px;
  }
  .menu__list-dropdown {
    padding: 30px 20px;
  }
  .bann-item {
    padding: 40px 20px;
    min-height: 150px;
    background-size: contain;
    background-color: transparent;
  }
  .bann-item__content {
    font-size: 15px;
  }
  .sm-advants .row {
    margin-bottom: -15px;
  }
  .sm-advants .row > * {
    margin-bottom: 15px;
  }
  .cats-slider {
    padding: 0;
  }
  .cats-slider__next {
    display: none;
  }
  .cats-slider .swiper {
    margin: 0 -15px;
    padding: 0 15px;
  }
  .cats-slider .swiper-slide {
    width: 175px;
  }
  .offer-item__img {
    height: 150px;
  }
  .offer-item__main {
    padding: 30px 20px;
  }
  .shop-item__grid {
    display: block;
    padding-bottom: 230px;
  }
  .shop-item__main {
    width: auto;
  }
  .shop-item__img {
    height: 200px;
  }
  .shop-item__btns {
    /* margin: 20px -10px 0 0; */
  }
  .shop-item__btns > * {
    margin: 10px 10px 0 0;
  }
  .footer__grid {
    display: block;
    text-align: center;
  }
  .footer__first {
    display: block;
    margin: 0 auto 40px auto;
  }
  .footer__first > * {
    margin-bottom: 30px;
  }
  .footer__menu {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    flex-direction: column;
  }
  .footer__menu-col {
    margin-top: 30px;
  }
  .footer__menu-col:nth-child(2) {
    margin-right: 0;
  }
  .footer__menu-col:nth-child(1) {
    margin-top: 0;
  }
  .footer__menu-col:nth-child(3) {
    margin-top: 30px;
    width: 100%;
    max-width: none;
  }
  .foot-bottom__grid {
    display: block;
  }
  .foot-bottom__grid a{
    margin-top: 15px;
  }
  .foot-bottom__link {
    margin: 15px 0 0;
  }
  .categories-slider .swiper {
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .catalog-sort__head {
    margin-right: 15px;
  }
  .catalog-sort__field {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    width: auto;
  }
  .product-gallery {
    padding: 0;
  }
  .product-gallery .img-box {
    height: auto;
  }
  .product-gallery .img-box:before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 100%;
  }
  .product-gallery__thumbs {
    position: relative;
    width: auto;
    height: auto;
    margin: 20px 0 0;
  }
  .product__price {
    margin-left: -20px;
    margin-right: -20px;
  }
  .product__price-col {
    padding-left: 20px;
    padding-right: 20px;
  }
  .product__action {
    display: block;
  }
  .product__action > :nth-child(n+2) {
    margin: 15px 0 0;
  }
  .product__action .quantity + .btn {
    margin: 15px 0 0;
  }
  .product__avail {
    display: block;
    padding: 15px;
  }
  .product__avail-main {
    margin: 0 0 10px;
    width: auto;
    font-size: 14px;
  }
  .product__avail .btn {
    width: 100%;
  }
  .cart-item__img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
  .order-box {
    max-width: none;
  }
  .order-box__row {
    padding: 25px;
  }
  .order-choice {
    margin: 0 0 15px;
  }
  .order-choice:last-child {
    margin-bottom: -15px;
  }
  .order-choice__item {
    width: 100%;
    margin: 0 0 15px;
  }
  .order-shop__main {
    padding: 20px 10px;
  }
  .order-shop__item {
    padding-left: 28px;
  }
  .reg__top {
    padding: 15px 15px 45px;
  }
  .reg__wrap {
    max-width: none;
    padding: 0 15px;
  }
  .reg__box {
    margin: 0 -15px;
    border-radius: 0;
  }
  .reg__row {
    padding: 30px 15px;
  }
  .lc__menu {
    max-width: none;
  }
  .popup {
    max-width: none;
  }
  .popup .close-btn {
    top: 30px;
    right: 20px;
  }
  .popup__row {
    padding: 30px 20px;
  }
  .shops-popup__title {
    display: block;
  }
  .shops-popup__title .form-field {
    margin: 15px 0 0;
    width: 100%;
  }
  .shop-avail__count {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    margin: 0;
    padding: 0 10px 0 0;
    min-width: 0;
    border: none;
    text-align: inherit;
    line-height: 1.2;
  }
}

/*==========  Mobile First Method  ==========*/
@media (min-width: 768px) {
  .top-line__toggle {
    display: none;
  }
  .top-line__menu {
    display: block !important;
  }
  .menu__list .menu__list-dropdown {
    display: none !important;
  }
  .menu__drop .menu__list-dropdown {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

@media (min-width: 1200px) {
  .shops .title {
    margin-bottom: 60px;
  }
}
@media (max-width: 575px){
  .menu__list {
    padding-left: 20px;
  }
  .menu__list > li > a {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .catalog-item {
    padding: 10px;
    border-right: 1px solid #e3e1d8;
    border-bottom: 1px solid #e3e1d8;
  }
  .catalog-row > * {
    padding-right: 0;
    margin: 0;
  }
  .pagination {
    border-top: none;
  }
}

@media (max-width: 575px) {
  .header__grid .logo {
    margin: 0 auto 15px;
  }
  .logo img {
    max-height: 60px;
  }
  .header__grid .logo._ny {
    left: 5px;
    margin-bottom: 5px;
  }
  .header__grid #title-search {
    width: 100%;
  }
}