body.receipt-body { background: #fff; margin: 0; font-family: 'Courier New', monospace; }
.receipt-58mm {
    width: 58mm; min-width: 58mm; max-width: 58mm; padding: 3mm; margin: 0 auto; color: #000; background: #fff;
}
.receipt-logo { text-align: center; }
.receipt-logo img { width: 24mm; margin: 0 auto 2mm; display: block; }
.receipt-58mm h1 { font-size: 11px; text-align: center; margin: 2mm 0 1mm; }
.receipt-58mm p { font-size: 10px; text-align: center; margin: 0 0 1.5mm; }
.receipt-row { display: flex; justify-content: space-between; gap: 4px; font-size: 10px; margin: 1.2mm 0; }
.receipt-row.total { font-size: 12px; font-weight: bold; }
.separator { border-top: 1px dashed #000; margin: 2mm 0; }
.center { text-align: center; }
.small { font-size: 9px !important; }
@page { size: 58mm auto; margin: 0; }
@media print {
    body { margin: 0; }
    .receipt-58mm { width: 58mm; }
}

.print-actions {
    max-width: 420px;
    margin: 12px auto;
    padding: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: Arial, Helvetica, sans-serif;
}
.print-actions button, .print-actions a {
    border: 0;
    border-radius: 10px;
    padding: 11px 14px;
    background: #d71920;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.print-actions a { background: #1f2937; }
@media print { .no-print, .print-actions { display: none !important; } }
.invoice-ok {
    font-size: 10px !important;
    line-height: 1.45;
    text-transform: uppercase;
    margin-top: 2mm !important;
}
@media print {
    .invoice-ok { font-size: 10px !important; }
}
