body {
  background: #F2F2F2;
}

footer.mt-5 {
  margin-top: 0px !important;
}

header.mb--70 {
  margin-bottom: 0px !important;
}

.breadcrumbs-container {
  display: none;
}

.splide .splide__slide {
  min-height: auto !important;
  margin-bottom: 0px;
  padding-bottom: 20px;
}

footer {
  margin-top: 0px !important;
}

.text-shadow-heading {
  text-shadow: 5px 8px 5.8px #00000040;
}

.font-manrope {
  font-family: "Manrope", sans-serif;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.lp-promo-button {
  display: none;
}

#offersSlider,
#ultimaSansa .offers-section {
  overflow-x: hidden;
}

#offersSlider .splide__pagination,
#offersUltimaSansa .splide__pagination {
  bottom: -15px !important;
  gap: 12px !important;
  row-gap: 1px !important;
}

#expiredOffersSlider .splide__pagination {
  bottom: -50px;
  gap: 12px;
  row-gap: 1px;
}


#offersSlider .splide__pagination li,
#offersUltimaSansa .splide__pagination li,
#expiredOffersSlider .splide__pagination li {
  padding-left: 0px;
  margin-right: 0px;
}

#offersSlider .splide__pagination .splide__pagination__page,
#offersUltimaSansa .splide__pagination .splide__pagination__page,
#expiredOffersSlider .splide__pagination .splide__pagination__page {
  width: 21px;
  height: 8px;
  border-radius: 100px;
  background: #191919;
}

#offersSlider .splide__pagination .splide__pagination__page.is-active,
#offersUltimaSansa .splide__pagination .splide__pagination__page.is-active,
#expiredOffersSlider .splide__pagination .splide__pagination__page.is-active {
  transform: none !important;
  background: #FFBB00;
  opacity: 1;
}
#offersSlider .splide__pagination .splide__pagination__page,
#offersUltimaSansa .splide__pagination .splide__pagination__page,
#expiredOffersSlider .splide__pagination .splide__pagination__page {
  background: #F2F2F2;
  opacity: 1;
}

#offersSlider .splide__pagination,
#offersUltimaSansa .splide__pagination,
#expiredOffersSlider .splide__pagination {
  padding: 0px 1em;
}

#oferteDeSezon #offersSlider .splide__pagination .splide__pagination__page.is-active {
  background: #FFBB00;
}
#oferteDeSezon #offersSlider .splide__pagination .splide__pagination__page {
  background: #429F5152;
}

.splide__arrow {
  opacity: 1;
}
.splide__arrow:disabled {
  opacity: 0;
}

#offersSlider .splide__arrow--prev,
#offersUltimaSansa .splide__arrow--prev,
#expiredOffersSlider .splide__arrow--prev {
  left: -4em;
}

#offersSlider .splide__arrow--next,
#offersUltimaSansa .splide__arrow--next,
#expiredOffersSlider .splide__arrow--next {
  right: -4em;
}

#offersSlider .splide__arrow--next,
#offersSlider .splide__arrow--prev,
#offersUltimaSansa .splide__arrow--next,
#offersUltimaSansa .splide__arrow--prev,
#expiredOffersSlider .splide__arrow--next,
#expiredOffersSlider .splide__arrow--prev {
  background: #F2F2F2;
}

#offersSlider .splide__arrow svg,
#offersUltimaSansa .splide__arrow svg,
#expiredOffersSlider .splide__arrow svg {
  fill: #2B25BC;
}

@media screen and (min-width: 1280px) {
  #offersSlider .splide__pagination,
  #offersUltimaSansa .splide__pagination,
  #expiredOffersSlider .splide__pagination {
    bottom: -35px;
  }
}

.offer-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.9);
  color: #F1F4FF;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.3;
  padding: 8px 10px;
  border-radius: 6px;
  max-width: 240px;
  z-index: 50;
  white-space: normal;
}

.offer-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 8px;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.offer-tooltip-hidden {
  display: none;
}

/* LP Limited Offers v1.2 */
main {
  margin-top: 20px;
}

.bg-gradient-1 {
  background: linear-gradient(180deg, #120981 0%, #413DEE 100%);
}

.bg-gradient-2 {
  background: linear-gradient(0deg, #413DEE, #413DEE),
linear-gradient(180deg, #120981 0%, #413DEE 100%);
}

.offers-section {
  padding: 24px 12px;
}

.offers-section.slider {
  padding-bottom: 48px;
}

.section-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 6px;
}

.section-description {
  margin-bottom: 0px;
  color: #fff;
}

.style_1_cta,
.style_1_cta .btn {
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.style_1_cta:hover {
  text-decoration: none;
  color: inherit;
}

.js-copy-btn {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: #E99D0E;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.js-copy-btn:hover,
.js-copy-btn:active {
  background: #C37601;
  transition: all .3s ease-in-out;
}

#offersSlider .splide__track,
#offersUltimaSansa .splide__track {
  overflow: visible;
}

.ofertele-lunii {
  background: linear-gradient(289.19deg, rgba(37, 35, 136, 0.88) 21.04%, rgba(65, 61, 238, 0.88) 97.19%),
  linear-gradient(289.19deg, rgba(37, 35, 136, 0.78) 21.04%, rgba(23, 30, 125, 0.78) 97.19%);
}

.oferte-de-sezon {
  border-radius: 32px;
  border: 2px solid #06891C
}

.bg-offers-gray {
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.bg-offers-gray .section-title,
.bg-offers-gray .section-description {
  color: #232323;
}

#offersSlider.bg-offers-gray .splide__pagination .splide__pagination__page,
#offersUltimaSansa.bg-offers-gray .splide__pagination .splide__pagination__page {
  background: #3232321F;
}
#offersSlider.bg-offers-gray .splide__pagination .splide__pagination__page.is-active,
#offersUltimaSansa.bg-offers-gray .splide__pagination .splide__pagination__page.is-active {
  background: #E99D0E;
}
#offersSlider.bg-offers-gray .splide__arrow--next,
#offersSlider.bg-offers-gray .splide__arrow--prev,
#offersUltimaSansa.bg-offers-gray .splide__arrow--next,
#offersUltimaSansa.bg-offers-gray .splide__arrow--prev {
  background: #3232321F;
}

/* Ensure pagination is hidden if Splide adds the 'is-hidden' class */
.splide__pagination.is-hidden {
    display: none !important;
}

/* Base style (ensures it doesn't 'flash' on load before JS kicks in) */
.splide__pagination {
    display: none; /* JS will turn this to 'inline-flex' if needed */
}

/* 1. Limit the container width to show roughly 3-5 dots */
#offersSlider .splide__pagination,
#offersUltimaSansa .splide__pagination {
    display: inline-flex;
    flex-wrap: nowrap !important;
    width: 120px; /* Adjust this width to show exactly 3 or 5 dots */
    overflow: hidden; /* Hide the dots that aren't 'current' */
    transition: transform 0.3s ease;
    gap: 8px !important;
    justify-content: flex-start; /* Required for the sliding math */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 2. Make sure the list items don't shrink */
#offersSlider .splide__pagination li,
#offersUltimaSansa .splide__pagination li {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

/* 3. The Magic: Use smooth scroll behavior to keep the active dot centered */
#offersSlider .splide__pagination,
#offersUltimaSansa .splide__pagination {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

#offersSlider .splide__pagination li,
#offersUltimaSansa .splide__pagination li {
    scroll-snap-align: center;
}

/* Mobile: Fix to top */
#stickyTabs.is-fixed {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #047116;
  padding-top: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 10; 
}

#stickyTabs.is-fixed {
  padding-left: 72px;
}

body.logged-in #stickyTabs.is-fixed {
  top: 106px;
}
body.logged-in #secondaryMenu {
  top: 118px !important;
}

/* Desktop: Fix the whole sidebar content */
@media (min-width: 1280px) {
  .section-content.is-fixed-desktop {
    position: fixed;
    top: 0px;
    width: 100%;
    background: #21218D;
    z-index: 10;
    max-width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    padding-top: 20px;
  }

  .section-content.is-fixed-desktop .section-description {
    max-width: 586px;
  }

  #stickyTabs.is-fixed {
    top: 0px;
  }

  body.logged-in #stickyTabs.is-fixed {
    top: 30px;
  }
}

.menu-icon-ctn {
  background: linear-gradient(279.56deg, #047116 3.69%, #06891C 99.18%);
}

.menu-item:hover {
  background: linear-gradient(279.56deg, #035310 3.69%, #047116 99.18%);
}

#secondaryMenu .menu-item {
  background: linear-gradient(279.56deg, #047116 3.69%, #06891C 99.18%);
  border: 1px solid #06891C;
}

.menu-item-7 img {
  max-width: 24px;
}
.menu-item-7 img {
  max-width: 26px;
}
.menu-item.is-active {
  background: linear-gradient(280.82deg, #047116 0%, #06891C 96.53%);
  border: 1px solid #FFBB007A;
  box-shadow: 0px 3px 9.6px 0px #FFBB00 inset;
}

/* State: Open */

#secondaryMenu .menu-label,
#secondaryMenu .menu-content {
  display: none;
}

#secondaryMenu.is-open .menu-label {
    display: block;
    opacity: 1;
    visibility: visible !important;
    max-width: 100px;
}

#secondaryMenu.is-open .menu-content {
    display: block;
    opacity: 1;
    visibility: visible !important;
    height: auto;
    overflow: visible;
}

#secondaryMenu.is-open .menu-item {
  min-width: 183px;
}

#ultimaSansa .offers-section {
  background: linear-gradient(280.82deg, #047116 0%, #06891C 96.53%);
  border-radius: 32px;
}
#oferteleLunii .offers-section {
  background: #047116;
  border-radius: 32px;
}
#expirate .offers-section {
  background: #047116;
  box-shadow: 0px 17px 32px 0px #00000052;
  backdrop-filter: blur(12px);
  box-shadow: 0px 4px 19.2px 0px #032B09 inset;
  border-radius: 32px;
}

#stickyTabs .js-tab {
  border-radius: 24px;
  background: #429F51;
  color: #FFFFFF;
}

#stickyTabs .js-tab.active {
  background: #FFFFFF;
  color: #06891C;
}

#loadMoreBtn:hover {
  background: #429F51 !important;
}

#offersUltimaSansa .splide__pagination {
  bottom: -15px !important;
}

@media screen and (min-width: 768px) {
  #offersSlider .splide__track,
  #offersUltimaSansa .splide__track {
    overflow: hidden;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  #offersSlider .splide__track,
  #offersUltimaSansa .splide__track {
    padding-top: 20px;
  }
}

@media screen and (min-width: 1200px) {
  main {
    margin-top: 0px;
  }
}

@media screen and (min-width: 1280px) {
  .section-title {
    font-size: 24px;
  }

  .ofertele-lunii {
    background: linear-gradient(289.19deg, #252388 21.04%, #171E7D 97.19%);
  }

  #secondaryMenu.is-open .menu-item-label {
    display: block !important;
  }

  body.logged-in #secondaryMenu {
    top: 218px !important;
  }
}
