/* Mega Menu Styles */
.mega-menu-container {
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 100;
}

.mega-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.mega-menu-item {
    position: relative;
}

.mega-menu-trigger {
    display: block;
    padding: 1em 1.5em;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.mega-menu-trigger:hover {
    background-color: #e8e8e8;
    color: #000;
}

.mega-menu-trigger .dropdown.icon {
    font-size: 0.8em;
    margin-left: 0.3em;
    opacity: 0.6;
}

.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
}

.mega-menu-item:hover .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
}

.mega-menu-dropdown-content {
    padding: 1.5em;
}

.mega-menu-column {
    min-width: 200px;
}

.mega-menu-header {
    display: block;
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    padding-bottom: 0.75em;
    margin-bottom: 0.75em;
    border-bottom: 2px solid #dabfff;
    text-decoration: none;
}

.mega-menu-header:hover {
    color: #7c3aed;
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-list li {
    margin: 0;
    padding: 0;
}

.mega-menu-list a {
    display: block;
    padding: 0.5em 0;
    color: #555;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.mega-menu-list a:hover {
    color: #7c3aed;
    padding-left: 0.5em;
}

.mega-menu-count {
    color: #999;
    font-size: 0.85em;
    margin-left: 0.3em;
}

/* Breadcrumb Styles */
.store-breadcrumb {
    padding: 1em 0;
    font-size: 0.95em;
}

.store-breadcrumb .ui.breadcrumb {
    margin: 0;
}

.store-breadcrumb .ui.breadcrumb a {
    color: #666;
}

.store-breadcrumb .ui.breadcrumb a:hover {
    color: #7c3aed;
}

.store-breadcrumb .ui.breadcrumb .active.section {
    font-weight: 600;
    color: #333;
}

.store-breadcrumb .ui.breadcrumb .divider {
    color: #ccc;
}

/* Multi-column mega menu for larger dropdowns */
.mega-menu-dropdown.multi-column .mega-menu-dropdown-content {
    display: flex;
    gap: 2em;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
    .mega-menu-container {
        display: none;
    }
}
