/*
 * Fix for "position: sticky" by overriding the theme's overflow property.
 */
body {
  overflow: visible !important;
}

/* --- Announcement Ticker Bar --- */
.announcement-ticker-bar {
  background-color: #ed3e43; /* Red background */
  color: #ffffff; /* White text */
  padding: 10px 15px;
  text-align: center;
  position: sticky !important;
  top: 125px;
  z-index: 999;
  height: 50px;
  box-sizing: border-box;
}

.announcement-ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}

.announcement-ticker-list li {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.5s ease-in-out; /* Fade transition */
  color: #ffffff;
}

.announcement-ticker-list li.is-visible {
  opacity: 1; /* Visible state */
}

/* --- Other Homepage Styles --- */

.vip-club-mobile {
  display: none;
}

.vip-club-btn-mobile {
  display: none;
}

.social-icons-mobile {
  display: none;
}

/* --- Mobile Styles for Announcement Bar --- */
@media (max-width: 900px) {
  .announcement-ticker-bar {
    /* UPDATED with your mobile header height */
    top: 104px;
    height: 40px; /* Make the bar a bit shorter on mobile */
    font-size: 14px; /* Make the text a bit smaller */
    line-height: 1.1;
  }
}

@media (max-width: 600px) {
  .oh-store-btn {
    margin-left: 10px;
    margin-right: 10px;
  }
  .vip-club-mobile {
    display: block;
  }
  .vip-club-desktop {
    display: none;
  }
  .vip-club-btn-mobile {
    display: block;
  }
  .social-icons-mobile {
    display: block;
  }
  .social-icons-desktop {
    display: none;
  }
  .nectar-carousel-flickity-fixed-content .nectar-carousel-fixed-content p {
    padding-bottom: 0px !important;
    margin-bottom: -20px;
  }
  .nectar-carousel-flickity-fixed-content .nectar-carousel-fixed-content {
    padding-right: 0px;
  }
  .best-of-imgs {
    width: 180px;
  }
}

.how-to-text p {
  color: #212c28 !important;
}
