/* 产品详情页专用样式：由 show_product.html 内部样式抽取，未做任何样式改动 */

    body {
        background: #f6f6f6;
    }

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

    .product-detail-page {
        position: relative;
        min-height: 100vh;
        padding: 0px 0 46px;
        color: #1f2937;
        background: #f6f6f6;
        font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    }

    .product-detail-shell {
        display: grid;
        grid-template-columns: minmax(0, 1400px) 92px !important;
        gap: 16px;
        align-items: start;
        /* width: min(1290px, calc(100% - 32px)); */
        margin: 0 auto;
    }

    .product-detail-wrap {
        width: 100%;
        min-width: 0;
    }

    .product-detail-card {
        border-radius: 4px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
    }

    .product-summary {
        display: grid;
        grid-template-columns: 430px minmax(0, 1fr);
        gap: 42px;
        align-items: center;
        min-height: 245px;
        padding: 36px 42px;
    }

    .product-summary__media {
        overflow: hidden;
        height: 188px;
        border-radius: 8px;
        background: #eef6ff;
    }

    .product-summary__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
         .product-summary__title-desc {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }



    .product-summary__title {
        margin: 0;
        color: #111827;
        font-size: 25px;
        line-height: 1.28;
        font-weight: 800;
        letter-spacing: 0;
    }

    .product-summary__desc {
        margin: 0;
        color: #697386;
        font-size: 18px;
        line-height: 1.8;
    }

    .product-tags {
        border: none !important;
        list-style: none;
        padding: 0;
    }

    /* .product-tags li {
        padding: 4px 10px;
        border-radius: 3px;
        color: #18a36b;
        background: #effaf5;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 700;
    } */

    .product-meta {
        display: grid;
        gap: 15px;
        margin: 0 0 10px;
        padding: 0;
        list-style: none;
        
    }

    .product-meta li {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        color: #999;
        font-size: 14px;
        line-height: 1.5;
    }

    .product-meta span {
        color: #8a94a6;
    }

    .product-section {
        margin-top: 18px;
        padding: 32px 42px;
    }

    .product-section__title {
        margin: 0 0 22px;
        color: #1f2937;
        font-size: 16px;
        line-height: 1.4;
        font-weight: 700;
    }

    .product-plan-list {
        display: grid;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .product-plan {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 24px;
        align-items: center;
        min-height: 82px;
        padding: 18px 22px 18px 28px;
        border-radius: 3px;
        background: #fafafa;
    }

    .product-plan__name {
        margin: 0 0 8px;
        color: #1f2937;
        font-size: 15px;
        line-height: 1.4;
        font-weight: 700;
    }

    .product-plan__price {
        margin-left: 6px;
        color: #ff8a24;
        font-size: 18px;
        font-weight: 800;
    }

    .product-plan__unit {
        color: #ff8a24;
        font-size: 13px;
        font-weight: 700;
    }

    .product-plan__desc {
        margin: 0;
        color: #8a94a6;
        font-size: 13px;
        line-height: 1.5;
    }

    .product-plan__desc a {
        margin-left: 8px;
        color: #3b82f6;
        text-decoration: none;
    }

    .product-plan__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
        width: 92px;
        height: 34px;
        border-radius: 3px;
        background: #ff922e;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .product-plan__button:hover,
    .product-plan__button:focus {
        color: #fff;
        text-decoration: none;
        background: #ff7d12;
    }

    .product-content {
        color: #1f2937;
        font-size: 15px;
        line-height: 1.9;
        overflow: hidden;
    }

    .product-content p {
        margin: 0 0 16px;
    }

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

    .product-side-nav {
        position: sticky;
        top: 0;
        z-index: 20;
        width: 92px;
        padding-left: 12px;
        border-left: 1px solid #e5e7eb;
    }

    .product-side-nav a {
        position: relative;
        display: block;
        padding: 6px 0 34px 14px;
        color: #777777;
        font-size: 16px;
        line-height: 1.4;
        text-decoration: none;
    }

    .product-side-nav a:last-child {
        padding-bottom: 6px;
    }

    .product-side-nav a:before {
        content: "";
        position: absolute;
        left: -13px;
        top: 8px;
        width: 2px;
        height: 16px;
        border-radius: 999px;
        background: transparent;
    }

    .product-side-nav a.is-active {
        color: #30a4fd;
        font-weight: 700;
    }

    .product-side-nav a.is-active:before {
        background: #30a4fd;
    }

    @media (max-width: 1199px) {
        .product-detail-shell {
            display: block;
            /* width: min(100% - 40px, 980px); */
        }

        .product-detail-wrap {
            width: 100%;
        }

        .product-side-nav {
            display: none;
        }
    }

    @media (max-width: 767px) {

    .product-summary__title-desc {
        flex-direction: column;
        align-items: flex-start;
    }
        .product-detail-page {
            padding: 0px 0 32px;
        }

        .product-detail-shell {
            /* width: calc(100% - 24px); */
        }

        .product-summary {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 20px;
        }

        .product-summary__media {
            height: auto;
            aspect-ratio: 16 / 9;
        }
   

        .product-summary__title {
            font-size: 22px;
        }

        .product-section {
            padding: 22px 18px;
        }

        .product-plan {
            grid-template-columns: 1fr;
            gap: 14px;
            padding: 18px;
        }

        .product-plan__button {
            justify-self: start;
        }
    }

    /* ============================================================
       视觉风格适配：对齐全站紫色主题（仅调整样式，内容与结构不变）
       ============================================================ */
    body {
        background: #f7f4ff;
    }

    .product-detail-page {
        padding: 28px 16px 56px;
        background:
            radial-gradient(58% 42% at 8% 0%, rgba(168, 85, 247, .12), transparent 62%),
            radial-gradient(52% 40% at 92% 6%, rgba(79, 70, 229, .10), transparent 60%),
            #f7f4ff;
    }

    .product-detail-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 240px !important;
        gap: 24px;
        width: 100%;
        max-width: var(--content-width, 1400px);
        margin: 0 auto;
        align-items: start;
    }

    .product-detail-card {
        border: 1px solid rgba(124, 58, 237, .10);
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(76, 29, 149, .07);
    }

    .product-summary {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
        gap: 44px;
        padding: 40px 42px;
        min-height: 320px;
        background: linear-gradient(180deg, #ffffff 0%, #fdfbff 100%);
    }

    .product-summary__media {
        height: 300px;
        padding: 10px;
        border: 1px solid rgba(124, 58, 237, .10);
        border-radius: 18px;
        background: linear-gradient(135deg, #f5efff 0%, #eef1ff 100%);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    }

    .product-summary__media img {
        border-radius: inherit;
        object-fit: contain;
        background: #fdfbff;
    }

    .product-summary__title {
        color: #111827;
        font-size: clamp(24px, 2.2vw, 30px);
        letter-spacing: -.02em;
    }

    .product-summary__desc {
        color: #5b6478;
        font-size: 16px;
        line-height: 1.8;
    }

    .product-meta {
        gap: 12px;
        margin: 0 0 14px;
    }

    .product-meta li {
        color: #6b7280;
    }

    .product-meta li strong {
        color: #1f2937;
        font-weight: 600;
    }

    .product-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 0 0;
    }

    .product-tags li {
        padding: 4px 12px;
        border: 1px solid rgba(124, 58, 237, .18);
        border-radius: 999px;
        background: #f3eefe;
        color: var(--theme-color, #7c3aed);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.5;
    }

    .product-section {
        margin-top: 20px;
        padding: 30px 36px 34px;
    }

    .product-section__title {
        position: relative;
        margin: 0 0 22px;
        padding-left: 14px;
        color: #111827;
        font-size: 18px;
        font-weight: 700;
    }

    .product-section__title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 4px;
        height: 18px;
        transform: translateY(-50%);
        border-radius: 999px;
        background: var(--theme-gradient, linear-gradient(135deg, #a855f7 0%, #7c3aed 46%, #4f46e5 100%));
    }

    .product-plan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-plan {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 84px;
        padding: 20px 24px;
        border: 1px solid rgba(124, 58, 237, .10);
        border-radius: 16px;
        background: linear-gradient(160deg, #fbf9ff 0%, #f5f1ff 100%);
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }

    .product-plan:hover {
        transform: translateY(-2px);
        border-color: rgba(124, 58, 237, .24);
        box-shadow: 0 12px 26px rgba(124, 58, 237, .12);
    }

    .product-plan__name {
        color: #111827;
        font-size: 16px;
    }

    .product-plan__price {
        color: var(--theme-color, #7c3aed);
        font-size: 20px;
        font-weight: 800;
    }

    .product-plan__unit {
        color: var(--theme-color, #7c3aed);
    }

    .product-plan__desc {
        color: #6b7280;
    }

    .product-plan__desc a {
        color: var(--theme-color, #7c3aed);
        font-weight: 600;
    }

    .product-plan__button {
        width: auto;
        min-width: 104px;
        height: 38px;
        padding: 0 20px;
        border-radius: 999px;
        background: var(--theme-gradient, linear-gradient(135deg, #a855f7 0%, #7c3aed 46%, #4f46e5 100%));
        box-shadow: 0 10px 22px rgba(124, 58, 237, .26);
        font-weight: 700;
        transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    }

    .product-plan__button:hover,
    .product-plan__button:focus {
        background: var(--theme-gradient, linear-gradient(135deg, #a855f7 0%, #7c3aed 46%, #4f46e5 100%));
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 14px 26px rgba(124, 58, 237, .32);
    }

    .product-content {
        color: #374151;
        font-size: 15.5px;
        line-height: 1.9;
    }

    .product-content img {
        margin: 12px auto;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(76, 29, 149, .08);
    }

    .product-side-col {
        /* align-self: stretch; */
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .product-side-nav {
        position: fixed;
        top: calc(var(--wj-header-h, 64px) + 20px);
        right: max(16px, calc((100% - var(--content-width, 1400px)) / 2));
        z-index: 30;
        width: 240px;
        max-height: calc(100vh - var(--wj-header-h, 64px) - 40px);
        overflow-y: auto;
        padding: 20px 16px;
        border: 1px solid rgba(124, 58, 237, .10);
        border-left: 1px solid rgba(124, 58, 237, .10);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(76, 29, 149, .07);
    }

    .product-side-nav a {
        display: block;
        position: relative;
        margin-bottom: 6px;
        padding: 11px 14px;
        border-radius: 12px;
        color: #6b7280;
        font-size: 15px;
        line-height: 1.4;
        transition: color .2s ease, background-color .2s ease;
    }

    .product-side-nav a:last-child {
        margin-bottom: 0;
        padding-bottom: 11px;
    }

    .product-side-nav a:before {
        display: none;
    }

    .product-side-nav a:hover {
        color: var(--theme-color, #7c3aed);
        background: #f7f2ff;
    }

    .product-side-nav a.is-active {
        color: var(--theme-color, #7c3aed);
        background: #f3eefe;
        font-weight: 700;
    }

    .product-side-nav a.is-active:before {
        display: none;
    }

    @media (max-width: 1199px) {
        .product-detail-page {
            padding: 20px 14px 44px;
        }

        .product-detail-shell {
            display: block;
            max-width: 100%;
        }

        .product-summary {
            gap: 28px;
            padding: 28px;
            min-height: 0;
        }

        .product-summary__media {
            height: 240px;
        }
    }

    @media (max-width: 767px) {
        .product-detail-card {
            border-radius: 16px;
        }

        .product-summary {
            grid-template-columns: 1fr;
            gap: 18px;
            padding: 20px;
        }

        .product-summary__media {
            height: auto;
            aspect-ratio: 16 / 10;
        }

        .product-section {
            padding: 22px 20px 26px;
        }

        .product-plan-list {
            grid-template-columns: 1fr;
        }

        .product-plan {
            grid-template-columns: 1fr;
            padding: 18px;
        }

        .product-plan__button {
            justify-self: start;
        }
    }
