/* ===== AIBasePro: WooCommerce buttons + payment box ===== */

/* Main buttons: brand purple */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-page a.button,
.woocommerce-page button.button {
  background: linear-gradient(135deg,#3d2276,#5a35a8) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 12px 22px !important;
  box-shadow: none !important;
  transition: background .15s, transform .15s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
  background: #2a1657 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Space between buttons in the Actions row */
.woocommerce .subscription_details td a.button,
.woocommerce .order-actions a.button { margin: 0 8px 8px 0 !important; }

/* Cancel: quiet outline, so it doesn't look like the main action */
.woocommerce a.button.cancel {
  background: #fff !important;
  color: #3d2276 !important;
  border: 1.5px solid #e6e1f0 !important;
}
.woocommerce a.button.cancel:hover {
  background: #f7f5fb !important;
  color: #2a1657 !important;
  border-color: #3d2276 !important;
}

/* Switch Plan: small gold button, kept apart from the product name */
.woocommerce a.button.wcs-switch-link {
  background: #E8B84B !important;
  color: #2a1657 !important;
  padding: 8px 16px !important;
  margin: 0 12px 6px 0 !important;
  font-size: 14px !important;
}
.woocommerce a.button.wcs-switch-link:hover { background: #d9a73a !important; color: #2a1657 !important; }

/* Payment section: soft brand tint instead of grey */
.woocommerce #payment,
.woocommerce-page #payment {
  background: #f7f5fb !important;
  border: 1.5px solid #e6e1f0 !important;
  border-radius: 16px !important;
}
.woocommerce #payment div.payment_box {
  background: #fff !important;
  border: 1.5px solid #e6e1f0 !important;
  border-radius: 12px !important;
  color: #3a3050 !important;
}
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce #payment ul.payment_methods { border-bottom-color: #e6e1f0 !important; }
.woocommerce #payment input[type="radio"] { accent-color: #3d2276; }