/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.19.2.1758095050
Updated: 2025-09-17 09:44:04

*/
div#media_image-2 {
    max-width: 120px;
}
div#nav_menu-3 .title {
    color: #E44028 !important;
    font-weight: 600;
    text-transform: uppercase;
}
div#nav_menu-3 li {
    font-size: 13px;
    text-transform: uppercase;
  	line-height: 16px;
}
div#nav_menu-3 {
    margin-bottom: 5px !important;
}

@media (min-width: 981px) {
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
        width: 22% !important;
    }
}
@media (min-width: 981px) {
    .et_pb_gutters3 .footer-widget {
        margin-right: 2% !important;
        margin-bottom: 5.5%;
    }
}

div#nav_menu-3 {
    border: solid 1px black;
    padding: 5px;
    background: white;
}

footer#main-footer {
    background-image: url(/wp-content/uploads/2026/03/trame-long-energie.png);
    background-size: initial;
    background-repeat: repeat;
}

.footer-widget li:before {
    border-color: transparent !important;
}

div#top-header .container {
    width: 84% !important;
    max-width: 1154px !important;
}


.flatpickr-calendar{
    z-index:999999 !important;
}

.et_pb_row,
.et_pb_column,
.et_pb_section{
    overflow:visible !important;
}
.flatpickr-calendar.open{
    opacity:1 !important;
    visibility:visible !important;
}
#date_livraison{
    position: relative;
    z-index: 5;
}
#date_livraison_picker_field{
    position:relative;
}
#date_livraison_picker_field label{
    position:static !important;
    transform:none !important;
    pointer-events:auto;
    background:none !important;
}

.tooltip-aide{
    display:inline-block;
    margin-left:6px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#2c7be5;
    color:white;
    font-size:12px;
    text-align:center;
    line-height:18px;
    cursor:pointer;
    position:relative;
}

.tooltip-texte{
    display:none;
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    background:#333;
    color:#fff;
    padding:6px 10px;
    font-size:12px;
    border-radius:4px;
    width:220px;
}

.tooltip-aide:hover .tooltip-texte{
    display:block;
}
img.image.wp-image-1285.attachment-medium.size-medium {
    width: 120px;
}
.single_add_to_cart_button.button.alt {
    background-color: #c72026 !important; /* rouge corporate */
    color: #fff !important;
}
.single_add_to_cart_button.button.alt:hover {
    background-color: #a81b1f !important; /* rouge plus foncé au survol */
    color: #fff !important;
}

div#et-info {
    display: flex !important;
    flex-direction: row-reverse !important;
    float: left !important;
}
#et-info-phone {
    margin-right: 0px !important;
    margin-left: 20px !important;
}

#formulaire-prix {
  display: flex;
  align-items: center;
  gap: 8px; /* espace entre champ et bouton */
}

#code-postal {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1; /* prend la largeur dispo */
}

#btn-prix {
  background-color: #d60000; /* rouge */
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

#btn-prix:hover {
  background-color: #a80000; /* rouge foncé au survol */
}

hr.red {
    width: 35%;
    height: 5px;
    background: red;
    border: none;
}


/* Général */
#commande-fioul {
  max-width: 1000px;
  margin: auto;
  font-family: 'Open Sans', sans-serif;
  color: #222;
}

#commande-fioul h3 {
  position: relative;
  width: 100%;
  padding-bottom: 8px;
  margin-top: 40px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 22px;
}

#commande-fioul h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #d12121;
}

#commande-fioul label {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
}

/* fond vert quand la case est cochée */
#commande-fioul label:has(input:checked) {
    background: #E4F3EC;
}

.form-fioul-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-fioul-1 label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
  	text-transform: uppercase;
}

.form-fioul-1 input,
.form-fioul-1 select {
    margin-top: 6px;
    padding: 8px;
}

/* Desktop */
@media (min-width: 768px) {
    .form-fioul-1 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Étapes */
.etapes{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:40px 0;
}

.etape{
    display:flex;
    align-items:center;
    font-weight:600;
    color:#888;
    position:relative;
}

/* numéro dans un rond */

.numero{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#028147;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-right:10px;
    font-weight:bold;
}

/* étape active */

.etape.active{
    color:#000;
}

.etape.active .numero{
    background:#d12121; /* rouge actif */
}

/* ligne entre étapes */

.etape:not(:last-child)::after{
    content:"";
    height:3px;
    width:120px;
    background:#ddd;
    margin-left:20px;
}

/* Radios groupes */
#commande-fioul label {
  display: block;
  margin: 15px 0;
  font-weight: normal;
  text-transform: uppercase;
}

#commande-fioul input[type="radio"] {
  margin-right: 10px;
}

#commande-fioul input[type="number"],
#commande-fioul select,
#commande-fioul input[type="text"] {
  padding: 10px;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-top: 5px;
}

/* Livraison & paiement */
#commande-fioul input[type="radio"] + span {
  display: inline-block;
  background: #f7f7f7;
  padding: 10px;
  margin-bottom: 10px;
}

/* Bloc Récapitulatif */
#recapitulatif {

}
#recapitulatif .bloc {
  background: #f9f9f9;
  padding: 20px;
  margin-top: 10px;
}
#recapitulatif p {
  margin: 5px 0;
  font-weight: bold;
}
#recapitulatif span {
  color: #2c9b2c;
}

#code_promo {
  width: auto;
  margin-top: 10px;
}

#appliquer_promo {
  background: #d12121;
  color: white;
  border: none;
  padding: 10px 15px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 3px;
}

#appliquer_promo:hover {
  background: #b01010;
}

/* Bouton étape suivante */
#commande-fioul button[type="submit"] {
  background: #d12121;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  margin-top: 30px;
  cursor: pointer;
}

#commande-fioul button[type="submit"]:hover {
  background: #b01010;
}

.commande-contenu {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.commande-gauche {
    flex: 2;
}

.commande-droite {
    flex: 1;
    padding: 15px;
    border-radius: 5px;
}
