﻿/* 产品详情页面样式 */

/* ========== 电解槽产品页面布局 ========== */
section.product-detail-section {
    padding: 60px 0 !important;
    background: #f8f9fa !important;
    min-height: calc(100vh - 300px);
}

section.product-detail-section .container {
    max-width: 1400px;
}

section.product-detail-section .product-layout {
    display: grid !important;
    grid-template-columns: 300px 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

/* 左侧导航�?*/
section.product-detail-section .product-sidebar {
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 20px;
    color: #0ABAB5;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E0F5F4;
    font-weight: 600;
}

.product-nav .nav-category {
    margin-bottom: 20px;
}

.product-nav .nav-category:last-child {
    margin-bottom: 0;
}

.product-nav .nav-category h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #E0F5F4 0%, #d4edda 100%);
    border-radius: 6px;
    font-weight: 600;
}

.product-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-nav ul li {
    margin-bottom: 2px;
}

.product-link {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.product-link:hover {
    background: #f8fdf9;
    color: #0ABAB5;
    border-left-color: #81D8D0;
}

.product-link.active {
    background: linear-gradient(135deg, #E0F5F4 0%, #d4edda 100%);
    color: #0ABAB5;
    font-weight: 600;
    border-left-color: #0ABAB5;
}

/* 右侧产品详情 */
section.product-detail-section .product-content {
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    min-height: 600px;
}

.product-content .product-info h2 {
    font-size: 28px;
    color: #0ABAB5;
    margin-bottom: 8px;
    font-weight: 600;
}

/* 产品图片区域 - 科技感设�?*/
section.product-detail-section .product-image {
    margin: 25px 0;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    border: 1px solid rgba(10, 186, 181, 0.15);
    box-shadow:
        0 4px 20px rgba(10, 186, 181, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* 科技感装饰线?*/
section.product-detail-section .product-image::before {
    content: none;
    display: none;
}

section.product-detail-section .product-image::after {
    content: none;
    display: none;
}

section.product-detail-section .product-image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

section.product-detail-section .product-image img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 12px 30px rgba(10, 186, 181, 0.2));
}

.placeholder-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    color: #999;
    font-size: 15px;
    border: 2px dashed #ddd;
}

/* 产品规格区域 */
.product-content .product-specs {
    margin: 30px 0;
}

.product-content .product-specs h3,
.product-content .product-features h3,
.product-content .product-description h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E0F5F4;
    position: relative;
}

.product-content .product-specs h3::after,
.product-content .product-features h3::after,
.product-content .product-description h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #81D8D0, #0ABAB5);
}

/* 规格表格样式 */
.product-content .specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.product-content .specs-table th,
.product-content .specs-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.product-content .specs-table th {
    background: linear-gradient(135deg, #f8fdf9 0%, #E0F5F4 100%);
    color: #0ABAB5;
    font-weight: 600;
    width: 35%;
}

.product-content .specs-table td {
    color: #444;
}

.product-content .specs-table tr:hover {
    background: #fafffe;
}

.product-content .specs-table tr:last-child th,
.product-content .specs-table tr:last-child td {
    border-bottom: none;
}

/* 特性列�?*/
.product-content .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-content .features-list li {
    padding: 12px 15px 12px 40px;
    position: relative;
    color: #555;
    background: #f8fdf9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-content .features-list li:hover {
    background: #E0F5F4;
    transform: translateX(5px);
}

.product-content .features-list li::before {
    content: '�?;
 position: absolute;
    left: 15px;
    color: #0ABAB5;
    font-weight: bold;
    font-size: 14px;
}

/* 产品描述 */
.product-content .product-description {
    margin-top: 30px;
}

.product-content .product-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #81D8D0;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 240px 1fr;
        gap: 25px;
    }

    .product-content .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
        max-height: none;
    }

    .product-content {
        padding: 25px;
    }

    .product-content .product-info h2 {
        font-size: 22px;
    }

    .product-content .product-image {
        padding: 20px;
        min-height: 200px;
    }

    .product-content .product-image img {
        max-height: 280px;
    }
}

/* ========== 其他产品详情页面样式 ========== */

/* 产品介绍区域 */
.product-intro-section {
    padding: 80px 0;
    background: #fff;
}

.product-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tags .tag {
    background: linear-gradient(135deg, #E0F5F4 0%, #d4edda 100%);
    color: #0ABAB5;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 特点区域 */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 15px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #81D8D0 0%, #0ABAB5 100%);
    border-radius: 50%;
    color: #fff;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 产品列表区域 */
.products-list-section {
    padding: 80px 0;
    background: #fff;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.product-detail-card:nth-child(even) {
    direction: rtl;
}

.product-detail-card:nth-child(even)>* {
    direction: ltr;
}

.product-detail-image {
    position: sticky;
    top: 100px;
    background: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.product-detail-info h3 {
    font-size: 26px;
    color: #0ABAB5;
    margin-bottom: 15px;
}

.product-detail-info h4 {
    font-size: 18px;
    color: #333;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0F5F4;
}

.product-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 规格表格 */
.specs-table {
    margin-bottom: 20px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.specs-table th {
    background: #f8fdf9;
    color: #0ABAB5;
    font-weight: 500;
    width: 40%;
}

.specs-table td {
    color: #333;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

/* 功能列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '�?;
 position: absolute;
    left: 0;
    color: #0ABAB5;
    font-weight: bold;
}

/* 应用领域 */
.applications-section {
    padding: 80px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.application-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.application-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.application-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 响应�?*/
@media (max-width: 992px) {
    .product-intro-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-detail-card:nth-child(even) {
        direction: ltr;
    }

    .product-detail-image {
        position: static;
    }
}

@media (max-width: 768px) {

    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
}