/* Scoped to PDF invoices; retain the PDF plugin's pagination and table structure. */
.invoice { color: #28382f; line-height: 1.35; }
.invoice .kpt-invoice-brand { background-color: #8e1722; padding: 4mm 5mm; margin-bottom: 7mm; border-bottom: 1mm solid #244b3b; }
.invoice .kpt-invoice-brand img { width: 95mm; height: auto; }
.invoice table.head { margin-bottom: 7mm; }
.invoice td.header { color: #8e1722; font-size: 20pt; }
.invoice td.header img { display: none; }
.invoice .document-type-label { color: #8e1722; font-size: 20pt; margin: 0 0 6mm; }
.invoice .shop-name { color: #244b3b; margin-bottom: 2mm; }
.invoice table.order-data-addresses { margin-bottom: 9mm; }
.invoice .order-data table th { color: #637268; }
.invoice .order-details thead th { background-color: #244b3b; border-color: #244b3b; color: #fff; padding: 3mm 2mm; }
.invoice .order-details td { padding: 3mm 2mm; border-color: #dce4dd; }
.invoice .order-details .product { width: 60%; }
.invoice .order-details .quantity { width: 20%; }
.invoice .order-details th.quantity { white-space: nowrap; font-size: 8pt; }
.invoice .order-details .price { width: 20%; text-align: right; }
.invoice .item-meta { color: #637268; line-height: 1.3; }
.invoice table.totals th, .invoice table.totals td { padding: 2.5mm 2mm; border-color: #dce4dd; }
.invoice table.totals td.price { text-align: right; }
.invoice table.totals tr.order_total td, .invoice table.totals tr.order_total th { background-color: #edf3ed; color: #244b3b; border-top: 0.6mm solid #244b3b; border-bottom: 0.6mm solid #244b3b; }
.invoice .customer-notes, .invoice .document-notes { padding-right: 7mm; font-size: 8pt; }
.invoice .kpt-invoice-greeting { margin-top: 12mm; padding-top: 4mm; border-top: 0.3mm solid #dce4dd; color: #8e1722; font-size: 10pt; page-break-inside: avoid; }
.invoice .kpt-invoice-greeting span { color: #637268; font-size: 8pt; }
