/*
  Rundle Bike & Ski compact header for checkout and account pages.
  Link after brand-chrome.css, on those pages only:
    <link rel="stylesheet" href="/css/brand-chrome-compact.css?v=20261019-rebrand">
  Markup: <header class="rb-site-header rb-site-header--compact"> with the logo and the phone
  link only (no nav, no "Book a bike" button, no menu toggle, no mobile menu).
  Spacing and type come from the rebrand scales (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64).
*/

.rb-site-header--compact .rb-site-header__inner {
  justify-content: space-between;
}

/* Belt and braces: nothing but the logo and phone may show in this header. */
.rb-site-header--compact .rb-site-header__nav,
.rb-site-header--compact .rb-site-header__cta,
.rb-site-header--compact .rb-site-header__toggle {
  display: none;
}

/* The number stays readable at every width, because the visitor may need to call mid-booking. */
.rb-site-header--compact .rb-site-header__tel {
  width: auto;
  padding: 0 12px;
  border: 2px solid var(--rb-ink);
}

.rb-site-header--compact .rb-site-header__tel-text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: nowrap;
}

@media (max-width: 479px) {
  .rb-site-header--compact .rb-site-header__tel {
    padding: 0 8px;
  }

  /* Room for the Bikes/Skis switch: the number stays, the icon goes. */
  .rb-site-header--compact .rb-site-header__tel svg {
    display: none;
  }

  .rb-site-header--compact .rb-site-header__tel-text {
    font-size: 13px;
    font-weight: 600;
  }
}

/* Teal header: the phone button outline turns white. */
.rb-site-header--compact .rb-site-header__tel {
  border-color: var(--rb-white, #FFFFFF);
}
