main#main{
    padding: 0px 10px;
    margin: 20px 0px;
    position: relative;
    position: relative;
    margin: auto;
    max-width: 600px;
}

h1{
    text-align: center;
}

.precio{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    /* margin: auto;
    width: fit-content; */
    margin: 20px 0px 20px 10px
}

.precio>div{
    margin: 10px 0px 0px 10px;
}

.precio>button{
    position: relative;
    margin: auto;
    margin-top: 10px;
}

.productos{
    margin: 30px 0px;
}

.producto{
    display: flex;
    padding: 15px 0px 15px 20px;
    margin: 15px 5px;
    border-radius: 25px 25px 25px 25px;
    box-shadow: 0px 0px 23px 5px rgb(238, 238, 238);
}


.producto figure{
    display: flex;
    align-items: center;
    width: 7em;
}

.producto img{
    width: 100%;
}

.producto>div{
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
}

.producto>div>*{
    margin: 7px 0px;
}

.producto>div>span{
    width: 100%;
}

.producto>div>.title{
    font-size: 1.15em;
}

.producto .botones{
    display: flex;
}

.producto .cantidad{
    border-radius: 7px;
    font-size: 1.15em;
}

.producto .eliminarDelCarrito{
    border: none;
    padding: 8px;
    background-color: rgb(200, 0, 0);
    color: white;
    border-radius: 7px;
    margin-left: 15px;
    border: 2px solid black;
}

@media screen and (min-width: 768px) {
    .productos{
        min-height: 20vh;
    }

}



@media screen and (min-width: 1200px){
    main#main{
        display: flex;
        flex-wrap: wrap;
        max-width: none;
    }

    h1{
        width: 100%;
    }

    .precio{
        width: 30%;
        padding: 0px 50px;
        margin: 0px;
    }
    .productos{
        width: 70%;
        padding: 0px 50px;
        border-right: 1px rgb(212, 212, 212) solid;
        min-height: 37vh;
    }

    .precio>button{
        margin-top: 30px;
    }


}