/* Bound the actual selectpicker scroller, not its option list. Its calculated
   inline height can exceed the viewport after theme styles are applied. */
.variation-wrapper .bootstrap-select > .dropdown-menu {
    min-height: 0 !important;
}
.variation-wrapper .bootstrap-select > .dropdown-menu > div.inner {
    min-height: 0 !important;
    max-height: min(20rem, 45vh) !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d7bc7d #151713;
}
@supports (height: 1dvh) {
    .variation-wrapper .bootstrap-select > .dropdown-menu > div.inner {
        max-height: min(20rem, 45dvh) !important;
    }
}
.variation-wrapper .bootstrap-select > .dropdown-menu > div.inner::-webkit-scrollbar { width: 8px; }
.variation-wrapper .bootstrap-select > .dropdown-menu > div.inner::-webkit-scrollbar-track { background: #151713; }
.variation-wrapper .bootstrap-select > .dropdown-menu > div.inner::-webkit-scrollbar-thumb { background: #d7bc7d; border: 2px solid #151713; border-radius: 8px; }
