.mega-menu {
  position: static;
}
.header__menu-item .icon{
  margin-left: 0.5rem;
  width: 1rem;
}
.mega-menu__content {
  border-top: 1px solid rgba(var(--color-header-text) / 0.1);
  background-color: rgb(var(--color-header-background));
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  left: 0;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top:calc(100% - 1px);
}
.header--transparent .mega-menu__content {
  top:100%;
}

.shopify-section-header-sticky .mega-menu__content {
  max-height: calc(100vh - var(--header-height, 20rem) - 8rem);
}

/* .header-wrapper--border-bottom .mega-menu__content {
  border-top: 0;
}  */

.mega-menu__content {
  opacity: 0;
  transition: all .2s ease;
  visibility: hidden;
  pointer-events: none;
}


.list-menu__has-mega::before{
  position: absolute;
  height:calc(100% + 4px);
  top: 0;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: 0px;
  opacity: 0;
  content: attr(data-title);
}

.list-menu__has-mega:hover .mega-menu__content,.list-menu__has-mega:focus .mega-menu__content,.list-menu__has-mega:focus-within .mega-menu__content, .list-menu__has-mega:focus-visible .mega-menu__content , .list-menu__has-mega .header__menu-item:focus + .mega-menu__content, .list-menu__has-mega .header__menu-item:focus-visible + .mega-menu__content, .list-menu__has-mega .header__menu-item:focus-within + .mega-menu__content{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: all .3s ease;
  pointer-events: all;
}

@keyframes animation_fadeUp{
  0% {
      opacity: 0;
      transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.list-menu__has-mega:hover .menu__animation, .list-menu__has-mega .header__menu-item:focus + .mega-menu__content .menu__animation, .list-menu__has-mega .header__menu-item:focus-visible + .mega-menu__content .menu__animation, .list-menu__has-mega .header__menu-item:focus-within + .mega-menu__content .menu__animation{
  opacity: 0;
  animation: animation_fadeUp;
  animation-fill-mode: forwards;
  animation-duration: var(--animation-duration,0.4s);
}

.mega-menu__link {
  color: rgba(var(--color-header-text) / 1);
  display: inline-block;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
  padding:1rem 0;
  word-wrap: break-word;
}

.mega-menu__link--level-2 {
  font-weight: normal;
  font-size: .8em;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1rem;
  padding-top: 0;
  padding-bottom: 1.2rem;
  color:rgba(var(--color-header-text) / 0.7);
}


.mega-menu__link:hover{
  color: rgba(var(--color-header-link-hover) / 1);
}

.mega-menu__link--active:hover {
  text-decoration-thickness: 0.2rem;
}

.mega-menu .mega-menu__list--condensed {
  display: block;
}

.mega-menu__list--condensed .mega-menu__link {
  font-weight: normal;
}

.mega-menu__banner{
  flex: 0 0 var(--menu-banner-width, 50%);
  max-width: var(--menu-banner-width, 50%);
}
.mega-menu__border li{
  position: relative;
}
.mega-menu__border > li:not(:last-child){
  border-right: 1px solid rgba(var(--color-header-text) / 0.1);
  padding-right: 1rem;
}
.banner_overlay{
  background: var(--banner-overlay);
}
.mega-menu__banner--item-gallery .responsive-image{
  transition: transform var(--duration-medium) ease;
}
.mega-menu__banner--item-gallery:hover .responsive-image{
  transform: scale(1.05);
}