/* Currency controls share the storefront's neutral surfaces. */
.currency-picker { display:block; min-width:0; width:100%; }
.currency-trigger { display:flex; align-items:center; gap:12px; width:100%; min-height:52px; padding:13px 16px; border:0; border-radius:16px; background:var(--control); color:var(--text); font:inherit; text-align:left; cursor:pointer; box-shadow:none; transition:background .18s; }
.currency-trigger:hover,.currency-trigger[aria-expanded=true] { background:var(--control-hover); }
.currency-trigger:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.currency-trigger:disabled { opacity:.45; cursor:not-allowed; }
.currency-flag { display:block; flex:0 0 24px; width:24px; height:16px; border-radius:3px; overflow:hidden; }
.currency-picker .currency-code,.currency-menu .currency-code { color:var(--text); font-family:var(--f-sans); font-size:13px; font-weight:500; }
.currency-selected-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-muted); font-size:13px; }
.currency-chevron { margin-left:auto; flex:0 0 16px; width:16px; height:16px; fill:none; stroke:var(--text-muted); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s; }
.currency-trigger[aria-expanded=true] .currency-chevron { transform:rotate(180deg); }
.currency-menu { position:fixed; z-index:250; padding:6px; border:0; border-radius:19px; background:var(--surface-raised); box-shadow:0 18px 60px #0006; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--text-dim) transparent; animation:currency-menu-in .18s var(--ease); }
.currency-option { display:flex; align-items:center; gap:12px; min-height:46px; margin:2px 0; padding:10px 12px; border:0; border-radius:12px; color:var(--text); cursor:pointer; transition:background .14s; user-select:none; }
.currency-option .currency-code { flex:0 0 38px; }
.currency-option .currency-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-muted); font:13px var(--f-sans); }
.currency-option[aria-selected=true] { background:var(--control-selected); }
.currency-option.is-active { background:var(--control-hover); }
.currency-option[aria-selected=true] .currency-name { color:var(--text); }
.currency-check { flex:0 0 16px; margin-left:auto; width:16px; height:16px; fill:none; stroke:var(--text); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; opacity:0; }
.currency-option[aria-selected=true] .currency-check { opacity:1; }
.pillsel:has(.currency-picker)::after { display:none; }
.pillsel .currency-trigger { min-height:42px; border-radius:999px; padding:10px 14px; }
.pillsel .currency-selected-name { display:none; }
@keyframes currency-menu-in { from { opacity:0; transform:translateY(4px) scale(.985); } to { opacity:1; transform:none; } }
@media(max-width:560px) { .currency-trigger { gap:10px; padding:12px 14px; } .currency-option { gap:10px; } .currency-menu { border-radius:17px; } .currency-option .currency-name { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .currency-menu { animation:none; } .currency-trigger,.currency-chevron,.currency-option { transition:none; } }
