/* 产品页导航核心样式 */
.product-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    max-width: 220px;
    transition: all 0.3s ease;
}
.product-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-nav li {
    margin: 0;
}
.product-nav .nav-link {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-nav .nav-link:hover {
    color: #2c7ad6;
    background-color: #f5f8ff;
}
div.product-nav > ul > li > a.nav-link.active {
    color: #1a5fc8 !important;
    font-weight: 700 !important;
    background-color: #e6f0ff !important;
    border-left: 3px solid #1a5fc8 !important;
    padding-left: 17px !important;
}
.product-nav-title {
    margin: 0;
    padding: 0 20px 10px;
    font-size: 16px;
    color: #1a5fc8;
    border-bottom: 1px solid #f0f5ff;
}
/* 移动端触发按钮 */
.mobile-nav-trigger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: #1a5fc8;
    color: white;
    border-radius: 4px;
    text-align: center;
    line-height: 36px;
    font-size: 18px;
    z-index: 99999;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.product-nav.show + .mobile-nav-trigger {
    left: 265px;
}
.mobile-nav-close {
    display: none;
    padding: 10px 20px;
    text-align: right;
    color: #666;
    cursor: pointer;
    font-size: 18px;
}
.nav-list {
    display: block;
}
/* 响应式样式 */
@media (max-width: 768px) {
    .mobile-nav-trigger {
        display: block;
    }
    .mobile-nav-close {
        display: block;
    }
    .product-nav {
        left: -100%;
        top: 50%;
        transform: translateY(-50%);
        max-height: 80vh;
        max-width: 260px;
        width: 75%;
        border-radius: 6px;
        box-shadow: 1px 0 8px rgba(0, 0, 0, 0.08);
        padding: 15px 0;
        margin: 0;
    }
    .product-nav.show {
        left: 0;
    }
    .nav-list {
        height: calc(100% - 100px);
        overflow-y: auto;
        padding-bottom: 10px;
    }
    .product-nav .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid #f5f8ff;
    }
    div.product-nav > ul > li > a.nav-link.active {
        border-left: 3px solid #1a5fc8 !important;
        border-bottom: none !important;
    }
}