@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: 'Cairo', 'Noto Sans Arabic', 'Georgia', serif;
        font-size: 12pt;
        line-height: 1.5;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: none;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    h1, h2, h3, h4 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    p, li, blockquote {
        orphans: 3;
        widows: 3;
    }

    table {
        border-collapse: collapse !important;
    }

    th, td {
        border: 1px solid #000 !important;
        padding: 6px 8px;
    }

    .site-header,
    .site-footer,
    .nav-sections,
    .sidebar,
    .carousel,
    .countdown-timer,
    .deal-badge,
    .add-to-cart-btn,
    .buy-button,
    .floating-cta,
    .wishlist-btn,
    .social-share,
    .back-to-top,
    .scroll-progress,
    .language-switcher,
    .mobile-menu-toggle,
    .cart-icon,
    .search-form,
    .breadcrumbs,
    .woocommerce-toolbar,
    .discount-badge,
    .discount-badge-top,
    .woocommerce span.onsale,
    .sheel-parallax-bg,
    .sheel-orb,
    .sheel-particles,
    .sheel-scroll-progress {
        display: none !important;
    }

    @page {
        margin: 2cm;
    }
}
