/* Wolw three-level mega navigation, 2026-10-16 */
.nav_ul > li {
    padding: 0 16px;
    background: #fff;
    box-shadow: none !important;
}

.nav_ul > li > a {
    position: relative;
    padding: 0;
    color: #1e2924;
    font-weight: 500;
}

.nav_ul > li > a i {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    margin-left: 0;
    background: #00a54f;
}

.nav_ul > li:hover > a,
.nav_ul > li:focus-within > a,
.nav_ul > li.on > a,
.nav_ul > li.is-open > a {
    color: #008f44;
}

.nav_ul:has(> li.is-open) > li.on:not(.is-open) > a {
    color: #1e2924;
}

.nav_ul:has(> li.is-open) > li.on:not(.is-open) > a i {
    opacity: 0;
}

.nav_ul > li:hover > .xl,
.nav_ul > li:focus-within > .xl,
.nav_ul > li.is-open > .xl {
    display: block !important;
}

.nav_ul .mega-dropdown {
    position: fixed;
    z-index: 9999;
    top: 141px;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    border-top: 1px solid #e7ece9;
    border-bottom: 1px solid #e2e9e5;
    background: rgba(255,255,255,.99);
    box-shadow: 0 18px 36px rgba(17,35,26,.10);
}

.nav_ul .mega-dropdown .mega-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    align-items: stretch;
    width: 1100px;
    min-width: 0;
    max-width: 1180px;
    height: auto;
    margin: 0 auto;
    padding: 30px 0 34px;
    box-sizing: border-box;
}

/* The legacy .min-wrap clearfix must not become empty grid columns. */
.nav_ul .mega-dropdown .mega-menu:before,
.nav_ul .mega-dropdown .mega-menu:after {
    content: none !important;
    display: none !important;
}

.nav_ul .mega-column {
    min-width: 0;
    min-height: 148px;
    padding: 2px 26px 8px;
    border-left: 1px solid #e1e7e4;
    box-sizing: border-box;
}

.nav_ul .mega-column:first-child {
    border-left: 0;
    padding-left: 0;
}

.nav_ul .mega-column:last-child {
    padding-right: 0;
}

.nav_ul .mega-heading,
.nav_ul .mega-heading:hover {
    position: relative;
    display: inline-flex;
    align-items: center;
    float: none;
    width: auto;
    min-width: 150px;
    min-height: 46px;
    margin: 0 0 14px;
    padding: 10px 38px 10px 14px;
    border: 0;
    border-left: 3px solid #00a54f;
    color: #17231c;
    background: #f1f7f3;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    box-sizing: border-box;
    transition: color .18s ease, background-color .18s ease;
}

.nav_ul .mega-heading:after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 14px;
    width: auto;
    height: auto;
    color: #00a54f;
    background: none;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-52%);
}

.nav_ul .mega-heading:hover {
    color: #008f44;
    background: #e9f4ed;
}

.nav_ul .mega-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
}

.nav_ul .mega-column:has(.mega-links a:nth-child(7)) .mega-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
}

.nav_ul .mega-links:empty {
    display: none;
}

.nav_ul .mega-links a,
.nav_ul .mega-links a:hover {
    position: relative;
    display: block;
    float: none;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 8px 10px 8px 17px;
    border: 0;
    border-bottom: 1px solid #edf1ef;
    color: #59645e;
    background: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

.nav_ul .mega-links a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #9eaaa4;
    border-right: 1px solid #9eaaa4;
    background: none;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color .18s ease;
}

.nav_ul .mega-links a:hover {
    color: #008f44;
    background: #f8fbf9;
    padding-left: 20px;
}

.nav_ul .mega-links a:hover:before {
    border-color: #00a54f;
}

.nav_ul .mega-heading:focus-visible,
.nav_ul .mega-links a:focus-visible,
.nav_ul > li > a:focus-visible {
    outline: 2px solid #00a54f;
    outline-offset: 3px;
}

@media (max-width: 1220px) {
    .nav_ul .mega-dropdown .mega-menu {
        width: min(1100px, calc(100% - 48px));
    }
}

@media (max-width: 900px) {
    .nav_ul .mega-dropdown {
        max-height: calc(100vh - 141px);
        overflow-y: auto;
    }

    .nav_ul .mega-dropdown .mega-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 30px);
        padding: 22px 0 26px;
    }

    .nav_ul .mega-column:nth-child(odd) {
        border-left: 0;
    }

    .nav_ul .mega-column:first-child {
        padding-left: 26px;
    }

    .nav_ul .mega-column:last-child {
        padding-right: 26px;
    }
}
