/* Factoría Checkout Visual 1.6.10 — correcciones dirigidas a los fallos visibles en capturas. */
/* Recordatorio de carrito: el control pequeño va antes del texto, en una sola línea y debajo del email. */
body.woocommerce-checkout .fdt-choice-row,
body.woocommerce-checkout p.form-row:has(label.fdt-choice-inline),
body.woocommerce-checkout .woocommerce-shipping-fields > p:has(label.fdt-choice-inline) {
  display:flex!important; flex-flow:row nowrap!important; align-items:flex-start!important; justify-content:flex-start!important;
  gap:7px!important; width:100%!important; min-height:0!important; height:auto!important;
  margin:10px 0 14px!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important;
  text-align:left!important; float:none!important; clear:both!important;
}
body.woocommerce-checkout label.fdt-choice-inline {
  display:flex!important; flex-flow:row nowrap!important; align-items:flex-start!important; justify-content:flex-start!important;
  gap:7px!important; width:auto!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
  font-size:12px!important; line-height:1.45!important; text-align:left!important; white-space:normal!important; float:none!important;
}
body.woocommerce-checkout input.fdt-compact-choice,
body.woocommerce-checkout label.fdt-choice-inline input[type=checkbox] {
  appearance:checkbox!important; -webkit-appearance:checkbox!important; display:inline-block!important; position:static!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:2px 0 0!important; padding:0!important;
  transform:none!important; border-radius:2px!important; box-shadow:none!important; vertical-align:top!important;
}
/* Mantener el recordatorio bajo el email y sin una tarjeta alta propia. */
body.woocommerce-checkout #customer_details .woocommerce-billing-fields #billing_email_field {margin-bottom:7px!important}
body.woocommerce-checkout #customer_details .fdt-choice-row {order:20!important}
/* El aviso legal y su asterisco permanecen en el flujo; nunca flotando junto al botón. */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
  position:static!important; float:none!important; clear:both!important; overflow:visible!important; text-align:left!important;
}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .required,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper abbr.required,
body.woocommerce-checkout .woocommerce-privacy-policy-text .required {
  position:static!important; inset:auto!important; float:none!important; display:inline!important; margin:0 0 0 3px!important;
  color:#e30613!important; font-size:inherit!important; line-height:inherit!important;
}
body.woocommerce-checkout #payment .place-order {display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:10px!important; position:static!important}
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper {order:0!important; width:100%!important; margin:0!important}
body.woocommerce-checkout #payment .place-order #place_order {order:1!important; align-self:stretch!important; position:static!important; float:none!important; clear:both!important; width:100%!important; margin:0!important}
/* Pedido recibido: orden explícito de tarjetas, sin depender de order/grid-auto-placement del tema. */
body.woocommerce-order-received ul.woocommerce-order-overview {
  display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; grid-auto-flow:row!important;
  align-items:stretch!important; justify-content:stretch!important; gap:10px!important; width:100%!important; max-width:100%!important;
  margin:0 0 24px!important; padding:0!important; float:none!important; list-style:none!important;
}
body.woocommerce-order-received ul.woocommerce-order-overview > li {grid-row:1!important; width:auto!important; min-width:0!important; max-width:none!important; margin:0!important; float:none!important; position:static!important; box-sizing:border-box!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order {grid-column:1!important; order:1!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__date {grid-column:2!important; order:2!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email {grid-column:3!important; order:3!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__total {grid-column:4!important; order:4!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {grid-column:5!important; order:5!important}
/* Alinear y dar ancho real a facturación y envío: solo el contenedor de columnas forma la cuadrícula. */
body.woocommerce-order-received .woocommerce-customer-details {display:block!important; width:100%!important; max-width:100%!important; margin:24px 0 0!important; float:none!important}
body.woocommerce-order-received .woocommerce-customer-details .col2-set,
body.woocommerce-order-received .woocommerce-customer-details .addresses,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received .woocommerce-columns--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:0!important; float: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-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address,
body.woocommerce-order-received .woocommerce-columns--addresses .woocommerce-column {
 display:flex!important; flex-direction:column!important; align-items:stretch!important; align-self:stretch!important;
 width:100%!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important;
 float: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 .col-1 h3,
body.woocommerce-order-received .woocommerce-customer-details .col-2 h3,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
 display:block!important; width:100%!important; margin:0 0 8px!important; padding:0!important; font-size:20px!important; line-height:1.25!important;
 position:static!important; float:none!important; transform:none!important; white-space:normal!important; overflow-wrap:normal!important
}
body.woocommerce-order-received .woocommerce-customer-details address {display:block!important; width:100%!important; min-width:0!important; height:100%!important; min-height:120px!important; margin:0!important; padding:16px!important; box-sizing:border-box!important; font-style:normal!important; line-height:1.55!important; overflow-wrap:anywhere!important; border:1px solid #e7e7e7!important; border-radius:10px!important; background:#fff!important}
/* Propiedades del producto: etiqueta y valor comparten línea base, incluso si el tema añade párrafos. */
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:max-content minmax(0,1fr)!important; align-items:baseline!important; column-gap:6px!important; row-gap:3px!important; margin:7px 0 0!important; line-height:1.45!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; position:static!important; width:auto!important; min-width:0!important; margin:0!important; padding:0!important; align-self:baseline!important; line-height:1.45!important; transform:none!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}
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; line-height:inherit!important}
@media(max-width:767px){
 body.woocommerce-order-received ul.woocommerce-order-overview {grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li {grid-row:auto!important; padding:10px!important; font-size:11px!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order {grid-column:1!important; grid-row:1!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__date {grid-column:2!important; grid-row:1!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email {grid-column:1!important; grid-row:2!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__total {grid-column:2!important; grid-row:2!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {grid-column:1/-1!important; grid-row:3!important}
 body.woocommerce-order-received .woocommerce-customer-details .col2-set,
 body.woocommerce-order-received .woocommerce-customer-details .addresses,
 body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
 body.woocommerce-order-received .woocommerce-columns--addresses {grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important}
 body.woocommerce-order-received .woocommerce-customer-details address {min-height:0!important; height:100%!important; padding:11px!important; font-size:12px!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 .col-1 h3,
 body.woocommerce-order-received .woocommerce-customer-details .col-2 h3,
 body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {font-size:15px!important}
 body.woocommerce-checkout label.fdt-choice-inline {font-size:11px!important}
}
@media(max-width:420px){body.woocommerce-order-received .woocommerce-customer-details .col2-set,body.woocommerce-order-received .woocommerce-customer-details .addresses,body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,body.woocommerce-order-received .woocommerce-columns--addresses{grid-template-columns:minmax(0,1fr)!important}}
