.b-entoure {
  display: inline-block;
  border: 2px solid rgba(240, 96, 7, 0.901);
  border-radius: 25px;
  padding: 2px 6px;
  margin: 0 4px;
}


.b-icon { 
    vertical-align: middle;
    fill: #333;
    cursor: pointer;
    /*transition: fill 0.2s ease;*/
    transition: transform 0.2s ease, fill 0.3s ease;
    border: 2px solid rgba(69,54,37,0.2);
    border-radius: 5px;
    padding:1px;
    
}
.b-icon:hover {
    fill: #ff5722;
    transform: scale(1.2) rotate(-5deg);
}


  /* Afficher uniquement sur desktop */
.b-desktop-only {
    display: block;
}

.b-mobile-only {
    display: none;
}

/* Afficher uniquement sur mobile */
@media (max-width: 768px) {
    .b-desktop-only {
        display: none;
    }
    .b-mobile-only {
        display: block;
    } 
}



table.b-tablecaddie {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border: none;
}

table.b-tablecaddie thead th {
  background-color: #FFF;
    font-weight: bold;
    color: #000;
    padding: 12px 0 2px 0;
    /*text-align: left;*/
    /*border-bottom: 2px solid #2e50cc;*/
    border: none;
}

table.b-tablecaddie tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

table.b-tablecaddie tbody tr:nth-child(even) {
    background-color: #ffffff;
}

table.b-tablecaddie tbody td {  
    padding: 10px;
    border: none;
    vertical-align:top;
/*    border-bottom: 1px solid #ddd;*/
}
.tablevide, .tablevide tr, .tablevide td
{ 
  padding: 0;
  margin:0;
  border:none;
}

.b-text-left {
  text-align: left;
}
.b-text-right {
  text-align: right;
}
.b-text-center {
  text-align: center;
}


/* boutique */

.b-form {
  max-width: 500px;
  margin: auto;
  padding: 1em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.b-form-group {
  margin-bottom: 0.8em;
  display: flex;
  flex-direction: column;
}

.b-label {
  margin-bottom: 0.5em;
  font-weight: bold;
}
 
.b-input {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}


/* Sert à occuper la place du label à gauche */
.b-label-placeholder {
  width: 30%;
}

/* Le titre de section dans la colonne des champs */
.b-section-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  align-self: center;
}

/* alignement mobile / desktop */
.b-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8em;
}

 

.b-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.5em 0;
}

.b-textarea,
.b-select {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  height: auto;
  min-height: 45px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpolygon points='0,0 14,0 7,10' fill='%23333'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em top 50%;
  background-size: 0.65em auto;
}

.b-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  flex: 1;
  padding: 0;
  margin: 0;
  border: none;
}

.b-radio-option {
  display: flex;
  align-items: center;
  font-size: 1em;
  gap: 0.5em;
  cursor: pointer;
}

.b-radio-option input[type="radio"] {
  accent-color: #007BFF;
  transform: scale(1.2);
}






.b-button {
  display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: inherit;
    box-sizing: border-box; 
}

.b-button-green
{
      color: #28a745;
    border: 2px solid #28a745;
}
.b-button-green:hover
{
  background-color: #28a745;
  color: #FFF;
}
.b-button-red
{
      color: #dc3545;
    border: 2px solid #dc3545;
}
.b-button-red:hover
{
  background-color: #dc3545;
  color: #FFF;
}

.b-button-grey
{
      color: #999;
    
}
.b-button-grey:hover
{
  background-color: #999;
  color: #000;
}




/* responsive desktop : label à gauche, champ à droite */
@media (min-width: 768px) {
  .b-form-group {
    flex-direction: row;
    align-items: center;
  }

  .b-label {
    width: 30%;
    margin-bottom: 0;
    margin-right: 1em;
    text-align: right;
  }




  .b-label-top {
    align-self: flex-start;
    margin-top: 0; /* léger décalage visuel agréable */
  }
  .b-input,
  .b-select,
  .b-textarea {
    flex: 1;
  }
}

.b-field-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.b-field-hint {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.25em;
}


/* adresse livraison + facturation  */

.b-address-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-top: 2em;
}

.b-address-block {
  background-color: #f8f8f8;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* Titre de chaque bloc */
.b-address-title {
  font-weight: bold;
  margin-bottom: 0.5em;
}

/* Texte de l’adresse */
.b-pay-address {
  line-height: 1.6;
  white-space: pre-line;
  font-style: normal;
} 



.cherchegls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.cherchegls > div, 
.cherchegls button {
  flex: 1;
  min-width: 150px;
}

@media (max-width: 900px) {
  .cherchegls {
    flex-direction: column;
    align-items: stretch;
  }

  .cherchegls > div,
  .cherchegls button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Version desktop : aligner les blocs côte à côte */
@media (min-width: 768px) {
  .b-address-container {
    flex-direction: row;
    justify-content: space-between;
  } 

  .b-address-block {
    width: 48%;
  }
}


/* Responsive mobile */
@media (max-width: 480px) {
  .b-form {
    padding: 0.5em;
  }

  .b-input, .b-button {
    font-size: 1em;
  }
}




  /* RESPONSIVE TABLETTE & DESKTOP */
  @media (min-width: 768px) {
    .b-form-container {
    display: flex;
    gap: 20px; /* Espacement entre colonnes */
}

  .b-form-colonne {
      flex: 1; /* Chaque colonne prend la même largeur */
  }
  }




  /* Afficher uniquement sur desktop */
.b-desktop-only {
    display: block;
}

.b-mobile-only {
    display: none;
}

/* Afficher uniquement sur mobile */
@media (max-width: 768px) {
    .b-desktop-only {
        display: none;
    }
    .b-mobile-only {
        display: block;
    } 
}
