/* Factoría Checkout Visual 1.6.12 — corrección estructural de direcciones y metadatos. */
/* CHECKOUT: filas de consentimiento compactas; se elimina cualquier caja grande aplicada por el tema. */
body.woocommerce-checkout .fdt-choice-row,
body.woocommerce-checkout p.fdt-choice-row,
body.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address,
body.woocommerce-checkout .woocommerce-shipping-fields p:has(#ship-to-different-address-checkbox),
body.woocommerce-checkout .woocommerce form.checkout .fdt-choice-row {
  display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important; align-items:center!important; justify-content:flex-start!important;
  gap:8px!important; width:100%!important; min-width:0!important; max-width:100%!important; min-height:0!important; height:auto!important;
  margin:6px 0 10px!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; float:none!important; clear:both!important; text-align:left!important; position:static!important; transform:none!important;
}
body.woocommerce-checkout .fdt-choice-row label,
body.woocommerce-checkout label.fdt-choice-inline,
body.woocommerce-checkout #ship-to-different-address label,
body.woocommerce-checkout label.woocommerce-form__label-for-checkbox,
body.woocommerce-checkout label.fdt-inline-check-label {
  display:inline-flex!important; flex:0 1 auto!important; flex-direction:row!important; flex-wrap:nowrap!important; align-items:center!important; justify-content:flex-start!important;
  gap:7px!important; width:auto!important; max-width:100%!important; min-width:0!important; min-height:0!important; height:auto!important;
  margin:0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; float:none!important;
  position:static!important; transform:none!important; text-align:left!important; white-space:normal!important; line-height:1.4!important;
}
body.woocommerce-checkout .fdt-choice-row input[type=checkbox],
body.woocommerce-checkout label.fdt-choice-inline input[type=checkbox],
body.woocommerce-checkout #ship-to-different-address input[type=checkbox],
body.woocommerce-checkout label.woocommerce-form__label-for-checkbox input[type=checkbox],
body.woocommerce-checkout label.fdt-inline-check-label input[type=checkbox],
body.woocommerce-checkout #terms {
  appearance:auto!important; -webkit-appearance:checkbox!important; flex:0 0 13px!important; display:inline-block!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 1px 0 0!important; padding:0!important; position:static!important; float:none!important; transform:none!important; border-radius:2px!important;
  box-shadow:none!important; vertical-align:middle!important;
}
/* El aviso de carrito incompleto va debajo del email y en formato de una línea compacta. */
body.woocommerce-checkout .fdt-choice-row { order:30!important; }
body.woocommerce-checkout #customer_details .form-row:has(label.fdt-choice-inline) { margin-top:6px!important; margin-bottom:10px!important; }
/* Política y términos en su sitio; el asterisco no debe flotar junto al botón. */
body.woocommerce-checkout #payment .place-order,
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text {
  display:block!important; position:static!important; float:none!important; clear:both!important; inset:auto!important; transform:none!important;
  width:100%!important; max-width:100%!important; overflow:visible!important; text-align:left!important; box-sizing:border-box!important;
}
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper { margin:0 0 8px!important; }
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text { margin:0 0 8px!important; }
body.woocommerce-checkout #payment .place-order .required,
body.woocommerce-checkout #payment .place-order abbr.required { position:static!important; float:none!important; inset:auto!important; transform:none!important; display:inline!important; color:#e30613!important; margin:0 0 0 3px!important; }
body.woocommerce-checkout #payment .place-order #place_order { display:block!important; position:static!important; float:none!important; clear:both!important; inset:auto!important; transform:none!important; width:100%!important; max-width:100%!important; margin:10px 0 0!important; }
/* PEDIDO RECIBIDO: datos de producto en parejas label/valor consistentes. */
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta {
  display:grid!important; grid-template-columns:minmax(105px, max-content) minmax(0,1fr)!important; align-items:baseline!important;
  column-gap:10px!important; row-gap:5px!important; width:100%!important; max-width:100%!important; margin:8px 0 0!important; padding:0!important;
  line-height:1.45!important; white-space:normal!important;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation dd,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta dd {
  display:block!important; float:none!important; clear:none!important; position:static!important; width:auto!important; min-width:0!important; max-width:none!important;
  margin:0!important; padding:0!important; transform:none!important; align-self:baseline!important; line-height:1.45!important; overflow-wrap:anywhere!important;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta dt { font-weight:700!important; color:#333!important; }
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation dd p,
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta dd p { display:inline!important; margin:0!important; padding:0!important; }
/* Direcciones: neutralizar floats y anchos de 50%/33% que el tema fuerza en las columnas. */
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-customer-details .addresses,
body.woocommerce-order-received .woocommerce-customer-details .col2-set,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
  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 0 22px!important; padding:22px!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 .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col-2,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
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; margin:0!important; padding:0!important;
  float:none!important; clear:none!important; position:static!important; transform:none!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details .col-1 h2,
body.woocommerce-order-received .woocommerce-customer-details .col-2 h2,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  display:block!important; width:100%!important; min-width:0!important; margin:0 0 10px!important; padding:0 0 8px!important;
  border:0!important; border-bottom:1px solid #eee!important; position:static!important; float:none!important; transform:none!important;
  font-size:20px!important; line-height:1.3!important; white-space:normal!important; overflow-wrap:normal!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-customer-details address {
  display:block!important; width:100%!important; min-width:0!important; max-width:none!important; min-height:145px!important; height:auto!important;
  margin:0!important; padding:18px!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.65!important; overflow-wrap:anywhere!important;
}
@media(max-width:767px){
 body.woocommerce-order-received .woocommerce-customer-details,
 body.woocommerce-order-received .woocommerce-customer-details .addresses,
 body.woocommerce-order-received .woocommerce-customer-details .col2-set,
 body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns:minmax(0,1fr)!important; gap:16px!important; padding:15px!important; }
 body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation,
 body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.wc-item-meta { grid-template-columns:minmax(85px, max-content) minmax(0,1fr)!important; column-gap:7px!important; }
}
