/* Boutimarket — bouton « revenir en haut », sur toutes les pages (GP 08/10 : « comme DoliPlus »).
   Repris de dp-ascenseur.css (erp-crm.fr, /var/www/dev/.tools/wordpress/theme-child/) aux couleurs du logo.
   `right` est posé par le script (--totop-droite) après avoir sondé la place libre du coin. */
.totop {
  position: fixed; right: var(--totop-droite, 22px); bottom: 22px; z-index: 9990;
  width: 49px; height: 49px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #5B4CFB; color: #fff; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(91, 76, 251, .6);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.totop:hover, .totop:focus-visible { background: #3f31d6; color: #fff; }
.totop:focus-visible { outline: 3px solid rgba(91, 76, 251, .35); outline-offset: 3px; }
.totop svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Sans JavaScript le bouton reste visible ; avec, il ne se montre qu'une fois la page entamée. */
.bm-js .totop { opacity: 0; transform: translateY(8px); pointer-events: none; }
.bm-js .totop.on { opacity: 1; transform: none; pointer-events: auto; }
