/* Factoría Checkout Visual 1.6.19 — última corrección localizada. */

/* El indicador obligatorio debe estar junto al texto de consentimiento, no al margen del formulario. */
body.woocommerce-checkout #payment .place-order #terms_field,
body.woocommerce-checkout #payment .place-order #terms-field,
body.woocommerce-checkout #payment .place-order p.form-row:has(#terms) {
  display:block!important; width:100%!important; max-width:100%!important; min-width:0!important;
  height:auto!important; min-height:0!important; margin:8px 0 4px!important; padding:0!important;
  float:none!important; clear:both!important; position:static!important; transform:none!important;
  text-align:left!important; box-sizing:border-box!important;
}
body.woocommerce-checkout #payment .place-order #terms_field::before,
body.woocommerce-checkout #payment .place-order #terms_field::after,
body.woocommerce-checkout #payment .place-order #terms-field::before,
body.woocommerce-checkout #payment .place-order #terms-field::after,
body.woocommerce-checkout #payment .place-order p.form-row:has(#terms)::before,
body.woocommerce-checkout #payment .place-order p.form-row:has(#terms)::after,
body.woocommerce-checkout #payment .place-order label.fdt-terms-inline-final::after,
body.woocommerce-checkout #payment .place-order label[for="terms"]::after,
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper::after,
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text::after {
  content:none!important; display:none!important; visibility:hidden!important;
}
body.woocommerce-checkout #payment .place-order label.fdt-terms-inline-final,
body.woocommerce-checkout #payment .place-order label[for="terms"] {
  display:inline-flex!important; flex-direction:row!important; flex-wrap:wrap!important;
  align-items:flex-start!important; justify-content:flex-start!important; gap:6px!important;
  width:auto!important; max-width:100%!important; min-width:0!important; height:auto!important; min-height:0!important;
  margin:0!important; padding:0!important; float:none!important; clear:none!important; position:static!important;
  transform:none!important; text-align:left!important; line-height:1.5!important; vertical-align:top!important;
  white-space:normal!important; box-sizing:border-box!important;
}
body.woocommerce-checkout #payment .place-order label.fdt-terms-inline-final .fdt-terms-required-marker,
body.woocommerce-checkout #payment .place-order label[for="terms"] .fdt-terms-required-marker {
  display:inline!important; position:static!important; float:none!important; margin:0 0 0 2px!important;
  padding:0!important; color:#e30613!important; font-size:inherit!important; line-height:inherit!important;
  vertical-align:baseline!important; transform:none!important;
}

/* En el pedido recibido, teléfono y correo comparten exactamente la misma columna de icono. */
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email,
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="tel:"]),
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="mailto:"]) {
  display:grid!important; grid-template-columns:16px minmax(0,1fr)!important;
  align-items:start!important; column-gap:7px!important; row-gap:0!important;
  width:100%!important; max-width:100%!important; min-width:0!important;
  margin:4px 0 0!important; padding:0!important; float:none!important; clear:both!important;
  position:static!important; transform:none!important; text-align:left!important;
  line-height:1.55!important; overflow-wrap:anywhere!important; word-break:normal!important;
  box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email::before,
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="tel:"])::before,
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="mailto:"])::before {
  display:flex!important; align-items:center!important; justify-content:center!important;
  flex:none!important; width:16px!important; min-width:16px!important; max-width:16px!important;
  height:17px!important; min-height:17px!important; max-height:17px!important;
  margin:1px 0 0!important; padding:0!important; float:none!important; position:static!important;
  inset:auto!important; transform:none!important; font-size:14px!important; line-height:17px!important;
  text-align:center!important; vertical-align:top!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone a,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email a,
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="tel:"]) a,
body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="mailto:"]) a {
  display:block!important; min-width:0!important; max-width:100%!important;
  margin:0!important; padding:0!important; overflow-wrap:anywhere!important; word-break:break-word!important;
}
@media(max-width:767px){
  body.woocommerce-checkout #payment .place-order label.fdt-terms-inline-final,
  body.woocommerce-checkout #payment .place-order label[for="terms"] {font-size:12px!important;line-height:1.45!important}
  body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
  body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email,
  body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="tel:"]),
  body.woocommerce-order-received .woocommerce-customer-details address p:has(a[href^="mailto:"]) {grid-template-columns:16px minmax(0,1fr)!important;column-gap:7px!important}
}
