/*
 * BresciaPC Theme - print.css
 *
 * Stili di stampa separati (media=print).
 */

@media print {
    /* [Audit v6.0 #print-1] Comprehensive print stylesheet improvements */

    /* Hide non-essential UI elements */
    .bpc-sticky-bar,
    .site-header,
    .bresciapc-main-header,
    .site-footer,
    .bpc-modal,
    .bpc-notice,
    .breadcrumb-shell,
    .bpc-floating-wa,
    header,
    footer,
    nav,
    .site-navigation,
    .bpc-header,
    .bpc-footer,
    .header-icons,
    .mobile-menu,
    .mini-cart-panel,
    .search-dialog {
        display: none !important;
    }

    /* Base typography and layout */
    body {
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Remove visual effects */
    .glass-form-card,
    .bento-card,
    .mini-map-wrapper,
    .bpc-social-proof,
    .hero-quick-links,
    .bpc-hero-glass {
        box-shadow: none !important;
        backdrop-filter: none !important;
        background: transparent !important;
    }

    /* Simplify section spacing */
    .bpc-contact-premium,
    .bpc-section,
    section {
        padding: 1rem 0 !important;
        margin: 0 !important;
        page-break-inside: avoid;
    }

    /* Links: show URLs */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Skip print-unfriendly anchor links */
    a[href^="#"]::after {
        content: "";
    }

    /* Preserve heading hierarchy */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    /* Image optimization */
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }

    /* Remove decorative elements */
    .reveal,
    .slider,
    .carousel,
    .accordion__toggle,
    svg:not([viewBox]),
    .icon-placeholder {
        display: none !important;
    }

    /* Clean button styling */
    button,
    .btn,
    .btn-apple {
        background: none !important;
        border: 1px solid #000 !important;
        color: #000 !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* Form improvements */
    input,
    textarea,
    select {
        border: 1px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
    }

    /* Table-friendly styling */
    table {
        border-collapse: collapse;
        width: 100%;
        margin: 1rem 0;
    }

    table, th, td {
        border: 1px solid #000 !important;
    }

    th, td {
        padding: 0.5rem;
        text-align: left;
    }
}
