/* Quantity + add to cart on listing tiles (replaces the an_productattributes module styles).
   Layout of the wrapper comes from the theme (layouts/layout-both-columns.tpl). */
.an_productattributes { text-align: center; }
/* one text line (18px) above the quantity row: the tile price is shown there */
.an_productattributesForm { padding-top: 18px; }
.an_productattributes-qty-container { position: relative; display: flex; } /* flex: whitespace between the buttons creates no line box */
.an_productattributes-qty-container .quantity-down,
.an_productattributes-qty-container .quantity-up {
  position: absolute;
  top: 0;
  z-index: 1;
  height: 28px;
  padding: 5px 15px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
}
.an_productattributes-qty-container .quantity-down { left: 0; }
.an_productattributes-qty-container .quantity-up { right: 5px; }
.an_productattributes-qty {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  padding: 10px;
  border: 1px solid #afafaf;
  background: #fff;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.an_productattributes-qty::-webkit-outer-spin-button,
.an_productattributes-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.an_productattributes-add { margin-top: 5px; }
.an_productattributes-add .btn { width: 100%; padding: 9px 5px; font-size: 13px; }
