/* Native named selects remain in the form and keep Shop-Script's validation/rate handlers. */
.wb-order #wa-order-form-wrapper select.wb-address-native { position:absolute!important; width:1px!important; height:1px!important; min-height:0!important; padding:0!important; margin:0!important; border:0!important; clip-path:inset(50%); opacity:0; pointer-events:none; }
.wb-address-select { position:relative; width:100%; min-width:0; }
.wb-address-select[hidden],.wb-address-menu[hidden] { display:none!important; }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:46px; margin:0; padding:11px 13px; border:1px solid #ddc8cf; border-radius:9px; background:#fffaf7; color:#634250; font:500 13px/1.55 Manrope,Arial,sans-serif; text-align:left; box-shadow:0 2px 5px #59343f04; cursor:pointer; transition:background .16s,border-color .16s,box-shadow .16s; }
.wb-address-select__value { min-width:0; overflow-wrap:anywhere; }
.wb-address-select__trigger svg { display:block; flex:none; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s; }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger:hover { background:#fcf4f2; border-color:#bb94a1; }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger[aria-expanded=true] { background:#fff; border-color:#ac7a8b; box-shadow:0 3px 12px #8b4b6112; }
.wb-address-select__trigger[aria-expanded=true] svg { transform:rotate(180deg); }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger:disabled { opacity:.5; cursor:wait; }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger[aria-invalid=true] { border-color:#b74760; }
.wb-order #wa-order-form-wrapper .wb-address-select__trigger:focus-visible { outline:2px solid #c697a6; outline-offset:3px; }
/* Body-level popup cannot be clipped by native checkout sections or container queries. */
.wb-address-menu { position:fixed; z-index:1100; display:flex; flex-direction:column; box-sizing:border-box; overflow:hidden; width:300px; max-height:390px; padding:8px; border:1px solid #e3cfd6; border-radius:13px; background:#fffdfb; color:#654251; box-shadow:0 16px 45px #4e233229,0 3px 8px #4e233209; font:400 14px/1.5 Manrope,Arial,sans-serif; }
.wb-address-menu__search { display:flex; flex:none; align-items:center; gap:8px; min-width:0; padding:0 7px 0 11px; border:1px solid #e5d4d9; border-radius:8px; margin-bottom:7px; background:#faf4f4; }
.wb-address-menu__search:focus-within { border-color:#be99a6; background:#fff; }
.wb-address-menu__search>svg { flex:none; width:17px; height:17px; fill:none; stroke:#a5798a; stroke-width:1.5; stroke-linecap:round; }
.wb-body .wb-address-menu input.wb-address-menu__input { box-sizing:border-box; flex:1; width:100%; min-width:0; height:42px; min-height:42px; padding:8px 0; margin:0; border:0; border-radius:0; background:none; color:#654251; font:400 13px/1.5 Manrope,Arial,sans-serif; outline:none; box-shadow:none; }
.wb-address-menu__input::placeholder { color:#a18a94; }
.wb-address-menu__close { display:grid; place-items:center; flex:none; width:30px; height:34px; padding:6px; margin:0; border:0; border-radius:6px; background:none; color:#a48090; cursor:pointer; }
.wb-address-menu__close:hover { background:#f2e4e9; color:#7b2638; }
.wb-address-menu__close svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.wb-address-menu__list { min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#d0a9b7 transparent; padding:0 3px 0 0; }
.wb-address-menu__option { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:41px; box-sizing:border-box; margin:2px 0; padding:10px 11px; border:1px solid transparent; border-radius:7px; line-height:1.55; overflow-wrap:anywhere; cursor:pointer; }
.wb-address-menu__option>svg { flex:none; width:17px; height:17px; fill:none; stroke:#8a3c55; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; visibility:hidden; }
.wb-address-menu__option[aria-selected=true] { background:#f1e1e6; color:#783148; font-weight:600; }
.wb-address-menu__option[aria-selected=true]>svg { visibility:visible; }
.wb-address-menu__option:hover,.wb-address-menu__option.is-highlighted { border-color:#e3cbd5; background:#f8edf0; color:#713349; }
.wb-address-menu__option[aria-disabled=true] { opacity:.45; cursor:default; }
.wb-address-menu__status { flex:none; padding:9px 10px 3px; margin-top:5px; border-top:1px solid #f0e3e7; color:#9a7c89; font-size:11px; line-height:1.5; }
.wb-address-menu__close:focus-visible { outline:2px solid #c697a6; outline-offset:1px; }
@media(max-width:600px) { .wb-body .wb-address-menu input.wb-address-menu__input { font-size:16px; }.wb-address-menu__option { min-height:44px; font-size:14px; }.wb-order #wa-order-form-wrapper .wb-address-select__trigger { min-height:46px; } }
@media(prefers-reduced-motion:reduce) { .wb-address-select__trigger,.wb-address-select__trigger svg { transition:none!important; } }
