.vw-sticky-cart {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--vw-sc-bg, #fff);
  color: var(--vw-sc-color, inherit);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}
.vw-sticky-cart.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform .25s ease, opacity .25s ease;
}

.vw-sticky-cart .vw-sticky-cart__in {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.vw-sticky-cart .vw-sticky-cart__in::before,
.vw-sticky-cart .vw-sticky-cart__in::after {
  display: none;
}

.vw-sticky-cart__img {
  flex: 0 0 auto;
  width: 88px;
  height: 92px;
  cursor: pointer;
}
.vw-sticky-cart__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vw-sticky-cart__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: .03em;
  cursor: pointer;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vw-sticky-cart__price-box {
  flex: 0 0 auto;
  margin-left: auto;
  padding-right: 56px;
}
.vw-sticky-cart__availability {
  font-size: 15px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.vw-sticky-cart__price {
  font-size: 25px;
  line-height: 1.2;
  white-space: nowrap;
}

.vw-sticky-cart .vw-sticky-cart__btn {
  flex: 0 0 auto;
  min-width: 340px;
  min-height: 50px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .vw-sticky-cart {
    top: auto;
    bottom: 0;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .1);
    transform: translateY(100%);
  }
  .vw-sticky-cart .vw-sticky-cart__in {
    gap: 12px;
    min-height: 0;
    padding-top: 6px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .vw-sticky-cart__img {
    width: 40px;
    height: 40px;
  }
  .vw-sticky-cart__name {
    display: none;
  }
  .vw-sticky-cart__price-box {
    padding-right: 0;
  }
  .vw-sticky-cart__availability {
    font-size: 11px;
  }
  .vw-sticky-cart__price {
    font-size: 16px;
  }
  .vw-sticky-cart .vw-sticky-cart__btn {
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    padding: 10px 12px;
  }
  html.vw-sticky-cart-on body {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vw-sticky-cart,
  .vw-sticky-cart.is-visible {
    transition: none;
  }
}
