/* style.css - Kasirin */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
button:disabled { cursor: not-allowed; }
.overflow-x-auto { -webkit-overflow-scrolling: touch; }

/* Cetak struk thermal 58mm */
@page { size: 58mm auto; margin: 0; }
@media print {
    html, body { height: auto !important; overflow: visible !important; }
    body * { visibility: hidden; }
    #print-area, #print-area * { visibility: visible; }
    #print-area {
        display: block !important;
        position: absolute; left: 0; top: 0;
        width: 58mm;
        font-family: 'Courier New', Courier, monospace;
        font-size: 11px; line-height: 1.35;
        color: #000; background: #fff;
        padding: 3mm;
    }
}

/* Layar sentuh (tablet/HP): tombol lebih besar agar mudah ditekan */
@media (pointer: coarse) {
    button.w-6.h-6 { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
    header nav button[id^="nav-"] { padding-top: 0.6rem; padding-bottom: 0.6rem; }
    #stock-modal button, #pay-in-modal button, #order-modal button { min-height: 2.5rem; }
}
