.travilo-package-print-image,
.travilo-package-print-link,
.travilo-package-print-links { display: none !important; }

@media print {
    @page { size: A4; margin: 14mm 13mm; }
    html, body.single-single_pakiety {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        font-size: 10pt !important;
    }
    body.single-single_pakiety #masthead,
    body.single-single_pakiety footer,
    body.single-single_pakiety #wpadminbar,
    body.single-single_pakiety .user-menu,
    body.single-single_pakiety iframe,
    body.single-single_pakiety #lightbox,
    body.single-single_pakiety #lightboxOverlay,
    body.single-single_pakiety #panel-oferta .btn,
    body.single-single_pakiety #panel-oferta .circle,
    body.single-single_pakiety #panel-oferta .tooltip,
    body.single-single_pakiety #panel-oferta .tooltip-info,
    body.single-single_pakiety #panel-oferta .xaz-tooltip,
    body.single-single_pakiety #panel-oferta .xaz-tooltip-image,
    body.single-single_pakiety #panel-oferta-kontakt,
    body.single-single_pakiety #panel-oferta-parallax,
    body.single-single_pakiety #panel-oferta-bottom { display: none !important; }

    body.single-single_pakiety #page,
    body.single-single_pakiety #panel-oferta,
    body.single-single_pakiety #panel-oferta .section,
    body.single-single_pakiety #panel-oferta .container-fluid {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        overflow: visible !important;
    }
    body.single-single_pakiety #panel-oferta * {
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        color: #222 !important;
    }
    #panel-oferta .row { display: block !important; margin: 0 !important; }
    #panel-oferta .row::after { content: ''; display: table; clear: both; }
    #panel-oferta [class*="col-"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    #panel-oferta h1 { font-size: 23pt !important; margin: 5mm 0 !important; }
    #panel-oferta h3, #panel-oferta h3 em { font-size: 15pt !important; margin: 6mm 0 3mm !important; }
    #panel-oferta h4 { font-size: 11pt !important; margin: 4mm 0 2mm !important; }
    #panel-oferta h1, #panel-oferta h3, #panel-oferta h4,
    #panel-oferta .offer-box-header { break-after: avoid; page-break-after: avoid; }
    #panel-oferta p, #panel-oferta li { font-size: 10pt !important; line-height: 1.45 !important; orphans: 3; widows: 3; }
    #panel-oferta-ogolne .travilo-package-print-meta {
        display: grid !important;
        grid-template-columns: 1.15fr 1fr;
        gap: 7mm;
        margin: 0 0 6mm !important;
        padding: 5mm 6mm !important;
        border: 1px solid #e4d8cf;
        border-left: 3mm solid #ff4500;
        border-radius: 2mm;
        background: #fff8f3 !important;
        break-inside: avoid;
    }
    #panel-oferta-ogolne .travilo-package-print-meta > [class*="col-"] { width: auto !important; }
    #panel-oferta-ogolne .travilo-package-print-meta > [class*="col-"]:last-child { display: none !important; }
    #panel-oferta-ogolne .travilo-package-print-meta::before,
    #panel-oferta-ogolne .travilo-package-print-meta::after,
    #panel-oferta-ogolne .travilo-package-print-summary::before,
    #panel-oferta-ogolne .travilo-package-print-summary::after { display: none !important; content: none !important; }
    #panel-oferta-ogolne .travilo-package-print-title h1 {
        padding-bottom: 3mm;
        border-bottom: 1px solid #ddd;
    }
    #panel-oferta-ogolne .travilo-package-print-summary {
        display: grid !important;
        grid-template-columns: 2fr 1fr;
        gap: 5mm;
        margin: 4mm 0 5mm !important;
        padding: 4mm 5mm !important;
        border-radius: 2mm;
        background: #f4f5f7 !important;
        break-inside: avoid;
    }
    #panel-oferta-ogolne .travilo-package-print-summary > [class*="col-"] { width: auto !important; }
    #panel-oferta-ogolne #text-1 { margin: 5mm 0 !important; }
    #panel-oferta-ogolne .typ-pakietu,
    #panel-oferta-ogolne .model-wyjazdu,
    #panel-oferta-ogolne .data-przygotowania,
    #panel-oferta-ogolne .czas-pobytu,
    #panel-oferta-ogolne .cena-oferty,
    #panel-oferta-ogolne .data-waznosci {
        font-size: 10pt !important;
        text-align: left !important;
        margin: 1mm 0 !important;
    }
    #panel-oferta-ogolne .czas-pobytu,
    #panel-oferta-ogolne .cena-oferty { display: inline-block !important; margin-right: 5mm !important; }
    #panel-oferta-ogolne .czas-pobytu strong,
    #panel-oferta-ogolne .cena-oferty strong { font-size: 12pt !important; }
    #panel-oferta-ogolne .typ-pakietu span {
        margin-left: 2mm !important;
        padding: 1mm 2.5mm !important;
        background: #272f47 !important;
        color: #fff !important;
        font-size: 8pt !important;
    }
    #panel-oferta .panel-offer-box {
        display: block !important;
        margin: 0 0 5mm !important;
        padding: 4mm !important;
        border: 1px solid #ccc !important;
        background: #fff !important;
        break-inside: auto;
    }
    #panel-oferta .offer-box-header { padding: 0 0 3mm !important; }
    #panel-oferta .offer-box-header .price { font-size: 13pt !important; }
    #panel-oferta .offer-box-header::after { content: ''; display: table; clear: both; }
    #panel-oferta .offer-box-content,
    #panel-oferta .offer-box-hidden-content {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 3mm 0 0 !important;
    }
    #panel-oferta .offer-parameter {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 3mm !important;
        font-size: 10pt !important;
        margin: 0 0 2mm !important;
        min-height: 0 !important;
        break-inside: avoid;
    }
    #panel-oferta .offer-parameter-big {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 5mm !important;
        margin: 0 0 3mm !important;
        min-height: 0 !important;
        break-inside: avoid;
    }
    #panel-oferta .offer-parameter-big .parameter-left,
    #panel-oferta .offer-parameter-big .parameter-right {
        display: flex !important;
        align-items: flex-start !important;
        gap: 3mm !important;
        position: static !important;
        width: auto !important;
        padding: 0 !important;
        font-size: 10pt !important;
    }
    #panel-oferta .offer-parameter img,
    #panel-oferta .offer-parameter-big img {
        position: static !important;
        width: 5mm !important;
        height: 5mm !important;
        max-width: 5mm !important;
        max-height: 5mm !important;
        margin: 0 !important;
        flex: 0 0 5mm;
        object-fit: contain;
    }
    #panel-oferta .xaz-image {
        background: none !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 3mm 0 !important;
        display: block !important;
        break-inside: avoid;
    }
    #panel-oferta .travilo-package-print-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 55mm !important;
        object-fit: contain !important;
    }
    #panel-oferta-ogolne > .container-fluid > .xaz-image {
        width: 100% !important;
        margin: 0 0 4mm !important;
    }
    #panel-oferta-ogolne > .container-fluid > .xaz-image .travilo-package-print-image {
        width: 100% !important;
        height: 72mm !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    #panel-oferta .xaz-gallery .row { display: flex !important; flex-wrap: wrap; gap: 3mm; }
    #panel-oferta .xaz-gallery .row::before,
    #panel-oferta .xaz-gallery .row::after { display: none !important; }
    #panel-oferta .xaz-gallery [class*="col-"] {
        width: calc(33.333% - 2mm) !important;
        flex: 0 0 calc(33.333% - 2mm);
        break-inside: avoid;
    }
    #panel-oferta .xaz-gallery .travilo-package-print-image {
        width: 100% !important;
        height: 38mm !important;
        max-height: 38mm !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    #panel-oferta .xaz-gallery .xaz-image { margin: 0 !important; }
    #panel-oferta .travilo-package-print-icon-link { display: none !important; }
    #panel-oferta .travilo-package-print-links {
        display: block !important;
        margin-top: 3mm !important;
        padding-top: 2mm !important;
        border-top: 1px solid #ddd !important;
        break-inside: avoid;
    }
    #panel-oferta .travilo-package-print-link {
        display: block !important;
        width: 100% !important;
        margin: 1mm 0 !important;
        font-size: 8.5pt !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere;
    }
    #panel-oferta .offer-parameter > .travilo-package-print-link {
        flex: 1 0 100%;
        margin-left: 8mm !important;
    }
    #panel-oferta a { text-decoration: none !important; overflow-wrap: anywhere; }
    #panel-oferta a::after { content: none !important; }
    #panel-oferta-podsumowanie .row-sum { break-inside: avoid; padding: 2mm 0 !important; }
    #panel-oferta-podsumowanie .price,
    #panel-oferta-podsumowanie .suma-kosztow { display: none !important; }
    #panel-oferta-podsumowanie .print-price { display: block !important; text-align: left !important; font-size: 11pt !important; }
    #panel-oferta-podsumowanie .row-sum .col-md-6 { width: 50% !important; float: left !important; }
}
