.store-info-header {
  background-color: #3eb049;
  padding: 20px 0px;
  color: #ffffff;
  text-transform: uppercase;
  font-family: BebasNeue;
  margin: 0px;
  position: sticky;
  top: 0;
  z-index: 900;
}

.store-info-header-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  overflow: hidden;
}

.store-info-header-text span {
  font-size: 18px;
}

.store-info-header-text img {
  margin-right: 12px;
  height: 15px;
}

.store-info-action {
  color: white;
  height: 100%;
}

.store-info-action button {
  background-color: #1d4288;
  color: white;
  border: none;
  font-weight: 400;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  padding: 20px;
  margin: 0 auto;
}

.store-info-action button img {
  margin-right: 6px;
}

.breadcrumb-navigation {
  margin: 1em;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-wrap: break-word;
  align-items: center;
  line-height: 1em;
  z-index: 1007;
}

.breadcrumb-item {
  margin-right: 8px;
}

.breadcrumb-item a {
  text-decoration: none;
  font-weight: 600;
  color: #212121;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
  color: #4682B4;
}

.breadcrumb-item::before {
  content: "" !important;
}

.breadcrumb-item::after {
  content: "/";
  margin-left: 8px;
}

.breadcrumb-item:last-child::after {
  content: "";
  margin: 0;
}

.breadcrumb-item:last-child {
  font-weight: 700 !important;
  text-decoration: none !important;
  color: #212121 !important;
}


@media screen and (min-width: 576px) {
  .store-info-header-text span:not(:last-child):after {
    content: "|";
    margin: 0 8px;
  }

  .store-info-header-text span {
    font-size: 20px;
  }
}

@media screen and (min-width: 769px) {
  .store-info-header {
    padding: 8px 0px;
    font-size: 18px;
  }

  .store-info-header-text {
    font-weight: 500;
  }

  .store-info-header-text span {
    font-size: 1.2em;
  }

  .store-info-action button {
    padding: 10px 10px;
    font-weight: 500;
    font-size: 1em;
    border-radius: 2px;
  }

  .store-info-action button img {
    margin-right: 16px;
  }
}

@media screen and (min-width: 1850px) {
  .breadcrumb-navigation {
    margin-left: 2em;
  }
}

@media (max-width: 767px) {
  .breadcrumb-item,
  .breadcrumb-item a,
  .breadcrumb-item:last-child {
    font-size: 0.75rem;
  }
}

/* ---------- REUSABLE HERO-OVERLAY BREADCRUMB ----------
   Opt in by adding `hero-overlay-page` to a page's content wrapper (the sibling
   right after #breadcrumb). The page's photo hero sits behind the breadcrumb,
   the breadcrumb text goes white, and the title gets mobile top-clearance so the
   breadcrumb never lands on it. Pages keep only their own background.
   Currently applied to: warranty, specials. */
.hero-overlay-page {
  position: relative;
  z-index: 1;
  margin-top: -56px;
}

#breadcrumb:has(~ .hero-overlay-page) {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Center the breadcrumb in the same 1400px column as the (left-aligned) hero
   title so it sits directly above it. */
#breadcrumb:has(~ .hero-overlay-page) > div {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

#breadcrumb:has(~ .hero-overlay-page) .breadcrumb-item a {
  color: #ffffff;
}
#breadcrumb:has(~ .hero-overlay-page) .breadcrumb-item a:hover {
  color: #fff;
}
#breadcrumb:has(~ .hero-overlay-page) .breadcrumb-item:last-child {
  color: #fff !important;
}
#breadcrumb:has(~ .hero-overlay-page) .breadcrumb-item::after {
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile: reserve top padding so the centered hero title clears the overlaid
   breadcrumb; reverts to the base 40px at md+ where the desktop gutter clears. */
.hero-overlay-page .page-hero__overlay {
  padding-top: 84px;
}
@media (min-width: 768px) {
  .hero-overlay-page .page-hero__overlay {
    padding-top: 40px;
  }
}

/* ---------- BREADCRUMB OVERLAY — Service DETAIL pages ----------
   The services landing (#services-page) now uses the shared `hero-overlay-page`
   class above; service DETAIL (#service-category-detail) stays on this bespoke
   block until it's migrated too. */
#service-category-detail {
  position: relative;
  z-index: 1;
  margin-top: -56px;
}

#breadcrumb:has(~ #service-category-detail) {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

#breadcrumb:has(~ #service-category-detail) > div {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#breadcrumb:has(~ #service-category-detail) .breadcrumb-item a {
  color: rgba(255,255,255,0.8);
}

#breadcrumb:has(~ #service-category-detail) .breadcrumb-item a:hover {
  color: #fff;
}

#breadcrumb:has(~ #service-category-detail) .breadcrumb-item:last-child {
  color: #fff !important;
}

#breadcrumb:has(~ #service-category-detail) .breadcrumb-item::after {
  color: rgba(255,255,255,0.5);
}

/* ---------- HIDE BREADCRUMB — Tire Listing Page ---------- */
/* The tire-listing page already shows year/make/model in its own H1,
   so the breadcrumb is redundant and eats vertical space. */
#breadcrumb:has(~ main.tire-listing-main) {
  display: none;
}