/* ev-select — the shared custom dropdown (public/ev-ui/ev-select.js). Colours come from the --evui-* tokens:
   storefront = shop.css, dashboard = themes/dashboard/includes/header.php. Page fields set their own size. */
.evs-native{position:absolute!important;left:16px;bottom:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}
.evs-btn{display:flex!important;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer;font:inherit}
.evs-btn[hidden]{display:none!important}
.evs-btn .evs-val{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evs-btn.ph .evs-val{color:#a3a2ad}
.evs-btn svg{flex:none;color:var(--evui-muted,#6b6977);transition:transform .2s}
.evs-btn[aria-expanded=true]{border-color:var(--evui-accent,#111)!important}.evs-btn[aria-expanded=true] svg{transform:rotate(180deg);color:var(--evui-accent,#111)}
.evs-btn:disabled{opacity:.55;cursor:not-allowed}
/* a button standing in for a plain page <select>: keeps the select's classes; sensible defaults underneath */
:where(.evs-btn.evs-own){min-height:36px;padding:0 10px;background:#fff;border:1px solid var(--evui-line,#dcdce3);border-radius:6px;color:var(--evui-ink,#1c1b22);font-size:13.5px;width:100%}
.evs-btn.evs-own{background-image:none!important;-webkit-appearance:none;appearance:none}
/* the page's own arrow drawn next to a select (absolute icon after it) — the button has its own */
.evs-native ~ :is(span,i,svg).absolute,.evs-native ~ .pointer-events-none{display:none!important}
/* <input list> turned into a dropdown (area / thana): looks and opens like a select */
input.evs-combo{cursor:pointer;caret-color:transparent;padding-right:38px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6977' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:18px!important}
input.evs-combo[aria-expanded=true]{border-color:var(--evui-accent,#111)!important}
.evs-list [role=option].evs-free{color:var(--evui-accent,#111);font-style:italic}
.evs-pop{position:fixed;z-index:2147482990;display:flex;flex-direction:column;background:#fff;border:1px solid #d6d5de;border-radius:8px;box-shadow:0 16px 40px rgba(17,17,17,.16);overflow:hidden;opacity:0;transform:translateY(-4px);transition:opacity .15s,transform .2s cubic-bezier(.2,.7,.2,1);font-family:var(--evui-font,inherit);min-width:180px}
.evs-pop.in{opacity:1;transform:none}
.evs-search{position:relative;flex:none;padding:10px 10px 6px}
.evs-search svg{position:absolute;left:22px;top:50%;transform:translateY(-35%);color:var(--evui-muted,#6b6977);pointer-events:none}
.evs-search input{width:100%;height:40px;border:1px solid var(--evui-accent,#111)!important;border-radius:6px!important;padding:0 12px 0 38px!important;font:inherit;font-size:14px;color:var(--evui-ink,#1c1b22);background:#fff!important;outline:none;box-shadow:none!important}
.evs-head{flex:none}
.evs-list{flex:1 1 auto;min-height:0;list-style:none;margin:0;padding:4px 6px 8px;overflow-y:auto;overscroll-behavior:contain;outline:none}
.evs-list [role=option]{padding:9px 12px;border-radius:6px;font-size:14px;color:var(--evui-ink,#1c1b22);cursor:pointer;line-height:1.3}
.evs-list [role=option].act{background:#f4f3f6}
.evs-list [role=option][aria-selected=true]{color:var(--evui-accent,#111);font-weight:700}
.evs-list [role=option][aria-disabled=true]{opacity:.45;cursor:not-allowed}
.evs-empty{padding:14px 12px;color:var(--evui-muted,#6b6977);font-size:14px}
.evs-pop.combo .evs-list{padding-top:6px}
.evs-scrim{position:fixed;inset:0;z-index:2147482989;background:rgba(17,17,17,.45);opacity:0;transition:opacity .2s}
.evs-scrim.in{opacity:1}
.evs-pop.sheet{left:0!important;right:0;bottom:0;top:auto!important;width:auto!important;max-height:min(78dvh,620px)!important;border:0;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom);transform:translateY(100%);transition:transform .28s cubic-bezier(.2,.7,.2,1);opacity:1}
.evs-pop.sheet.in{transform:none}
.evs-pop.sheet::before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:#d6d5de;margin:8px auto 0}
.evs-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 2px 18px}
.evs-head b{font-size:16px;font-weight:700}
.evs-x{width:40px;height:40px;border:0;border-radius:6px;background:none;color:var(--evui-ink,#1c1b22);display:grid;place-items:center;cursor:pointer}
.evs-x:hover{background:#f4f3f6}
.evs-pop.sheet .evs-search{padding:8px 16px 8px}.evs-pop.sheet .evs-search svg{left:28px}
.evs-pop.sheet .evs-search input{height:44px;font-size:16px}
.evs-pop.sheet .evs-list{padding:4px 10px 12px}
.evs-pop.sheet [role=option]{padding:14px 12px;font-size:16px;border-bottom:1px solid #f0eff3;border-radius:0}
body.evs-lock{overflow:hidden}
@media(prefers-reduced-motion:reduce){.evs-pop,.evs-pop.sheet,.evs-scrim{transition:none}}
