/* ============================================================================
   ZUNKO DELIVERY PLATFORM - THERMAL PRINTER STYLES (80mm / 58mm ESC/POS Layout)
   Otimizado para impressoras térmicas (Daruma, Bematech, Elgin, Epson, etc.)
   ============================================================================ */

.thermal-receipt {
    width: 80mm;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    background: #FFF;
    font-family: 'Courier New', Courier, monospace, monospace;
    font-size: 13px;
    line-height: 1.35;
    color: #000;
}

.thermal-receipt.size-58mm {
    width: 58mm;
    font-size: 11px;
}

.receipt-header {
    text-align: center;
    border-bottom: 1px dashed #000;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.receipt-title {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.receipt-subtitle {
    font-size: 12px;
    margin: 2px 0;
}

.receipt-divider {
    border-top: 1px dashed #000;
    margin: 8px 0;
}

.receipt-double-divider {
    border-top: 2px solid #000;
    margin: 8px 0;
}

.receipt-section-title {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 4px 0;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 4px;
}

.receipt-cust-line {
    font-size: 11px;
    padding-left: 12px;
    margin: 1px 0;
}

.receipt-cust-removed {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.receipt-cust-added {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 900;
    margin: 6px 0;
}

.receipt-payment-box {
    border: 2px solid #000;
    padding: 6px;
    margin: 8px 0;
    text-align: center;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
}

.receipt-footer {
    text-align: center;
    font-size: 11px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #000;
}

@media print {
    body {
        margin: 0;
        padding: 0;
        background: #FFF !important;
    }
    
    .no-print {
        display: none !important;
    }
    
    .thermal-receipt {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    @page {
        margin: 0;
        size: auto;
    }
}
