This might work, modify the .details-button-wrapper container to display as flex and push the button to the right.
.details-button-wrapper
flex
.details-button-wrapper { display: flex; justify-content: space-between; align-items: center; }