/* ==========================================================
   WC AFFILIATE — design du PAIEMENT PAR CRÉDITS
   ========================================================== */

/* Bloc principal */
.wc-block-components-order-meta .wca-pay-with-credits {
    box-sizing: border-box !important;
    width: 100% !important;
    align-self: stretch;

    background-color: #E3D4FF !important;
    border: 1px solid #D9CCFA !important;
    border-left: 4px solid #7650C8 !important;
    border-radius: 10px !important;

    padding: 20px !important;
    margin: 0 !important;

    box-shadow: 0 3px 10px rgba(70, 40, 120, 0.06);
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Texte et zone de clic */
.wc-block-components-order-meta .wca-pay-with-credits label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;

    width: 100% !important;
    margin: 0 !important;

    color: #30234A !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;

    cursor: pointer;
}

/* Case à cocher */
.wc-block-components-order-meta .wca-pay-with-credits input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 5px 0 0 !important;
    accent-color: #7650C8;
    cursor: pointer;
}

/* État sélectionné */
.wc-block-components-order-meta .wca-pay-with-credits.is-credits-selected {
    background-color: #EEE6FF !important;
    border-color: #7650C8 !important;
    box-shadow: 0 0 0 2px rgba(118, 80, 200, 0.10);
}

/* Accessibilité clavier */
.wc-block-components-order-meta .wca-pay-with-credits:focus-within {
    outline: 2px solid #7650C8;
    outline-offset: 2px;
}

/* Adaptation mobile */
@media (max-width: 600px) {
    .wc-block-components-order-meta .wca-pay-with-credits {
        padding: 14px !important;
    }

    .wc-block-components-order-meta .wca-pay-with-credits label {
        gap: 8px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* Respect des préférences de mouvement */
@media (prefers-reduced-motion: reduce) {
    .wc-block-components-order-meta .wca-pay-with-credits {
        transition: none;
    }
}


/*-----------------------------------------------------------------------------------*/
/* WC AFFILIATE déplacement de la bulle d'erreur du compte affilé */
/*-----------------------------------------------------------------------------------*/
/*#dashboard-affiliation .Toastify__toast-container{
	margin-top:100px!important;
}*/



/* NEW  SIDE CART supprimer la pastille du panier en bas à droite sur desktop */
@media screen and (min-width: 980px) {
.xoo-wsc-basket{
		display : none;
	}
}

/* MAILPOET */
@media (min-width: 500px) and (max-width: 980px) {
	#mp_form_popup1{ width:65vw!important;}
}	



