/* Beninor Mobile Menu – Styles */
:root{
  --bnr-green:#1B763F;
  --bnr-yellow:#FFCF6F;
  --bnr-red:#B11E24;
}

/* Masqué sur desktop */
.bnrmm-hide-desktop{ display:none; }
@media (max-width: 1024px){
  .bnrmm-hide-desktop{ display:block; }
}

/* Bouton burger flottant (en haut à droite) */
#bnrmm-root{
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000002;
}

.bnrmm-toggle{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bnr-green);
  color: #fff;
  border: 0;
  padding: .7rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.bnrmm-toggle:focus{ outline: 3px solid var(--bnr-yellow); outline-offset: 2px; }

.bnrmm-burger{ display:inline-flex; flex-direction: column; gap:4px; }
.bnrmm-burger i{ display:block; width:20px; height:2px; background:#fff; border-radius:2px; }

/* Overlay */
#bnrmm-overlay[hidden]{ display:none; }
#bnrmm-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000000;
}

/* Panneau */
.bnrmm-panel{
  position: fixed;
  top: 0; right: -280px; bottom:0;
  width: 280px;
  background:#fff;
  z-index: 1000001;
  box-shadow: 0 0 30px rgba(0,0,0,.25);
  transition: right .25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bnrmm-panel.is-open{ right: 0; }

.bnrmm-panel__header{
  display:flex; align-items:center; gap:.5rem;
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.bnrmm-cta{
  background: var(--bnr-green);
  color:#fff; text-decoration:none;
  border-radius: 9999px; padding:.6rem 1rem; font-weight:800;
}
.bnrmm-cta:hover{ background:#000; }

.bnrmm-close{
  margin-left:auto;
  width:36px; height:36px;
  border-radius: 9999px;
  border: 2px solid #222;
  background:#fff; color:#222; font-size:24px; line-height:1;
}

.bnrmm-menu{ list-style:none; margin:0; padding: 8px 0 24px; }
.bnrmm-menu li{ border-bottom:1px solid #f1f1f1; }
.bnrmm-menu a{
  display:block; padding:14px 16px;
  color:#222; text-decoration:none; font-weight:700;
}
.bnrmm-menu a:hover{ background:#f7f7f7; }

/* Sous-menus (niveau 2 simple) */
.bnrmm-menu .sub-menu{ list-style:none; padding-left: 10px; }
.bnrmm-menu .sub-menu a{ font-weight:600; }
