/* =========================================================================
   Flux Checkout — Strip WooCommerce/theme chrome, just show fields
   ========================================================================= */

/* Kill all wrapper backgrounds */
.woocommerce-checkout #payment,
.woocommerce-checkout-payment,
.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method,
.woocommerce-checkout #payment .payment_box {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout #payment {
  overflow: visible !important;
}

.woocommerce-checkout #payment .payment_box::before {
  display: none !important;
}

/* Hide gateway label/icon row */
.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method > label {
  display: none !important;
}

/* Hide billing/shipping/customer details */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
#customer_details,
form.checkout h3 {
  display: none !important;
}

/* Hide privacy text */
.woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text,
#payment .place-order .woocommerce-privacy-policy-text {
  display: none !important;
}

/* Place Order area */
.woocommerce-checkout #payment .place-order {
  padding: 16px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* Hide everything in .place-order except #place_order and privacy text */
.woocommerce-checkout #payment .place-order a,
.woocommerce-checkout #payment .place-order button:not(#place_order),
.woocommerce-checkout #payment .place-order input:not(#place_order) {
  display: none !important;
}

/* Place Order button — compact, color from admin */
#place_order {
  display: inline-block !important;
  border-radius: 8px !important;
  width: auto !important;
  padding: 10px 24px !important;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: var(--flux-btn-bg, #023857) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1) !important;
  transition: opacity .2s ease !important;
  cursor: pointer !important;
  min-height: 0 !important;
  max-height: 40px !important;
  max-width: 200px !important;
  float: none !important;
}

#place_order:hover {
  opacity: 0.88 !important;
}

#place_order:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Review order table */
.woocommerce-checkout-review-order {
  width: fit-content !important;
}
