/* Styles personnalisés pour coller au design */
.sidebar-menu {
    /*background-color: #f8f9fa;*/
    min-height: 100%;
}
.sidebar-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}
.sidebar-link:hover {
    background-color: #e9ecef;
    color: #000;
}
.sidebar-link i.start-icon {
    margin-right: 10px;
    color: #6c757d;
    width: 20px;
    text-align: center;
}
.section-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}
.product-card {
    border: none;
    transition: transform 0.2s;
}
.product-card img {
    background-color: #f0f0f0;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    width: 100%;
}
.product-title {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}
.nav-arrow {
    cursor: pointer;
    display: flex;
    align-items: center;
}

  .product-carousel-container {
    position: relative;
    /*padding: 0 50px;*/
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 41%;
    transform: translateY(-50%);
    opacity: 1;
  }
  
  .carousel-control-prev { left: -20px; }
  .carousel-control-next { right: -20px; }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
  }
  
  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    background-color: #f8f9fa;
  }
  
  .product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .product-card picture img:hover {
    border: none;
    -ms-filter: blur(2px);
    filter: blur(2px);
  }
  
  .carousel-item {
    transition: transform 0.6s ease-in-out;
  }
  
  @media (max-width: 767px) {
    .product-carousel-container {
      padding: 0 40px;
    }
  }

/* Styles pour le menu latéral */
.sidebar-menu .menu-item {
  position: relative;
}

.sidebar-menu .submenu {
  display: none;
  top: 0;
  left: 108%; /* ouverture vers la droite */
  min-width: 300px;
  z-index: 1000;
}

.sidebar-menu .menu-item:hover .submenu {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

/* petite animation fluide */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.sidebar-menu .menu-item {
  position: relative; /* crée un contexte pour le submenu */
}

.sidebar-menu .submenu {
  display: none;
  position: absolute; /* nécessaire pour que z-index s’applique */
  top: 0;
  left: 100%; /* ouverture vers la droite */
  min-width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 2000; /* passe au-dessus */
}

.sidebar-menu .menu-item:hover .submenu {
  display: block;
}
