/* 产品列表 · 方案 A：分组目录 */

.pc-hero {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, 0.12), transparent 55%),
        linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
    text-align: center;
}
[data-theme="dark"] .pc-hero {
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, 0.18), transparent 55%),
        linear-gradient(180deg, #0c0c0e 0%, #111113 100%);
}
.pc-hero__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-secondary, #6e6e73);
}
.pc-hero__title {
    margin: 0 0 0.85rem;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--text-primary, #1d1d1f);
}
.pc-hero__lead {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary, #6e6e73);
}
.pc-hero__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}
.pc-hero__nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0071e3;
    text-decoration: none;
}
.pc-hero__nav a:hover { text-decoration: underline; }

.pc-groups { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.pc-group { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.pc-group__head { margin-bottom: 1.5rem; max-width: 40rem; }
.pc-group__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary, #1d1d1f);
}
.pc-group__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-secondary, #6e6e73);
}

.pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}
.pc-row {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 0;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-card, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .pc-row {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
.pc-row__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #eef2f7;
    overflow: hidden;
}
.pc-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.pc-row--external .pc-row__media {
    display: grid;
    place-items: center;
    background:
        radial-gradient(80% 70% at 60% 40%, rgba(36, 91, 227, 0.12) 0%, transparent 55%),
        radial-gradient(70% 60% at 30% 70%, rgba(23, 185, 174, 0.1) 0%, transparent 50%),
        linear-gradient(165deg, #f4f7fc 0%, #e8eef8 100%);
    padding: 1.25rem;
}
.pc-row--external .pc-row__media img {
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 72%;
    object-fit: contain;
}
.pc-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem);
    min-width: 0;
}
.pc-row__name {
    margin: 0;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary, #1d1d1f);
}
.pc-row__pitch {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-secondary, #6e6e73);
}
.pc-row__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* P2：标签改为克制文本元数据，非装饰 pill */
.pc-row__tags li {
    padding: 0;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary, #6e6e73);
    background: transparent;
}
.pc-row__tags li:not(:last-child)::after {
    content: '·';
    margin: 0 0.5rem;
    color: var(--text-tertiary, #86868b);
    font-weight: 400;
}
[data-theme="dark"] .pc-row__tags li {
    color: #a1a1a6;
    background: transparent;
}
.pc-row__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
}
/* 覆盖全局 .product-actions .btn { flex:1 }，避免「查看详情」被拉满整行 */
.pc-row__actions.product-actions,
.pc-row__actions {
    align-items: center;
}
.pc-row__actions.product-actions .btn,
.pc-row__actions.product-actions .btn-download,
.pc-row__actions.product-actions a.btn,
.pc-row__actions.product-actions .download-dropdown-container,
.pc-row__actions.product-actions .download-dropdown-container .btn,
.pc-row__actions .btn,
.pc-row__actions .btn-download,
.pc-row__actions a.btn,
.pc-row__actions .download-dropdown-container,
.pc-row__actions .download-dropdown-container .btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 7.5rem;
    min-height: 2.5rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}
.pc-row__actions .btn-primary {
    font-weight: 600;
}
.pc-row__actions .btn-download {
    font-weight: 500;
}
.pc-row .download-dropdown-container { position: relative; }
/* 打开菜单时允许向下溢出，避免 overflow:hidden 裁切 */
.pc-row.is-menu-open {
    position: relative;
    z-index: 40;
    overflow: visible;
}
.pc-row .download-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    bottom: auto;
    margin: 0;
    min-width: 220px;
    padding: 0.65rem;
    display: none;
    z-index: 1000;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.pc-row .download-dropdown-menu.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.pc-row .download-dropdown-menu[hidden] {
    display: none !important;
}
.pc-row .download-dropdown-item:hover {
    background: var(--bg-hover, #f5f5f7);
}

@media (max-width: 760px) {
    .pc-row {
        grid-template-columns: 1fr;
    }
    .pc-row__media {
        aspect-ratio: 16 / 10;
        max-height: 220px;
    }
    .pc-row .download-dropdown-menu {
        position: fixed;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 12%;
        transform: translateX(-50%);
        width: min(92vw, 340px);
        max-height: 50vh;
        overflow-y: auto;
    }
    .pc-row .download-dropdown-menu.open {
        transform: translateX(-50%);
    }
}
