@media print {
    /* --- 1. GLOBÁLNÍ NASTAVENÍ Alayout --- */
    body.type-product {
        font-size: 10pt !important;
        line-height: 1.3 !important;
        color: #000 !important;
        background: #fff !important;
    }

    /* --- 2. TOTÁLNÍ SKRYTÍ NEŽÁDOUCÍCH PRVKŮ --- */
    body.type-product #header, 
    body.type-product #footer, 
    body.type-product aside,
    body.type-product .breadcrumb,
    body.type-product .navigation-buttons,
    body.type-product .p-navigation-buttons,
    body.type-product .top-navigation-bar,
    body.type-product .related-products,
    body.type-product .availability-label,
    body.type-product .delivery-times,
    body.type-product .social-buttons-wrapper,
    body.type-product .ratings-and-brand,
    body.type-product .stars-wrapper,
    body.type-product .banner-rating,
    body.type-product .pw-slider,
    body.type-product .p-to-cart-block,         /* Skryje celý blok košíku */
    body.type-product .admin-bar,               /* Skryje admin lištu */
    body.type-product .shp-tabs-row.responsive-nav {
        display: none !important;
    }

    /* --- 3. RESET STRUKTURY (Layout na celou šířku) --- */
    body.type-product #main,
    body.type-product #content,
    body.type-product .p-detail {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* Odstranění mezer v hlavičce detailu */
    .p-detail-inner .p-detail-inner-header,
    .p-detail-inner-header-mobile, 
    .p-detail-inner-header-mobile .h1 {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    /* --- 4. VELIKOSTI TEXTŮ A NADPISŮ --- */
    body.type-product .h1 {
        font-size: 16pt !important;
        margin: 0 0 10px 0 !important;
        padding: 0px !important;
        text-align: left;
        display: block !important;
    }

    body.type-product .p-short-description {
        margin-bottom: 15px !important;
        font-size: 10pt !important;
    }

    body.type-product .p-final-price-wrapper {
        font-size: 12pt !important;
        margin: 10px 0 !important;
        font-weight: bold !important;
        display: block !important;
    }

    /* --- 5. OBRÁZEK PRODUKTU --- */
    /* Pokud chcete obrázek v PDF úplně skrýt, změňte na display: none */
    body.type-product .p-image img {
        height: 330px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    /* --- 6. VARIANTY A VOLBY --- */
    .variant-list {
        display: block !important;
        font-size: 9pt !important;
    }

    .variant-list select {
        line-height: 30px !important;
        height: 32px !important;
        border: 1px solid #ccc !important;
    }

    /* --- 7. ZÁLOŽKY A POPISY --- */
    .p-detail-tabs-wrapper {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .shp-tabs-wrapper {
        display: block !important;
    }

    div#tab-content > * {
        display: none !important;
    }

    div#description {
        display: block !important;
        font-size: 10pt !important;
    }

    .description-inner > div {
        width: 100% !important;
        padding-top: 30px !important;
        float: none !important;
    }

    .extended-description {
        margin-top: 50px !important;
    }

    /* --- 8. TABULKA PARAMETRŮ --- */
    /* Skrytí horní tabulky, pokud existuje */
    .p-detail-inner table.detail-parameters {
        display: none !important;
    }

    /* Formátování tabulky parametrů v popisu */
    table.detail-parameters tbody tr th:after {
        display: none !important;
    }

    table.detail-parameters tbody tr td, 
    table.detail-parameters tbody tr th {
        padding: 4px 0 !important;
        font-size: 9pt !important;
        border-bottom: 1px solid #eee !important;
        text-align: left !important;
    }
}