#aromex-header.aromex-header {
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  /* Animation d'entrée au chargement */
  transform: translateY(-100%);
  animation: slideDownHeader 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

#aromex-header .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

#aromex-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

#aromex-header .logo-container {
  flex: 0 0 auto;
  /* Animation d'apparition du logo */
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

#aromex-header .aromex-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Menu principal */
#aromex-header .main-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  text-align: center;
}

#aromex-header .main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* Animation des éléments du menu principal */
#aromex-header .main-menu ul li {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

#aromex-header .main-menu ul li a {
  color: var(--aromex-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  text-align: center;
}

#aromex-header .main-menu .nic-item {
  padding: 22px 4px;
}

#aromex-header .main-menu ul li a:hover {
  color: var(--aromex-black);
}

/* Sous-menu */
.submenu {
  position: absolute;
  top: 100%;
  left: 210%;
  transform: translateX(-50%);
  background: #f8f8f8;
  min-width: 1000px;
  max-width: 1200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 25px;
  border-radius: 20px;
  margin-top: 15px;
  z-index: 1000;
}

/* Sous-menu spécifique pour les arômes avec une seule colonne */
li:nth-child(2) .submenu {
  min-width: 540px;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(234, 105, 10, 0.1);
}

li:nth-child(2) .submenu .submenu-content {
  display: block;
  padding: 0;
}

li:nth-child(2) .submenu .menu-column {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 20px;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f8f8f8;
}

.has-submenu {
  position: relative;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.submenu-content::before,
.submenu-content::after {
  content: "";
  position: absolute;
  top: 5%;
}

.submenu-content::before {
  left: calc(33.33% - 15px);
}

.submenu-content::after {
  right: calc(33.33% - 15px);
}

.menu-column {
  padding: 0;
}

/* Séparateurs verticaux */
.submenu-content::before,
.submenu-content::after {
  content: "";
  grid-column: 2 / 3;
  width: 1px;
  background: #ddd;
  margin: 0 40px;
}

.submenu-content::after {
  grid-column: 4 / 5;
}

.menu-section {
  padding: 0 20px;
}

.menu-section span {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: left;
}

/* Grille d'icônes pour Saveurs */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.icon-item img {
  width: 50px;
  height: 50px;
  padding: 10px;
  background: white;
  border-radius: 50%;
  margin-bottom: 8px;
}

.icon-item span {
  font-size: 12px;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

/* Grille de nicotine */
.nicotine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-items: center;
  max-width: 250px;
  margin: 0 auto;
}

.nic-item {
  background: white;
  width: 50px;
  height: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nic-item:hover {
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Grille des marques */
.marques-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  max-height: none;
  overflow: visible;
}

.marque-item {
  width: 100%;
  padding: 4px;
  background: var(--aromex-white);
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.marque-item.has-logo {
  padding: 2px;
}

.marque-item.has-logo .marque-name {
  display: none;
}

.marque-item:hover {
  background: var(--aromex-grey);
  color: var(--aromex-black);
}

/* Supprimer les styles spécifiques pour chaque élément car ils auront tous la même taille */
.marque-item:first-child,
.marque-item:nth-child(2),
.marque-item:last-child {
  height: 45px;
}

/* Contenances */
.contenances .icon-grid {
  grid-template-columns: repeat(5, 1fr);
}

.contenances .icon-item img {
  width: 60px;
  height: auto;
  background: transparent;
  padding: 0;
}

/* Actions d'en-tête */
#aromex-header .header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Animation des actions du header */
#aromex-header .header-actions > * {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInLeft 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

#aromex-header .btn-connect {
  background: #666;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

#aromex-header .btn-connect:hover {
  background: #333;
}

#aromex-header .cart-link {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
}

#aromex-header .cart-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

#aromex-header .cart-icon::after {
  content: var(--cart-count, "0");
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--aromex-blue-hover);
  color: white;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* Bouton menu mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  /* Animation du bouton hamburger */
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #666;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1200px) {
  .submenu {
    padding: 30px;
  }
}

/* Tablette - Format paysage */
@media (max-width: 1024px) and (min-width: 768px) {
  #aromex-header.aromex-header {
    height: 75px;
  }

  #aromex-header .container {
    padding: 0 25px;
  }

  #aromex-header .header-content {
    height: 65px;
  }

  #aromex-header .aromex-logo {
    height: 32px;
  }

  #aromex-header .main-menu ul {
    gap: 25px;
  }

  #aromex-header .main-menu ul li a {
    font-size: 13px;
  }

  .submenu {
    max-width: 900px;
    padding: 20px;
  }

  .submenu-content {
    gap: 20px;
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .icon-item img {
    width: 45px;
    height: 45px;
  }

  .icon-item span {
    font-size: 11px;
  }

  .nicotine-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 200px;
  }

  .nic-item {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .marque-item {
    padding: 10px;
    font-size: 12px;
    height: 40px;
  }

  .saveurs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 350px;
  }

  .saveur-icon {
    width: 50px;
    height: 50px;
  }

  .saveur-icon img {
    width: 35px;
    height: 35px;
  }

  .contenances-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .contenance-icon {
    height: 60px;
  }

  .contenance-icon img {
    height: 40px;
    width: 45px;
  }

  #aromex-header .btn-connect {
    padding: 6px 12px;
    font-size: 12px;
  }

  #aromex-header .header-actions {
    gap: 12px;
  }

  .customer-name {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* Tablette - Format portrait */
@media (max-width: 768px) and (min-width: 577px) {
  #aromex-header.aromex-header {
    height: 70px;
    /* Animation mobile/tablette */
    animation-duration: 0.6s;
    animation-delay: 0.1s;
  }

  #aromex-header .container {
    padding: 0 20px;
  }

  #aromex-header .header-content {
    height: 60px;
  }

  #aromex-header .aromex-logo {
    height: 28px;
  }

  #aromex-header .main-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    padding: 25px;
    z-index: 999;
  }

  #aromex-header .main-menu.active {
    left: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  #aromex-header .main-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #aromex-header .main-menu ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  #aromex-header .main-menu ul li:last-child {
    border-bottom: none;
  }

  #aromex-header .main-menu ul li a {
    padding: 18px 0;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #333;
    font-weight: 500;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .submenu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    margin: 0;
    padding: 15px 0;
    background: #f8f8f8;
    display: none;
    border-radius: 10px;
  }

  .submenu::before {
    display: none;
  }

  .has-submenu.active .submenu {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .has-submenu > a {
    position: relative;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .has-submenu > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 8px;
  }

  .has-submenu.active > a::after {
    transform: rotate(-135deg);
  }

  .menu-column {
    padding: 0 15px;
  }

  .menu-column span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .saveurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .saveur-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .saveur-icon img {
    width: 30px;
    height: 30px;
  }

  .saveur-item span {
    font-size: 11px;
    margin-top: 8px;
  }

  .contenances-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .contenance-icon {
    height: 55px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
  }

  .contenance-icon img {
    height: 35px;
    width: 40px;
  }

  .contenance-item span {
    font-size: 11px;
    margin-top: 8px;
  }

  .nicotine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .nic-item {
    background: white;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .marques-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .marque-item {
    background: white;
    border-radius: 10px;
    padding: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 13px;
  }

  #aromex-header .btn-connect {
    padding: 6px 12px;
    font-size: 12px;
  }

  #aromex-header .header-actions {
    gap: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 992px) {
  #aromex-header.aromex-header {
    height: 70px;
  }

  #aromex-header .main-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background: #fff;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    z-index: 999;
  }

  #aromex-header .main-menu.active {
    left: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  #aromex-header .main-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #aromex-header .main-menu ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  #aromex-header .main-menu ul li:last-child {
    border-bottom: none;
  }

  #aromex-header .main-menu ul li a {
    padding: 20px 0;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #333;
    font-weight: 500;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .submenu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    margin: 0;
    padding: 20px 0;
    background: #f8f8f8;
    display: none;
    border-radius: 12px;
  }

  .submenu::before {
    display: none;
  }

  .has-submenu.active .submenu {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .has-submenu > a {
    position: relative;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .has-submenu > a::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 10px;
  }

  .has-submenu.active > a::after {
    transform: rotate(-135deg);
  }

  .menu-column {
    padding: 0;
  }

  .menu-column span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .saveurs-grid,
  .contenances-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .saveur-icon,
  .contenance-icon {
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .saveur-icon img,
  .contenance-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .saveur-item span,
  .contenance-item span {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    display: block;
  }

  .nicotine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .nic-item {
    background: white;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .marques-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .marque-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 576px) {
  #aromex-header.aromex-header {
    height: 60px;
    /* Animation plus rapide sur mobile */
    animation-duration: 0.5s;
    animation-delay: 0.1s;
  }

  /* Animation du logo mobile */
  #aromex-header .logo-container {
    animation-delay: 0.4s;
    animation-duration: 0.4s;
  }

  #aromex-header .container {
    padding: 0 15px;
  }

  #aromex-header .main-menu {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 15px;
  }

  #aromex-header .btn-connect {
    display: none;
  }

  #aromex-header .aromex-logo {
    height: 25px;
  }

  .icon-grid,
  .contenances .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nicotine-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-item img {
    width: 40px;
    height: 40px;
  }

  .nic-item {
    width: 60px;
    height: 60px;
    font-size: 14px;
  }

  .saveurs-grid,
  .contenances-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .saveur-icon,
  .contenance-icon {
    width: 45px;
    height: 45px;
  }

  .saveur-icon img,
  .contenance-icon img {
    width: 25px;
    height: 25px;
  }

  .menu-column span {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .nicotine-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nic-item {
    padding: 10px;
    font-size: 13px;
  }
}

.menu-column span {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 35px;
  color: #000;
  text-transform: uppercase;
  text-align: start;
}

.saveurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0 16px;
  max-width: 400px;
  margin: 0 auto;
}

.saveur-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.saveur-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}

.saveur-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.saveur-item span {
  font-size: 12px;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  display: block;
}

.contenances-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin: 0 auto;
}

.contenance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.contenance-icon {
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 12px auto 6px;
}

.contenance-icon img {
  height: 45px;
  width: 50px;
  object-fit: contain;
  background-color: var(--aromex-white);
  border-radius: 100px;
  padding: 10px;
}

.contenance-item span {
  font-size: 12px;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  display: block;
}

@media (max-width: 992px) {
  .contenances-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .contenances-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .contenance-icon {
    height: 50px;
  }
}

.customer-info {
  position: relative;
  cursor: pointer;
}

.customer-name {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  background: #f5f5f5;
  display: inline-block;
  transition: all 0.3s ease;
}

.customer-name:hover {
  background: #eee;
}

.customer-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.customer-info:hover .customer-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.customer-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.customer-menu a {
  display: block;
  padding: 8px 16px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.customer-menu a:hover {
  background: #f5f5f5;
  color: #000;
}

.logout-link {
  border-top: 1px solid #eee;
  margin-top: 8px;
  padding-top: 8px;
}

/* Ajout d'une zone tampon pour faciliter l'accès au menu */
.customer-menu::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

/* Ajout d'un délai de fermeture */
.customer-info {
  transition: all 0.3s ease;
}

.customer-info:hover .customer-menu {
  transition-delay: 0.1s;
}

.section-saveurs span,
.section-contenances span {
  display: block;
  margin-bottom: 15px;
}

.menu-column .nicotine-title {
  display: block;
  margin-bottom: 15px;
}

.menu-column .marques-title {
  display: block;
  margin-bottom: 25px;
}

.favoris-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  text-decoration: none;
  position: relative;
}

.favoris-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.favoris-icon svg {
  transition: fill 0.3s ease;
}

.favoris-link:hover .favoris-icon svg path {
  fill: var(--aromex-blue-hover);
  transition: fill 0.2s ease;
}

.favoris-icon::after {
  content: var(--favoris-count, "0");
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--aromex-blue-hover);
  color: white;
  font-size: 12px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: var(--favoris-count-opacity, 0);
}

/* Grille des arômes */
.aromes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.arome-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--aromex-black);
  padding: 10px;
  transition: all 0.3s ease;
}

.arome-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arome-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.arome-item span {
  font-size: 14px;
  font-weight: 500;
}

.arome-item:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* Ajustements responsive */
@media (max-width: 768px) {
  .aromes-grid {
    grid-template-columns: 1fr;
  }

  .arome-icon {
    width: 25px;
    height: 25px;
  }

  .arome-item span {
    font-size: 12px;
  }
}

.section-categories span,
.aromes-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
  text-align: start;
  display: block;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  transition: all 0.3s ease;
}

.category-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.category-item span {
  font-size: 12px;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  display: block;
}

.aromes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.arome-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.arome-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  transition: all 0.3s ease;
}

.arome-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.arome-item span {
  font-size: 12px;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  display: block;
}

@media (max-width: 992px) {
  .categories-grid,
  .aromes-grid {
    gap: 15px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aromes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-icon,
  .arome-icon {
    width: 50px;
    height: 50px;
  }

  .category-icon img,
  .arome-icon img {
    width: 30px;
    height: 30px;
  }

  .category-item span,
  .arome-item span {
    font-size: 11px;
  }
}

/* ===== STYLES POUR LE MENU ARÔMES POUR FABRICATION ===== */

/* Titre du menu arômes */
.aromes-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  text-align: center !important;
  display: block !important;
  margin-bottom: 30px !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  padding: 0 0 15px 0;
}

.aromes-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ea690a 0%, #ff8a3d 50%, #ea690a 100%);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(234, 105, 10, 0.3);
}

/* Grille des arômes */
.aromes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Éléments d'arôme individuels */
.arome-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 12px;
  text-decoration: none !important;
  color: #4a5568 !important;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.175);
  border: 2px solid #e2e8f0;
  text-align: center;
  min-height: 48px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.arome-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(234, 105, 10, 0.05) 0%, rgba(255, 138, 61, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arome-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea690a 0%, #ff8a3d 50%, #ffa726 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.arome-item:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  color: #ea690a !important;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(234, 105, 10, 0.15);
  border-color: #ea690a;
}

.arome-item:hover::before {
  opacity: 1;
}

.arome-item:hover::after {
  transform: scaleX(1);
}

.arome-item:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(234, 105, 10, 0.2);
}

/* Animation d'apparition des éléments arômes */
.has-submenu:nth-child(2):hover .arome-item {
  animation: slideInFromBottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.175) both;
}

.has-submenu:nth-child(2):hover .arome-item:nth-child(1) { animation-delay: 0.1s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(2) { animation-delay: 0.2s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(3) { animation-delay: 0.3s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(4) { animation-delay: 0.4s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(5) { animation-delay: 0.5s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(6) { animation-delay: 0.6s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(7) { animation-delay: 0.7s; }
.has-submenu:nth-child(2):hover .arome-item:nth-child(8) { animation-delay: 0.8s; }

/* Animation pour les éléments d'arômes */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Effet de brillance au survol du titre */
.aromes-title:hover::after {
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background: linear-gradient(90deg, #ea690a 0%, #ff8a3d 50%, #ea690a 100%);
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    background: linear-gradient(90deg, #ff8a3d 0%, #ffa726 50%, #ff8a3d 100%);
    transform: translateX(-50%) scaleX(1.1);
  }
  100% {
    background: linear-gradient(90deg, #ea690a 0%, #ff8a3d 50%, #ea690a 100%);
    transform: translateX(-50%) scaleX(1);
  }
}

/* Responsive pour tablette */
@media (max-width: 1024px) and (min-width: 768px) {
  li:nth-child(2) .submenu {
    min-width: 480px;
    max-width: 540px;
  }

  .aromes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 400px;
    padding: 0 20px;
  }

  .arome-item {
    padding: 12px 10px;
    font-size: 10px;
    min-height: 44px;
    letter-spacing: 0.3px;
    border-radius: 10px;
  }

  .aromes-title {
    font-size: 15px !important;
    margin-bottom: 25px !important;
    letter-spacing: 1px;
  }

  .aromes-title::after {
    width: 50px;
    height: 2px;
  }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .aromes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 280px;
    padding: 0 20px;
  }

  .arome-item {
    padding: 14px 16px;
    font-size: 11px;
    min-height: 46px;
    letter-spacing: 0.3px;
    border-radius: 10px;
  }

  .arome-item::after {
    height: 3px;
  }

  .arome-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(234, 105, 10, 0.12);
  }

  .aromes-title {
    font-size: 14px !important;
    margin-bottom: 25px !important;
    letter-spacing: 0.8px;
  }

  .aromes-title::after {
    width: 45px;
    height: 2px;
  }
}

/* Responsive pour petits mobiles */
@media (max-width: 576px) {
  .aromes-grid {
    gap: 14px;
    max-width: 260px;
    padding: 0 15px;
  }

  .arome-item {
    padding: 12px 14px;
    font-size: 10px;
    min-height: 42px;
    letter-spacing: 0.2px;
    border-radius: 8px;
  }

  .arome-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(234, 105, 10, 0.1);
  }

  .aromes-title {
    font-size: 13px !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.7px;
  }

  .aromes-title::after {
    width: 40px;
    height: 2px;
  }
}

/* === KEYFRAMES POUR LES ANIMATIONS DE CHARGEMENT === */

/* Animation du header principal */
@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Animation du logo */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation des éléments du menu (montée) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation des actions du header (de droite à gauche) */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === STYLES SPÉCIFIQUES POUR LE SOUS-MENU DIY === */

/* Container du menu DIY */
.diy-menu-item .diy-submenu {
  min-width: 500px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Content du submenu DIY */
.diy-submenu .submenu-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Sections DIY */
.diy-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.diy-section-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--aromex-dark, #333);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--aromex-primary, #ea690a);
}

/* Grille des items DIY */
.diy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Items individuels */
.diy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--aromex-dark, #333);
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: #fafafa;
}

.diy-item:hover {
  background: #fff;
  border-color: var(--aromex-primary, #ea690a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--aromex-primary, #ea690a);
  text-decoration: none;
}

/* Icônes DIY */
.diy-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Labels DIY */
.diy-label {
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: inherit;
  line-height: 1.2;
}

/* Responsive pour le menu DIY */
@media (max-width: 768px) {
  .diy-submenu {
    min-width: auto;
    max-width: 90vw;
    padding: 15px;
  }

  .diy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .diy-item {
    padding: 12px 8px;
  }

  .diy-icon {
    width: 32px;
    height: 32px;
  }

  .diy-label {
    font-size: 12px;
  }
}

/* === STYLES POUR LES MARQUES DANS LE HEADER === */

/* Titre de la section marques */
.marques-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--aromex-dark, #333);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 15px;
}

/* Grille des marques */
.marques-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  overflow: visible;
}

/* Items individuels des marques */
.marque-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--aromex-dark, #333);
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: #fafafa;
}

.marque-item:hover {
  background: #fff;
  border-color: var(--aromex-primary, #ea690a);
  transform: translateX(2px);
  color: var(--aromex-primary, #ea690a);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo des marques */
.marque-logo {
  width: 50px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.marque-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Nom des marques */
.marque-name {
  font-weight: 500;
  font-size: 13px;
  color: inherit;
  line-height: 1.2;
}

/* Marques avec logos personnalisés */
.marque-item.has-logo .marque-logo {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

.marque-item.has-logo .marque-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.marque-item.has-logo:hover .marque-logo {
  border-color: var(--aromex-primary, #ea690a);
  box-shadow: 0 2px 8px rgba(234, 105, 10, 0.2);
}

/* Responsive pour les marques */
@media (max-width: 768px) {
  .marques-grid {
    max-height: 150px;
    gap: 8px;
  }

  .marque-item {
    padding: 6px 8px;
    gap: 8px;
  }

  .marque-logo {
    width: 24px;
    height: 18px;
  }

  .marque-item.has-logo .marque-logo {
    width: 28px;
    height: 20px;
  }

  .marque-name {
    font-size: 12px;
  }
}
