/* Foxbow Header Styles */

/* Variables de couleurs selon la charte graphique */
:root {
  --foxbow-green: #71b02c;
  --foxbow-orange: #ec6a33;
  --foxbow-orange-info: #e95924;
  --foxbow-orange-dark: #EA591F;
  --foxbow-grey-hover: #989292;
  --foxbow-grey-light: #f5f5f5;
  --foxbow-border-grey: #e6e6e6;
  --foxbow-text-grey: #484848;
  --foxbow-font-family: 'Scada', sans-serif;
}

/* Règle générale : icônes blanches sur fond vert */
[style*="background-color: #71b02c"] i,
[style*="background: #71b02c"] i,
.header-banner i,
.home-icon i,
.devis-express i {
  color: white !important;
}

/* Barre supérieure avec réseaux sociaux */
.header-banner {
  background-color: var(--foxbow-green);
  padding: 0;
  height: 40px;
  box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}

.header-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.header-banner .social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.header-banner .social-links li {
  display: inline-block;
}

.header-banner .social-links a {
  color: white;
  font-size: 14px;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-banner .social-links a:hover {
  opacity: 0.8;
}

/* Informations de livraison */
.delivery-info {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 15px;
}

.delivery-text {
  color: white;
  font-size: 13px;
  font-family: var(--foxbow-font-family);
  font-weight: 600;
  cursor: help;
  white-space: nowrap;
}

/* Tooltip */
.delivery-tooltip {
  position: absolute;
  bottom: -35px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--foxbow-font-family);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.delivery-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0, 0, 0, 0.9);
}

.delivery-info:hover .delivery-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Section principale du header */
.header-main {
  background-color: white;
  padding: 20px 0;
  font-family: var(--foxbow-font-family);
}

/* Centrage vertical des colonnes du header */
.header-main .row {
  display: flex;
  align-items: center;
}

/* Logo Foxbow - centré verticalement */
#_desktop_logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-foxbow {
  display: inline-block;
}

.logo-foxbow img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* Informations du header */
.header-center {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  font-family: var(--foxbow-font-family);
  color: var(--foxbow-text-grey);
  text-align: center;
  width: 100%;
}

.header-location,
.header-pickup {
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: center;
}

.header-location .label {
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
}

.header-pickup .label {
  font-weight: 400;
  text-transform: none;
  font-size: 12px;
}

.header-info .value {
  font-weight: 400;
}

.header-info .highlight {
  color: var(--foxbow-orange-info);
  font-weight: 700;
  font-size: 14px;
}

/* Widget de recherche */
.search-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Override des styles ps_searchbar avec sélecteurs spécifiques */
#search_widget.foxbow-search-widget {
  width: 80%;
  max-width: 450px;
  margin: 0 auto;
  margin-bottom: 0;
  overflow: visible;
  float: none;
  min-width: auto;
}

#search_widget.foxbow-search-widget form {
  width: 100%;
  position: relative;
}

.foxbow-search-widget .search-input-wrapper,
#search_widget.foxbow-search-widget form .search-input-wrapper {
  display: flex;
  border: 3px solid #d4d4d4;
  border-radius: 0;
  overflow: hidden;
  background-color: white;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}

/* Focus et hover sur le conteneur quand l'input est en focus */
.foxbow-search-widget .search-input-wrapper:hover,
#search_widget.foxbow-search-widget form .search-input-wrapper:hover {
  border-color: var(--foxbow-green);
}

.foxbow-search-widget .search-input-wrapper:focus-within,
#search_widget.foxbow-search-widget form .search-input-wrapper:focus-within,
.foxbow-search-widget .search-input:focus ~ .search-input-wrapper,
.foxbow-search-widget:focus-within .search-input-wrapper {
  border-color: var(--foxbow-green);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 1px rgba(113, 176, 44, 0.1);
}

.foxbow-search-widget .search-input,
#search_widget.foxbow-search-widget form input.search-input {
  flex: 1;
  border: none;
  border-right: none;
  padding: 8px 12px;
  padding-right: 8px;
  font-size: 12px;
  font-family: 'Scada', sans-serif;
  color: var(--foxbow-text-grey);
  outline: none;
  background-color: white;
  background: white;
  border-radius: 0;
}

/* Focus sur l'input - pas de changement de bordure car c'est le wrapper qui gère */
.foxbow-search-widget .search-input:focus,
#search_widget.foxbow-search-widget form input.search-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.foxbow-search-widget .search-input::placeholder {
  color: #999;
  font-style: italic;
}

/* Override des styles du theme.css pour le bouton de recherche */
#search_widget.foxbow-search-widget form button.search-button,
#search_widget.foxbow-search-widget form button[type="submit"],
#search_widget.foxbow-search-widget .search-input-wrapper button.search-button,
.foxbow-search-widget form button.search-button {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-image: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 45px;
  line-height: inherit;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  margin: auto 0;
  font-size: inherit;
  font-family: inherit;
  right: auto;
  bottom: auto;
  top: auto;
  left: auto;
  height: 100%;
}

#search_widget.foxbow-search-widget form button.search-button:hover,
#search_widget.foxbow-search-widget form button[type="submit"]:hover,
.foxbow-search-widget form button.search-button:hover {
  background-color: transparent;
  background-image: none;
  background: transparent;
  color: #666;
  border: none;
  text-decoration: none;
}

#search_widget.foxbow-search-widget form button.search-button:hover i,
#search_widget.foxbow-search-widget form button[type="submit"]:hover i,
.foxbow-search-widget form button.search-button:hover i {
  color: var(--foxbow-green);
}

#search_widget.foxbow-search-widget form button.search-button:focus,
#search_widget.foxbow-search-widget form button[type="submit"]:focus,
.foxbow-search-widget form button.search-button:focus {
  outline: none;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  background: transparent;
  border: none;
}

#search_widget.foxbow-search-widget form button.search-button i,
#search_widget.foxbow-search-widget form button[type="submit"] i,
.foxbow-search-widget form button.search-button i {
  font-size: 16px;
  line-height: 1;
  position: static;
  display: inline-block;
  vertical-align: middle;
  color: #666;
  right: auto;
  bottom: auto;
  top: auto;
  left: auto;
  margin: 0;
  padding: 0;
}

/* Colonne de droite - centrée verticalement */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

/* Actions utilisateur */
.header-user-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

/* Connexion utilisateur */
.foxbow-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.foxbow-user-info .user-link {
  color: var(--foxbow-text-grey);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  transition: all 0.2s ease-in-out;
}

.header-user-actions .foxbow-user-info a.user-link:hover,
.header-user-actions .foxbow-user-info a.user-link.active {
  color: var(--foxbow-green);
}

.header-user-actions .foxbow-user-info a.user-link:hover i,
.header-user-actions .foxbow-user-info a.user-link.active i {
  color: var(--foxbow-green);
}

.header-user-actions .foxbow-user-info a.user-link:hover span,
.header-user-actions .foxbow-user-info a.user-link.active span {
  color: var(--foxbow-green);
}

/* Force les couleurs pour outrepasser les styles du thème par défaut */
.header-user-actions a:link,
.header-user-actions a:visited {
  color: var(--foxbow-text-grey) !important;
}

.header-user-actions a:hover {
  color: var(--foxbow-green) !important;
  text-decoration: none !important;
}

/* Sélecteurs encore plus spécifiques pour l'user */
nav.header-main .header-user-actions .foxbow-user-info a.user-link {
  color: var(--foxbow-text-grey) !important;
}

nav.header-main .header-user-actions .foxbow-user-info a.user-link:hover,
nav.header-main .header-user-actions .foxbow-user-info a.user-link:hover span,
nav.header-main .header-user-actions .foxbow-user-info a.user-link:hover i {
  color: var(--foxbow-green) !important;
  text-decoration: none !important;
}

.foxbow-user-info .user-link i {
  font-size: 18px;
  line-height: 1;
}

.foxbow-user-info .user-link span {
  text-align: center;
  line-height: 1.2;
}

/* Panier */
#foxbow-blockcart-wrapper {
  position: relative;
}

.foxbow-blockcart .cart-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--foxbow-text-grey);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  position: relative;
  transition: all 0.2s ease-in-out;
}

#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link:hover,
#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link.active {
  color: var(--foxbow-green);
}

#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link:hover i,
#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link.active i {
  color: var(--foxbow-green);
}

#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link:hover span,
#foxbow-blockcart-wrapper .foxbow-blockcart .cart-link.active span {
  color: var(--foxbow-green);
}

.foxbow-blockcart .cart-link i {
  font-size: 18px;
  line-height: 1;
}

.foxbow-blockcart .cart-link .cart-label {
  text-align: center;
  line-height: 1.2;
}

.foxbow-blockcart .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--foxbow-orange);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.foxbow-blockcart .cart-dropdown-body {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--foxbow-border-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 300px;
  z-index: 1000;
}

/* Menu de navigation */
.header-menu {
  background-color: var(--foxbow-grey-light);
  border-bottom: 1px solid var(--foxbow-border-grey);
}

.main-menu {
  padding: 0;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

/* Icône Home - largeur limitée à 45px */
.home-icon {
  background-color: var(--foxbow-green);
  width: 45px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Menu burger - caché par défaut, affiché seulement en mobile */
.menu-burger {
  background-color: var(--foxbow-green);
  width: 45px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  color: white;
  font-size: 20px;
  border: none;
  outline: none;
}

.menu-burger:hover {
  background-color: var(--foxbow-green);
  opacity: 0.9;
}

.menu-burger i {
  color: white !important;
}

.home-icon a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.home-icon a i {
  color: white;
}

/* Menu principal - pas d'espacement avec home-icon */
.menu-categories {
  flex: 1;
  padding: 0;
}

.foxbow-main-menu {
  display: inline-block;
}

.foxbow-top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.foxbow-top-menu .menu-item {
  position: relative;
  border-left: solid 1px #e6e6e6;
}

.foxbow-top-menu .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: black;
  text-decoration: none;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  background-color: transparent;
}

/* Menu niveau 0 uniquement (desktop) - taille 14px */
@media (min-width: 769px) {
  .foxbow-top-menu > .menu-item > .menu-link {
    font-size: 14px !important;
  }
}

.foxbow-top-menu .menu-link:hover,
.foxbow-top-menu .menu-item.current .menu-link {
  color: var(--foxbow-green) !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

.foxbow-top-menu .menu-link:hover .menu-label,
.foxbow-top-menu .menu-item.current .menu-link .menu-label {
  color: var(--foxbow-green) !important;
}

.foxbow-top-menu .menu-link:hover .menu-arrow,
.foxbow-top-menu .menu-item.current .menu-link .menu-arrow {
  color: var(--foxbow-green) !important;
}

.foxbow-top-menu .menu-label {
  flex: 1;
  font-family: var(--foxbow-font-family);
  font-weight: 700;
}

.foxbow-top-menu .menu-arrow {
  margin-left: 8px;
  font-size: 12px;
  flex-shrink: 0;
}

/* Sous-menus */
.submenu-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--foxbow-border-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 999;
}

.foxbow-top-menu .menu-item:hover .submenu-wrapper {
  display: block;
}

/* Foxbow Mega Menu Styles - Desktop uniquement */
.foxbow-megamenu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: white;
  border: 1px solid var(--foxbow-border-grey);
  border-top: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 1000;
  max-height: none;
  overflow: visible;
  min-height: 400px;
  padding: 0px 20px;
  visibility: hidden;
  opacity: 0;
}

/* S'assurer que même la classe .foxbow-megamenu-active ne force pas l'affichage au chargement */
.foxbow-megamenu.foxbow-megamenu-active {
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

.foxbow-top-menu .menu-item:hover .foxbow-megamenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.foxbow-megamenu.foxbow-megamenu-active {
  display: block;
}

.foxbow-megamenu-inner {
  padding: 20px 0;
}

.foxbow-megamenu-container {
  width: 100%;
  padding: 0 15px;
}

.foxbow-menu-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.foxbow-menu-column {
  padding: 0 15px;
  margin-bottom: 20px;
}

.foxbow-menu-column-inner {
  height: 100%;
}

.foxbow-categories-row {
  height: 100%;
}

.foxbow-category-link-wrapper {
  margin-bottom: 5px;
}

.foxbow-category-title {
  font-family: var(--foxbow-font-family);
  font-size: 14px;
  font-weight: 700;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.foxbow-category-title:hover {
  color: var(--foxbow-green) !important;
  text-decoration: none;
}

.foxbow-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foxbow-links li {
  margin-bottom: 4px;
}

.foxbow-links a {
  font-family: var(--foxbow-font-family);
  font-size: 12px;
  color: var(--foxbow-text-grey);
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.4;
}

.foxbow-links a:hover {
  color: var(--foxbow-green);
  text-decoration: none;
}

.foxbow-banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Colonnes vides */
.foxbow-empty-column {
  min-height: 200px;
}

/* Responsive - cacher le mega menu sur tablette et mobile */
@media (max-width: 1200px) {
  .foxbow-megamenu {
    display: none !important;
  }

  /* Forcer l'affichage du sous-menu standard sur mobile */
  .foxbow-top-menu .menu-item:hover .submenu-wrapper {
    display: block;
  }
}

.foxbow-submenu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.foxbow-submenu .menu-item {
  display: block;
}

.foxbow-submenu .menu-link {
  padding: 8px 20px;
  display: block;
  color: var(--foxbow-text-grey);
  text-decoration: none;
  font-size: 11px;
  font-family: var(--foxbow-font-family);
  font-weight: 400;
  text-transform: none;
  transition: all 0.3s;
}

.foxbow-submenu .menu-link:hover {
  background-color: var(--foxbow-grey-light);
  color: var(--foxbow-green);
}

/* CTA Demande de devis */
.menu-cta {
  display: flex;
  align-items: center;
  padding-right: 20px;
  position: relative;
  border-left: solid 1px #e6e6e6;
}

.btn-devis {
  background-color: transparent;
  color: black;
  padding: 15px 20px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  transition: color 0.3s;
  display: inline-block;
  position: relative;
}

/* Btn devis 14px desktop uniquement */
@media (min-width: 769px) {
  .btn-devis {
    font-size: 14px;
  }
}

.btn-devis:hover,
.btn-devis:focus {
  background-color: transparent !important;
  color: var(--foxbow-green) !important;
  text-decoration: none !important;
}

.btn-devis:hover .devis-express,
.btn-devis:focus .devis-express {
  background-color: var(--foxbow-green);
}

/* Sélecteurs plus spécifiques pour outrepasser le thème */
.menu-cta .btn-devis:hover,
.menu-cta .btn-devis:focus,
.menu-wrapper .menu-cta .btn-devis:hover,
.menu-wrapper .menu-cta .btn-devis:focus {
  color: var(--foxbow-green) !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

.devis-express {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--foxbow-green);
  color: white;
  padding: 0px 4px;
  font-size: 10px;
  font-family: var(--foxbow-font-family);
  font-weight: 400;
  border-radius: 2px;
  transform: translate(25%, -25%);
  animation: bounce-vertical 2s ease-in-out infinite;
}

/* Devis express 12px desktop uniquement */
@media (min-width: 769px) {
  .devis-express {
    font-size: 12px;
  }
}

/* Animation haut/bas simple */
@keyframes bounce-vertical {
  0%, 100% {
    transform: translate(25%, -25%);
  }
  50% {
    transform: translate(25%, -29%);
  }
}


/* Responsive */
/* Tablettes et écrans moyens (996px et moins) */
@media (max-width: 996px) {
  /* Réorganisation du header principal - deux lignes */
  .header-main .row {
    flex-wrap: wrap;
  }

  /* Première ligne : Logo et Actions utilisateur côte à côte */
  #_desktop_logo {
    width: 50%;
    text-align: left;
    margin-bottom: 15px;
    order: 1;
    justify-content: flex-start;
    padding-left: 15px;
  }

  #_desktop_logo .logo-foxbow {
    text-align: left;
    display: block;
  }

  /* Actions utilisateur à droite sur la première ligne */
  .header-right {
    width: 50%;
    justify-content: flex-end;
    order: 2;
    margin-bottom: 15px;
    padding-right: 15px;
  }

  /* Deuxième ligne : Centre (infos + recherche) prend toute la largeur */
  .header-center {
    width: 100%;
    order: 3;
    margin-bottom: 15px;
    text-align: center;
  }

  /* Réduction de la barre de recherche sur tablette */
  #search_widget.foxbow-search-widget {
    width: 90%;
    max-width: 500px;
  }

  /* Informations header plus compactes */
  .header-info {
    font-size: 12px;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-location,
  .header-pickup {
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 5px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .header-location .label,
  .header-pickup .label {
    font-size: 10px;
    font-weight: 600;
  }

  .header-location .value,
  .header-pickup .value {
    font-size: 11px;
  }

  /* Réduction taille menu tablette */
  .foxbow-top-menu .menu-link {
    font-size: 11px;
    padding: 12px 15px;
  }

  .btn-devis {
    font-size: 11px;
    padding: 12px 15px;
  }

  /* Centrage des réseaux sociaux sur tablette */
  .header-banner .social-links {
    justify-content: center !important;
  }

  /* Adaptation de la delivery info sur tablette */
  .delivery-text {
    font-size: 11px;
  }

  .delivery-info {
    padding-right: 10px;
  }
}

/* Tablettes petites et mobiles (768px et moins) */
@media (max-width: 768px) {
  /* Header principal */
  .header-main {
    padding: 15px 0;
  }

  .header-center {
    margin-top: 0;
  }

  .header-info {
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
  }

  .header-location,
  .header-pickup {
    gap: 3px;
    flex-direction: column;
    align-items: center;
  }

  .header-location .label,
  .header-pickup .label {
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .header-location .value,
  .header-pickup .value {
    font-size: 10px;
    line-height: 1.2;
  }

  /* Barre de recherche mobile */
  #search_widget.foxbow-search-widget {
    width: 100%;
    max-width: 100%;
  }

  .foxbow-search-widget .search-input,
  #search_widget.foxbow-search-widget form input.search-input {
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Actions utilisateur mobile */
  .header-user-actions {
    gap: 15px;
    justify-content: center;
  }

  .foxbow-user-info .user-link,
  .foxbow-blockcart .cart-link {
    font-size: 11px;
  }

  /* Réduction taille menu mobile */
  .foxbow-top-menu .menu-link {
    font-size: 10px;
    padding: 10px 12px;
  }

  .btn-devis {
    font-size: 10px;
    padding: 10px 12px;
  }

  /* Masquer les réseaux sociaux sur mobile */
  .header-banner .social-links {
    display: none;
  }

  /* Centrer le texte de livraison sur mobile */
  .delivery-info {
    width: 100%;
    justify-content: center;
    padding: 0 15px;
  }

  .delivery-text {
    font-size: 11px;
    text-align: center;
  }

  /* Menu mobile wrapper */
  #mobile_top_menu_wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: white;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }

  #mobile_top_menu_wrapper.show {
    display: block !important;
  }

  /* Conteneur du menu mobile */
  #_mobile_top_menu {
    background: white;
    padding: 0;
  }

  /* Menu mobile cloné */
  #_mobile_top_menu .foxbow-main-menu,
  #_mobile_top_menu .mobile-menu-clone {
    display: block !important;
    position: static;
  }

  #_mobile_top_menu .foxbow-top-menu {
    flex-direction: column;
    width: 100%;
    display: flex;
  }

  #_mobile_top_menu .menu-item {
    border-left: none;
    border-bottom: 1px solid var(--foxbow-border-grey);
  }

  #_mobile_top_menu .menu-item:last-child {
    border-bottom: none;
  }

  #_mobile_top_menu .menu-link {
    padding: 15px 20px;
    font-size: 14px;
    justify-content: flex-start;
    background: white;
  }

  #_mobile_top_menu .menu-link:hover {
    background-color: var(--foxbow-grey-light);
  }

  #_mobile_top_menu .menu-arrow {
    margin-left: auto;
  }

  /* Sous-menus mobile */
  #_mobile_top_menu .submenu-wrapper {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--foxbow-grey-light);
  }

  #_mobile_top_menu .menu-item:hover .submenu-wrapper {
    display: block;
  }

  /* Menu responsive - remplacer le menu desktop par burger + devis */
  .menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    position: relative;
  }

  /* Cacher les éléments desktop du menu */
  .home-icon {
    display: none;
  }

  .menu-categories {
    display: none;
  }

  /* Afficher le menu burger à la place */
  .menu-burger {
    display: flex !important;
  }

  .menu-cta {
    display: flex;
    align-items: center;
    padding-right: 20px;
    position: relative;
    border-left: solid 1px #e6e6e6;
  }

  /* Masquer le badge devis express en mobile */
  .devis-express {
    display: none;
  }

  /* Cacher le menu desktop principal en mobile */
  .menu-categories .foxbow-main-menu {
    display: none;
  }
}

/* Mobiles très petits (480px et moins) */
@media (max-width: 480px) {
  .header-banner {
    padding: 0;
    height: 40px;
  }

  .delivery-text {
    font-size: 10px;
  }

  .header-main {
    padding: 10px 0;
  }

  .logo-foxbow img {
    max-height: 60px;
  }

  .header-info {
    font-size: 10px;
    gap: 5px;
  }

  .header-location,
  .header-pickup {
    gap: 2px;
  }

  .header-location .label,
  .header-pickup .label {
    font-size: 8px;
    font-weight: 600;
  }

  .header-location .value,
  .header-pickup .value {
    font-size: 9px;
    line-height: 1.1;
  }

  .header-user-actions {
    gap: 10px;
    justify-content: center;
  }

  /* Ajustements très petits écrans */
  .mobile #menu-icon {
    padding: 10px 12px;
  }

  .mobile .mobile-devis {
    padding: 6px 8px;
    font-size: 9px;
  }

  .mobile #menu-icon i {
    font-size: 18px;
  }
}

/* =====================================================
   USER ACCOUNT DROPDOWN - Utilisateurs connectes
   ===================================================== */
.user-account-dropdown {
  position: relative;
  display: inline-block;
}

.user-account-dropdown .account-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--foxbow-text-grey);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  padding: 5px 10px;
}

.user-account-dropdown .account-trigger > .fa-user {
  font-size: 18px;
  line-height: 1;
}

/* Wrapper pour nom + chevron sur la meme ligne */
.user-account-dropdown .account-trigger .user-name-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.user-account-dropdown .account-trigger .user-name {
  font-size: 12px;
  white-space: nowrap;
}

.user-account-dropdown .account-trigger .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  line-height: 1;
}

.user-account-dropdown:hover .account-trigger .dropdown-arrow {
  transform: rotate(180deg);
}

.user-account-dropdown .account-trigger:hover,
.user-account-dropdown:hover .account-trigger {
  color: var(--foxbow-green);
}

.user-account-dropdown .account-trigger:hover i,
.user-account-dropdown:hover .account-trigger i {
  color: var(--foxbow-green);
}

/* Menu dropdown */
.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--foxbow-border-grey);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  min-width: 330px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-top: 5px;
}

.user-account-dropdown:hover .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Fleche du dropdown */
.user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--foxbow-border-grey);
}

.user-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 21px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid white;
}

/* Liste du dropdown */
.user-dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.user-dropdown-menu ul li {
  margin: 0;
}

.user-dropdown-menu ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-family: var(--foxbow-font-family);
  transition: all 0.2s ease;
}

.user-dropdown-menu ul li a:hover {
  background-color: var(--foxbow-grey-light);
  color: var(--foxbow-green);
}

.user-dropdown-menu ul li a i,
.user-dropdown-menu ul li a .material-icons {
  width: 20px;
  text-align: center;
  font-size: 18px;
  color: #000;
  transition: color 0.2s ease;
}

.user-dropdown-menu ul li a:hover i,
.user-dropdown-menu ul li a:hover .material-icons {
  color: var(--foxbow-green);
}

/* Separateur */
.user-dropdown-menu .dropdown-divider {
  height: 1px;
  background-color: var(--foxbow-border-grey);
  margin: 8px 15px;
  padding: 0;
}

/* Lien de deconnexion */
.user-dropdown-menu .logout-link {
  color: #c0392b !important;
}

.user-dropdown-menu .logout-link:hover {
  background-color: #fdf2f2 !important;
  color: #a93226 !important;
}

.user-dropdown-menu .logout-link i,
.user-dropdown-menu .logout-link .material-icons {
  color: #c0392b !important;
}

.user-dropdown-menu .logout-link:hover i,
.user-dropdown-menu .logout-link:hover .material-icons {
  color: #a93226 !important;
}

/* =====================================================
   Styles pour les liens generes par le hook displayCustomerAccount
   (modules comme psgdpr, ps_emailalerts, etc.)
   ===================================================== */
.user-dropdown-menu ul > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-family: var(--foxbow-font-family);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.user-dropdown-menu ul > a:hover {
  background-color: var(--foxbow-grey-light);
  color: var(--foxbow-green);
}

.user-dropdown-menu ul > a .material-icons,
.user-dropdown-menu ul > a i {
  width: 20px;
  text-align: center;
  font-size: 18px;
  color: #000;
  transition: color 0.2s ease;
}

.user-dropdown-menu ul > a:hover .material-icons,
.user-dropdown-menu ul > a:hover i {
  color: var(--foxbow-green);
}

/* Masquer les elements de structure des modules (col-*, link-item, etc.) */
.user-dropdown-menu ul > a .link-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-dropdown-menu ul > a.col-lg-4,
.user-dropdown-menu ul > a.col-md-6,
.user-dropdown-menu ul > a.col-sm-6,
.user-dropdown-menu ul > a.col-xs-12 {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 10px 20px !important;
  float: none !important;
}

/* Styles utilisateur non connecte */
.foxbow-user-info .user-link.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--foxbow-text-grey);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--foxbow-font-family);
  transition: all 0.2s ease-in-out;
  padding: 5px 10px;
}

.foxbow-user-info .user-link.login > .fa-user {
  font-size: 18px;
  line-height: 1;
}

.foxbow-user-info .user-link.login:hover {
  color: var(--foxbow-green);
}

.foxbow-user-info .user-link.login:hover i {
  color: var(--foxbow-green);
}

/* Responsive pour le dropdown utilisateur */
@media (max-width: 768px) {
  .user-dropdown-menu {
    min-width: 220px;
    right: -10px;
  }

  .user-dropdown-menu::before {
    right: 25px;
  }

  .user-dropdown-menu::after {
    right: 26px;
  }

  .user-dropdown-menu ul li a {
    padding: 12px 15px;
    font-size: 12px;
  }

  .user-account-dropdown .account-trigger .user-name-wrapper {
    display: none;
  }
}