/* Keep native wheel, touch, keyboard and scrollbar dragging behavior. */
html{--scroll-thumb:#80616f;--scroll-thumb-hover:#654653;--scroll-track:#f6f2f4;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
html[data-theme="green"]{--scroll-thumb:#658075;--scroll-thumb-hover:#263d35;--scroll-track:#f1f5f2}
html::-webkit-scrollbar{width:10px;height:10px}
html::-webkit-scrollbar-track{background:var(--scroll-track)}
html::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:99px;min-height:48px}
html::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover);border-width:2px}
html::-webkit-scrollbar-corner{background:var(--scroll-track)}
html::-webkit-scrollbar-button{display:none;width:0;height:0}
/* WebKit's thumb styling supplies the rounded, inset treatment. */
@supports selector(::-webkit-scrollbar){html{scrollbar-width:auto;scrollbar-color:auto}}
/* Internal storefront rails and panels still scroll, without visible tracks. */
body:not(.page-admin) *{scrollbar-width:none;-ms-overflow-style:none}
body:not(.page-admin) *::-webkit-scrollbar{display:none;width:0;height:0}
/* Preserve system controls when the user requests increased contrast. */
@media(forced-colors:active){html,body:not(.page-admin) *{scrollbar-width:auto;scrollbar-color:auto}html::-webkit-scrollbar,body:not(.page-admin) *::-webkit-scrollbar{display:initial;width:initial;height:initial}html::-webkit-scrollbar-thumb{background:ButtonText;border:0}html::-webkit-scrollbar-track{background:Canvas}}
