/* ============================================================
   产品详情页专用样式（y-450 / pet / baby）
   ============================================================ */

/* ---------- 产品主视觉 ---------- */
.product-hero {
    padding: clamp(110px, 12vw, 160px) 0 clamp(50px, 6vw, 90px);
    background: var(--c-bg-alt);
}
.product-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.product-hero__gallery { position: relative; }
.product-hero__img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.product-hero__info h1 {
    font-size: clamp(34px, 4vw, 64px);
    margin-bottom: 16px;
}
.product-hero__tagline {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.2vw, 36px);
    color: var(--c-accent);
    margin-bottom: 14px;
}
.product-hero__feat {
    color: var(--c-text-soft);
    font-size: clamp(17px, 1.5vw, 22px);
    margin-bottom: 32px;
}

/* 参数横排 */
.product-hero__params {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.php-item {
    padding: 20px 12px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}
.php-num {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(22px, 2.2vw, 32px);
    color: var(--c-accent);
    line-height: 1.1;
}
.php-unit {
    display: block;
    font-size: 13px;
    color: var(--c-text-mute);
    margin-top: 2px;
}
.php-label {
    display: block;
    margin-top: 10px;
    color: var(--c-text-mute);
    font-size: 13px;
}

.product-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- 一句话定位 ---------- */
.pd-quote {
    text-align: center;
    background: var(--c-bg);
}
.pd-quote p {
    font-family: var(--font-head);
    font-size: clamp(20px, 2.2vw, 32px);
    line-height: 1.6;
    color: var(--c-text);
    max-width: 820px;
    margin: 0 auto;
}

/* ---------- 核心卖点 ---------- */
.pd-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pd-features--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin-inline: auto;
}
.pd-feature {
    padding: clamp(28px, 3vw, 40px) 26px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .3s, border-color .3s;
}
.pd-feature:hover { transform: translateY(-4px); border-color: var(--c-accent); }
.pd-feature__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(45,125,110,.1);
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    color: var(--c-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
}
.pd-feature h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--c-text);
}
.pd-feature__num {
    font-family: var(--font-head);
    font-size: clamp(20px, 1.8vw, 26px);
    color: var(--c-accent);
    margin-bottom: 12px !important;
}
.pd-feature p {
    color: var(--c-text-soft);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 详细参数表 ---------- */
.pd-spec-table th {
    width: 200px;
    background: var(--c-bg-card);
}
.pd-spec-table td {
    color: var(--c-text);
}

/* ---------- 适用场景 ---------- */
.pd-scenes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pd-scenes--1 {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
}
.pd-scene {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-line);
    background: var(--c-bg-card);
    box-shadow: var(--shadow);
    transition: transform .3s, border-color .3s;
}
.pd-scene:hover { transform: translateY(-4px); border-color: var(--c-accent); }
.pd-scene img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.pd-scene__body { padding: 24px 24px 28px; }
.pd-scene__body h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--c-text);
}
.pd-scene__body p {
    color: var(--c-text-soft);
    font-size: 15px;
    margin: 0;
}

/* ---------- 检测认证 ---------- */
.pd-cert {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 760px;
    margin-inline: auto;
}
.pd-cert__item {
    padding: 32px 24px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}
.pd-cert__item strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(26px, 2.6vw, 38px);
    color: var(--c-accent);
    margin-bottom: 10px;
}
.pd-cert__item span {
    color: var(--c-text-mute);
    font-size: 14px;
}

/* ---------- CTA 区 ---------- */
.pd-cta {
    background: var(--c-bg-alt);
}

/* ---------- 滚动渐入 ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .pd-features { grid-template-columns: repeat(2, 1fr); }
    .pd-features--3 { grid-template-columns: repeat(3, 1fr); }
    .pd-scenes { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
}
@media (max-width: 900px) {
    .product-hero__inner { grid-template-columns: 1fr; }
    .product-hero__gallery { order: -1; }
    .pd-features--3 { grid-template-columns: 1fr; }
    .pd-cert { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 640px) {
    .pd-features { grid-template-columns: 1fr; }
    .pd-scenes { grid-template-columns: 1fr; }
    .product-hero__params { grid-template-columns: 1fr; }
    .product-hero__actions { flex-direction: column; align-items: stretch; }
    .product-hero__actions .btn { width: 100%; }
}
