/* =====================================
   TR Shopping Quantity
===================================== */

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.quantity button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quantity button:hover {
  background: #f6f6f6;
}

.quantity input.qty {
  width: 56px;
  height: 42px;
  border: 0;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .quantity button {
    width: 40px;
    height: 40px;
  }

  .quantity input.qty {
    width: 50px;
    height: 40px;
  }
}