/* ═══════════════════════════════════════════════════════════════
   Evitalya Print Stylesheet
   Loaded via: <link rel="stylesheet" href="/evitalya-print.css" media="print">
   ═══════════════════════════════════════════════════════════════ */

@media print {
    /* Hide non-printable elements */
    nav, .nav,
    footer, .footer,
    .cookie-banner, #evitalya-cookie-banner,
    .scroll-progress,
    .page-curtain,
    .skip-link, .ev-skip-link,
    .download-btn, .download-actions,
    .btn-checkout, .disc-backdrop,
    .map-container, .maplibregl-map,
    [data-noprint], .no-print {
        display: none !important;
    }

    /* Reset backgrounds for ink saving */
    body {
        background: white !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.5;
    }

    /* Ensure links are visible */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }

    /* Page breaks */
    .category-section, .card, .source-item {
        page-break-inside: avoid;
    }
    h1, h2, h3 {
        page-break-after: avoid;
    }

    /* Score ring: print as text */
    .score-ring svg {
        display: none;
    }

    /* Ensure tables fit */
    table {
        font-size: 9pt;
        width: 100% !important;
    }

    /* Remove shadows and rounded corners */
    * {
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    /* Header branding */
    @page {
        margin: 2cm;
        @bottom-center {
            content: "Evitalya — evitalya.com";
            font-size: 8pt;
            color: #999;
        }
    }
}
