@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.woff2') format('woff2');
  font-display: swap;
}

*:focus {
  outline: none;
  box-shadow: none;
}

body a{
  text-decoration: none;
}

body a:hover{
  text-decoration: none;
}

body,main{
  background-color: #fff;
}

#wrap{
  background-color:#fff;
}

.s_carousel.s_carousel_default .carousel-control-prev-icon::before
{
  margin-left: 0 !important;
}

.s_carousel.s_carousel_default .carousel-control-next-icon::before
{
  margin-right: 0 !important;
}

/* CAROUSEL */
#myCarousel1644924604702 .carousel-control-prev,
#myCarousel1644924604702 .carousel-control-next{
  display: none;
  position: absolute; /* Assurez-vous qu'ils sont positionnés relativement au conteneur parent */
  top: 50%; /* Centrage vertical */
  transform: translateY(-50%); /* Ajustement pour centrer parfaitement */
  z-index: 5;
  height: 50px;
  width: 50px;
  background-color: #a10d0d;
  border-radius: 6px;
}

#myCarousel1644924604702 .carousel-control-next{
  margin-right: 30px;
}

#myCarousel1644924604702 .carousel-control-prev{
  margin-left: 30px;
}

#myCarousel1644924604702{
  position: relative;
  margin-top: 80px;
  padding-left: 80px;
  padding-right: 80px;
}

#myCarousel1644924604702 .carousel-item {
  height: 430px !important;
  background-size: cover !important; /* Adapte la taille de l'image au conteneur */
  background-position: center !important; /* Centre l'image */
  background-repeat: no-repeat !important; /* Empêche la répétition des images */
}

#myCarousel1644924604702 .carousel-item img,
#partnerBanner img {
  width: 100%; 
  height: 100%; 
  object-fit: fill;
}


#myCarousel1644924604702:hover .carousel-control-prev,
#myCarousel1644924604702:hover .carousel-control-next{
  display: block;
}

#productSection {
background-color: #fff;
padding: 10px 0 0 0;
margin-bottom: 0;
}

#myCarouselProduct,
#myCarouselOnSaleProduct {
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
margin-top: 20px;
position: relative;
margin-bottom: 0;
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
width: 100%;
max-width: 1170px;
padding-right: 10px;
height: auto;
min-height: 290px;
background-color: #e7e1e18a;
border-radius: 10px;
margin-bottom: 0;
padding-bottom: 10px;
position: relative;
}

#myCarouselProduct .carousel-item,
#myCarouselOnSaleProduct .carousel-item {
flex-wrap: nowrap; /* Empêche le retour à la ligne */
padding: 20px 0 0 10px;
margin-bottom: -500px;
}

/* Nouvelle approche pour les colonnes - utilisation de flexbox */
#myCarouselProduct .row ,
#myCarouselOnSaleProduct .row {
display: flex;
justify-content: space-between;
flex-wrap: nowrap; /* Pas de retour à la ligne */
margin: 0 -5px; /* Réduction de l'espacement */
gap: 10px; /* Espacement uniforme entre les produits */
}

/* Styles de base pour les colonnes de produits */
#myCarouselProduct .col-lg-3,
#myCarouselOnSaleProduct .col-lg-3 {
flex: 1; /* Chaque colonne prend la même largeur disponible */
min-width: 0; /* Permet la réduction en dessous de la largeur du contenu */
height: 320px;
padding: 0 5px;
margin-bottom: 10px;
max-width: none; /* Supprime la limitation de largeur Bootstrap */
}

#myCarouselProduct .AddToCart,
#myCarouselOnSaleProduct .AddToCart {
position: absolute;
font-size: 0.9rem;
padding: 0;
border-radius: 5px;
color: white !important;
margin: 3px 3px 0 0;
padding: 0 4px;
background-color: #a10d0d !important;
border-color: #a10d0d !important;
display: none;
z-index: 5;
}

#myCarouselProduct .AddToCart{
  top: 10px;
  right: 10px;
}

#myCarouselOnSaleProduct .AddToCart{
  top: 122px;
  left: 10px;
}

#myCarouselProduct .card,
#myCarouselOnSaleProduct .card {
height: 246px;
width: 100%; /* Utilise toute la largeur de la colonne */
border: solid grey;
border-radius: 20px;
border-width: 1px;
box-shadow: 0px 0px 0px 0px;
transition: .3s;
background-color: white;
position:relative;
overflow: hidden;
}

#myCarouselProduct .card:hover,
#myCarouselOnSaleProduct .card:hover {
box-shadow: 0px 0px 10px #a10d0d;
transform: scale(1.05, 1.05);
}

#myCarouselProduct .card:hover .AddToCart,
#myCarouselOnSaleProduct .card:hover .AddToCart {
display: block;
}

#myCarouselProduct .card-body,
#myCarouselOnSaleProduct .card-body {
padding: 3px 8px;
}

#myCarouselProduct .priceTag,
#myCarouselOnSaleProduct .priceTag {
border-radius: 10px;
width: 100%;
padding: 0;
color: white !important;
background-color: #031b43 !important;
border-color: #031b43 !important;
text-align: center;
}

#myCarouselProduct .product_name,
#myCarouselOnSaleProduct .product_name  {
font-family: 'Roboto', sans-serif;
text-decoration: none;
display: inline-block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
margin: 0 0 -10px 0;
padding: 0px;
color: black !important;
}

#myCarouselProduct .card-text,
#myCarouselOnSaleProduct .card-text {
margin: 0;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: medium;
}

#myCarouselProduct .imageProduct,
#myCarouselOnSaleProduct .imageProduct {
width: 100%;
height: 150px;
overflow: hidden;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
/* position: relative;
display: flex;
justify-content: center;
align-items: center; */
}

#myCarouselProduct .imageProduct img,
#myCarouselOnSaleProduct .imageProduct img {
width: 100%;
height: 100%;
object-fit: contain;
}

/* Navigation arrows - CORRIGÉ */
/* Positionnement des flèches par rapport au carrousel et non à l'écran */
#myCarouselProduct .carousel-control-prev,
#myCarouselProduct .carousel-control-next,
#myCarouselOnSaleProduct .carousel-control-prev,
#myCarouselOnSaleProduct .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #ecececa1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#myCarouselProduct .carousel-control-prev,
#myCarouselOnSaleProduct .carousel-control-prev {
left: -20px; /* Position relative au carrousel */
}

#myCarouselProduct .carousel-control-next,
#myCarouselOnSaleProduct .carousel-control-next {
right: -20px; /* Position relative au carrousel */
}


#myCarouselProduct .carousel-control-next-icon::before,
#myCarouselProduct .carousel-control-prev-icon::before,
#myCarouselOnSaleProduct .carousel-control-next-icon::before,
#myCarouselOnSaleProduct .carousel-control-prev-icon::before {
font-size: 1.2em !important;
color: #000 !important;
margin: 0;
padding: 0;
}


#myCarouselProduct .container-fluid,
#myCarouselOnSaleProduct .container-fluid {
position: relative;
padding-left: 30px;
padding-right: 30px;
max-width: 1560px;
margin: 0 auto;
}

/* MEDIA QUERIES RESPONSIVES */

/* Très grands écrans - 5 produits */
@media (min-width: 1353px) {
#myCarouselProduct .row,
#myCarouselOnSaleProduct .row {
  gap: 15px;
}
}

/* Écrans larges - 4 produits */
@media (max-width: 1352px) and (min-width: 1200px) {
#myCarouselProduct .col-lg-3:nth-child(n + 5),
#myCarouselOnSaleProduct .col-lg-3:nth-child(n + 5) {
  display: none; /* Cache le 5ème produit */
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  max-width: 1040px;
}

#myCarouselProduct .card,#myCarouselOnSaleProduct .card {
  width: 216px;
}

#myCarouselProduct .row,#myCarouselOnSaleProduct .row {
  gap: 20px;
}
}

/* Écrans moyens - 3 produits */
@media (max-width: 1199px) and (min-width: 1068px) {
#myCarouselProduct .col-lg-3:nth-child(n + 4),
#myCarouselOnSaleProduct .col-lg-3:nth-child(n + 4) {
  display: none; /* Cache les produits 4 et 5 */
}

#myCarouselProduct .carousel-inner,#myCarouselOnSaleProduct .carousel-inner {
  max-width: 900px;
}

#myCarouselProduct .card,#myCarouselOnSaleProduct .card {
  width: 216px;
}

#myCarouselProduct .row, #myCarouselOnSaleProduct .row {
  gap: 25px;
}
}

/* Écrans moyens - 3 produits */
@media (max-width: 1069px) and (min-width: 992px) {
#myCarouselProduct .col-lg-3:nth-child(n + 4),
#myCarouselOnSaleProduct .col-lg-3:nth-child(n + 4) {
  display: none; /* Cache les produits 4 et 5 */
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  max-width: 850px;
}

#myCarouselProduct .card,
#myCarouselOnSaleProduct .card {
  width: 216px;
}

#myCarouselProduct .row,
#myCarouselOnSaleProduct .row {
  gap: 25px;
}
}

/* Tablettes - 2 produits */
@media (max-width: 991px) and (min-width: 768px) {
#myCarouselProduct .col-lg-3:nth-child(n + 3),
#myCarouselOnSaleProduct .col-lg-3:nth-child(n + 3) {
  display: none; /* Cache les produits 3, 4 et 5 */
}

#myCarouselProduct .row,
#myCarouselOnSaleProduct .row  {
  gap: 30px;
  justify-content: center;
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  max-width: 600px;
}

#myCarouselProduct .card,
#myCarouselOnSaleProduct .card {
  width: 216px;
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  min-height: 280px;
}

#myCarouselProduct .card,
#myCarouselOnSaleProduct .card  {
  max-width: 350px;
}

#myCarouselProduct .carousel-control-prev,
#myCarouselOnSaleProduct .carousel-control-prev  {
  left: -20px /* Position relative au carrousel */
}

#myCarouselProduct .carousel-control-next,
#myCarouselOnSaleProduct .carousel-control-next {
  right: -20px /* Position relative au carrousel */
}

}

/* Mobiles - 1 produit */
@media (max-width: 767px) {
#myCarousel1644924604702 .carousel-inner{
  margin-top:114px;
}

#myCarouselProduct .col-lg-3:nth-child(n + 2),
#myCarouselOnSaleProduct .col-lg-3:nth-child(n + 2) {
  display: none; /* Cache tous les produits sauf le premier */
}

#myCarouselProduct .row,
#myCarouselOnSaleProduct .row {
  justify-content: center;
  gap: 0;
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  min-height: 280px;
}

#myCarouselProduct .carousel-inner,
#myCarouselOnSaleProduct .carousel-inner {
  max-width: 240px;
}

#myCarouselProduct .card,
#myCarouselOnSaleProduct .card {
  width: 95%;
  max-width: 216px;
  margin: 0 auto;
}

/* Ajustement pour les petits écrans */
#myCarouselProduct .carousel-control-prev,
#myCarouselOnSaleProduct .carousel-control-prev {
  left: -15px;
}

#myCarouselProduct .carousel-control-next,
#myCarouselOnSaleProduct .carousel-control-next {
  right: -15px;
}
}



/* CATEGORIES IMAGES */
#categorieSection{
  background-color: #fff;
}

#categorieSection .container-fluid{
padding: 0px 68px 0px 78px !important;
}

#categorieSection .imageCol{
  height: 400px;
}

.categorie img {
  width: 100%;
  height:100%;
  /* border: solid 1px; */
  /* object-fit: cover; */
}

.imageCol{
  margin-bottom: 10px;
}

/* SECTION SERVICE  */
#serviceSection {
  width: 100%;
  max-width: 1903px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px 0;
}

#serviceSection .container-fluid{
padding: 0px 20px;
}

#serviceSection .row {
  border: 1px;
  border-radius: 10px;
  background-color: #ECECEC;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#serviceSection .row > div {
  width: 24%; /* Slightly less than 25% to account for spacing */
  margin-bottom: 10px;
}

#serviceSection .serviceContainer {
  width: 100%;
  max-width: 1503px;
  margin: 0 auto;
  padding: 0 15px;
}

#serviceSection .serviceBox {
  padding: 10px 15px;
  border: solid 1px black !important;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  width: 100%;
  gap: 10px;
  min-width: 0; /* Helps with text overflow */
}

#serviceSection .s_features_grid_icon {
  font-size: xx-large;
  padding: 10px;
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

#serviceSection .s_features_grid_content {
  display: flex;
  color: black;
  min-width: 0; /* Helps with text overflow */
  width: 100%; /* Ensure content takes full width */
}

#serviceSection .s_features_grid_content h5 {
  margin-bottom: 0;
  font-size: 14px;
  white-space: normal; /* Allow text to wrap */
  width: 100%; /* Ensure text takes full width */
  overflow: visible; /* Ensure text isn't cut off */
  font-family: 'Roboto', sans-serif;
}

/* Media query for tablets */
@media (max-width: 991px) {
  #serviceSection .row > div {
      width: 49%; /* Two blocks per row */
  }
  
  #serviceSection .s_features_grid_content h5 {
      font-size: 13px;
  }
}

/* Media query for mobile phones */
@media (max-width: 575px) {
  #serviceSection .row > div {
      width: 100%; /* One block per row on very small screens */
      margin-bottom: 10px;
  }
  
  #serviceSection .serviceBox {
      justify-content: flex-start;
  }

  #partnerBanner {
    padding: 0px 9px;
    height: 90px;
  }
}  

/* Partner banner*/
#partnerBanner {
padding: 0px 59px;
}
/* CONTACT FORM - Responsive Version */
#ContactSection {
padding: 0px 80px;
}
#contactForm {
  min-height: 400px; /* Changed from fixed height to min-height */
  margin-top: 0 !important;
  position: relative;
  width: 100%;
  overflow: hidden;
  
}

.bg-opacity {
  position: relative;
  background-color: #000;
}

.bg-opacity::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  background: url("/web/image/72378/IMG-20220613-WA0015.jpg") no-repeat center center;
  background-size: cover;
}

#contactForm .container {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1200px;
}

#contactForm .container h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

#contactForm .o_form_heading {
  margin-left: 0; /* Removed fixed margin */
}

#contactForm .inner-content {
  max-width: 100%;
}

#contactForm .container p {
  text-align: center;
  margin-bottom: 0.5rem;
}

#contactForm .allInputs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: space-between;
}

#contactForm .form-control {
  margin-bottom: 1rem;
  width: 100%;
}

#contactForm button {
  color: #fff !important;
  background-color: #a10d0d !important;
  border-color: #a10d0d !important;
  margin-top: 20px;
  width: 100%;
  display: block;
}

@media (min-width: 992px) {
  #contactForm .send-text{
    font-size: small;
  }
}

/* Media Queries for Responsive Design */
@media (max-width: 991px) {
  #contactForm {
    min-height: 300px; /* Increase minimum height for medium screens */
  }

  #contactForm .allInputs > div {
    width: 50%; /* 2 columns on medium screens */
    padding: 0 10px;
  }

  #contactForm .send-text{
    font-size: xx-small;
  }
}

@media (max-width: 767px) {
  #contactForm {
    min-height: 600px; /* Increase minimum height for small screens */
  }

  #contactForm .allInputs > div {
    width: 100%; /* Full width on mobile */
    padding: 0;
  }

  #contactForm .container {
    padding: 15px;
  }

  #contactForm .container h1 {
    font-size: 1.8rem;
  }

  #contactForm .container p {
    font-size: 0.9rem;
  }

  #contactForm .send-text{
    display: none;
  }

  #myCarousel1644924604702 .carousel-item img,
  #partnerBanner img {
      width: 100%; 
      height: 100%; 
      object-fit: fill;
  }

  #partnerBanner {
    padding: 0px 9px;
    height: 90px;
  }

  #myCarousel1644924604702 .carousel-item {
    height: unset !important;
    min-height: unset !important;
  }

  #categorieSection .container-fluid{
    padding: 0px !important;
  }

  .fa.fa-facebook.fa-stack-1x.fa-inverse {
    margin-left: -13px;
    margin-top: -7px;
  }

  .fab.fa-twitter.fa-stack-1x.fa-inverse,
  .fab.fa-instagram.fa-stack-1x.fa-inverse{
    margin-left: 2px;
    margin-top: 1px;
  }

  .fab.fa-linkedin-in.fa-stack-1x.fa-inverse {
    margin-left: 2px;
    margin-top: 2px;
  }
  
}

/* Fix for Bootstrap row and column spacing */
#contactForm .row {
  margin-left: -15px;
  margin-right: -15px;
}

#contactForm .col-md-3,
#contactForm .col-sm-12 {
  padding: 0 15px;
}

/* Ensure form groups don't have extra margins */
#contactForm .form-group {
  margin-bottom: 0.75rem;
}

/* FOOTER - Base Styles */

#footerSection {
  display: flex;
  justify-content: center;
  padding: 0px 80px ;
  /* height: 200px; */
}

#footerSection .contactInfo,
#footerSection .myAccount,
#footerSection .share {
  padding: 20px;
}

#footerSection .list-unstyled {
  margin-bottom: 0;
}

#footerSection .titre {
  color:#000;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 18px;
  font-family: "Open Sans", "Odoo Unicode Support Noto", sans-serif;
  text-align: center;
}

#footerSection .contactInfo .titre {
  text-align: center;
}

#footerSection span {
  font-family: "Open Sans", "Odoo Unicode Support Noto", sans-serif;
}

#footerSection .o_we_custom_image {
  width: 25%;
  margin: 0 auto;
  display: block;
}

#footerSection p {
  margin-bottom: 0;
  font-size: 0.875rem !important;
  color: #000;
  text-align: center;
}

#footerSection .other-info i,
#footerSection .myAccount i {
  font-size: 15px;
  margin-bottom: 5px;
  margin:0 8px 0 10px;
}



#footerSection .myAccount ul {
  margin-top: 3px;
}

#footerSection .s_share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.userIcon i {
  font-size: 65px !important;
}

#footerSection .stack {
  width: 4rem;
  height: 4rem;
  font-size: 1rem; /* Réinitialisé pour plus de cohérence */
  position: relative;
  display: flex;
  align-items: center;
}

#footerSection .custom-icon {
  font-size: 1.25rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  line-height: 1;
  width: 96%;
}    

#footerSection .share .titre {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 18px;
  font-family: "Open Sans", "Odoo Unicode Support Noto", sans-serif;
  text-align: center;
}

#footerSection a {
  text-decoration: none;
  color: #000 !important;
}

.mgbi_link{
  color: #fff !important;
}

/* Responsive Styles */
@media (max-width: 1632px) {

  #footerSection .o_we_custom_image {
    width: 30%;
  }

  .userIcon i {
    font-size: 40px !important;
  }

  #footerSection .stack {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1rem; /* Réinitialisé pour plus de cohérence */
    position: relative;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 992px) {
  #footerSection .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footerSection .contactInfo,
  #footerSection .myAccount,
  #footerSection .share {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 0;
  }

  #footerSection .contactInfo .titre {
    text-align: center;
  }

  #footerSection .o_we_custom_image {
    width: 20%;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  #footerSection {
    padding: 10px;
  }

  #footerSection .contactInfo,
  #footerSection .myAccount,
  #footerSection .share {
    padding: 15px 10px;
  }

  #footerSection .titre {
    font-size: 16px;
  }

  #footerSection .o_we_custom_image {
    width: 25%;
  }

  #footerSection .fa-stack {
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
  }

  #footerSection .fa-stack-2x {
    font-size: 2.5rem;
  }

  #footerSection .fa-stack-1x {
    font-size: 1.2rem;
  }

  #footerSection .s_share {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  #footerSection .titre {
    font-size: 15px;
  }

  #footerSection p {
    font-size: 0.8rem !important;
  }

  #footerSection .other-info i,
  #footerSection .myAccount i {
    font-size: 16px;
    margin:0 8px 0 10px;
  }

  #footerSection .o_we_custom_image {
    width: 30%;
  }

  #footerSection .stack {
    width: 32px;
    height: 32px;
  }

  #footerSection .custom-icon {
    width: 100%;
    position: static;
    object-fit: contain;
  }

  #footerSection .s_share {
    gap: 10px;
  }

  #ContactSection {
    padding: 0;
  }

  #contactForm .row{
    margin-left: 10px;
    margin-right: 10px;
  }

  #myCarousel1644924604702 {
    position: relative !important; /* nécessaire pour que les flèches soient positionnées par rapport à ce bloc */
    padding-left: 0;
    padding-right: 0;
    display: block;
  }

  #myCarousel1644924604702 .carousel-control-prev,
  #myCarousel1644924604702 .carousel-control-next {
    /* display: block !important; ou flex selon besoin */
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px;
    height: 50px;
    z-index: 10;
  }

  #myCarousel1644924604702 .carousel-control-next-icon::before,
  #myCarousel1644924604702 .carousel-control-prev-icon::before {
    font-size: 1em !important;
    color: #fff !important;
  }

  #myCarousel1644924604702 .carousel-control-prev {
    left: 10px !important;
    margin-top: 15px;
  }

  #myCarousel1644924604702 .carousel-control-next {
    right: 10px !important;
    margin-top: 15px;
  }

  #myCarousel1644924604702 .carousel-indicators{
    display: none;
  }

}

@media (max-width: 400px) {
  #footerSection .o_we_custom_image {
    width: 40%;
  }

  #footerSection .contactInfo,
  #footerSection .myAccount,
  #footerSection .share {
    padding: 10px 5px;
  }

  #footerSection .s_share {
    gap: 5px;
  }
}


/* VIDEO */
#video-carousel {
  margin-left:250px;
}

/* RESPONSIVITY */

@media (min-width: 992px) { /* Pour écrans larges (lg) */
  .col-lg-3_2 {
      flex: 0 0 18%; /* Largeur personnalisée (entre 25% et 33.33%) */
      max-width: 18%;
  }

  .col-lg-3_5 {
    flex: 0 0 20%; /* Largeur personnalisée (entre 25% et 33.33%) */
    max-width: 28%;
  }
}
@media (min-width: 768px) and (max-width: 991px) { /* Pour écrans moyens (md) */
  .col-lg-3_2 {
      flex: 0 0 48%; /* Deux colonnes côte à côte */
      max-width: 48%;
  }

  .col-lg-3_5 {
    flex: 0 0 48%; /* Deux colonnes côte à côte */
    max-width: 48%;
  }
}
@media (max-width: 767px) { /* Pour écrans petits (sm et xs) */
  .col-lg-3_5 {
    flex: 0 0 100%; /* Une seule colonne */
    max-width: 100%;
  }
  .col-lg-3_2 {
      flex: 0 0 100%; /* Une seule colonne */
      max-width: 100%;
  }

}

@media only screen and (max-width: 430px){
#myCarousel1644924604702{
  display: contents !important;
  margin-top: 0px !important;
  height: 200px;
  width: auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

#categorieSection .imageCol{
  height: 200px;
}

}

.back-to-top{
  color: #a10d0d !important;
}

.btn.btn-primary{
  background-color: #a10d0d !important;
  border-color: #a10d0d !important;
}

.ribbon {
  position: absolute;
  top: 28px;
  left: 35px;
  transform: rotate(45deg);
  width: 120%;
  background-color: #a10d0d;
  color: white;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  padding: 0.3em 0;
  z-index: 10;
  opacity: 0.85;
  pointer-events: none;
}

.ribbon span {
  display: block;
}

/* Icônes sociales responsives */
.social-icon {
  transition: all 0.3s ease;
  display: block;
}

/* Mobile first - 32px */
.social-icon {
  width: 32px;
  height: 32px;
}

/* Tablettes - 40px */
@media (min-width: 768px) {
  .social-icon {
      width: 40px;
      height: 40px;
  }
}

/* Desktop - 48px */
@media (min-width: 1024px) {
  .social-icon {
      width: 40px;
      height: 40px;
  }

  #categorieSection .imageCol{
    height: 300px;
  }
}

/* Large desktop - 56px */
@media (min-width: 1440px) {
  .social-icon {
      width: 56px;
      height: 56px;
  }
}

/* Effet hover */
.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Couleurs spécifiques au hover */
.facebook-icon:hover {
  filter: brightness(1.2);
}

.instagram-icon:hover {
  filter: brightness(1.2);
}

.linkedin-icon:hover {
  filter: brightness(1.2);
}