/* Factoría Checkout Visual 1.6.13 — capa final para imponerse a estilos del tema y versiones anteriores. */

/* CHECKOUT: todos los controles checkbox pequeños y sin cajas/alturas heredadas. */
body.woocommerce-checkout form.checkout .fdt-choice-row,
body.woocommerce-checkout form.checkout p.fdt-choice-row,
body.woocommerce-checkout form.checkout .fdt-choice-row label,
body.woocommerce-checkout form.checkout label.fdt-choice-inline,
body.woocommerce-checkout form.checkout label.fdt-inline-check-label,
body.woocommerce-checkout form.checkout #ship-to-different-address,
body.woocommerce-checkout form.checkout #ship-to-different-address label {
  display:inline-flex!important; flex-direction:row!important; flex-wrap:nowrap!important; align-items:center!important; justify-content:flex-start!important;
  width:auto!important; min-width:0!important; max-width:100%!important; min-height:0!important; height:auto!important;
  margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; float:none!important; clear:none!important; position:static!important; transform:none!important;
  text-align:left!important; line-height:1.4!important; gap:7px!important; vertical-align:middle!important;
}
body.woocommerce-checkout form.checkout .fdt-choice-row,
body.woocommerce-checkout form.checkout p.fdt-choice-row {
  display:flex!important; width:100%!important; margin:7px 0 12px!important; padding:0!important; min-height:0!important;
}
body.woocommerce-checkout form.checkout label.fdt-choice-inline,
body.woocommerce-checkout form.checkout label.fdt-inline-check-label,
body.woocommerce-checkout form.checkout #ship-to-different-address label {
  cursor:pointer!important; white-space:normal!important;
}
body.woocommerce-checkout form.checkout input.fdt-compact-choice,
body.woocommerce-checkout form.checkout label.fdt-choice-inline input[type=checkbox],
body.woocommerce-checkout form.checkout label.fdt-inline-check-label input[type=checkbox],
body.woocommerce-checkout form.checkout #ship-to-different-address input[type=checkbox],
body.woocommerce-checkout form.checkout #terms,
body.woocommerce-checkout form.checkout input#ship-to-different-address-checkbox {
  appearance:auto!important; -webkit-appearance:checkbox!important; display:inline-block!important;
  box-sizing:border-box!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;
  border:initial!important; border-radius:2px!important; box-shadow:none!important; position:static!important; inset:auto!important;
  float:none!important; clear:none!important; transform:none!important; vertical-align:middle!important;
}
body.woocommerce-checkout form.checkout #customer_details p.form-row:has(label.fdt-choice-inline),
body.woocommerce-checkout form.checkout #customer_details p.form-row:has(label.fdt-inline-check-label) {
  display:block!important; width:100%!important; min-height:0!important; height:auto!important; margin:7px 0 12px!important;
  padding:0!important; float:none!important; clear:both!important; border:0!important; background:transparent!important; box-shadow:none!important;
}
/* El recordatorio debe quedar debajo del email, compacto, sin la casilla gigante encima del texto. */
body.woocommerce-checkout form.checkout #customer_details label.fdt-choice-inline,
body.woocommerce-checkout form.checkout #customer_details label.fdt-inline-check-label { font-size:12px!important; }
/* Privacidad/términos: quitar el asterisco flotante del borde derecho y mantenerlo junto a su etiqueta si existe. */
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,
body.woocommerce-checkout #payment .place-order .form-row,
body.woocommerce-checkout #payment .place-order .validate-required {
  position:static!important; inset:auto!important; float:none!important; clear:both!important; transform:none!important;
  width:100%!important; max-width:100%!important; min-width:0!important; height:auto!important; box-sizing:border-box!important;
  overflow:visible!important; text-align:left!important;
}
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text { margin:0 0 8px!important; padding:0!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; inset:auto!important; float:none!important; transform:none!important; display:inline!important;
  margin:0 0 0 3px!important; padding:0!important; color:#e30613!important; vertical-align:baseline!important;
}
body.woocommerce-checkout #payment .place-order #place_order {
  display:block!important; position:static!important; inset:auto!important; float:none!important; clear:both!important; transform:none!important;
  width:100%!important; max-width:100%!important; margin:10px 0 0!important; box-sizing:border-box!important;
}
body.woocommerce-checkout #payment .place-order:before,
body.woocommerce-checkout #payment .place-order:after { position:static!important; float:none!important; transform:none!important; }
/* Pedido recibido: producto y metadatos con etiquetas/valores alineados por filas. */
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta {
  display:grid!important; grid-template-columns:minmax(112px,max-content) minmax(0,1fr)!important;
  align-items:center!important; justify-items:stretch!important; column-gap:10px!important; row-gap:4px!important;
  width:100%!important; max-width:100%!important; margin:8px 0 0!important; padding:0!important; line-height:1.45!important;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation dd,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta dd {
  display:block!important; float:none!important; clear:none!important; position:static!important; inset:auto!important; transform:none!important;
  width:auto!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important;
  align-self:center!important; line-height:1.45!important; overflow-wrap:anywhere!important; box-sizing:border-box!important;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta dt { font-weight:700!important; color:#333!important; }
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation dd p,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta dd p { display:inline!important; margin:0!important; padding:0!important; }
/* Direcciones: solo el contenedor de las dos columnas es grid; no anidar grids en todo el bloque. */
body.woocommerce-order-received .woocommerce-customer-details { display:block!important; width:100%!important; max-width:100%!important; margin:22px 0!important; padding:0!important; float:none!important; clear:both!important; }
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,
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:22px!important;
  width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:22px!important;
  float:none!important; clear:both!important; position:static!important; transform:none!important; box-sizing:border-box!important;
  border:1px solid #ededed!important; border-radius:12px!important; background:#fff!important;
}
body.woocommerce-order-received .woocommerce-customer-details .addresses > .col-1,
body.woocommerce-order-received .woocommerce-customer-details .addresses > .col-2,
body.woocommerce-order-received .woocommerce-customer-details .addresses > .woocommerce-column,
body.woocommerce-order-received .woocommerce-customer-details .col2-set > .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col2-set > .col-2,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses > .woocommerce-column {
  display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important;
  grid-column:auto!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; 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 9px!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:0!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 > .addresses,
 body.woocommerce-order-received .woocommerce-customer-details > .col2-set,
 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:16px!important; padding:15px!important; }
 body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.variation,
 body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name dl.wc-item-meta { grid-template-columns:minmax(95px,max-content) minmax(0,1fr)!important; column-gap:7px!important; }
}
