/* Presentation only. Native coupons, checkout validation and payment handling stay unchanged. */
body.woocommerce-cart #primary .agp-cart-coupon{min-width:0;max-width:100%}
body.woocommerce-cart #primary .agp-cart-coupon .coupon{box-sizing:border-box;display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:10px!important;float:none!important;width:100%!important;min-width:0;margin:12px 0 0!important}
body.woocommerce-cart #primary .agp-cart-coupon .coupon::before,body.woocommerce-cart #primary .agp-cart-coupon .coupon::after{display:none;content:none}
body.woocommerce-cart #primary .agp-cart-coupon .coupon input#coupon_code{box-sizing:border-box;flex:1 1 180px!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%;margin:0!important}
body.woocommerce-cart #primary .agp-cart-coupon .coupon button[name=apply_coupon]{box-sizing:border-box;flex:0 0 auto!important;float:none!important;width:auto!important;min-width:max-content;max-width:100%;margin:0!important;white-space:nowrap!important}
@media(max-width:650px){
 body.woocommerce-cart #primary .agp-cart-coupon .coupon{flex-direction:column!important}
 body.woocommerce-cart #primary .agp-cart-coupon .coupon input#coupon_code,body.woocommerce-cart #primary .agp-cart-coupon .coupon button[name=apply_coupon]{flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:46px;height:auto!important;max-height:none!important}
 body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{position:relative!important;display:block!important;padding:16px 16px 16px 56px!important}
 body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before{position:absolute!important;top:16px!important;left:14px!important;transform:none!important;width:28px!important;height:28px!important}
 body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a{display:block!important;margin-top:6px;line-height:1.5;overflow-wrap:anywhere}
}

/* Native Pay for Order uses three columns, unlike checkout's two-column review. */
body.woocommerce-order-pay #primary form#order_review{box-sizing:border-box;min-width:0;margin:0;padding:24px;border:1px solid var(--line,#dfe9ed);border-radius:24px;background:#fff}
body.woocommerce-order-pay #primary #order_review table.shop_table{width:100%;table-layout:fixed;border:1px solid var(--line,#dfe9ed);border-collapse:separate;border-spacing:0;border-radius:16px;overflow:hidden}
body.woocommerce-order-pay #primary #order_review table.shop_table th,body.woocommerce-order-pay #primary #order_review table.shop_table td{padding:14px 12px;line-height:1.55;vertical-align:top}
body.woocommerce-order-pay #primary #order_review table.shop_table thead th{background:var(--surface-2,#f3f9fb)}
body.woocommerce-order-pay #primary #order_review table.shop_table .product-name,body.woocommerce-order-pay #primary #order_review table.shop_table tfoot th{width:auto;overflow-wrap:anywhere}
body.woocommerce-order-pay #primary #order_review table.shop_table th.product-quantity,body.woocommerce-order-pay #primary #order_review table.shop_table td.product-quantity{width:72px;text-align:center;white-space:nowrap}
body.woocommerce-order-pay #primary #order_review table.shop_table th.product-total{width:160px;text-align:right}
body.woocommerce-order-pay #primary #order_review table.shop_table td.product-subtotal,body.woocommerce-order-pay #primary #order_review table.shop_table td.product-total,body.woocommerce-order-pay #primary #order_review table.shop_table tfoot td{text-align:right;width:auto}
body.woocommerce-order-pay #primary #order_review table.shop_table .woocommerce-Price-amount{white-space:nowrap;font-variant-numeric:tabular-nums}
body.woocommerce-order-pay #primary .woocommerce-error,body.woocommerce-order-pay #primary .woocommerce-info{position:relative!important;padding:18px 18px 18px 60px!important;line-height:1.6!important}
body.woocommerce-order-pay #primary .woocommerce-error::before,body.woocommerce-order-pay #primary .woocommerce-info::before{position:absolute!important;top:18px!important;left:16px!important;transform:none!important;width:28px!important;height:28px!important}
body.woocommerce-order-pay #primary .woocommerce-error li{margin:0!important;padding:0;list-style:none}
body.woocommerce-order-pay #primary #payment ul.payment_methods{display:grid;gap:12px;padding:16px}
body.woocommerce-order-pay #primary #payment ul.payment_methods>li{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:0 10px;min-width:0;margin:0;padding:12px;border:1px solid var(--line,#dfe9ed);border-radius:12px;background:#fff}
body.woocommerce-order-pay #primary #payment ul.payment_methods>li>input{grid-column:1;grid-row:1;margin:0}
body.woocommerce-order-pay #primary #payment ul.payment_methods>li>label{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;min-width:0;gap:8px;margin:0;line-height:1.5}
body.woocommerce-order-pay #primary #payment ul.payment_methods>li>label img{flex:0 1 auto;min-width:0;max-width:min(135px,100%)!important;max-height:38px!important;margin:0!important}
body.woocommerce-order-pay #primary #payment ul.payment_methods>li>.payment_box{box-sizing:border-box;grid-column:1/-1;min-width:0;width:100%;margin:12px 0 0;padding:12px;overflow-wrap:anywhere}
body.woocommerce-order-pay #primary #payment #place_order{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:650px){
 body.woocommerce-order-pay #primary form#order_review{padding:14px;border-radius:20px}
 body.woocommerce-order-pay #primary #order_review table.shop_table th,body.woocommerce-order-pay #primary #order_review table.shop_table td{padding:12px 8px}
 body.woocommerce-order-pay #primary #order_review table.shop_table th.product-quantity,body.woocommerce-order-pay #primary #order_review table.shop_table td.product-quantity{width:44px}
 body.woocommerce-order-pay #primary #order_review table.shop_table th.product-total{width:96px}
 body.woocommerce-order-pay #primary #payment ul.payment_methods{padding:12px}
 body.woocommerce-order-pay #primary #payment ul.payment_methods>li{padding:10px}
 body.woocommerce-order-pay #primary #payment ul.payment_methods>li>label img{max-width:min(100px,100%)!important;max-height:32px!important}
 body.woocommerce-order-pay #primary #payment div.form-row{padding:16px 12px}
}
