/* Narty Warszawa / Hummingbird: compact language and currency switcher */
.nw-header-actions__desktop { overflow: visible; }
.nw-locale { position:relative; display:flex; align-items:center; flex:none; z-index:35; margin-right:.45rem; }
.nw-locale__toggle { display:flex; align-items:center; justify-content:center; gap:.5rem; min-height:38px; padding:.45rem .7rem; border:1px solid #dbe3ed; background:#fff; color:#12243a; border-radius:9px; font-size:12px; font-weight:650; line-height:1.2; white-space:nowrap; transition:background .15s,border-color .15s; }
.nw-locale__toggle:hover,.nw-locale.is-open .nw-locale__toggle { border-color:#91b9f9; background:#f5f9ff; }
.nw-locale__toggle:focus-visible { outline:2px solid #076aff; outline-offset:2px; }
.nw-locale__flag { font-size:19px; line-height:1; }
.nw-locale__chevron { color:#607088; font-size:17px; margin-left:.1rem; }
.nw-locale__panel { position:absolute; top:calc(100% + 10px); right:0; width:228px; max-height:min(70vh,410px); overflow-y:auto; padding:10px; background:#fff; border:1px solid #e1e8f0; border-radius:12px; box-shadow:0 12px 36px rgba(20,44,77,.13); z-index:1050; }
.nw-locale__panel[hidden] { display:none!important; }
.nw-locale__heading { margin:7px 7px 5px; color:#65768c; font-size:11px; font-weight:700; letter-spacing:.055em; text-transform:uppercase; }
.nw-locale__heading:not(:first-child) { padding-top:12px; margin-top:12px; border-top:1px solid #edf1f6; }
.nw-locale__option { display:flex; width:100%; align-items:center; gap:10px; text-align:left; padding:9px 10px; color:#16243a; background:transparent; border:0; border-radius:7px; font-size:13px; font-weight:500; }
.nw-locale__option:hover,.nw-locale__option:focus-visible { background:#f3f7ff; color:#0b62de; }
.nw-locale__option.is-active { background:#ecf4ff; color:#0759c6; font-weight:650; }
.nw-locale__option-flag { min-width:22px; font-size:18px; text-align:center; }
.nw-locale__check { margin-left:auto; color:#0969ee; font-size:16px; }
.nw-locale__native { display:none!important; }
@media (max-width:767.98px) { .nw-locale { display:none; } }

/* v2: visual alignment + crisp flags, no emoji-font dependency */
.nw-header-actions__desktop .nw-locale { z-index:1100; isolation:isolate; }
.nw-header-actions__desktop .nw-locale__toggle { border-radius:8px; min-height:36px; padding:6px 10px; gap:7px; box-shadow:none; background:#fff; }
.nw-header-actions__desktop .nw-locale__panel { left:0; right:auto; top:calc(100% + 8px); width:254px; padding:12px; border-radius:11px; box-shadow:0 16px 40px rgba(15,35,60,.14); text-align:left; }
.nw-locale__flag, .nw-locale__option-flag:not(.nw-locale__currency-icon) { display:inline-block; width:20px; min-width:20px; height:13px; border-radius:2px; flex:0 0 20px; border:1px solid rgba(30,45,65,.1); font-size:0; overflow:hidden; vertical-align:middle; }
.nw-locale__flag--pl { background:linear-gradient(to bottom,#fff 50%,#dc143c 50%); }
.nw-locale__flag--de { background:linear-gradient(to bottom,#171717 33.333%,#d7272c 33.333% 66.666%,#ffce00 66.666%); }
.nw-locale__flag--en { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath fill='%23012169' d='M0 0h60v36H0z'/%3E%3Cpath stroke='%23fff' stroke-width='9' d='m0 0 60 36m0-36L0 36'/%3E%3Cpath stroke='%23c8102e' stroke-width='3' d='m0 0 60 36m0-36L0 36'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0v36M0 18h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='6' d='M30 0v36M0 18h60'/%3E%3C/svg%3E"); background-size:cover; background-position:center; }
.nw-locale__flag--other { background:#f0f4f8; }
.nw-locale__option-flag.nw-locale__currency-icon { display:inline-flex; width:20px; min-width:20px; font-size:0; }
.nw-locale__option { padding:9px 10px; gap:9px; min-height:38px; }
.nw-locale__heading { margin:4px 8px 6px; font-size:10px; }
.nw-locale__value { font-weight:650; }
@media (min-width:768px) and (max-width:1100px) { .nw-header-actions__desktop .nw-locale__panel { width:230px; } }

/* v3: precyzyjne wyrownanie strzalki w przycisku jezyka / waluty. */
.nw-header-actions__desktop .nw-locale__toggle::after {
  display: none !important;
  content: none !important;
}
.nw-header-actions__desktop .nw-locale__chevron {
  display: inline-block;
  box-sizing: border-box;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 2px;
  padding: 0;
  border: 0;
  border-right: 1.5px solid #607088;
  border-bottom: 1.5px solid #607088;
  border-radius: 0;
  transform: rotate(45deg);
  font-size: 0 !important;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}
.nw-header-actions__desktop .nw-locale.is-open .nw-locale__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}
