/* Native pickers retain touch and keyboard support; WooCommerce's searchable
   country/state controls share the same visual treatment. */
body{--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23234831' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
body select:not([multiple]):not([size]),body select[size="1"]{
 appearance:none;-webkit-appearance:none;min-height:var(--control-height,50px);max-width:100%;
 padding:12px 44px 12px 14px!important;border:1px solid var(--line);border-radius:var(--radius)!important;
 background-color:#fff;background-image:var(--select-arrow);background-repeat:no-repeat;background-position:right 15px center;background-size:16px;
 color:var(--ink);font-family:var(--font-body);font-size:14px;line-height:24px;cursor:pointer;box-shadow:0 2px 3px #19352804;
 transition:border-color .2s,box-shadow .2s;
}
body select:hover{border-color:#91a68f}
body select:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-color:var(--green)}
body select:disabled{background-color:var(--cream);color:var(--muted);cursor:not-allowed;opacity:.7}
body select option{background:#fff;color:var(--ink)}
body .select2-container{max-width:100%;font-family:var(--font-body);font-size:14px}
body .inv-catalog-filters .select2-container,body .woocommerce-ordering .select2-container{width:100%!important;min-width:0}
body .woocommerce-ordering{min-width:220px;max-width:100%}
body .select2-container--open .inv-select-dropdown{margin-top:6px;border-radius:var(--radius)}
body .inv-select-dropdown .select2-results__option{margin:3px 6px;border-radius:6px;padding:12px;white-space:normal}
body .inv-select-dropdown .select2-results{padding:4px 0}
body .inv-select-dropdown .select2-results__option[aria-selected=true]:after{content:'✓';float:right;margin-left:8px;font-weight:700}
body .select2-container .select2-selection--single{height:var(--control-height,50px);border:1px solid var(--line);background:#fff;box-shadow:0 2px 3px #19352804}
body .select2-container .select2-selection--single .select2-selection__rendered{line-height:48px;padding:0 44px 0 14px;color:var(--ink)}
body .select2-container .select2-selection--single .select2-selection__arrow{height:100%;width:42px;right:0;top:0;background:var(--select-arrow) center/16px no-repeat}
body .select2-container .select2-selection--single .select2-selection__arrow b{display:none}
body .select2-container--open .select2-selection,body .select2-container--focus .select2-selection{border-color:var(--green);box-shadow:0 0 0 3px #23483118}
body .select2-container .select2-selection:focus-visible{outline:2px solid var(--green);outline-offset:2px}
body .select2-dropdown{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 12px 30px #19352820;color:var(--ink)}
body .select2-search--dropdown{padding:10px}
body .select2-container .select2-search--dropdown .select2-search__field{min-height:44px;border:1px solid var(--line);border-radius:var(--radius);padding:8px 12px;font:inherit;color:var(--ink);background:#fff}
body .select2-results__option{padding:12px 14px;min-height:44px;line-height:1.5}
body .select2-container--default .select2-results__option[data-selected=true],body .select2-container--default .select2-results__option[aria-selected=true]{background:var(--cream);color:var(--green)}
body .select2-container--default .select2-results__option--highlighted[data-selected],body .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--green);color:#fff}
body .select2-container--default .select2-results__option[aria-disabled=true]{color:var(--muted)}
body .select2-container--default .select2-results>.select2-results__options{max-height:min(280px,45vh);overscroll-behavior:contain}
@media(max-width:850px){
 body select:not([multiple]):not([size]),body select[size="1"],body .woocommerce .inv-catalog-results .woocommerce-ordering select,body .inv-catalog-filters select{font-size:16px;min-height:50px}
 body .select2-container,body .select2-container .select2-search--dropdown .select2-search__field{font-size:16px}
 body .woocommerce-ordering{width:100%}
 body .woocommerce-ordering select{width:100%;max-width:none}
}
@media(prefers-reduced-motion:reduce){body select{transition:none}}
@media(forced-colors:active){body select:not([multiple]):not([size]),body select[size="1"]{appearance:auto;background-image:none}}
