html body .hexo-mega-menu[data-hexo-mega-menu],
html body .hexo-mega-menu[data-hexo-mega-menu] * {
    box-sizing: border-box;
}

html body .hexo-mega-menu[data-hexo-mega-menu] {
    --hmm-primary: #4176a0;
    --hmm-column-width: 320px;
    --hmm-panel-max-width: 1120px;
    --hmm-column-shadow: -4px 0 11px rgba(25, 47, 66, 0.08);
    --hmm-text: #242424;
    --hmm-muted: #5d5d5d;
    --hmm-line: #eceff2;
    --hmm-active: color-mix(in srgb, var(--hmm-primary), transparent 80%);
    --hmm-dimmed: color-mix(in srgb, var(--hmm-primary), transparent 92%);
    --hmm-panel: #ffffff;
    --hmm-overlay: rgba(13, 38, 53, 0.88);
    position: relative;
    font-family: inherit;
}

html body .hexo-mega-menu[data-hexo-mega-menu] a,
html body .hexo-mega-menu[data-hexo-mega-menu] button {
    -webkit-tap-highlight-color: transparent;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hmm-text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger:focus-visible {
    background: #f6f7f8;
    outline: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__hamburger {
    display: flex;
    flex-direction: column;
    width: 18px;
    gap: 4px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__hamburger i {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 5px;
    background: currentColor;
}

/*
 * On desktop the layer starts at the bottom edge of the site header.
 * JavaScript sets --hmm-layer-top when the menu opens.
 */
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer {
    position: fixed;
    top: var(--hmm-layer-top, 0px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms ease;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--hmm-overlay);
    cursor: default;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close {
    position: absolute;
    top: 16px;
    left: 22px;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close span,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close span::after {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 23px;
    height: 2px;
    border-radius: 3px;
    background: #fff;
    content: "";
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close span {
    transform: rotate(45deg);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close span::after {
    top: 0;
    left: 0;
    transform: rotate(90deg);
}

/* Keep the desktop panel stable while its columns are revealed. */
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    min-width: 0;
    height: auto;
    background: var(--hmm-panel);
    transform: translateX(16px);
    transition: transform 190ms ease;
    overflow: hidden;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-second-open,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-detail-open {
    /*width: min(var(--hmm-panel-max-width), calc(100vw - 78px));*/
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer.is-open .hexo-mega-menu__panel {
    transform: translateX(0);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__desktop,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__columns {
    width: 100%;
    height: 100%;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__columns {
    display: flex;
    direction: rtl;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    direction: rtl;
    background: var(--hmm-panel);
    scrollbar-width: thin;
    scrollbar-color: #b9b9b9 transparent;
    overscroll-behavior: contain;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column::-webkit-scrollbar {
    width: 5px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column::-webkit-scrollbar-track {
    background: transparent;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b9b9b9;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--detail {
    display: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-second-open .hexo-mega-menu__column--middle,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-detail-open .hexo-mega-menu__column--detail {
    display: block;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--root,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle {
    width: clamp(220px, var(--hmm-column-width), 420px);
    border-left: 1px solid var(--hmm-line);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--root {
    z-index: 3;
    padding: 10px 8px 18px;
    box-shadow: var(--hmm-column-shadow);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle {
    z-index: 2;
    padding: 16px 16px;
    box-shadow: var(--hmm-column-shadow);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--detail {
    z-index: 1;
    flex: 1 1 auto;
    width: clamp(220px, var(--hmm-column-width), 420px);
    padding: 22px 16px;
    background-color: var(--hmm-dimmed);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group-title,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__leaf {
    color: inherit;
    text-decoration: none !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item {
    position: relative;
    display: flex;
    min-height: 58px;
    padding: 8px 10px 8px 32px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--hmm-line);
    color: var(--hmm-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.7;
    transition: background 120ms ease, color 120ms ease;
    margin-bottom: 5px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item:focus-visible,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item.is-active {
    background: var(--hmm-active);
    outline: none;
    border-radius: 7px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 9px rgba(34, 66, 90, 0.11);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__icon img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__title {
    min-width: 0;
    flex: 1 1 auto;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__chevron {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #1e4f80;
    border-left: 2px solid #1e4f80;
    opacity: 0;
    transform: translateY(-50%) rotate(45deg);
    transition: opacity 120ms ease;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__root-item.is-active .hexo-mega-menu__chevron,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item.is-active .hexo-mega-menu__chevron {
    opacity: 1;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-pane,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__detail-pane {
    display: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-pane.is-active,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__detail-pane.is-active {
    display: block;
}

/* Hovered parent is repeated as the heading of the column it opened. */
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title--detail {
    display: flex;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 10px;
    align-items: center;
    background-color: var(--hmm-dimmed);
    color: #202020;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.8;
    border-radius: 7px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title--detail {
    background-color: white;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column-title:focus-visible {
    color: var(--hmm-primary);
    outline: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item {
    position: relative;
    display: flex;
    min-height: 42px;
    padding: 8px 10px 8px 31px;
    align-items: center;
    border-radius: 7px;
    color: #303030;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    transition: background 120ms ease, color 120ms ease;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item:focus-visible,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-item.is-active {
    background: var(--hmm-active);
    color: #111;
    outline: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    align-items: start;
    gap: 16px 32px;
    padding: 0 12px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group {
    min-width: 0;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group-title {
    display: block;
    margin-bottom: 8px;
    color: #242424;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group-title:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group-title:focus-visible {
    color: var(--hmm-primary);
    outline: none;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__group-links {
    display: grid;
    gap: 1px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__leaf {
    display: block;
    padding: 6px 0;
    color: var(--hmm-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    transition: color 100ms ease;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__leaf:hover,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__leaf:focus-visible {
    color: var(--hmm-primary);
    outline: none;
    font-weight: 700;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__deep-links {
    margin-right: 12px;
    padding-right: 10px;
    border-right: 1px solid var(--hmm-line);
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__detail-empty {
    min-height: 1px;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile {
    display: none;
}

html body.hexo-mega-menu-is-open {
    overflow: hidden;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__empty {
    padding: 10px 14px;
    border: 1px dashed #c7ccd1;
    border-radius: 8px;
    color: #555;
    font-size: 13px;
}

@media (max-width: 767px) {
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer {
        top: 0;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__backdrop,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close--desktop,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__desktop {
        display: none;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer {
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-second-open,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-detail-open {
        inset: 0;
        width: 100vw;
        min-width: 0;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        box-shadow: none;
        transform: translateX(100%);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile {
        display: grid;
        grid-template-rows: 42px minmax(0, 1fr);
        width: 100%;
        height: 100%;
        background: #fff;
        color: #2c2c2c;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 4px 44px;
        border-bottom: 1px solid #e8eaed;
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-close {
        position: absolute;
        top: 0;
        left: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-close span,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-close span::after {
        position: absolute;
        top: 20px;
        left: 13px;
        width: 13px;
        height: 1px;
        background: #666;
        content: "";
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-close span {
        transform: rotate(45deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-close span::after {
        top: 0;
        left: 0;
        transform: rotate(90deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-brand {
        display: flex;
        max-width: 108px;
        height: 30px;
        align-items: center;
        justify-content: center;
        color: #1d3860;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none !important;
        overflow: hidden;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-brand img,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-logo {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 28px;
        object-fit: contain;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 65px;
        grid-template-areas: "content rail";
        min-height: 0;
        overflow: hidden;
        direction: ltr;
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-content {
        grid-area: content;
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        direction: rtl;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #c8c8c8 transparent;
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-content::-webkit-scrollbar,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-rail::-webkit-scrollbar {
        width: 3px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-content::-webkit-scrollbar-thumb,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-rail::-webkit-scrollbar-thumb {
        border-radius: 6px;
        background: #c8c8c8;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-rail {
        grid-area: rail;
        min-width: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        direction: rtl;
        border-left: 1px solid #e5e7ea;
        background: #fff;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-rail::-webkit-scrollbar {
        display: none;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-item {
        display: flex;
        min-height: 82px;
        padding: 8px 4px;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        gap: 5px;
        border-bottom: 1px solid #e8eaed;
        background: #fff;
        color: #343434;
        font-size: 9.5px;
        font-weight: 500;
        line-height: 1.55;
        text-align: center;
        text-decoration: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-item.is-active {
        background: #f4f4f4;
        box-shadow: inset 2px 0 0 #e4e4e4;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-icon {
        display: grid;
        width: 31px;
        height: 31px;
        place-items: center;
        border-radius: 50%;
        background: #fafafa;
        box-shadow: 0 1px 7px rgba(39, 70, 99, 0.08);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-icon img {
        display: block;
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-icon > i {
        position: relative;
        display: block;
        width: 13px;
        height: 17px;
        border: 1.4px solid #66a8e8;
        border-radius: 3px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-icon > i::after {
        position: absolute;
        bottom: 2px;
        left: 50%;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #66a8e8;
        transform: translateX(-50%);
        content: "";
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-root-title {
        display: -webkit-box;
        max-width: 58px;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-pane {
        display: none;
        min-height: 100%;
        padding-bottom: 24px;
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-pane.is-active {
        display: block;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-heading {
        margin: 0;
        padding: 13px 10px 12px;
        border-bottom: 1px solid #f0f1f2;
        color: #303030;
        font-size: 10.5px;
        font-weight: 500;
        line-height: 1.8;
        text-align: right;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-all-link {
        display: inline-flex;
        min-height: 38px;
        padding: 10px 10px 8px;
        align-items: center;
        gap: 8px;
        color: #1769dc;
        font-size: 9px;
        font-weight: 500;
        line-height: 1.7;
        text-decoration: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-all-link i {
        display: block;
        width: 5px;
        height: 5px;
        border-left: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-second-list {
        display: grid;
        gap: 6px;
        padding: 0 8px 18px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-second-item {
        position: relative;
        display: flex;
        min-height: 39px;
        padding: 8px 13px 8px 30px;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #f0f1f2;
        border-radius: 6px;
        background: #f5f7f8;
        color: #333;
        font-size: 9.5px;
        font-weight: 500;
        line-height: 1.7;
        text-decoration: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-second-item i {
        position: absolute;
        left: 15px;
        top: 50%;
        width: 5px;
        height: 5px;
        border-left: 1px solid #505050;
        border-bottom: 1px solid #505050;
        transform: translateY(-50%) rotate(45deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-top-links {
        display: flex;
        min-height: 43px;
        padding: 0 8px;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border-bottom: 1px solid #f0f1f2;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-back {
        display: inline-flex;
        min-width: 0;
        padding: 8px 0;
        align-items: center;
        gap: 7px;
        border: 0;
        background: transparent;
        color: #444;
        font: inherit;
        font-size: 9px;
        font-weight: 500;
        cursor: pointer;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-back i {
        display: block;
        width: 5px;
        height: 5px;
        border-top: 1px solid #555;
        border-right: 1px solid #555;
        transform: rotate(45deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-all-link--compact {
        min-width: 0;
        min-height: 0;
        max-width: 57%;
        padding: 8px 0;
        justify-content: flex-end;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-all-link--compact span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-detail-title {
        margin: 0;
        padding: 13px 12px 8px;
        color: #333;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.8;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-groups {
        display: grid;
        gap: 6px;
        padding: 0 7px 18px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group {
        overflow: hidden;
        border: 1px solid #f0f1f2;
        border-radius: 6px;
        background: #f5f7f8;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group-head {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 39px;
        padding: 8px 12px 8px 31px;
        align-items: center;
        border: 0;
        background: transparent;
        color: #333;
        font: inherit;
        font-size: 9.5px;
        font-weight: 500;
        line-height: 1.7;
        text-align: right;
        cursor: pointer;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group-head--link {
        text-decoration: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group-head i {
        position: absolute;
        left: 14px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-left: 1px solid #333;
        border-bottom: 1px solid #333;
        transform: translateY(-65%) rotate(-45deg);
        transition: transform 150ms ease;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group.is-open .hexo-mega-menu__mobile-group-head i {
        transform: translateY(-35%) rotate(135deg);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group-panel {
        display: none;
        padding: 10px 7px 12px;
        border-top: 1px solid #e1e4e7;
        background: #f5f7f8;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group.is-open .hexo-mega-menu__mobile-group-panel {
        display: block;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-products {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 4px;
        align-items: start;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product {
        display: flex;
        min-width: 0;
        align-items: center;
        flex-direction: column;
        gap: 5px;
        color: #555;
        font-size: 8.5px;
        font-weight: 400;
        line-height: 1.55;
        text-align: center;
        text-decoration: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-image {
        display: grid;
        width: 51px;
        height: 51px;
        place-items: center;
        overflow: hidden;
        border-radius: 50%;
        background: #fff;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-image img {
        display: block;
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-image--all {
        display: grid;
        grid-template-columns: repeat(2, 7px);
        grid-template-rows: repeat(2, 7px);
        gap: 3px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-image--all i {
        display: block;
        width: 7px;
        height: 7px;
        border: 1px solid #3e3e3e;
        border-radius: 1px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-placeholder {
        position: relative;
        display: block;
        width: 18px;
        height: 25px;
        border: 1.4px solid #8da9c7;
        border-radius: 4px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-placeholder::after {
        position: absolute;
        bottom: 3px;
        left: 50%;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #8da9c7;
        transform: translateX(-50%);
        content: "";
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-product-title {
        display: -webkit-box;
        max-width: 70px;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-second-open,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-detail-open {
        width: calc(100vw - 56px);
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--root,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle {
        width: 220px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle {
        padding-inline: 14px;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--detail {
        padding-inline: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-group-head i {
        transition: none;
    }
}

/*
 * Trigger-only shortcode. These selectors are intentionally specific so
 * theme button and link resets cannot override the mega-menu trigger.
 */
html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #242424 !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger]:hover,
html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger]:focus-visible {
    background: #f6f7f8 !important;
    outline: none !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger].hexo-mega-menu-trigger--icon {
    width: 42px !important;
    min-width: 42px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] .hexo-mega-menu__hamburger {
    display: grid !important;
    width: 18px !important;
    flex: 0 0 18px !important;
    gap: 4px !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] .hexo-mega-menu__hamburger i {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: currentColor !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] .hexo-mega-menu-trigger__icon {
    display: grid !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    place-items: center !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] .hexo-mega-menu-trigger__icon img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

html body button.hexo-mega-menu-trigger[data-hexo-mega-menu-external-trigger] .hexo-mega-menu-trigger__text {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

html body .hexo-mega-menu-trigger__empty {
    display: inline-block;
    padding: 6px 10px;
    border: 1px dashed #c7ccd1;
    border-radius: 7px;
    color: #555;
    font-size: 12px;
}

/* Critical layout protection against aggressive theme CSS. */
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2147483000 !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel {
    position: absolute !important;
    overflow: hidden !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] a,
html body .hexo-mega-menu[data-hexo-mega-menu] button {
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

html.hexo-mega-menu-is-open,
html body.hexo-mega-menu-is-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

/* Structural states are protected with !important;
 visual properties stay easy to customize. */
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer {
    top: var(--hmm-layer-top, 0px) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__layer.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__backdrop {
    position: absolute !important;
    inset: 0 !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--middle,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__column--detail,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-pane,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__detail-pane {
    display: none !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-second-open .hexo-mega-menu__column--middle,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__panel.is-detail-open .hexo-mega-menu__column--detail,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__middle-pane.is-active,
html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__detail-pane.is-active {
    display: block !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile {
    display: none !important;
}

@media (max-width: 767px) {
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__backdrop,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__close--desktop,
    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__desktop {
        display: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile {
        display: grid !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-pane {
        display: none !important;
    }

    html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__mobile-pane.is-active {
        display: block !important;
    }
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger.hexo-mega-menu__trigger--icon {
    width: 42px !important;
    min-width: 42px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    justify-content: center !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger-icon:not(.hexo-mega-menu__hamburger) {
    display: grid !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    place-items: center !important;
}

html body .hexo-mega-menu[data-hexo-mega-menu] .hexo-mega-menu__trigger-icon:not(.hexo-mega-menu__hamburger) img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    object-fit: contain !important;
}