/* 1.6.8 — overrides final para el marcado real del tema; no altera procesos WooCommerce. */
/* Resumen de pedido: la lista real no depende de .site-main y las cinco tarjetas parten del margen izquierdo. */
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;
  justify-content:stretch!important; align-items: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; box-sizing:border-box!important;
}
body.woocommerce-order-received ul.woocommerce-order-overview > li {
  display:flex!important; flex-direction:column!important; align-items:flex-start!important; justify-content:flex-start!important;
  float:none!important; position:static!important; inset:auto!important; width:auto!important; min-width:0!important; max-width:none!important;
  margin:0!important; padding:12px!important; box-sizing:border-box!important; grid-column:auto!important; grid-row:auto!important;
  border:1px solid #e7e7e7!important; border-top:3px solid #e30613!important; border-radius:10px!important;
  min-height:76px!important; line-height:1.4!important; overflow-wrap:anywhere!important; text-align:left!important;
}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order {order:1!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__date {order:2!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__email {order:3!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__total {order:4!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {order:5!important}
body.woocommerce-order-received ul.woocommerce-order-overview > li strong {display:block!important; margin:7px 0 0!important; padding:0!important; line-height:1.4!important; overflow-wrap:anywhere!important}
/* Direcciones: solo la fila que contiene las dos columnas se convierte en grid. No anidar grids. */
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 > h2,
body.woocommerce-order-received .woocommerce-customer-details > h3 {display:block!important; width:100%!important; margin:0 0 14px!important; line-height:1.25!important; position:static!important; transform: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:16px!important;
 width:100%!important; max-width:100%!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; float: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; 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-column__title {
 display:block!important; position:static!important; float:none!important; width:100%!important; margin:0 0 8px!important; padding:0!important;
 line-height:1.25!important; font-size:clamp(16px,1.5vw,21px)!important; transform:none!important; white-space:normal!important; overflow-wrap:anywhere!important
}
body.woocommerce-order-received .woocommerce-customer-details address {
 display:block!important; width:100%!important; height:100%!important; min-height:0!important; margin:0!important; padding:14px!important;
 border:1px solid #e7e7e7!important; border-radius:10px!important; background:#fff!important; box-sizing:border-box!important;
 font-style:normal!important; line-height:1.55!important; overflow-wrap:anywhere!important
}
/* Variaciones de producto: pares etiqueta/valor alineados y con altura uniforme. */
body.woocommerce-order-received .woocommerce-order-details table.shop_table dl.variation {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 {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 {font-weight:700!important}
/* Checkout: checkbox pequeño en línea con su frase incluso con estilos globales del tema. */
body.woocommerce-checkout .woocommerce form .form-row:has(input[type=checkbox]) {display:flex!important; flex-flow:row nowrap!important; align-items:flex-start!important; justify-content:flex-start!important; gap:8px!important; width:100%!important; height:auto!important; min-height:0!important; margin:10px 0 16px!important; padding:0!important; text-align:left!important}
body.woocommerce-checkout .woocommerce form .form-row:has(input[type=checkbox]) input[type=checkbox],
body.woocommerce-checkout .woocommerce form label.woocommerce-form__label-for-checkbox input[type=checkbox] {display:inline-block!important; position:static!important; flex:0 0 15px!important; width:15px!important; min-width:15px!important; max-width:15px!important; height:15px!important; min-height:15px!important; margin:3px 0 0!important; padding:0!important; transform:none!important; appearance:checkbox!important; -webkit-appearance:checkbox!important}
body.woocommerce-checkout .woocommerce form .form-row:has(input[type=checkbox]) label,
body.woocommerce-checkout .woocommerce form label.woocommerce-form__label-for-checkbox {display:inline-flex!important; flex:1 1 auto!important; align-items:flex-start!important; gap:8px!important; width:auto!important; min-width:0!important; margin:0!important; padding:0!important; line-height:1.45!important; text-align:left!important; white-space:normal!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 {min-height:68px!important; padding:10px!important; font-size:11px!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li strong {font-size:12px!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__order {grid-column:1/-1!important}
 body.woocommerce-order-received ul.woocommerce-order-overview > li.woocommerce-order-overview__payment-method {grid-column:1/-1!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:minmax(0,1fr)!important; gap:12px!important}
 body.woocommerce-order-received .woocommerce-customer-details address {height:auto!important}
 body.woocommerce-checkout .woocommerce form .form-row:has(input[type=checkbox]) label {font-size:13px!important}
}
