:root {
      --primary-color: #1F05BA;  /* Bleu foncé */
      --secondary-color: #39AB34; /* Vert vif */
      --accent-color: #FFC107;   /* Jaune d'accent */
      --light-bg: #f8f9fa;
      --dark-text: #2c3e50;
      --white: #ffffff;
    }
    
    /* Header Fixe */
    body {
    }
    
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 1030;
      background: var(--white) !important;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      padding: 10px 0;
      transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
      padding: 8px 0;
      box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    }
    
    /* Logo et Brand */
    .navbar-brand {
      font-weight: 700;
      color: var(--primary-color) !important;
      display: flex;
      align-items: center;
      font-size: 1.4rem;
      margin-right: 15px;
    }
    
    .navbar-brand img {
      height: 40px;
      margin-right: 10px;
      transition: all 0.3s ease;
    }
    
    .navbar-brand:hover img {
      transform: rotate(-5deg);
    }
    
    /* Navigation Links */
    .nav-link {
      color: var(--dark-text) !important;
      font-weight: 500;
      padding: 8px 12px !important;
      margin: 0 5px;
      position: relative;
      transition: all 0.2s ease;
      border-radius: 4px;
    }
    
    .nav-link:before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--secondary-color);
      transition: all 0.3s ease;
    }
    
    .nav-link:hover {
      color: var(--primary-color) !important;
      background: rgba(31, 5, 186, 0.05);
    }
    
    .nav-link:hover:before {
      width: 100%;
    }
    
    .nav-link.active {
      color: var(--primary-color) !important;
      font-weight: 600;
    }
    
    .nav-link.active:before {
      width: 100%;
      background: var(--primary-color);
    }
    
    /* Boutons Auth */
    .auth-buttons .btn {
      border-radius: 30px;
      padding: 8px 18px;
      font-weight: 500;
      margin-left: 8px;
      transition: all 0.3s ease;
      border-width: 2px;
      font-size: 0.9rem;
    }
    
    .btn-login {
      border-color: var(--primary-color);
      color: var(--primary-color);
      background: transparent;
    }
    
    .btn-login:hover {
      background: var(--primary-color);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(31, 5, 186, 0.3);
    }
    
    .btn-register {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      color: var(--white);
      border-color: transparent;
    }
    
    .btn-register:hover {
      background: linear-gradient(135deg, #0A0233 0%, #2e8b2a 100%);
      border-color: transparent;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(31, 5, 186, 0.3);
    }
    
    /* Panier */
    .cart-icon {
      position: relative;
      margin-right: 20px;
      color: var(--primary-color);
      font-size: 1.2rem;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
    
    .cart-icon:hover {
      color: var(--secondary-color);
      background: rgba(57, 171, 52, 0.1);
      transform: scale(1.05);
    }
    
    .cart-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background-color: var(--secondary-color);
      color: white;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      font-size: 0.7rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }
    
    /* Dropdown */
    .dropdown-menu {
      border: none;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      border-radius: 8px;
      padding: 8px 0;
      margin-top: 8px;
      min-width: 200px;
    }
    
    .dropdown-item {
      padding: 8px 16px;
      transition: all 0.2s ease;
      font-weight: 500;
      font-size: 0.9rem;
    }
    
    .dropdown-item:hover {
      background-color: rgba(57, 171, 52, 0.1);
      color: var(--primary-color);
    }
    
    .dropdown-item i {
      width: 20px;
      text-align: center;
      margin-right: 8px;
      color: var(--primary-color);
    }
    
    /* Toggler Mobile */
    .navbar-toggler {
      border: none;
      padding: 8px;
      color: var(--primary-color);
      font-size: 1.2rem;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
      background: rgba(31, 5, 186, 0.1);
    }
    
    /* ========== VERSION MOBILE ========== */
    @media (max-width: 991.98px) {
      body {
        padding-top: 60px; /* Réduire l'espace pour mobile */
      }
      
      .navbar {
        padding: 8px 0;
      }
      
      .navbar-brand {
        font-size: 1.2rem;
      }
      
      .navbar-brand img {
        height: 32px;
      }
      
      .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transition: all 0.3s ease;
      }
      
      .nav-item {
        margin: 5px 0;
      }
      
      .nav-link {
        padding: 12px 15px !important;
        margin: 0;
        border-radius: 6px;
      }
      
      .auth-buttons {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
        flex-direction: column;
      }
      
      .auth-buttons .btn {
        margin: 5px 0;
        width: 100%;
        padding: 10px;
      }
      
      .cart-icon {
        margin: 10px 0;
        width: 100%;
        height: auto;
        justify-content: flex-start;
        padding: 10px 15px;
        border-radius: 6px;
      }
      
      .cart-icon:hover {
        background: rgba(57, 171, 52, 0.1);
      }
      
      .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
      }
      
      .dropdown-item {
        padding: 10px 15px 10px 35px !important;
      }
    }
    
    /* ========== PETITS MOBILES ========== */
    @media (max-width: 575.98px) {
      .navbar-brand span {
        display: none; /* Cacher le texte sur très petits écrans */
      }
      
      .navbar-brand img {
        margin-right: 0;
      }
      
      .auth-buttons .btn {
        font-size: 0.85rem;
      }
    }
  @media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white) !important; /* Force le fond blanc */
  }
  
  .nav-link {
    color: var(--dark-text) !important; /* Couleur de texte sombre */
    background: transparent !important;
    margin: 5px 0 !important;
  }
  
  .nav-link:hover, 
  .nav-link:focus {
    color: var(--primary-color) !important;
    background: rgba(31, 5, 186, 0.05) !important;
  }
  
  .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background: rgba(31, 5, 186, 0.1) !important;
  }
  
  .dropdown-item {
    color: var(--dark-text) !important;
  }
  
  .dropdown-item:hover {
    color: var(--primary-color) !important;
  }
  
  /* Amélioration de la visibilité du panier */
  .cart-icon {
    color: var(--primary-color) !important;
  }
  .navbar-toggler {
  color: var(--primary-color) !important;
  background: transparent !important;
}

.navbar-toggler:hover {
  background: rgba(31, 5, 186, 0.1) !important;
}
}