.bzm-cart {
  display: none;
}

@media (max-width: 767px) {
  .bzm-cart {
    position: fixed;
    z-index: 2147481800;
    top: calc(env(safe-area-inset-top, 0px) + 76px);
    right: 12px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(31, 27, 24, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    color: #282320 !important;
    text-decoration: none !important;
    box-shadow:
      0 10px 28px rgba(36, 25, 19, .14),
      0 2px 7px rgba(36, 25, 19, .06);
    opacity: 0;
    transform: translateY(-5px) scale(.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition:
      opacity .22s ease,
      transform .22s ease,
      background-color .2s ease,
      box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bzm-cart.is-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .bzm-cart:active {
    background: #fff7f6;
    box-shadow:
      0 6px 18px rgba(36, 25, 19, .12),
      0 1px 4px rgba(36, 25, 19, .05);
    transform: translateY(1px) scale(.97);
  }

  .bzm-cart__icon {
    display: block;
    width: 23px;
    height: 23px;
    overflow: visible;
  }

  .bzm-cart__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #c90000;
    color: #fff;
    font: 800 9px/1 Montserrat, Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(201, 0, 0, .25);
    opacity: 0;
    transform: scale(.65);
    transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1.25);
  }

  .bzm-cart.has-items .bzm-cart__badge {
    opacity: 1;
    transform: scale(1);
  }

  .bzm-cart.is-bump {
    animation: bzm-cart-bump .42s cubic-bezier(.2, .78, .25, 1);
  }

  body.gq-lock .bzm-cart {
    opacity: 0;
    pointer-events: none;
  }

  body:has(.gvp-root.is-open) .bzm-cart {
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes bzm-cart-bump {
  0%, 100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-3px) scale(1.08); }
}

@media (max-width: 374px) {
  .bzm-cart {
    top: calc(env(safe-area-inset-top, 0px) + 70px);
    right: 9px;
    width: 45px;
    height: 45px;
    border-radius: 15px;
  }

  .bzm-cart__icon {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bzm-cart,
  .bzm-cart__badge {
    transition: none;
  }

  .bzm-cart.is-bump {
    animation: none;
  }
}
