@media print{body *{visibility:hidden}.receipt-container,.receipt-container *{visibility:visible}.receipt-container{position:absolute;left:0;top:0;width:100%;width:80mm;padding:5mm;font-family:Courier New,monospace;font-size:12pt;line-height:1.4;color:#000;background:#fff}@page{size:80mm auto;margin:0}.receipt-header{text-align:center;margin-bottom:8mm}.receipt-header h1{font-size:16pt;font-weight:700;margin:0 0 2mm;text-transform:uppercase}.receipt-header p{font-size:10pt;margin:1mm 0}.receipt-divider{border-top:1px dashed #000;margin:3mm 0}.receipt-info p{font-size:10pt;margin:1mm 0}.receipt-items h2{font-size:12pt;font-weight:700;margin:2mm 0;text-align:center}.receipt-item{margin:3mm 0}.item-name{font-weight:700;margin-bottom:1mm}.item-details{display:flex;justify-content:space-between;font-size:10pt}.item-total{font-weight:700}.item-discount{font-style:italic}.item-discount,.item-notes{font-size:9pt;margin-top:1mm}.item-notes{color:#333}.receipt-totals{margin:3mm 0}.total-line{display:flex;justify-content:space-between;margin:1mm 0}.total-grand{font-size:14pt;font-weight:700;margin-top:2mm;padding-top:2mm;border-top:1px solid #000}.receipt-payment{text-align:center;margin:3mm 0}.receipt-payment p{margin:1mm 0}.receipt-footer{text-align:center;font-size:10pt;margin-top:5mm}.receipt-footer p{margin:1mm 0}.no-print,button{display:none!important}}@media screen{.receipt-container{max-width:80mm;margin:20px auto;padding:10mm;border:1px solid #ccc;background:#fff;font-family:Courier New,monospace;box-shadow:0 2px 8px rgba(0,0,0,.1)}.receipt-header{text-align:center;margin-bottom:15px}.receipt-header h1{font-size:18px;font-weight:700;margin:0 0 5px}.receipt-header p{font-size:12px;margin:2px 0;color:#333}.receipt-divider{border-top:1px dashed #666;margin:10px 0}.receipt-info p{font-size:12px;margin:3px 0}.receipt-items h2{text-align:center;font-size:14px;margin:10px 0}.receipt-item{margin:10px 0}.item-name{font-weight:700;margin-bottom:3px}.item-details{display:flex;justify-content:space-between;font-size:12px}.item-total{font-weight:700}.item-discount{font-style:italic}.item-discount,.item-notes{font-size:11px;color:#666;margin-top:2px}.receipt-totals{margin:15px 0}.total-line{display:flex;justify-content:space-between;margin:5px 0}.total-grand{font-size:16px;font-weight:700;margin-top:10px;padding-top:10px;border-top:2px solid #000}.receipt-payment{text-align:center;margin:15px 0}.receipt-payment p{margin:3px 0}.receipt-footer{text-align:center;margin-top:15px;font-size:12px}.receipt-footer p{margin:3px 0;color:#666}}