/* Factoría Checkout Visual 1.6.9 — correcciones concretas pedidas tras comprobar capturas. */
/* Carrito vacío: icono de impresión, texto real en flujo y botón separado; evita pseudo-texto superpuesto. */
body.woocommerce-cart .cart-empty {
 display:block!important; position:relative!important; width:100%!important; min-height:0!important;
 margin:0!important; padding:30px 24px 12px!important; border:1px solid #e8e8e8!important;
 border-bottom:0!important; border-radius:16px 16px 0 0!important; background:#fff!important;
 color:#111!important; font-size:0!important; line-height:1.5!important; text-align:center!important;
}
body.woocommerce-cart .cart-empty:before {content:"▤"!important; display:block!important; font-family:Arial,sans-serif!important; font-size:0!important; line-height:1!important; margin:0 auto 12px!important; width:64px!important; height:64px!important; border-radius:50%!important; background:#fff5f5!important; border:1px solid #ffd7da!important; color:#e30613!important; box-sizing:border-box!important;}
body.woocommerce-cart .cart-empty:after {content:"Tu carrito está vacío"!important; display:block!important; margin:0 0 8px!important; color:#111!important; font-family:Montserrat,Arial,sans-serif!important; font-size:24px!important; font-weight:900!important; line-height:1.3!important;}
body.woocommerce-cart .return-to-shop {display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; position:static!important; width:100%!important; margin:0 0 28px!important; padding:0 24px 28px!important; border:1px solid #e8e8e8!important; border-top:0!important; border-radius:0 0 16px 16px!important; background:#fff!important; text-align:center!important; box-sizing:border-box!important;}
body.woocommerce-cart .return-to-shop:before {content:"Parece que aún no has añadido ningún producto a tu carrito."!important; display:block!important; position:static!important; inset:auto!important; margin:0 auto 18px!important; max-width:420px!important; color:#666!important; font-size:14px!important; line-height:1.6!important; text-align:center!important;}
body.woocommerce-cart .return-to-shop a.button, body.woocommerce-cart a.button.wc-backward {margin:0 auto!important; min-width:220px!important;}
/* Checkbox fields: neutraliza los estilos del tema que los centran encima de la frase. */
body.woocommerce-checkout #ship-to-different-address {margin:0!important; padding:0!important;}
body.woocommerce-checkout #ship-to-different-address label,
body.woocommerce-checkout label.woocommerce-form__label-for-checkbox,
body.woocommerce-checkout .fdt-inline-check-label {display:inline-flex!important; flex-direction:row!important; align-items:flex-start!important; justify-content:flex-start!important; gap:8px!important; width:auto!important; max-width:100%!important; margin:0!important; padding:0!important; text-align:left!important; line-height:1.45!important; white-space:normal!important;}
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 .fdt-inline-check-label input[type=checkbox],
body.woocommerce-checkout input#fdt_cart_reminder, body.woocommerce-checkout input[name*="reminder"][type=checkbox] {appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;float:none!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:2px 0 0!important;padding:0!important;transform:none!important;vertical-align:middle!important;}
body.woocommerce-checkout .form-row:has(input[type=checkbox]) {text-align:left!important;}
/* El aviso de campos obligatorios no debe flotar encima ni a la derecha del botón de pedido. */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text {position:static!important; float:none!important; clear:both!important; width:100%!important; text-align:left!important;}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .required,
body.woocommerce-checkout .form-row .required {color:#e30613!important; position:static!important; float:none!important; inset:auto!important; transform:none!important;}
body.woocommerce-checkout #payment .place-order {display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:10px!important;}
body.woocommerce-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper {order:0!important; margin:0 0 8px!important;}
body.woocommerce-checkout #payment .place-order #place_order {order:5!important; float:none!important; clear:both!important; margin:0!important;}
body.woocommerce-checkout #payment .place-order > .form-row {float:none!important; clear:both!important; width:100%!important; margin:0!important; text-align:left!important;}
/* Tarjetas de pedido y direcciones: el orden se fija en la fila, sin cajas anidadas. */
body.woocommerce-order-received ul.woocommerce-order-overview {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;width:100%!important;margin:0 0 24px!important;padding:0!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;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:12px!important;box-sizing:border-box!important;}
body.woocommerce-order-received ul.woocommerce-order-overview>li.woocommerce-order-overview__order {order:1!important;grid-column:auto!important;}
body.woocommerce-order-received .woocommerce-customer-details .col2-set,
body.woocommerce-order-received .woocommerce-customer-details .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:18px!important;width:100%!important;margin:0!important;padding:0!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 {display:flex!important;flex-direction:column!important;float:none!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!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.3!important;transform:none!important;}
body.woocommerce-order-received .woocommerce-customer-details address {width:100%!important;min-height:0!important;height:100%!important;margin:0!important;padding:14px!important;box-sizing:border-box!important;line-height:1.55!important;}
body.woocommerce-order-received .woocommerce-order-details dl.variation {display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:2px 5px!important;}
body.woocommerce-order-received .woocommerce-order-details dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details dl.variation dd {display:inline!important;float:none!important;position:static!important;width:auto!important;margin:0!important;padding:0!important;line-height:1.45!important;transform:none!important;}
@media(max-width:767px){
 body.woocommerce-cart .cart-empty {padding:24px 18px 10px!important;}
 body.woocommerce-cart .cart-empty:before {width:56px!important;height:56px!important;}
 body.woocommerce-cart .cart-empty:after {font-size:21px!important;}
 body.woocommerce-cart .return-to-shop {padding:0 18px 22px!important;}
 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.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-columns--addresses {grid-template-columns:minmax(0,1fr)!important;gap:14px!important;}
}
