
/*********************************************** 
 * Panier > Tableau récapitulatif
 ***********************************************/

 .woocommerce-cart .wc-block-components-totals-shipping__collaterals {
    display: none;
 }

 .woocommerce-cart .shipping-target {
    background-color: var(--wp--preset--color--neutral-100);
    color: var(--wp--preset--color--neutral-900);
    border: 1px solid var(--wp--preset--color--neutral-500);
    border-radius: 8px;
    padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
    font-size: var(--wp--preset--font-size--small);
    margin-top: 16px;
 }
 .woocommerce-cart .shipping-target:before {
    content: "ℹ";
    margin-right: 10px;
 }

 .woocommerce-cart:has(label[for*="free_shipping"]) .shipping-target {
    display: none;
 }

 /** Champs des codes promo **/
 .woocommerce-cart .wc-block-components-text-input input[type=text],
 .woocommerce-cart .wc-block-components-text-input input[type=text]:focus {
   background-color: var(--wp--preset--color--fond);
   color: var(--wp--preset--color--texte);
   border-radius: 8px;
   border: 1px solid var(--wp--preset--color--gris);
 }
 .woocommerce-cart .wc-block-components-text-input label {
   color: var(--wp--preset--color--gris);
 }
 .woocommerce-cart .wc-block-components-text-input input[type=text]::placeholder {
   color: var(--wp--preset--color--gris);
 }


 /*********************************************** 
 * Panier > Tableau des produits
 ***********************************************/
 .woocommerce-cart .wc-block-cart-item__image img {
   border-radius: 8px;
 }
 .woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
   text-decoration: none;
 }


 /*********************************************** 
 * Panier > Ajout des labels HT/TTC
 ***********************************************/
 .wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item__label:after,
 .wp-block-woocommerce-cart-order-summary-shipping-block .wc-block-components-totals-item__label:after {
   content: " (HT)";
   font-weight: 400;
   font-style: italic;
   color: var(--wp--preset--color--gris);
   font-size: var(--wp--preset--font-size--small);
 }

 .wc-block-components-totals-footer-item .wc-block-components-totals-item__label:after {
   content: " (TTC)";
   font-weight: 400;
   font-style: italic;
   color: var(--wp--preset--color--gris);
   font-size: var(--wp--preset--font-size--medium);
 }

 .wp-block-woocommerce-cart-order-summary-taxes-block .wc-block-components-totals-item__label:after {
   content: " (TVA 20%)";
   font-weight: 400;
   font-style: italic;
   color: var(--wp--preset--color--gris);
   font-size: var(--wp--preset--font-size--small);
 }

 .wc-block-cart-items__header-total span:after {
   content: " HT";
 }

 /*********************************************** 
 * Panier > Gestion des bordures
 ***********************************************/
 .woocommerce-cart .wc-block-components-totals-wrapper,
 .woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block,
 .woocommerce-cart .is-large.wc-block-cart .wc-block-cart-items td {
   border-top: 1px solid var(--wp--preset--color--gris);
 }
 .woocommerce-cart .is-large.wc-block-cart .wc-block-cart-items {
   border-bottom: 1px solid var(--wp--preset--color--gris);
 }

 .woocommerce-cart .wc-block-components-quantity-selector:after {
   border:1px solid var(--wp--preset--color--gris);
   border-radius: 8px;
 }


 /*********************************************** 
 * Panier > Header
 ***********************************************/
 .woocommerce-cart div:has(>.wp-block-wdevs-tax-switch) {
   display: none!important;
 }


 /*********************************************** 
 * Panier > Stepper CSS
 ***********************************************/
.etapes-commande {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 750px;
    padding: 20px 0;
    list-style: none;
    margin: auto;
}

.etape {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.etape-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--fond-alternatif);
    border: 2px solid var(--wp--preset--color--gris);
    z-index: 2;
}

.etape.active .etape-icone {
    background-color: var(--wp--preset--color--cta-principal-fond);
    border-color: var(--wp--preset--color--cta-principal-fond);
}

.etape-svg {
    width: 20px;
    height: 20px;
    color: var(--wp--preset--color--gris);
}
.etape.active .etape-svg {
  color: var(--wp--preset--color--cta-principal-texte);
}

.etape-barre {
    content: '';
    flex-grow: 1;
    height: 4px;
    background-color: var(--wp--preset--color--gris);
    margin-left: 12px;
    margin-right: 12px;
    z-index: 1;
}

.etape:last-child .etape-barre {
    display: none;
}
.etape:last-child {
  flex-grow: 0;
}
