.sticky-anchor-nav-module {
  position: relative;
  width: 100%;
  z-index: 30;
}

.sticky-anchor-nav-module__placeholder {
  display: none;
  width: 100%;
  height: 0;
}

.sticky-anchor-nav-module__bar {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: var(--bg-color);
}

.sticky-anchor-nav-module.has-border .sticky-anchor-nav-module__bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sticky-anchor-nav-module.is-fixed .sticky-anchor-nav-module__placeholder {
  display: block;
}

.sticky-anchor-nav-module.is-fixed .sticky-anchor-nav-module__bar {
  position: fixed;
  top: var(--sticky-offset);
  left: 0;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  width: 100vw;
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sticky-anchor-nav-module__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #f9f9f9;
  overflow: hidden;
  z-index: 2;
}

.sticky-anchor-nav-module__progress-fill {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--progress-color);
  transition: width 0.12s linear;
}

.sticky-anchor-nav-module__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sticky-anchor-nav-module__nav-wrap {
  position: relative;
  width: 100%;
}

.sticky-anchor-nav-module__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  padding: 22px 0 18px;
  box-sizing: border-box;
}

.sticky-anchor-nav-module__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

.sticky-anchor-nav-module__link:hover,
.sticky-anchor-nav-module__link.is-active {
  color: var(--active-color);
}

.sticky-anchor-nav-module__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  height: 2px;
  background: var(--active-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sticky-anchor-nav-module__link:hover::after,
.sticky-anchor-nav-module__link.is-active::after {
  transform: scaleX(1);
}

.sticky-anchor-nav-module.has-horizontal-scroll .sticky-anchor-nav-module__nav-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sticky-anchor-nav-module.has-horizontal-scroll .sticky-anchor-nav-module__nav-wrap::-webkit-scrollbar {
  display: none;
}

.sticky-anchor-nav-module.has-horizontal-scroll .sticky-anchor-nav-module__nav {
  flex-wrap: nowrap;
  padding-left: 56px;
  padding-right: 56px;
  box-sizing: border-box;
}
.sticky-anchor-nav-module.has-horizontal-scroll.is-overflowing .sticky-anchor-nav-module__nav {
  justify-content: flex-start;
}

.sticky-anchor-nav-module__nav-wrap::before,
.sticky-anchor-nav-module__nav-wrap::after {
  display: none !important;
}
/* REMOVE fades completely */
.sticky-anchor-nav-module__nav-wrap::before,
.sticky-anchor-nav-module__nav-wrap::after {
  content: none;
}

.sticky-anchor-nav-module__nav-wrap::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg-color) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.sticky-anchor-nav-module__nav-wrap::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg-color) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.sticky-anchor-nav-module.has-horizontal-scroll.has-left-fade .sticky-anchor-nav-module__nav-wrap::before {
  opacity: 1;
}

.sticky-anchor-nav-module.has-horizontal-scroll.has-right-fade .sticky-anchor-nav-module__nav-wrap::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .sticky-anchor-nav-module.is-fixed .sticky-anchor-nav-module__bar {
    top: 0;
  }

  @media (max-width: 767px) {
  .sticky-anchor-nav-module.has-horizontal-scroll .sticky-anchor-nav-module__nav {
    justify-content: flex-start;
    gap: 20px;
    padding: 18px 40px 14px;
  }
}

@media (max-width: 767px) {
  .sticky-anchor-nav-module__container {
    padding: 0 16px;
  }

  .sticky-anchor-nav-module__nav {
    justify-content: flex-start;
    gap: 20px;
    padding: 18px 0 14px;
  }

  .sticky-anchor-nav-module__nav-wrap::before,
  .sticky-anchor-nav-module__nav-wrap::after {
    width: 24px;
  }

  .sticky-anchor-nav-module__link::after {
    bottom: -14px;
  }
}