/* Start custom CSS *//* Oculta el texto original y pinta el nuevo */
#place_order{
  position: relative;
  color: transparent !important; /* oculta "Place order" */
}
#place_order::after{
  content: "Finalizar Pago ";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; /* ajusta si tu botón tiene otro color de texto */
  pointer-events: none; /* clic sigue funcionando */
}
/* cuando Woo agrega “Processing…” */
#place_order.loading::after{ content: "Procesando…"; }

/* === Checkout clásico (shortcode) === */
.woocommerce-checkout #customer_details h3,          /* “Billing details / Shipping details” */
.woocommerce-checkout h3#order_review_heading {      /* “Your order” */
  display: none !important;
}

/* === Checkout de WooCommerce Blocks (el nuevo) === */
.wc-block-checkout .wc-block-components-title,       /* “Billing & Shipping” y demás títulos de sección */
.wc-block-components-checkout-step__title,
.wc-block-components-panel__header {
  display: none !important;
}

/* === Mi cuenta → Direcciones (por si lo ves allí) === */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses h2,   /* “Billing & Shipping” */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .title h3 {
  display: none !important;
  
} 
  
  /* Astra + WooCommerce (checkout clásico) */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-title {
  display: none !important;
}

/* Checkout de Woo Blocks (nuevo) — por si lo usas */
.wc-block-checkout .wp-block-post-title {
  display: none !important;
}

/* Hero de checkout */
.custom-checkout-hero{
  --cch-bg: linear-gradient(135deg,#0ea5e9 0%, #3b82f6 40%, #1e293b 100%);
  --cch-text:#fff;
  --cch-muted: rgba(255,255,255,.85);
  margin: 0 0 24px;
  padding: clamp(28px, 6vw, 64px) 16px;
  background: var(--cch-bg);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(2, 6, 23, .2);
}
.custom-checkout-hero .cch-inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.custom-checkout-hero .cch-eyebrow{
  display:inline-block;
  font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--cch-text);
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  padding:8px 12px;
  border-radius:999px;
  margin-bottom:12px;
}
.custom-checkout-hero .cch-title{
  color: var(--cch-text);
  font: 800 clamp(28px, 6vw, 48px)/1.05 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.custom-checkout-hero .cch-sub{
  color: var(--cch-muted);
  font: 400 clamp(14px, 2.5vw, 18px)/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
}

/* Ajuste de separación con Astra contenedor */
.ast-plain-container .custom-checkout-hero{ margin-top: 12px; }

.woocommerce-checkout .site-header,
.woocommerce-checkout .elementor-location-header,
.woocommerce-checkout .imc-header{
  display: none !important;
}/* End custom CSS */