body .ims-online-orders-entry {
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}
body .ims-online-orders-entry > .sidebar-order-count {
    position: absolute;
    top: -8px;
    right: 18px;
    z-index: 2;
    min-width: 24px;
    padding: 2px 7px;
    border: 2px solid #1a0a0b;
    border-radius: 999px;
    background: #ffc107;
    color: #241b00;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}

/* Fixed shared control, independent of page-specific button and icon styles. */
body #scrollTopButton {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
body #scrollTopButton.visible {
    opacity: .45;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
body #scrollTopButton.visible:hover,
body #scrollTopButton.visible:focus-visible {
    opacity: 1;
    background: #0b5ed7;
}
body #scrollTopButton:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body #scrollTopButton svg { color: #fff; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
    body #scrollTopButton { transition: none; }
}
@media print {
    body #scrollTopButton { display: none !important; }
}
