/* 三级菜单容器定位 */
.third-level-parent {
    position: relative;
}

/* 三级菜单专属样式 */
.third-level-menu {
    display: none;
    position: absolute;
    left: 100%;
    /* 从父项右侧出现 */
    top: 0;
    /* 与父项顶部对齐 */
    min-width: 200px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    /* 确保浮在最上层 */
    margin-left: 1px;
    /* 防止鼠标间隙导致菜单关闭 */
}

/* 悬停效果 */
.third-level-parent:hover>.third-level-menu {
    display: block;
}

/* 移动端保持垂直堆叠 */
@media (max-width: 767px) {
    .third-level-menu {
        position: static;
        left: auto;
        box-shadow: none;
        padding-left: 20px;
        /* 添加缩进视觉层级 */
    }

    .third-level-parent>a>.fa-angle-right {
        transform: rotate(90deg);
        /* 移动端改为向下箭头 */
    }
}

.d-flex {
    display: flex !important
}

.align-items-center {
    align-items: center !important
}

.justify-content-between {
    justify-content: space-between !important
}