@media print {
    body {
        font-family: 'Poppins', Arial, sans-serif;
        margin: 0;
        padding: 16px;
        color: #222;
        background: #fff;
        font-size: 11px;
    }

    .navbar,
    .hero,
    .editorial,
    .footer,
    .restore-banner,
    .steps-bar,
    .btn-calcular-principal,
    .btn-add,
    .btn-remove-ingrediente,
    #add-ingrediente,
    #cta-pos-resultado,
    .btn-imprimir-ficha,
    .btn-voltar,
    #formulario {
        display: none !important;
    }

    .card-wrapper {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .card-calculadora {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    #resultados {
        display: block !important;
        padding: 0 !important;
        animation: none !important;
    }

    .print-only {
        display: block !important;
    }

    #print-header {
        text-align: center;
        margin-bottom: 14px;
        padding-bottom: 8px;
        border-bottom: 2px solid #8a3030;
    }

    #print-header h2 {
        font-size: 16px;
        color: #8a3030;
        margin: 0 0 4px;
    }

    #print-header p {
        font-size: 11px;
        color: #555;
        margin: 2px 0;
    }

    #print-ingredientes-section {
        margin-bottom: 14px;
        page-break-inside: avoid;
    }

    #print-ingredientes-section h3 {
        font-size: 12px;
        color: #8a3030;
        margin-bottom: 6px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 3px;
    }

    #print-ingredientes-section table {
        width: 100%;
        border-collapse: collapse;
        font-size: 10px;
    }

    #print-ingredientes-section th,
    #print-ingredientes-section td {
        padding: 3px 5px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    #print-ingredientes-section th {
        background: #f5f5f5;
        font-weight: 600;
        color: #333;
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    #print-ingredientes-section td:last-child,
    #print-ingredientes-section th:last-child {
        text-align: right;
    }

    .result-header,
    .result-badge {
        display: none !important;
    }

    .result-breakdown {
        margin-bottom: 12px;
        page-break-inside: avoid;
    }

    .breakdown-item {
        padding: 4px 0;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #eee;
    }

    .breakdown-dot { display: none; }

    .breakdown-label {
        font-size: 11px;
        color: #444;
    }

    .breakdown-value {
        font-size: 11px;
        font-weight: 600;
        color: #222;
    }

    .result-main-card {
        background: none !important;
        border: 1px solid #8a3030;
        border-radius: 6px;
        padding: 14px;
        page-break-inside: avoid;
    }

    .result-main-label {
        font-size: 10px;
        color: #888;
    }

    .result-main-price {
        font-size: 22px !important;
        font-weight: 700;
        color: #8a3030 !important;
    }

    .result-main-sublabel {
        font-size: 10px;
        color: #888;
    }

    .result-main-divider {
        border-bottom: 1px solid #ddd;
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .result-main-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 8px;
    }

    .result-mini-card {
        background: #f9f9f9;
        border-radius: 4px;
        padding: 6px 10px;
    }

    .mini-label {
        font-size: 9px;
        color: #888;
    }

    .mini-value {
        font-size: 14px;
        font-weight: 600;
        color: #ff8225;
    }

    #print-footer {
        text-align: center;
        margin-top: 20px;
        padding-top: 8px;
        border-top: 1px solid #8a3030;
        font-size: 9px;
        color: #999;
    }

    #print-footer strong {
        color: #8a3030;
    }

    .section,
    .section-divider,
    .subtotal-barra,
    .margem-group,
    .grid-2,
    .field-group,
    .ingrediente-card,
    #add-ingrediente {
        display: none !important;
    }
}
