/* Menu vertical Corrihons — niveau 1 visible, niveau 2 en volet au survol, niveau 3 en volet coulissant au survol de l'entrée.
   Mobile : accordéon au clic. Aucune dépendance JS lourde. */
.lc-vmenu { position: relative; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; font-family: "Barlow", system-ui, sans-serif; }
.lc-vmenu__toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 0; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, #c8102e 0%, #c8102e 55%, #2b2b2b 100%); color: #fff; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; cursor: default; text-align: left; }
.lc-vmenu__burger { width: 22px; height: 2px; background: #fff; position: relative; flex: none; }
.lc-vmenu__burger::before, .lc-vmenu__burger::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; }
.lc-vmenu__burger::before { top: -7px; } .lc-vmenu__burger::after { top: 7px; }
.lc-vmenu__list { list-style: none; margin: 0; padding: 0; }
.lc-vmenu__item { position: static; border-top: 1px solid #ececec; }
.lc-vmenu__link { display: flex; align-items: center; gap: 12px; padding: 9px 14px; color: #1a1a1a; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; min-height: 50px; }
.lc-vmenu__icon { width: 32px; height: 32px; flex: none; object-fit: contain; }
.lc-vmenu__label { flex: 1; }
.lc-vmenu__chevron { width: 7px; height: 7px; border-right: 1.5px solid #999; border-bottom: 1.5px solid #999; transform: rotate(-45deg); flex: none; margin-right: 4px; }
.lc-vmenu__item:hover > .lc-vmenu__link, .lc-vmenu__item.is-open > .lc-vmenu__link { color: #c8102e; background: #faf7f7; }

@media (min-width: 992px) {
  /* Volet niveau 2 : liste simple, à droite du menu */
  .lc-vmenu__panel { display: none; position: absolute; top: 0; left: 100%; z-index: 1050; width: 270px; min-height: 100%; padding: 8px 0; background: #fff; border: 1px solid #e5e5e5; border-left: 3px solid #c8102e; box-shadow: 8px 8px 24px rgba(0,0,0,.12); }
  .lc-vmenu__item:hover > .lc-vmenu__panel { display: block; }
  .lc-vmenu__sub { list-style: none; margin: 0; padding: 0; }
  .lc-vmenu__subitem { position: relative; }
  .lc-vmenu__subitem > a { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; color: #1a1a1a; font-weight: 600; font-size: .9rem; text-transform: uppercase; text-decoration: none; }
  .lc-vmenu__subitem.has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #999; border-bottom: 1.5px solid #999; transform: rotate(-45deg); margin-left: 10px; }
  .lc-vmenu__subitem:hover > a { color: #c8102e; background: #faf7f7; }
  /* Volet niveau 3 : coulisse à droite de l'entrée survolée */
  .lc-vmenu__subsub { display: none; position: absolute; top: -8px; left: 100%; z-index: 1051; min-width: 240px; max-width: 520px; padding: 8px 0; margin: 0; list-style: none; background: #fff; border: 1px solid #e5e5e5; box-shadow: 8px 8px 24px rgba(0,0,0,.12); animation: lc-slide .15s ease-out; }
  .lc-vmenu__subitem:hover > .lc-vmenu__subsub { display: block; }
  .lc-vmenu__subsub li a { display: block; padding: 6px 16px; color: #444; font-size: .9rem; text-decoration: none; white-space: nowrap; }
  .lc-vmenu__subsub li a:hover { color: #c8102e; background: #faf7f7; }
  .lc-vmenu__subsub.is-long { columns: 2; column-gap: 0; min-width: 480px; }
  .lc-vmenu__subsub.is-long li { break-inside: avoid; }
  .lc-vmenu__subsub.is-xlong { columns: 3; min-width: 700px; }
  @keyframes lc-slide { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .lc-vmenu__subsub { animation: none; } }
}

@media (max-width: 991.98px) {
  .lc-vmenu__toggle { cursor: pointer; border-radius: 6px; }
  .lc-vmenu__toggle[aria-expanded="false"] + .lc-vmenu__list { display: none; }
  .lc-vmenu__panel { display: none; padding: 0 14px 10px 58px; }
  .lc-vmenu__item.is-open > .lc-vmenu__panel { display: block; }
  .lc-vmenu__item.is-open > .lc-vmenu__link .lc-vmenu__chevron { transform: rotate(45deg); }
  .lc-vmenu__sub, .lc-vmenu__subsub { list-style: none; margin: 0; padding: 0; }
  .lc-vmenu__subitem > a { display: block; padding: 8px 0; color: #1a1a1a; text-decoration: none; font-weight: 600; }
  .lc-vmenu__subsub { display: none; padding-left: 12px; border-left: 2px solid #eee; margin-bottom: 6px; }
  .lc-vmenu__subitem.is-open > .lc-vmenu__subsub { display: block; }
  .lc-vmenu__subsub a { display: block; padding: 6px 0; font-weight: 400; color: #555; font-size: .92rem; text-decoration: none; }
}

/* ---------- Méga-menu (bouton « Toutes les catégories ») façon topbiz ---------- */
.lc-mega { display: grid; grid-template-columns: 290px 1fr; background: #fff; border-radius: 0 0 10px 10px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.22); min-height: 460px; }
.lc-mega__depts { list-style: none; margin: 0; padding: 8px 0; background: #1a1a1a; }
.lc-mega__dept > a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; color: #e8e6e1; text-decoration: none; font-weight: 600; font-size: .95rem; border-left: 3px solid transparent; position: relative; }
.lc-mega__dept > a::after { content: ""; position: absolute; right: 16px; width: 6px; height: 6px; border-right: 1.5px solid #777; border-bottom: 1.5px solid #777; transform: rotate(-45deg); }
.lc-mega__dept.is-active > a { background: #2b2b2b; color: #fff; border-left-color: #c8102e; }
.lc-mega__icon { width: 26px; height: 26px; flex: none; object-fit: contain; filter: invert(1) brightness(1.6); opacity: .85; }
.lc-mega__panels { padding: 22px 28px 26px; background: #fbfaf8; }
.lc-mega__panel { display: none; }
.lc-mega__panel.is-active { display: block; animation: lc-slide .15s ease-out; }
.lc-mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid #e3e1dc; }
.lc-mega__title { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: #1a1a1a; }
.lc-mega__all, .lc-mega__more { color: #c8102e; font-weight: 700; text-decoration: none; font-size: .9rem; }
.lc-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 26px; }
.lc-mega__h { display: block; margin-bottom: 6px; color: #c8102e; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.lc-mega__col ul { list-style: none; margin: 0 0 4px; padding: 0; }
.lc-mega__col li a { display: block; padding: 3px 0; color: #444; text-decoration: none; font-size: .92rem; }
.lc-mega__col li a:hover, .lc-mega__h:hover { color: #c8102e; }
@keyframes lc-slide { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.lc-mega { min-height: 0; }
.lc-mega__panels { max-height: min(72vh, 640px); overflow-y: auto; }
.lc-mega__cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Dans l'en-tête, la règle #header a { color:#fff } du thème masquait les liens du panneau */
#header .lc-mega__panels a { color: #3a3a3a; }
#header .lc-mega__panels .lc-mega__h, #header .lc-mega__panels .lc-mega__all, #header .lc-mega__panels .lc-mega__more { color: #c8102e; }
#header .lc-mega__panels a:hover { color: #c8102e; }
#header .lc-mega__depts a { color: #e8e6e1; }
#header .lc-mega__dept.is-active > a { color: #fff; }
#header .lc-mega__title { color: #1a1a1a; }

/* Ouverture du méga-menu sans « trou » entre le bouton et le panneau */
.lc-hnav__cats { align-self: stretch; height: auto !important; display: flex; align-items: center; }
.lc-hnav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.lc-hnav__cats.is-open .lc-hnav__drop { display: block; }
