/* Consistent dropdown surfaces, including font choices, without OS-blue selection. */
.wr-select{position:relative;min-width:0;width:100%}
select.wr-select-native{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important;overflow:hidden!important}
.wr-select-button{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:48px;padding:12px 14px!important;border:1px solid #4d4d4d!important;border-radius:0;background:#170c0e!important;color:#ddd!important;text-align:left;font:13px/1.5 var(--sans)!important;cursor:pointer}
.wr-select-button>span{min-width:0;overflow-wrap:anywhere}
.wr-select-button:after{content:'';flex:0 0 8px;width:8px;height:8px;border:solid #c4bdb9;border-width:0 1px 1px 0;transform:rotate(45deg);margin:0 2px 4px 0}
.wr-select-button[aria-expanded=true]{border-color:#8f8f8f!important;background:#230c11!important}
.wr-select-button:focus-visible{outline:2px solid #aeaeae!important;outline-offset:3px}
.wr-select-button:disabled{opacity:.45;cursor:not-allowed}
.wr-select-popup{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid #656565;border-radius:0;box-sizing:border-box;background:#130b0d;color:#ddd;box-shadow:0 14px 40px #0009;overflow:auto;overscroll-behavior:contain;scrollbar-color:#460d18 #130b0d;font:13px/1.5 var(--sans);color-scheme:dark}
.wr-select-popup::backdrop{background:transparent;pointer-events:none}
.wr-select-popup [role=option]{display:block;min-height:40px;padding:9px 12px;border-left:2px solid transparent;cursor:pointer;overflow-wrap:anywhere}
.wr-select-popup [role=option][aria-selected=true]{border-left-color:#a5a5a5;background:#2b0d14;color:#eee}
.wr-select-popup [role=option]:hover,.wr-select-popup [role=option].is-focused{background:#4b131f;color:#fff}
.wr-select-popup [role=option][aria-disabled=true]{opacity:.4;cursor:not-allowed}
/* Existing WooCommerce enhanced controls retain their behavior and the same palette. */
.select2-container .select2-results__option--highlighted[aria-selected],.select2-container .select2-results__option--highlighted[data-selected]{background:#4b131f!important;color:#eee!important}
.select2-dropdown,.select2-results__options{background:#130b0d!important;color:#ddd!important;border-color:#656565!important}
select option:checked{background:#4b131f;color:#eee}
@media(prefers-reduced-motion:reduce){.wr-select-button{transition:none}}
