/* Shared scrollbars for pages, menus, baskets and dialogs. */
:root {
    --scrollbar-thumb: #b5a18a;
    --scrollbar-thumb-hover: #8b7355;
}
html, body, body * {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}
::-webkit-scrollbar-thumb:active {
    background: #6b5844;
}
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
/* Chromium uses these rules to keep rounded thumbs and remove the arrows. */
@supports selector(::-webkit-scrollbar) {
    html, body, body * { scrollbar-width: auto; scrollbar-color: auto; }
}
@media (max-width: 768px) {
    ::-webkit-scrollbar { width: 4px; height: 4px; }
}
