@media print{body *{visibility:hidden}.print-receipt,.print-receipt *{visibility:visible}.print-receipt{position:absolute;left:0;top:0;width:100%}.no-print,.sidebar,button:not(.print-receipt button),header,nav{display:none!important}@page{size:80mm auto;margin:0}}.print-receipt{width:80mm;max-width:80mm;margin:0 auto;padding:5mm;font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px;line-height:1.5;color:#000;background:#fff;direction:rtl}.receipt-header{text-align:center;margin-bottom:10px}.restaurant-logo{margin-bottom:8px}.logo-placeholder{font-size:48px;line-height:1}.restaurant-name{font-size:24px;font-weight:700;margin:8px 0 4px;letter-spacing:-.5px}.restaurant-tagline{font-size:11px;color:#666;margin:4px 0}.restaurant-info{font-size:10px;color:#444;margin-top:6px;line-height:1.4}.restaurant-info p{margin:2px 0}.receipt-divider{margin:8px 0;color:#333;overflow:hidden}.receipt-divider,.receipt-divider-thin{text-align:center;font-size:10px;letter-spacing:-1px}.receipt-divider-thin{margin:6px 0;color:#666}.receipt-order-info{margin:10px 0;font-size:11px}.info-row{display:flex;justify-content:space-between;margin:4px 0;padding:2px 0}.info-row .label{font-weight:600;color:#333}.info-row .value{font-weight:400;color:#000}.receipt-items{margin:10px 0}.items-header{display:flex;justify-content:space-between;font-weight:700;font-size:11px;margin-bottom:6px;padding:0 2px}.item-name-header{flex:2}.item-qty-header{flex:1;text-align:center}.item-price-header{flex:1;text-align:left}.receipt-item{margin:8px 0;padding:6px 2px;border-bottom:1px dashed #ddd}.receipt-item:last-child{border-bottom:none}.item-row{margin-bottom:4px}.item-name{font-weight:600;font-size:13px;display:block;color:#000}.item-details{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#444;margin-top:2px}.item-qty{flex:1}.item-unit-price{flex:1;text-align:center;color:#666;font-size:10px}.item-total{flex:1;text-align:left;font-weight:600;color:#000}.item-notes{margin-top:4px;padding:4px 6px;background:#f8f8f8;border-radius:3px;font-size:10px;color:#555;font-style:italic}.receipt-summary{margin:10px 0}.summary-row{display:flex;justify-content:space-between;margin:6px 0;font-size:12px}.summary-row.discount{color:#28a745}.summary-row.discount .summary-value{font-weight:600}.summary-row.total{font-size:16px;font-weight:700;margin-top:10px;padding-top:8px}.summary-label{color:#333}.summary-value{color:#000;font-weight:600}.summary-row.total .summary-label{font-weight:700}.summary-row.total .summary-value{font-size:18px}.receipt-payment{margin:10px 0;text-align:center}.payment-status{padding:8px;margin:6px 0;border-radius:4px;font-weight:700;font-size:13px}.payment-status.paid{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.payment-status.unpaid{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.payment-info{display:flex;justify-content:space-between;margin:4px 0;font-size:11px;padding:4px 0}.receipt-footer{margin-top:15px;text-align:center}.thank-you{font-size:16px;font-weight:700;margin:10px 0 6px;color:#000}.visit-again{font-size:12px;color:#555;margin:4px 0 10px}.cashier{font-size:10px;color:#666;margin:8px 0}.qr-code-section{margin:12px 0}.small-text{font-size:10px;color:#666;margin-bottom:6px}.qr-placeholder{width:80px;height:80px;margin:8px auto;border:2px dashed #ccc;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:4px;background:#fafafa}.print-time,.receipt-id{font-size:9px;color:#999;margin:4px 0;word-break:break-all}@media print{.print-receipt{font-size:11px}.restaurant-name{font-size:22px}.item-name{font-size:12px}.summary-row.total{font-size:15px}.summary-row.total .summary-value{font-size:17px}.thank-you{font-size:15px}*{box-shadow:none!important;text-shadow:none!important}.receipt-divider,.receipt-divider-thin{color:#000}.item-notes{background:#f0f0f0}}@media screen{.print-receipt{box-shadow:0 0 20px rgba(0,0,0,.1);border:1px solid #e0e0e0;margin:20px auto}}