.cat-area,
.product-area {
    height: 100%;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: 10px;
    stroke-width: 10px;
}

.cat-area>div {
    width: 100%;
}


.billing-area {
    padding-bottom: 0px;
}

.bill-table {
    width: 100%;
    height: fit-content;
    max-height: 360px;
    overflow-y: auto;
}

.bills {
    width: 100%;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.cat-grid {
    display: flex;
    flex-direction: column;
}

.grand-total{
    font-size: 24px;
}


@media only screen and (max-width: 767px) {
    .cat-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .cat-area {
        max-height: 100%;
    }

    .cat-area>div {
        width: fit-content;
    }

    .billing-area {
        padding-bottom: 150px;
    }

}



.table.table.table-bordered.footersumtotal {
    margin-bottom: 0;
    font-size: 13px
}

.table.table.table-bordered.footersumtotal tr td {
    text-align: left
}

.table.table.table-bordered.footersumtotal td,
.table.table.table-bordered.footersumtotal th {
    padding: .3rem;
    vertical-align: middle
}

.table.table.table-bordered.footersumtotal .form-control {
    height: 22px;
    margin: 0 !important;
    max-width: 75px;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 2px
}


.listcat {
    color: #fff;
    background-color: #3b7cb4;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: 600
}




@media(max-width:991px) {
    .cat-nav {
        display: inline-block
    }
}

.pos .input-group .form-control {
    border-radius: 0;
}

.table td,
.table th {
    vertical-align: middle;
}

.btn-delete {
    color: red;
    font-size: 1.5rem;
}

.btn-add,
.btn-subtract {
    font-size: 1.2rem;
}

.bottom-area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    display: flex;
    /* justify-content: flex-end; */
}

.bottom-area>div:first-child {
    width: 255px;
}

.bottom-area>div:last-child {
    flex-grow: 1;
    padding: 10px;
}

.btm-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-select {
    background: #fff;
    width: 100%;
    min-height: 100px;
    max-height: 280px;
    z-index: 80;
    top: calc(100% + 4px);
    left: 0;
    box-shadow: 0 10px 10px 1px rgba(62, 57, 100, 0.3);
    overflow-y: auto
}

.search-select-option{
    border: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    line-height: 1;
    gap: 6px;
    cursor: pointer;
}

.search-select-option:hover{
    background: var(--primary);
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .btm-nav {
        height: fit-content;
        flex-direction: column;
    }

}
