/* PDP print uses the existing product DOM and its native document links. */
@media print {
    @page { margin: 14mm; }

    html { scroll-behavior: auto; background: #fff; }
    body.single-product {
        color: #111;
        background: #fff;
        font: 10pt/1.4 Arial, sans-serif;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* The product is the document; site and interactive overlays are not. */
    body.single-product > :not(#wrapper),
    body.single-product #wrapper > :not(#main),
    body.single-product .shop-nav,
    body.single-product .foot-top-nav,
    body.single-product .product-sort,
    body.single-product .product-button,
    body.single-product .type-selector-group,
    body.single-product .product-left .swiper,
    body.single-product .event,
    body.single-product .big,
    body.single-product .mask,
    body.single-product .top-jump,
    body.single-product .layui-tab-title,
    body.single-product .certificate-modal,
    body.single-product .lightbox-content,
    body.single-product .product-tab-download i,
    body.single-product .product-tab-download .first-td img,
    body.single-product .layui-tab-item.tab-overview > .product-certificate {
        display: none !important;
    }

    body.single-product #wrapper,
    body.single-product #main,
    body.single-product .shop-container,
    body.single-product .shop-content,
    body.single-product .pro-kuai,
    body.single-product .product-foot,
    body.single-product .product-panel,
    body.single-product .layui-tab,
    body.single-product .layui-tab-content,
    body.single-product .layui-tab-item,
    body.single-product .product-configuration,
    body.single-product .product-tab-download {
        display: block !important;
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0;
        box-shadow: none;
        transform: none;
    }

    body.single-product .product-detail {
        display: flex;
        align-items: center;
        gap: 8mm;
        margin: 0 0 8mm;
        padding: 0 0 5mm;
        border-bottom: 1pt solid #1d2087;
        break-inside: avoid;
    }
    body.single-product .product-left {
        flex: 0 0 48mm;
        width: 48mm;
        margin: 0;
    }
    body.single-product .product-right {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    body.single-product .spec-preview,
    body.single-product .product-detail-image {
        position: static;
        width: 48mm;
        height: auto;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    body.single-product #originalImage {
        display: block;
        position: static;
        width: 48mm;
        height: 48mm;
        max-width: 100%;
        object-fit: contain;
        transform: none;
    }
    body.single-product .pro-content-title { margin: 0; padding: 0; }
    body.single-product .pro-content-title h2 {
        height: auto;
        margin: 0 0 3mm;
        font: bold 15pt/1.3 Arial, sans-serif;
        overflow-wrap: anywhere;
    }
    body.single-product .pro-content-title h1,
    body.single-product .pro-content-title > span {
        display: block;
        height: auto;
        min-height: 0;
        margin: 0;
        font: 12pt/1.4 Arial, sans-serif;
        overflow-wrap: anywhere;
    }

    body.single-product .tab-overview { padding: 0 !important; }
    body.single-product .product-certification-title,
    body.single-product .product-download-title {
        height: auto;
        margin: 5mm 0 2mm;
        padding: 0;
        color: #111;
        background: none;
        font: bold 12pt/1.4 Arial, sans-serif;
        break-after: avoid;
    }
    body.single-product .product-download-title h2 {
        margin: 0;
        font: inherit;
    }
    body.single-product .product-configuration::before {
        content: "Technical data";
        display: block;
        margin: 5mm 0 2mm;
        font: bold 12pt/1.4 Arial, sans-serif;
        break-after: avoid;
    }
    body.single-product .certification-excerpt {
        margin: 0 0 4mm;
        padding: 0;
    }
    body.single-product .certification-excerpt span,
    body.single-product .certification-excerpt p,
    body.single-product .certification-excerpt li {
        font: inherit;
        line-height: 1.4;
    }
    body.single-product .product-certificate { margin: 0 0 4mm; padding: 0; }
    body.single-product .certificate-item { display: inline-block; margin: 0 4mm 2mm 0; }
    body.single-product .certificate-item img { width: auto; height: 12mm; }

    body.single-product .product-panel table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        margin: 0 0 4mm;
        font-size: 10pt;
    }
    body.single-product .product-panel tr { break-inside: avoid; }
    body.single-product .product-panel .table-header { break-after: avoid; }
    body.single-product .product-panel thead { display: table-header-group; }
    body.single-product .product-panel th,
    body.single-product .product-panel td {
        width: auto;
        height: auto;
        padding: 2mm 3mm;
        border: 0.5pt solid #bbb;
        color: #111;
        font: 10pt/1.4 Arial, sans-serif;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    body.single-product .product-panel th {
        background: #f1f1f1;
        font-weight: bold;
        text-align: left;
    }
    body.single-product .product-configuration .tab-cal-1 { width: 44%; }
    body.single-product .product-tab-download .first-td { width: 52%; }
    body.single-product .product-panel a { color: #111; text-decoration: underline; }
}
