/* MotoParts product purchase controls, PrestaShop Classic 1.7.x */
#product .product-actions .product-add-to-cart .product-quantity,
#product .product-add-to-cart .product-quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}
#product .product-add-to-cart .product-quantity .qty,
#product .product-add-to-cart .product-quantity .add {
  display: inline-flex !important;
  align-items: center;
  float: none !important;
  margin: 0 !important;
  position: relative;
  overflow: visible;
  opacity: 1;
  visibility: visible;
}
#product .product-add-to-cart button.btn.btn-primary.add-to-cart,
#product .product-actions button[data-button-action="add-to-cart"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  width: auto !important;
  min-width: 170px;
  max-width: 100%;
  min-height: 45px !important;
  height: auto !important;
  padding: 11px 20px !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1;
  border: 1px solid #ff7a24 !important;
  border-radius: 10px !important;
  background: #ff7a24 !important;
  background-image: none !important;
  color: #161b22 !important;
  box-shadow: 0 4px 13px rgba(255,122,36,.20) !important;
  font-family: "MotoVazirmatn", Tahoma, sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  text-align: center !important;
  text-indent: 0 !important;
  white-space: normal;
  cursor: pointer;
}
#product .product-add-to-cart button.add-to-cart .material-icons {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
  font-family: "Material Icons" !important;
  font-size: 21px !important;
  line-height: 1 !important;
  margin: 0 !important;
}
#product .product-add-to-cart button.add-to-cart:not(:disabled):hover,
#product .product-add-to-cart button.add-to-cart:not(:disabled):focus {
  background: #e85e13 !important;
  border-color: #e85e13 !important;
  color: #fff !important;
}
#product .product-add-to-cart button.add-to-cart:disabled {
  opacity: .5 !important;
  background: #aeb3b9 !important;
  border-color: #aeb3b9 !important;
  color: #303943 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
#product .product-add-to-cart button.add-to-cart:focus-visible {
  outline: 3px solid #ffb985;
  outline-offset: 2px;
}
@media (max-width: 575px) {
  #product .product-add-to-cart .product-quantity .add {
    flex: 1 1 180px;
  }
  #product .product-add-to-cart button.btn.btn-primary.add-to-cart {
    width: 100% !important;
    min-width: 0;
  }
}
/* Cart summary action: visible when available, disabled state preserved. */
#cart .cart-detailed-actions .btn.btn-primary:not(:disabled) {
  background: #ff7a24 !important;
  color: #161b22 !important;
  border-color: #ff7a24 !important;
  border-radius: 10px;
  padding: 12px 18px;
  min-height: 44px;
  opacity: 1 !important;
  visibility: visible !important;
}
#blockcart-modal .cart-content-btn {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#blockcart-modal .cart-content-btn .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 !important;
}
#blockcart-modal .cart-content-btn .btn-primary {
  background: #ff7a24 !important;
  border-color: #ff7a24 !important;
  color: #161b22 !important;
}
