@media (max-width: 1199px) {
  .header__nav-offcanvas,
  .header__catalog-offcanvas,
  .header__catalog-dropdown {
    background: #f6f8fc;
    color: #202a3a;
    overscroll-behavior: contain;
  }

  .header__nav-head,
  .header__catalog-head,
  .header__catalog-back {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 68px;
    border-bottom: 1px solid #e5eaf2;
    background: #fff;
  }

  .header__nav-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 18px;
  }

  .header__nav-title {
    color: #202a3a;
    font-size: 18px;
    font-weight: 700;
  }

  .header__nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 154px;
    color: #202a3a;
    font-weight: 700;
  }

  .header__nav-brand img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 29px;
  }

  .header__nav-close,
  .header__catalog-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f3f8;
    color: #263348;
  }

  .header__nav-close {
    justify-self: end;
    margin: 0;
  }

  .header__nav-close svg,
  .header__catalog-close svg {
    width: 18px;
    height: 18px;
  }

  .header__nav-body,
  .header__catalog-body {
    padding: 18px 16px max(26px, env(safe-area-inset-bottom, 0px));
  }

  .header__nav-group--acc_action_cart {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 20px;
    border: 0;
  }

  .header__nav-group--acc_action_cart > * { margin: 0; min-width: 0; }
  .header__nav-action { display: contents; }
  .header__nav-action-line { display: none; }

  .header__nav-acc-btn,
  .header__nav-action-btn,
  .header__nav-cart-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 76px;
    min-width: 0;
    padding: 9px 2px;
    border: 1px solid #e2e8f1;
    border-radius: 12px;
    background: #fff;
    color: #27354b;
    box-shadow: 0 3px 10px rgba(30, 42, 60, .035);
    text-decoration: none;
  }

  .header__nav-acc-btn:hover,
  .header__nav-action-btn:hover,
  .header__nav-cart-btn:hover {
    border-color: color-mix(in srgb, var(--theme-primary-color) 46%, white);
    color: #202a3a;
    text-decoration: none;
  }

  .header__nav-acc-btn svg,
  .header__nav-action-btn svg,
  .header__nav-cart-btn svg {
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .header__nav-action-label {
    display: block;
    max-width: 100%;
    color: #4a576b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
  }

  .header__nav-action-counter,
  .header__nav-cart-total .cart-total-counter {
    position: absolute;
    top: 6px;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border-radius: 9px;
    background: var(--theme-primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
  }

  .header__nav-action-counter:empty { display: none; }
  .header__nav-cart-total { position: static; flex: none; font-size: 0; }
  .header__nav-cart-total mark { margin: 0; opacity: 1; }
  .header__nav-cart-total .cart-total-text { display: none; }

  .header__nav-section-title {
    margin: 0 2px 11px;
    color: #7c8799;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .header__nav-body > .header__catalog-menu,
  .header__catalog-body > .header__catalog-menu,
  .header__catalog-dropdown > .header__catalog-menu {
    display: grid;
    gap: 8px;
    padding: 0;
  }

  .header__nav-body > .header__catalog-menu > li,
  .header__catalog-body > .header__catalog-menu > li,
  .header__catalog-dropdown > .header__catalog-menu > li {
    border: 0;
  }

  .header__nav-body > .header__catalog-menu > li > .header__catalog-link,
  .header__catalog-body > .header__catalog-menu > li > .header__catalog-link,
  .header__catalog-dropdown > .header__catalog-menu > li > .header__catalog-link {
    min-height: 54px;
    padding: 13px 16px;
    border: 1px solid #e2e8f1;
    border-radius: 12px;
    background: #fff;
    color: #27354b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 3px 10px rgba(30, 42, 60, .025);
  }

  .header__nav-body > .header__catalog-menu > li:first-child {
    margin-bottom: 8px;
  }

  .header__nav-body > .header__catalog-menu > li:first-child > .header__catalog-link {
    min-height: 62px;
    padding-right: 58px;
    border-color: #202a3a;
    background: #202a3a;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
  }

  .header__nav-body > .header__catalog-menu > li:first-child > .header__catalog-link::after {
    position: absolute;
    top: 50%;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--theme-primary-color);
    color: #fff;
    content: '\203a';
    font-size: 26px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  .header__nav-support,
  .header__nav-social {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e2e8f1;
    border-radius: 14px;
    background: #fff;
  }

  .header__nav-support-title,
  .header__nav-social-title {
    margin-bottom: 11px;
    color: #202a3a;
    font-size: 16px;
    font-weight: 700;
  }

  .header__nav-support-phones { margin: 0 0 8px; }
  .header__nav-support-link {
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    color: #202a3a;
    font-size: 19px;
    font-weight: 700;
  }
  .header__nav-support-link svg { color: var(--theme-primary-color); }
  .header__nav-support-worktime { color: #788599; font-size: 13px; font-weight: 400; line-height: 1.45; }

  .header__call-offcanvas {
    align-items: center;
    justify-content: flex-end;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom, 0px));
    background: rgba(18, 27, 43, .58);
    backdrop-filter: blur(3px);
  }

  .header__call-offcanvas-in {
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid #e2e8f1;
    border-radius: 18px;
    background: #fff;
    color: #202a3a;
    box-shadow: 0 22px 55px rgba(15, 27, 47, .22);
  }

  .header__call-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 17px;
    border-bottom: 1px solid #e9edf4;
  }

  .header__call-heading { min-width: 0; }
  .header__call-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }
  .header__call-hours {
    margin: 7px 0 0;
    color: #728096;
    font-size: 13px;
    line-height: 1.45;
  }
  .header__call-close {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f3f8;
    color: #263348;
  }
  .header__call-close svg { width: 18px; height: 18px; }

  .header__call-menu {
    display: grid;
    gap: 10px;
    padding: 16px 20px 20px;
  }
  .header__call-menu > li,
  .header__call-menu > li:last-child { border: 0; }
  .header__call-menu > li + li {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .header__call-link {
    display: flex;
    align-items: center;
    min-height: 72px;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f1;
    border-radius: 13px;
    background: #f8faff;
    color: #202a3a;
    font-size: 15px;
    font-weight: 600;
  }
  .header__call-link:hover {
    border-color: color-mix(in srgb, var(--theme-primary-color) 46%, white);
    color: #202a3a;
  }
  .header__call-link-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: color-mix(in srgb, var(--theme-primary-color) 10%, white);
    color: var(--theme-primary-color);
  }
  .header__call-link-icon svg { width: 21px; height: 21px; }
  .header__call-link-copy { display: block; min-width: 0; }
  .header__call-link-caption {
    display: block;
    margin-bottom: 3px;
    color: #788599;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
  }
  .header__call-link-number {
    display: block;
    color: #202a3a;
    font-size: clamp(16px, 4.7vw, 19px);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
  }
  .header__call-link-arrow {
    flex: 0 0 10px;
    width: 10px;
    height: 16px;
    margin-left: auto;
    color: #8a96a9;
  }
  .header__call-callback-link {
    min-height: 50px;
    justify-content: space-between;
    border-color: color-mix(in srgb, var(--theme-primary-color) 24%, white);
    background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
    color: color-mix(in srgb, var(--theme-primary-color) 85%, black);
  }
  .header__call-callback-link:hover { color: color-mix(in srgb, var(--theme-primary-color) 85%, black); }
  .header__call-callback-link svg { width: 10px; height: 16px; }
  .header__call-offcanvas a:focus-visible,
  .header__call-offcanvas button:focus-visible {
    outline: 2px solid var(--theme-primary-color);
    outline-offset: 2px;
  }

  .header__catalog-head { display: flex; padding: 10px 18px; }
  .header__catalog-close { margin: 0 13px 0 0; }
  .header__catalog-title { color: #202a3a; font-size: 20px; font-weight: 700; }
  .header__catalog-body > .header__catalog-menu > li:first-child { display: none; }

  .header__catalog-link-icon { margin-right: 12px; color: var(--theme-primary-color); }
  .header__catalog-link-arrow {
    position: static;
    width: 28px;
    height: 28px;
    margin: 0 0 0 auto;
    border-radius: 8px;
    background: #f2f5f9;
  }
  .header__catalog-link-arrow svg {
    position: static;
    width: 9px;
    height: 13px;
    transform: none;
  }

  .header__catalog-back {
    width: 100%;
    padding: 10px 18px;
    color: #202a3a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
  }
  .header__catalog-back svg.icon-arrow-left {
    width: 18px;
    height: 18px;
    margin-right: 13px;
  }
  .header__catalog-dropdown > .header__catalog-menu {
    padding: 16px 16px max(26px, env(safe-area-inset-bottom, 0px));
  }
  .header__catalog-dropdown .header__catalog-link--more {
    border-color: color-mix(in srgb, var(--theme-primary-color) 24%, white);
    background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
    color: color-mix(in srgb, var(--theme-primary-color) 85%, black);
  }

  .header__nav-offcanvas a:focus-visible,
  .header__nav-offcanvas button:focus-visible,
  .header__catalog-offcanvas a:focus-visible,
  .header__catalog-offcanvas button:focus-visible {
    outline: 2px solid var(--theme-primary-color);
    outline-offset: 2px;
  }
}
