/* Product purchase controls only. Keep WooCommerce purchase behaviour intact. */
body.single-product.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form) {
  grid-template-columns:minmax(0,1fr) !important;
}
body.single-product.woocommerce div.product form.cart .wpex-woocommerce-product-qty-btn-wrapper {
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) !important;
  gap:12px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
body.single-product.woocommerce div.product form.cart .variations_button {
  width:100% !important;
  min-width:0 !important;
}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button {
  flex: 1 1 260px !important;
  width: min(100%, 480px) !important;
  min-width: min(100%, 260px) !important;
  max-width: 100% !important;
  min-height: 56px !important;
  padding: 16px 32px !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  border: 1.5px solid currentColor !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: .015em !important;
  white-space: normal !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
  text-align: center !important;
  transition: box-shadow .2s ease, background-color .2s ease;
}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button:not(:disabled):not(.disabled):hover {
  background: rgba(190,154,92,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 0 20px rgba(190,154,92,.17) !important;
}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button:focus-visible {
  outline: 3px solid #a178c1 !important;
  outline-offset: 4px !important;
}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button:disabled,
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}
@media(max-width:600px) {
  body.single-product.woocommerce div.product form.cart .wpex-woocommerce-product-qty-btn-wrapper {
    grid-template-columns:minmax(0,1fr) !important;
  }
  body.single-product.woocommerce div.product form.cart .quantity {
    width:76px !important;
  }
  body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    flex-basis: 100% !important;
    padding-inline: 20px !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button {
    transition: none !important;
  }
}
