/* Header — Theme Builder global header (top bar + logo/nav). */

/* ≤1132px — nav switches to the hamburger early (Divi's own switch is
   980; the 5 items + logo run out of room first). Scoped to
   .hickory-header-nav so the footer is untouched. */
@media (min-width: 981px) and (max-width: 1132px) {
  .hickory-header-nav .et-menu { display: none !important; }
  .hickory-header-nav .et_mobile_nav_menu { display: block !important; }
}

/* ≤1095px — hide the top-bar address text (the map pin stays); Divi's
   own visibility handles ≤980. */
@media (min-width: 981px) and (max-width: 1095px) {
  .hdr-address { display: none !important; }
}

/* ── Top-bar pills — Pharmacy + Book Now live in their own Code modules;
      spacing between them is set on the modules in the builder. ─────────
   ≤980px: NAP collapses to icons-only on the left — compact the pills so
   both fit beside the icons on one line. Scoped to the header layout
   wrapper (.et-l--header), which Divi keeps stable across saves. */
@media (max-width: 980px) {
  .et-l--header .btn-pill { padding: 0.5rem 0.9rem; letter-spacing: 0.05rem; }
}
