@media (min-width: 992px) {
  .top-navigation-bar {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #header {
    background: #0B171B;
    background-image: linear-gradient(
      to top,
      #FFFFFF 0,
      #FFFFFF 44px,
      transparent 44px,
      transparent 100%
    );
  }

  #header .header-top {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    height: auto;
    min-height: 78px;
    padding: 12px 0;
  }

  #header .header-top > .site-name-wrapper {
    flex: 0 1 220px;
    width: auto;
    min-width: 0;
    max-width: 220px;
    margin: 0;
  }

  #header .header-top .site-name {
    margin: 0;
    line-height: 1;
  }

  #header .header-top .site-name a {
    display: flex;
    align-items: center;
    max-width: 100%;
    color: #FFFFFF;
  }

  #header .header-top .site-name a img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
  }

  #header .header-top > .search {
    flex: 1 1 700px;
    width: auto;
    min-width: 0;
    max-width: 900px;
    margin: 0 auto;
  }

  #header .header-top .search-form {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  #header .header-top .search-form fieldset {
    display: flex;
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  #header .header-top .search-input {
    flex: 1 1 auto;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #FFFFFF;
    border-radius: 5px 0 0 5px;
    background: #FFFFFF;
    color: #0B171B;
    font-size: 16px;
    outline: none !important;
    box-shadow: none !important;
  }

  #header .header-top .search-input:hover,
  #header .header-top .search-input:focus,
  #header .header-top .search-input:focus-visible,
  #header .header-top .search-input:active {
    border-color: #FFFFFF !important;
    outline: none !important;
    box-shadow: none !important;
  }

  #header .header-top .search-form button[type="submit"] {
    position: relative;
    flex: 0 0 44px;
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #0B8577;
    color: #FFFFFF;
    font-size: 0;
    line-height: 1;
    outline: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease;
  }

  #header .header-top .search-form button[type="submit"]::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: 8px;
    left: 12px;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: none;
  }

  #header .header-top .search-form button[type="submit"]::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 25px;
    width: 8px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
  }

  #header .header-top .search-form button[type="submit"]:hover,
  #header .header-top .search-form button[type="submit"]:focus,
  #header .header-top .search-form button[type="submit"]:focus-visible,
  #header .header-top .search-form button[type="submit"]:active {
    background-color: #156C64;
    outline: none !important;
    box-shadow: none !important;
  }

  #header .header-top > .navigation-buttons {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  #header .header-top .navigation-buttons .cart-count {
    flex: 0 0 auto;
    margin: 0;
    color: #FFFFFF;
    white-space: nowrap;
  }

  #header .header-top .cart-price {
    color: inherit;
  }
}

@media (max-width: 991.98px) {
  .top-navigation-bar {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 62px;
    border: 0;
    background: #0B171B;
  }

  .top-navigation-bar > .container {
    width: 100%;
    max-width: none;
    height: 62px;
  }

  .top-navigation-bar > .container > div:not(.top-navigation-tools),
  .top-navigation-bar .top-navigation-tools > :not(.responsive-tools) {
    display: none;
  }

  .top-navigation-bar .responsive-tools {
    display: block;
    position: absolute;
    top: 0;
    right: 12px;
    width: 132px;
    height: 62px;
    padding: 0;
  }

  .top-navigation-bar .responsive-tools > a[data-target="search"],
  .top-navigation-bar .responsive-tools > a[data-target="navigation"] {
    position: absolute;
    top: 9px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
  }

  .top-navigation-bar .responsive-tools > a[data-target="search"] {
    right: 88px;
  }

  .top-navigation-bar .responsive-tools > a[data-target="navigation"] {
    right: 0;
  }

  .top-navigation-bar .responsive-tools > a::before {
    width: 44px;
    border-radius: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 44px;
  }

  #header {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    margin: 0;
    background: #0B171B;
    z-index: 56;
  }

  #header .header-top {
    display: block;
    height: auto;
    padding: 0;
  }

  #header .site-name {
    position: absolute;
    top: -62px;
    left: 12px;
    width: calc(100% - 168px);
    max-width: 180px;
    height: 62px;
    margin: 0;
  }

  #header .site-name > a {
    display: flex;
    align-items: center;
    height: 62px;
  }

  #header .site-name a img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 42px;
    margin: 0;
    padding: 0;
  }

  #header .navigation-buttons {
    padding: 0;
  }

  #header .cart-count {
    display: flex;
    position: absolute;
    top: -53px;
    right: 56px;
    left: auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFFFFF;
  }

  #header .cart-count::before {
    margin: 0;
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
  }

  #header .cart-price {
    display: none;
  }

  #header .search {
    display: none;
    width: 100%;
  }

  .search-window-visible #header .search {
    display: block;
    padding: 14px 0;
  }

  .search-window-visible #header .search-form {
    display: flex;
    margin: 0;
  }

  body:not(.ordering-process) > .overall-wrapper {
    padding-top: 62px;
  }
}
