/* Factoría Checkout Visual 1.6.17 — corrección estructural final de direcciones y casillas */
body.woocommerce-order-received .woocommerce .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details.fdt-address-root-hard {
  display:block!important;float:none!important;clear:both!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:24px 0!important;padding:20px!important;
  box-sizing:border-box!important;grid-column:1/-1!important;transform:none!important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:22px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  float:none!important;clear:both!important;position:static!important;transform:none!important;box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid > .woocommerce-column,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid > .col-1,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid > .col-2 {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  float:none!important;clear:none!important;position:static!important;inset:auto!important;transform:none!important;
  width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid .woocommerce-column__title,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid h2,
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid h3 {
  display:block!important;width:100%!important;max-width:none!important;float:none!important;position:static!important;transform:none!important;
  margin:0 0 12px!important;padding:0 0 10px!important;text-align:left!important;font-size:19px!important;line-height:1.35!important;box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid address {
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:170px!important;
  float:none!important;position:static!important;transform:none!important;margin:0!important;padding:20px!important;
  box-sizing:border-box!important;border:1px solid #e5e5e5!important;border-radius:10px!important;background:#fafafa!important;
  font-size:15px!important;line-height:1.7!important;font-style:normal!important;overflow-wrap:anywhere!important;
}
/* Casilla del recordatorio: pequeña y pegada al texto, sin heredar tamaños del tema */
body.woocommerce-checkout label.fdt-choice-inline,
body.woocommerce-checkout 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;
}
body.woocommerce-checkout input.fdt-compact-choice,
body.woocommerce-checkout label.fdt-choice-inline input[type=checkbox],
body.woocommerce-checkout label.fdt-inline-check-label input[type=checkbox] {
  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;
  align-self:center!important;vertical-align:middle!important;box-sizing:border-box!important;
}
body.woocommerce-checkout .fdt-choice-row-final,
body.woocommerce-checkout 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 #payment .place-order .required,
body.woocommerce-checkout #payment .place-order abbr.required,
body.woocommerce-checkout #payment .place-order .required-field {
  position:static!important;float:none!important;inset:auto!important;transform:none!important;display:inline!important;margin:0 0 0 3px!important;
  vertical-align:baseline!important;font-size:inherit!important;line-height:inherit!important;
}
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text {display:block!important;width:100%!important;float:none!important;clear:both!important;position:static!important;transform:none!important;margin:0 0 8px!important;padding:0!important}
body.woocommerce-checkout #payment .place-order label[for=terms],
body.woocommerce-checkout #payment .place-order label.woocommerce-form__label-for-checkbox {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;float:none!important;position:static!important;transform:none!important;margin:0!important;padding:0!important;line-height:1.4!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;transform:none!important;vertical-align:middle!important}
@media(max-width:767px){
 body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid {grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 body.woocommerce-order-received .woocommerce .woocommerce-customer-details .fdt-addresses-hard-grid address {min-height:0!important;padding:16px!important;font-size:14px!important}
}
