/* 导航栏高级样式 - 完整版 */

/* 基础样式 */
.produce-panel .left {
    width: 300px;
    padding-right: 50px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.produce-panel .left i {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 一级菜单容器 */
.produce-panel .left .first-ul {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e8ecf0;
}

/* 一级菜单项 */
.produce-panel .left .first-li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f2f5;
}

.produce-panel .left .first-li:last-child {
    border-bottom: none;
}

/* 一级菜单文字样式 */
.produce-panel .left .first-li > p {
    font-size: 16px;
    line-height: 52px;
    font-weight: 500;
    background-color: transparent;
    text-indent: 10px;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.produce-panel .left .first-li > p:hover {
    background-color: #f8f9fa;
    color: #15588f;
}

/* 一级菜单右侧图标 */
.produce-panel .left .first-li > p > i {
    float: right;
    margin-right: 20px;
    color: #8e9aaf;
    line-height: 52px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.produce-panel .left .first-li > p:hover > i {
    color: #15588f;
    transform: scale(1.1);
}

/* 一级菜单激活状态 */
.produce-panel .left .first-p-open {
    background: linear-gradient(135deg, #667eea 0%, #15588f 100%) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.produce-panel .left .first-p-open:hover {
    background: linear-gradient(135deg, #667eea 0%, #15588f 100%) !important;
    color: #fff !important;
}

.produce-panel .left .first-p-open > i {
    color: #fff !important;
}

.produce-panel .left .first-p-open:hover > i {
    color: #fff !important;
    transform: scale(1.1);
}

/* 二级菜单容器 */
.produce-panel .left .second-ul {
    display: none;
    background: #fafbfc;
    border-top: 1px solid #e8ecf0;
}

/* 二级菜单项 */
.produce-panel .left .second-ul > li {
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

.produce-panel .left .second-ul > li:last-child {
    border-bottom: none;
}

.produce-panel .left .second-ul > li:hover {
    background-color: #f0f6ff;
}

.produce-panel .left .second-ul > li > ul:last-child {
    margin-bottom: 0;
}

/* 二级菜单图标 */
.produce-panel .left .second-ul > li > i {
    margin-left: 20px;
    color: #8e9aaf;
    font-size: 12px;
    transition: all 0.3s ease;
}

.produce-panel .left .second-ul > li:hover > i {
    color: #15588f;
}

/* 二级菜单文字 */
.produce-panel .left .second-ul > li > p {
    display: inline-block;
    text-indent: 12px;
    line-height: 44px;
    font-size: 14px;
    color: #495057;
    font-weight: 400;
    transition: all 0.3s ease;
}

.produce-panel .left .second-ul > li:hover > p {
    color: #15588f;
    font-weight: 500;
}

/* 三级菜单容器 */
.produce-panel .left .other-ul {
    display: none;
    background: #f8f9fa;
    margin-left: 16px;
    border-left: 2px solid #e8ecf0;
}

/* 三级菜单项 */
.produce-panel .left .other-ul li {
    transition: all 0.3s ease;
}

.produce-panel .left .other-ul li:hover {
    background-color: #e3f2fd;
}

/* 三级菜单文字 */
.produce-panel .left .other-ul p {
    display: inline-block;
    line-height: 36px;
    font-size: 13px;
    color: #6c757d;
    font-weight: 400;
    transition: all 0.3s ease;
}

.produce-panel .left .other-ul li:hover p {
    color: #15588f;
    font-weight: 500;
}

/* 三级菜单图标 */
.produce-panel .left .other-ul i {
    display: inline-block;
    color: #adb5bd;
    font-size: 10px;
    transition: all 0.3s ease;
}

.produce-panel .left .other-ul li:hover i {
    color: #15588f;
}

/* 链接样式 */
.produce-panel .left a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.produce-panel .left a:hover {
    color: #15588f;
}

.produce-panel .left .first-p-open a {
    color: #fff !important;
}

.produce-panel .left .first-p-open a:hover {
    color: #fff !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .produce-panel .left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .produce-panel .left .first-ul {
        border-radius: 8px;
    }

    .produce-panel .left .first-li > p {
        font-size: 15px;
        line-height: 48px;
    }

    .produce-panel .left .second-ul > li > p {
        font-size: 13px;
        line-height: 40px;
    }

    .produce-panel .left .other-ul p {
        font-size: 12px;
        line-height: 32px;
    }
}

/* 动画效果增强 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.produce-panel .left .second-ul[style*="display: block"] {
    animation: slideDown 0.3s ease;
}

.produce-panel .left .other-ul[style*="display: block"] {
    animation: slideDown 0.3s ease;
}

/* 特殊状态样式 */
.produce-panel .left .open {
    background-color: #e3f2fd;
}

.produce-panel .left .open > p {
    color: #15588f;
    font-weight: 500;
}

.produce-panel .left .open > i {
    color: #15588f;
}

/* 文字缩进递增效果 */
.produce-panel .left .other-ul .other-ul {
    margin-left: 20px;
}

.produce-panel .left .other-ul .other-ul .other-ul {
    margin-left: 24px;
}

/* 滚动条样式 */
.produce-panel .left .first-ul::-webkit-scrollbar {
    width: 4px;
}

.produce-panel .left .first-ul::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.produce-panel .left .first-ul::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.produce-panel .left .first-ul::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

 /* 右侧推荐产品模块 - 升级版样式 */
 .right .recommend-panel {
     width: 100%;
     padding: 50px 0;
 }

.right .recommend-panel > .title {
    font-size: 28px;
    font-weight: 700;
    color: #15588f;
    margin-bottom: 30px;
    position: relative;
    padding-left: 16px;
    letter-spacing: 0.5px;
}

.right .recommend-panel > .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #15588f 100%);
    border-radius: 2px;
}

/* 产品列表容器 */
.right .list {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 产品项基础样式 */
.right .list .item {
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    padding: 20px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.right .list .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #15588f 100%);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.right .list .item:hover::before {
    transform: scaleY(1);
}

.right .list .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

/* 产品标题区域 */
.right .list .item .title {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.right .list .item .title > i {
    font-size: 20px;
    color: #8e9aaf;
    margin-right: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.right .list .item:hover .title > i {
    color: #667eea;
    transform: scale(1.1);
}

.right .list .item .title > .name {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-right: 12px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.right .list .item:hover .title > .name {
    color: #667eea;
}

/* 产品标签样式 */
.right .list .item .title .target {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    margin-right: 6px;
    color: #fff;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.right .list .item .title .re {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.right .list .item .title .hui {
    background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%);
}

.right .list .item .title .jian {
    background: linear-gradient(135deg, #54a0ff 0%, #2e86de 100%);
}

/* 产品编号 */
.right .list .item .item-no {
    color: #8e9aaf;
    font-size: 14px;
    margin: 0 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.right .list .item:hover .item-no {
    color: #6c757d;
}

/* 查看详情按钮 */
.right .list .item > .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #667eea;
    width: 120px;
    height: 36px;
    border-radius: 18px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.right .list .item > .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #15588f 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.right .list .item:hover > .button::before {
    left: 0;
}

.right .list .item:hover > .button {
    color: #fff;
    border-color: #667eea;
    transform: translateX(4px);
}

.right .list .item > .button i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.right .list .item:hover > .button i {
    color: #fff;
    transform: translateX(2px);
}

/* 空状态样式 */
.right .list:empty::after {
    content: '暂无推荐产品';
    display: block;
    width: 100%;
    text-align: center;
    color: #8e9aaf;
    font-size: 14px;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .right .list .item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;
    }

    .right .list .item .title {
        width: 100%;
    }

    .right .list .item .title > .name {
        white-space: normal;
        line-height: 1.4;
    }

    .right .list .item .item-no {
        margin: 0;
        width: 100%;
    }

    .right .list .item > .button {
        width: 100%;
        height: 40px;
        margin: 0;
    }

    .right .list .item:hover > .button {
        transform: none;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.right .list .item {
    animation: fadeInUp 0.5s ease;
}

.right .list .item:nth-child(1) { animation-delay: 0.1s; }
.right .list .item:nth-child(2) { animation-delay: 0.2s; }
.right .list .item:nth-child(3) { animation-delay: 0.3s; }
.right .list .item:nth-child(4) { animation-delay: 0.4s; }
.right .list .item:nth-child(5) { animation-delay: 0.5s; }

/* 微交互效果 */
.right .list .item .title .target {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.right .list .item:hover .title .target {
    animation: none;
    transform: scale(1.1);
}

/* 内容区域样式优化 */
.right > .content {
    width: 100%;
    padding: 40px 0;
    border-bottom: 1px solid #e8ecf0;
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

.right > .content h1,
.right > .content h2,
.right > .content h3 {
    color: #2c3e50;
    margin-bottom: 16px;
}

.right > .content p {
    margin-bottom: 12px;
}

.right > .content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.right > .content li {
    list-style: none;
    position: relative;
    margin-bottom: 8px;
}

.right > .content li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 10px;
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
}

.right > .content img {
    width: auto !important;
    max-width: 100% !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 滚动条样式 */
.right::-webkit-scrollbar {
    width: 6px;
}

.right::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.right::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.right::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}