/* General Styles */
body {
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
}

.bg-gray {
  background-color: #f1f1f2;
}

.bg-site {
  background-color: #c30c15;
}

/* Link Styles */
.link1, .link2, .link3 {
  text-decoration: none;
}

.link1 {
  color: #000;
}
.link1:hover,
.link1:focus {
  color: #000;
  text-decoration: underline;
}

.link2 {
  color: #c30c15;
}
.link2:hover,
.link2:focus {
  color: #000;
  text-decoration: underline;
}

.link3 {
  color: #fff;
}
.link3:hover,
.link3:focus {
  color: #fff;
  text-decoration: underline;
}

/* Button Styles */
.btn-link1 {
  background-color: #c30c15;
  color: #fff;
  text-decoration: none;
}
.btn-link1:hover,
.btn-link1:focus {
  background-color: #000;
  color: #fff;
}

.btn-link2 {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}
.btn-link2:hover,
.btn-link2:focus {
  background-color: #c30c15;
  color: #fff;
}

.btn-link3 {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}
.btn-link3:hover,
.btn-link3:focus {
  background-color: #f1f1f2;
  color: #000;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link:focus {
    color: #fff;
    background-color: #c30c15;
}

/* Navigation Styles */
#navbar {
  display: block; /* Affiche la barre de navigation par défaut */
}

/* Cadre size */
.cadre {
  margin-top: 10px;  
  margin-bottom: 10px;  /* Correction de 'botton' en 'bottom' */
  height: 300px;        /* L'image prend toute la hauteur disponible */
}

/* Image Styles */
.brand {
  width: 100%;
}

.img1 {
  width: 100%;          /* L'image prend toute la largeur disponible */
  height: 200px;        /* L'image prend toute la hauteur disponible */
  object-fit: contain;  /* Maintient les proportions sans couper l'image */
}

.img2 {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* Maintient les proportions sans couper l'image */  
}

.img3 {
  width: 100%;          /* L'image prend toute la largeur disponible */
  height: 250px;        /* L'image prend toute la hauteur disponible */
  object-fit: contain;  /* Maintient les proportions sans couper l'image */
}

/* Flexbox layout for the header */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Styles */
@upload screen and (max-width: 992px) {
  /* For tablets and smaller screens */
  .col-sm-2 {
    flex: 1 1 20%;
  }

  .col-sm-6 {
    flex: 1 1 60%;
  }
}

@upload screen and (max-width: 768px) {
  /* For mobile devices */
  .col-sm-2 {
    flex: 1 1 25%;
  }

  .col-sm-6 {
    flex: 1 1 50%;
  }

  .brand {
    width: 60%; 
  }

  .margin-bottom {
    margin-bottom: 15px;
  }
  .row {
    flex-direction: column;
    align-items: center;
  }
}

@upload screen and (max-width: 600px) {
  /* For very small devices */
  .brand {
    width: 50%; 
  }

  .col-sm-2, .col-sm-6 {
    flex: 1 1 100%;
    text-align: center;
  }

  .btn-link {
    width: 100%;
    margin-top: 10px;
  }
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    color: #000; /* Default text color black */
    background-color: #c30c15; /* Yellow background */
    border: 1px solid #000; /* Black border */
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hover Effect */
.page-link:hover {
    background-color: #000; /* Black background on hover */
    color: #c30c15; /* Yellow text color on hover */
    text-decoration: none;
}

/* Active Page */
.page-item.active .page-link {
    background-color: #000; /* Black background for active page */
    color: #c30c15; /* Yellow text for active page */
}

/* Disable Previous/Next Buttons */
.page-item.disabled .page-link {
    color: #999; /* Gray color for disabled links */
    background-color: #f8f9fa; /* Light gray background */
    border-color: #ddd; /* Light gray border */
}
/* Cart badge */
.badge {
    font-size: 14px; /* Taille du texte dans le badge */
    padding: 0.5em;
    position: relative;
    top: -10px; /* Décalage vers le haut */
}

