/* 产品详情页专属样式 */
.product-detail-wrap { padding: 120px 0 80px; }
.detail-row { display: flex; flex-wrap: wrap; gap: 40px; }
.detail-col-left { flex: 1; min-width: 320px; }
.detail-col-right { flex: 1; min-width: 320px; }

/* 产品图片轮播 */
.product-gallery { background: white; border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.main-img { background: #f8f9fa; padding: 40px; text-align: center; border-radius: 8px; margin-bottom: 16px; }
.main-img img { max-width: 100%; max-height: 400px; }
.thumb-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.thumb-item { width: 80px; height: 80px; background: #f8f9fa; border-radius: 6px; padding: 8px; cursor: pointer; border: 2px solid transparent; }
.thumb-item.active { border-color: var(--silver-blue); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; }

/* 产品基础信息 */
.product-basic { background: white; border-radius: 12px; padding: 30px; box-shadow: var(--shadow-sm); }
.product-badge { display: inline-block; background: var(--silver-blue); color:white; padding:4px 12px; border-radius:30px; font-size:12px; margin-bottom: 12px; }
.product-name { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.product-sku { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.product-price-box { padding: 16px; background: #f8f9fa; border-radius: 8px; margin-bottom: 24px; }
.price-label { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.price-value { font-size: 24px; color: var(--tech-blue); font-weight: 700; }
.price-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.product-spec-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.spec-label { color: var(--text-muted); }
.spec-value { font-weight: 500; }
.inquiry-box { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.inquiry-input { flex: 1; min-width: 200px; padding: 10px 16px; border: 1px solid var(--border-light); border-radius: 4px; outline: none; }
.inquiry-input:focus { border-color: var(--silver-blue); }

/* 产品参数/详情模块 */
.product-tabs { display: flex; background: white; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
.tab-btn { flex: 1; padding: 16px; text-align: center; cursor: pointer; border: none; background: white; font-weight: 500; transition: var(--transition); border-bottom: 3px solid transparent; }
.tab-btn.active { border-bottom-color: var(--silver-blue); color: var(--silver-blue); }
.tab-content { background: white; padding: 30px; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.param-table { width: 100%; border-collapse: collapse; }
.param-table th, .param-table td { padding: 12px 16px; border: 1px solid var(--border-light); text-align: left; }
.param-table th { background: #f8f9fa; color: var(--text-dark); font-weight: 500; width: 30%; }
.detail-content h4 { font-size: 18px; margin: 24px 0 12px; color: var(--tech-blue); }
.detail-content p { margin-bottom: 16px; line-height: 1.8; }
.detail-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* 新增：推荐产品滑动模块样式 */
.related-products {
    margin: 80px 0 40px;
    padding: 40px 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.related-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 24px;
}
.related-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.related-desc {
    color: var(--text-muted);
    font-size: 14px;
}
.related-slider {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}
.slider-wrapper {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}
.related-card {
    flex: 0 0 300px;
    background: var(--pearl-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.related-img {
    width: 100%;
    height: 180px;
    background: #f0f2f5;
    padding: 5px;
    text-align: center;
}
.related-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.related-info {
    padding: 20px;
}
.related-cat {
    font-size: 12px;
    color: var(--tech-blue);
    font-weight: 500;
    margin-bottom: 8px;
}
.related-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.related-price {
    font-size: 14px;
    color: var(--tech-blue);
    font-weight: 700;
    margin-bottom: 16px;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.slider-btn:hover {
    background: var(--silver-blue);
    color: white;
    border-color: var(--silver-blue);
}
.slider-prev {
    left: 8px;
}
.slider-next {
    right: 8px;
}
/* 移动端隐藏按钮，使用原生滚动 */
@media (max-width:768px) {
    .slider-btn {
        display: none;
    }
    .related-slider {
        padding: 0 24px;
    }
    .slider-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .related-card {
        scroll-snap-align: start;
        flex: 0 0 280px;
    }
}

/* 响应式适配 */
@media (max-width:992px) {
    .nav-links { display:none; }
    .hamburger { display:flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-name { font-size: 24px; }
}
@media (max-width:768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .float-contact { width:48px; height:48px; font-size:18px; }
    .detail-row { gap: 20px; }
    .product-price-box { padding: 12px; }
    .price-value { font-size: 20px; }
    .inquiry-box { flex-direction: column; }
    .related-title { font-size: 20px; }
}

/*////补充样式20260519*/
.a-no-style{all: unset; /* 清除所有默认样式 */cursor: pointer;/* 可选：保留手型光标 */}

section { padding: 70px 0; }