/* Stampa: switch a tema chiaro, nasconde elementi non essenziali */
@media print {
    :root {
        --cr-bg: #ffffff;
        --cr-bg-alt: #f7f7f7;
        --cr-bg-elev: #f0f0f0;
        --cr-surface: #ffffff;
        --cr-border: #cccccc;
        --cr-text: #111111;
        --cr-text-muted: #555555;
        --cr-heading: #000000;
        --cr-primary: #c0621a;
    }
    html, body { background: #fff !important; color: #111 !important; }

    .cr-navbar, .cr-footer, .cr-compare-bar,
    .cr-navbar-search, .cr-hero-art,
    .cr-results-toolbar, .cr-filters,
    .navbar-toggler, .cr-card-compare,
    .breadcrumb, .btn, button,
    [role="region"][aria-label="Barra confronto riduttori"] {
        display: none !important;
    }

    a { color: #000 !important; text-decoration: none; }
    a::after { content: " (" attr(href) ")"; font-size: .7rem; color: #666; }
    a[href^="/"]::after { content: ""; }

    .cr-card, .cr-panel, .cr-compare-grid-wrap {
        background: #fff !important; border: 1px solid #ccc !important;
        box-shadow: none !important; page-break-inside: avoid;
    }
    .cr-hero, .cr-page-head { background: #fff !important; border-bottom: 1px solid #ccc !important; }
    .cr-hero-title, .cr-page-title, .cr-detail-code { color: #000 !important; }
    .cr-chip { background: #f0f0f0 !important; color: #333 !important; border: 1px solid #ddd !important; }
    .cr-level-badge { border: 1px solid #333 !important; color: #000 !important; background: #f0f0f0 !important; }
    .cr-stat-num { color: #c0621a !important; }
    .table-cr thead th { background: #f7f7f7 !important; color: #333 !important; }
    .table-cr tbody td, .table-cr tbody th { border-color: #ddd !important; color: #111 !important; }
}
