/**
 * JR Center - Print Styles
 * Projeto: JR Rural Center Atacadista
 * Versão: 1.0
 * Este CSS apresenta uma página branca limpa para impressão
 */

/* Reset básico para impressão */
@media print {
    /* Remove todas as cores de fundo */
    * {
        background-color: white !important;
        background-image: none !important;
        color: black !important;
        border-color: #ccc !important;
    }

    /* Remove sombras */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Oculta elementos desnecessários para impressão */
    header,
    nav,
    footer,
    .modal,
    #product-modal,
    #cookie-modal,
    #aceite-banner,
    .slideshow,
    #hero-slideshow,
    .slide-indicator,
    button,
    .btn,
    .fixed,
    .sticky,
    .hidden,
    script,
    style:not(#print-content),
    .no-print {
        display: none !important;
        visibility: hidden !important;
    }

    /* Oculta elementos com classes específicas */
    .bg-green-900,
    .bg-green-800,
    .bg-green-700,
    .bg-yellow-500,
    .bg-gray-900,
    .bg-white,
    .bg-gray-50 {
        background-color: white !important;
        background: white !important;
    }

    /* Remove gradientes */
    .bg-gradient-to-br,
    .bg-gradient-to-r,
    [style*="background: linear-gradient"],
    [style*="background-image"] {
        background-image: none !important;
    }

    /* Configurações da página para impressão */
    @page {
        margin: 1cm;
        size: A4;
    }

    /* Corpo da página */
    body {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12pt;
        line-height: 1.4;
        color: black !important;
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Links - mostra URL após o link */
    a[href]:after {
        content: none !important;
    }

    a {
        color: black !important;
        text-decoration: none !important;
    }

    /* Títulos */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
        page-break-inside: avoid;
    }

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

    /* Tables */
    table {
        border-collapse: collapse !important;
    }
    
    table, th, td {
        border: 1px solid #ccc !important;
    }

    /* Prevenção de quebras de página indesejadas */
    pre, blockquote {
        page-break-inside: avoid;
    }

    /* Oculta elementos interativos */
    .cursor-pointer,
    .cursor-not-allowed {
        cursor: default !important;
    }

    /* Remove transições e animações */
    * {
        transition: none !important;
        animation: none !important;
    }

    /* Conteúdo específico - área imprimível */
    #print-content,
    .print-content {
        display: block !important;
        visibility: visible !important;
    }

    /* Mostra o conteúdo principal */
    main,
    section,
    .container {
        display: block !important;
        visibility: visible !important;
    }

    /* Oculta elementos de navegação e interação */
    .mobile-menu,
    #mobile-menu,
    .whatsapp-link,
    #whatsapp-link,
    .product-card,
    .hero-slide {
        display: none !important;
    }

    /* Remove efeitos visuais */
    .drop-shadow-lg,
    .shadow-lg,
    .shadow-xl,
    .shadow-md {
        box-shadow: none !important;
    }

    /* Texto com opacidade */
    .text-white,
    .text-green-100,
    .text-green-300,
    .text-gray-400,
    .text-gray-500 {
        color: black !important;
    }

    /* Bordas */
    .border,
    .border-t,
    .border-b,
    .border-gray-100,
    .border-gray-200 {
        border: none !important;
    }

    /* Linhas horizontais */
    hr {
        border: none;
        border-top: 1px solid #ccc !important;
    }
}
