﻿/* 产品详情页 product-detail.html */

.page-product-detail {
    background: #fff;
}

.page-product-detail .main-nav li.active a::after {
    width: 48px;
    height: 3px;
    bottom: 18px;
    border-radius: 2px;
    background: #fff;
}

/* 顶区：与产品列表页一致的平铺底图 + 与内容区对齐 */
.pd-hero {
    margin-top: 80px;
    background-color: transparent;
    background-image: url(https://bucket.tzgj333.cn/gwtp/cpzx/img_banner.png);
    background-repeat: repeat;
    overflow: hidden;
}

.pd-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 40px 40px;
    box-sizing: border-box;
}

.pd-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pd-breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    text-decoration: underline;
}

.pd-breadcrumb span[aria-hidden="true"] {
    color: #cbd5e1;
    user-select: none;
}

.pd-cat {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #1e40af;
    font-weight: 600;
}

.pd-hero h1 {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: bold;
    color: #1e293b;
    letter-spacing: 2px;
    line-height: 1.35;
    max-width: 900px;
}

.pd-main {
    background: #f5f7fa;
    padding: 40px 0 64px;
}

.pd-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
    align-items: start;
}

.pd-article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.06);
    padding: 32px 36px 40px;
}

.pd-visual {
    height: 280px;
    border-radius: 8px;
    background-color: #1e3a8a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 24px;
}

.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pd-tags span {
    font-size: 12px;
    color: #5a6272;
    background: #eef2f8;
    padding: 4px 10px;
    border-radius: 4px;
}

.pd-lead {
    font-size: 15px;
    color: #475569;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 32px;
}

.pd-block {
    margin-bottom: 28px;
}

.pd-block:last-of-type {
    margin-bottom: 0;
}

.pd-block h2 {
    margin: 0 0 14px;
    font-size: 17px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.pd-block ul {
    margin: 0;
    padding-left: 1.15em;
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
}

.pd-block li + li {
    margin-top: 8px;
}

.pd-spec {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pd-spec th,
.pd-spec td {
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.pd-spec th {
    width: 140px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.pd-spec td {
    color: #334155;
}

.pd-back {
    display: inline-block;
    margin-top: 32px;
    padding: 10px 22px;
    background: #1e3a8a;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.pd-back:hover {
    background: #2647a8;
}

.pd-aside-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.06);
    padding: 24px 22px;
}

.pd-aside-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 1px;
}

.pd-aside-card p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
}

.pd-aside-card p:last-child {
    margin-bottom: 0;
}

.pd-aside-card strong {
    color: #1e293b;
    font-size: 15px;
}

@media (max-width: 992px) {
    .pd-hero {
        margin-top: 64px;
    }

    .pd-hero-inner {
        padding: 28px 20px 32px;
    }

    .pd-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .pd-article {
        padding: 24px 20px 32px;
    }

    .pd-visual {
        height: 220px;
    }

    .pd-spec th {
        width: 110px;
    }
}
