/* 产品详情页样式 */

/* 面包屑导航 */
.breadcrumb-section {
    background: #F3F3F3;
    padding: 1rem 0 0 0;
}

.breadcrumb-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-top: 1rem;
}

.breadcrumb-item i {
    margin-right: 0.25rem;
}

/* 产品标题和图片区域 */
.product-hero-section {
    background: #F3F3F3;
}

.product-title-content {
    padding-right: 2rem;
}

.product-category {
    font-size: 1.5rem;
    color: #ff8c42;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title-main {
    font-size: 2rem;
    font-weight: 700;
/*    color: #333;
    margin-bottom: 1.5rem;*/
    line-height: 1.3;
/*    border-bottom: 3px solid #333;
    padding-bottom: 0.75rem;*/
    display: inline-block;
}

.product-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-block;
    background: #E86F00;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .contact-btn:hover {
        background: #d66300;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(232, 111, 0, 0.3);
    }

/* 产品图片区域 */
.product-image-box {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.play-button-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .play-button-circle:hover {
        background: white;
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .play-button-circle i {
        font-size: 1.5rem;
        color: #666;
        margin-left: 4px;
    }

/* 主要内容区域 */
.product-content-section {
    background: white;
}

/* 内容区块 */
.content-section {
    scroll-margin-top: 100px; /* 为锚点跳转留出顶部空间 */
}

.content-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #333;
    display: inline-block;
}

.content-section-body {
    margin-top: 1.5rem;
}

/* 产品参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

    .params-table thead {
        background: #5A5A5A;
    }

        .params-table thead th:first-child {
            background: #4E4E4E;
            color: white;
            width: 35%;
        }

        .params-table thead th:last-child {
            background: #EBB100;
            color: white;
            width: 65%;
        }

    .params-table th {
        padding: 1rem;
        text-align: center;
        font-weight: 600;
        border: 2px solid white;
    }

    .params-table td {
        padding: 1rem;
        border: 2px solid white;
        color: #666;
    }

        .params-table td:first-child {
            text-align: center;
            width: 35%;
        }

        .params-table td:last-child {
            text-align: center;
            width: 65%;
        }

    .params-table tbody tr:nth-child(odd) {
        background: #F1F1F1;
    }

    .params-table tbody tr:nth-child(even) {
        background: #DFDFDF;
    }

/* 技术优势列表 */
.tech-features-list ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

    .tech-features-list li {
        padding: 0.75rem 1rem;
        background: #f9f9f9;
        border-left: 3px solid #4a90e2;
        color: #666;
        font-size: 0.9375rem;
        transition: all 0.3s ease;
    }

        .tech-features-list li:hover {
            background: #f0f0f0;
            border-left-color: #E86F00;
            transform: translateX(5px);
        }

/* 产品应用列表 */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.application-item {
    display: flex;
    gap: 2rem;
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    align-items: flex-start;
}

.application-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    background: white;
}

    .application-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.application-item-content {
    flex: 1;
}

.application-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.application-item-desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.8;
}

/* 相关产品推荐 */
.related-products-section {
    padding: 3rem 0;
    background: white;
}

.related-products-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #E86F00;
    text-align: center;
    margin-bottom: 2.5rem;
}

.related-products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-product-item {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .related-product-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }

.related-product-item-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

    .related-product-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.related-product-item:hover .related-product-item-image img {
    transform: scale(1.05);
}

.related-product-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.related-product-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.related-product-item-arrow {
    color: #E86F00;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.related-product-item:hover .related-product-item-arrow {
    transform: translateX(5px);
}

/* 右侧边栏 */
.sidebar-sticky {
    position: sticky;
    top: 160px;
    align-self: flex-start;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    z-index: 10;
    transition: all 0.3s ease;
}

    /* 当滚动超过内容区域时，右侧边栏悬浮固定 */
    .sidebar-sticky.fixed {
        position: fixed;
        top: 50px;
        /* right和width由JavaScript动态计算，确保与容器对齐 */
        z-index: 2;
        transition: all 0.3s ease;
    }

/* 确保在大屏幕上正确显示 */
@media (min-width: 1024px) {
    .sidebar-sticky.fixed {
        max-height: calc(100vh - 180px);
        overflow-y: auto;
    }
}

/* 侧边栏导航 - 确保导航菜单在滚动时保持可见 */
.sidebar-nav-box {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 11;
    transition: box-shadow 0.3s ease;
}

    .sidebar-nav-box:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-nav-item {
    padding: 1rem 1.5rem;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    display: block;
    position: relative;
}

    .sidebar-nav-item:hover {
        background: #f9f9f9;
        color: #E86F00;
        border-left-color: #E86F00;
    }

    .sidebar-nav-item.active {
        background: #fff5e6;
        color: #E86F00;
        border-left-color: #E86F00;
        font-weight: 600;
    }

/* 侧边栏联系框 */
.sidebar-contact-box {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-contact-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

    .sidebar-contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sidebar-contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.sidebar-contact-info {
    margin-bottom: 1.5rem;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.875rem;
}

    .sidebar-contact-item i {
        margin-right: 0.5rem;
        color: #4a90e2;
        width: 20px;
    }

.sidebar-contact-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: #E86F00;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .sidebar-contact-btn:hover {
        background: #d66300;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(232, 111, 0, 0.3);
    }

/* 响应式设计 */
@media (max-width: 1024px) {
    .applications-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .specs-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .applications-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        position: static !important;
        max-height: none;
    }

        .sidebar-sticky.fixed {
            position: static !important;
            width: auto !important;
            right: auto !important;
        }
}
