.js-cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 16px;
  text-align: center;
  font-size: .65rem;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

@keyframes cart-bump {
  0% {
    transform: scale(1)
  }

  30% {
    transform: scale(1.25) rotate(-6deg)
  }

  60% {
    transform: scale(0.95) rotate(6deg)
  }

  100% {
    transform: scale(1)
  }
}

@keyframes cart-badge-pop {
  0% {
    transform: scale(0);
    opacity: 0
  }

  60% {
    transform: scale(1.2);
    opacity: 1
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

@keyframes cart-ring {
  0% {
    opacity: .5;
    transform: scale(1)
  }

  100% {
    opacity: 0;
    transform: scale(2.2)
  }
}

.js-cart-badge.cart-badge-pop {
  animation: cart-badge-pop .35s ease-out
}

.bi-cart3.cart-bump {
  animation: cart-bump .5s ease
}

.js-cart-link {
  position: relative
}

.js-cart-ring {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border: 2px solid #dc3545;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.js-cart-ring.cart-ring-anim {
  animation: cart-ring .55s ease-out
}

@media (prefers-reduced-motion: reduce) {

  .js-cart-badge.cart-badge-pop,
  .bi-cart3.cart-bump,
  .js-cart-ring.cart-ring-anim {
    animation: none
  }
}

.cart-remove-btn {
  border: none;
  background-color: transparent;
  color: #000;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color .15s ease,
    color .15s ease,
    box-shadow .15s ease,
    transform .1s ease;
}

.cart-remove-btn i {
  font-size: 1rem;
}

.cart-remove-btn:hover {
  background-color: #f8d7da;
  color: #c82333;
  box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.cart-remove-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.checkout-page {
  min-height: 100vh;
}

.checkout-page-row {
  min-height: 100vh;
}

.checkout-summary {
  max-height: 90vh;
}

.checkout-summary-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: .25rem;
  position: relative;
}

.checkout-summary-scroll::-webkit-scrollbar {
  width: 6px;
}

.checkout-summary-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .2);
}

.checkout-summary-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

.checkout-scroll-hint {
  position: sticky;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: .5rem;
  padding-top: .5rem;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 70%);
  font-size: .8rem;
  color: rgb(194, 194, 194);
  pointer-events: none;
  opacity: 1;
  transition: opacity .2s ease-out;
}

.checkout-scroll-hint__icon i {
  font-size: 2rem;
}

.checkout-summary-scroll.scrolled .checkout-scroll-hint {
  opacity: 0;
}

.checkout-step-3 .form-control::placeholder,
.checkout-step-3 textarea::placeholder {
  color: rgb(194, 194, 194) !important;
  opacity: 1;
}

.checkout-step-3 .form-control::-webkit-input-placeholder,
.checkout-step-3 textarea::-webkit-input-placeholder {
  color: rgb(194, 194, 194) !important;
}

.checkout-step-3 .form-control::-moz-placeholder,
.checkout-step-3 textarea::-moz-placeholder {
  color: rgb(194, 194, 194) !important;
}

.checkout-step-3 .form-control:-ms-input-placeholder,
.checkout-step-3 textarea:-ms-input-placeholder {
  color: rgb(194, 194, 194) !important;
}

.logout-link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.85rem;
    color: #6c757d;
    cursor: pointer;
    transition: color .15s ease, text-decoration .15s ease;
}

.logout-link-btn:hover {
    color: #000;
    text-decoration: underline;
}

