/* Factoría Checkout Visual 1.6.14 — última capa de reparación de estructura visual */
body.woocommerce-checkout form.checkout #customer_details .fdt-choice-row-final,
body.woocommerce-checkout form.checkout #customer_details p.fdt-choice-row-final {
  display:block!important; width:100%!important; height:auto!important; min-height:0!important;
  margin:7px 0 12px!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 form.checkout #customer_details label.fdt-choice-inline,
body.woocommerce-checkout form.checkout #customer_details label.fdt-inline-check-label {
  display:inline-flex!important; flex-direction:row!important; align-items:center!important; justify-content:flex-start!important;
  gap:7px!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;
  background:transparent!important; border:0!important; box-shadow:none!important; text-align:left!important; vertical-align:middle!important;
  font-size:12px!important; line-height:1.4!important; white-space:normal!important; cursor:pointer!important;
}
body.woocommerce-checkout form.checkout #customer_details label.fdt-choice-inline input[type=checkbox],
body.woocommerce-checkout form.checkout #customer_details label.fdt-inline-check-label input[type=checkbox],
body.woocommerce-checkout form.checkout #customer_details input.fdt-compact-choice {
  appearance:auto!important; -webkit-appearance:checkbox!important; display:inline-block!important; flex:0 0 13px!important;
  width:13px!important; min-width:13px!important; max-width:13px!important; height:13px!important; min-height:13px!important; max-height:13px!important;
  margin:0!important; padding:0!important; position:static!important; inset:auto!important; float:none!important; transform:none!important;
  vertical-align:middle!important; align-self:center!important; box-sizing:border-box!important;
}
body.woocommerce-checkout form.checkout #customer_details label.fdt-choice-inline:before,
body.woocommerce-checkout form.checkout #customer_details label.fdt-inline-check-label:before,
body.woocommerce-checkout form.checkout #customer_details label.fdt-choice-inline:after,
body.woocommerce-checkout form.checkout #customer_details label.fdt-inline-check-label:after { content:none!important; display:none!important; }
/* Términos: checkbox pegado al texto, asteriscos flotantes fuera y botón en su flujo natural. */
body.woocommerce-checkout #payment .place-order label.fdt-terms-inline-final,
body.woocommerce-checkout #payment .place-order .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout #payment .place-order label.woocommerce-form__label {
  display:inline-flex!important; flex-direction:row!important; align-items:center!important; justify-content:flex-start!important;
  gap:7px!important; width:auto!important; max-width:100%!important; margin:0!important; padding:0!important;
  float:none!important; position:static!important; transform:none!important; line-height:1.4!important; text-align:left!important;
}
body.woocommerce-checkout #payment .place-order #terms {
  appearance:auto!important; -webkit-appearance:checkbox!important; flex:0 0 13px!important; width:13px!important; min-width:13px!important;
  max-width:13px!important; height:13px!important; min-height:13px!important; max-height:13px!important; margin:0!important; padding:0!important;
  float:none!important; position:static!important; inset:auto!important; transform:none!important; vertical-align:middle!important;
}
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text,
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper { display:block!important; width:100%!important; margin:0 0 8px!important; padding:0!important; float:none!important; clear:both!important; position:static!important; transform:none!important; }
body.woocommerce-checkout #payment .place-order > .required,
body.woocommerce-checkout #payment .place-order > abbr.required,
body.woocommerce-checkout #payment .place-order > .required-field { display:none!important; }
body.woocommerce-checkout #payment .place-order:before,
body.woocommerce-checkout #payment .place-order:after { content:none!important; display:none!important; }
body.woocommerce-checkout #payment .place-order #place_order {
  display:block!important; width:100%!important; max-width:100%!important; margin:10px 0 0!important;
  float:none!important; clear:both!important; position:static!important; inset:auto!important; transform:none!important;
}
/* Pedido recibido: direcciones con columnas reales, no flotantes ni desplazadas. */
body.woocommerce-order-received .woocommerce-customer-details .fdt-addresses-final-grid,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses,
body.woocommerce-order-received .woocommerce-customer-details section.addresses {
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:stretch!important; gap:20px!important;
  width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:20px!important;
  float:none!important; clear:both!important; position:static!important; transform:none!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details .fdt-address-column-final,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
  display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important;
  width:100%!important; min-width:0!important; max-width:none!important; height:auto!important; min-height:0!important;
  margin:0!important; padding:0!important; float:none!important; clear:none!important; position:static!important; inset:auto!important;
  transform:none!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details .fdt-address-column-final h2,
body.woocommerce-order-received .woocommerce-customer-details .fdt-address-column-final h3,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  display:block!important; width:100%!important; margin:0 0 10px!important; padding:0 0 9px!important;
  float:none!important; position:static!important; transform:none!important; border-bottom:1px solid #eee!important;
  font-size:19px!important; line-height:1.3!important; overflow-wrap:normal!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details .fdt-address-column-final address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address address {
  display:block!important; width:100%!important; min-width:0!important; max-width:none!important; height:auto!important; min-height:0!important;
  margin:0!important; padding:16px!important; float:none!important; position:static!important; transform:none!important;
  border:1px solid #e5e5e5!important; border-radius:10px!important; background:#fafafa!important; box-sizing:border-box!important;
  font-style:normal!important; line-height:1.6!important; overflow-wrap:anywhere!important;
}
/* Metadatos del producto en filas consistentes. */
body.woocommerce-order-received .woocommerce-order-details td.product-name dl.fdt-product-meta-final {
  display:grid!important; grid-template-columns:minmax(105px, max-content) minmax(0,1fr)!important; align-items:start!important;
  column-gap:9px!important; row-gap:4px!important; width:100%!important; max-width:100%!important; margin:8px 0 0!important;
  padding:0!important; float:none!important; box-sizing:border-box!important; line-height:1.45!important;
}
body.woocommerce-order-received .woocommerce-order-details td.product-name dl.fdt-product-meta-final dt,
body.woocommerce-order-received .woocommerce-order-details td.product-name dl.fdt-product-meta-final dd {
  display:block!important; width:auto!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important;
  float:none!important; clear:none!important; position:static!important; transform:none!important; overflow-wrap:anywhere!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-order-details td.product-name dl.fdt-product-meta-final dt { font-weight:700!important; }
@media(max-width:767px){
 body.woocommerce-order-received .woocommerce-customer-details .fdt-addresses-final-grid,
 body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
 body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses,
 body.woocommerce-order-received .woocommerce-customer-details section.addresses { grid-template-columns:minmax(0,1fr)!important; gap:15px!important; padding:14px!important; }
 body.woocommerce-order-received .woocommerce-order-details td.product-name dl.fdt-product-meta-final { grid-template-columns:minmax(90px,max-content) minmax(0,1fr)!important; column-gap:7px!important; }
}
