.custom-topbar {
  border-bottom: 1px solid rgba(var(--color-text), 0.08);
  font-family: century-gothic-regular;
  font-weight: var(--body-font-weight, 400);
  font-size: 11px;
}

.custom-topbar__inner {
  min-height: 42px;
  padding-top: var(--section-padding-top, 10px);
  padding-bottom: var(--section-padding-bottom, 10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.custom-topbar__left,
.custom-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.custom-topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(var(--color-text), 0.14);
  background: rgba(var(--color-text), 0.06);
  white-space: nowrap;
}

.custom-topbar__pill strong {
  font-weight: 600;
}

.custom-branch-cta__branch-title {
  color: #fff!important;
}

a.custom-topbar__pill--link {
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.custom-topbar__pill--link:hover,
a.custom-topbar__pill--link:focus-visible {
  color: rgb(var(--color-light-text));
  background: rgba(var(--color-text), 0.1);
  border-color: rgba(var(--color-text), 0.24);
}

@media (max-width: 376px) {
  a.custom-topbar__pill--link {
    font-size: 10px;
  }

  .custom-topbar__dot + strong{
    min-width: 48px !important;
  }
}

@media (max-width: 340px) {
  a.custom-topbar__pill--link {
    font-size: 9px;
  }

  .custom-topbar__sep {
    display: none;
  }

  .custom-topbar__dot + strong{
    min-width: auto !important;
  }
}

.custom-topbar__sep {
  opacity: 0.6;
}

.custom-topbar__dot {
  width: 7px;
  height: 7px;
  background: rgb(var(--color-light-text));
  display: inline-block;
  flex: 0 0 auto;
}

.custom-topbar__phone {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.custom-topbar__link {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.custom-topbar__phone::after,
.custom-topbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: rgb(var(--color-light-text));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.custom-topbar__phone,
.custom-topbar__link {
  position: relative;
}

.custom-topbar__phone:hover,
.custom-topbar__link:hover {
  color: rgb(var(--color-light-text));
}

.custom-topbar__phone:hover::after,
.custom-topbar__link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 759px) {
  .custom-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .custom-topbar__right {
    gap: 10px;
  }

  .custom-topbar__dot + strong {
    white-space: nowrap;
    min-width: 54px;
  }

  /* Horizontal-scroll the location pills on mobile so both fit on one row.
     Negative-margin lets the scroll bleed to the viewport edge so the second
     pill peeks in and signals the row is scrollable. */
  .custom-topbar__left {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: calc(100% + var(--page-padding, 20px) * 2);
    margin-left: calc(var(--page-padding, 20px) * -1);
    margin-right: calc(var(--page-padding, 20px) * -1);
    padding-left: var(--page-padding, 20px);
    padding-right: var(--page-padding, 20px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .custom-topbar__left::-webkit-scrollbar {
    display: none;
  }

  .custom-topbar__pill {
    flex-shrink: 0;
    white-space: nowrap;
    width: auto;
  }
}

@media (max-width: 376px) {
  .custom-topbar__right {
    justify-content: space-between;
    width: 100%;
  }
}
