/* Matching the tab quantity stepper without changing WooCommerce quantity semantics. */
body.single-product .quantity.ec-child-qty,
body.woocommerce-cart .quantity.ec-child-qty{display:flex!important;align-items:stretch!important;overflow:hidden;vertical-align:middle;margin:0!important;padding:0!important;border:1px solid #dedede!important;background:#fff!important;border-radius:var(--ec-radius-button,8rem)!important;min-height:44rem;width:fit-content;max-width:100%;}
body .quantity.ec-child-qty .ec-child-qty-button{display:flex;align-items:center;justify-content:center;width:36rem;flex:0 0 36rem;border:0!important;background:#fff!important;padding:0!important;margin:0!important;line-height:1!important;font-size:20rem!important;color:#222!important;box-shadow:none!important;cursor:pointer;border-radius:0!important;}
body .quantity.ec-child-qty .ec-child-qty-button:disabled{cursor:default;opacity:.35;}
body .quantity.ec-child-qty input.qty{display:block!important;width:50rem!important;max-width:80rem!important;min-width:30rem!important;min-height:44rem!important;height:auto!important;text-align:center!important;background:#fff!important;border:0!important;outline-offset:-2px;padding:0 4rem!important;border-radius:0!important;box-shadow:none!important;appearance:textfield;-moz-appearance:textfield;}
body .quantity.ec-child-qty input.qty::-webkit-inner-spin-button,body .quantity.ec-child-qty input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
body .quantity.ec-child-qty .ec-child-qty-button:hover:not(:disabled){background:#f7f5f0!important;}
/* Respect existing quantity steppers; match their dimensions without injecting duplicate buttons. */
body.single-product :is(.quantity,.ec-wct-qty-box),
body.woocommerce-cart :is(.quantity,.ec-wct-qty-box){border-radius:var(--ec-radius-button,8rem)!important;}
body.single-product .ec-wct-qty-box button,body.woocommerce-cart .ec-wct-qty-box button{border-radius:0!important;}
