/* ZeroShoes storefront action bar: load after storefront styles. */
@media (max-width: 980px) {
  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) {
    box-sizing: border-box;
    position: fixed;
    z-index: 50;
    left: max(10px, env(safe-area-inset-left, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: calc(100vw - 20px);
    min-width: 0;
    height: auto;
    min-height: 64px;
    margin: 0;
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid #454547;
    border-radius: 19px;
    background: #111113;
    color: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
  }

  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 46px;
    width: 100%;
    margin: 0;
    padding: 10px 8px;
    border: 1px solid #555558;
    border-radius: 12px;
    background: #111113;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) > a:last-child {
    border-color: #c71d2b;
    background: #c71d2b;
    color: #fff !important;
  }

  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) > a :is(span, svg) {
    color: inherit !important;
  }

  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) > a svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
  }

  :is(.zs-storefront, .retail-storefront) > :is(.zs-mobile-bar, .retail-mobile-bar) > a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

  .zs-storefront:has(> .zs-mobile-bar),
  .retail-storefront:has(> .retail-mobile-bar) {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}
