/* Presentation only. WooCommerce remains the owner of quantity and slide state. */
.ap-quantity-stepper:not([hidden]) {
    display:inline-grid;grid-template-columns:44px minmax(52px,auto) 44px;
    align-items:stretch;border:1px solid #0003;border-radius:8px;max-width:100%
}
.ap-quantity-stepper input.qty {width:100%;min-width:0;padding-inline:4px;min-height:44px;border:0;background:transparent;color:inherit;text-align:center;appearance:textfield}
.ap-quantity-stepper input.qty::-webkit-inner-spin-button {appearance:none}
.ap-quantity-stepper button,.ap-gallery-controls button {
    min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer
}
.ap-quantity-stepper button:disabled {opacity:.45;cursor:default}
.ap-gallery-controls {display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.ap-gallery-controls button {border:1px solid #0003;border-radius:8px;font-size:1.35rem}
.ap-gallery-controls button:focus-visible,.ap-quantity-stepper :focus-visible {
    outline:2px solid var(--ap-accent,#246045);outline-offset:-2px
}
.single-product form.cart .quantity {max-width:100%}
@media(max-width:767px) {
    .single-product form.cart .single_add_to_cart_button {margin-top:8px;min-height:44px}
}
