/* ==========================================================================
   Mobile action bar
   --------------------------------------------------------------------------
   Replaces the header CTA below 768px so the primary action is always
   one tap away.
   ========================================================================== */

.action-bar {
  display: none;
}

@media (max-width: 767px) {
  .action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    gap: 10px;
    padding: 12px var(--gutter);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(12, 12, 13, 0.12);
  }

  .action-bar .btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .action-bar__call {
    flex: 0 0 auto;
  }

  .action-bar__cta {
    flex: 1;
  }

  /* Keep the bar from covering the end of the page. */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
