/* Cacher complètement le header natif du thème */
#site-header.site-header.dynamic-header {
  display: none;
}

/* ===========================
   Barathonien – Header global
   Mobile-first
   =========================== */

:root {
  --bar-color-pink: #e30f73;
  --bar-color-bg: #f5f0e3;
  --bar-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* Hauteur approximative du header (pilule comprise) */
  --bar-header-height: 96px;
}

/* On colle le hero en haut, le header passe par-dessus */
main>*:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.bar-header,
.bar-header * {
  box-sizing: border-box;
}

.bar-header ul,
.bar-header li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Header wrapper ---------- */

.bar-header {
  position: fixed;
  top: 35px;
  left: 0;
  z-index: 2000;
  width: 100%;
  background: transparent;
  border-bottom: none;
  font-family: var(--bar-font);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Ombre légère quand on n’est plus tout en haut */
.bar-header--scrolled .bar-header__inner {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Header caché quand on scroll vers le bas */
.bar-header--hidden {
  transform: translateY(-120%);
}

/* Liens plus gras */
.bar-header__link {
  font-weight: 600 !important;
}

/* Pilule interne – version mobile par défaut */
.bar-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bar-color-bg);
  border-radius: 999px;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}

/* Groupes du header */
.bar-header__group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* En mobile : on masque la colonne gauche (Boutique / Q-R) */
.bar-header__group--left {
  display: none;
}

/* Logo centré en mobile */
.bar-header__group--center {
  flex: 1 1 auto;
  justify-content: center;
  order: 2;
}

/* Icônes à droite en mobile */
.bar-header__group--right {
  flex: 0 0 auto;
  justify-content: flex-end;
  order: 3;
}

/* ---------- Brand / logo ---------- */

.bar-header__brand {
  flex: 0 0 auto;
}

.bar-header__logo-link {
  display: inline-flex;
  align-items: center;
}

.bar-header__logo {
  display: block;
  max-height: 60px;
  /* logo plus petit en mobile */
  width: auto;
}

/* ---------- Navigation principale ---------- */

.bar-header__nav {
  display: none;
  /* menu desktop masqué en mobile */
}

/* ---------- Actions (compte + panier) ---------- */

.bar-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bar-header__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.bar-header__icon img {
  width: 35px;
  height: 35px;
  display: block;
}

.bar-header__cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  border: 1px solid var(--bar-color-pink);
  background: #fff;
  color: var(--bar-color-pink);
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

/* ---------- Burger (mobile) ---------- */

.bar-header__burger {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* aligné à gauche comme Leroux */
  gap: 5px;
  /* espacement entre les barres */
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  /* pas de fond */
  cursor: pointer;
  padding: 0;
  order: 1;
}

/* Barres */
.bar-header__burger span {
  display: block;
  height: 2px;
  width: 18px;
  background-color: var(--bar-color-pink);
  border-radius: 99px;
}

/* Dernière barre — plus courte */
.bar-header__burger span:nth-child(3) {
  width: 12px;
  /* petite comme Leroux */
}

/* ===========================
     Mega-menu – état mobile (caché)
     =========================== */

.bar-mega-overlay {
  display: none;
}

/* ===========================
     MENU MOBILE – OFF-CANVAS
     (plein écran, sous le header)
     =========================== */

/* Le conteneur couvre tout l’écran, mais reste SOUS le header */
.bar-mobile {
  position: fixed;
  inset: 0;
  /* full screen */
  z-index: 1500;
  /* sous le header, au-dessus du contenu */
  pointer-events: none;
}

/* Overlay grisé derrière le panneau */
.bar-mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bar-mobile--is-open {
  pointer-events: auto;
}

.bar-mobile--is-open::before {
  opacity: 1;
}

/* Panel générique – off-canvas depuis la droite */
.bar-mobile__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background-color: #f5f0e3;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;

  /* Contenu en bas de l’écran */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 0 1.5rem 2rem;
  overflow-y: auto;
  padding-bottom: 100px;
}

/* Panel principal */
.bar-mobile__panel--main {
  /* rien de plus, slide déjà depuis la droite */
}

/* Panel secondaire (Communauté / Contact) */
.bar-mobile__panel--secondary {
  /* même position ; ouverture gérée en JS */
}

/* Etat “ouvert” pour les panneaux */
.bar-mobile__panel--is-open {
  transform: translateX(0);
}

/* Contenu panel */

.bar-mobile__close {
  display: none;
}

.bar-mobile__menu {
  margin-top: 0;
}

/* Titre principal */
.bar-mobile__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  font-family: "Tholes", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #F8B89C;
}

/* Liens du menu principal + sous-menus */
.bar-mobile__link,
.bar-mobile__submenu a {
  display: block;
  width: 100%;
  padding: 0.9rem 0;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  color: #111;
}

/* Boutique un peu plus marquée */
.bar-mobile__link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.9rem 1.6rem;
  margin: 0 0 1.8rem;
  background: var(--bar-color-pink);
  color: #fff !important;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.95rem;
  width: auto;
  /* ne prend PAS toute la largeur */
  border-bottom: none !important;
  box-shadow: none !important;
  /* pas d'ombre */
}

/* Petite flèche → comme sur desktop */
.bar-mobile__link--cta::after {
  content: "→";
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0.65rem;
}

/* On supprime la bordure du bas héritée des liens mobiles */
.bar-mobile__link--cta {
  border-bottom: none;
}

/* Alignement du CTA dans la colonne */
.bar-mobile__menu>li:first-child {
  text-align: left;
}

/* Lignes avec sous-menu (Communauté / Contact) */
.bar-mobile__link--has-children::after {
  content: "›";
  float: right;
}

/* Bouton retour des panneaux secondaires */
.bar-mobile__back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0;
  border: none;
  background: none;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--bar-color-pink);
}

.bar-mobile__back::before {
  content: "‹";
}

/* Liste des liens dans les panneaux secondaires */
.bar-mobile__submenu {
  margin-top: 0.5rem;
}

/* ===========================
     Subnav (2ᵉ menu)
     =========================== */

.bar-subnav {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bar-subnav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.bar-subnav__menu {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.bar-subnav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.85rem;
  text-decoration: none;
  color: #111;
  white-space: nowrap;
}

.bar-subnav__link--active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Supprimer les bordures des liens texte */
.bar-header__link,
.bar-header__link:visited {
  border: none !important;
}

/* ===========================
     DESKTOP HEADER (≥ 768px)
     =========================== */

@media (min-width: 768px) {

  /* --- Structure générale du header --- */

  .bar-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 80%;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.5rem;
    background: var(--bar-color-bg);
    border-radius: 20px;
  }

  .bar-header__group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .bar-header__group--left {
    display: flex;
    justify-content: flex-start;
  }

  .bar-header__group--center {
    justify-content: center;
    order: 0;
  }

  .bar-header__group--right {
    justify-content: flex-end;
    order: 0;
  }

  .bar-header__logo {
    max-height: 75px;
  }

  /* --- Visibilité desktop --- */

  .bar-header__nav {
    display: block;
  }

  .bar-header__burger,
  .bar-mobile {
    display: none !important;
  }

  /* --- Menus (ul/li) --- */

  .bar-header__menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .bar-header__item {
    position: relative;
  }

  /* --- Liens du menu --- */

  .bar-header__link,
  .bar-subnav__link {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
  }

  .bar-header__link,
  .bar-header__link:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    font-size: 0.95rem;
    color: #111;
    padding: 0.25rem 0;
    cursor: pointer;
  }

  /*.bar-header__link:hover {
    opacity: 0.7;
  }*/

  /* --- CTA Boutique (forme pill XXL) --- */

  .bar-header__link--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bar-color-pink);
    color: #fff !important;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(227, 15, 115, 0.25);
    overflow: hidden;
    /* important pour clipper la flèche qui sort */
  }

  /* Optionnel : juste un peu plus d’ombre au hover, sans changer la couleur */
  .bar-header__link--cta:hover,
  .bar-header__link--cta:focus-visible {
    box-shadow: 0 6px 20px rgba(227, 15, 115, 0.35);
  }

  /* ===========================
   Animation CTA (desktop + mobile)
   même effet que les boutons .bar-btn
   =========================== */

  /* Label (texte) */
  .bar-cta-label {
    position: relative;
    transform: translateX(0);
    transition: transform 0.3s ease;
    white-space: nowrap;
  }

  /* Flèche */
  .bar-cta-icon {
    position: relative;
    display: inline-block;
    margin-left: 0.65rem;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Effet hover : 
   - la flèche glisse vers la droite et disparaît
   - le texte avance légèrement vers la droite
*/
  .bar-header__link--cta:hover .bar-cta-icon,
  .bar-header__link--cta:focus-visible .bar-cta-icon,
  .bar-mobile__link--cta:hover .bar-cta-icon,
  .bar-mobile__link--cta:focus-visible .bar-cta-icon {
    transform: translateX(40px);
    opacity: 0;
  }

  .bar-header__link--cta:hover .bar-cta-label,
  .bar-header__link--cta:focus-visible .bar-cta-label,
  .bar-mobile__link--cta:hover .bar-cta-label,
  .bar-mobile__link--cta:focus-visible .bar-cta-label {
    transform: translateX(10px);
  }

  .bar-header__nav--left .bar-header__item:first-child {
    margin-right: 1.5rem;
  }

  /* ===========================
       Mega-menu Communauté – overlay plein écran
       =========================== */

  .bar-mega-overlay {
    display: block;
    /* override du display:none mobile */
    position: fixed;
    inset: 0;
    z-index: 1500;
    /* sous le header (2000) */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .bar-mega-overlay.is-open {
    pointer-events: auto;
    opacity: 1;
  }

  .bar-mega {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-color: var(--bar-color-bg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  }

  .bar-mega__inner {
    /*max-width: 1200px;*/
    width: 80%;
    max-width: 80%;
    margin: 0 auto;
    padding: calc(100px + var(--bar-header-height) + 40px) 3rem 2.25rem;
    /*display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;*/
  }

  .bar-mega__title {
    /*margin: 0 0 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;*/
    font-family: "Tholes", Sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #F8B89C;
  }

  .bar-mega__list {
    margin: 0;
    padding: 0;
    list-style: none;
    
  }

  .bar-mega__list a {
    display: block;
    padding: 0.2rem 0;
    font-family: "Tholes", Sans-serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.2em;
    color: #11192B;
  }

  html.bar-mega-open .bar-header {
    transform: translateY(0) !important;
  }

  /* ===========================
       Dropdown Contact
       =========================== */

  .bar-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.75rem;
    min-width: 180px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateY(6px);
  }

  .bar-dropdown__list {
    padding: 0.6rem 0.9rem;
    margin: 0;
  }

  .bar-dropdown__list a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    text-decoration: none;
    color: #111;
  }

  /* ===========================
       Icônes du header
       =========================== */

  .bar-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .bar-header__icon img {
    width: 35px;
    height: auto;
  }

  .bar-header__cart-count {
    background: var(--bar-color-pink) !important;
    color: #fff !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===========================
     Large screens (optionnel)
     =========================== */

@media (min-width: 1024px) {
  .bar-header__inner {
    max-width: 80%;
  }

  .bar-header__menu {
    gap: 2rem;
  }
}

/* ===== SUPPRESSION DES PUCE DANS LE MENU MOBILE ===== */

.bar-mobile__menu,
.bar-mobile__menu li,
.bar-mobile__submenu,
.bar-mobile__submenu li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* ===== TYPO MENU MOBILE (hors CTA Boutique) ===== */

.bar-mobile__menu .bar-mobile__link:not(.bar-mobile__link--cta),
.bar-mobile__submenu a {
  font-family: "Tholes", Sans-serif;
  font-size: 1.3rem;
  /* bien visible */
  font-weight: 800;
  color: #11192b;
  line-height: 1.05;
  /* lignes très serrées */
  text-transform: uppercase;
}

/* Items normaux (Questions / Réponses, Communauté, Contact)
     → on serre au maximum l’espace vertical */
.bar-mobile__menu li {
  margin: 0 !important;
  /* aucun espace entre les <li> */
}

.bar-mobile__menu li:not(:first-child) .bar-mobile__link:not(.bar-mobile__link--cta) {
  padding: 0.30rem 0 !important;
  /* padding mini */
  border: none !important;
  /* pas de bordures fines */
}

/* Liens avec chevron (Communauté / Contact) */
.bar-mobile__link--has-children {
  padding: 0.30rem 0 !important;
}

/* Chevron à droite */
.bar-mobile__link--has-children::after {
  content: "›";
  color: #11192b;
  font-weight: 900;
  font-size: 1.2rem;
  float: right;
}

/* Sécurité : aucune bordure/ombre parasite sur les liens du panel */
.bar-mobile__panel .bar-mobile__link {
  border: none !important;
  box-shadow: none !important;
}

/* ===========================
     Ajustements MOBILE (≤ 768px)
     =========================== */

@media (max-width: 768px) {

  .bar-header {
    top: 0px;
    /* léger espace en haut */
    padding: 0 10px;
    /* marge gauche + droite */
  }

  .bar-header__logo {
    max-height: 45px !important;
    /* avant : 60px */
  }

  /* Icônes header mobile (réduction) */
  .bar-header__actions .bar-header__icon img {
    width: 26px !important;
    /* avant 35px */
    height: auto;
  }

  /* Compteur panier réajusté */
  .bar-header__cart-count {
    top: -4px;
    right: -4px;
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    line-height: 13px;
  }

  /* Pilule un peu plus compacte, tout bien centré */
  .bar-header__inner {
    padding: 1rem 1.5rem;
    align-items: center;
    border-radius: 10px !important;
  }

  /* Groupe logo : vrai centrage vertical */
  .bar-header__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
  }

  .bar-header__logo {
    max-height: 34px;
    display: block;
  }

  /* Burger : taille cohérente */
  .bar-header__burger {
    width: 44px;
    /* + large qu’avant */
    height: 44px;
    /* + haut qu’avant */
    gap: 6px;
  }

  .bar-header__burger span {
    width: 26px;     /* longueur des barres */
    height: 3px;     /* épaisseur */
}

  /* Pictos : bien centrés dans leur zone */
  .bar-header__actions {
    align-items: center;
  }

  /* On cible le second icône du header (mon compte) */
  .bar-header__actions .bar-header__icon:last-child img {
    width: 32px !important;
    /* avant : 26px */
    height: auto !important;
  }

  /* ===== SUPPRESSION ABSOLUE DU FOND AU CLIC SUR LE BURGER ===== */

  /* Supprime le highlight bleu/violet sur Safari iOS */
  .bar-header__burger {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    background: transparent !important;
  }

  /* Supprime le fond appliqué par certains browsers au clic */
  .bar-header__burger:active,
  .bar-header__burger:focus,
  .bar-header__burger:focus-visible {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* Par sécurité pour certains navigateurs */
  .bar-header__burger::-moz-focus-inner {
    border: 0 !important;
  }
}





/* =========================================================
   Subnav Boutique – Onglets hero (La boutique / Collections…)
   ========================================================= */

/* Bande de fond sous le hero */
.bar-subnav {
  width: 100%;
  background-color: #f5f0e3; /* même fond que la page boutique */
  border-bottom: none;
}

/* Pilule blanche qui contient les onglets */
.bar-subnav__inner--shop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2.5rem;
  background-color: #f5f0e3;
  border-radius: 0px;
}

/* Ligne d’onglets */
.bar-subnav__menu--shop {
  display: flex;
  align-items: center;
  justify-content: space-between; /* répartis sur toute la largeur */
  gap: 0;                         /* pas d’espace supplémentaire */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Liens onglets – état normal */
.bar-subnav__inner--shop .bar-subnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--bar-font, "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;

  padding: 0.25rem 0;      /* un peu de hauteur mais pas de gros padding horizontal */
  text-decoration: none;
  border: none;
  background: transparent;
  color: #11192b;          /* items non actifs */
  white-space: nowrap;
}

/* Pas de bordure héritée de l’ancienne version */
.bar-subnav__inner--shop .bar-subnav__link,
.bar-subnav__inner--shop .bar-subnav__link:visited {
  border: none !important;
  box-shadow: none !important;
}

/* État actif */
.bar-subnav__inner--shop .bar-subnav__link--active {
  color: #e30f73; /* rose Barathonien */
}

/* Hover = même couleur que l’actif */
.bar-subnav__inner--shop .bar-subnav__link:hover,
.bar-subnav__inner--shop .bar-subnav__link:focus-visible {
  color: #e30f73;
  text-decoration: none;
}

/* --------- Responsive : on allège sur mobile --------- */

@media (max-width: 768px) {

  .bar-subnav__inner--shop {
    /*border-radius: 20px;*/
    padding: 0.5rem 1rem;
    /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);*/
  }

  .bar-subnav__menu--shop {
    justify-content: flex-start;   /* on arrête le space-between */
    gap: 1.25rem;                  /* on repasse en tabs scrollables */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bar-subnav__inner--shop .bar-subnav__link {
    font-size: 14px;
  }
}

/* Hint scroll horizontal pour les onglets de la boutique (mobile) */
@media (max-width: 768px) {

  /* On positionne le conteneur pour pouvoir coller un ::after */
  .bar-subnav__inner--shop {
    position: relative;
    overflow: hidden; /* on masque juste le bout du fade */
  }

  /* Fade + petite flèche vers la droite */
  .bar-subnav__inner--shop::after {
    content: "›"; /* flèche simple, on peut changer par "»" ou "→" */
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: 700;
    color: #e30f73;

    /* dégradé qui part du transparent vers le fond #f5f0e3 */
    background: linear-gradient(
      to right,
      rgba(245, 240, 227, 0) 0%,
      rgba(245, 240, 227, 1) 60%
    );

    pointer-events: none; /* pas de blocage des clics sur les tabs */
  }
}







/* =========================================================
   FIX – Communauté (button) : supprimer hover/active rose Elementor
   ========================================================= */

/* Le bouton "Communauté" hérite parfois des styles Elementor (focus/active) */
.bar-header .bar-header__link--mega {
  appearance: none;
  -webkit-appearance: none;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;

  color: #111; /* même couleur que tes liens */
}

/* Hover / focus / active : on empêche tout fond/halo */
.bar-header .bar-header__link--mega:hover,
.bar-header .bar-header__link--mega:focus,
.bar-header .bar-header__link--mega:focus-visible,
.bar-header .bar-header__link--mega:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: #111;
}

/* Safari iOS / certains navigateurs : suppression du “tap highlight” */
.bar-header .bar-header__link--mega {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

/* Si ton JS ajoute html.bar-mega-open quand l’overlay est ouvert,
   on garde un état “actif” clean (sans rose). */
html.bar-mega-open .bar-header .bar-header__link--mega {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: #111;
}

/* Mega-menu : pas de soulignement */
.bar-mega__list a,
.bar-mega__list a:hover,
.bar-mega__list a:focus,
.bar-mega__list a:focus-visible,
.bar-mega__list a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.bar-mega__list a {
  text-decoration-line: none !important;
  text-decoration-thickness: initial !important;
  text-decoration-color: currentColor !important;
  background-image: none !important;
}