/* Panier non connecté */

.cart-user-not-connected{
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color00);
    border-radius: 50px;
    box-shadow: 0 0 40px rgb(0, 0, 0, 0.05);
}

/* Total */

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{
    max-width: 30%;
}


.cart_totals h2{
    display: block;
    background-color: var(--color04);
    color: var(--color00);
    text-align: center;
    border-radius: 5px;
    font-family: 'sf_compact_displaymedium', sans-serif;
    font-size: 2.5rem;
    padding: 10px 20px;
}

.shop_table th,
.shop_table td,
.woocommerce table.shop_table{
    border: none;
}
.woocommerce table.shop_table td{
    text-align: right;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
    padding: 10px 15px;
    vertical-align: middle !important;
    background-color: transparent;
}

.cart-subtotal th{
    font-size: 1.8rem;
    font-family: 'sf_compact_textheavy', sans-serif;
    color: var(--color04);
}
.cart-subtotal td{
    font-family: 'sf_compact_textheavy', sans-serif;
    color: var(--color03);
    font-size: 1.8rem;
}

.order-total th,
.order-total td{
    color: var(--color03);
    font-family: 'sf_compact_textheavy', sans-serif;
    font-size: 1.8rem;
}
.woocommerce .button.alt{
    background-color: var(--color02) !important;
    color: var(--color00);
    border-radius: 5px;
    font-family: 'sf_compact_textheavy', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
}

.woocommerce .shop_table thead{
    background-color: #F7F7F7;
}
.woocommerce .shop_table thead th{
    font-family: 'sf_compact_textheavy', sans-serif;
    font-size: 2rem;
    text-align: center;
    font-weight: normal;
    padding: 4rem 15px;
    color: var(--color04) !important;
}

.woocommerce .shop_table tbody td{
    padding: 15px;
    text-align: right !important;
    line-height: 1 !important;
    color: var(--color04) !important;
    font-family: 'sf_compact_textheavy', sans-serif;
    text-align: center;
    border: none;
}
.woocommerce .shop_table tbody tr:nth-child(even){
    background-color: #F7F7F7;
}
.woocommerce .shop_table tbody tr:last-child{
    background-color: transparent !important;
}
.woocommerce .shop_table .coupon{
    display: flex;
}
    .woocommerce .shop_table .coupon input[type="text"]{
        border: 1px solid var(--color04);
        border-radius: 0;
        margin: 0 !important;
        background-color: transparent;
    }
    .woocommerce .shop_table .coupon button[type="submit"]{
        background-color: var(--color02) !important;
        color: var(--color00) !important;
        border-radius: 0 !important;
    }
#add_payment_method table.cart .product-thumbnail,
.woocommerce-cart table.cart .product-thumbnail,
.woocommerce-checkout table.cart .product-thumbnail{
    min-width: 160px;
}
#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img{
    width: 160px;
}
.woocommerce a.remove{
    background-color: var(--color04) !important;
    color: var(--color00) !important;
}

.woocommerce-cart .quantity .qty{
    width: 60px !important;
    background-color: var(--color00);
    border: 1px solid var(--color04);
}

.cart-page-inte .order-total .includes_tax,
.cart-page-inte .order-total .includes_tax *,
.cart-page-inte .price-ht ,
.cart-page-inte .price-ht *{
    color: var(--color04) !important;
    font-size: 1.2rem;
    font-family: 'sf_compact_displaymedium', sans-serif;
    text-transform: uppercase;
}
.cart-page-inte .price-ttc * {
    font-size: 1.8rem;
    color: var(--color04) !important;
    text-transform: uppercase;
}
.cart-page-inte .order-total td{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

}


.cart_totals  .tax-rate{
    display: none;
}
.order-total span, 
.order-total {
    color: var(--color04) !important;
    font-family: 'sf_compact_textheavy', sans-serif;
}



/* Adresse */
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2{
    max-width: 50%;
    flex: 1 0 50%;
}

#order_review_heading{
    margin-top: 30px;
    text-align: center;
    margin-bottom: 30px;
}
div#order_review {
    max-width: 600px;
    background: #fff;
    padding: 30px;
    margin: 0 auto;
    border-radius: 50px;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

.woocommerce #order_review .shop_table tbody td.product-name,
.woocommerce #order_review .shop_table thead th{
        text-align: left !important;
}

.woocommerce #order_review .shop_table tbody td.product-total,
.woocommerce #order_review .shop_table thead th.product-total{
        text-align: right !important;
}



.page-template-page-panier ul li::before{
    display: none;
}

.woocommerce ul#shipping_method li input{
    width: auto !important;
    height: auto;
    min-height: auto !important;
}

.woocommerce .woocommerce-customer-details address{
    border: none; 
    background: #fff;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
   
}

.woocommerce-table--order-details tfoot{
    max-width: 40%;
}

.woocommerce-order h2{
    text-align: center;
    font-family: 'sf_compact_textheavy', sans-serif;

}
.woocommerce-order-details .woocommerce-table {
    border: none; 
    background: #fff;
    padding: 30px;
    border-radius: 50px;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}
.woocommerce-order-details{
    max-width: 600px;
    margin:0 auto;
}

.woocommerce .woocommerce-order .shop_table td.product-name,
.woocommerce .woocommerce-order .shop_table th.product-name{
    text-align: left !important;
}
.woocommerce .woocommerce-order .shop_table th.product-total{
    text-align: right;
}
.woocommerce .woocommerce-order .shop_table tfoot {
    border-top: 4px soldi var(--color03);
}
.woocommerce .woocommerce-order .shop_table tfoot tr:last-child *{
    font-family: 'sf_compact_textheavy', sans-serif;
    color: var(--color03);
    font-size: 1.8rem;
}

.woocommerce-thankyou-order-details{
    display: flex;
    justify-content: center;
}

.woocommerce-notice--success{
    text-align: center;
    font-family: 'sf_compact_textheavy', sans-serif;
    color: var(--color02);
    font-size: 1.8rem;
}

.woocommerce-notice--success::before{
    display: block;
    width: 150px;
    height: 150px;
    background-image: url(../img/charte/validate-cart.svg);
    content: "";
    margin: 0 auto;
    background-size: 100%;

}


address{
    color: var(--color04);
}


/* Désactivation du cross selling */

.page-template-page-panier .cross-sells{
    display: none;
} 




/* Steps */

.cart-page-inte .steps{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'sf_compact_displaymedium', sans-serif;
    font-size: 2.2rem;
    color: #C1C1C1;
}

.cart-page-inte .steps .active{
    color: var(--color03);
}


tr.woocommerce-cart-form__cart-item.cart_item a, 
tr.woocommerce-cart-form__cart-item.cart_item span, 
tr.woocommerce-cart-form__cart-item.cart_item small {
    font-family: 'sf_compact_displaymedium', sans-serif;
}
tr.woocommerce-cart-form__cart-item.cart_item .product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart .cart-collaterals .cart_totals table small.includes_tax {
    text-transform: capitalize;
}


/* @changelog 2021-02-11 [OPTIM] (Adrien) masque le bouton mettre à jours le panier */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
	display: none;
}

/* @changelog 2021-02-11 [OPTIM] (Adrien) opti affichage FDP */
.woocommerce-shipping-totals .woocommerce-shipping-destination
{
    display:none;
}





/* Paiement */
.payment_methods li{
    padding: 10px 0;
}
.payment_methods li::before{
    display: none !important;
}
.wc_payment_method input{
    min-height: auto !important;
    display: none;
}
.wc_payment_method label{
    display: flex;
    align-items: center;
}
.wc_payment_method label::before{
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    content: "";
    background-color: #fff;
    border: 3px solid #fff;
    margin-right: 10px;
}
.wc_payment_method input:checked + label::before{
    background-color: var(--color02);
}



.chevron{
    margin: 0 5px;
}

.woocommerce-Price-amount,
.woocommerce ul#shipping_method li label{
    font-family: 'sf_compact_textheavy', sans-serif;
    color: var(--color04) !important;
    font-weight: normal;
}
.shipped_via{
    display: none;
}



.woocommerce-order-received .woocommerce-order-details *{
    color: var(--color04) !important;
    font-family: 'sf_compact_textheavy', sans-serif;
}




/* Remontée des dernières commandes */

.ml_user_orders .title::before{
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 10px;
    content: "";
    background-image: url(../img/charte/delivery-box.svg);
    background-size: 100% auto;
}
.ml_user_orders .title{
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    justify-content: center;
    font-family: 'sf_compact_textheavy', sans-serif;
}

.ml_user_orders{
    background-color: #fff;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    border-radius: 6px;
}
.woocommerce .woocommerce-MyAccount-orders tbody td,
.woocommerce .ml_user_orders .shop_table tbody td{
    font-family: 'open_sansregular', sans-serif;
}
.woocommerce .woocommerce-MyAccount-orders  tbody td,
.woocommerce .woocommerce-MyAccount-orders  thead th,
.woocommerce .ml_user_orders .shop_table tbody td,
.woocommerce .ml_user_orders .shop_table thead th{
    text-align: center !important;

}
a.view::before,
a.order_again::before{
    display: block;
    width: 20px;
    height: 20px;
    content: "";
    margin-right: 10px;
    background-size: 100% auto;
    background-position: center;
}
a.view::before{
    background-image: url(../img/charte/eye.svg);
}
a.order_again::before{
    background-image: url(../img/charte/refresh.svg);
}
.woocommerce .woocommerce-MyAccount-orders  tbody td.woocommerce-orders-table__cell-order-actions a,
.woocommerce .ml_user_orders .shop_table tbody td.woocommerce-orders-table__cell-order-actions a{
    display: inline-flex;
    align-items: center;
    background-color: var(--color03);
    font-family: 'sf_compact_textheavy', sans-serif;
    color: #fff;
    border-radius: 5px;
    margin:  0 2px;
    transition: 0.2s ease-in-out;
}
.woocommerce .woocommerce-MyAccount-orders  tbody td.woocommerce-orders-table__cell-order-actions a:hover,
.woocommerce .ml_user_orders .shop_table tbody td.woocommerce-orders-table__cell-order-actions a:hover{
    background-color: var(--color02);
}
.woocommerce .woocommerce-MyAccount-orders  thead th.woocommerce-orders-table__header-order-number,
.woocommerce .woocommerce-MyAccount-orders  tbody td.woocommerce-orders-table__cell-order-number,
.woocommerce .ml_user_orders .shop_table thead th.woocommerce-orders-table__header-order-number,
.woocommerce .ml_user_orders .shop_table tbody td.woocommerce-orders-table__cell-order-number{
    text-align: left !important;
}