        html,
        body {
            zoom: 100%;
            height: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            overscroll-behavior-y: contain;
            -webkit-user-select: none;
            /* Chrome, Safari */
            -moz-user-select: none;
            /* Firefox */
            -ms-user-select: none;
            /* IE/Edge */
            user-select: none;
            overflow-x: hidden;
        }

        main {
            flex: 1 0 auto;
            /* Ocupa todo o espaço restante */
            overflow-y: auto;
            background-color: rgb(255, 255, 255);
            /* ou o valor que você quiser */
            overflow-y: auto;
        }

        thead th {
            position: sticky;
            top: 0px;
            background-color: #f8f9fa;
            /* Cor de fundo para o cabeçalho fixo */
            z-index: 1;
        }

        .listaProduto {
            height: 110px;
            margin-bottom: 15px;
            background-color: rgba(19, 75, 103, 0.88);
            color: rgb(255, 255, 255);
            transition: all 0.5s ease;
        }

        .listaProduto:hover {
            background-color: rgba(19, 75, 103, 0.6);
            color: rgb(255, 255, 255);
        }

        .listaProduto:active {
            transform: translateX(-80%);
            background-color: rgba(19, 75, 103, 0.6);
            color: rgb(255, 255, 255);
        }

        input {
            padding-left: 40px;
            border: none;
            background-repeat: no-repeat;
            background-position: 10px;
        }

        input.buscaProduto {
            background-image: url(../img/lupa.png);
        }

        @media screen and (max-height: 860px) {
            .table-responsive-scroll {
                max-height: 58vh;
                /* background-color: rgba(255, 255, 255, 0.856); */
                /* max-height: 490px; */
                /* ou o valor que você quiser */
                overflow-y: auto;
            }

            .table-responsive-scroll thead th {
                position: sticky;
                top: 0;
                /* background-color: #f8f9fa; */
                z-index: 1;
            }

            .listaItens {
                width: 0%;
                height: 67vh;
                right: 0px;
                background-color: rgb(255, 255, 255);
                /* background-color: rgb(74, 89, 100); */
                border: 3px solid rgba(214, 214, 214, 0.466);
                color: #070707;
                position: absolute;
                margin-left: 50px;
                margin-top: -24px;
                display: block;
                overflow: hidden;
            }

            .abaLista {
                width: 35px;
                height: 120px;
                background-color: rgb(255, 176, 6);
                /* background-color: rgb(60, 77, 90); */
                position: fixed;
                font-size: 9pt;
                font-weight: bold;
                text-align: center;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                border-right: 2px solid rgba(214, 214, 214, 0.466);
                margin-left: -37px;
                margin-top: 45%;
                cursor: pointer;
                color: rgb(255, 255, 255);
                box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.4);
                text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
            }

            .divFechamento {
                position: absolute;
                width: 350px;
                height: auto;
                left: 50%;
                margin-top: 28%;
                /* top: 28%; */
                padding: 30px 30px;
                z-index: 1;
                transform: translateX(-50%);
                background: rgb(255, 255, 255);
                color: rgb(119, 119, 119);
                font-weight: bold;
                box-shadow: 1px 1px 5px 9999px rgba(71, 84, 92, 0.856);
                border-radius: 10px;
            }

        }


        @media screen and (height: 663px) {
            .table-responsive-scroll {
                max-height: 50vh;
                /* background-color: rgba(255, 255, 255, 0.856); */
                /* max-height: 490px; */
                /* ou o valor que você quiser */
                overflow-y: auto;
            }

            .table-responsive-scroll thead th {
                position: sticky;
                top: 0;
                /* background-color: #f8f9fa; */
                z-index: 1;
            }

            .listaItens {
                width: 0%;
                height: 538px;
                right: 0px;
                background-color: rgb(255, 255, 255);
                /* background-color: rgb(74, 89, 100); */
                border: 3px solid rgba(214, 214, 214, 0.466);
                color: #070707;
                position: absolute;
                margin-left: 50px;
                margin-top: -24px;
                display: block;
                overflow: hidden;
            }

            .abaLista {
                width: 35px;
                height: 120px;
                background-color: rgb(255, 176, 6);
                /* background-color: rgb(60, 77, 90); */
                position: fixed;
                font-size: 9pt;
                font-weight: bold;
                text-align: center;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                border-right: 2px solid rgba(214, 214, 214, 0.466);
                margin-left: -37px;
                margin-top: 45%;
                cursor: pointer;
                color: rgb(255, 255, 255);
                box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.4);
                text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
            }

            .divFechamento {
                position: absolute;
                width: 350px;
                height: auto;
                left: 50%;
                margin-top: 28%;
                /* top: 28%; */
                padding: 30px 30px;
                z-index: 1;
                transform: translateX(-50%);
                background: rgb(255, 255, 255);
                color: rgb(119, 119, 119);
                font-weight: bold;
                box-shadow: 1px 1px 5px 9999px rgba(71, 84, 92, 0.856);
                border-radius: 10px;
            }

        }


        @media screen and (height: 739px) {
            .table-responsive-scroll {
                max-height: 55vh;
                /* background-color: rgba(255, 255, 255, 0.856); */
                /* max-height: 490px; */
                /* ou o valor que você quiser */
                overflow-y: auto;
            }

            .table-responsive-scroll thead th {
                position: sticky;
                top: 0;
                /* background-color: #f8f9fa; */
                z-index: 1;
            }

            .listaItens {
                width: 0%;
                height: 538px;
                right: 0px;
                background-color: rgb(255, 255, 255);
                /* background-color: rgb(74, 89, 100); */
                border: 3px solid rgba(214, 214, 214, 0.466);
                color: #070707;
                position: absolute;
                margin-left: 50px;
                margin-top: -24px;
                display: block;
                overflow: hidden;
            }

            .abaLista {
                width: 35px;
                height: 120px;
                background-color: rgb(255, 176, 6);
                /* background-color: rgb(60, 77, 90); */
                position: fixed;
                font-size: 9pt;
                font-weight: bold;
                text-align: center;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                border-right: 2px solid rgba(214, 214, 214, 0.466);
                margin-left: -37px;
                margin-top: 45%;
                cursor: pointer;
                color: rgb(255, 255, 255);
                box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.4);
                text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
            }

            .divFechamento {
                position: absolute;
                width: 350px;
                height: auto;
                left: 50%;
                margin-top: 28%;
                /* top: 28%; */
                padding: 30px 30px;
                z-index: 1;
                transform: translateX(-50%);
                background: rgb(255, 255, 255);
                color: rgb(119, 119, 119);
                font-weight: bold;
                box-shadow: 1px 1px 5px 9999px rgba(71, 84, 92, 0.856);
                border-radius: 10px;
            }

        }

        @media screen and (min-height: 900px) {
            .table-responsive-scroll {
                max-height: 68vh;
                /* background-color: rgba(49, 250, 8, 0.856); */
                /* max-height: 490px; */
                /* ou o valor que você quiser */
                overflow-y: auto;
            }

            .table-responsive-scroll thead th {
                position: sticky;
                top: 0;
                z-index: 1;
            }

            .listaItens {
                width: 0%;
                height: 75vh;
                right: 0px;
                background-color: rgb(255, 255, 255);
                /* background-color: rgb(74, 89, 100); */
                border: 3px solid rgba(214, 214, 214, 0.466);
                color: #070707;
                position: absolute;
                margin-left: 50px;
                margin-top: -24px;
                display: block;
                overflow: hidden;
            }

            .abaLista {
                width: 35px;
                height: 120px;
                background-color: rgb(255, 176, 6);
                /* background-color: rgb(60, 77, 90); */
                position: fixed;
                font-size: 9pt;
                font-weight: bold;
                text-align: center;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                border-right: 2px solid rgba(214, 214, 214, 0.466);
                margin-left: -37px;
                margin-top: 35%;
                cursor: pointer;
                color: rgb(255, 255, 255);
                box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.4);
                text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
            }

            .divFechamento {
                position: absolute;
                width: 350px;
                height: auto;
                left: 50%;
                margin-top: 28%;
                /* top: 28%; */
                padding: 30px 30px;
                z-index: 1;
                transform: translateX(-50%);
                background: rgb(255, 255, 255);
                color: rgb(119, 119, 119);
                font-weight: bold;
                box-shadow: 1px 1px 5px 9999px rgba(71, 84, 92, 0.856);
                border-radius: 10px;
            }

        }

        #qrcode {
            margin-top: 20px;
        }

                /* INICIO CODIGO PARA LEITOR */
                #reader {
                    width: 300px;
                    height: 300px;
                    border: 2px solid #4CAF50;
                    border-radius: 12px;
                    overflow: hidden;
                    margin-bottom: 20px;
                    display: none;
                    /* começa oculto */
                }
        
                /* FIM CODIGO PARA LEITOR */
        
        
                .dashboard {
                    max-height: 58vh;
                    width: 100%;
                    overflow-y: auto;
                    font-family: 'Segoe UI', sans-serif;
                    /* background:rgba(255, 255, 255, 1); */
                    background: none;
                    padding: 16px;
                    box-sizing: border-box;
                }
        
                .section {
                    background: #fff;
                    border-radius: 16px;
                    padding: 16px;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                    margin-bottom: 24px;
                }
        
                .section h2 {
                    font-size: 18px;
                    margin-bottom: 12px;
                    color: #333;
                    border-left: 4px solid #3b82f6;
                    padding-left: 8px;
                }
        
                .payment-methods li,
                .client-list li,
                .product-list li {
                    display: flex;
                    justify-content: space-between;
                    padding: 6px 0;
                    border-bottom: 1px solid #eee;
                }
        
                .payment-methods li:last-child,
                .client-list li:last-child,
                .product-list li:last-child {
                    border-bottom: none;
                }
        
                .highlight {
                    font-weight: bold;
                    color: #2563eb;
                }
        
                .total {
                    font-weight: bold;
                    font-size: 16px;
                    color: #111;
                }
        
                .top-list {
                    list-style: decimal inside;
                    padding-left: 0;
                    color: #555;
                }
        
                .top-list li {
                    padding: 4px 0;
                }
        
                /* Scroll customizado para Android/iOS mais moderno */
                .dashboard::-webkit-scrollbar {
                    width: 6px;
                }
        
                .dashboard::-webkit-scrollbar-thumb {
                    /* background-color: #d1d5db; */
                    border-radius: 8px;
                }
        
                .titulo-faixa {
                    position: relative;
                    display: inline-block;
                    font-size: 22pt;
                    font-weight: bold;
                    text-transform: uppercase;
                    color: #222;
                    z-index: 1;
                }
        
                .titulo-faixa::before {
                    content: "";
                    position: absolute;
                    bottom: 6px;
                    left: 0;
                    width: 100%;
                    height: 10px;
                    background: rgba(21, 72, 92, 0.6);
                    z-index: -1;
                    border-radius: 3px;
                }
        
        
                @media (max-width: 480px) {
                    .section {
                        padding: 12px;
                    }
        
                    .section h2 {
                        font-size: 16px;
                    }
        
                    .total {
                        font-size: 14px;
                    }
                }