@page {
    size: landscape;
    margin: 8mm;
}

html.print-layout,
body.print-layout,
body.print-layout #wrap,
body.print-layout #main {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.print-layout {
    margin: 0 !important;
    background: #fff !important;
}

body.print-layout .line_top,
body.print-layout #sticky-anchor,
body.print-layout #sticky,
body.print-layout .breadcrumb,
body.print-layout .price-info,
body.print-layout .blockRawHtml,
body.print-layout .cart,
body.print-layout .bakhov-lk-return,
body.print-layout .scroll-top-btn,
body.print-layout #footer {
    display: none !important;
}

body.print-layout .container.bordAdm {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.print-layout .product-results {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    font-size: 8.5pt !important;
    line-height: 1.15 !important;
}

body.print-layout .product-results thead {
    display: table-header-group !important;
}

body.print-layout .product-results tbody {
    display: table-row-group !important;
    width: auto !important;
}

body.print-layout .product-results tr,
body.print-layout .product-results tr.tg-group,
body.print-layout .product-results tr.tg-item {
    position: static !important;
    display: table-row !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

body.print-layout .product-results tr.tg-group {
    background: #f7f7f7 !important;
}

body.print-layout .product-results tr.tg-hidden {
    display: none !important;
}

body.print-layout .product-results th,
body.print-layout .product-results td,
body.print-layout .product-results .tg-group .tg-art,
body.print-layout .product-results .tg-group .tg-name,
body.print-layout .product-results .tg-group td:not(.tg-art):not(.tg-name) {
    position: static !important;
    display: table-cell !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 3px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #ddd !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    vertical-align: middle !important;
    text-align: left !important;
}

body.print-layout .product-results th {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #999 !important;
    font-weight: 700 !important;
}

body.print-layout .product-results td::before {
    display: none !important;
    content: none !important;
}

body.print-layout .product-results .result-name,
body.print-layout .product-results .result-code,
body.print-layout .product-results .result-price {
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    text-align: left !important;
}

body.print-layout .product-results .tg-item {
    margin-left: 0 !important;
    border-left: 0 !important;
}

body.print-layout .product-results .tg-item td:first-child {
    padding-left: 4px !important;
}

body.print-layout .product-results th:nth-child(1),
body.print-layout .product-results td:nth-child(1) {
    width: 14% !important;
}

body.print-layout .product-results th:nth-child(2),
body.print-layout .product-results td:nth-child(2) {
    width: 31% !important;
}

body.print-layout .product-results th:nth-child(3),
body.print-layout .product-results td:nth-child(3) {
    width: 10% !important;
}

body.print-layout .product-results th:nth-child(4),
body.print-layout .product-results td:nth-child(4),
body.print-layout .product-results th:nth-child(5),
body.print-layout .product-results td:nth-child(5),
body.print-layout .product-results th:nth-child(6),
body.print-layout .product-results td:nth-child(6) {
    width: 8% !important;
}

body.print-layout .product-results th:nth-child(7),
body.print-layout .product-results td:nth-child(7) {
    width: 9% !important;
}

body.print-layout .product-results th:nth-child(8),
body.print-layout .product-results td:nth-child(8) {
    width: 12% !important;
}

body.print-layout .product-results th:last-child,
body.print-layout .product-results td:last-child {
    display: none !important;
}

body.print-layout .product-results .tg-toggle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 2px !important;
    font-size: 8pt !important;
}

body.print-layout .product-results .result-name img {
    width: 14px !important;
    height: auto !important;
    vertical-align: middle !important;
}
