CSS as a model writes it: max() and calc() around env(safe-area-inset-*), @supports. The Pay button ends above your time.

Your order

2 × Flat white€7.00
Almond croissant€3.40
Pickup at 12:40Rua Augusta
Total€10.40
@supports (padding: env(safe-area-inset-bottom)): yes