How can I adjust the 'add to cart' button width according to item size?

hey, does anyone know how to attach the size length to the add to cart button length?

thanks in advance

shop: parfumprobenshop.de

pw: test1

Hello @drew23

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

@media (max-width: 750px) {
.product-form__input {
    margin: 0 auto !important;
    max-width: 44rem !important;
}
.product-form__buttons {
    padding: 22px 26px 0 !important;
    max-width: 44rem !important;
    margin: 0 auto !important;
}
}