.sg-back-to-top { display: none; }
@media (max-width: 760px) {
  .sg-back-to-top:not([hidden]) {
    position: fixed;
    z-index: 40;
    right: max(16px, env(safe-area-inset-right));
    /* Leave room for the iubenda preferences button below. */
    bottom: calc(76px + env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #dce3ef;
    border-radius: 50%;
    background: #fff;
    color: #2449ef;
    box-shadow: 0 3px 14px #11192c20;
    cursor: pointer;
  }
  body.sg-menu-open .sg-back-to-top:not([hidden]),
  body:has(#iubenda-cs-banner.iubenda-cs-visible) .sg-back-to-top:not([hidden]) {
    display: none;
  }
}
