/* ============================================================
   产品详情页（电源适配器）
   ============================================================ */

.pd-hero {
    padding: 48px 0 56px;
    background: #f7f9fb;
    border-bottom: 1px solid #eee;
}
.pd-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.pd-hero-inner {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}
.pd-gallery { flex: 0 0 44%; min-width: 0; }
.pd-main {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.pd-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}
.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 74px;
    height: 74px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-thumb:hover,
.pd-thumb.active { border-color: var(--primary); }

.pd-summary { flex: 1; min-width: 0; padding-top: 4px; }
.pd-eyebrow {
    display: inline-block;
    font-size: 13px;
    color: var(--primary);
    background: rgba(15, 131, 210, .08);
    border-radius: 3px;
    padding: 4px 10px;
    margin-bottom: 14px;
}
.pd-summary h1 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
}
.pd-subtitle {
    font-size: 15px;
    color: #777;
    line-height: 1.8;
    margin: 0 0 20px;
}
.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.pd-badges span {
    font-size: 13px;
    color: #444;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 7px 12px;
}
.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}
.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all .25s;
}
.pd-btn.primary {
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}
.pd-btn.primary:hover { background: #0c6fb1; border-color: #0c6fb1; }
.pd-btn.ghost {
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
}
.pd-btn.ghost:hover { background: rgba(15, 131, 210, .07); }

.pd-certs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px dashed #e3e3e3;
}
.pd-certs .pd-label { font-size: 13px; color: #999; margin-right: 4px; }
.pd-certs i {
    font-style: normal;
    font-size: 12px;
    color: #555;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 4px 9px;
}
.pd-moq { font-size: 13px; color: #888; margin: 12px 0 0; }

/* ---------- 通用区块 ---------- */
.pd-section { padding: 56px 0; background: #fff; }
.pd-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pd-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0 0 28px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.2;
}

/* 产品特点 */
.pd-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
}
.pd-features li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}
.pd-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(15, 131, 210, .1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 规格参数 */
.pd-specs { background: #f7f9fb; }
.pd-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.pd-spec-block {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
    overflow: hidden;
}
.pd-spec-block h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
    padding: 14px 20px;
    background: #f2f5f8;
    border-bottom: 1px solid #ececec;
}
.pd-spec-block table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.pd-spec-block tr + tr { border-top: 1px solid #f0f0f0; }
.pd-spec-block th {
    width: 40%;
    text-align: left;
    font-weight: 500;
    color: #888;
    padding: 11px 20px;
    background: #fcfcfc;
    vertical-align: top;
}
.pd-spec-block td {
    color: #333;
    padding: 11px 20px;
    line-height: 1.6;
}

/* 核心参数 */
.pd-params {
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}
.pd-params h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
    padding: 12px 18px;
    background: #f2f5f8;
    border-bottom: 1px solid #e8e8e8;
}
.pd-params dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
}
.pd-params dl > div {
    display: flex;
    gap: 10px;
    padding: 10px 18px;
    border-top: 1px solid #f2f2f2;
    font-size: 14px;
    line-height: 1.6;
}
.pd-params dl > div:nth-child(-n+2) { border-top: none; }
.pd-params dt {
    flex: 0 0 80px;
    color: #999;
    margin: 0;
}
.pd-params dd { margin: 0; color: #333; }

/* 应用领域 */
.pd-apps { border-top: 1px solid #f0f0f0; }
.pd-apps .pd-features { margin-bottom: 8px; }
.pd-scene-imgs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}
.pd-scene-imgs figure { margin: 0; }
.pd-scene-imgs img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.pd-scene-imgs figcaption {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* 相关产品 */
.pd-related { background: #f7f9fb; }

/* 响应式 */
@media (max-width: 992px) {
    .pd-hero-inner { flex-direction: column; gap: 30px; }
    .pd-gallery { flex: none; width: 100%; max-width: 520px; margin: 0 auto; }
    .pd-spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pd-hero { padding: 28px 0 36px; }
    .pd-summary h1 { font-size: 23px; }
    .pd-section { padding: 38px 0; }
    .pd-title { font-size: 20px; margin-bottom: 20px; }
    .pd-features { grid-template-columns: 1fr; gap: 10px; }
    .pd-btn { width: 100%; }
    .pd-actions { flex-direction: column; }
    .pd-params dl { grid-template-columns: 1fr; }
    .pd-params dl > div:nth-child(2) { border-top: 1px solid #f2f2f2; }
}
