
/* 产品详情页样式 */
:root {
    --primary-color: #4B7BE5;
    --secondary-color: #436abf;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #eee;
}

/* 通用布局样式 */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. 产品信息区域样式 */
.product-info-section {
    padding: 50px 0;
    background-color: #fff;
}

.product-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* 左侧产品图片 */
.product-image {
    height: 100%;
    flex: 0 0 calc(33% - 20px);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

/* 中间产品信息 */
.product-details {
    flex: 0 0 calc(42% - 20px);
}

.product-title {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-brief {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}
.product-brief p{
    max-height: 102px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.product-features h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 右侧联系信息 */
.contact-info {
    flex: 0 0 calc(25% - 20px);
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.phone-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234B7BE5"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.email-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234B7BE5"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.wechat-icon {
    background-image: url('data:image/svg+xml;utf8,<svg t="1743928459204" class="icon" viewBox="0 0 1170 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2636" width="150" height="150"><path d="M331.428571 263.428571q0-23.428571-14.285714-37.714285t-37.714286-14.285715q-24.571429 0-43.428571 14.571429T217.142857 263.428571q0 22.285714 18.857143 36.857143t43.428571 14.571429q23.428571 0 37.714286-14t14.285714-37.428572z m424.571429 289.714286q0-16-14.571429-28.571428t-37.428571-12.571429q-15.428571 0-28.285714 12.857143T662.857143 553.142857q0 16 12.857143 28.857143t28.285714 12.857143q22.857143 0 37.428571-12.571429t14.571429-29.142857z m-134.857143-289.714286q0-23.428571-14-37.714285T569.714286 211.428571q-24.571429 0-43.428572 14.571429T507.428571 263.428571q0 22.285714 18.857143 36.857143t43.428572 14.571429q23.428571 0 37.428571-14T621.142857 263.428571z m362.857143 289.714286q0-16-14.857143-28.571428t-37.142857-12.571429q-15.428571 0-28.285714 12.857143T890.857143 553.142857q0 16 12.857143 28.857143t28.285714 12.857143q22.285714 0 37.142857-12.571429t14.857143-29.142857z m-152-226.857143q-17.714286-2.285714-40-2.285714-96.571429 0-177.714286 44T486.571429 487.142857 440 651.428571q0 44.571429 13.142857 86.857143-20 1.714286-38.857143 1.714286-14.857143 0-28.571428-0.857143t-31.428572-3.714286-25.428571-4-31.142857-6-28.571429-6l-144.571428 72.571429 41.142857-124.571429Q0 551.428571 0 387.428571q0-96.571429 55.714286-177.714285t150.857143-127.714286T414.285714 35.428571q100.571429 0 190 37.714286t149.714286 104.285714T832 326.285714z m338.285714 320.571429q0 66.857143-39.142857 127.714286T1025.142857 885.142857l31.428572 103.428572-113.714286-62.285715q-85.714286 21.142857-124.571429 21.142857-96.571429 0-177.714285-40.285714T512.857143 797.714286 466.285714 646.857143t46.571429-150.857143T640.571429 386.571429t177.714285-40.285715q92 0 173.142857 40.285715t130 109.714285T1170.285714 646.857143z" p-id="2637" fill="%234B7BE5"></path></svg>');
}

.wechat-qrcode {
    text-align: center;
    margin-top: 20px;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    border: 5px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.wechat-qrcode p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 2. 产品内容区域样式 */
.product-content-section {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.product-content {
    background: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.product-content h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.product-content h3:first-child {
    margin-top: 0;
}

.product-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* 产品规格表 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    width: 30%;
    background-color: var(--light-gray);
    color: var(--text-color);
}

table tr:last-child th,
table tr:last-child td {
    border-bottom: none;
}

/* 使用场景 */
.usage-scenarios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.scenario-item {
    flex: 0 0 calc(33.33% - 14px);
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.scenario-item:hover {
    transform: translateY(-5px);
}

.scenario-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.scenario-item h4 {
    padding: 15px 15px 5px;
    font-size: 16px;
    color: var(--text-color);
}

.scenario-item p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 3. 相关产品区域样式 */
.related-products-section {
    padding: 50px 0;
    background-color: #fff;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card .product-image {
    height: 180px;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

.product-card .product-info {
    padding: 15px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.product-card h3 a:hover {
    color: var(--primary-color);
}

.product-card .product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-info-wrapper {
        flex-direction: column;
    }
    
    .product-image, .product-details, .contact-info {
        flex: 0 0 100%;
    }
    
    .scenario-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .related-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenario-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .related-products {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .wechat-qrcode img {
        width: 100px;
        height: 100px;
    }
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background-color: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* 分类标签样式 */
.category-tag {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.category-tag a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.category-tag a:hover {
    text-decoration: underline;
}

/* 产品标签样式 */
.product-tags {
    margin-bottom: 15px;
}

.product-tags .tag {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 8px;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
}

.product-tags .istop {
    background-color: #F56C6C;
}

.product-tags .ishot {
    background-color: #E6A23C;
}

/* 品牌信息样式 */
.product-brand, .product-update {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.product-brand .brand-name {
    font-weight: bold;
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 12px;
    }
    
    .category-tag {
        font-size: 13px;
    }
}