.theme-print {
    background-color: #fff;
    position: relative;
    padding: 30px;
    font-size: 15px;
    display: none !important;
}

.theme-print .print-header {
    display: flex;
    width: 100%;
    border: 1px solid #dee2e6;
    page-break-inside: avoid;
}

.theme-print .print-header .print-header_info {
    width: 70%;
    flex-shrink: 0;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    padding: 10px;
    line-height: 1.4;
}

.theme-print .print-header .print-header_info .print-header_info--title {
    font-size: 1.2em;
    color: #121212;
    font-weight: 600;
    margin-bottom: 5px;
}

.theme-print .print-header .print-header_info .print-header_info--grid {
    display: flex;
    font-size: 15px;
}

.theme-print .print-header .print-header_info .print-header_info--grid.print-header_info--column {
    flex-direction: column;
}

.theme-print .print-header .print-header_logo {
    padding: 10px;
    width: 30%;
    flex-shrink: 0;
    align-self: center;
}

.theme-print .print-header .print-header_logo img {
    max-width: 100%;
}

.theme-print .print-body {
    margin-top: 15px;
    page-break-inside: avoid;
    margin-bottom: 20px;
}

.theme-print .print-body .print-table {
    vertical-align: middle;
    margin-bottom: 0;

}

.theme-print .print-body .print-table th,
.theme-print .print-body .print-table td {
    padding: 10px;
    font-size: 14px;
}

.theme-print .print-body .print-table tbody {
    border-top: 0;

}

.theme-print .print-body .print-table .print-table_title {
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.theme-print .print-body .print-table .print-table_title > span {
    font-weight: 400;
    color: #454545;
    font-size: 13px;
    margin-top: 3px;
}

.theme-print .print-body .print-table .print-table_bold {
    font-weight: 500;
}

.theme-print .print-body .print-table .print-table_bold.total {
    font-weight: 600;
}

.theme-print .print-body .print-table .print-table_total {
    font-size: 16px;
    color: #d70018;
}

.theme-print .print-footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #121212;
    page-break-inside: avoid;
}

.theme-print .print-footer .print-footer_list ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
    }

    @page {
        size: A4;
        width: 210mm;
        height: 297mm;
        margin: 10.16mm;
        @bottom-right {
            content: 'Trang ' counter(page) '/' counter(pages);
        }
    }

    [style*="overflow"], [class*="scroll"], [class*="overflow"] {
        overflow: visible !important;
    }

    body {
        background-color: #ffffff;
        -webkit-text-size-adjust: 100% !important;
    }
    
    header,
    footer,
    .section-breadcrumb,
    .nav-breadcrumb,
    .sidebar-category,
    .floating-contact,
    .aside-widget,
    .section-widget,
    #scroll-top,
    .section-heading,
    .combo-price__sticky,
    .product-images,
    .detailContent,
    .sticky-price__mobile {
        opacity: 0;
        display: none !important;
    }

    .theme-print {
        display: table !important;
        padding: 0;
    }


    .theme-print .print-header,
    .theme-print .print-header .print-header_info,
    .theme-print .print-table {
        border-color: #606060;
    }

    .theme-print .print-body .print-table .print-table_title > span {
        color: #000000;
    }

}

