/* ===========================
   Pandoz: Header, Suche, Cart
   =========================== */

.pandoz-header,
.pandoz-mainheader {
  z-index: 1030;          /* über Content, unter Offcanvas */
  background-color: #fff;
}

/* Topbar (nur Desktop sichtbar) */
.topbar { font-size: 13px; color: #666; }
.topbar a { color: inherit; }
.topbar a:hover { text-decoration: underline; }

/* Suche */
.pz-search { width: 100%; }
.pz-search-input {
  height: 46px;
  padding-left: 14px;
  border-radius: 9999px 0 0 9999px;
}
.pz-search-select {
  max-width: 220px;
  border-right: 0;
  border-radius: 9999px 0 0 9999px;
}
.pz-search-btn {
  height: 46px;
  border: 0;
  color: #fff;
  background: #6717C6;
  border-radius: 0 9999px 9999px 0;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 500;
}
.pz-search-btn:hover { filter: brightness(.95); }
.pz-search-input:focus,
.pz-search-select:focus {
  box-shadow: 0 0 0 .2rem rgba(103,23,198,.15);
  border-color: #cdb3f1;
}

/* Mobile Suche */
#pzMobileSearch .form-control { border-radius: 9999px 0 0 9999px; }
#pzMobileSearch .pz-search-btn { border-radius: 0 9999px 9999px 0; }

/* Header Buttons */
.btn-dark,
.btn-outline-secondary { border-radius: 9999px; }
.btn-dark { background-color: #000; border: none; }
.btn-dark:hover { background-color: #222; }

/* Account-Dropdown Trigger */
.header-actions .dropdown-toggle { font-weight: 500; cursor: pointer; }
.header-actions .dropdown-toggle .text-dark,
.header-actions .dropdown-toggle .text-primary { font-weight: 500; }

/* Cart */
.cart-link {
  display: flex; align-items: center; gap: .25rem;
  padding: .375rem; border-radius: 9999px; position: relative;
}
.cart-link:hover { background: #f5f6f8; }
.cart-link .cart-badge{
  position: absolute; top: 0; right: 0; transform: translate(30%,-30%);
  background: #f7c800; color: #111; font-weight: 600; font-size: 11px;
  line-height: 1; padding: .25rem .35rem; border: 1px solid #fff; border-radius: 9999px;
}

/* Logo */
.pandoz-logo { height: 48px; max-height: 56px; width: auto; }

/* Mobile: Tools-Link ausblenden (steht im Dropdown) */
@media (max-width: 991.98px){
  .header-actions .link-primary { display: none !important; }
}

/* ===========================
   Kategorieleiste + Mega „Alle“
   =========================== */

.pz-cats { z-index: 1030; position: relative; overflow: visible; }

.pz-cats--purple { background:#6717C6; color:#fff; border:0; }
.pz-cats--purple .nav-link { color:#fff; opacity:.95; }
.pz-cats--purple .nav-link:hover,
.pz-cats--purple .nav-item.dropdown:hover > .nav-link{
  background: rgba(255,255,255,.12); color:#fff; text-decoration:none;
}

/* Menü: einzeilig, keine Umbrüche */
.pz-cats-menu{
  display:flex; flex-wrap:nowrap; overflow:visible; gap:.25rem; padding:.5rem 0;
}
.pz-cats-menu > li { flex: 0 0 auto; }
.pz-cats-menu .nav-link{ white-space:nowrap; padding:.5rem .75rem; border-radius:9999px; font-weight:500; }

/* Mega „Alle“: Position & Breite */
.pz-cats .dropdown { position: relative; }
.pz-cats .dropdown.pz-cat-all > .dropdown-mega.pz-mega{
  position:absolute; left:0 !important; right:auto !important; top:100%;
  margin-top:10px; transform:none !important; z-index:1055;
  width:640px; max-width:min(96vw, 720px);
}
/* Optionale Spaltentrenner neutralisieren */
.mega-col-single, .mega-col-left, .mega-col-right { border:0 !important; }

/* Sichtbarkeit (Hover/Klick) */
.pz-cats .dropdown .dropdown-menu { display: none; }
.pz-cats .dropdown .dropdown-menu.show { display: block; }

/* Hover erst aktivieren, wenn Seite interaktiv ist */
@media (min-width: 992px){
  html.hover-ready .pz-cats .dropdown:hover > .dropdown-menu {
    display: block;
  }
  html.hover-ready .pz-cats .dropdown .dropdown-menu::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-10px;
    height:10px;
  }
}

/* Progressive Anzeigeanzahl der Kategorien */
@media (max-width: 767.98px){ .pz-cats-menu > li:nth-child(n+4){ display:none; } }
@media (min-width: 768px) and (max-width: 991.98px){ .pz-cats-menu > li:nth-child(n+5){ display:none; } }
@media (min-width: 992px) and (max-width: 1199.98px){ .pz-cats-menu > li:nth-child(n+6){ display:none; } }
@media (min-width: 1200px) and (max-width: 1399.98px){ .pz-cats-menu > li:nth-child(n+7){ display:none; } }
@media (min-width: 1400px) and (max-width: 1699.98px){ .pz-cats-menu > li:nth-child(n+9){ display:none; } }
@media (min-width: 1700px){
  .d-3xl-inline-block{ display:inline-block !important; }
}
@media (max-width: 1699.98px){
  .d-3xl-inline-block{ display:none !important; }
}

/* ===========================
   Account-Dropdown 
   =========================== */

/* Trigger: größerer Hitbereich + dezenter Hover */
.header-actions .pz-account > .dropdown-toggle{
  display:flex; align-items:center; padding:6px 10px; border-radius:6px; white-space:nowrap;
}
.header-actions .pz-account > .dropdown-toggle:hover{
  background: rgba(17, 24, 39, .06); text-decoration:none;
}

/* Box: starr, rechts am Trigger, 2 feste Spalten */
.header-actions .pz-account { position: relative; z-index: 1060; }
.header-actions .pz-account .dropdown-mega{
  position:absolute; top:100%; right:0; left:auto; margin-top:10px;
  width:560px; min-width:560px; max-width:560px;   /* starre Breite (Desktop) */
  padding:14px 16px; border-radius:14px; border:1px solid #e5e7eb; background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06); box-sizing:border-box;
}

.header-actions .pz-account .mega-body{
  display:grid; grid-template-columns:260px 260px; column-gap:16px; align-items:start;
}
.header-actions .pz-account .mega-col-left{ padding-right:16px; border-right:1px solid #e5e7eb; }
.header-actions .pz-account .mega-col-right{ padding-left:16px; }

/* Typo im Dropdown */
.header-actions .pz-account .mega-title{
  font-size:15px; font-weight:700; margin:0 0 8px 0; color:#111;
}
.header-actions .pz-account .mega-subtitle{
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color:#6b7280; margin:8px 0 6px; position:relative;
}
.header-actions .pz-account .mega-subtitle::after{
  content:""; display:block; height:1px; background:#e5e7eb; margin-top:6px;
}
.header-actions .pz-account .mega-list{ margin:0; padding:0; list-style:none; }
.header-actions .pz-account .mega-list li + li{ margin-top:4px; }
.header-actions .pz-account .mega-list a{
  display:block; font-size:14px; line-height:1.35; padding:2px 0;
  color:#111; text-decoration:none; white-space:normal;  /* Wrap nur wenn nötig */
}
.header-actions .pz-account .mega-list a:hover{ text-decoration: underline; }

/* CTA-Zone kompakt */
.header-actions .pz-account .mega-sep{
  border:0; border-top:1px solid #e5e7eb; opacity:1; margin:12px 0;
}
.header-actions .pz-account .btn{ border-radius:9999px; height:42px; }

/* Mobile/Tablet: volle Breite + stacked */
@media (max-width: 991.98px){
  .header-actions .pz-account .dropdown-mega{
    right:0; left:0; margin:8px auto 0; width:min(94vw,560px); min-width:0; max-width:94vw;
  }
  .header-actions .pz-account .mega-body{ display:block; }
  .header-actions .pz-account .mega-col-left{ border-right:0; padding-right:0; }
  .header-actions .pz-account .mega-col-right{ padding-left:0; margin-top:12px; }
}

/* ===========================
   Hero/Slider – stabilisieren
   =========================== */

.pz-hero, .home-hero, .section-hero {
  --heroMinH: 320px; --heroPref: 38vw; --heroMaxH: 560px;
  position: relative;
  height: clamp(var(--heroMinH), var(--heroPref), var(--heroMaxH));
  max-height: var(--heroMaxH);
  overflow: hidden;
  border-radius: 16px;
}
.pz-hero > .slick-slider,
.pz-hero > .swiper,
.pz-hero > .swiper-container { height: 100%; }

/* Slick/Swiper Höhen */
.pz-hero .slick-list, .pz-hero .slick-track, .pz-hero .slick-slide { height: 100%; }
.pz-hero .swiper-wrapper, .pz-hero .swiper-slide { height: 100%; }

/* Bilder korrekt einpassen */
.pz-hero img, .home-hero img, .section-hero img,
.landing-slider img, .swiper-slide img, .slick-slide img,
.carousel-item img, .owl-carousel .item img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important; display: block !important;
}

/* Typographie im Hero */
.pz-hero h1, .pz-hero .hero-title{
  margin:0; line-height:1.05; font-weight:800; font-size:clamp(28px, 4.2vw, 56px); letter-spacing:-0.02em;
}
.pz-hero h2, .pz-hero .hero-subtitle{
  margin:.15em 0 0; line-height:1.15; font-weight:700; font-size:clamp(18px, 2.4vw, 28px); opacity:.95;
}
.pz-hero .hero-actions{ margin-top:clamp(8px, 1.5vw, 18px); display:flex; gap:12px; flex-wrap:wrap; }

/* Root-Font neutralisieren (falls woanders vw-basiert) */
html { font-size: 16px; }

/* große/kleine Viewports: Höhe feinjustieren */
:root { --pz-hero-h: clamp(340px, 44vw, 520px); }
@media (min-width: 1700px){ :root { --pz-hero-h: 600px; } }
@media (max-width: 640px){ :root { --pz-hero-h: clamp(260px, 56vh, 420px); } }
.landing-slider, .landing-slider .slick-list, .landing-slider .slick-track,
.landing-slider .slick-slide, .swiper, .swiper-container, .swiper-wrapper,
.swiper-slide, .carousel, .carousel-inner, .carousel-item,
.owl-carousel, .owl-carousel .owl-stage-outer, .owl-carousel .owl-stage{
  height: var(--pz-hero-h) !important;
  max-height: var(--pz-hero-h) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
/* Ratio/Embed-Hacks neutralisieren */
.pz-hero .ratio, .landing-slider .ratio,
.pz-hero .embed-responsive, .landing-slider .embed-responsive{
  padding-top: 0 !important; height: 100% !important;
}
.slick-initialized .slick-list, .slick-initialized .slick-track, .slick-initialized .slick-slide{ height:100% !important; }
.swiper-initialized, .swiper-initialized .swiper-wrapper, .swiper-initialized .swiper-slide{ height:100% !important; }

/* Positionierung am Trigger (rechts bündig) */
.header-actions .pz-account .pz-account-menu{
  position:absolute; top:100%; right:0; left:auto; margin-top:10px;
  width:560px; min-width:560px; max-width:560px;
  padding:14px 16px;
  border-radius:14px; border:1px solid #e5e7eb; background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  box-sizing:border-box; z-index:1060;
}

/* 2 fixe Spalten + Divider */
.pz-account-menu .mega-body{
  display:grid; grid-template-columns:260px 260px; column-gap:16px; align-items:start;
}
.pz-account-menu .mega-col-left{ padding-right:16px; border-right:1px solid #e5e7eb; }
.pz-account-menu .mega-col-right{ padding-left:16px; }

/* Typo */
.pz-account-menu .mega-title{ font-size:15px; font-weight:700; margin:0 0 8px; color:#111; }
.pz-account-menu .mega-subtitle{
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color:#6b7280; margin:8px 0 6px; position:relative;
}
.pz-account-menu .mega-subtitle::after{
  content:""; display:block; height:1px; background:#e5e7eb; margin-top:6px;
}
.pz-account-menu .mega-list{ margin:0; padding:0; list-style:none; }
.pz-account-menu .mega-list li + li{ margin-top:4px; }
.pz-account-menu .mega-list a{
  display:block; font-size:14px; line-height:1.35; padding:2px 0;
  color:#111; text-decoration:none; white-space:normal;
}
.pz-account-menu .mega-list a:hover{ text-decoration:underline; }

/* CTA */
.pz-account-menu .mega-sep{ border:0; border-top:1px solid #e5e7eb; opacity:1; margin:12px 0; }
.pz-account-menu .btn{ border-radius:9999px; height:42px; }

/* Mobile/Tablet: volle Breite + stacked */
@media (max-width: 991.98px){
  .header-actions .pz-account .pz-account-menu{
    right:0; left:0; margin:8px auto 0; width:min(94vw,560px); min-width:0; max-width:94vw;
  }
  .pz-account-menu .mega-body{ display:block; }
  .pz-account-menu .mega-col-left{ border-right:0; padding-right:0; }
  .pz-account-menu .mega-col-right{ padding-left:0; margin-top:12px; }
}

/* Trigger-Hitbereich/Bridge bleibt gleich */
.header-actions .pz-account > .dropdown-toggle{
  display:flex; align-items:center; padding:6px 10px; border-radius:6px; white-space:nowrap;
}
.header-actions .pz-account > .dropdown-toggle:hover{
  background: rgba(17,24,39,.06);
}
.header-actions .pz-account::after{
  content:""; position:absolute; top:100%; left:0; width:100%; height:14px;
}
/* === FIX 1: Category "Alle" – Card-Optik + Typo wiederherstellen === */
.pz-cats .dropdown-menu.dropdown-mega{
  background:#fff;
  border:1px solid #e9ecef;
  border-radius:14px;
  box-shadow:0 10px 26px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  padding:16px;
  min-width:360px;
  max-width:min(96vw, 720px);
  z-index:1055;
}
.pz-cats .dropdown-menu .mega-title{
  font-weight:700; font-size:16px; color:#111; margin:0 0 .5rem;
}
.pz-cats .dropdown-menu .mega-subtitle{
  font-weight:700; font-size:12px; text-transform:uppercase;
  letter-spacing:.04em; color:#6b7280; margin:14px 0 6px;
}
.pz-cats .dropdown-menu .mega-subtitle + ul{ position:relative; padding-top:6px; }
.pz-cats .dropdown-menu .mega-subtitle + ul::before{
  content:""; position:absolute; left:0; right:0; top:0; height:1px; background:#e5e7eb;
}
.pz-cats .dropdown-menu .mega-list{ list-style:none; margin:0; padding:0; }
.pz-cats .dropdown-menu .mega-list li + li{ margin-top:6px; }
.pz-cats .dropdown-menu .mega-list a{
  display:block; color:#111; text-decoration:none; line-height:1.45; padding:2px 0; white-space:nowrap;
}
.pz-cats .dropdown-menu .mega-list a:hover{ color:#6717C6; text-decoration:underline; }
@media (max-width: 991.98px){
  .pz-cats .dropdown-menu .mega-list a{ white-space:normal; } /* nur mobil umbrechen */
}

/* === FIX 2: Account-Dropdown – Amazon-like (fixe Breite, 2 Spalten, saubere Typo) === */
.header-actions .pz-account{ position:relative; }

.header-actions .pz-account .dropdown-mega{
  position:absolute; top:100%; right:0; left:auto; margin-top:10px;
  width:560px; min-width:560px; max-width:560px;   /* fixe Boxbreite Desktop */
  padding:14px 16px; border-radius:14px; background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 26px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  box-sizing:border-box; z-index:1060;
}
.header-actions .pz-account .mega-body{
  display:grid; grid-template-columns:260px 260px; column-gap:16px; align-items:start;
}
.header-actions .pz-account .mega-col-left{ padding-right:16px; border-right:1px solid #e5e7eb; }
.header-actions .pz-account .mega-col-right{ padding-left:16px; }

.header-actions .pz-account .mega-title{
  font-size:15px; font-weight:700; color:#111; margin:0 0 8px;
}
.header-actions .pz-account .mega-subtitle{
  font-size:12px; font-weight:700; text-transform:uppercase;
  letter-spacing:.04em; color:#6b7280; margin:8px 0 6px; position:relative;
}
.header-actions .pz-account .mega-subtitle::after{
  content:""; display:block; height:1px; background:#e5e7eb; margin-top:6px;
}
.header-actions .pz-account .mega-list{ list-style:none; margin:0; padding:0; }
.header-actions .pz-account .mega-list li + li{ margin-top:4px; }
.header-actions .pz-account .mega-list a{
  display:block; font-size:14px; line-height:1.35; color:#111; text-decoration:none;
  white-space:nowrap; padding:2px 0;
}
.header-actions .pz-account .mega-list a:hover{ text-decoration:underline; }

.header-actions .pz-account .mega-sep{ border:0; border-top:1px solid #e5e7eb; opacity:1; margin:12px 0; }
.header-actions .pz-account .btn{ border-radius:9999px; height:42px; }

/* Trigger-Hitfläche + Hover-Feedback */
.header-actions .pz-account > .dropdown-toggle{
  display:flex; align-items:center; padding:6px 10px; border-radius:6px; white-space:nowrap;
}
.header-actions .pz-account > .dropdown-toggle:hover{ background:rgba(17,24,39,.06); text-decoration:none; }
/* Hover-Bridge, damit das Menü nicht „abbricht“ beim Übergang */
.header-actions .pz-account::after{
  content:""; position:absolute; top:100%; left:0; width:100%; height:14px;
}

/* Mobile/Tablet: volle Breite & stacked */
@media (max-width: 991.98px){
  .header-actions .pz-account .dropdown-mega{
    left:0; right:0; margin-top:8px; width:min(94vw, 560px); min-width:0; max-width:94vw;
  }
  .header-actions .pz-account .mega-body{ display:block; }
  .header-actions .pz-account .mega-col-left{ border-right:0; padding-right:0; }
  .header-actions .pz-account .mega-col-right{ padding-left:0; margin-top:12px; }
  .header-actions .pz-account .mega-list a{ white-space:normal; }
}

/* Sicherheit: Links im Mega niemals Browser-Standard-Unterstreichung */
.pz-cats .dropdown-mega a,
.header-actions .pz-account .dropdown-mega a{ text-decoration:none; }
.pz-cats .dropdown-mega a:hover,
.header-actions .pz-account .dropdown-mega a:hover{ text-decoration:underline; }

/* === Account-Dropdown: Sichtbarkeit + Hover-Open (Desktop) === */
.pandoz-mainheader { z-index: 1040; }                 /* sicher über Content */
.header-actions .pz-account { position: relative; }   /* Bezugspunkt */

/* Standard: zu, sichtbar wenn .show (Bootstrap/JS) */
#pzAccountMenu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 10px;
  z-index: 1060;
  display: none;
  pointer-events: auto;
}
#pzAccountMenu.show { display: block; }

/* 👉 Desktop: auch per Hover öffnen, unabhängig von Bootstrap */
@media (min-width: 992px){
  .pz-account.dropdown:hover > #pzAccountMenu,
  #pzAccountMenu:hover {
    display: block !important;
  }

  /* kleine Hover-Brücke, damit es beim Übergang nicht "abreißt" */
  .pz-account::after{
    content:"";
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:12px;
  }
}

/* Sicherheit: falls irgendwo generisch .dropdown-menu {display:none} gesetzt ist */
.dropdown .dropdown-menu#pzAccountMenu { display: none; }
.dropdown .dropdown-menu#pzAccountMenu.show { display: block; }

/* Komfortabler Trigger-Hitbereich */
.header-actions .pz-account > .dropdown-toggle{
  display:flex; align-items:center; padding:6px 10px; border-radius:6px; white-space:nowrap;
}
.header-actions .pz-account > .dropdown-toggle:hover{
  background: rgba(103,23,198,.06);
}
/* === "Alle"-Dropdown: 1 Spalte, schmal & fix === */
.pz-cats .dropdown.pz-cat-all > .dropdown-mega.pz-mega{
  /* feste, deutlich schmalere Box */
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;

  /* kompaktere Optik */
  padding: 12px 14px !important;
  border-radius: 12px !important;
}

/* Layout: strikt 1 Spalte */
.pz-cats .dropdown.pz-cat-all .mega-body{
  display: block !important;
}
.pz-cats .dropdown.pz-cat-all .mega-col-left,
.pz-cats .dropdown.pz-cat-all .mega-col-right,
.pz-cats .dropdown.pz-cat-all .mega-col-single{
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Typo/Abstände leicht verdichtet */
.pz-cats .dropdown.pz-cat-all .mega-title{
  font-size: 15px !important;
  margin: 0 0 6px !important;
}
.pz-cats .dropdown.pz-cat-all .mega-subtitle{
  font-size: 12px !important;
  margin: 10px 0 6px !important;
}
.pz-cats .dropdown.pz-cat-all .mega-subtitle + ul::before{
  /* feiner Trenner beibehalten, aber subtil */
  background: #eceff3 !important;
}

/* Linkliste kompakter & umbrechbar (wichtig bei schmaler Breite) */
.pz-cats .dropdown.pz-cat-all .mega-list{ margin: 0 !important; padding: 0 !important; }
.pz-cats .dropdown.pz-cat-all .mega-list li + li{ margin-top: 4px !important; }
.pz-cats .dropdown.pz-cat-all .mega-list a{
  display: block;
  padding: 2px 0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;   /* kein erzwungenes nowrap -> keine Überbreite */
  text-overflow: clip;
  overflow: visible;
}

/* Responsive Fallback: auf sehr schmalen Screens volle Breite verwenden */
@media (max-width: 575.98px){
  .pz-cats .dropdown.pz-cat-all > .dropdown-mega.pz-mega{
    width: min(94vw, 420px) !important;
    min-width: 0 !important;
    max-width: 94vw !important;
  }
}
/* === Pandoz: "Alle" als Alibaba-Style Vollbreite, fixe Höhe, 2 Scroll-Spalten === */

/* Vollbreite Dropdown + fixe Höhe */
.pz-cats .dropdown.pz-cat-all > #pzMegaAll.dropdown-mega.pz-mega{
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  top: 100%;
  margin-top: 10px;
  width: 100% !important;
  max-width: 100% !important;
  height: 520px;                       /* fixe Höhe */
  border-radius: 16px;
  border: 1px solid #e9ecef;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.06);
  padding: 0;                          /* Spalten paddings übernehmen */
  overflow: hidden;                    /* sauberer Bodenspalt */
  z-index: 1055;
}

/* kleiner optischer Spalt unten */
.pz-cats .dropdown.pz-cat-all { padding-bottom: 8px; }

/* 2-Zonen-Layout: links fix, rechts fluid – beide scrollen */
#pzMegaAll .mega-body{
  display: grid !important;
  grid-template-columns: 320px 1fr;    /* linke Spalte fix */
  height: 100%;
  position: relative;
}

#pzMegaAll .mega-left{
  height: 100%;
  overflow: auto;
  border-right: 1px solid #f0f2f5;
  padding: 10px;
}
#pzMegaAll .mega-left .mega-title{ font-weight: 800; margin: 4px 0 6px; }

#pzMegaAll .mega-right{
  height: 100%;
  overflow: auto;
  padding: 16px 18px;
}

/* Rechte Panel-Gruppen */
#pzMegaAll .mega-right .mega-group{ margin-bottom: 14px; }
#pzMegaAll .mega-right .mega-title{
  font-weight: 800; font-size: 16px; margin-bottom: 6px; color:#111;
}
#pzMegaAll .mega-right ul{ list-style:none; margin:0; padding:0; }
#pzMegaAll .mega-right li + li{ margin-top:6px; }
#pzMegaAll .mega-right a{ color:#111; text-decoration:none; }
#pzMegaAll .mega-right a:hover{ color:#6717C6; text-decoration:underline; }
#pzMegaAll .subpanel-cta{ display:inline-block; margin-top:10px; font-weight:600; color:#6717C6; }

/* Linke Liste: hover/active */
#pzMegaAll .mega-left .mega-list{ list-style:none; margin:0; padding:6px; }
#pzMegaAll .mega-left .mega-list li + li{ margin-top:4px; }
#pzMegaAll .mega-left .mega-list a{
  display:block; padding:10px 12px; border-radius:8px;
  color:#111; text-decoration:none; line-height:1.3;
  transition: background .15s ease, color .15s ease;
  white-space: normal;                 /* darf umbrechen */
}
#pzMegaAll .mega-left .mega-list li:hover > a,
#pzMegaAll .mega-left .mega-list li.is-active > a{
  background: rgba(103,23,198,.08); color:#6717C6;
}

/* Desktop: auch per Hover öffnen (zusätzlich zu JS) */
@media (min-width: 992px){
  .pz-cats .dropdown.pz-cat-all:hover > #pzMegaAll{ display:block; }
  .pz-cats .dropdown.pz-cat-all > #pzMegaAll::before{
    content:""; position:absolute; left:0; right:0; top:-10px; height:10px;
  }
}

/* Mobile/Tablet Fallback: normaler Stack */
@media (max-width: 991.98px){
  .pz-cats .dropdown.pz-cat-all > #pzMegaAll{
    position: static; height:auto; max-height:70vh; overflow:auto; border-radius:12px;
  }
  #pzMegaAll .mega-body{ display:block !important; }
  #pzMegaAll .mega-left{ border-right:0; height:auto; }
  #pzMegaAll .mega-right{ height:auto; padding-top:8px; }
}
/* === Essentials für das rechte Panel im Alibaba-Layout === */
#pzMegaAll .mega-body{
  display: grid !important;
  grid-template-columns: 320px 1fr;   /* links fix, rechts fluid */
  height: 100%;
  position: relative;
}
#pzMegaAll .mega-left{
  height: 100%;
  overflow: auto;
  border-right: 1px solid #f0f2f5;
  padding: 10px;
}
#pzMegaAll .mega-right{
  display: block !important;          /* falls woanders display:none gesetzt wird */
  height: 100%;
  overflow: auto;
  padding: 16px 18px;
}
/* ======= Pandoz Mega ("Alle") — Fullwidth Fix ohne Nebenwirkungen ======= */

/* 1) Trigger-Container (LI) darf NICHT die containing block sein */
.pz-cats .dropdown.pz-cat-all{
  position: static !important; /* statt relative */
}

/* 2) Dropdown absolut an der ganzen Leiste (.pz-cats) verankern */
.pz-cats { position: relative; overflow: visible; } /* hast du bereits, doppelt ok */
.pz-cats .dropdown.pz-cat-all > #pzMegaAll{
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100%;
  margin-top: 10px;

  /* volle Breite erzwingen, alte 640/720-Regeln neutralisieren */
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;           /* p-3 aus Klassen neutralisieren */
  height: 520px !important;        /* fixe Höhe wie gewünscht */
  border-radius: 16px;
  border: 1px solid #e9ecef;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.06);
  overflow: hidden;
  z-index: 1055;
}

/* 3) Zweispalten-Layout (links fix, rechts fluid), beide scrollen */
#pzMegaAll .mega-body{
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  height: 100% !important;
}
#pzMegaAll .mega-left{
  height: 100% !important;
  overflow: auto !important;
  border-right: 1px solid #f0f2f5 !important;
  padding: 10px !important;
}
#pzMegaAll .mega-right{
  height: 100% !important;
  overflow: auto !important;
  padding: 16px 18px !important;
  display: block !important
}
/* === Pandoz: Kategorieleiste schlanker (Desktop) === */
@media (min-width: 992px){
  /* Zielhöhe bequem anpassbar */
  .pz-cats{ --pz-cats-h: 44px; } /* z.B. 40–46px */

  .pz-cats .container-fluid{
    min-height: var(--pz-cats-h);
  }

  /* Leisten-Padding runter, Elemente vertikal mittig */
  .pz-cats-menu{
    padding: 0;                     /* statt .5rem 0 */
    height: var(--pz-cats-h);
    align-items: center;
  }

  /* Links kompakter – ohne die Click-Fläche zu verlieren */
  .pz-cats-menu .nav-link{
    padding: 0 .65rem;              /* horizontales Padding beibehalten */
    line-height: var(--pz-cats-h);  /* vertikal zentrieren über ganze Leiste */
    border-radius: 9999px;
  }

  /* „Alle“-Trigger: Icon sauber mittig halten */
  .pz-cats-menu .nav-link .me-2{ line-height: 1; display:inline-block; }
}
#pzMegaAll .mega-left .mega-title{
  color: #111 !important;   /* vorher weiß auf weiß */
  opacity: 1 !important;
}
#pzMegaAll .mega-left a:focus-visible{
  outline: 2px solid #6717C6;
  outline-offset: 2px;
  border-radius: 6px;
}
.pz-cats .dropdown.pz-cat-all > #pzMegaAll{
  margin-top: 0 !important;
  border-radius: 0 !important;
  border-top: none !important;
  top: 100% !important;
}
.pz-cats--purple{
  border-bottom: 1px solid #e9ecef;
}
.pz-cats .dropdown.pz-cat-all:hover > #pzMegaAll::before{
  display: none !important;
}
#pzMegaAll .mega-left a[data-expand]{
  position: relative;
  padding-right: 24px;
}
#pzMegaAll .mega-left a[data-expand]::after{
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  transition: color .2s ease, transform .2s ease;
}
#pzMegaAll .mega-left li:hover > a[data-expand]::after,
#pzMegaAll .mega-left li.is-active > a[data-expand]::after{
  color: #6717C6;
  transform: translateY(-50%) translateX(2px);
}
.pz-cats .dropdown.pz-cat-all{ padding-bottom: 0 !important; }

.pz-cats .pz-cat-all > .nav-link{
  height: var(--pz-cats-h, 44px) !important;
  line-height: var(--pz-cats-h, 44px) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pz-cats .pz-cat-all .nav-link .me-2{
  display:inline-flex;
  align-items:center;
  line-height:1;
  margin-right:.5rem;
  transform:none !important;
}
.pz-cats .pz-cat-all > .nav-link.dropdown-toggle::after{
  vertical-align: middle;
  margin-top:0;
  transform:none;
}
/* Blendet das ☰ aus und ersetzt es durch ein CSS-Hamburger-Icon */
.pz-cats .pz-cat-all .nav-link .me-2{
  font-size: 0 !important; /* ☰ ausblenden */
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;  /* Icon-Größe */
  height: 16px;
  margin-right: 6px !important;
}
.pz-cats .pz-cat-all .nav-link .me-2::before{
  content: "";
  display: block;
  width: 26px;        /* Breite der Balken */
  height: 3px;        /* Dicke der Balken */
  background: currentColor;
  border-radius: 2px;
  box-shadow:
    0 8px 0 currentColor,
    0 -8px 0 currentColor;
  transform: translateY(-1px); /* optische Zentrierung */
}
/* === "Alle"-Caret sanft drehen beim Öffnen === */
.pz-cats .pz-cat-all > .nav-link.dropdown-toggle::after{
  transition: transform .25s ease, opacity .2s ease;
}
.pz-cats .pz-cat-all > .nav-link[aria-expanded="true"]::after,
.pz-cats .pz-cat-all.show > .nav-link::after{
  transform: rotate(180deg);
}
/* === "Alle"-Trigger: moderner Hover-Effekt === */
.pz-cats--purple .pz-cat-all > .nav-link{
  transition: background .25s ease, box-shadow .25s ease, transform .15s ease;
}
.pz-cats--purple .pz-cat-all > .nav-link:hover{
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.pz-cats--purple .pz-cat-all > .nav-link:active{
  transform: translateY(0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
/* === Mega-Dropdown: Titelgrößen anpassen === */
#pzMegaAll .mega-left .mega-title,
#pzMegaAll .mega-right .mega-title {
  font-size: 17px !important;   /* vorher 15–16px */
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

/* Optional – etwas mehr Abstand nach oben/unten */
#pzMegaAll .mega-left .mega-title {
  margin: 6px 0 8px !important;
}

/* === Globaler Backdrop für Dropdown-Fokus === */
.pz-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.45);     /* Abdunkeln */
  /* optional weicher Look: */
  /* backdrop-filter: saturate(110%) blur(1px); */
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1052;                      /* Mega: 1055, Account: 1060 -> Backdrop liegt darunter */
}
.pz-backdrop.is-active{
  opacity: 1;
  pointer-events: auto;               /* Klick schließt Menüs */
}
html.backdrop-lock{ overflow: hidden; } /* Scroll-Lock bei offenem Overlay */

