/* Keep the fixed product CTA clear of the final copyright line without
   creating a white body-padding strip below the blue footer. */
body:has(.trip-cta) {
  padding-bottom: 0 !important;
}

body:has(.trip-cta) .footer {
  padding-bottom: calc(var(--space-md) + 84px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 480px) {
  body:has(.trip-cta) .footer {
    padding-bottom: calc(var(--space-md) + 84px + env(safe-area-inset-bottom)) !important;
  }

  html[lang="en"] body:has(.trip-cta) .footer {
    padding-bottom: calc(var(--space-md) + 128px + env(safe-area-inset-bottom)) !important;
  }
}
