/* v11.15.15: consistent coupon input/button for classic and block WooCommerce carts. */
.woocommerce-cart .coupon,
.woocommerce-cart .wc-block-components-totals-coupon,
.woocommerce-checkout .wc-block-components-totals-coupon{max-width:100%;}
.woocommerce-cart .coupon{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;border:1px solid #e4eae2;border-radius:14px;background:#f8faf7;}
.woocommerce-cart .coupon #coupon_code,
.woocommerce-cart .coupon input[name="coupon_code"],
.woocommerce .wc-block-components-totals-coupon__input input,
.woocommerce .wc-block-components-text-input input{min-height:44px;border:1px solid #d9e2d8;border-radius:10px;background:#fff;padding:10px 13px;box-sizing:border-box;}
.woocommerce-cart .coupon #coupon_code{flex:1 1 160px;width:auto;max-width:100%;margin:0;}
.woocommerce-cart .coupon button[name="apply_coupon"],
.woocommerce-cart .coupon .button[name="apply_coupon"],
.woocommerce .wc-block-components-totals-coupon__button,
.woocommerce .wc-block-components-totals-coupon button,
.woocommerce .wc-block-components-totals-coupon__form button{
 background:#f58227!important;color:#fff!important;border:1px solid #f58227!important;border-radius:10px!important;
 padding:10px 18px!important;min-height:44px;font-weight:800!important;box-shadow:none!important;cursor:pointer;
}
.woocommerce-cart .coupon button[name="apply_coupon"]:hover,
.woocommerce .wc-block-components-totals-coupon button:hover{background:#df6b16!important;border-color:#df6b16!important;color:#fff!important;}
.woocommerce .wc-block-components-totals-coupon__button:disabled{opacity:.6;cursor:not-allowed;}
@media(max-width:480px){.woocommerce-cart .coupon{padding:10px;gap:8px}.woocommerce-cart .coupon #coupon_code{min-width:0;flex:1 1 120px}.woocommerce-cart .coupon button[name="apply_coupon"]{flex:0 0 auto}}

/* v11.15.16 — WooCommerce Cart/Checkout Blocks use differing button wrappers by version. */
body.woocommerce-cart .wc-block-components-totals-coupon__form,
body.woocommerce-checkout .wc-block-components-totals-coupon__form{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
body.woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input{flex:1 1 160px;min-width:0}
body.woocommerce-cart .wc-block-components-totals-coupon__form input,
body.woocommerce-checkout .wc-block-components-totals-coupon__form input{min-height:44px!important;border-radius:10px!important;border:1px solid #d9e2d8!important;background:#fff!important}
body.woocommerce-cart .wc-block-components-totals-coupon__form button,
body.woocommerce-checkout .wc-block-components-totals-coupon__form button,
body.woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-button,
body.woocommerce-cart button[name=apply_coupon],
body.woocommerce-checkout button[name=apply_coupon]{background:#f58227!important;background-color:#f58227!important;color:white!important;border:1px solid #f58227!important;border-radius:10px!important;min-height:44px!important;font-weight:700!important}
body.woocommerce-cart .wc-block-components-totals-coupon__form button:hover,
body.woocommerce-checkout .wc-block-components-totals-coupon__form button:hover,
body.woocommerce-cart button[name=apply_coupon]:hover{background:#df6b16!important;background-color:#df6b16!important}
body.woocommerce-cart .wc-block-components-totals-coupon__form button .wc-block-components-button__text,
body.woocommerce-checkout .wc-block-components-totals-coupon__form button .wc-block-components-button__text{color:inherit!important}
