@media (max-width: 767px) {
  body.ums_mobile_header_v1--on:not(.ordering-process) .top-navigation-bar {
    position: absolute;
    transform: none;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .navigation-wrapper {
    pointer-events: none;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .site-name a,
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .search,
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .cart-count,
  body.ums_mobile_header_v1--on:not(.ordering-process) #navigation {
    pointer-events: auto;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .site-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    transform: none;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .site-name > a {
    display: block;
    line-height: 0;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .site-name img {
    width: auto;
    height: auto;
    max-height: 52px;
    padding: 0;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .cart-count {
    top: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #767676 !important;
    transform: none;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #header .cart-count::before {
    margin: 0;
    line-height: 1;
    transform: none;
    color: inherit;
  }
}

@media (max-width: 389px) {
  body.ums_mobile_header_v1--on:not(.ordering-process) .top-navigation-bar > .container {
    padding-left: 10px;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) .responsive-tools > a[data-target="search"],
  body.ums_mobile_header_v1--on:not(.ordering-process) .responsive-tools > a[data-target="login"] {
    width: 32px;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) .top-navigation-bar .dropdown {
    left: 74px;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #topNavigationDropdown {
    padding-right: 16px;
  }
}
/* The close button is added by the console script. */
#mobile-cart-close-preview { display: none; }
@media (max-width: 767px) {
  body.ums_mobile_header_v1--on:not(.ordering-process) #cart-widget {
    top: 64px;
    padding-top: 56px;
  }
  body.ums_mobile_header_v1--on:not(.ordering-process) #mobile-cart-close-preview {
    display: block;
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 2;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #767676;
    font: inherit;
    cursor: pointer;
  }
}
