@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
        color: #000 !important;
    }

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        font-family: Arial, sans-serif !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }

    #header-outer,
    #footer-outer,
    #slide-out-widget-area,
    #mobile-menu,
    .nectar-social,
    .nectar-button,
    .woocommerce-product-search,
    .woocommerce-breadcrumb,
    .woocommerce-ordering,
    .woocommerce-result-count,
    .woocommerce-pagination,
    .product_meta,
    .related,
    .upsells,
    .cross-sells,
    .cart,
    .single_add_to_cart_button,
    .button,
    .back-to-top,
    .sf-menu,
    .off-canvas-menu-container,
    .nectar-shop-header-bottom,
    .nectar-shop-header,
    .woocommerce-notices-wrapper {
        display: none !important;
    }

    #ajax-content-wrap,
    .container,
    .row,
    .main-content,
    .post-area,
    .woocommerce,
    .product,
    .summary,
    .entry-summary,
    .woocommerce-category-footer-description {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
        break-after: avoid;
        color: #000 !important;
    }

    p,
    li,
    blockquote,
    table {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    img,
    svg {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    a,
    a:visited {
        color: #000 !important;
        text-decoration: underline !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        word-break: break-all;
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after,
    .woocommerce-product-gallery a::after,
    .product a::after {
        content: "";
    }

    table {
        border-collapse: collapse !important;
        width: 100% !important;
    }

    th,
    td {
        border: 1px solid #ccc !important;
        padding: 4px !important;
    }

    @page {
        margin: 1.2cm;
    }
}