.visually-hidden,
.icon__fallback-text,
.no-js .lazyload,
.no-js .fade-in,
.no-js .hero .hero__image,
.no-js .product-item__image-container,
.no-js .product__photo--single,
.modern .shopify-name,
.no-js .article__featured-image-wrapper {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.shopify-section.header-section {
  z-index: 50;
  position: relative;
}

.shopify-section.shopify-section-header-sticky {
  /* position: sticky; */
  position: fixed;
  top: 0;
  width: 100%;
}

.shopify-section-header-hidden {
  transform: translateY(-100%);
}

.shopify-section-header-hidden.menu-open {
  transform: translateY(0);
}

#shopify-section-header.animate {
  transition: transform 0.15s ease-out;
}

.header-wrapper .links-bar {
  width: 100%;
  z-index: 11;
  position: relative;
}

.header-wrapper .links-bar .header__icon {
  height: 36px;
}

.header-wrapper .links-bar .bar-container .swiper-slide:not(.hidden) {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  justify-content: space-between;
}

.header-wrapper .links-bar.halloween-active{
  background: #FF7E2D;
  background-size: 100%;
}


@media screen and (min-width:1024px){
  .header-wrapper .links-bar.halloween-active{
  }

  .header-wrapper .links-bar .bar-container .swiper-slide:not(.hidden){
    justify-content: center;
  }
}

.site-header__inner {
  /* height: 60px; */
  z-index: 7;
  display: grid;
  grid-template-areas: "heading icons menu-icon";
  grid-template-columns: 3fr auto auto;
  align-items: center;
}

.site-header__inner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #000;
  bottom: 0;
  left: 0;
}

.shopify-section-header-sticky .site-header__inner::after{
  display: none; 
}

/* .page-index .site-header::after {
  display: none;
}

.page-index .site-header__inner{
  background-color: transparent;
}

.page-index .shopify-section-header-sticky .header-mask,
.page-index .site-header.nav-open .header-mask,
.page-index .section-header.menu-open .header-mask{
  background-color: #FFF;
  border-bottom: 1px solid rgba(0,0,0,0.18);
} */

.header__menu-drawer {
  justify-self: end;
  grid-area: menu-icon;
  z-index: 1;
}

.header__heading {
  margin: 0;
  line-height: 0;
  z-index: 1;
}

.header__heading,
.header__heading-link {
  grid-area: heading;
  justify-self: start;
}

.header__heading-link {
  display: inline-block;
  height: 100%;
  padding: 10px 0;
  text-decoration: none;
  word-break: break-word;
}

.header__inline-menu {
  margin-left: -1.2rem;
  grid-area: navigation;
  display: none;
}

.header__menu-item {
  padding: 0 1rem;
  /* line-height: 60px; */
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.header__menu-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #000;
  margin-top: -7px;
}

.header__inline-menu .list-menu--inline > li:last-child .header__menu-item::before {
  display: none;
}

.header__menu-item.gradientText a,
.drawer-nav__item.gradientText a.drawer-nav__link {
  background: radial-gradient(circle 70px at 0% 0%, #f5505f 5%, transparent), radial-gradient(circle 60px at 5% 5%, #ffb660 5%, transparent), radial-gradient(circle 160px at 10% 5%, #33a8b5 5%, transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.header__menu-item.greenText a,
.drawer-nav__item.greenText a.drawer-nav__link {
  font-weight: 500;
  color: #2C5D53;
}

.list-unstyled .header__menu-item {
  font-weight: normal;
}

.mega-menu {
  position: static;
  overflow: hidden;
}

.site-header .mega-menu[open]{
  overflow: visible;
}

.site-header.nav-open .header__menu-item {
  opacity: 0.5;
}

.site-header .mega-menu[open] .header__menu-item,
.site-header .header__menu-item:hover {
  opacity: 1;
  /* transform: scale(1.05); */
}

.mega-menu[open] .header__menu-item::after,
.header__menu-item:hover::after {
  content: '';
  position: absolute;
  width: calc(100% - 2rem);
  height: 1px;
  left: 1rem;
  bottom: -1px;
  background-color: #000;
  z-index: 8;
}

/* .page-index .mega-menu[open] .header__menu-item::after,
.page-index .header__menu-item:hover::after {
  bottom: 2px;
} */

/* #Details-HeaderMenu-1 .header__menu-item::after,
#Details-HeaderMenu-1 .header__menu-item:hover::after {
  display: none;
} */

/* .header__inline-menu .list-menu--inline>li .header__menu-item:hover::after,
.list-menu--inline>li>.header__menu-item:hover::after{
  width: calc(100% - 2.5rem);
  left: 1.25rem;
} */

.mega-menu__content {
  width: 100%;
  /* transform: translateY(calc(-100% - 96px)); */
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* z-index: -1; */
  z-index: 7;
  height: 0;
  overflow: hidden;
  /* opacity: 0; */
}

.mega-menu .mega-menu__content .mega-menu__list{
  opacity: 0;
}

.mega-menu__content--picture {
  padding: 0;
}

.mega-menu[open] .mega-menu__content {
  transition: all 0.5s cubic-bezier(0.4, 0, 1, 1);
  height: max-content;
  /* transform: translateY(0); */
  /* opacity: 1; */
}
.mega-menu[open] .mega-menu__content .mega-menu__list{
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
  opacity: 1;
}
/* .page-index .mega-menu__content{
  transform: translateY(0);
  opacity: 0;
  visibility: hidden;
}

.page-index .mega-menu[open] .mega-menu__content {
  opacity: 1;
  visibility: visible;
  z-index: 2;
} */

.mega-menu__content--picture > .mega-menu__list {
  padding: 0;
  max-width: unset;
  width: 100%;
}

.mega-menu__content--picture > .mega-menu__list > li {
  margin: 0;
  width: 100%;
}

.mega-menu__link {
  display: inline-block;
  word-wrap: break-word;
  position: relative;
  cursor: pointer;
}

.mega-menu__content--picture > .mega-menu__list > li > .mega-menu__link {
  display: block;
  padding: 0;
}

.mega-menu__list .childlink-nav > .mega-menu__link::after,
.mega-menu__list .childlink-nav > div.flex > .mega-menu__link::after,
.list-unstyled .mega-menu__link::after {
  content: '';
  width: 0;
  height: 1px;
  position: absolute;
  bottom: 0;
  background-color: #000;
  transition: all 0.3s ease;
  transform-origin: center;
  left: 50%;
  transform: translateX(-50%);
}

.mega-menu__list .childlink-nav .mega-menu__link + span.block{
  display: block;
  transform: rotate(-90deg);
}

.mega-menu__list .childlink-nav > .mega-menu__link:hover::after,
.mega-menu__list .childlink-nav > div.flex > .mega-menu__link:hover::after,
.mega-menu__list .childlink-nav.active > .mega-menu__link::after,
.mega-menu__list .childlink-nav.active > div.flex > .mega-menu__link::after,
.list-unstyled .mega-menu__link.mega-menu__link--active::after,
.list-unstyled .mega-menu__link:hover::after {
  width: 100%;
}

.mega-menu__list .childlink-nav.active .mega-menu__link + span.block{
  transform: none;
}

.list-unstyled .mega-menu__link:hover{
  color: #000;
}

.header__icons {
  display: flex;
  grid-area: icons;
  justify-self: end;
  align-items: center;
  /* z-index: 1; */
}


.global-lang:hover .global-lang-dropdown {
  display: block;
}

.global-lang:hover .flag-arrow{
  transform: rotate(-180deg);
}

.header__heading-logo {
  height: 16px;
  max-width: 126px;
}

.header__icon:not(.header__icon--summary),
.header__icon span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__icon,
.header__icon--cart .icon {
  z-index: 1;
}

.header__icon:not(.header__icon--summary).hidden,
.header__icon span.hidden {
  display: none;
}

@media screen and (min-width:1280px) {

  .header__icon:not(.header__icon--summary).lg\:block,
  .header__icon span.lg\:block {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* .cart-link__bubble {
  position: absolute;
  background-color: #000;
  color: #fff;
  height: 16px;
  width: 16px;
  border-radius: 100%;
  font-size: 12px;
  line-height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  right: -6px;
} */

.search-bar__table {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 62px;
}

.search-bar__table-cell {
  display: table-cell;
  vertical-align: middle;
}

.search-bar__form {
  width: 90%;
}

.search-bar__icon-cell {
  width: 40px;
}

.search-bar__icon-button {
  background: none;
  border: none;
  display: inline-block;
  color: #000;
  /* padding: 0 10px; */
  height: 52px;
}

.search-bar__icon-button .icon {
  font-size: 1.25em;
}

input[type=search],
input[type=search]:focus,
input[type=search]:focus-visible,
input[type=search]:-internal-autofill-selected {
  /* -webkit-appearance: none; */
  border: none;
  box-shadow: none;
  outline: none;
  background: none !important;
  background-color: transparent !important;
}

input[type=search]:autofill {
  background: transparent;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  /* font-family: inherit; */
  /* font-size: 100%; */
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  display: none;
}

input[type=search]::-ms-clear {
  display: none;
}

input[type=search]:-webkit-autofill,
input[type=search]:-webkit-autofill:hover,
input[type=search]:-webkit-autofill:focus,
input[type=search]:-webkit-autofill:active {
  transition: background-color 5000s;
}

.search-bar input[type=search]:-webkit-autofill,
.search-bar input[type=search]:-webkit-autofill:hover,
.search-bar input[type=search]:-webkit-autofill:focus,
.search-bar input[type=search]:-webkit-autofill:active {
  -webkit-text-fill-color: #000 !important;
}

.search-bar__input {
  background: none;
  border: none;
  color: #000;
  width: 100%;
  padding: 0 10px;
  height: 52px;
}

@media screen and (min-width: 1280px) {
  .list-menu--inline {
    display: inline-flex;
    flex-wrap: wrap;
  }

  .drawer-nav__has-sublist {
    border: none;
  }

  .site-header__inner {
    grid-template-areas: "heading navigation icons";
    grid-template-columns: 1.5fr auto 1.5fr;
  }

  /* .header__heading-link {
    margin-left: -0.75rem;
  } */

  .header__inline-menu {
    display: flex;
    justify-content: center;
    margin-left: 0;
  }
  /* .page-index .site-header .header__inline-menu{
    filter: invert(1);
  }

  .page-index .shopify-section-header-sticky .header__inline-menu,
  .page-index .site-header.nav-open .header__inline-menu{
    filter: unset;
  } */
}
/* .page-index .site-header .header__heading-link img,
.page-index .site-header .header__icons>a,
.page-index .site-header .header__icons .global-lang,
.page-index .site-header .header__icons .header__icon--menu,
.page-index .site-header .header__icons .header__icon--search{
  filter: invert(1);
}

.page-index .shopify-section-header-sticky .header__heading-link img,
.page-index .shopify-section-header-sticky .header__icons>a,
.page-index .shopify-section-header-sticky .header__icons .global-lang,
.page-index .shopify-section-header-sticky .header__icons .header__icon--menu,
.page-index .shopify-section-header-sticky .header__icons .header__icon--search,
.page-index .site-header.nav-open .header__heading-link img,
.page-index .site-header.nav-open .header__icons>a,
.page-index .site-header.nav-open .header__icons .global-lang,
.page-index .site-header.nav-open .header__icons .header__icon--menu,
.page-index .site-header.nav-open .header__icons .header__icon--search,
.page-index .section-header.menu-open .header__heading-link img,
.page-index .section-header.menu-open .header__icons>a,
.page-index .section-header.menu-open .header__icons .global-lang,
.page-index .section-header.menu-open .header__icons .header__icon--menu,
.page-index .section-header.menu-open .header__icons .header__icon--search{
  filter: unset;
} */

@media screen and (min-width: 1440px) {
  .header__menu-item {
    padding: 0 1.125rem;
  }

  /* .header__inline-menu .list-menu--inline > li:not(:first-child) > .mega-menu > .header__menu-item::before {
    left: -2rem;
  } */

  /* .header__inline-menu .list-menu--inline>li .header__menu-item:hover::after,
  .list-menu--inline>li>.header__menu-item:hover::after{
    width: calc(100% - 4rem);
    left: 2rem;
  } */

  .site-header__inner {
    grid-template-columns: 1fr 3fr 1fr;
  }
}

@media screen and (min-width:1920px) {
  .header__menu-item {
    padding: 0 1.25rem;
  }
}
