.market-switcher { position: relative; font-size: .875rem; color: #374151; }
.market-switcher__summary { display: flex; align-items: center; gap: .375rem; padding: .5rem .625rem; border-radius: .5rem; cursor: pointer; list-style: none; white-space: nowrap; font-weight: 600; }
.market-switcher__summary::-webkit-details-marker { display: none; }
.market-switcher__summary:hover, .market-switcher[open] > summary { background: #f3f4f6; }
.market-switcher__summary:focus-visible, .market-switcher__option:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.market-switcher__currency { font-weight: 400; color: #6b7280; }
.market-switcher__panel { position: absolute; right: 0; z-index: 60; margin-top: .5rem; width: 20rem; max-width: calc(100vw - 2rem); overflow: hidden; border: 1px solid #e5e7eb; border-radius: .75rem; background: #fff; box-shadow: 0 10px 15px -3px #0002; }
.market-switcher__heading { margin: 0; padding: .75rem 1rem .5rem; font-weight: 600; }
.market-switcher__list { list-style: none; padding: 0; margin: 0; }
.market-switcher__option { display: grid; grid-template-columns: minmax(0, 1fr) auto 1rem; align-items: center; gap: .5rem; padding: .75rem 1rem; color: inherit; text-decoration: none; }
a.market-switcher__option:hover { background: #f3f4f6; }
.market-switcher__option--active { background: #f3f4f6; color: #4b5563; }
.product-shipping-line { display: inline; position: relative; }
.product-shipping-line:has(.market-switcher--inline) { display: block; }
.market-switcher--inline { display: inline-block; position: static; font-size: inherit; color: inherit; vertical-align: baseline; }
.market-switcher--inline > .market-switcher__summary { display: inline-flex; padding: 0; gap: .2rem; white-space: normal; text-decoration: underline; text-underline-offset: 2px; }
.market-switcher--inline > .market-switcher__panel { left: 0; right: auto; max-width: min(20rem, calc(100vw - 4rem)); }
.header-market-desktop { display: none; }
.header-mobile-preferences { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem; padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid #e5e7eb; }
.header-mobile-preferences .market-switcher__panel { position: static; margin-top: .25rem; box-shadow: none; }
@media (min-width: 1024px) {
    .header-market-desktop { display: block; }
    .shop-header-main { flex-wrap: wrap; }
    .shop-header-main > nav { gap: .75rem; }
    .shop-header-main .js-search-input { width: clamp(7rem, 11vw, 11rem); }
    .shop-header-main .shop-header-logo img { max-width: 140px; height: auto; }
}
.market-switcher__description { min-width: 0; }
.market-switcher__threshold { display: block; margin-top: .2rem; font-size: .75rem; line-height: 1.4; color: #6b7280; }
.market-switcher__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.market-switcher__check { text-align: right; }
