.add-to-cart-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.add-to-cart-wrapper .primary-btn-large {
  flex: 1;
  cursor: pointer;
  height: 50px;
}

.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--neutral200);
  border-radius: 8px;
  height: 50px;
  overflow: hidden;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.mini-cart-details .quantity {
  height: 45px;
}

.quantity input.qty {
  width: 40px;
  box-sizing: border-box;
  height: 50px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: none;
  outline: none;
  transition: height 0.4s ease;
}
.mini-cart-details .quantity input.qty {
  height: 45px;
}

/* Chrome, Safari, Edge, Opera */
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.quantity input.qty[type=number] {
    -moz-appearance: textfield;
}

.quantity-button {
  width: 30px;
  height: 50px;
  border: none;
  background: var(--black_white50);
  color: var(--black_white950);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background-color 0.4s ease;
}
.mini-cart-details .quantity-button {
  height: 45px;
}

.quantity-button.minus {
  order: -1; /* push to the left */
}
.quantity-button.minus::before,
.quantity-button.plus::before {
    content: '';
    display: block;
    width: 10px;
    height: 2px;
    background: var(--primary500);
    border-radius: 1px;
}

.quantity-button.plus::after {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    background: var(--primary500);
    position: absolute;
    border-radius: 1px;
}

.quantity-button:hover {
  background: #e0e0e0;
}

.heart {
  cursor: pointer;
}

@media (max-width: 768px) {
  .heart {
    position: absolute;
    top: 44px;
    right: 26px;
    height: 36px;
    width: 36px;
  }
}