/* 产品详情页面样式 */

/* 面包屑导航 */
.breadcrumb-section {
    background-color: #f5f7fa;
    padding: 15px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e1e4e8;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

/* 产品详情 */
.product-detail {
    padding: 50px 0;
    background-color: #fff;
}

.product-overview {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

/* 产品图片展示 */
.product-gallery {
    flex: 1;
    max-width: 500px;
}

.main-image {
    width: 100%;
    height: 400px;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #f0f5ff;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: #ccc;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息 */
.product-info {
    flex: 1;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-desc {
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn-primary,
.product-actions .btn-secondary {
    padding: 12px 25px;
}

/* 产品标签页 */
.product-tabs {
    margin-bottom: 50px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #e1e4e8;
    margin-bottom: 30px;
}

.tab-item {
    padding: 15px 25px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-item:hover {
    color: var(--primary-color);
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 技术规格 */
.specs-table {
    width: 100%;
    overflow-x: auto;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background-color: #f0f5ff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e1e4e8;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    width: 30%;
    font-weight: 500;
}

/* 应用场景 */
.application-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.application-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: #f9fafc;
    border-radius: 8px;
    transition: var(--transition);
}

.application-item:hover {
    background-color: #f0f5ff;
    transform: translateY(-3px);
}

.application-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.application-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* 成功案例 */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-item {
    display: flex;
    gap: 30px;
    background-color: #f9fafc;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.case-item:hover {
    background-color: #f0f5ff;
    transform: translateY(-3px);
}

.case-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.case-content {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-content p {
    margin-bottom: 15px;
    flex: 1;
}

/* 技术支持 */
.support-content {
    padding: 0 20px;
}

.support-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.support-content p {
    margin-bottom: 20px;
}

.support-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.support-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.support-content li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-support {
    background-color: #f9fafc;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method i {
    color: var(--primary-color);
    font-size: 18px;
}

/* 相关产品 */
.related-products {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.product-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.product-slider .product-item {
    min-width: 300px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-slider .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-slider .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slider .product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-slider .product-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-slider .product-content p {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

/* 发布人信息样式 */
.publisher-info {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
}

.publisher-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #0056b3;
}

.publisher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publisher-details {
    flex: 1;
}

.publisher-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.publisher-phone {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #0056b3;
    margin: 0;
}

.publisher-phone i {
    margin-right: 8px;
    color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-overview {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
    
    .application-list {
        grid-template-columns: 1fr;
    }
    
    .case-item {
        flex-direction: column;
    }
    
    .case-image {
        width: 100%;
    }
    
    .case-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .tab-header {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tab-item {
        padding: 15px 15px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .publisher-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .publisher-avatar {
        margin: 0 auto 10px;
    }
    
    .publisher-details {
        width: 100%;
        text-align: center;
    }
} 