@media print {
    body, .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        position: static !important;
    }

    .container {
        padding: 15px !important;
    }

    a[href]:after {
        content: none !important;
    }

    img[src]:after {
        content: none !important;
    }

    .no-print {
        display : none !important;
    }

    [class*="col-"]:has(~ .no-print) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .no-print ~ [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Reset breadcrumbs-v4 */
    .breadcrumbs-v4[style*="background-image"] {
        background-image: var(--breadcrumbs-print-bg, url("https://public.jonggolf.com/files/static/img/slider/header-jonggolf-small.jpg")) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: left center !important;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;

        display: block !important;
        min-height: 160px !important;
    }

    .breadcrumbs-v4 h1 {
        color: #ffffff !important;
        font-size: 20px !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 1px 1px 3px #000000 !important;
    }

    /* Reset print badge */
    .rgba-banner.shop-rgba-dark-green,
    .rgba-banner.shop-rgba-red{
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;

        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;

        position: absolute !important;
        display: block !important;
        z-index: 10 !important;

        text-shadow: none !important;
        box-shadow: none !important;
    }

    .rgba-banner.shop-rgba-red {
        background: rgba(201, 37, 60, 0.5) !important;
    }

    .rgba-banner.shop-rgba-dark-green {
        background: rgba(24, 171, 155, 0.5)!important;
    }

    /* Reset Masonry */
    .grid-boxes {
        display: flex !important;
        flex-wrap: wrap !important;
        position: relative !important;
        height: auto !important;
        width: 100% !important;
    }

    .grid-boxes-in {
        position: static !important;
        float: left !important;
        width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        left: auto !important;
        top: auto !important;

        break-inside: avoid !important;
        page-break-inside: avoid !important;

        display: block !important;
        padding: 10px;
    }

    .grid-boxes-in:nth-child(3n+1) {
        clear: left;
    }

    .one-product-list {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .one-product-list .item-photo iframe {
        max-height: 280px;
    }

    /* Fix tables */

    table, .table {
        /* Ak sa tabuľka nezmestí na zvyšok strany, celá skočí na ďalšiu */
        break-inside: avoid !important;
        page-break-inside: avoid !important;

        width: 100% !important;
        margin-bottom: 20px !important;
    }

    table {
        font-size: 10pt !important; /* Menšie písmo pre tlač */
        table-layout: auto !important;
    }

    /* Odstránenie horizontálneho scrollbaru (responsivity), ktorý v tlači nefunguje */
    .table-responsive {
        display: block !important;
        overflow-x: visible !important;
    }

    thead {
        display: table-header-group !important; /* Vynúti opakovanie na každej strane */
    }

    tr {
        break-inside: avoid !important; /* Zabráni rozseknutiu jedného riadku na polovicu */
    }
}