
/* Layout général */
.wc-flex-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.wc-flex-left {
  width: 70%;
  float: left;
}
.wc-flex-right {
  width: 25%;
  float: right;
  font-size: 13px;
}
@media (max-width: 768px) {
  .wc-flex-wrap {
    flex-direction: column;
  }
  .wc-flex-wrap > div {
    width: 100% !important;
    float: none !important;
  }
}

/* DIV */

/*div#content-area, div#left-area, div.entry-content {height:100%;}     */


div.container{
    max-width: 100% !important;
}

h1 {
    font-family: 'RACE SPORT',Helvetica,Arial,Lucida,sans-serif !important;
    text-align: center;
}

div#module-stf    {
      overflow: visible;
     height: 100%;
     min-height:2500px;
     clear: both;
    padding: 20px 0;
}
div#produit-stf {float:left; width:70%; height:auto;}

#produit-stf img {
    max-width: 75px;
    max-height: 75px;
    margin: 0 auto;
    display: block;
}
        
div#panier-stf  {
    float:right; 
    width:25%; 
    height:auto;
    position: sticky;
    top: 50px;
    z-index: 100;
    background: white;
    padding-top: 10px;
    }

div#prodTable_length {display:none; visibility:hidden;}

div#prodTable_filter{
    margin:0 0 20px 0 !important;
}

p#cart-total-line {
     padding: 20px;
     }


    
#btn-panier-stf {
    display: flex; 
    gap: 10px; 
    justify-content: flex-end; 
    margin-bottom: 10px; 
    }

/* Boutons */
button.add-to-cart {
  background: #28a745;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
button.remove-from-cart {
  background: #ddd;
  color: black;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}
button#clear-cart {
  background: #ec1212;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
} 

button#go-to-cart   {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;   
  }
/* Totaux */
.cart-total {
  text-align: right;
  font-weight: bold;
  margin-top: 15px;
}


/* Réduction de la taille de police pour le tableau panier */
#cart-preview table {
    font-size: 14px;
}

/* Style du bouton "Supprimer" remplacé par une croix rouge */
#cart-preview .remove-from-cart {
    background-color: white;
    color: red;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
}

#cart-preview .remove-from-cart::after {
    content: '✖';
    font-size: 16px;
}


#clear-cart,
#go-to-cart {
    height: 40px !important;
    line-height: 40px;
}


/* Rendre le bloc du panier sticky */
div#panier-stf {
    position: sticky;
    top: 50px;
    z-index: 100;
    background: white;
    padding-top: 10px;
}


/* bouton menu de navigation */
.custom-button {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
    border-radius: 4px;
    display: inline-block;
    font-family: 'RACE SPORT',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 100 !important;
    font-size: 1em;
    background-color: #E02B20;
    border-radius: 15px 0 15px 0;
}

@media (max-width: 817px) {
      .custom-button {
                        font-size: 0.589em;
                        padding: 5px 10px;
                        margin: 5px 0px;
      }
}


.custom-button:hover {
    background-color: #a00000;
}