/* v 1.5.0 */
/* aliges les elements du header */
#header .navbar.navbar-expand-lg.navbar-light{
  padding: 5px  !important;
}
#trigger_search_mobile{
  border: 0;
  background: none;
}
/* fix cartzilla */
.row {
  margin-left: 0;
  margin-right: 0;
}

.row .col {
  padding-left: 0;
  padding-right: 0;
}


html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}


.account-sidebar a{
  color: var(--body-color);
}
.account-sidebar a:hover{
  color: var(--primary);
}

#my-account .card-body a,
#my-account .card-body i{
  color: var(--body-color) !important;
}
#my-account .card-body:hover a,
#my-account .card-body:hover a p,
#my-account .card-body:hover .nav-link-style,
#my-account .card-body:hover i{
  color: var(--primary) !important;
}
.scroll_text p{
    margin-bottom: 0;
}
@media (max-width: 768px) {
  #_mobile_search{
    width: 100% !important;
  }
}

#product .product-tab-details{
  display: none;
}
#product .product-tab-details.show{
  display: block;
}

.comments-nb,
.comments-note {
  display: none !important;
}



.product-comment-list-item .comment-content .comment-buttons a{
  color: var(--primary) !important;
}
.product-comment-list-item .comment-content .comment-buttons a:hover{
  color: var(--primary) !important;
}
#product-comments-list-header, 
#product-comments-list, 
.comment-content {
  margin: 0 auto;
  text-align: center;
}

/* .product-comment-list-item{
  min-width: 500px;
  max-width: 100%;
} */
.burger-menu{
  font-size: 20px;
  color: #4b566b;
}
								
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.faq-question {
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background-color: #e7e7e7;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  padding: 15px;
  display: none;
  border: 1px solid #ddd;
  border-top: none;
  margin-bottom: 10px;
  background-color: #fff;
  border-radius: 0 0 5px 5px;
}


/* CSS amélioré pour carousel dynamique */
.video-carousel-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

.video-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  background-color: #f5f5f5;
  border-radius: 8px;
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) !important;
  z-index: 1;
}

.carousel-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Style spécifique pour TikTok */
.carousel-item .tiktok-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.prev-btn, .next-btn {
  padding: 8px 15px;
  background-color: #2fb5d2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #1e94ab;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap; /* Pour gérer plusieurs points */
  max-width: 60%; /* Limite la largeur pour éviter un débordement */
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #2fb5d2;
}

/* Si trop de vidéos, réduire la taille des points */
.carousel-dots.many-dots .dot {
  width: 8px;
  height: 8px;
  margin: 0 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .video-carousel-container {
    max-width: 100%;
  }
  
  .prev-btn, .next-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Pour très petit écrans */
  @media (max-width: 480px) {
    .carousel-dots {
      max-width: 70%;
    }
    
    .dot {
      width: 8px;
      height: 8px;
      margin: 0 3px;
    }
  }
}

.row-product {
  display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
  .row-product {
    flex-direction: column;
    gap: 15px;
  }
}

