﻿html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}

@media only screen and (max-width: 992px) {
  .codex-mobile-search-header .codex-mobile-search-header__top {
    display: flex;
    grid-area: auto !important;
  }

  .codex-mobile-search-header .codex-mobile-search-header__logo {
    flex: 0 0 auto;
    width: auto !important;
    max-width: 27vw;
    grid-area: auto !important;
  }

  .codex-mobile-search-header .codex-mobile-search-header__logo svg {
    display: block;
    flex: 0 0 auto;
    width: 102px;
    height: 3.8rem;
    max-width: 27vw;
  }

  .codex-mobile-search-header .codex-mobile-search-header__icon-link {
    display: flex;
    position: relative;
    justify-content: center;
    width: 3.8rem;
    min-width: 3.8rem;
    height: 3.8rem;
    min-height: 3.8rem;
    padding: 0;
    border: 1px solid #e3ebf4;
    border-radius: 50%;
    background: #fff;
    color: #132238;
    box-shadow: 0 .35rem 1.1rem rgba(17, 35, 58, .08);
    grid-area: auto !important;
    flex: 0 0 3.8rem;
  }

  .codex-mobile-search-header .codex-mobile-search-header__icon-link svg {
    position: static;
    width: 2rem;
    height: 2rem;
    margin: 0;
    fill: currentColor;
  }

  .codex-mobile-search-header .codex-mobile-search-header__catalog {
    display: flex;
    justify-content: center;
    grid-area: auto !important;
  }

  .codex-mobile-search-header .codex-mobile-search-header__search {
    display: block !important;
    position: relative;
    grid-area: auto !important;
  }

  .codex-mobile-search-header .codex-mobile-search-header__search .search__submit {
    position: absolute;
    margin: 0 !important;
    right: .5rem;
  }
}

body {
  position: relative;
}

@media only screen and (max-width: 992px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
  }

  .header-main-wrapper,
  .main-wrapper,
  .main-wrapper__content,
  .mob-header,
  .home-ads-intro,
  .home-ads-intro__inner,
  .home-ads-intro__benefits,
  .home-ads-intro__item,
  .home-ads-intro__copy,
  .banners,
  .home-cat,
  .home-all-cats,
  .products-set,
  .footer,
  .catalog,
  .page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container,
  .mob-header__container {
    max-width: 100%;
  }

  .mob-header-anchor.hide-above-l {
    display: block !important;
    width: 100%;
    height: 11.45rem !important;
    margin-bottom: 0 !important;
  }

  .home-ads-intro__inner,
  .home-ads-intro__benefits {
    min-width: 0;
    overflow: hidden !important;
  }

  .home-ads-intro__copy {
    min-width: 0;
    overflow: visible !important;
  }

  .home-ads-intro__item {
    overflow: hidden !important;
  }

  .home-ads-intro__title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .home-ads-intro__copy b,
  .home-ads-intro__copy span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .home-ads-intro__inner:after,
  .home-ads-intro__item:after {
    content: none !important;
    display: none !important;
  }

  .codex-mobile-search-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10020;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e3ebf4;
    box-shadow: 0 .35rem 1.2rem rgba(16, 31, 52, .055);
    transform: translateZ(0);
  }

  .codex-mobile-search-header .mob-header__container {
    width: 100%;
    max-width: 100%;
    padding-left: .85rem;
    padding-right: .85rem;
    margin-left: 0;
    margin-right: 0;
  }

  .codex-mobile-search-header .mob-header__content {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: .8rem 0 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }

  .codex-mobile-search-header__top,
  .codex-mobile-search-header__actions,
  .codex-mobile-search-header__search-row,
  .codex-mobile-search-header__catalog,
  .codex-mobile-search-header__icon-link {
    display: flex;
    align-items: center;
  }

  .codex-mobile-search-header__top {
    justify-content: flex-start;
    gap: .65rem;
    min-width: 0;
  }

  .codex-mobile-search-header__logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
  }

  .codex-mobile-search-header__logo svg {
    width: 10.2rem;
    height: 3.8rem;
    max-width: 27vw;
  }

  .codex-mobile-search-header__actions {
    justify-content: flex-end;
    gap: .38rem;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .codex-mobile-search-header__icon-link {
    position: relative;
    justify-content: center;
    flex: 0 0 3.8rem;
    width: 3.8rem !important;
    min-width: 3.8rem;
    height: 3.8rem !important;
    min-height: 3.8rem;
    padding: 0;
    border: 1px solid #dfe8f3;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    color: #132238;
    box-shadow: 0 .35rem 1.1rem rgba(17, 35, 58, .08);
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
  }

  .codex-mobile-search-header__icon-link svg {
    position: static;
    width: 2rem;
    height: 2rem;
    fill: currentColor;
  }

  .codex-mobile-search-header__home-link {
    color: #132238;
    background: #fff;
  }

  .codex-mobile-search-header__home-link svg {
    fill: none;
  }

  .codex-mobile-search-header__home-link svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .codex-mobile-search-header__wishlist-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #132238;
    border-color: #dfe8f3;
    background: #fff;
  }

  .codex-mobile-search-header .codex-mobile-search-header__actions > .wishlist-toggler.codex-mobile-search-header__wishlist-link {
    display: flex !important;
    position: relative !important;
    flex: 0 0 3.8rem !important;
    width: 3.8rem !important;
    min-width: 3.8rem !important;
    height: 3.8rem !important;
    min-height: 3.8rem !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .codex-mobile-search-header__heart-icon {
    display: block !important;
    flex: 0 0 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
    fill: none;
    opacity: 1;
    visibility: visible;
  }

  .codex-mobile-search-header__heart-icon,
  .codex-mobile-search-header__heart-icon path {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .codex-mobile-search-header__icon-link:active {
    transform: scale(.97);
  }

  .codex-mobile-search-header__icon-link .basket-toggler__count,
  .codex-mobile-search-header__icon-link .wishlist-toggler__count {
    top: -.55rem;
    right: -.55rem;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: .1rem .45rem 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ff0048;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55rem;
  }

  .codex-mobile-search-header__search-row {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 9.3rem minmax(0, 1fr);
    gap: .7rem;
  }

  .codex-mobile-search-header__catalog {
    justify-content: center;
    gap: .55rem;
    width: 100%;
    height: 4.85rem;
    min-width: 0;
    padding: 0 .7rem;
    border: 0;
    border-radius: 1.35rem;
    background: #62768b;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
  }

  .codex-mobile-search-header__catalog svg {
    width: 1.9rem;
    height: 1.9rem;
    fill: currentColor;
  }

  .codex-mobile-search-header__catalog span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mob-header .codex-mobile-search-header__search {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 4.85rem;
    margin: 0;
    border: 2px solid #ff0048 !important;
    border-radius: 1.45rem;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: none !important;
  }

  .codex-mobile-search-header__search .search__field {
    width: 100%;
    height: 100%;
    padding: 0 10.4rem 0 1.45rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    outline: 0;
    box-sizing: border-box;
    color: #17212b;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: normal;
    box-shadow: none !important;
  }

  .codex-mobile-search-header__search .search__field::placeholder {
    color: #7b8794;
    opacity: 1;
  }

  .codex-mobile-search-header__search .search__field:focus {
    border: 0 !important;
    box-shadow: none !important;
  }

  .codex-mobile-search-header__search .search__submit {
    position: absolute;
    top: .3rem;
    right: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.05rem;
    height: calc(100% - .6rem);
    padding: 0;
    border-radius: 1.05rem;
    background: #ff0048;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
  }

  .full-nav,
  .full-nav.init,
  .full-nav.active {
    z-index: 10080 !important;
  }

  .codex-mobile-search-header__search .search__submit svg {
    display: none;
  }

  .codex-mobile-search-header__search .search__submit span {
    display: block;
  }

  .codex-mobile-search-header__search .search__close,
  .codex-mobile-search-header .search-toggler,
  .codex-mobile-search-header .feedback-toggler {
    display: none !important;
  }
}

@media only screen and (max-width: 360px) {
  .codex-mobile-search-header .mob-header__container {
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .codex-mobile-search-header__top {
    gap: .65rem;
  }

  .codex-mobile-search-header .codex-mobile-search-header__actions {
    gap: .42rem;
  }

  .codex-mobile-search-header .codex-mobile-search-header__icon-link {
    flex-basis: 3.55rem;
    width: 3.55rem !important;
    min-width: 3.55rem;
    height: 3.55rem !important;
    min-height: 3.55rem;
    border-radius: 50%;
  }

  .codex-mobile-search-header .codex-mobile-search-header__actions > .wishlist-toggler.codex-mobile-search-header__wishlist-link {
    flex-basis: 3.55rem !important;
    width: 3.55rem !important;
    min-width: 3.55rem !important;
    height: 3.55rem !important;
    min-height: 3.55rem !important;
  }

  .codex-mobile-search-header__search-row {
    grid-template-columns: 8.7rem minmax(0, 1fr);
    gap: .65rem;
  }

  .codex-mobile-search-header__catalog {
    font-size: 1.15rem;
  }

  .codex-mobile-search-header__catalog svg {
    display: none;
  }

  .codex-mobile-search-header__search .search__field {
    padding-right: 5.4rem;
  }

  .codex-mobile-search-header__search .search__submit {
    width: 4.5rem;
  }

  .codex-mobile-search-header__search .search__submit span {
    display: none;
  }

  .codex-mobile-search-header__search .search__submit svg {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    fill: currentColor;
  }
}

