/* =====================================================
   CHECKOUT — STYLES UNIQUEMENT SUR LA PAGE DE PAIEMENT
   Exclusion de la page « Commande reçue »
   ===================================================== */

/* Checkout : contenu limité à 90 % sur grand écran */
@media screen and (min-width: 1090px) {
    body.woocommerce-checkout:not(.woocommerce-order-received)
    .entry-content {
        width: 90%;
        max-width: 1090px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Supprimer le décalage du background sur mobile et tablette */
@media (max-width: 980px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) #page-container,
    body.woocommerce-cart #page-container {
        padding-top: 0 !important;
        margin-top: -1px !important;
    }
}

/* Fond général : uniquement la page de paiement */
body.woocommerce-checkout:not(.woocommerce-order-received),
body.woocommerce-checkout:not(.woocommerce-order-received) #page-container,
body.woocommerce-checkout:not(.woocommerce-order-received) #et-boc,
body.woocommerce-checkout:not(.woocommerce-order-received) #et-main-area,
body.woocommerce-checkout:not(.woocommerce-order-received) #main-content,
body.woocommerce-checkout:not(.woocommerce-order-received) #main-content .container,
body.woocommerce-checkout:not(.woocommerce-order-received) #content-area,
body.woocommerce-checkout:not(.woocommerce-order-received) #left-area,
body.woocommerce-checkout:not(.woocommerce-order-received) article,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content {
    background-color: #183b53 !important;
}

/* Titre principal : blanc uniquement sur le checkout */
body.woocommerce-checkout:not(.woocommerce-order-received) h1.entry-title {
    color: #ffffff !important;
}


/* ============================================================================================
 * =============================================================================================
 *                        01 COLONNE DE GAUCHE FORMULAIRE DE COMMANDE
 * =============================================================================================
 * ============================================================================================*/


/*   1. CARTES DES ÉTAPES
   ===================================================== */

body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-checkout-step {
    position: relative;
    box-sizing: border-box;
    padding: 42px 24px 24px;
    margin: 0 0 32px !important;

    background: #f1f1f1;
    border: 1px solid #dce5e9;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);
}

/*   2. TITRES ET PICTOGRAMMES    Picto à gauche du titre
===================================================== */

/* Ligne du titre : picto + texte */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-checkout-step__title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    width: 100%;
    margin: 0;

    color: #183b53;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

/* Style des pictos */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-checkout-step__title::before {
    content: "";
    display: block;
    flex: 0 0 42px;

    width: 42px;
    height: 42px;
    box-sizing: border-box;
    margin: 0;

    /*border: 1.5px solid #017693;*/
    border-radius: 50%;
    background-color: #017693;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

/* Étape 1 — Contact : enveloppe */
body.woocommerce-checkout
.custom_checkout_form #contact-fields
.wc-block-components-checkout-step__title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* Étape 2 — Adresse : localisation */
body.woocommerce-checkout
.custom_checkout_form #shipping-fields
.wc-block-components-checkout-step__title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* Étape 3 — Livraison : camion */
body.woocommerce-checkout
.custom_checkout_form #shipping-option
.wc-block-components-checkout-step__title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v11H3z'/%3E%3Cpath d='M14 10h4l3 4v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}

/* Étape 4 — Paiement : carte bancaire */
body.woocommerce-checkout
.custom_checkout_form #payment-method
.wc-block-components-checkout-step__title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");
}


/* 3. ESPACEMENTS INTERNES
   ===================================================== */

/* Espacement sous l'en-tête */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-checkout-step__heading-container {
    margin-bottom: 20px;
}

/* Contenu de l'étape */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-checkout-step__content {
    margin-top: 0;
}


/* 4. CHAMPS ET OPTIONS
   ===================================================== */

/* Focus clavier */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-text-input input:focus,
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-blocks-components-select__select:focus {
    outline: 2px solid #017693;
    outline-offset: 1px;
}

/* Options de livraison et de paiement */
body.woocommerce-checkout
.custom_checkout_form .wc-block-checkout__main
.wc-block-components-radio-control__option {
    border-radius: 8px;
}


/* 5. IMAGE DE SÉCURITÉ STRIPE
   ===================================================== */

body.woocommerce-checkout
.custom_checkout_form #payment-method .payment-security-image {
    display: block;
    width: 239px;
    max-width: 100%;
    height: auto;
    margin: 22px auto 0;
}


/* 6. LIBELLÉS ÉTAPE 1 À 4 en haut à droite
   ===================================================== */

/* Numérotation commune */
body.woocommerce-checkout
.custom_checkout_form #contact-fields::after,
body.woocommerce-checkout
.custom_checkout_form #shipping-fields::after,
body.woocommerce-checkout
.custom_checkout_form #shipping-option::after,
body.woocommerce-checkout
.custom_checkout_form #payment-method::after {
    position: absolute;
    top: 10px;
    right: 14px;

    color: #017693;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    opacity: 0.75;
    pointer-events: none;
}

/* Libellés */
body.woocommerce-checkout
.custom_checkout_form #contact-fields::after {
    content: "ÉTAPE 1";
}

body.woocommerce-checkout
.custom_checkout_form #shipping-fields::after {
    content: "ÉTAPE 2";
}

body.woocommerce-checkout
.custom_checkout_form #shipping-option::after {
    content: "ÉTAPE 3";
}

body.woocommerce-checkout
.custom_checkout_form #payment-method::after {
    content: "ÉTAPE 4";
}


/* 7. RESPONSIVE — MOBILE
   ===================================================== */

@media (max-width: 767px) {

    /* Cartes */
    body.woocommerce-checkout
    .custom_checkout_form .wc-block-checkout__main
    .wc-block-components-checkout-step {
        padding: 38px 26px;
        margin-bottom: 28px !important;
        border-radius: 10px;
    }

    /* Titres */
    body.woocommerce-checkout
    .custom_checkout_form .wc-block-checkout__main
    .wc-block-components-checkout-step__title {
        gap: 9px;
        font-size: 17px;
    }

    /* Pictogrammes */
    body.woocommerce-checkout
    .custom_checkout_form .wc-block-checkout__main
    .wc-block-components-checkout-step__title::before {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        background-size: 20px 20px;
    }

    /* Libellés des étapes */
    body.woocommerce-checkout
    .custom_checkout_form #contact-fields::after,
    body.woocommerce-checkout
    .custom_checkout_form #shipping-fields::after,
    body.woocommerce-checkout
    .custom_checkout_form #shipping-option::after,
    body.woocommerce-checkout
    .custom_checkout_form #payment-method::after {
        top: 20px;
        right: 10px;
        font-size: 12px;
    }
}


/* 8. TRÈS PETITS ÉCRANS
   ===================================================== */

@media (max-width: 360px) {

    body.woocommerce-checkout
    .custom_checkout_form .wc-block-checkout__main
    .wc-block-components-checkout-step {
        padding-right: 12px;
        padding-left: 12px;
    }

    body.woocommerce-checkout
    .custom_checkout_form .wc-block-checkout__main
    .wc-block-components-checkout-step__title {
        gap: 8px;
        font-size: 16px;
    }
}

/*================  FIN  ===================*/


/* Fond général de la zone checkout */
body.woocommerce-checkout
.wc-block-components-sidebar-layout.wc-block-checkout {
    gap: 36px;
}



/*********************************************************************************************************
*                                         1.2 FORMULAIRE                           
*********************************************************************************************************/

/* Isoler visuellement le formulaire */
body.woocommerce-checkout
.wc-block-checkout__main {
    background: #fff;
	/*border-radius: 14px;*/
    border: 1px solid #E4E9E4;
    padding: 28px;
    box-sizing: border-box;
	
}

/* Titres et sections */
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-checkout-step__heading {
    margin-bottom: 18px;
}

/* espaces entre les sections */
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-checkout-step:not(:last-of-type) {
    padding-bottom: 24px;
}

/* Labels du formulaire*/
.custom_checkout_form .wc-block-components-text-input.is-active label,
.custom_checkout_form .wc-blocks-components-select__label{
  font-weight: 300;
  color: #005da1;
}

/* Champs du formulaire*/
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-text-input input,
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-textarea,
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-combobox input,
body.woocommerce-checkout
.wc-block-checkout__main
.wc-blocks-components-select__select {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5CD !important;
    border-radius: 7px !important;
    color: #26332B !important;
    box-shadow: none !important;
}

/* Contraste renforcé au survol */
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-text-input input:hover,
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-textarea:hover,
body.woocommerce-checkout
.wc-block-checkout__main
.wc-blocks-components-select__select:hover {
    border-color: #8D9F91 !important;
}



/********************************************************************************************************
*                                         1.3 FORMULAIRE - ADRESSE                          
*********************************************************************************************************/

/* Bloc de l'adresse enregistrée client */
body.woocommerce-checkout
.wc-block-checkout__main
.wc-block-components-address-card {
    background: #FFFFFF;
    border: 1px solid #CBD5CD;
    border-radius: 8px;
    padding: 16px;
}

/* CHECKOUT mot "modifier" du bloc adresse*/
.wc-block-components-address-card__edit {
  text-decoration: underline;
}

/*-----------------------------------------------------------------------------
 --->  custom du bloc "copie de l'adresse " dans woo-account > mon compte adresses
-----------------------------------------------------------------------------*/



/*********************************************************************************************************
*                                          1.3 FORMULAIRE - LIVRAISONS                           
*********************************************************************************************************/

/* MODES DE LIVRAISON : augmenter taille des cellules des noms d'expedition*/
.custom_checkout_form .wc-block-components-radio-control__label,
.custom_checkout_form .wc-block-components-radio-control__secondary-label {
    width: 100%;
}
/* MODES DE LIVRAISON : background */
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package {
   background: #FFF;
}
.wc-block-components-radio-control{
	background: #FFF
}

/* MODES DE LIVRAISON taile des tarifs */
.custom_checkout_form .wc-block-components-formatted-money-amount {
  font-size: 1.2em;
}



/****************************************************************************************************
*                           1.4.2 FORMULAIRE - LIVRAISON : icone colissimo                           
****************************************************************************************************/ 

/* CHECKOUT : ajouter l'Icône Colissimo sans signature dans checkout */
label[for*="lpc_nosign"] .wc-block-components-radio-control__label-group::before,
/* ajouter l'Icône Colissimo avec signature dans checkout */
label[for*="lpc_sign"] .wc-block-components-radio-control__label-group::before {
    content: "";
    display: inline-block;
    width: 80px;
    height: 40px;
    margin-right: 5px;
    vertical-align: middle;
    background: url('/wp-content/uploads/colissimo_icon.png') no-repeat center / contain;
}

/* CHECKOUT : Forcer l’affichage de Colissimo en une seule ligne comme Mondial Relay */
.woocommerce-shipping-methods label br {
    display: none;
}

/* CHECKOUT : Style personnalisé pour l’icône Colissimo dans le panier */
.woocommerce-shipping-methods img.lpc_shipping_icon {
    max-width: 8% !important;
    display: inline !important;
    vertical-align: middle !important;
    margin-top: -15px !important;
    margin-bottom: -12px !important;
    margin-left: 4px !important;
    margin-right: 5px;

}



/**********************************************************************************************************
*                                         1.5 FORMULAIRE - MONDIAL RELAY                           
*********************************************************************************************************/

/* CHECKOUT FORMULAIRE : arriere plan de l'adresse du point Mondial Relay choisi*/
p.parcel_shop_info {
	background-color: #ffffff;
	border-radius: 10px;
	padding:20px;
	margin-top:20px;
}

/* WOO CHECKOUT : MONDIAL RELAIS on masque l'overlay de la mise à jour à gauche*/
.MRW-LockerModal {
  visibility: hidden;
}

/* WOO CHECKOUT : MONDIAL RELAIS bouton "choisir un relais ou lockers"*/
button#mrwpbutton {
    border: none;
font-size: 14px!important;	
}
.wc-block-checkout__actions .wc-block-checkout__actions_row--justify-flex-end {
	justify-content:flex-start!important;
}

/* WOO CHECKOUT : MONDIAL RELAIS modale - bouton de validation mondial relay*/
#delivery_point_chosen {
    padding: 10px 20px;
    background-color: #96154A;
    font-size: 17px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #FFFFFF;
}
#delivery_point_chosen:hover {
    background-color: #BF0C56;
}

/* WOO CHECKOUT : MONDIAL RELAIS modale - décaler vers bas la popup pr voir la croix de fermeture*/
@media screen and (max-height: 1000px) {
    .modaal-inner-wrapper {
        padding-top: 160px !important;
    }
}



/*********************************************************************************************************
*                                          1.5 FORMULAIRE - MODE DE PAIEMENT                          
*********************************************************************************************************/ 

/* CHECKOUT : ajout de l'image secure Stripe*/
body.woocommerce-checkout .payment-security-image {
    display: block;
    width: 239px;
    max-width: 100%;
    height: auto;
    margin: 20px auto 30px;
}

/* CHECKOUT bouton COMMANDER */
.custom_checkout_form button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width.contained {
background-color: #017693;
  font-size: 1.3em;
}

/* CHECKOUT bouton COMMANDER et code promo "Appliquer "*/
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    background: #017693!important;
} 





/*************************************************************************************************************
*                        1.7  CHECKOUT — OVERLAY VEUILLEZ PATIENTER TRAITEMENT DE COMMANDE 
*                   + cf hooks-checkout.php >  CHECKOUT : OVERLAY + VERROU PENDANT LA VALIDATION 
/**************************************************************************************************************/  

body.woocommerce-checkout #mr-page-locker {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(12, 29, 42, 0.68) !important;
    cursor: wait;
}

body.woocommerce-checkout #mr-page-locker-message {
    max-width: 420px;
    width: 100%;
    padding: 28px 24px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: #183b53;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

body.woocommerce-checkout #mr-page-locker-message small {
    display: block;
    margin-top: 8px;
    color: #526779;
    font-size: 14px;
    font-weight: 400;
}

/* Empêcher le défilement pendant le traitement */
body.mr-lock-ui {
    overflow: hidden !important;
}




/* ================================================================================================
 * ================================================================================================
 *                          02 COLONNE DE DROITE RESUME DE COMMANDE
 * ================================================================================================
 * ==============================================================================================*/


/* CHECKOUT Masquer le résumé de commande en bas sur mobile et tablette 
@media screen and (max-width: 1024px) {
    .wc-block-checkout__form .checkout-order-summary-block-fill-wrapper {
        display: none !important;
    }
}*/

 /* Résumé de commande (col droite + résumé mobile du bas) */
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
  background: #fff;
  padding: 20px;
}

/* Résumé de commande du haut (mobile) : reduire la largeur */
@media (max-width: 768px) {
  .wp-block-woocommerce-checkout-order-summary-block.checkout-recap {
    width: 95% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
} 

  /*   Ajout des OMBRES */
body.woocommerce-checkout
.wc-block-checkout__sidebar
.wp-block-woocommerce-checkout-order-summary-block {
    background: #FFFFFF;
    border: 1px solid #E8ECE8;
    border-radius: 12px;
    padding: 20px 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px #0b1a24;
    box-sizing: border-box;
}

/* WOO CHECKOUT : décalage colonne récap vers le bas*/
.custom_checkout_form .is-large .wc-block-checkout__sidebar {
    top: 130px !important;
}

/* WOO CHECKOUT : cacher phrase "pas de classes d'expedition pour ce poids..."*/
.custom_checkout_form p.mrwp_erreur {
    display: none !important;
}
/* WOO CHECKOUT : cacher badge de stock. Classe css sur le bloc concerné dans la page*/
.custom_checkout_form .checkout-stock .wc-block-components-product-badge.wc-block-components-product-low-stock-badge {
    display: none;
}

/* custom des attributs & labels */
.wc-block-components-product-details__nam,
.wc-block-components-totals-item__label {
  font-weight: 600;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description .wc-block-components-product-metadata, .wc-block-components-order-summary .wc-block-components-order-summary-item__description p {
  line-height: 1.375;
  margin-top: 0px;
}
.wc-block-components-product-details.wc-block-components-product-details {
 margin: -1em 0 1em 0;
}

/* suppression des separateurs horizontaux (surtout sur mobile)*/
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title{
    border-top: none!important;
	border-bottom: none!important;
  }

/* cadre autour du panier dans recap sur mobile*/
@media (max-width: 768px) {
	.wc-block-components-order-summary .wc-block-components-order-summary__content {
  border: 1px solid var(--wc-separator-color,color-mix(in srgb,currentColor 20%,transparent));
  padding: 13px;
	}
}


/***************************************************************************************** 
*                       02.2 COL DROITE - BLOC AJOUT CODE PROMO — EFFET PILULE   
*****************************************************************************************/ 

/* Conteneur du formulaire */
.checkout-recap .wc-block-components-totals-coupon__form {
  display: flex;
  align-items: stretch;
  gap: 5;
}

/* Champ de saisie : arrondi à gauche */
.checkout-recap
.wc-block-components-totals-coupon__input
input {
  border-radius: 6px 0 0 6px !important;
  border-right: 0 !important;
  min-width: 0;
}

/* Champ de saisie : style de "entrer le code"*/
.checkout-recap .wc-block-components-text-input label {
  color: #4D4D4D!important;
}

/* Bouton Appliquer : arrondi à droite */
.checkout-recap
.wc-block-components-totals-coupon__button {
  border-radius: 0 6px 6px 0 !important;
  white-space: nowrap;
  margin: 0 !important;
}

/* Bouton Appliquer (modif padding et opacité de "appliquer") */
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    background: #11afb2;
    padding: 0px;
}
.wc-block-components-button:not(.is-link):disabled .wc-block-components-button__text {
    opacity: 1 !important;
}

/* Harmonisation de la hauteur */
.checkout-recap
.wc-block-components-totals-coupon__form input,
.checkout-recap
.wc-block-components-totals-coupon__form button {
  min-height: 46px;
  box-sizing: border-box;
}

/* code promo : Custom phrase articles soldés */
.mention-code-promo{
	padding:15px;
	margin-bottom: 10px;
}

/********************************************************************************** 
 *                     02.3 COL DROITE - REMISE CODE PROMO 
**********************************************************************************/ 

/* Remise coupon : style du bloc*/
.checkout-recap .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
background-color: #000;
  color: #fff;
  padding: 14px 16px;
  border-radius: 24px;
}

/* Remise coupon : mise en valeur du bloc */
.checkout-recap
.wc-block-components-totals-discount {
  background-color: #f0f8f2;
  border: 1px solid #dcefe1;
  border-radius: 12px;
  padding: 14px 12px 0;
}

/* Remise coupon : Titre remise */
.checkout-recap
.wc-block-components-totals-discount
.wc-block-components-totals-item__label {
  color: #246b43;
  font-weight: 600;
	font-size:15px;
}

/* Remise coupon : Montant économisé */
.checkout-recap
.wc-block-components-totals-discount
.wc-block-components-totals-item__value {
  color: #247448;
  font-size: 16px;
  font-weight: 700;
}


/* Code coupon + son rollover */
.checkout-recap
.wc-block-components-totals-discount__coupon-list-item,
.custom_checkout_form .wc-block-components-chip:hover{
  background-color: #ffffff;
  border: 2px solid #cce5d3;
  border-radius: 20px;
  color: #246b43;
  font-size: 1.2em;	
}
/* désactiver le curseur sur le rollover du code*/
.custom_checkout_form .wc-block-components-chip .wc-block-components-chip__text {
  pointer-events: none !important;
}

/* Croix pour retirer le coupon */
.checkout-recap
.wc-block-components-totals-discount__coupon-list-item
.wc-block-components-chip__remove {
  color: #246b43;
	cursor: pointer;	
}




/********************************************************************************** 
 *                  02.4 COL DROITE - REMISE CRÉDIT AFFILIÉ
*********************************************************************************/ 

/* Remise affilié : mise en valeur du bloc */
.checkout-recap
.wc-block-components-totals-fees__credit-daffilie-applique {
  background-color: #f0f8f2;
  border: 1px solid #dcefe1;
  border-radius: 12px;
  padding: 14px 12px 0;
}

/* Remise affilié : Titre de la remise */
.checkout-recap
.wc-block-components-totals-fees__credit-daffilie-applique
.wc-block-components-totals-item__label {
  color: #246b43;
  font-weight: 600;
  font-size: 15px;
}

/* Remise affilié : Montant économisé */
.checkout-recap
.wc-block-components-totals-fees__credit-daffilie-applique
.wc-block-components-totals-item__value {
  color: #247448;
  font-size: 16px;
  font-weight: 700;
}

/*--------------------------------------------
 * crédits affiliés ADAPTATION MOBILE  */

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

  .checkout-recap
  .wc-block-components-totals-fees__credit-daffilie-applique {
    padding: 12px 10px 0;
    border-radius: 12px;
  }

  .checkout-recap
  .wc-block-components-totals-fees__credit-daffilie-applique
  .wc-block-components-totals-item__label {
    font-size: 14px;
  }

  .checkout-recap
  .wc-block-components-totals-fees__credit-daffilie-applique
  .wc-block-components-totals-item__value {
    font-size: 15px;
  }

  .checkout-recap
  .wca-pay-with-credits {
    padding: 12px 10px !important;
  }

  .checkout-recap
  .wca-pay-with-credits label {
    font-size: 13px;
  }

}

/********************************************************************************** 
 *                  02.6 COL DROITE - BLOC TOTAL
*********************************************************************************/

/* CHECKOUT Cibler uniquement le dernier bloc qui contient le Total */
.custom_checkout_form .wc-block-components-checkout-order-summary__content .wc-block-components-totals-item.wc-block-components-totals-footer-item {
background: #e4e4e4;
  padding: 16px;
}

.custom_checkout_form .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-weight:600!important;
}