/* ******************************************** */
/** CART List
/* ******************************************** */

.c-cart__checkout-btn{
    width: 100%;
    font-size: 1.4rem;
}

.c-cart__table{
    width: 100%;
}

.c-cart__th {
    text-align: left;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding-bottom: 1.2em;
    font-family: var(--font-secondary);
    font-weight: 700;
}

.c-cart-product-image{
    display: none;
}

.c-cart-product-link{
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.1;
}

.c-cart td.c-cart-product-quantity-price,
.c-cart td.c-cart-product-quantity{
    vertical-align: middle;
}

.c-cart-quantity{
    white-space: nowrap;
}

.c-cart-quantity__holder{
    margin-left: 0;
}

.c-cart-quantity__input{
    width: 55px;
    font-size: 1.4rem;
}

.c-cart-price{
    font-size: 1.8rem;
    margin-top: -2px;
    margin-left: 10px;
}

.c-cart-price__row{
    white-space: nowrap;
}

.c-cart-price__number{
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
    vertical-align: bottom;
}

.c-cart-price__price-prev{
    font-size: 1.2rem;
    color: var(--color-gray);
    text-decoration: line-through;
}

.c-cart-price__percentage{
    display: inline-block;
    color: #F77103;
    font-size: 1.1rem;
    margin-left: 0.6em;
}

.c-cart-price__iva{
    display: inline-block;
    margin-left: 0.5em;
    font-size: 1.2rem;
    vertical-align: bottom;
    margin-bottom: 2px;
}

.c-cart-product-delete{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-error);
    opacity: .9;
    font-size: 2rem;
}



.c-cart-product__name{
    margin-bottom: 1.2em;
}

.c-cart-product.sold-out{
    background-color: var(--color-error-bg);
}

.c-cart-product__alert{
    display: none;
    font-size: 1.4rem;
    color: var(--color-error);
    margin-top: .6em;
}


.c-cart-product__alert:before{
    content: "\e914";
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: .4em;
}

.c-cart-product.sold-out .c-cart-quantity__input{
    border: 1px solid var(--color-error);
    color: var(--color-error);
    font-weight: 500;
}

.c-cart-product.sold-out .c-cart-product__alert{
    display: block;
}

.c-cart-product .c-product-image{
    transition: border 250ms ease-out;
}

.c-cart-product.sold-out .c-product-image{
    border: 1px solid var(--color-error);
    opacity: .45;
    transition: border 250ms ease-out;
}


@media (min-width: 375px) {

    .c-cart-price{
        margin-left: 25px;
    }

    .c-cart-price__price-prev,
    .c-cart-price__iva{
        font-size: 1.3rem;
    }

    .c-cart-price__percentage{
        font-size: 1.2rem;
    }

}


@media (max-width: 767px) and (orientation: portrait) {

    .c-cart__th--qty,
    .c-cart__th--price{
        display: none;
    }

    .c-cart__table,
    .c-cart__table :is(tbody,tr,td){
        display: block;
    }

    .c-cart td.c-cart-product-quantity-price,
    .c-cart td.c-cart-product-quantity{
        display: inline-block;
        vertical-align: middle;
    }

    .c-cart-product{
        border-top: 1px solid #201f1d4a;
        padding: 20px 35px 20px 0;
        position: relative;
    }

    .c-cart-product:last-child{
        border-bottom: 1px solid #201f1d4a;
    } 

}



/* ********************** de Mobile a TABLET ********************** */

@media (min-width: 768px) {
    
    .c-cart__th {
        padding-right: 40px;
    }
    
    .c-cart__th--qty{
        text-align: center;
    }

    .c-cart-product > *{
        border-top: 1px solid #201f1d4a;
        padding: 22px 40px 22px 0;
    }

    .c-cart-product > *:last-child{
        padding-right: 0;
    }

    .c-cart-product-delete-holder{
        position: relative;
        padding-right: 35px;
    }
    
    .c-cart-product-quantity{
        text-align: center;
    }

    .c-cart td.c-cart-product-info{
        vertical-align: middle;
    }

    .c-cart-product-link{
        margin: 0;
    }

}


/* ********************** de Tablet a DESKTOP ********************** */

@media (min-width: 980px) {

    .c-cart-product > *{
        padding: 22px 22px 22px 0;
    }

    .c-cart-quantity__input {
        width: 55px;
    }

    .c-cart-product-delete-holder{
        padding-right: 45px;
    }
    
    .c-cart-product-delete{
        transition: color 250ms ease-out;
    }
    
    .c-cart-product-link:hover,
    .c-cart-product-link:focus,
    .c-cart-product-delete:hover,
    .c-cart-product-delete:focus{
        color: var(--color-hover);
        transition: color 250ms ease-out;
    }

}


/* ********************** de Desktop a DESKTOP 2 ********************** */

@media (min-width: 1200px) {

    .c-cart-product > *{
        padding: 22px 30px 22px 0;
    }

    .c-cart-product-info{
        --image-w: 75px;
        position: relative;
    }

    .c-cart-product-image{
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        aspect-ratio: 240/168;
        overflow: hidden;
        border-radius: 6px;
        transition: border 250ms ease-out;
        width: var(--image-w);
    }

    .c-cart-product-link{
        display: inline-block;
        vertical-align: middle;
    } 

    .c-cart-product__name{
        padding-left: calc(var(--image-w) + 15px);
    }

}

@media (min-width: 1400px) {

    .c-cart-product > *{
        padding: 22px 40px 22px 0;
    }

}



