/* Machín: carrito, checkout y confirmación. */
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{display:block!important;width:100%;max-width:1080px;margin:0 auto!important}
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details,.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading,.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review{float:none!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.woocommerce-checkout form.checkout #customer_details{margin-bottom:32px}.woocommerce-checkout form.checkout #order_review_heading{margin:0!important;font-size:26px}
.woocommerce-checkout form.checkout #order_review{padding:20px 26px 26px;border:1px solid #dfe4ec;border-top:0;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 12px 34px rgba(16,24,40,.07)}
.woocommerce-checkout #payment{width:100%!important;margin-top:26px!important;padding:22px!important;border-radius:12px!important;background:#f5f7fb!important}
.woocommerce-checkout #payment .wc_payment_methods,.woocommerce-checkout #payment .payment_box,.woocommerce-checkout #payment .payment_method_paypal,.woocommerce-checkout #payment iframe{width:100%!important;max-width:none!important}
.woocommerce-checkout #payment .payment_box{box-sizing:border-box!important}.woocommerce-checkout #payment .place-order{padding:20px 0 0!important}
.woocommerce-checkout .woocommerce-form-coupon-toggle,.woocommerce-checkout form.checkout_coupon,.hp-checkout-purchase-options,.hp-checkout-account-guidance,.woocommerce-checkout .create-account .description{display:none!important}
.woocommerce-checkout label[for=createaccount]{font-weight:650!important}
.woocommerce-checkout .woocommerce-shipping-destination,.woocommerce-checkout .woocommerce-shipping-destination strong,.woocommerce-checkout .woocommerce-shipping-destination b,.woocommerce-cart .woocommerce-shipping-destination,.woocommerce-cart .woocommerce-shipping-destination strong,.woocommerce-cart .woocommerce-shipping-destination b{font-weight:400!important}
.hp-order-coupon-row td{padding:13px 0 0!important;border-top:1px dashed #dfe4ec!important}
.hp-order-coupon{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin:0;padding:0;border:0;background:transparent}
.hp-order-coupon h3{flex:0 0 auto;margin:0!important;font-size:13px!important;line-height:1.3;color:#667085;font-weight:650!important}.hp-order-coupon-fields{display:grid;grid-template-columns:minmax(120px,190px) auto;gap:7px}
.hp-order-coupon-fields .input-text{width:100%;min-width:0;height:36px;margin:0!important;padding:0 10px!important;border:1px solid #cbd3e1!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;font-size:13px!important}
.hp-order-coupon-fields .button{min-height:36px;margin:0!important;padding:0 13px!important;border:0!important;border-radius:7px!important;background:#1746e0!important;color:#fff!important;font-size:13px!important;font-weight:750!important;white-space:nowrap}.hp-order-coupon-fields .button:hover,.hp-order-coupon-fields .button:focus{background:#1239b7!important;color:#fff!important}.hp-order-coupon-fields .button:disabled{opacity:.65;cursor:wait}
.hp-order-coupon-notice:empty{display:none}.hp-order-coupon-notice{flex:1 0 100%;margin-top:8px}.hp-order-coupon-notice .woocommerce-error,.hp-order-coupon-notice .woocommerce-message{margin:0!important;padding:8px 10px 8px 36px!important;border-radius:7px;font-size:12px;line-height:1.4}

/* Confirmación clara y alineada. */
.woocommerce-order-received{background:#f5f7fb}.woocommerce-order-received .hp-main{padding-top:30px}.woocommerce-order-received .woocommerce{width:min(calc(100% - 32px),1080px);margin:0 auto}
.woocommerce-order-received .hp-main article>h1:first-child{display:flex;flex-direction:column;align-items:center;gap:13px;margin:0 0 24px;text-align:center;color:#101828;font-size:clamp(30px,4vw,43px);line-height:1.08;letter-spacing:-1px}.woocommerce-order-received .hp-main article>h1:first-child::before{content:'\2713';display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#16803c;color:#fff;font-size:34px;font-weight:900;box-shadow:0 0 0 10px rgba(22,128,60,.1)}
.woocommerce-order-received .woocommerce-thankyou-order-received{margin:0 0 18px;padding:21px 24px;border:1px solid #bbdfc7;border-radius:12px;background:#f0fbf4;color:#14532d;font-size:16px;font-weight:750;line-height:1.55;text-align:center;box-shadow:0 8px 24px rgba(22,128,60,.07)}
.woocommerce-order-received ul.order_details{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 18px!important;padding:0!important;overflow:hidden;border:1px solid #dfe4ec;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.06)}.woocommerce-order-received ul.order_details li{float:none!important;width:auto!important;margin:0!important;padding:18px!important;border-right:1px solid #e7eaf0!important;color:#667085;font-size:11px!important;line-height:1.4!important;text-transform:uppercase}.woocommerce-order-received ul.order_details li:last-child{border-right:0!important}.woocommerce-order-received ul.order_details li strong{display:block;margin-top:6px;color:#101828;font-size:15px!important;line-height:1.35;text-transform:none}.woocommerce-order-received ul.order_details li::before,.woocommerce-order-received .wc-bacs-bank-details li::before{content:none!important;display:none!important}.woocommerce-order-received ul.order_details li.email{grid-column:span 2}.woocommerce-order-received ul.order_details li:nth-child(n+4){border-top:1px solid #e7eaf0!important}
.hp-order-success-actions{display:flex;justify-content:center;gap:12px;margin:0 0 26px}.hp-order-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:9px;font-weight:850;text-decoration:none!important}.hp-order-action--primary{background:#1746e0;color:#fff!important;box-shadow:0 8px 18px rgba(23,70,224,.18)}.hp-order-action--primary:hover{background:#1239b7}.hp-order-action--secondary{border:1px solid #cbd3e1;background:#fff;color:#101828!important}.hp-order-action--secondary:hover{border-color:#1746e0;color:#1746e0!important}
.woocommerce-order-received .woocommerce-bacs-bank-details,.woocommerce-order-received .woocommerce-order-details,.woocommerce-order-received .woocommerce-customer-details{margin:0 0 26px!important;padding:26px;border:1px solid #dfe4ec;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.06)}.woocommerce-order-received .woocommerce-bacs-bank-details h2,.woocommerce-order-received .woocommerce-order-details h2,.woocommerce-order-received .woocommerce-customer-details h2{margin-top:0;font-size:23px}
.woocommerce-order-received .wc-bacs-bank-details{overflow:hidden;margin-top:17px!important;border:1px solid #dfe4ec!important;border-radius:11px!important;box-shadow:none!important}.woocommerce-order-received .wc-bacs-bank-details li{padding:18px!important}
.woocommerce-order-received table.shop_table{width:100%!important;border:0!important;border-collapse:collapse!important}.woocommerce-order-received table.shop_table th,.woocommerce-order-received table.shop_table td{padding:14px 12px!important;border-color:#e7eaf0!important;text-align:left!important;vertical-align:top!important}.woocommerce-order-received table.shop_table .product-total,.woocommerce-order-received table.shop_table tfoot td{text-align:right!important}.woocommerce-order-received table.shop_table tfoot th{font-weight:750!important}.woocommerce-order-received table.shop_table tfoot tr:last-child{font-size:18px}.woocommerce-order-received table.shop_table .product-name a{color:inherit!important;text-decoration:none!important;pointer-events:none!important}
.woocommerce-order-received .woocommerce-customer-details .col2-set{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.woocommerce-order-received .woocommerce-customer-details .col-1,.woocommerce-order-received .woocommerce-customer-details .col-2{float:none!important;width:auto!important;margin:0!important;padding:20px;border:1px solid #e4e8ef;border-radius:11px;background:#fafbfc}.woocommerce-order-received .woocommerce-customer-details address{margin:0!important;border:0!important;padding:0!important;line-height:1.75;text-align:left!important}

/* Carrito vacío con recomendaciones en oferta. */
.woocommerce-cart .hp-empty-cart{max-width:1180px;margin:10px auto 45px;text-align:center}.woocommerce-cart .hp-empty-cart>h2{margin:0;font-size:clamp(27px,4vw,40px);color:#101828}.woocommerce-cart .hp-empty-cart>p{margin:10px 0 30px;color:#667085;font-size:17px}.woocommerce-cart .hp-empty-cart-products{text-align:left}.woocommerce-cart .hp-empty-cart-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important;padding:0!important;list-style:none!important}.woocommerce-cart .hp-empty-cart-products ul.products::before,.woocommerce-cart .hp-empty-cart-products ul.products::after{display:none!important}.woocommerce-cart .hp-empty-cart-products ul.products li.product{float:none!important;width:auto!important;margin:0!important}.woocommerce-cart .hp-empty-cart-products .onsale{background:#dc2626!important;color:#fff!important}

@media(max-width:700px){.woocommerce-checkout form.checkout #order_review{padding:16px}.woocommerce-checkout #payment{padding:15px!important}.hp-order-coupon{display:block}.hp-order-coupon h3{margin-bottom:7px!important}.hp-order-coupon-fields{grid-template-columns:minmax(0,1fr) auto}.woocommerce-order-received .hp-main article>h1:first-child::before{width:56px;height:56px;font-size:29px}.woocommerce-order-received ul.order_details{grid-template-columns:1fr}.woocommerce-order-received ul.order_details li,.woocommerce-order-received ul.order_details li.email{grid-column:auto;border-right:0!important;border-bottom:1px solid #e7eaf0!important}.hp-order-success-actions{display:grid;grid-template-columns:1fr;margin-bottom:22px}.woocommerce-order-received .woocommerce-thankyou-order-received,.woocommerce-order-received .woocommerce-bacs-bank-details,.woocommerce-order-received .woocommerce-order-details,.woocommerce-order-received .woocommerce-customer-details{padding:20px}.woocommerce-order-received .woocommerce{width:min(calc(100% - 20px),1080px)}.woocommerce-order-received .woocommerce-customer-details .col2-set{grid-template-columns:1fr}.woocommerce-order-received table.shop_table th,.woocommerce-order-received table.shop_table td{padding:11px 7px!important}.woocommerce-cart .hp-empty-cart-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce-cart .hp-empty-cart-products li.product{padding:10px!important}.woocommerce-cart .hp-empty-cart-products .woocommerce-loop-product__title{min-height:55px!important;font-size:13px!important}.single-product .hp-ticket-launcher{bottom:88px!important}
body.woocommerce-checkout:not(.woocommerce-order-received){max-width:100%!important;overflow-x:hidden!important}
body.woocommerce-checkout:not(.woocommerce-order-received) .hp-ticket-launcher{display:none!important}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout,body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,body.woocommerce-checkout:not(.woocommerce-order-received) #order_review,body.woocommerce-checkout:not(.woocommerce-order-received) #payment{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input,body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout iframe,body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout fieldset{max-width:100%!important;box-sizing:border-box!important}
body.woocommerce-checkout:not(.woocommerce-order-received) #wc-stripe-hidden-style-input{width:calc(100vw - 76px)!important;max-width:calc(100vw - 76px)!important;box-sizing:border-box!important}
body.woocommerce-checkout:not(.woocommerce-order-received) .cky-preference-center{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important}}
