/* One native storefront/Builder market selector; neutral controls preserve brand themes. */
.nx-market-switcher{--nx-market-border:#d6e0e9;--nx-market-ink:#173149;--nx-market-muted:#52667a;--nx-market-accent:#076d81;position:relative;min-width:0;max-width:100%;background:#fff;color:var(--nx-market-ink);border-bottom:1px solid var(--nx-market-border);padding:8px clamp(10px,3vw,24px)}
.nx-market-switcher .nx-market-row{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;width:100%;max-width:1280px;margin-inline:auto}
.nx-market-switcher .nx-market-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.nx-market-switcher .nx-market-control-label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;line-height:1.4}
.nx-market-switcher .nx-market-control-label svg,.nx-market-switcher .nx-market-auto>svg:first-child{width:18px;height:18px;flex:none}
.nx-market-switcher .nx-market-dropdown{position:relative;min-width:0;max-width:100%}
.nx-market-switcher .nx-market-trigger{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;border:1px solid var(--nx-market-border);border-radius:9px;background:#fff;color:var(--nx-market-ink);font:inherit;font-size:14px;line-height:1.35;cursor:pointer;list-style:none;max-width:100%}
.nx-market-switcher .nx-market-trigger::-webkit-details-marker{display:none}
.nx-market-switcher .nx-market-trigger::marker{content:""}
.nx-market-switcher .nx-market-trigger-label{font-weight:600;min-width:0;overflow-wrap:anywhere}
.nx-market-switcher .nx-market-flag{display:block;flex:none;width:26px;height:20px;overflow:hidden;border:1px solid #d6e0e9;border-radius:3px;background:#f5f7fa}
.nx-market-switcher .nx-market-flag svg{display:block;width:100%;height:100%}
.nx-market-switcher .nx-market-code{font-size:12px;font-weight:600;color:var(--nx-market-muted);white-space:nowrap}
.nx-market-switcher .nx-market-chevron{flex:none;margin-inline-start:auto;transition:transform .15s ease}
.nx-market-switcher details[open]>.nx-market-trigger .nx-market-chevron{transform:rotate(180deg)}
.nx-market-switcher .nx-market-menu{position:absolute;inset-inline-start:0;top:calc(100% + 6px);z-index:95;min-width:246px;width:max-content;max-width:min(100vw - 24px,340px);max-height:min(420px,65vh);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--nx-market-border);border-radius:12px;padding:5px;box-shadow:0 12px 30px rgba(17,38,59,.14)}
.nx-market-switcher .nx-market-option{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;text-align:start;font:inherit;font-size:14px;line-height:1.4;padding:8px 10px;border:0;border-radius:7px;color:var(--nx-market-ink);background:transparent;cursor:pointer}
.nx-market-switcher .nx-market-option>span:not(.nx-market-flag):not(.nx-market-code){min-width:0;flex:1;overflow-wrap:anywhere}
.nx-market-switcher .nx-market-option[aria-current=true]{color:var(--nx-market-accent);background:#eaf5f7;font-weight:600}
.nx-market-switcher .nx-market-option:hover,.nx-market-switcher .nx-market-trigger:hover{background:#f3f7fa}
.nx-market-switcher .nx-market-auto{border-top:1px solid var(--nx-market-border);margin-top:4px}
.nx-market-switcher :is(button,summary,a):focus-visible{outline:2px solid var(--nx-market-accent);outline-offset:2px}
.nx-market-switcher .nx-market-notice{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;color:var(--nx-market-muted);font-size:12px;line-height:1.5}
.nx-market-switcher .nx-market-notice strong{color:var(--nx-market-ink)}
.nx-market-switcher .nx-market-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:1280px;margin:4px auto 0;font-size:12px;line-height:1.5}
.nx-market-switcher .nx-market-feedback [data-market-retry],.nx-market-switcher .nx-market-feedback [data-market-refresh]{min-height:44px;display:inline-flex;align-items:center;padding:4px 8px;color:var(--nx-market-accent);font-weight:600;text-decoration:underline}
.nx-market-switcher .nx-market-warning,.nx-market-switcher .nx-market-feedback[data-market-error=true]{color:#855600}
.nx-market-switcher[hidden],.nx-market-switcher [hidden],.nx-market-estimate[hidden]{display:none!important}
.nx-market-switcher[aria-busy=true] .nx-market-trigger{border-color:#79aab5}
.nx-market-switcher .nx-market-preview-note{font-size:12px;color:var(--nx-market-muted);margin:4px 0 0}
[data-nx-market-selector-preview] .nx-market-option{cursor:default}
[data-nx-market-selector-preview] .nx-market-option:hover{background:transparent}
@media(max-width:639px){.nx-market-switcher .nx-market-control{width:100%;justify-content:space-between}.nx-market-switcher .nx-market-dropdown{min-width:0;max-width:100%;flex:1 1 auto}.nx-market-switcher .nx-market-trigger{font-size:16px;justify-content:flex-start}.nx-market-switcher .nx-market-menu{min-width:min(246px,100%);width:max-content;max-width:calc(100vw - 24px);inset-inline-start:auto;inset-inline-end:0}.nx-market-switcher .nx-market-notice{font-size:12px}.nx-market-switcher .nx-market-option{font-size:16px}}
@media(max-width:380px){.nx-market-switcher .nx-market-control{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}.nx-market-switcher .nx-market-menu{inset-inline-start:0;inset-inline-end:auto;width:100%;max-width:100%}.nx-market-switcher .nx-market-trigger{width:100%}}
@media(prefers-reduced-motion:reduce){.nx-market-switcher .nx-market-chevron{transition:none}}
/* Status is outside the document flow, so updates cannot shift the catalogue. */
.nx-market-page-feedback{position:fixed;inset-inline-end:16px;bottom:24px;z-index:210;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:min(420px,calc(100vw - 32px));padding:12px 14px;border:1px solid #cfdde6;border-radius:10px;background:#fff;color:#173149;box-shadow:0 8px 30px rgba(17,38,59,.14);font-size:13px;line-height:1.45}
.nx-market-page-feedback[data-market-error=true]{color:#855600}
.nx-market-page-feedback button,.nx-market-page-feedback a{min-height:44px;display:inline-flex;align-items:center;padding:4px 8px;color:#076d81;font-weight:600;text-decoration:underline;background:transparent;border:0}
.nx-market-page-feedback[hidden],.nx-market-page-feedback [hidden]{display:none!important}
@media(max-width:639px){.nx-market-page-feedback{bottom:calc(78px + env(safe-area-inset-bottom,0px));inset-inline:12px;max-width:calc(100vw - 24px)}}

/* Native design-library placement honors existing validated style/responsive tokens. */
.nxdl-r-market-selector>.nx-market-switcher{background:var(--nx-market-library-bg,#fff)}
.nxdl-r-market-selector>.nx-market-switcher .nx-market-control{justify-content:var(--nx-market-library-align,flex-start)}
.nxdl-r-market-selector>.nx-market-switcher .nx-market-control-label{color:var(--nx-market-library-ink,#173149)}
.nxdl-r-market-selector>.nx-market-switcher :is(.nx-market-trigger,.nx-market-option){font-size:clamp(12px,var(--nx-market-library-size,14px),20px)}
@media(max-width:639px){.nxdl-r-market-selector>.nx-market-switcher :is(.nx-market-trigger,.nx-market-option){font-size:clamp(16px,var(--nx-market-library-size,16px),20px)}}
