

.is-carret {

    z-index: 20;
}

@media only screen and (max-width: 1025px) {

}


#carret {
    position: fixed;
    height: 100%;
    max-height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30dvw;
    right: -31dvw;
    top: 0;
    background-color: white;
    z-index: 100;
    transition: right ease-in-out 400ms;

}

#carret.open {
    right: 0;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);

}

#close-carret {
    position: absolute;
    top: var(--padding);
    right: var(--padding);
    text-decoration-line: underline;
    text-underline-offset: var(--underline-offset);
    cursor: pointer;
}
.title-carret {
    font-size: var(--font-size-large);
    padding-top: var(--padding);
    position: relative;
    padding-bottom: var(--padding);
    margin-bottom: var(--padding);
    width: var(--padded-width);

}

.llista-carret {
    display: flex;
    flex-direction: column;
    position: relative;
    width: var(--padded-width);
    margin: var(--padding);
    margin-bottom:0;
    left: 0;
    align-items: center;
    max-height: 100%;
    overflow-y: scroll;
    height: 100%
}
.producte-carret {
    position: relative;
    width: 100%;
    margin-bottom: var(--padding);
    background-color: rgba(0, 0, 0, 0);
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center
}
.producte-foto {
    position: relative;
    height: 15vh;
    width: 15vh;
    min-width: 15vh;
    background-size: cover;
    background-position: center;

}
.detalls-carret {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: var(--padding);
    height: 100%;
    width: 100%;

}

.cart-info{
    width: var(--padded-width);
}
.no-cart-info{
	flex-direction:column;
	align-items:start;
    width:var(--padded-width);
}


.footer-carret {
    display: flex;
    flex-direction: column;
    position: relative;
    
    
    align-items: center;
    width: 100%;
    background: linear-gradient(to bottom,  transparent, white var(--padding));
    min-height: fit-content;

}
.total-cart{
    padding-bottom: var(--padding);
    display:flex;
    justify-content: space-between;
    width: var(--padded-width);
    border-top: 1px solid black;
    padding-top: var(--padding);
}
.total-cart-value{
	/*font-weight: bold;*/
}
.detalls_pagament{
    display: flex;
    flex-direction: column;
    width: calc(90% - var(--padding) * 2);
    text-align: center;
    height: fit-content;
    font-size: var(--font-size-extra-small);
    margin-top: 1vh;
    margin-bottom: var(--padding);
}

.producte-carret-nom {
    font-size: var(--font-size-medium);
    padding-bottom: 0.1rem;
}
.producte-carret-talla{
	margin-bottom: 0.1rem;
	font-size: var(--font-size-extra-small);
}
.producte-carret-variacio{
	margin-bottom: 0.1rem;
	font-size: var(--font-size-extra-small);
}
.producte-carret-material{
	margin-bottom: 0.1rem;
	font-size: var(--font-size-extra-small);
}

.is-carret.producte-carret-color{
    display: flex;
    flex-direction: row;
    align-items: center !important;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
}
.is-carret.producte-carret-cercle {
    display: block;
    height: 0.5rem !important;
    width: 0.5rem !important;
    min-width: 0.5rem !important;
    min-height: 0.5rem !important;
    background-color: #bbb;
    border-radius: 50%;
    margin:0;
    margin-right: 0.3rem;
    border-color: #000000;
    border-width: 0.1rem;
}
.is-carret.producte-carret-cercle[style*="background-color:white"] {
                background-color:lightgray !important;
        }
.is-carret.pro-pedra-gran{
    height: 0.65rem !important;
    width: 0.65rem !important;
    min-width: 0.65rem !important;
    min-height: 0.65rem !important;
}
.producte-carret-delete{
    font-size: var(--font-size-extra-small);

    position: relative;
    z-index: 30;
    cursor: pointer;
    width: fit-content;
}

.checkout-button{
    width: var(--padded-width);
    margin-bottom:0;
}

.producte-carret-preu {
    font-size: var(--font-size-small);
    position: absolute;
    padding-bottom: 0.1rem;
    top: 0;
    right: 0;

}
.quantitats-carret {
    display: flex;
    align-items: center;
    
    margin-top:0.1rem;
    margin-bottom: auto;


}
.producte-carret-quantitat{
    font-size: var(--font-size-extra-small);
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}


.carret-plus, .carret-minus {
    height: 1rem;
    width: 1rem;
    padding: 0;
    cursor: pointer;
}


@media only screen and (max-width: 1025px) {
    .cart-closer{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 10%;
        height: 100%;
        z-index: 99;
    }
    #close-carret {

    }
    #carret {
        width: 90%;
        min-width: 90%;
        max-width: 90%;
        right: -91dvw;
    }
    .llista-carret {

    }
    .producte-carret-delete{

         }

    .producte-carret{
    }
    .producte-foto {
        width: 30vw;
        min-width: 30vw;
        height: 30vw;

    }
    .detalls-carret {
        padding-left: var(--padding);
        width: 80%;
    }
}

.is-carret :not(.open) {
    display: none;
}

.hide {
    display: none
}
