.popelup-app-store-header {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 50, 77, 0.16);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(12, 28, 44, 0.09);
  color: #111;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  height: 35px;
  justify-content: center;
  line-height: 1;
  margin-left: 16px;
  min-width: 116px;
  padding: 4px 11px 4px 9px;
  text-decoration: none;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.popelup-app-store-header:hover,
.popelup-app-store-header:focus-visible {
  border-color: rgba(243, 112, 33, 0.46);
  box-shadow: 0 5px 14px rgba(12, 28, 44, 0.14), 0 0 0 3px rgba(243, 112, 33, 0.14);
  color: #111;
  text-decoration: none;
  transform: translateY(-1px);
}

.popelup-app-store-header__apple {
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.3125rem;
  line-height: 1;
  transform: translateY(-1px);
}

.popelup-google-play-header {
  margin-left: 8px;
}

.popelup-google-play-header__icon {
  color: #111;
  flex: 0 0 auto;
  height: 1.3125rem;
  width: 1.3125rem;
}

.popelup-app-store-header__copy,
.popelup-app-store-mobile__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  white-space: nowrap;
}

.popelup-app-store-header small,
.popelup-app-store-mobile small {
  color: rgba(17, 17, 17, 0.68);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.popelup-app-store-header small {
  font-size: 0.39rem;
}

.popelup-app-store-header strong,
.popelup-app-store-mobile strong {
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.popelup-app-store-header strong {
  font-size: 0.705rem;
}

.header-top__left:has(.popelup-app-store-header) {
  flex-wrap: nowrap;
}

.header-top__left .ps-contactinfo {
  white-space: nowrap;
}

.popelup-header-announcements {
  align-items: center;
  align-self: stretch;
  color: #17324d;
  display: flex;
  flex: 1 1 0;
  height: 46px;
  justify-content: center;
  margin-left: 20px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.popelup-header-announcements__item {
  align-items: center;
  animation: popelup-header-announcement 14s linear infinite;
  display: flex;
  font-size: 0.86rem;
  bottom: 0;
  justify-content: center;
  letter-spacing: 0.01em;
  opacity: 0;
  overflow: hidden;
  padding-inline: 6px;
  position: absolute;
  top: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popelup-header-announcements__item::before {
  background: #f37021;
  border-radius: 50%;
  content: "";
  flex: 0 0 5px;
  height: 5px;
  margin-right: 9px;
  width: 5px;
}

.popelup-header-announcements__item:nth-child(2) {
  animation-delay: 7s;
}

@keyframes popelup-header-announcement {
  0% {
    animation-timing-function: cubic-bezier(0.16, 0.75, 0.25, 1);
    left: 100%;
    opacity: 0;
    transform: translateX(0);
  }

  8% {
    opacity: 1;
  }

  22% {
    left: 49%;
    opacity: 1;
    transform: translateX(-50%);
  }

  24% {
    animation-timing-function: ease-out;
    left: 51%;
    opacity: 1;
    transform: translateX(-50%);
  }

  26% {
    left: 50%;
    opacity: 1;
    transform: translateX(-50%);
  }

  32% {
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.45);
    left: 50%;
    opacity: 1;
    transform: translateX(-50%);
  }

  44% {
    opacity: 1;
  }

  50%, 100% {
    left: 0;
    opacity: 0;
    transform: translateX(-100%);
  }
}

@media (min-width: 992px) {
  .header-top .row {
    flex-wrap: nowrap;
  }

  .header-bottom {
    z-index: 1050;
  }

  .header-bottom__row {
    position: relative;
  }

  .header-bottom__logo {
    flex: 0 0 9.25rem;
    max-width: 9.25rem;
    position: relative;
    width: 9.25rem;
    z-index: 2;
  }

  .header-bottom__logo a,
  .header-bottom__h1 a {
    height: 8.5rem;
    left: 0.75rem;
    max-height: none;
    max-width: none;
    position: absolute;
    top: -3.1875rem;
    width: 8.5rem;
  }

  .header-top__left {
    padding-left: 10rem;
  }

  .header-top__left:has(.popelup-app-store-header) {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }

  .header-top__left:has(.popelup-app-store-header) + .header-top__right {
    flex: 0 0 22rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 22rem;
    padding-left: 2.25rem;
    width: 22rem;
  }

  #_desktop_ps_contactinfo,
  #_desktop_ps_customersignin,
  #_desktop_ps_shoppingcart {
    flex: 0 0 auto;
  }
}

@media (max-width: 991px) {
  .popelup-header-announcements {
    display: none;
  }
}

@media (max-width: 991px) {

  .popelup-app-store-header {
    height: 32px;
    margin-left: 9px;
    min-width: 102px;
    padding-inline: 8px;
  }

  .popelup-app-store-header__apple {
    font-size: 1.1625rem;
  }

  .popelup-google-play-header__icon {
    height: 1.1625rem;
    width: 1.1625rem;
  }

  .popelup-app-store-header strong {
    font-size: 0.63rem;
  }
}

.popelup-app-store-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .popelup-app-store-header {
    display: none;
  }

  .popelup-app-store-mobile {
    align-items: center;
    align-self: center;
    background: #fff;
    border: 1px solid rgba(23, 50, 77, 0.16);
    border-radius: 9px;
    box-shadow: 0 3px 9px rgba(12, 28, 44, 0.1);
    color: #111;
    display: flex;
    flex: 0 0 auto;
    gap: 0;
    height: 38px;
    justify-content: center;
    margin-left: auto;
    min-width: 42px;
    padding: 6px;
    width: 42px;
    text-decoration: none;
  }

  .popelup-google-play-mobile {
    margin-left: 4px;
  }

  .popelup-app-store-mobile:hover,
  .popelup-app-store-mobile:focus-visible {
    border-color: rgba(243, 112, 33, 0.46);
    box-shadow: 0 3px 12px rgba(12, 28, 44, 0.14), 0 0 0 3px rgba(243, 112, 33, 0.14);
    color: #111;
    text-decoration: none;
  }

  .popelup-app-store-mobile__apple {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.3rem;
    line-height: 1;
    transform: translateY(-1px);
  }

  .popelup-app-store-mobile__copy {
    display: none;
  }

  .popelup-app-store-mobile .popelup-google-play-header__icon {
    height: 1.25rem;
    width: 1.25rem;
  }

  .popelup-app-store-mobile small {
    font-size: 0.4rem;
  }

  .popelup-app-store-mobile strong {
    font-size: 0.72rem;
  }
}

@media (max-width: 350px) {
  .popelup-app-store-mobile {
    min-width: 38px;
    padding-inline: 5px;
    width: 38px;
  }

  .popelup-app-store-mobile__apple {
    font-size: 1.2rem;
  }

  .popelup-google-play-mobile {
    margin-left: 3px;
  }

  .popelup-app-store-mobile strong {
    font-size: 0.66rem;
  }
}

.popelup-google-play-coming-soon {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 3rem auto;
  max-width: 42rem;
  padding: 2rem 1rem;
  text-align: center;
}

.popelup-google-play-coming-soon__icon {
  color: #f37021;
  height: 4rem;
  margin-bottom: 1rem;
  width: 4rem;
}

.popelup-google-play-coming-soon__eyebrow {
  color: #f37021;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.popelup-google-play-coming-soon h2 {
  color: #17324d;
  margin-bottom: 1rem;
}

.popelup-google-play-coming-soon > a {
  background: #f37021;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.popelup-google-play-coming-soon > a:hover,
.popelup-google-play-coming-soon > a:focus-visible {
  background: #d95d12;
  color: #fff;
  text-decoration: none;
}

/* Official store artwork: keep the supplied badges intact and scale them only. */
.popelup-app-store-header {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  min-width: 0;
  padding: 0;
}

.popelup-app-store-header:hover,
.popelup-app-store-header:focus-visible {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.18);
  transform: none;
}

.popelup-store-badge {
  display: block;
  height: auto;
  max-width: none;
}

.popelup-store-badge--apple {
  width: 90px;
}

.popelup-store-badge--google {
  width: 104px;
}

@media (max-width: 767.98px) {
  .popelup-app-store-mobile {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    min-width: 0;
    padding: 0;
    width: auto;
  }

  .popelup-app-store-mobile:hover,
  .popelup-app-store-mobile:focus-visible {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.18);
  }

  .popelup-google-play-mobile {
    margin-left: auto;
  }

  .popelup-app-store-mobile .popelup-store-badge--apple {
    width: 86px;
  }

  .popelup-app-store-mobile .popelup-store-badge--google {
    width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .popelup-app-store-header {
    transition: none;
  }

  .popelup-header-announcements__item {
    animation: none;
    left: 0;
    opacity: 1;
    right: 0;
    transform: none;
  }

  .popelup-header-announcements__item:nth-child(2) {
    display: none;
  }
}
