/* Base menu */
.lx-main-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

@media (max-width: 1201px) {
    .lx-mega-menu-wrapper {
        display: none !important;
    }
}

/* Wrapper placement (left-anchored next to the logo) is owned by header.css. */

.lx-main-menu > li {
    position: relative;
}

.lx-main-menu li.has-mega-menu:hover > a {
    color: #199caa;
}

/* Mega Menu */
.lx-mega-menu {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 3rem;
    padding: 1.5rem 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 999;
    width: max-content;
}

/* Columns */
.lx-mega-column {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

/* Title */
.lx-mega-menu .lx-mega-column .lx-mega-title {
    font-weight: bold;
    color: #57595B;
    margin: 0 0 0.5rem 0;
    padding: 0;
    text-indent: 0;
}

/* List inside column */
.lx-mega-menu .lx-mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-indent: 0;
}

.lx-mega-menu .lx-mega-column ul li {
    margin: 0 0 0.5rem 0;
    padding: 0;
    text-indent: 0;
    list-style: none;
    background: none;
}

.lx-mega-menu .lx-mega-column ul li::before {
    content: none;
    display: none;
}

.lx-mega-menu .lx-mega-column ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.15s;
    display: block;
    padding: 0;
    margin: 0;
    text-indent: 0;
}

.lx-mega-column ul li a:hover {
    color: #199caa;
}

/* Show dropdown on hover */
.lx-main-menu li.has-mega-menu:hover > .lx-mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Desktop only */
/* @media (max-width: 991px) {
    .lx-mega-menu { display: none; }
} */