.contenedor{
    width: 100%;
    height: 50px;
    margin: auto;
    background: var(--color-principal);

    position: relative;
}
.contenedor .menuMobile{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.contenedor .menuMobile .mainName{
    width: 250px;
    margin-left: 10px;
    display: flex;
}
.contenedor .menuMobile .mainName a{
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    color: var(--color-secundario);
    height: 50px;
    align-content: center;
}
.iconos{
    height: 50px;
    margin-right: 5px;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.iconos i{
    font-size: 30px;
    align-content: center;
    color: white;
    cursor: pointer;
}
.iconos i:hover{
    color: black;
}
.total{
    width: 18px;
    height: 18px;
    position: absolute;
    bottom: 5px;
    color: var(--titulos);
    background: var(--color-secundario);
    border-radius: 50%;
    text-align: center;
    border: 1px solid black;
    font-size: 12px;
    cursor: pointer;
}
nav{
    width: 80%;
    height: 100vh;
    background: var(--color-principal);
    position: absolute;
    top: 0;
    z-index: 100;
    margin-left: -100%;
}
nav ul{
    padding: 0;
    display: flex;
    flex-direction: column;
}
nav ul li{
    list-style: none;
}
nav ul li a{
    text-decoration: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
    padding: 20px;
    color: var(--color-secundario);
    font-size: 15px;
}
nav ul li a:hover{
    background: rgba(0,0,0,0.5);
}
nav .auth{
    width: 100%;
    display: flex;
    flex-direction: column;
}
nav .auth .registro,nav .auth .login{
    width: 90%;
    margin:5px auto;
}
nav .auth .registro a,nav .auth .login a{
    width: 100%;
    margin: auto;
    text-decoration: none;
    cursor: pointer;
    color: var(--titulos);
    border-radius: 10px;
    border: 1px solid black;
    background:var(--color-secundario);
    display: block;
    font-size: 15px;
    text-align: center;
    padding: 10px;
}
nav .auth .registro a:hover,nav .auth .login a:hover{
    text-decoration: underline;
}

.contenedor .productos-carrito{
    position: absolute;
    width: 100%;
    background: var(--color-principal);
    top: 50px;
    z-index: 99;
}
.contenedor .productos-carrito table{
    width: 100%;
}
.contenedor .productos-carrito table tr td{
    width: 20%;
    text-align: center;
    background: var(--color-secundario);
    color: var(--titulos);
    border: 1px solid black;
}

.contenedor .productos-carrito table tr td img{
    width: 90%;
}
.contenedor .productos-carrito table tr td p{
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
.contenedor .productos-carrito table tr td input[type="number"]{
    width: 100%;
    text-align: center;
    font-weight: bold;
    outline: none;
    border: none;
}
.contenedor .productos-carrito table tr td i{
    width: 100%;
    font-size: 30px;
    color: white;
    background: var(--color-principal);
    cursor: pointer;
}
.contenedor .productos-carrito table tr td i:hover{
    transform: scale(1.02);
}
.contenedor .productos-carrito table tr td i:active{
    transform: scale(0.97);
}
.contenedor .productos-carrito table tr td button{
    outline: none;
    border: none;
    border-radius: 50%;
    background: red;
    padding: 15px;
    color: white;
    font-size: 17px;
}
.contenedor .productos-carrito table tr .totalesP p{
    text-align: end;
    padding-right: 10px;
    font-size: 20px;
    margin: auto;
}

@media (min-width:1080px){
    .contenedor .menuMobile .mainName{
        margin-left: 80px;
    }
    .iconos #menu{
        display: none;
    }
    .iconos #shop{
        width: 38px;
        height: 50px;
        margin-right: 15px;
    }
    nav{
        width: 35%;
        height: 50px;
        margin: 0;
        left: 87%;
        transform: translateX(-85%);
        background: none;
        display: flex;
        /* background: red; */
    }
    nav ul{
        width: 50%;
        flex-direction: row;
        text-align: center;
        height: 50px;
    }
    nav ul li{ 
        flex-grow: 1;
        margin: auto;
    }
    nav ul li a{
        font-size: 16px;
        padding: 0;
    }
    nav ul li a:hover{
        background: none;
        text-decoration: underline;
    }
    nav .auth{
        width: 50%;
        flex-direction: row;
    }
    nav .auth .registro,nav .auth .login{
        width: 48%;
        margin: auto;
    }
    .contenedor .productos-carrito{
        width: 50%;
        right: 0;
    }
    .contenedor .productos-carrito table tr td img{
        width: 60px;
        height: 60px;
    }
}