.wo-select { position: relative; display: inline-flex; vertical-align: middle; width: 100%; min-width: 0; }
.wo-select[hidden], .wo-select-popup[hidden] { display: none !important; }
.wo-select .wo-select-native {
    position: absolute !important; inset: auto !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: 0 !important; overflow: hidden !important;
    clip-path: inset(50%) !important; white-space: nowrap !important; pointer-events: none !important;
}
.wo-select .wo-select-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 14px;
    border: 1px solid #4c5965; border-radius: 12px; background: linear-gradient(180deg, #222b32, #131c23);
    background-image: linear-gradient(180deg, #222b32, #131c23) !important;
    color: #f5f6f7; font: inherit; font-size: 16px; line-height: 1.4; text-align: start;
    cursor: pointer; box-shadow: none; appearance: none; touch-action: manipulation;
}
.wo-select-trigger__text { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-select-trigger::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: -4px 2px 0 0; transition: transform .15s; }
.wo-select-trigger[aria-expanded=true]::after { transform: rotate(225deg); margin-top: 4px; }
.wo-select .wo-select-trigger:focus-visible, .wo-select .wo-select-trigger[aria-expanded=true] { border-color: #eab95d; outline: 2px solid #eab95d66; outline-offset: 2px; }
.wo-select .wo-select-trigger:disabled { opacity: .5; cursor: default; }
.wo-select .wo-select-trigger[aria-invalid=true] { border-color: #ed8585; }
.wo-select-error { display: block; color: #ed8585; font-size: 13px; margin-top: 6px; }
.wo-select-error[hidden] { display: none !important; }
.wo-select:has(> .wo-select-error:not([hidden])) { flex-wrap: wrap; }
.wo-select-popup {
    position: fixed; z-index: 20000; display: flex; flex-direction: column; min-height: 0;
    border: 1px solid #d4a64f; border-radius: 14px; background: linear-gradient(155deg, #232c33, #10181f 75%);
    color: #f5f6f7; box-shadow: 0 14px 32px #0009, inset 0 1px #ffffff0b;
    padding: 5px; font: 500 14px/1.4 Manrope, system-ui, sans-serif; color-scheme: dark;
}
.wo-select-search { flex: 0 0 auto; width: calc(100% - 8px); min-height: 44px; margin: 4px 4px 7px; padding: 10px 12px; border: 1px solid #50606a; border-radius: 9px; color: #fff; background: #0e171e; font: inherit; font-size: 16px; outline-offset: 1px; }
.wo-select-search:focus-visible { outline: 2px solid #eab95d; }
.wo-select-options { position: relative; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #8e7448 #162029; -webkit-overflow-scrolling: touch; }
.wo-select-option { display: grid; grid-template-columns: minmax(0,1fr) 20px; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 9px; cursor: pointer; overflow-wrap: anywhere; }
.wo-select-option + .wo-select-option { margin-top: 2px; }
.wo-select-option[aria-selected=true] { background: linear-gradient(100deg, #d8a54535, #d8a5450b); color: #ffcf77; }
.wo-select-option.is-active { outline: 1px solid #d8a5458c; outline-offset: -1px; background-color: #ffffff0b; }
@media (hover:hover) { .wo-select-option:not([aria-disabled=true]):hover { background-color: #ffffff0b; } }
.wo-select-option[aria-disabled=true] { opacity: .4; cursor: default; }
.wo-select-check { width: 16px; height: 16px; color: #f2c166; visibility: hidden; }
.wo-select-option[aria-selected=true] .wo-select-check { visibility: visible; }
.wo-select-group, .wo-select-empty { padding: 10px 12px 6px; color: #aebcc7; font-size: 12px; }
.wo-select-group { font-weight: 700; }
.wo-select-option--language { grid-template-columns: 26px minmax(0,1fr) 20px; }
.wo-select-option--language .wo-language-flag { width: 24px; height: 24px; border-width: 1px; }
.wo-language-control > .wo-select { position: absolute; inset: 0; width: 100%; height: 100%; }
.wo-language-control .wo-select-trigger { padding: 0; min-height: 0; height: 100%; border: 0; border-radius: 50%; background: transparent !important; }
.wo-language-control .wo-select-trigger__text { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.wo-language-control .wo-select-trigger::after { display: none; }
.wo-home-filters > label .wo-select { flex: 1 1 0; }
.wo-home-filters > label .wo-select-trigger { min-height: 42px; padding: 0; border: 0; border-radius: 0; background: transparent !important; font-size: 14px; font-weight: 650; gap: 5px; }
.wo-home-filters > label:focus-within { border-color: #eab95d; outline: 2px solid #eab95d66; outline-offset: 2px; }
.wo-home-filters > label .wo-select-trigger:focus-visible, .wo-home-filters > label .wo-select-trigger[aria-expanded=true] { outline: none; }
.wo-home-more .wo-select-trigger { padding: 10px; border-radius: 9px; }
@media (max-width:640px) {
    .wo-home-filters > label .wo-select-trigger { min-height: 24px; font-size: clamp(8.5px,2.53vw,11px); letter-spacing: -.2px; }
    .wo-home-filters > label .wo-select-trigger::after { width: 5px; height: 5px; flex-basis: 5px; margin-right: 0; }
}
@media (max-width:360px) { .wo-home-filters > label .wo-select-trigger { font-family: Oswald,Manrope,sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0; } }
/* Existing searchable Select2 widgets use the same palette and touch targets. */
.wo-site .select2-container .select2-dropdown { background: #151e25; color: #f5f6f7; border: 1px solid #d4a64f; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px #0008; }
.wo-site .select2-container .select2-results__option { min-height: 44px; padding: 11px 12px; background: #151e25 !important; color: #f5f6f7 !important; }
.wo-site .select2-container .select2-results__option--highlighted[aria-selected], .wo-site .select2-container .select2-results__option[aria-selected=true], .wo-site .select2-container .select2-results__option--selected { background: #d8a54530 !important; color: #ffcf77 !important; }
.wo-site .select2-container .select2-search--dropdown { padding: 8px; background: #151e25; }
.wo-site .select2-container .select2-search__field { min-height: 44px; padding: 9px 12px; border-color: #50606a !important; border-radius: 8px; background: #0e171e !important; color: #fff !important; font-size: 16px; }
.wo-site .select2-container .select2-selection { border-color: #4c5965; border-radius: 12px; background: #131c23; color: #f5f6f7; }
.wo-site .select2-container .select2-selection__rendered { color: #f5f6f7; }
.wo-site .select2-container--focus .select2-selection, .wo-site .select2-container--open .select2-selection { border-color: #eab95d !important; box-shadow: 0 0 0 2px #eab95d44 !important; }
@media (prefers-reduced-motion:reduce) { .wo-select-trigger::after { transition: none; } }
