@media (max-width: 991.98px) {
  #header .header-nav {
    background: #141414;
    color: #f5f5f5;
    padding-block: 0;
  }

  #header .header-nav > .container {
    padding-inline: 8px;
  }

  #header .header-nav > .container > .row {
    margin-inline: 0;
  }

  #header .header-nav .left-nav {
    gap: 6px;
    padding-block: 2px;
  }

  #header .header-nav .left-nav .block-links-inline {
    border-inline-start: 1px solid #3e3e3e;
    padding-inline-start: 5px;
  }

  #header .header-nav .left-nav .block-links-inline ul {
    gap: 0 3px;
    justify-content: space-evenly;
  }

  #header .header-nav .left-nav .block-links-inline li a {
    align-items: center;
    color: #f5f5f5;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    min-height: 40px;
    padding-inline: 1px;
    text-align: center;
  }

  #header .header-nav .social-links {
    gap: 2px;
  }

  #header .header-nav .social-links li:not(:last-child) {
    margin-inline-end: 0;
  }

  #header .header-nav .social-links li:is(.facebook, .instagram) > a {
    font-size: 17px;
    min-height: 40px;
    min-width: 24px;
  }

  #header .header-nav .social-links li.instagram > a {
    color: #ee5977 !important;
  }

  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #header .header-nav .social-links li.instagram > a > i {
      background-image: linear-gradient(32deg, #feda75 5%, #fa7e1e 30%, #e44075 55%, #c135b6 77%, #833ab4);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }
  }

  #header .header-nav .right-nav {
    border-color: #3e3e3e;
    gap: 2px 6px;
    justify-content: flex-start;
    padding-block: 1px;
    reading-flow: flex-visual;
  }

  #header .header-nav .right-nav > #language_selector {
    margin-inline-start: auto;
    order: 1;
  }

  #header .header-nav .right-nav > .d-inline-block > a {
    display: inline-block;
    line-height: 38px;
    min-height: 38px;
    padding-inline: 1px;
    white-space: nowrap;
  }

  #header .header-nav .right-nav > .afs-topbar-account {
    align-items: center;
    color: #f5f5f5;
    display: inline-flex;
    font-size: 12px;
    gap: 4px;
    justify-content: center;
    min-height: 38px;
    min-width: 24px;
    white-space: nowrap;
  }

  @media (max-width: 379.98px) {
    #header .header-nav .afs-topbar-account-label {
      display: none;
    }
  }

  #header .header-nav .right-nav #language_selector a:not(.dropdown-menu a) {
    align-items: center;
    min-height: 38px;
    white-space: nowrap;
  }

  #header .header-nav #language_selector .dropdown-menu {
    --bs-position: end;
    /* Popper can write a left inset directly on the menu. */
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
  }

  #header .header-nav a:focus-visible {
    outline-offset: -2px;
  }

  #header #mobile-header-sticky.stuck-down {
    background: #f8f8f8;
    box-shadow: 0 2px 4px #0000001f;
  }

  #header #mobile-header-sticky.stuck-down .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile {
    top: 100%;
  }
}

@media (max-width: 379.98px) {
  #header .header-nav > .container {
    padding-inline: 6px;
  }

  #header .header-nav .right-nav {
    column-gap: 2px;
  }

  #header .header-nav .right-nav > .afs-topbar-account {
    min-width: 24px;
  }

  #header .header-nav .afs-topbar-account-label {
    display: none;
  }
}
