/* resets */
.container-sacola {
    ul,
    ol {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    li {
        margin: 0;
        padding: 0;
    }

    ul li {
        box-sizing: border-box;
    }
    img {
        width: 100%;
    }
    button{
        border: none;
    }
}



.menu-topo.sacola {
    position: relative;

    button {
        border:0;
        background-color: transparent;
        color: black;
    }
    button:hover{
        color: red;
    }
    .qtd-sacolas {
        position: absolute;
        background-color: red;
        color: white;
        width: 15px;
        line-height: 15px;
        text-align: center;
        font-size: 11px;
        font-weight: bold;
        border-radius: 50%;
        top: -7px;
        left: -5px;
    }
}


.container-sacola-body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}
.container-sacola-body.on {
    display: block;
}
.container-sacola {
    position: fixed;
    width: 40%;
    height: 100%;
    background: white;
    top: 0;
    right: 0;
    z-index: 1000;
    box-shadow: -4px 0px 10px 0 #1c1a1a;
    transition: all ease 0.2s;
    transform: translateX(calc(100% + 10px));
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.container-sacola.on {
    transform: none;
}


.sacola-body {
    height: 90%;
    overflow-y: scroll;
}


.cont-sacola-itens {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.cont-sacola-itens li {
    position: relative;
    display: flex;

    .foto {
        width: 80px;
    }
    .btn-remover {
        position: absolute;
        right: 0;
        top: 0;
    }
    .estampa > div {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        box-shadow: 0 0 2px 0 #979797;
    }

    .estampa {
        display: flex;
    }
}


.cont-sacola-totais ul {
    display: flex;
    justify-content: space-around;
}


li.li-loja {
    display: flex;
    flex-direction: row;
}

li.li-loja .logo {
    width: 80px;
    height: 80px;
    background-size: 86px;
    background-position: -3px;
}

.coluna-2 {
    width: calc(100% - 80px);
    .titulo-loja {
        font-weight: bold;
    }
    .codref {
        font-size: 10px;
        font-weight: bold;
        line-height: 10px;
    }

    .cont-comprar {
        display: flex;
    }
    .cont-comprar input {
        border: none;
        padding: 0;
        width: 100%;
        text-align: center;
        width: 30px;
        font-size: 12px;

    }
}




.cont-modal-sacola {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.4);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cont-modal-sacola > div {
    background-color: white;
    box-shadow: 0 0 5px 0 #d7d7d7;
    border-radius: 3px;
    padding: 10px;
}

.cont-modal-sacola .titulo {
    font-weight: bold;
}