/** Shopify CDN: Minification failed

Line 160:0 Unexpected "}"
Line 171:0 Unexpected "}"
Line 226:10 Expected identifier but found whitespace
Line 226:36 Unexpected "{"
Line 226:46 Expected ":"
Line 226:77 Expected ":"

**/
.mega-menu {
  position: static;
 
}

.mega-menu__content {
  background-color: rgb(var(--color-background));
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  left: 0;
  overflow-y: auto;
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: absolute;
  right: 0;
  
 
  
}

.shopify-section-header-sticky .mega-menu__content {
  max-height: calc(120vh - var(--header-bottom-position-desktop, 20rem) - 4rem);
}

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

.js .mega-menu__content {
  opacity: 0;
  transform: translateY(-1.5rem);

}

.mega-menu[open] .mega-menu__content {
  opacity: 1;
  
  
  
}

.mega-menu__list {
  display: grid;
  gap: 1.8rem 4rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.mega-menu__link {
  color: #000;
  display: block;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
  padding-bottom: 0.6rem;
  padding-top: 0.6rem;
  text-decoration: none;
  transition: text-decoration var(--duration-short) ease;
  word-wrap: break-word;
}

.mega-menu__link--level-2 {
  font-weight: bold;
}

.header--top-center .mega-menu__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0;
}

.header--top-center .mega-menu__list > li {
  width: 16%;
  padding-right: 1.4rem;
}

.mega-menu__link:hover,
.mega-menu__link--active {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
}

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

/* Zwei-Spalten-Darstellung für condensed Mega-Menü */
.mega-menu__list--condensed {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem 2rem;
  justify-content: center;
  
  
}


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













/* === Header-Inhalt breiter ======================= */
@media screen and (min-width: 990px) {
  .shopify-section-group-header-group header.header.page-width {
    max-width: 1680px !important;   /* gewünschte Breite */
    padding-left: 2rem !important;  /* etwas Innenabstand */
    padding-right: 2rem !important;
  }
}



@media screen and (min-width: 1090px) {
  /* Abstand zwischen Logo und Menü vergrößern */
  .header__inline-menu,
  .header__menu {
    margin-left: 5rem !important; /* Abstand anpassen */
  }
}




@media screen and (min-width: 990px) {
  .header__inline-menu ul {
    display: flex;
    gap: 1rem; /* Abstand zwischen Menülinks */
  }
}


  .header details.mega-menu[open] .mega-menu__list {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--page-width);
    width: 100%;
  }
}



  /* Inhalt im Vollbreiten-Menü schön einrasten lassen */
  .header details.mega-menu[open] .mega-menu__list {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--page-width);  /* oder 1400–1600px, je nach Wunsch */
    width: 100%;
  }
}






































/* Desktop: Header soll beim Scrollen NICHT schrumpfen */
@media (min-width: 990px){
  /* Padding festsetzen – auch im sticky/scrolled Zustand */
  
  .scrolled-past-header {
    padding-top: var(--vb-header-pad-top, 30px) !important;
    padding-bottom: var(--vb-header-pad-bottom, 20px) !important;
  }

  /* Logo-Größe fixieren – keine Verkleinerung im Sticky-State */
  .shopify-section-header-sticky .header__heading-logo-wrapper,
  .scrolled-past-header .header__heading-logo-wrapper{
    width: auto !important;
  }
  .shopify-section-header-sticky .header__heading-logo,
  .scrolled-past-header .header__heading-logo{
    width: /* deine Logo-Breite */ {{ settings.logo_width | default: 260 }}px !important;
    height: auto !important;
    transform: none !important;
  }

  /* Höhe nie animiert ändern (Dawn animiert height/opacity) */
  .shopify-section-header-sticky .header{
    transition: none !important;
  }

  /* Sicherheitsnetz: falls irgendwo eine feste Höhe reingedrückt wird */
  .header-wrapper,
  .header-wrapper .header{
    height: auto !important;
    min-height: auto !important;
  }
}












/* === Mega-Menü: Vollbreite-Hintergrund + zentrierte Inhalte (nur Desktop) === */
@media (min-width: 990px) {
  /* Mega-Menü aus dem page-width-Container „ausbrechen“ und zentrieren */
  .header details.mega-menu .mega-menu__content {
    position: absolute !important;      /* über dem normalen Flow */
    left: 50% !important;               /* Mitte des Viewports */
    right: auto !important;
    transform: translateX(-50%) !important; /* echte Zentrierung */
    width: 100vw !important;            /* Vollbreite */
    max-width: 100vw !important;
    padding-left: 3rem !important;      /* Innenabstände */
    padding-right: 3rem !important;
    z-index: 50;                         /* sicher vor dem Inhalt */
  }

  /* Inhalt (Link-Liste) wieder auf Seitenbreite „einrasten“ */
  .header details.mega-menu[open] .mega-menu__list {
    width: 100%;
    max-width: var(--page-width);       /* z. B. 1400–1680px im Theme */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Sicherheitsnetz gegen horizontales Scrollen durch 100vw + Scrollbar */
body { overflow-x: clip; }
