Hello,
Replace that custom code by this one
@media only screen and (max-width:480px){
.product {
width: 50% !important;
}
.product-details .add_to_cart_button.btn {
max-width: 100%;
font-size: 10px;
}
}
Regards