.esapi_carrito{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.div_carro{
    width: 80% ;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.info_compra{
    background-color: #F3F6F6;
    border: 0.0625rem solid #ddd;
    /* border-radius: 0.75rem; */
    border-radius: 1.875rem;
    padding: 1.25rem;
    width: 18.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
}

.compra_titol {
    width: 100%;
    margin: 0px;
    text-align: left;
}

.c_titol {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
}

.compra_general {
    margin: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.compra_llista {
    width: 100%;
}

table {
    width: 100%;
}

td {
    padding: 0px 10px;
}

.compra_final {
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.c_final {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: end;
}

.c_total {
    font-weight: bold;
    font-size: 1.25rem;
}

.compra_final button {
    width: 80%;
}

/* -- -- -- -- */
.llista_productes{
    width: 60%;
    height: auto;
    background-color: #F3F6F6;
    border: 0.0625rem solid #ddd;
    margin: 1.25rem;
    border-radius: 1.875rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.producte_llista{
    width: 90%;
    height: 6.25rem;
    background-color: white;
    border-radius: 1.5625rem;
    padding: 10px;
    margin: 0.5rem;

    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: space-around;
    align-items: center;
}
.producte_llista img{
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.9375rem;
}

.quatntitat {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 0.125rem solid #ddd; */
    border-radius: 1.5625rem;
}

.quatntitat .number {
    width: 2.5rem;
    text-align: center;
    padding: 0.3125rem;
    border: none;
    outline: none;
}
.quatntitat .number::-webkit-inner-spin-button,
.quatntitat .number::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.boto {
    background-color: #F3F6F6;
    color: black;
    border: none;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;

    display: flex;
    justify-content: center;
    align-items: center;
}
#botom {
    border-top-right-radius: 1.5625rem;
    border-bottom-right-radius: 1.5625rem;
}
#boton {
    border-top-left-radius: 1.5625rem;
    border-bottom-left-radius: 1.5625rem;
}
.boto:hover{
    color: white;
    background-color: #b884f9;
}
.elimina{
    background: #F3F6F6;
    color: black;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.elimina:hover{
    background-color: red;
}

.producte_info {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.producte_info p {
    padding-left: 10px;
}
.producte_config {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/* -- -- -- -- */
@media screen and (max-width: 992px) {
    .div_carro {
        width: 90%;
        flex-direction: column-reverse;
    }
    .llista_productes {
        width: 100%;
        margin: 0px;
    }
    .info_compra {
        width: 100%;
    }
    .compra_general {
        flex-direction: row;
    }
    .compra_final {
        width: 100%;
    }
    .producte_llista {
        width: 95%;
    }
}
@media screen and (max-width: 500px) {
    .compra_general {
        flex-direction: column;
    }
    .carro-buit h3 {
        font-size: 1rem;
    }
    .carro-buit p, .carro-buit a {
        font-size: 0.75rem;
    }
}
@media screen and (max-width: 1350px) and (min-width: 992px) {
    .producte_llista {
        flex-direction: column;
        height: auto;
    }
    .producte_info {
        margin: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    .producte_config {
        margin: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

@media screen and (max-width: 767px) {
    .producte_llista {
        flex-direction: column;
        height: auto;
    }
    .producte_info {
        margin: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    .producte_config {
        margin: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}