/* Product detail layout follows the supplied narrow article reference. */
.product-detail-page {
    color: #333;
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.product-detail-page *,
.product-detail-page *::before,
.product-detail-page *::after {
    box-sizing: border-box;
}

.product-detail-main {
    background: #fff;
}

.product-article {
    width: 850px;
    margin: 0 auto;
    padding-bottom: 34px;
}

.product-breadcrumb {
    height: 48px;
    overflow: hidden;
    color: #a2a2a2;
    font-size: 12px;
    line-height: 48px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-breadcrumb a {
    color: #8f8f8f;
}

.product-breadcrumb a:hover {
    color: #555;
}

.product-article__header {
    padding: 7px 0 25px;
    text-align: center;
}

.product-article__header h1 {
    margin: 0;
    color: #3d4650;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

.product-article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin-top: 18px;
    color: #a1a1a1;
    font-size: 12px;
    line-height: 20px;
}

.product-article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-meta-view i {
    position: relative;
    width: 14px;
    height: 9px;
    border: 1px solid #b7b7b7;
    border-radius: 50% / 60%;
}

.product-meta-view i::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b7b7b7;
    content: "";
}

.product-meta-favorite i {
    color: #df8f8f;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-style: normal;
    line-height: 1;
}

.product-case-info {
    padding: 5px 0 20px;
}

.product-case-info dl,
.product-case-info dd {
    margin: 0;
}

.product-case-info dl {
    color: #3f464c;
    font-size: 13px;
    line-height: 1.75;
}

.product-case-info dl > div {
    display: flex;
}

.product-case-info dt {
    flex: 0 0 72px;
    font-weight: 400;
}

.product-case-info dd {
    min-width: 0;
    flex: 1;
}

.product-content-rule {
    height: 1px;
    background: #9b9b9b;
}

.product-content-section {
    padding-top: 25px;
}

.product-content-section > h2 {
    margin: 0 0 12px;
    color: #5b5b5b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.product-richtext {
    width: 100%;
    color: #4b4b4b;
    font-size: 14px;
    line-height: 1.8;
}

.product-richtext p {
    margin: 0 0 14px;
}

.product-richtext img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

.product-richtext table {
    width: 100% !important;
    border-collapse: collapse;
}

.product-richtext td,
.product-richtext th {
    padding: 9px 12px;
    border: 1px solid #ddd;
}

.product-sibling-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 22px;
    color: #999;
    font-size: 12px;
    line-height: 1.7;
}

.product-sibling-nav > div {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-sibling-nav > div:last-child {
    text-align: right;
}

.product-sibling-nav a {
    color: #737373;
}

.product-sibling-nav a:hover {
    color: #333;
}

.product-detail-page a:focus-visible,
.product-detail-page button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media screen and (max-width: 960px) {
    .product-article {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 767px) {
    .product-article {
        width: calc(100% - 28px);
    }

    .product-breadcrumb {
        height: 42px;
        line-height: 42px;
    }

    .product-article__header {
        padding-top: 9px;
    }

    .product-article__header h1 {
        font-size: 20px;
    }

    .product-article__meta {
        flex-wrap: wrap;
        gap: 5px 20px;
        margin-top: 12px;
    }

    .product-case-info dt {
        flex-basis: 70px;
    }

    .product-sibling-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-sibling-nav > div:last-child {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-page *,
    .product-detail-page *::before,
    .product-detail-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
