/* ===== 产品页样式 ===== */

/* 页面Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 产品分类导航 */
.product-nav {
    background: var(--bg-white);
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 40px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 产品区块 */
.product-section {
    padding: 60px 0;
}

.product-section.bg-light {
    background: var(--bg-light);
}

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

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 产品列表 */
.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-card .product-img {
    position: relative;
    height: 100%;
    min-height: 250px;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--text-light);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius);
}

.product-badge.hot {
    background: var(--danger);
}

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

.product-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-desc p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-params {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.param-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-item .label {
    font-size: 12px;
    color: var(--text-muted);
}

.param-item .value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

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

.product-contact .btn {
    flex: 1;
    padding: 10px 20px;
    font-size: 13px;
}

.product-contact .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.product-contact .btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 992px) {
    .nav-item {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .product-list {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        grid-template-columns: 1fr;
    }
    
    .product-card .product-img {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .nav-list {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .nav-item {
        padding: 15px 20px;
        white-space: nowrap;
    }
    
    .nav-item svg {
        display: none;
    }
    
    .product-content h3 {
        font-size: 18px;
    }
    
    .product-params {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-contact {
        flex-direction: column;
    }
}/* ===== products.css 琛ュ厖鏍峰紡 ===== */

/* 椤甸潰Banner */
.page-banner-content .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.page-banner-content .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-banner-content .breadcrumb a:hover { color: #fff; }

/* 浜у搧鍒嗙被Tab */
.products-list-section { padding: 60px 0 80px; }

.plist-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.ptab-btn {
    padding: 10px 24px;
    border: 2px solid #1565c0;
    border-radius: 50px;
    background: transparent;
    color: #1565c0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
}

.ptab-btn:hover { background: rgba(21,101,192,0.08); }
.ptab-btn.active { background: #1565c0; color: #fff; }

/* 浜у搧鍒嗙粍 */
.plist-group { margin-bottom: 60px; }

.plist-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.group-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #1565c0, transparent);
}

.plist-group-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.group-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

/* 浜у搧缃戞牸 */
.plist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 浜у搧鍗＄墖 */
.plist-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.plist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(21,101,192,0.18);
    border-color: #1565c0;
}

/* 浜у搧鍥剧墖 */
.plist-img {
    position: relative;
    height: 200px;
    background: #f5f7fa;
    overflow: hidden;
}

.plist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.plist-card:hover .plist-img img { transform: scale(1.05); }

.plist-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: #1565c0;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plist-badge.hot { background: #e74c3c; }

/* 鍥剧墖鎮诞灞?*/
.plist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.plist-card:hover .plist-overlay { opacity: 1; }

.plist-view-btn,
.plist-call-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
}

.plist-view-btn {
    background: #fff;
    color: #1565c0;
}

.plist-call-btn {
    background: #1565c0;
    color: #fff;
}

/* 浜у搧淇℃伅 */
.plist-info { padding: 16px; }

.plist-cat {
    font-size: 12px;
    color: #1565c0;
    font-weight: 500;
    margin-bottom: 6px;
}

.plist-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.plist-info h3 a {
    color: inherit;
    text-decoration: none;
}

.plist-info h3 a:hover { color: #1565c0; }

.plist-info > p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plist-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.plist-specs span {
    padding: 3px 8px;
    background: #f0f4ff;
    color: #1565c0;
    border-radius: 4px;
    font-size: 12px;
}

.plist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.plist-detail-link {
    font-size: 13px;
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.plist-detail-link:hover { text-decoration: underline; }

.plist-phone {
    width: 32px;
    height: 32px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.plist-phone:hover { background: #1565c0; }
.plist-phone svg { width: 16px; height: 16px; color: #1565c0; }
.plist-phone:hover svg { color: #fff; }

/* FAQ入口横幅 */
.plist-faq-banner {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    padding: 60px 0;
    margin: 40px 0;
}

.faq-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.faq-banner-content > div h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.faq-banner-content > div p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

.faq-banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-banner-icon svg { width: 36px; height: 36px; color: #fff; }

.faq-banner-content > div {
}

/* CTA */
.plist-cta {
    background: #f5f7fa;
    padding: 60px 0;
}

.cta-content { text-align: center; }
.cta-content h2 { font-size: 26px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.cta-content > p { color: #888; font-size: 15px; margin-bottom: 30px; }

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; font-weight: 600; }

.btn-white { background: #fff; color: #1565c0; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { background: #f0f0f0; color: #0d47a1; transform: translateY(-2px); }
.btn-white svg { width: 18px; height: 18px; }

.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* 鍝嶅簲寮?*/
@media (max-width: 1024px) {
    .plist-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .plist-cta { padding-top: 0; padding-bottom: 60px; }
    .products-list-section { padding-top: 0; padding-bottom: 0; }
    .plist-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .plist-img { height: 120px; }
    .plist-info { padding: 10px; }
    .plist-cat { font-size: 11px; }
    .plist-info h3 { font-size: 14px; }
    .plist-info p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .plist-specs { gap: 4px; }
    .plist-specs span { font-size: 10px; padding: 2px 6px; }
    .plist-price { padding-top: 8px; }
    .price-label { font-size: 11px; }
    .price-value { font-size: 14px; }
    .faq-banner-content { flex-direction: column; text-align: center; }
    /* 移动端隐藏悬浮按钮层 */
    .plist-overlay { display: none; }
    /* 移动端整个卡片可点击跳转 */
    .plist-card { cursor: pointer; }
}

/* 在线咨询按钮 - 中灰色轮廓，清晰可见 */
.btn-outline-gray {
    background: transparent;
    color: #555;
    border: 2px solid #999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-outline-gray:hover {
    background: rgba(0,0,0,0.08);
    border-color: #555;
    color: #333;
    transform: translateY(-2px);
}
