/* 产品详情页特定样式 */
.product-hero {
    height: 40vh;
    min-height: 300px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../images/products/iccp-smart-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-container {
    display: flex;
    padding: 60px 0;
}

/* 左侧产品目录样式 */
.product-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 0;
    margin-right: 40px;
}

.product-sidebar h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    padding: 0 25px 15px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.product-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-menu > li {
    margin: 0;
    position: relative;
}

.product-menu > li > a {
    display: block;
    padding: 15px 25px;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.product-menu > li > a:hover,
.product-menu > li.active > a {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.product-menu > li > a > i {
    margin-right: 10px;
}

.product-menu > li > a > .toggle-icon {
    position: absolute;
    right: 25px;
    top: 18px;
    transition: transform 0.3s ease;
}

.product-menu > li.active > a > .toggle-icon {
    transform: rotate(90deg);
}

.submenu-products {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #f0f2f5;
}

.product-menu > li.active .submenu-products {
    max-height: 500px;
}

.submenu-products li a {
    display: block;
    padding: 10px 25px 10px 50px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.submenu-products li a:hover,
.submenu-products li.active a {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

/* 右侧产品详情样式 */
.product-detail {
    flex-grow: 1;
}

.product-detail h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.product-detail h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 40px 0 20px;
}

.product-detail p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.product-images {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-end;
    justify-items: center;
}

.product-image-main {
    flex: 1;
    min-width: 300px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.product-image-main img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-height: 335px;
    max-width: 445px;
}

.product-image-structure {
    flex: 1;
    min-width: 300px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.product-image-structure img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-height: 335px;
    max-width: 445px;
}

.product-image-main2 {
    flex: 1;
    min-width: 300px;
}

.product-image-main2 img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.product-image-structure2 {
    flex: 1;
    min-width: 300px;
}

.product-image-structure2 img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.product-specs {
    margin: 40px 0;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    background-color: #f0f2f5;
    font-weight: 600;
    color: var(--primary-color);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.application-cases {
    margin: 40px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.case-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
}

.features-list {
    margin: 30px 0;
}

.features-list ul {
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    list-style-type: none;
}

.features-list li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }
    
    .product-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .product-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
}