/* Factoría de Tinta — correcciones responsive y alineación 1.6.3.
   Solo presentación; no modifica cálculos, validación ni pasarelas de WooCommerce. */
body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-order-received{overflow-x:clip!important}
body.woocommerce-cart *,body.woocommerce-checkout *,body.woocommerce-order-received *{box-sizing:border-box}
/* Moneda: ocultar el código ISO cuando WooCommerce lo imprime junto al símbolo. */
body.woocommerce-cart .woocommerce-Price-currencyCode,
body.woocommerce-checkout .woocommerce-Price-currencyCode,
body.woocommerce-order-received .woocommerce-Price-currencyCode{display:none!important}
/* Checkout: una sola columna general, con bloques independientes y legibles. */
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .site-main form.checkout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{float:none!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
body.woocommerce-checkout #customer_details{order:1!important}
body.woocommerce-checkout #order_review_heading{order:2!important;margin:0!important;padding:22px 24px 8px!important;border:1px solid #e8e8e8!important;border-bottom:0!important;border-radius:14px 14px 0 0!important;background:#fff!important;line-height:1.3!important}
body.woocommerce-checkout #order_review{order:3!important;margin:0!important;margin-top:-22px!important;padding:12px 24px 24px!important;border:1px solid #e8e8e8!important;border-top:0!important;border-radius:0 0 14px 14px!important;background:#fff!important;min-width:0!important}
body.woocommerce-checkout #customer_details .col2-set{display:block!important;width:100%!important;min-width:0!important}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2{float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 22px!important}
body.woocommerce-checkout #customer_details .form-row{float:none!important;clear:none!important;min-width:0!important;max-width:100%!important;margin:0 0 16px!important;padding:0!important}
body.woocommerce-checkout #customer_details .form-row-first,
body.woocommerce-checkout #customer_details .form-row-last{display:inline-block!important;vertical-align:top!important;width:calc(50% - 10px)!important}
body.woocommerce-checkout #customer_details .form-row-first{margin-right:16px!important}
body.woocommerce-checkout #customer_details .form-row-wide{display:block!important;width:100%!important;margin-right:0!important}
body.woocommerce-checkout #customer_details label{display:block!important;position:static!important;float:none!important;margin:0 0 7px!important;line-height:1.45!important;font-size:14px!important;white-space:normal!important}
body.woocommerce-checkout #customer_details input.input-text,
body.woocommerce-checkout #customer_details select,
body.woocommerce-checkout #customer_details textarea{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;margin:0!important;padding:11px 13px!important;line-height:1.4!important;font-size:15px!important;border-radius:8px!important}
body.woocommerce-checkout #customer_details textarea{min-height:110px!important}
body.woocommerce-checkout #order_review table.shop_table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td{padding:13px 12px!important;vertical-align:top!important;line-height:1.5!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.woocommerce-checkout #order_review table.shop_table th:first-child,
body.woocommerce-checkout #order_review table.shop_table td:first-child{width:68%!important;text-align:left!important}
body.woocommerce-checkout #order_review table.shop_table th:last-child,
body.woocommerce-checkout #order_review table.shop_table td:last-child{width:32%!important;text-align:right!important;white-space:normal!important}
body.woocommerce-checkout #order_review .product-name .variation,
body.woocommerce-checkout #order_review .product-name dl.variation{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:4px 9px!important;margin:8px 0 0!important;line-height:1.45!important}
body.woocommerce-checkout #order_review .product-name .variation dt,
body.woocommerce-checkout #order_review .product-name .variation dd{float:none!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;overflow-wrap:anywhere!important}
body.woocommerce-checkout #payment,body.woocommerce-checkout #payment ul.payment_methods,body.woocommerce-checkout #payment div.payment_box{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;line-height:1.5!important}
body.woocommerce-checkout #payment .wc-stripe-card-icons-container,
body.woocommerce-checkout #payment .wc-payment-gateway-card-icons,
body.woocommerce-checkout #payment .payment-method-icons,
body.woocommerce-checkout #payment .stripe-card-icons{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;max-width:100%!important;overflow:visible!important;margin-left:auto!important}
body.woocommerce-checkout #payment img{position:static!important;float:none!important;max-width:40px!important;max-height:27px!important;width:auto!important;height:auto!important;object-fit:contain!important}
/* Pedido recibido: cinco tarjetas en una fila en escritorio y orden explícito. */
body.woocommerce-order-received .site-main 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;max-width:100%!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:13px!important;overflow-wrap:anywhere!important;line-height:1.4!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li strong{display:block!important;margin-top:7px!important;font-size:14px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__order{order:1!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__date{order:2!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__email{order:3!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__total{order:4!important}
body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__payment-method{order:5!important}
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table td{padding:12px 10px!important;vertical-align:top!important;line-height:1.5!important;overflow-wrap:anywhere!important}
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table th:first-child,
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table td:first-child{width:68%!important;text-align:left!important}
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table th:last-child,
body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table td:last-child{width:32%!important;text-align:right!important}
body.woocommerce-order-received .site-main .woocommerce-order-details .wc-item-meta,
body.woocommerce-order-received .site-main .woocommerce-order-details dl.variation{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:5px 12px!important;margin:7px 0 0!important;line-height:1.45!important}
body.woocommerce-order-received .site-main .woocommerce-order-details .wc-item-meta li{margin:0!important;padding:0!important}
/* Dirección de facturación y envío en dos columnas, alineadas por arriba y misma altura. */
body.woocommerce-order-received .site-main .woocommerce-customer-details .col2-set,
body.woocommerce-order-received .site-main .woocommerce-customer-details .addresses,
body.woocommerce-order-received .site-main .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received .site-main .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;max-width:100%!important}
body.woocommerce-order-received .site-main .woocommerce-customer-details .col-1,
body.woocommerce-order-received .site-main .woocommerce-customer-details .col-2,
body.woocommerce-order-received .site-main .woocommerce-column--billing-address,
body.woocommerce-order-received .site-main .woocommerce-column--shipping-address,
body.woocommerce-order-received .site-main .woocommerce-columns--addresses .woocommerce-column{float:none!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;align-self:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
body.woocommerce-order-received .site-main .woocommerce-customer-details address{width:100%!important;min-height:100%!important;height:100%!important;margin:0!important;padding:16px!important;overflow-wrap:anywhere!important;line-height:1.65!important;border-radius:10px!important}
/* Carrito móvil: aire entre datos, imagen, configuración y controles. */
@media(max-width:650px){
 body.woocommerce-cart .site-main article .entry-content>.woocommerce,
 body.woocommerce-cart .site-main article .entry-content .woocommerce,
 body.woocommerce-checkout .site-main article .entry-content>.woocommerce,
 body.woocommerce-checkout .site-main article .entry-content .woocommerce,
 body.woocommerce-order-received .site-main article .entry-content>.woocommerce,
 body.woocommerce-order-received .site-main article .entry-content .woocommerce{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;margin-left:auto!important;margin-right:auto!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item{grid-template-columns:24px minmax(0,1fr)!important;column-gap:10px!important;row-gap:8px!important;padding:12px 10px!important;margin:0 0 14px!important;border:1px solid #e8e8e8!important;border-radius:10px!important;background:#fff!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td{padding:7px 4px!important;line-height:1.55!important;font-size:13px!important;overflow-wrap:anywhere!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-name{padding-top:8px!important;padding-bottom:12px!important;line-height:1.55!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-name>a{display:inline-block!important;margin-bottom:7px!important;font-size:15px!important;line-height:1.4!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-name .variation{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:4px 8px!important;margin:8px 0!important;line-height:1.45!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-name .variation dt,
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-name .variation dd{float:none!important;margin:0!important;min-width:0!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-thumbnail{width:78px!important;max-width:78px!important;padding:4px 0 8px!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form table.shop_table td.product-thumbnail img{width:72px!important;height:72px!important;object-fit:contain!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:12px!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon input#coupon_code,
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon input[name="coupon_code"]{width:100%!important;min-width:0!important;min-height:44px!important}
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon button,
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon button[name="apply_coupon"],
 body.woocommerce-cart .site-main .woocommerce-cart-form .coupon input[name="apply_coupon"]{align-self:stretch!important;width:100%!important;min-width:0!important;margin:0!important;min-height:44px!important}
 body.woocommerce-cart .site-main .cart-collaterals .cart_totals{padding:14px!important}
 body.woocommerce-cart .site-main .cart-collaterals .cart_totals th,
 body.woocommerce-cart .site-main .cart-collaterals .cart_totals td{padding:10px 6px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
 body.woocommerce-checkout .site-main #customer_details,
 body.woocommerce-checkout .site-main #order_review_heading,
 body.woocommerce-checkout .site-main #order_review{padding-left:14px!important;padding-right:14px!important}
 body.woocommerce-checkout #customer_details .form-row-first,
 body.woocommerce-checkout #customer_details .form-row-last{display:block!important;width:100%!important;margin-right:0!important}
 body.woocommerce-checkout #customer_details .form-row{margin-bottom:17px!important}
 body.woocommerce-checkout #customer_details label{font-size:14px!important;margin-bottom:7px!important}
 body.woocommerce-checkout #customer_details input.input-text,
 body.woocommerce-checkout #customer_details select,
 body.woocommerce-checkout #customer_details textarea{min-height:46px!important;font-size:16px!important;padding:12px!important}
 body.woocommerce-checkout #order_review table.shop_table th,
 body.woocommerce-checkout #order_review table.shop_table td{padding:10px 6px!important;font-size:13px!important}
 body.woocommerce-checkout #order_review table.shop_table th:first-child,
 body.woocommerce-checkout #order_review table.shop_table td:first-child{width:64%!important}
 body.woocommerce-checkout #order_review table.shop_table th:last-child,
 body.woocommerce-checkout #order_review table.shop_table td:last-child{width:36%!important}
 body.woocommerce-checkout #order_review .product-name .variation{grid-template-columns:minmax(0,1fr)!important;gap:2px!important;font-size:12px!important}
 body.woocommerce-checkout #order_review .product-name .variation dt{font-weight:700!important;margin-top:4px!important}
 body.woocommerce-order-received .site-main ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li{padding:11px!important;font-size:11px!important}
 body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li strong{font-size:13px!important}
 body.woocommerce-order-received .site-main ul.woocommerce-order-overview>li.woocommerce-order-overview__payment-method{grid-column:1/-1!important}
 body.woocommerce-order-received .site-main .woocommerce-order-details,
 body.woocommerce-order-received .site-main .woocommerce-customer-details{padding:13px!important}
 body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table th,
 body.woocommerce-order-received .site-main .woocommerce-order-details table.shop_table td{padding:9px 5px!important;font-size:12px!important}
 body.woocommerce-order-received .site-main .woocommerce-customer-details .col2-set,
 body.woocommerce-order-received .site-main .woocommerce-customer-details .addresses,
 body.woocommerce-order-received .site-main .woocommerce-customer-details .woocommerce-columns--addresses,
 body.woocommerce-order-received .site-main .woocommerce-columns--addresses{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.woocommerce-order-received .site-main .woocommerce-customer-details address{min-height:0!important;height:auto!important}
}
@media(min-width:651px){body.woocommerce-order-received .site-main ul.woocommerce-order-overview{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
