.quantity {
  display: flex; /* Utiliza Flexbox para organizar los elementos en una fila */
  align-items: center; /* Centra los elementos verticalmente */
  justify-content: center; /* Centra los elementos horizontalmente */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.quantity input {
  width: 50px; /* Ancho del input */
  height: 35px;
  line-height: 1.65;
  padding: 0;
  margin: 0;
  text-align: center; /* Centra el texto dentro del input */
  border: 1px solid #0087cc;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 9%;
}

.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  display: flex; /* Usa Flexbox para alinear los botones */
  flex-direction: row; /* Alinea los botones en una fila */
}

.quantity-button {
  position: relative;
  cursor: pointer;
  /*border: 1px solid #eee;*/
  width: 2em;
  height: 42px; /* Establece la altura del botón */
  text-align: center;
  color: #fff;
  font-size: 35px;
  font-family: "Trebuchet MS", Helvetica, sans-serif !important;
  line-height: 1.1;
  user-select: none;
  background-color: #e75757;/*#4b568c; */
  border-radius: 12px;
  margin: 0px 5px 0px 5px; /*cambio nuevo para crcontigo/

}

.quantity-button.quantity-up {
  /*border-left: 1px solid #eee; /* Se agrega un borde a la izquierda del botón de más */
  /*left: 0.4rem;*/
  
}

.quantity-button.quantity-down {
  /*border-right: 1px solid #eee; /* Se agrega un borde a la derecha del botón de menos */
  /*right: 0.4rem;*/
}