@media (max-width: 759px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: clip;
  }

  .container__wrapper,
  .base-container__wrapper,
  .contacts-block__wrapper {
    margin-left: 16px;
    margin-right: 16px;
  }

  .header-info {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-info__links {
    padding-top: 12px;
  }

  .header-city {
    margin: 0;
  }

  .header-city__city,
  .header-city select {
    font-size: 13px;
    line-height: 18px;
  }

  .header-cart__link {
    left: auto;
    right: 16px;
    width: 28px;
    height: 28px;
    background-size: 24px 24px;
  }

  .header-cart__link-text {
    font-size: 8px;
    line-height: 8px;
    margin-bottom: 14px;
    margin-left: 18px;
    padding: 4px;
  }

  .header-nav {
    top: 12px;
  }

  .main-nav__toggle {
    right: 16px;
    width: 32px;
    height: 32px;
  }

  .main-nav__items {
    margin-top: 40px;
    padding-bottom: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav__item > a {
    font-size: 15px;
    line-height: 20px;
    padding: 16px 52px 16px 20px;
    border-bottom: 1px solid #eef0f2;
  }

  .main-nav__item:last-child > a {
    border-bottom: none;
  }

  .main-nav__item-toggle {
    padding: 15px 16px;
  }

  .main-nav__subitems {
    margin-left: 0;
    border-top: none;
    border-bottom: none;
    background: #f6f7f8;
  }

  .main-nav__subitem > a {
    font-size: 14px;
    line-height: 18px;
    padding: 12px 20px 12px 28px;
    border-top: 1px solid #e6e8eb;
  }

  .btn,
  .search-block__button,
  .product-form__button,
  .product-item__buy,
  .customer__submit-btn {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 10px;
  }

  .search-block__input,
  .product-form__quantity-input,
  .product-item__quantity-input,
  .modal-field__input,
  .customer input,
  .customer textarea,
  .nice-select {
    min-height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  .breadcrumbs {
    overflow: hidden;
  }

  .breadcrumbs__wrapper,
  .inner-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .breadcrumbs__list,
  .inner-menu__items {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .breadcrumbs__item,
  .inner-menu__item {
    flex: 0 0 auto;
  }

  .inner-menu {
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .inner-menu__items {
    margin-left: 0;
    padding-bottom: 4px;
  }

  .inner-menu__item {
    margin-left: 0;
    margin-right: 8px;
  }

  .inner-menu__item a {
    display: block;
    padding: 9px 14px;
    border: 1px solid rgba(65, 64, 66, 0.12);
    border-radius: 999px;
    background: #fff;
  }

  .flex-container__h1 h1,
  .product-info__title h1,
  .search-title h1,
  .blog-post h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .product-images__main img,
  .product-item__image img {
    border-radius: 12px;
  }

  .product-item {
    margin-bottom: 16px;
  }

  .product-item__link,
  .product-item__attributes,
  .product-item__form {
    border-left-width: 1px;
    border-right-width: 1px;
  }

  .product-item__link {
    border-top-width: 1px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
  }

  .product-item__attributes {
    display: block;
    padding-bottom: 10px;
  }

  .product-item__attribute {
    font-size: 13px;
    line-height: 18px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-item__attribute:nth-child(n + 4) {
    display: none;
  }

  .product-item__title {
    min-height: 0;
    font-size: 16px;
    line-height: 22px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-item__price {
    font-size: 20px;
    line-height: 22px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-item__colors {
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-item__buy {
    display: block;
    width: 100%;
  }

  .product-item__form {
    padding: 0 10px 10px;
    border-bottom-width: 1px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #fff;
  }

  .product-info__price {
    font-size: 28px;
    line-height: 30px;
  }

  .product-form__quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
  }

  .product-form__quantity-input {
    float: none;
    width: 96px;
    height: 44px;
    margin-right: 0;
    text-align: center;
  }

  .product-form__quantity-label {
    float: none;
    width: auto;
    padding-top: 0;
    font-size: 13px;
    line-height: 18px;
  }

  .product-form__colors {
    padding-bottom: 20px;
  }

  .product-form__colors-input {
    float: none;
    width: 100%;
  }

  .product-form__button {
    font-size: 16px;
  }

  .search-block__form {
    display: block;
  }

  .search-block__label {
    display: block;
  }

  .search-block__label-text {
    display: block;
    margin-bottom: 8px;
  }

  .search-block__input-wrapper,
  .search-block__input,
  .search-block__button {
    display: block;
    width: 100%;
  }

  .search-block__button {
    margin-top: 10px;
  }

  .contacts-block__contacts {
    padding-bottom: 24px;
  }

  .contacts-block__map {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
  }

  .footer__phones a {
    display: inline-block;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 18px;
    line-height: 24px;
  }

  .modal-content__window {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 16px;
  }
}

@media (max-width: 1023px) {
  .btn,
  .product-form__button,
  .product-item__buy,
  .customer__submit-btn,
  .header-cart__link,
  .main-nav__toggle,
  .main-nav__item > a,
  .main-nav__subitem > a,
  .breadcrumbs__item-link,
  .inner-menu__item a {
    touch-action: manipulation;
  }
}
@media (max-width: 759px) {
  .header-info__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-info__logo {
    width: 82px;
    max-width: calc(100vw - 132px);
    margin: 0 auto;
  }

  .header-info__logo-link,
  .header-info__logo-link picture,
  .header-info__logo-link img {
    display: block;
    width: 100%;
  }

  .header-info__links,
  .header-links,
  .header-links__city {
    width: 100%;
  }

  .header-city {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    box-sizing: border-box;
  }

  .header-city:before {
    flex: 0 0 20px;
    margin-right: 8px;
    background-position: 50% 50%;
  }

  .header-city__city {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-left: 0;
    line-height: 18px;
  }

  .header-city select,
  .header-city .nice-select {
    float: none;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: 0;
    padding: 0 18px 0 0;
    line-height: 18px;
    vertical-align: middle;
  }

  .header-city .nice-select .current {
    display: inline-block;
    line-height: 18px;
  }

  .header-city .nice-select:after {
    top: 50%;
    right: 2px;
    display: block;
    width: 8px;
    height: 8px;
    margin-top: -5px;
  }

  .header-cart__link,
  .main-nav__toggle {
    top: 2px;
  }
}
