/* Kategorie-Leiste im Kopf, dauerhaft (Inhaber 01.12.2026: „die Leiste während der Black Week war viel besser“).
 * Übernommen aus black-week.css (Vorbild meine-paneele.de), Farben jetzt Bordeaux der normalen Website. */


.alsaed-catmenu #masthead .main-header-menu .menu-item.alsaed-bw-menu-wa { display: none; }

@media (min-width: 922px) {
  .alsaed-catmenu #masthead :is(#ast-desktop-header .main-header-bar, #ast-desktop-header .ast-primary-header-bar) {
    background: #fff !important; border-bottom: 1px solid #e6e6e6 !important;
  }
  .alsaed-catmenu #ast-desktop-header .site-primary-header-wrap { max-width: 1440px; padding-inline: clamp(16px, 3vw, 48px); }
  .alsaed-catmenu #ast-desktop-header .ast-builder-grid-row { display: flex !important; align-items: center; gap: 24px; }
  .alsaed-catmenu #ast-desktop-header .site-header-primary-section-left { flex: 0 0 auto; }
  .alsaed-catmenu #ast-desktop-header .site-header-primary-section-right { flex: 1 1 auto; min-width: 0; justify-content: stretch; }
  .alsaed-catmenu #ast-desktop-header :is(.ast-builder-menu-1, .ast-main-header-bar-alignment, .main-header-bar-navigation, .site-navigation, .main-navigation) { width: 100%; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu { width: 100%; justify-content: center; align-items: center; flex-wrap: nowrap; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item:first-child { margin-left: auto; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    color: #2b2b2b !important; font-family: Jost, sans-serif !important; font-size: 16px !important; font-weight: 400 !important;
    text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important;
    padding: 0 12px !important; line-height: 76px !important; white-space: nowrap; border: 0 !important;
  }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item:is(:hover, :focus-within, .current-menu-item, .current-menu-parent, .current-menu-ancestor) > .menu-link {
    color: var(--alsaed-brand, #74283f) !important; box-shadow: inset 0 -3px 0 var(--alsaed-brand, #74283f);
  }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .dropdown-menu-toggle { display: inline-flex !important; align-items: center; margin: 0 0 0 6px !important; padding: 0 !important; border: 0 !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .dropdown-menu-toggle .ast-icon { display: inline-flex; width: 11px !important; height: 7px; padding: 0 !important; line-height: 0; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .dropdown-menu-toggle svg { width: 11px !important; height: 7px !important; margin: 0 !important; fill: currentColor; transition: transform .2s; }
  .alsaed-catmenu #ast-desktop-header .menu-item:is(:hover, :focus-within) > .menu-link .dropdown-menu-toggle svg { transform: rotate(180deg); }
  /* Ausklappmenü */
  .alsaed-catmenu #ast-desktop-header .main-header-menu .sub-menu {
    background: #fff !important; border: 1px solid #e6e6e6 !important; border-top: 3px solid var(--alsaed-brand, #74283f) !important;
    box-shadow: 0 14px 30px rgb(0 0 0 / 10%); min-width: 230px; padding: 8px 0;
  }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .sub-menu .menu-link {
    color: #2b2b2b !important; font: 400 15px/1.4 Jost, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
    padding: 10px 20px !important; border: 0 !important;
  }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .sub-menu .menu-link .ast-icon { display: none !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .sub-menu .menu-item:is(:hover, .current-menu-item) > .menu-link { color: var(--alsaed-brand, #74283f) !important; background: #f6f6f6 !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .sub-menu .alsaed-bw-menu-all > .menu-link { font-weight: 600 !important; }
  /* Rechts: WhatsApp (statt Warenkorb) */
  .alsaed-catmenu #ast-desktop-header .main-header-menu .menu-item.alsaed-bw-menu-wa { display: block; margin-left: auto; padding-left: 16px; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item.alsaed-bw-menu-wa > .menu-link {
    display: inline-flex !important; align-items: center; gap: 8px; line-height: 1 !important; padding: 10px 16px !important;
    border: 1px solid #d0d0d0 !important; border-radius: 999px; font-weight: 500 !important; box-shadow: none !important;
  }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item.alsaed-bw-menu-wa > .menu-link:hover { border-color: var(--alsaed-brand, #74283f) !important; color: var(--alsaed-brand, #74283f) !important; }
}
/* Breite Desktops: mit „Raumideen“ (26.11.2026) passt die Leiste nur mit etwas engeren Abständen neben das Logo. */
@media (min-width: 1440px) {
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding: 0 11px !important; font-size: 15px !important; }
  /* Inhaber 26.11.: Logo etwas weiter nach links */
  .alsaed-catmenu #ast-desktop-header .site-primary-header-wrap { padding-inline: 4px !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .menu-item.alsaed-bw-menu-wa { padding-left: 8px; }
}
/* Ab 1440 px nur das WhatsApp-Symbol (Name bleibt per aria-label), damit Logo und Menü Luft haben. */
@media (min-width: 1440px) {
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item.alsaed-bw-menu-wa > .menu-link { padding: 10px 12px !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item.alsaed-bw-menu-wa > .menu-link span { display: none; }
}
/* Schmale Desktops: Logo oben, Kategorien darunter in einer Zeile (bis 1439 px, sonst überdeckt das Menü das Logo). */
@media (min-width: 922px) and (max-width: 1439px) {
  .alsaed-catmenu #ast-desktop-header .ast-builder-grid-row { flex-direction: column; gap: 0; padding-top: 14px; }
  .alsaed-catmenu #ast-desktop-header .site-header-section { height: auto !important; flex: 0 0 auto !important; }
  .alsaed-catmenu #ast-desktop-header .site-header-primary-section-right { width: 100%; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item > .menu-link { line-height: 56px !important; padding: 0 11px !important; font-size: 15px !important; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu .menu-item.alsaed-bw-menu-wa { display: none; }
  .alsaed-catmenu #ast-desktop-header .main-header-menu > .menu-item:first-child { margin-left: 0; }
}
@media (max-width: 921px) {
  .alsaed-catmenu #masthead .ast-builder-menu-mobile .main-header-menu .menu-link { text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; }
  .alsaed-catmenu #masthead .ast-builder-menu-mobile .main-header-menu .sub-menu .menu-link { font-size: 15px !important; padding-left: 32px !important; }
}
