/* Compact header-only launcher; YayCurrency still owns all switching and forms. */
.bw-currency-selector{position:relative;flex:0 0 32px;width:32px;height:30px;min-width:0;color:#182230;font-size:14px;z-index:90}
.bw-currency-selector>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:32px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;box-sizing:border-box}
.bw-currency-selector>summary::-webkit-details-marker{display:none}.bw-currency-selector>summary:focus-visible{outline:2px solid var(--bw-accent,#5684f6);outline-offset:2px}.bw-currency-selector[open]>summary{background:#eef2f8}
.bw-currency-selector.is-mobile{display:none}
.bw-currency-panel{position:fixed;left:var(--bw-currency-left,16px);top:var(--bw-currency-top,80px);width:180px;max-width:calc(100vw - 24px);padding:6px;border:1px solid #e4e8ef;border-radius:12px;background:#fff;box-shadow:0 12px 35px #17203326;box-sizing:border-box;color:#182230;text-align:left;z-index:10000}
.bw-currency-selector:not([open])>.bw-currency-panel{display:none}
.bw-currency-panel .yay-currency-single-page-switcher,.bw-currency-panel .yay-currency-custom-select-wrapper,.bw-currency-panel .yay-currency-custom-select{width:100%!important;min-width:0!important;margin:0!important;border:0!important;box-shadow:none!important}
.bw-currency-panel .yay-currency-custom-select__trigger{display:none!important}
.bw-currency-panel .yay-currency-custom-options{height:auto!important;min-height:0!important;position:static!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;width:100%!important;min-width:0!important;max-height:min(260px,50dvh);overflow:auto;overscroll-behavior:contain;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;list-style:none}
.bw-currency-panel .yay-currency-custom-option-row{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:40px;margin:0!important;padding:9px 12px!important;border-radius:8px;font-size:13px;cursor:pointer;box-sizing:border-box}
.bw-currency-panel .yay-currency-custom-option-row:hover,.bw-currency-panel .yay-currency-custom-option-row:focus-visible,.bw-currency-panel .yay-currency-custom-option-row.selected{background:#f0f4fa;outline:none}.bw-currency-panel .yay-currency-custom-option{margin:0!important;padding:0!important;white-space:normal!important}.bw-currency-panel .yay-currency-selected-checked-icon{margin-left:auto}
@media(max-width:980px){
 .bw-currency-selector.is-desktop{display:none}.bw-currency-selector.is-mobile{display:block;grid-column:3;grid-row:1;width:30px;height:44px;align-self:center;justify-self:center;padding:0;border:0;background:none}
 .bw-currency-selector.is-mobile>summary{width:30px;height:44px;font-size:19px}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile){grid-template-columns:32px minmax(0,1fr) 30px 34px 34px!important;gap:2px!important}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-mobile-account-menu{grid-column:4!important;grid-row:1}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-mobile-cart-toggle{grid-column:5!important;grid-row:1}
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile){grid-template-columns:32px minmax(0,1fr) 30px repeat(4,32px)!important;gap:1px!important}
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-mobile-notification-menu{grid-column:5!important;grid-row:1}
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-market-mobile-wishlist{grid-column:6!important;grid-row:1}
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-mobile-cart-toggle{grid-column:7!important;grid-row:1}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-logo{min-width:0;max-width:100%;overflow:hidden}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile)>.bw-logo img{max-width:100%!important;height:auto;object-fit:contain}
}

@media(max-width:980px){body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile) :is(.bw-mobile-account-link,.bw-mobile-notification-link,.bw-market-mobile-wishlist,.bw-mobile-cart-toggle){width:32px!important;min-width:0!important}}
@media(max-width:360px){
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile){grid-template-columns:28px minmax(0,1fr) 28px repeat(4,28px)!important}
 body .bw-header-v2.bw-header-marketplace .bw-main-header-inner:has(>.bw-currency-selector.is-mobile) :is(.bw-mobile-account-link,.bw-mobile-notification-link,.bw-market-mobile-wishlist,.bw-mobile-cart-toggle,.bw-currency-selector.is-mobile,.bw-currency-selector.is-mobile>summary){width:28px!important}
 body .bw-header-v2 .bw-main-header-inner:has(>.bw-currency-selector.is-mobile) .bw-logo-main{font-size:16px!important;white-space:nowrap}
}
