﻿/* ===== InFortune Product Detail EEAT (Maroon Theme) ===== */
:root {
    --if-maroon: #8B0F2A; /* 主色：酒红（按钮/标题条） */
    --if-maroon-2: #A31233; /* hover / 强调 */
    --if-ink: #1f2937; /* 正文 */
    --if-muted: rgba(31,41,55,.72);
    --if-border: rgba(31,41,55,.12);
    --if-bg: #ffffff;
    --if-soft: rgba(139,15,42,.06); /* 主色淡底 */
    --if-soft-2: rgba(139,15,42,.10);
}

.pd-wrap {
    margin: 0 auto;
    padding: 2px 5px 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC","Microsoft YaHei", sans-serif;
    color: var(--if-ink);
    line-height: 1.7;
}

/* hero 更像你截图：白底 + 酒红边框/强调 */
.pd-hero {
    border-radius: 14px;
    padding: 20px 20px 18px;
    background: var(--if-bg);
    border: 1px solid var(--if-soft-2);
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
 height:auto;
}

.pd-hero-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .1px;
    line-height: 1.28;
    margin-bottom: 8px;
    color: #a10030;
}

.pd-hero-desc {
    font-size: 14.8px;
    color: rgba(31,41,55,.88);
}

.pd-meta {
    margin-top: 10px;
    font-size: 12.6px;
    color: rgba(31,41,55,.62);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pd-meta-dot {
    opacity: .55
}

/* section 卡片：白底、轻阴影、header 酒红线 */
.pd-sec {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid var(--if-border);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.03);
}

.pd-sec-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(180deg, var(--if-soft), rgba(255,255,255,.95));
    border-bottom: 1px solid rgba(139,15,42,.10);
    position: relative;
}

    .pd-sec-head:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--if-maroon);
    }

.pd-badge {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    background: var(--if-maroon);
    border: 1px solid rgba(0,0,0,.05);
}

.pd-sec-title {
    font-size: 15.8px;
    font-weight: 900;
    letter-spacing: .1px;
}

.pd-sec-body {
    padding: 14px 16px 18px;
}

    .pd-sec-body p {
        margin: 8px 0
    }

    .pd-sec-body b {
        font-weight: 900
    }

/* 两列卡片网格 */
.pd-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.pd-card {
    border-radius: 12px;
    border: 1px solid rgba(139,15,42,.12);
    background: rgba(139,15,42,.03);
    padding: 12px 12px 10px;
}

.pd-card-title {
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(31,41,55,.92);
}

.pd-pin {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--if-maroon);
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(139,15,42,.10);
}

.pd-card-desc {
    margin: 8px 0 0;
    font-size: 13.6px;
    color: var(--if-muted);
}

/* 媒体占位更像站内：酒红边框 */
.pd-media {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(139,15,42,.35);
    background: rgba(139,15,42,.03);
    padding: 12px;
}

.pd-media-title {
    font-weight: 900;
    font-size: 13.5px;
    color: rgba(31,41,55,.92);
}

.pd-media-slot {
    margin-top: 10px;
    padding:10px 0; 
    min-height: 150px;
    border-radius: 12px;
    border: 1px solid rgba(139,15,42,.18);
    display: grid;
    place-items: center;
    background: #fff;
    color: rgba(139,15,42,.75);
    font-size: 13px;
}

.pd-media-note {
    margin-top: 8px;
    font-size: 12.5px;
    color: rgba(31,41,55,.60);
}

/* list / link */
.pd-list {
    margin: 8px 0 0;
    padding-left: 18px;
}

    .pd-list li {
        margin: 6px 0
    }

    .pd-list a {
        color: var(--if-maroon);
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .pd-list a:hover {
            color: var(--if-maroon-2);
        }

/* spec table */
.pd-table-wrap {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(139,15,42,.14);
}

.pd-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 14px;
}

    .pd-table th, .pd-table td {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(139,15,42,.10);
        vertical-align: top;
    }

    .pd-table th {
        width: 240px;
        background: rgba(139,15,42,.04);
        text-align: left;
        font-weight: 900;
        color: rgba(31,41,55,.92);
    }

    .pd-table tr:last-child th,
    .pd-table tr:last-child td {
        border-bottom: none;
    }

/* note box / alert */
.pd-note {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(139,15,42,.04);
    border: 1px solid rgba(139,15,42,.16);
    color: rgba(31,41,55,.78);
    font-size: 13.6px;
}

.pd-alert {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(139,15,42,.25);
    background: rgba(139,15,42,.06);
    color: rgba(31,41,55,.85);
}

/* Applications：图标改成图片 + 卡片风格 */
.pd-appgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.pd-app {
    border-radius: 12px;
    border: 1px solid rgba(139,15,42,.12);
    background: rgba(139,15,42,.03);
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pd-app-ico {
    width: 120px;
    height: 120px;
    border-radius: 65px;
    background: #fff;
    border: 1px solid rgba(139,15,42,.18);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
    flex: 0 0 auto;
    overflow: hidden;
    display: grid;
    place-items: center;
}

    .pd-app-ico img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 你们的图如果是正方形icon，建议用 contain */
        display: block;
    }

.pd-app-body {
    flex: 1 1 auto;
}

.pd-app-title {
    font-weight: 900;
    font-size: 14px;
    color: rgba(31,41,55,.92);
}

.pd-app-desc {
    margin-top: 6px;
    font-size: 13.6px;
    color: var(--if-muted);
}

/* FAQ */
.pd-faq .pd-q {
    font-weight: 900;
    margin-top: 10px;
    color: rgba(31,41,55,.92);
}

.pd-faq .pd-a {
    margin-top: 6px;
    color: rgba(31,41,55,.78);
}

/* responsive */
@media (max-width: 860px) {
    .pd-grid2, .pd-appgrid {
        grid-template-columns: 1fr;
    }

    .pd-table {
        min-width: 0;
    }

        .pd-table th {
            width: 42%;
        }

    .pd-hero-title {
        font-size: 20px;
    }
}
/* ===== End ===== */
