:root {
    --base: #161D33;
    --secundario: #A3CEB3;
    --fondo: #c5d4cc;
    --negro: #000000;
    --base2: #3C414D;
    --blanco: #ffffff;
    --rojo: #FF3C4F;
    --coral: #FC4A4A;
    --verde: #8ecf8c;
    --verdeOscuro: #1C8370;
    --amarillo: #ffe23c;
    --naranja: #FFA62B;
    --azul: #2D71F8;

    --fuente: "Parkinsans";
}

input,
textarea {
    outline: 0 none;
}


.grid {
    display: grid;
}

.flex__center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.mg_t_b__5px {
    margin: 5px 0px;
}

.hide {
    display: none !important;
}

/* LOADER */
.pace .pace-activity {
    display: block;
    position: fixed;
    z-index: 99999999999999999999999999999999999999999999;
    top: 0 !important;
    width: 3rem;
    height: 3rem;
    border: solid .125rem transparent;
    border-top-color: #3c4e71;
    border-left-color: #3c4e71;
    right: 0 !important;
    translate: -50vw 50vh;
    border-radius: 100%;
    margin: auto;
}

.pos-menu {
    padding: 16px 8px 16px 4px;
    /* width: 18rem !important; */
}


.pos .pos-menu {
    display: flex;
    width: 10rem;
    flex-direction: column;
    bottom: 0;
    left: 0;
    padding-left: 1rem;
    position: fixed;
    top: 69px;
    bottom: 0;
    /* height: calc(100% - 6rem); */
}

.pos-menu .nav-item {
    /* width: 120px;
    height: 90px; */

    width: 84px;

}

.pos .pos-menu .nav.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 185px;
}


.pos .pos-menu .nav.nav-tabs .nav-item {
    padding: 0px;
}

.nav-item a {
    font-size: xx-small;
}

.pos .pos-menu .nav.nav-tabs .nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 70px;
}

.app-sidebar .app-sidebar-mobile-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 240px !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: var(--bs-app-sidebar-mobile-backdrop-zindex) !important;
    /* width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    outline: 0 !important; */
    /* display: none; */

    background: var(--bs-app-sidebar-mobile-backdrop-bg);
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 240px;
}

.nav-item a i {
    height: 1.25rem;
    font-size: 1.25rem;
}

.pos .pos-menu .nav.nav-tabs .nav-item .nav-link {
    padding: 0.75rem;
    /* white-space: wrap; */
    min-height: 82px;

}

.nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time {
    font-weight: 500;
    font-size: clamp(16px, 2vw, 24px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.new__header {
    position: sticky;
    top: 0;
}

.new_header_back {
    /* padding: 0.66rem 1.75rem; */
    /* height: 3.75rem; */
    position: sticky;
    top: 0;
    /* bottom: 0px; */
    /* right: 8%; */
    /* left: -1%; */
    background: var(--bs-body-bg);
    z-index: 1030;
    /* border-radius: 9px; */
    /* width: 103%;
    margin-left: -15px; */
}

.new__header__pos {
    padding: 0.66rem 1.75rem;
    height: 3.75rem;
    /* position: sticky;
    top: 16px; */
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bs-component-bg);
    z-index: 1030;
    border: 1px solid var(--bs-border-color);
    box-shadow: -10px 3px 20px 3px var(--bs-border-color);
    /* border-radius: 9px; */
    width: 100%;

}

/* .pos-content-container {
    padding-top: 0rem !important;
    padding-left: 4rem !important;
} */

.pos .pos-sidebar {
    position: fixed;
    top: 69px;
    bottom: 0;
    height: calc(100% - 6rem);
    margin: 1rem;
    border-radius: 9px;
    border: 1px solid var(--bs-border-color);
    right: 0;
    /* padding-top: 90px; */
}


.logo-img img {
    max-width: 90px !important;
    width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0px 0px 6px white);
}

.lista__productos {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 2px; */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 20px;
    justify-items: center;
    padding-top: 90px;
}



.pos .pos-checkout-table.finish {
    a {
        color: darkred;

        i {

            color: var(--bs-danger) !important;
        }
    }
}

.articulo {
    width: 100%;
    /* max-width: 660px; */
    max-width: 180px;
    padding: 0px !important;
}

.pos .pos-product .info.info__posicion {
    /* padding: 1rem 1rem 2px 1rem !important; */

    padding: 1rem;
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: #ffffffeb;
    height: 56%;
    z-index: 1;
}

.pos .pos-product.not-available .not-available-text {
    position: absolute;
    top: -75px;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 11.25rem;
    background: rgb(33 40 55 / 62%);
    color: var(--bs-component-bg);
    font-size: 1.3125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
}

.pos .pos-product:hover {

    .img {
        filter: brightness(0.8);
        scale: 1.1;
    }

    .info.info__posicion {
        display: none;
    }
}

.pos-order-product .img {
    border-radius: 50px;
}

.pos .pos-sidebar .pos-order {
    padding: 10px !important;
    cursor: pointer;
}

.unit__price {
    display: flex;
    height: 72px;
    width: 72px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    position: relative;
}

.total__unit__price {
    border: none;
    width: 70px;
    text-align: end;
    background: transparent;

}

.unit__price__display {
    border: none;
    border-radius: 50px;
    text-align: end;
    position: absolute;
    cursor: pointer;
    color: white;
    height: 72px;
    width: 72px;
    background-color: #1d1a1a66;
    padding-right: 18px;
    font-weight: 700;
    font-size: medium;


}

.unit__price__currency {
    position: absolute;
    right: 5px;
    color: white;
    font-size: medium;
    font-weight: 700;
}

.order__list {
    overflow-x: hidden !important;
}

#pos-sidebar {
    /* height: 60%; */
}

.scroller {
    overflow-x: hidden !important;
    width: 185px;
}

.pos .pos-menu .nav-container {
    width: 185px;

}


/* .pos .pos-menu .nav.nav-tabs .nav-item .nav-link {
    padding: 12px 4px;
    text-wrap: wrap;
} */

.total__amount {
    cursor: pointer;
    gap: 10px;
}

#subtotal__amount,
#subtotal__amountComanda,
#impuestos__amount,
#impuestos__amountComanda,
#total__amount,
#total__amountComanda,
#subtotal__amountComanda:focus-visible,
#impuestos__amountComanda:focus-visible,
#total__amountComanda:focus-visible #subtotal__amount:focus-visible,
#impuestos__amount:focus-visible,
#total__amount:focus-visible {
    cursor: default;
    border: none !important;
    width: 100%;
    outline: 0 none;
    background: transparent;
}

.calculator {
    border: 1px solid var(--bs-border-color);
    border-radius: 9px;
    padding: 1rem;
    /* background-color: var(--bs-component-bg); */
    background-color: var(--bs-border-color-translucent);
    display: flex;
    justify-content: center;
    text-align: center;

    button {
        padding: 1rem 1.5rem;
        background-color: var(--bs-btn-bg);
        border-radius: 9px;
        border: 1px solid var(--bs-border-color);
        margin: 2px;
        font-size: 18px;
        font-weight: 500;
        min-width: 61px;
        /* width: 100%;
        height: 6vh;
        max-width: 56px;
        max-height: 56px; */
    }

    .special {
        width: 61px;
    }

    .numbers {
        min-width: 205px;

    }

    .zero {
        padding: 1rem 3.6rem;
        /* width: 100%;
        height: 6vh;
        max-width: 120px;
        max-height: 56px; */
    }

    .plus,
    .equal {
        padding: 3rem 1.3rem;
        font-weight: bold;
    }

    .clear {
        padding: 1rem 2.3rem
            /* width: 100%;
        max-width: 120px; */
    }

    button:hover {
        color: var(--bs-theme-color);
        border-color: var(--bs-theme);
        background: var(--bs-theme);
    }
}

.calculator__actions {
    button {
        padding: 1rem 1.2rem;
        background-color: var(--bs-btn-bg);
        border-radius: 9px;
        border: 1px solid var(--bs-border-color);
        margin: 2px;
        font-weight: 500;
        /* width: 100%;
        height: 6vh;
        max-width: 56px;
        max-height: 56px; */

    }
}

.option__observaciones {
    border: 1px solid var(--bs-border-color);
    padding: .625rem;
    height: 100%;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

::-webkit-scrollbar {
    width: 7px;
    background: lightgray;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--secundario);
    border-radius: 15px;
}

::-webkit-scrollbar-thumb {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    background: var(--base2);
}

#containerSala .konvajs-content {
    background-color: var(--bs-border-color);
}

.eliminarBtn {
    height: 50px;
    width: 50px;
}

.cancelar {
    border-color: var(--bs-code-color) !important;
    background-color: var(--bs-code-color) !important;
}

/* ////////////////////////////////////////////    CONFIGURACION             //////////////////////////////////////////////////////////////////// */

.menu-link {
    cursor: pointer;
}

.toggle__button {
    font-size: xx-large;
}

.menu-toggler {
    width: 25px;
    height: 8px;
    border-left: none;
    border-right: none;
    background-color: transparent;
    margin-right: 10px;
}

.advanced__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;

    .mobile-toggler {
        margin-bottom: 5px;
    }

}

.tiposMesa button {
    border: none;
    background-color: #EBEEF4;

    .eliminarBtn {
        background-color: var(--bs-btn-bg) !important;
        border-color: var(--bs-btn-border-color) !important;
    }
}

.tiposMesa .eliminarBtn {
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);

}

.mobiliario {
    background-color: #EBEEF4;
}

/* STOCK */

.no__stock {
    background: #a8b6d16b !important;

    a.btn-theme {
        background-color: var(--bs-pink);
        border-color: var(--bs-pink);
    }
}


.pos-mobile-sidebar-toggler {
    bottom: 6rem;
    right: 15px;

}

.btn-scroll-top {
    bottom: 1.25rem;
    z-index: 1030;
    right: 25px;
}


/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .lista__productos {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        /* gap: 2% !important; */
        /* padding-bottom: 6%; */
        gap: 0px;
        padding-top: 115px;
    }

    .articulo {
        width: 100%;
        max-width: 100%;
        padding: 0px !important;
    }

}

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .pos .pos-menu {
        display: flex;
        width: 100%;
        flex-direction: column;
        bottom: 0;
        left: 0;
        padding: 0;
        position: fixed;
        top: 0;

        bottom: 0;
        height: 50px;
    }


    .pos .pos-menu .nav.nav-tabs {
        overflow-y: hidden !important;
        margin: -5px 0;
        display: flex;
        flex-wrap: nowrap;
        padding: 0 1rem;
        overflow: scroll;
        border-bottom: 1px solid var(--bs-border-color);
        background-color: var(--bs-body-bg);
        border-top: none;
        position: absolute;
        top: 64px;
        width: 100%;
        height: 65px;
        gap: 8px;
        z-index: 99999999999999999999999999999;
    }

    .nav.nav-tabs {
        position: absolute;
        width: 100%;
        /* bottom: -10vw; */
        z-index: 99999999999999999999999999999;
        height: 20vh;

        bottom: -93vh;
    }

    /* .pos-content-container {
        padding: 1rem !important;
        padding-bottom: 8rem !important;

    } */

    .pos .pos-menu .nav.nav-tabs .nav-item {
        padding: .5rem 0;
        width: 120px;
        height: 50px;

        .nav-link {
            justify-content: center;
            flex-direction: row;
        }

    }


    .lista__productos {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
        /* gap: 2% !important; */
        /* padding-bottom: 6%; */
        gap: 20px;
        padding-top: 115px;
    }


    .scroller {
        overflow-x: auto !important;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    .desktop-toggler {
        display: none !important;
    }

    .pos.pos-with-menu {
        padding-top: 0;
    }

    .pos .pos-menu .nav.nav-tabs {
        display: flex;
        flex-wrap: wrap !important;
        gap: 8px;
        width: 100% !important;
        ;
        flex-direction: row;
    }

    .pos .pos-menu {
        width: 100% !important;
    }



    .searchBar__bar {
        top: 123px !important;
        padding: 20px 0;
    }

    [type=search] {
        height: 35px !important;
    }

    .top-3 {
        top: 3px !important;
    }

    .left-5 {
        left: 14px !important;
    }



}



/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

@media (max-width:1200px) {
    .desktop-toggler {
        display: none;
    }

    .nav.nav-tabs {
        position: relative;
        width: 100%;
        /* bottom: -10vw; */
        z-index: 99999999999999999999999999999;
        height: 48px;
        bottom: 0px;
    }

    .lista__productos {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        /* gap: 2% !important; */
        gap: 20px;
        padding-bottom: 6%;
    }

    .scroller {
        overflow-x: hidden !important;
        /* width: 100px; */
        overflow-y: scroll !important;
    }

    /* .pos .pos-menu .nav.nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        width: 185px;
        flex-direction: column;
    } */

    /* .pos-content-container {
        padding-top: 0rem !important;
        padding-left: 0rem !important;
    } */

    /* .pos .pos-menu {
        width: 8rem;
    } */

    /* .pos .pos-menu .nav-container {
        width: 100px;
    } */

    .lista__productos {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
        gap: 10px;
        padding-top: 0px;
    }


}

/* // X-Large devices (large desktops, less than 1400px) */

/* @media (max-width: 362px) {

    .lista__productos {
        display: grid !important    ;
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
        gap: 0px !important;
        padding-top: 115px;
    }

    .articulo {
        width: 100%;
        max-width: 100%;
        padding: 0px !important;
    }



} */





@media (max-height: 768px) {
    /* .lista__productos {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) ;

        gap: 20px ;
        padding-bottom: 6%;
    } */

    .lista__productos {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));

        gap: 4px;
        padding-bottom: 6%;
    }

    /* .articulo{
        height: 80px;
    } */

    /* .info__posicion .desc,
    .nav {
        display: none;
    } */

    .info__posicion .title {
        font-size: 14px !important;

    }

    .articulo {
        /* height: 140px; */
        max-height: 120px;
        max-width: 120px;
    }

    .pos .pos-product .img {
        min-height: 9.25rem;
    }

    .pos .pos-product .info.info__posicion {
        padding: 4px !important;

    }
}







@media (min-width: 991.98px) {
    .mobile-toggler {
        /* display: none !important; */
    }

    .actions {
        /* display: none; */
        position: fixed;
        top: 60px;
        z-index: 99999999999999999999;
        background: var(--bs-app-sidebar-content-mobile-bg);
        left: -500px;
    }


    .pos-sidebar {
        margin: 0;
    }

}



@media (max-width: 500px) {
    .pos-sidebar {
        margin: 0px !important;
        height: 92vh !important;
        z-index: 9999999999999999999999999;
    }

}

.pos .pos-menu .nav.nav-tabs .nav-item span {
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: inherit;
    width: 70px;
    line-height: 11px;
    text-align: center;
    margin-top: 4px;
    color: #000;

    position: absolute;
    bottom: 0px;
    width: 100%;
    background: #ffffffeb;
    height: 56%;
    z-index: 1;
    text-align: center;
    line-height: 16px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.pos .pos-product .info.info__posicion {
    /* padding: 1rem 1rem 2px 1rem !important; */
    padding: 0.2rem;
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: #ffffffeb;
    height: 56%;
    z-index: 1;
    text-align: center;
    line-height: 16px;
}

.nav-link.categoria>span {
    position: absolute;
    /* bottom: 0px; */
    width: 100%;
    background: #ffffffeb;
    /* height: 56%; */
    z-index: 1;
    text-align: center;
    line-height: 16px;
}

.pos .pos-menu .nav.nav-tabs .nav-item .nav-link.active {
    color: var(--bs-theme-color);
    border-color: var(--bs-theme);
    background: var(--bs-theme);
    border-width: medium;
}

.modal.modal-pos .modal-pos-product .modal-pos-product-img .img {
    max-height: 13rem !important;
    min-height: 13rem !important;
}