/* Site-owned mobile/tablet bottom action bar (Tier-1, byte-identical
   across the fleet) -- fleet/canonical/css/mobile-action-bar.css.

   Replaces two older, redundant bars: Gander's per-generator
   .lst-mobile-cta (listing-detail only) and js/boldtrail-forms.js's
   .rf-sticky-bar (marketing pages, all 3 sites -- stickyBar() is now
   a no-op). Rendered by js/mobile-action-bar.js on every page under
   1024px wide -- phone AND portrait tablet, matching the B5 tablet-tier
   breakpoint (1024 -> 1023) the same review pass standardized on.

   Mike 2026-09-17, "Mobile + iPad review of the fleet" plan, Part 1
   Tier B, row B1. */

.mab-bar { display: none; }

@media (max-width: 1023px) {
  .mab-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    height: 56px;
    background: #EA002A;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-sizing: content-box;
  }

  .mab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    background: transparent;
    color: #fff;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mab-btn:last-child { border-right: none; }
  .mab-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mab-btn span { line-height: 1.1; }

  .mab-btn-primary {
    background: #fff;
    color: #EA002A;
  }

  body.mab-active {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }
}
