.m-mega-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  max-height: calc(100vh - var(--header-height));
  overflow: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  text-align: left;
  background-color: rgb(var(--color-background));
  transition: opacity 0.3s ease-in-out;
}
.m-mega-nav__inner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.m-mega-nav__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.m-mega-nav__links-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}
.m-mega-nav__images-wrapper {
  width: max-content;
  flex-wrap: nowrap;
  display: flex;
  gap: var(--layout-row-grid-gap) var(--layout-column-grid-gap);
}
.m-mega-nav__images-wrapper .m-mega-nav__item {
  width: 100%;
}
.m-mega-nav__images-wrapper .m-mega-nav__item--sm {
  width: 40rem;
  max-width: 30rem;
}
@media screen and (min-width: 1250px) {
  .m-mega-nav__images-wrapper .m-mega-nav__item--sm {
    max-width: 40rem;
  }
}
.m-mega-nav__images-wrapper .m-mega-nav__item--lg {
  max-width: 50rem;
  width: 65rem;
}
@media screen and (min-width: 1250px) {
  .m-mega-nav__images-wrapper .m-mega-nav__item--lg {
    max-width: 65rem;
  }
}
.m-mega-nav__images-wrapper .m-mega-nav__item:last-of-type {
  padding-right: 0;
}
.m-mega-nav__item {
  min-width: 15rem;
}
@media screen and (min-width: 1250px) {
  .m-mega-nav__item {
    min-width: 20rem;
  }
}
.m-mega-nav__item a {
  text-decoration: none;
  font-size: var(--nav-fs);
  line-height: var(--nav-lh);
  color: rgb(var(--color-text));
  display: inline-block;
  transition: color var(--default-transition-easing) var(--default-transition-timing);
}
.m-mega-nav__item a:hover {
  color: rgb(var(--color-button));
}
.m-mega-nav__item a.m-mega-nav__link--active, .m-mega-nav__item a.m-mega-nav__sub-link--active {
  color: rgb(var(--color-button));
}
.m-mega-nav__link {
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.m-mega-nav__sub-link {
  letter-spacing: 0.15rem;
}
.m-mega-nav__sublinks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.m-mega-nav__media img {
  max-width: 100%;
  height: auto;
}
.m-mega-nav__media .m-mega-nav__media-title {
  margin-top: 2.2rem;
}
