/* 产品中心 */
.product-page-hero {
    padding: 4.75rem 0;
    margin-bottom: 2.5rem;
    background:
        radial-gradient(circle at top right, rgba(120, 144, 156, 0.24), transparent 30%),
        linear-gradient(135deg, #314148 0%, #263238 100%);
    color: #fff;
}

.product-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.product-category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-category-link:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
}

.product-group {
    scroll-margin-top: 6rem;
}

.product-group-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.product-group-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background-color: rgba(55, 71, 79, 0.08);
    color: var(--primary-color);
    font-weight: 700;
}

.product-group-title {
    margin-bottom: 0.45rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.product-group-description {
    color: #5d6870;
    line-height: 1.8;
}

.product-card {
    height: 100%;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.product-img-container {
    height: 13.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f7f9fa;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.product-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.product-title {
    margin-top: 0.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.product-card .card-text {
    line-height: 1.75;
}

.product-availability-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-availability-pill.is-hot {
    background-color: rgba(196, 68, 40, 0.12);
    color: #b44128;
}

.product-availability-pill.is-presale {
    background-color: rgba(34, 102, 147, 0.12);
    color: #1e628e;
}

.product-availability-pill.is-restocking {
    background-color: rgba(170, 121, 27, 0.14);
    color: #9a6f17;
}

.product-availability-copy {
    display: grid;
    gap: 0.25rem;
    margin-top: -0.15rem;
    color: #61737c;
    line-height: 1.7;
}

.product-availability-copy strong {
    color: var(--dark-color);
    font-size: 0.95rem;
}

.product-card .btn {
    margin-top: auto;
}

/* 详情页 */
.product-detail-hero {
    padding: 4rem 0 3rem;
    margin-bottom: 2rem;
    background-color: #f7f9fa;
}

.product-detail-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(55, 71, 79, 0.08);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.product-detail-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
}

.product-detail-summary {
    margin-bottom: 1.1rem;
    color: #56626a;
    font-size: 1.08rem;
    line-height: 1.85;
}

.product-availability-panel {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(55, 71, 79, 0.12);
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(38, 50, 56, 0.06);
}

.product-availability-panel.is-hot {
    border-color: rgba(196, 68, 40, 0.18);
}

.product-availability-panel.is-presale {
    border-color: rgba(34, 102, 147, 0.18);
}

.product-availability-panel.is-restocking {
    border-color: rgba(170, 121, 27, 0.2);
}

.product-availability-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.product-availability-summary {
    margin: 0;
    color: #54656e;
    font-weight: 600;
}

.product-availability-details {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.product-availability-details p {
    margin: 0;
    color: #5f717a;
    line-height: 1.7;
}

.product-availability-details p span {
    margin-right: 0.55rem;
    color: #7a8d96;
}

.product-availability-details p strong {
    color: var(--dark-color);
}

.product-availability-details .is-note {
    color: #63757e;
}

.product-detail-highlights {
    margin-bottom: 1.8rem;
}

.product-detail-highlights li {
    position: relative;
    margin-bottom: 0.85rem;
    padding-left: 1.35rem;
    color: #4f5c64;
}

.product-detail-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.product-order-entry {
    min-width: 8rem;
}

.product-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24rem;
    padding: 1.4rem;
    background-color: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.product-hero-visual img {
    max-width: 100%;
    max-height: 22rem;
    object-fit: contain;
}

.detail-section-card {
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.detail-section-heading {
    margin-bottom: 1.3rem;
}

.detail-section-heading h2 {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 1.55rem;
    font-weight: 700;
}

.detail-feature-grid,
.detail-info-grid,
.detail-scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.detail-feature-card,
.detail-info-card,
.detail-scenario-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 0.9rem;
    background-color: #f7f9fa;
}

.detail-feature-card h3,
.detail-info-card h3,
.detail-scenario-card h3 {
    margin-bottom: 0.65rem;
    color: var(--primary-color);
    font-size: 1.08rem;
    font-weight: 700;
}

.detail-feature-card p,
.detail-info-card p,
.detail-scenario-card p {
    margin-bottom: 0;
    color: #5b676f;
    line-height: 1.8;
}

.detail-bullet-list {
    margin-bottom: 0;
    padding-left: 1.15rem;
}

.detail-bullet-list li {
    margin-bottom: 0.65rem;
    color: #5b676f;
    line-height: 1.75;
}

.detail-bullet-list li:last-child {
    margin-bottom: 0;
}

.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.detail-gallery-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    padding: 1rem;
    border-radius: 1rem;
    background-color: #f7f9fa;
}

.detail-gallery-card img {
    max-width: 100%;
    max-height: 12.5rem;
    object-fit: contain;
}

.detail-sidebar {
    position: sticky;
    top: 5.8rem;
}

.detail-sidebar-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.detail-sidebar-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-sidebar-links {
    display: grid;
    gap: 0.8rem;
}

.detail-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(55, 71, 79, 0.12);
    background-color: #f7f9fa;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.detail-sidebar-link:hover {
    transform: translateY(-0.15rem);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(55, 71, 79, 0.26);
    background-color: #eef3f5;
}

.detail-sidebar-link-copy {
    min-width: 0;
}

.detail-sidebar-link-copy span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.detail-sidebar-link-copy small {
    color: #637079;
}

.detail-sidebar-link-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(55, 71, 79, 0.1);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.detail-sidebar-link-action::after {
    content: ">";
}

@media (max-width: 991.98px) {
    .product-group-title {
        font-size: 1.7rem;
    }

    .product-img-container {
        height: 12rem;
    }

    .product-detail-title {
        font-size: 2.15rem;
    }

    .product-hero-visual {
        min-height: 18rem;
    }

    .detail-sidebar {
        position: static;
    }

    .detail-feature-grid,
    .detail-info-grid,
    .detail-scenario-grid,
    .detail-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .product-page-hero {
        padding: 3.8rem 0;
    }

    .product-group-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .product-group-title {
        font-size: 1.45rem;
    }

    .product-detail-hero {
        padding: 3rem 0 2.2rem;
    }

    .product-detail-title {
        font-size: 1.85rem;
    }

    .product-availability-panel-head {
        align-items: flex-start;
    }

    .detail-section-card,
    .detail-sidebar-card {
        padding: 1.2rem;
    }
}
