.lp-store-info-bar {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-height: 32px;
  place-items: center;
  padding: 5px var(--gds-page-gutter, 16px);
  overflow: hidden;
  border-bottom: 1px solid var(--gds-color-border, #e5e5e5);
  background: var(--gds-color-surface, #ffffff);
  color: var(--gds-color-text, #171717);
  font-family: var(--gds-font-body, inherit);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.lp-store-info-bar__viewport {
  display: block;
  width: 100%;
  overflow: hidden;
}

.lp-store-info-bar__track {
  display: flex;
  width: max-content;
  animation: lp-store-info-bar-marquee var(--lp-store-info-bar-duration, 32s) linear infinite;
  will-change: transform;
}

.lp-store-info-bar__group {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  min-width: 100vw;
  align-items: center;
  justify-content: space-around;
  gap: clamp(20px, 3vw, 44px);
  padding-inline: var(--gds-page-gutter, 16px);
}

.lp-store-info-bar__message,
.lp-store-info-bar__separator {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
}

.lp-store-info-bar__separator {
  color: var(--gds-color-text-muted, #777b82);
  font-size: 11px;
}

.lp-store-info-bar:hover .lp-store-info-bar__track,
.lp-store-info-bar:focus-within .lp-store-info-bar__track {
  animation-play-state: paused;
}

.lp-store-info-bar__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes lp-store-info-bar-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 767px) {
  .lp-store-info-bar {
    min-height: 30px;
    padding-block: 4px;
    font-size: 11px;
  }

  .lp-store-info-bar__group {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-store-info-bar__track {
    width: 100%;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .lp-store-info-bar__group {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding-inline: 0;
  }

  .lp-store-info-bar__group[aria-hidden="true"] {
    display: none;
  }
}
