/* MOXIE — Sommaire des produits de l'accueil : un onglet vertical à gauche (« Nos produits » + le produit en cours) ; un clic ouvre la liste
   par familles, un clic sur un nom descend directement à sa pub. Sur téléphone : un bouton en bas à gauche qui ouvre la liste. */
.mx-som-onglet { position: fixed; left: 0; top: 50%; translate: 0 -50%; z-index: 1200; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 9px; border: 0; border-radius: 0 14px 14px 0; background: #1d1d1f; color: #fff; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.18);
  font: 700 12px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.mx-som-onglet span { writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; }
.mx-som-onglet .mx-som-encours { color: #c3d916; letter-spacing: .04em; text-transform: none; font-weight: 600; max-height: 38vh; overflow: hidden; text-overflow: ellipsis; }
.mx-som-onglet i { width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; font-size: 16px; line-height: 1; }
.mx-som-onglet:hover { background: #000; }

.mx-som-fond { position: fixed; inset: 0; z-index: 1250; background: rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mx-som-panneau { position: fixed; left: 0; top: 0; bottom: 0; z-index: 1300; width: 300px; max-width: 86vw; background: #fff; box-shadow: 8px 0 40px rgba(0,0,0,.18);
  translate: -105% 0; transition: translate .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.mx-som-ouvert .mx-som-fond { opacity: 1; pointer-events: auto; }
.mx-som-ouvert .mx-som-panneau { translate: 0 0; }
.mx-som-tete { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; border-bottom: 1px solid #ececef; }
.mx-som-tete b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #1d1d1f; }
.mx-som-fermer { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f2f5; color: #1d1d1f; font-size: 18px; cursor: pointer; }
.mx-som-liste { flex: 1; overflow-y: auto; padding: 6px 12px 24px; overscroll-behavior: contain; }
.mx-som-famille { margin: 16px 8px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8f; }
.mx-som-liste a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #1d1d1f; font-size: 15px; font-weight: 500; text-decoration: none; }
.mx-som-liste a::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #d2d2d7; }
.mx-som-liste a:hover { background: #f4f4f6; }
.mx-som-liste a.mx-som-actif { background: #1d1d1f; color: #fff; }
.mx-som-liste a.mx-som-actif::before { background: #c3d916; }
/* la pub visée s'arrête juste sous le menu collé */
.page--home > section, .page--home > .moxie-products-wrap { scroll-margin-top: 80px; }

@media (max-width: 760px) {
  .mx-som-onglet { top: auto; bottom: 16px; left: 12px; translate: none; flex-direction: row; padding: 11px 16px; border-radius: 999px; }
  .mx-som-onglet span { writing-mode: horizontal-tb; rotate: none; }
  .mx-som-onglet .mx-som-encours { display: none; }
  .page--home > section, .page--home > .moxie-products-wrap { scroll-margin-top: 64px; }
}
