@charset "utf-8";
/* ============================================================
   QETUPA · 产品中心 / 产品详情 样式
   依赖: dymc-home.css 的设计变量与基础组件 (navbar/footer/btn/prod-grid)
   结构: page-hero → 面包屑 → 系列筛选 → 产品网格 → 咨询条
         → 详情页(gallery/info/tags/features) → 规格表 → 性能 → 图册 → 相关推荐 → 响应式
   ============================================================ */

/* ---------- 页面横幅 ---------- */
.page-hero {
    position: relative;
    padding: clamp(120px, 16vw, 180px) 0 clamp(56px, 8vw, 90px);
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(106, 92, 255, .35), transparent 60%),
        radial-gradient(700px 420px at 8% 110%, rgba(27, 102, 255, .28), transparent 60%),
        linear-gradient(150deg, #150f33 0%, #1d1750 55%, #2a1f66 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.breadcrumb a { color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb > span:last-child { color: #fff; font-weight: 600; }

.page-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: 2px;
}

.page-hero .en {
    font-size: 13px;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
}

.page-hero p {
    margin: 18px 0 0;
    max-width: 640px;
    color: rgba(255, 255, 255, .78);
    font-size: 15.5px;
}

/* ---------- 系列筛选 ---------- */
.prod-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: -34px 0 40px;
    position: relative;
    z-index: 2;
}

.prod-filter button {
    padding: 10px 26px;
    border-radius: var(--radius-btn);
    background: var(--white);
    box-shadow: inset 0 0 0 1.5px var(--line);
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    transition: all .22s ease;
}

.prod-filter button:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }

.prod-filter button.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-primary);
    border-color: transparent;
    color: #fff;
}

.prod-filter__count { margin-left: auto; color: var(--muted); font-size: 13.5px; }

/* 产品网格区背景(覆盖 page-hero 的深色余韵) */
.prod-filter + .prod-grid { margin-top: 0; }

/* ---------- 咨询条 ---------- */
.prod-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 64px;
    padding: 40px 44px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 300px at 90% -20%, rgba(106, 92, 255, .45), transparent 65%),
        linear-gradient(135deg, #171243, #2b1a7e);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.prod-cta h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }

.prod-cta p { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 15px; }

.prod-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ---------- 详情页 ---------- */
.detail {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 56px;
    align-items: start;
}

/* 图册 */
.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: zoom-in;
    background: var(--bg-soft);
}

.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gallery-main__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(8px);
    transition: all .3s ease;
}

.gallery-main__zoom svg { width: 20px; height: 20px; }

.gallery-main:hover .gallery-main__zoom { opacity: 1; transform: translateY(0); }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.gallery-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--line);
    padding: 0;
    background: var(--bg-soft);
    transition: border-color .2s ease, transform .2s ease;
}

.gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gallery-thumb:hover { transform: translateY(-2px); }

.gallery-thumb.is-active { border-color: var(--primary); box-shadow: 0 4px 14px rgba(27, 102, 255, .25); }

/* 信息栏 */
.detail__info { position: sticky; top: calc(var(--nav-h) + 24px); }

.detail__info .prod-card__series { display: inline-block; margin-bottom: 10px; }

.detail__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; }

.detail__en {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail__intro { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; }

/* 版本 / 售价 */
.detail__prices {
    margin-top: 22px;
    padding: 18px 20px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
}

.detail__prices-label {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.detail__price-list { display: flex; flex-wrap: wrap; gap: 10px; }

.detail__price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    background: var(--white);
    border: 1px solid var(--line);
}

.detail__price b { font-size: 14px; font-weight: 700; color: var(--ink); }

.detail__price em {
    font-style: normal;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail__tags span {
    padding: 5px 16px;
    border-radius: var(--radius-btn);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.detail__tags span.hl {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary);
}

.detail__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.detail__features { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

.detail__features li {
    position: relative;
    padding-left: 26px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.detail__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat,
        linear-gradient(135deg, var(--primary), var(--accent));
}

/* ---------- 详情区块(规格/性能/图册) ---------- */
.detail-block { margin-top: 88px; }

.detail-block__head { margin-bottom: 30px; }

.detail-block__head h2 {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
}

.detail-block__head .en {
    display: block;
    margin-top: 4px;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: .6;
}

.spec-table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 560px;
}

.spec-table thead th {
    padding: 14px 22px;
    text-align: left;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.spec-table tbody th,
.spec-table tbody td {
    padding: 13px 22px;
    text-align: left;
    border-top: 1px solid var(--line);
}

.spec-table tbody th {
    width: 160px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-weight: 600;
    white-space: nowrap;
}

.spec-table tbody td { color: var(--ink); }

.spec-table tbody tr:hover td { background: #fafbff; }

/* 性能卡片 */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.perf-card {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease;
}

.perf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.perf-card__name { color: var(--muted); font-size: 13.5px; }

.perf-card__val {
    margin-top: 8px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.perf-card__val small { font-size: .5em; font-weight: 700; margin-left: 2px; }

.perf-card__grade { margin-top: 6px; color: var(--ink-2); font-size: 13px; }

/* 图册面板 */
.sheet-panel { margin-top: 88px; }

.sheet-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: zoom-in;
}

.sheet-frame img { width: 100%; object-fit: cover; }

.sheet-hint {
    position: absolute;
    right: 16px;
    bottom: 14px;
    padding: 6px 16px;
    border-radius: var(--radius-btn);
    background: rgba(10, 12, 24, .62);
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(6px);
}

/* 相关产品标题 */
.related-title { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .detail { grid-template-columns: 1fr; gap: 40px; }
    .detail__info { position: static; }
    .perf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .prod-filter { gap: 9px; margin-top: -26px; }
    .prod-filter button { padding: 8px 18px; font-size: 13.5px; }
    .prod-filter__count { width: 100%; margin-left: 0; }

    .prod-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .prod-cta__btns { width: 100%; }
    .prod-cta__btns .btn { flex: 1; min-width: 0; }

    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .detail__cta .btn { flex: 1; min-width: 0; }
    .perf-grid { gap: 12px; }
}
