/* ============================================================
   Location Banner — Branch's Soft Serve Ice Cream
   Displays current truck location at the top of every page.
   Hidden by default; shown via JS once location.json loads.
   ============================================================ */

#location-banner {
  display: none;                        /* JS sets to flex once data loads */
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #E85D04;
  color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 20px;
  position: relative;
  z-index: 9999;
  text-align: center;
  flex-wrap: wrap;
  min-height: 48px;
}

#location-banner .lb-truck {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
  /* slight drop shadow so truck pops on orange */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
}

#location-banner .lb-label {
  opacity: 0.85;
  font-weight: 700;
  margin-right: 2px;
}

#location-banner .lb-location {
  font-weight: 700;
  color: #fff;
}

#location-banner .lb-note {
  font-weight: 400;
  opacity: 0.88;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

#location-banner .lb-divider {
  opacity: 0.5;
  margin: 0 4px;
}

/* Dismiss button */
#location-banner .lb-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
#location-banner .lb-close:hover { color: #fff; }

@media (max-width: 600px) {
  #location-banner {
    font-size: 0.72rem;
    padding: 4px 36px 4px 10px;
    justify-content: flex-start;
  }
  #location-banner .lb-truck {
    height: 32px;
  }
}
