/* Back-to-top button — injected by custom.js */
#nmx-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

#nmx-back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#nmx-back-to-top:hover {
    background: #96281b;
}
