#custom-shipping-methods-container {
    transition: opacity 0.2s;
}

/* Loader animation (simple "dual ring") */
.lds-dual-ring {
  display: inline-block;
  width: 48px;
  height: 48px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 40px;
  height: 40px;
  margin: 4px;
  border-radius: 50%;
  border: 4px solid #2196f3;
  border-color: #2196f3 transparent #2196f3 transparent;
  animation: lds-dual-ring 1s linear infinite;
}
@keyframes lds-dual-ring {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Pour que le form soit invisible avant JS */
.checkout-invisible {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.3s;
}




/* Conteneur principal pour la mise en page à 2 colonnes */
.checkout-container-col-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Espace entre les deux colonnes */
}

/* Colonne de gauche (2/3 de la largeur) */
.checkout-col-left {
    flex: 2; /* Prend 2 parts de l'espace disponible */
    min-width: 300px; /* Largeur minimum pour les petits écrans */
}

/* Colonne de droite (1/3 de la largeur) */
.checkout-col-right {
    flex: 1; /* Prend 1 part de l'espace disponible */
    min-width: 300px;
}

/* Style de base pour l'accordéon vide */
#checkout-accordeon-wrapper {
    margin-bottom: 2em;
}
.checkout-step {
    border: 1px solid #e0e0e0;
    margin-bottom: -1px; /* Colle les bordures */
}
.checkout-step:first-child {
    border-radius: 5px 5px 0 0;
}
.checkout-step:last-child {
    border-radius: 0 0 5px 5px;
    margin-bottom: 0;
}
.checkout-step .step-title {
    background-color: #293794;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    color: white !important;
}
.checkout-step .step-content {
    padding: 20px;
    /* Pour l'instant on met un peu de hauteur pour voir les boîtes */
    min-height: 50px; 
    border-top: 1px solid #e0e0e0;
    display: flow-root;

}


button.button.next-step {
    float: right;
    text-transform: uppercase;
    color: white;
    background-color: rgba(0, 171, 236, 1);
    border-radius: 5px;
}


/* --- Position du bouton Précédent à l'étape 3 --- */
#step-paiement .step-content .prev-step {
    float: left; /* On le positionne à gauche */
    margin-top: 20px; /* On ajoute de l'espace au-dessus pour le séparer */
}

/* On s'assure que le bouton "Commander" reste bien à droite */
#payment #place_order {
    float: right;
}





tr.woocommerce-shipping-totals.shipping {
    display: none;
}



.totalpricerecapacompte {

	margin-top: 15px;
    padding: 5px;
    background-color: var(--bgcolor-white);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: var(--wd-brd-radius);

}

.totalpricerecapacompte table {
    margin: 0px;
}

.totalpricerecapacompte table td {
    border: none;
}

.totalpricerecapacompte table tr:not(:last-child) {
  border-bottom: 2px solid var(--brdcolor-gray-200);
}






@media (max-width: 1024px) {
.checkout-container-col-2 {
    display: flex;
    flex-direction: column-reverse;
}}


ul#shipping_method li {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
}



.checkout-summary {padding: 20px 18px;background: var(--bgcolor-white);box-shadow: 0 2px 12px rgba(0,0,0,0.06);border-radius: var(--wd-brd-radius, 16px);position: sticky;top: 100px;z-index: 20;}
#shipping-recap {margin: 22px 0 34px 0;border: 1.5px solid #e1e7ef;background: #f8fafc;padding: 16px 20px;border-radius: 10px;font-size: 1em;line-height: 1.7;Color: #334155;box-shadow: 0 1px 3px rgba(33, 150, 243, 0.05);}

@media (max-width: 1024px) {
	div#shipping-recap {display:none}
}





/* Style des options showroom */
.pickup-sub-options li {
  list-style: none;
  margin-bottom: 10px;
  position: relative;
}

.pickup-sub-options input[type="radio"] {
  display: none;
}

.pickup-sub-options label {
  display: block;
  padding: 12px 18px;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: all 0.2s ease;
  padding-right: 40px;
}

/* Icône check (cachée par défaut) */
.pickup-sub-options label::after {
  content: "✔";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #007cba;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Quand sélectionné : change couleur + affiche check */
.pickup-sub-options input[type="radio"]:checked + label {
  background: #e6f5ff;
  border-color: #007cba;
  color: #007cba;
}

.pickup-sub-options input[type="radio"]:checked + label::after {
  opacity: 1;
}

ul.pickup-sub-options {margin: 20px 0px 20px 0px}