.mega-menu-container {
    /* display: none; */
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100vw;
    background: #fff;
    padding: 25px 30px;
    z-index: 1000;
    border-radius: 0 0 20px 20px; /* Abgerundete Ecken für den Container */
    transition: all 0.3s ease-in-out;
}
.mega-menu-container.active {
    opacity: 1;
    transform: scaleY(1);
}

/* --- NEU: Breadcrumbs Styling --- */
.mega-menu-breadcrumbs {
    /* margin-bottom: 25px; */
    padding-bottom: 15px;
    /* border-bottom: 1px solid #f0f0f0; */
    font-size: 14px;
    color: var(--e-global-color-text);
}

.mega-menu-breadcrumbs a {
    color: var(--e-global-color-primary); /* Primärfarbe */
    text-decoration: none;
    display: inline !important;
    padding: 0 !important;
}

.mega-menu-breadcrumbs a:hover {
    text-decoration: none !important;
    color: var(--e-global-color-4c1b188);
}

/* Trennzeichen zwischen den Breadcrumbs */
.mega-menu-breadcrumbs a::after {
    content: ' > ';
    margin: 0 !important;
    padding: 0 !important;
    color: #ccc;
    text-decoration: none; /* Verhindert, dass der Separator unterstrichen wird */
    pointer-events: none; /* Macht den Separator nicht klickbar */
}

.mega-menu-breadcrumbs span {
    color: #1d2327; /* Dunkler für das aktive Element */
    font-weight: 500;
}

/* --- Grid und Item Styling --- */
.category-grid {
    display: grid;
    /* Responsive Spalten: zwischen 100px und 140px breit */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 25px;
}

.category-item {
    display: flex;
    flex-direction: column; /* Bild und Text untereinander anordnen */
    align-items: center;   /* Horizontal zentrieren */
    text-align: center;
    text-decoration: none;
    color: #333;
}

.category-item:hover .category-title {
    color: var(--e-global-color-primary); /* Titel färbt sich bei Hover */
}

.category-item:hover .category-image {
    transform: scale(1.05); /* Leichter Zoom-Effekt */
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

.category-image {
    width: 110px;
    height: 110px;
    border-radius: 50%; 
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
    transition: all 0.2s ease-in-out;
    filter: brightness(0.95);
}
.category-image:hover {
    filter: brightness(1);
}

.category-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s ease-in-out;
}

/* Styling für den "Alle anzeigen" Button */
.category-item.all-link .category-image.all-icon {
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23888"><path d="M7 10l5 5 5-5z"/></svg>'); */
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}

.category-item.all-link:hover .category-image.all-icon {
    /* border-color: #0073aa; */
}