/* ===== 产品详情页特有样式 ===== */

/* ===== 产品详情（画廊 + 信息） ===== */
.product-detail {
    max-width: 1440px;
    margin: 40px auto;
    padding: 0;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左侧画廊 */
.product-gallery {
    flex: 1;
    min-width: 0;
}
.gallery-main {
    width: 100%;
    margin-bottom: 15px;
}
.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}
.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    opacity: 1;
    border-color: #e67e22;
}

/* 右侧产品信息 */
.product-info {
    flex: 1;
    min-width: 0;
}
.product-info h1 {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 15px;
}
.product-info .description {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}
.product-info .applications {
    margin-bottom: 25px;
}
.product-info .applications h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.product-info .applications ul {
    list-style: disc inside;
    color: #555;
}
.contact-button {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 25px;
    transition: background 0.3s;
}
.contact-button:hover {
    background: #cf6d1a;
}
.share-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 15px;
}
.share-icons span {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}
.share-icons a {
    color: #666;
    font-size: 18px;
    transition: color 0.3s;
}
.share-icons a:hover {
    color: #e67e22;
}

/* ===== 产品参数 + 详情（两栏布局） ===== */
.product-specs-section {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧栏（覆盖 core.css 中 .specs-sidebar 的透明背景） */
.specs-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
    font-style: normal;
    color: inherit;
    text-align: left;
    border-radius: 0;
}

/* 右侧主内容 */
.specs-main {
    flex: 1;
    min-width: 0;
}
.specs-main h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}
.specs-main hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 25px 0;
}

/* ===== 参数网格 ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 10px;
}
.spec-item {
    text-align: center;
    padding: 10px 5px;
}
.spec-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}
.specs-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 30px 0;
}

/* ===== 产品详情正文 ===== */
.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.detail-content h3 {
    font-size: 20px;
    margin: 25px 0 10px;
    padding-left: 20px;
    position: relative;
    font-weight: 600;
}
.detail-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #e67e22;
    border-radius: 1px;
}
.detail-content h4 {
    font-size: 18px;
}

/* ===== Related Products（左图右文） ===== */
.related-product-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}
.related-product-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}
.related-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-product-info {
    flex: 1;
}
.related-product-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
    line-height: 1.3;
}
.related-product-info h4 a {
    color: #1a1a1a;
    text-decoration: none;
}
.related-product-info h4 a:hover {
    color: #e67e22;
}
.related-product-info p {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .product-detail {
        flex-direction: column;
        padding: 0 15px;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-specs-section {
        flex-direction: column;
        padding: 0 15px;
    }
    .specs-sidebar {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .product-detail {
        gap: 30px;
    }
    .product-info h1 {
        font-size: 26px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .gallery-thumbs .thumb {
        width: 50px;
        height: 50px;
    }
}