/* bloc_home shortcode */
.block-home-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #E5E5E5;
}
.block-home-item {
  flex: 1 0 calc(100% / 2); /* 2 colonnes en desktop */
  margin-bottom: 20px;
  position: relative; /* Ajout d'une position relative pour contenir l'image */
  padding: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.block-home-item > div {
  width: 100%;
}

.block-home-item img {
  width: 100%;
  object-fit: contain;
  height: 185px !important;
  transition: transform 0.3s ease;
}

.block-home-item-zoom {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.block-home-item-zoom img:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .block-home-item {
    flex: 1 0 calc(100%); /* 1 colonnes en mobile */
  }
}

/* brands_list shortcode */
.brand-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.brand-item {
  flex: 1 0 calc(100% / 6); /* 6 colonnes en desktop */
  margin-bottom: 20px;
  position: relative; /* Ajout d'une position relative pour contenir l'image */
  /* padding: 10px; */
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .brand-item {
    flex: 1 0 calc(100% / 4); /* 4 colonnes en tablette */
  }
}

@media (max-width: 767px) {
  .brand-item {
    flex: 1 0 calc(100% / 2); /* 2 colonnes en mobile */
  }
}

.brand-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.brand-item img {
  width: 100%;
  height: 100px !important;
  object-fit: cover; /* L'image couvrira entièrement la zone */
  position: absolute; /* Position absolue pour l'image */
  top: 0;
  left: 0;
}
  
/* slider home */
.slick-item {
  background: #fff;
  border-right: 1px solid #eeeeee;
  height: 458px;
  /* padding: 1em; */
}

.slick-img {
  width: 100%;
}

.slick-arrow {
  position: absolute;
  display: flex;
  z-index: 1;
  color: #fff;
  font-size: 60px;
  width: 26px;
  height: 26px;
  background: transparent;
  /* border: 1px solid #777777; */
  align-content: center;
  align-items: center;
  justify-content: center;
}

.slick-arrow:hover {
  color: gray;
}

.arrow-prev {
  top: 193px;
  left: 30px;
}


.arrow-next {
  top: 193px;
  right: 30px;
}

/* bloc catégories page marque */
.category-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.category-block {
  width: calc(100% / 6); /* Par défaut, 6 blocs par ligne en desktop */

  /* Ajustements pour tablette */
  @media (max-width: 768px) {
    width: calc(100% / 4); /* 4 blocs par ligne en tablette */
  }

  /* Ajustements pour mobile */
  @media (max-width: 480px) {
    width: calc(100% / 2); /* 2 blocs par ligne en mobile */
  }

  /* Styles visuels des blocs */
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px;
  text-align: center;
}

.category-block img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.category-block h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.category-block p {
  font-size: 14px;
  color: #888;
}

#catalogue-selection-list .products .product-wrapper .product-sku,
#catalogue-selection-list .products .product-wrapper .short-description  {
  display: none;
}