.glove-site-header .glove-country-nav,
.glove-site-header .glove-country-picker {
  position: relative;
}

.glove-site-header .glove-country-picker summary {
  align-items: center;
  background: transparent;
  border: 1px solid var(--e-global-color-line-strong, #bfc5ca);
  border-radius: 999px;
  color: var(--e-global-color-ink, #161b20);
  cursor: pointer;
  display: inline-flex;
  font: 500 11px/14.5px "Manrope", sans-serif;
  gap: 6px;
  letter-spacing: .12em;
  list-style: none;
  min-height: 29px;
  padding: 6px 12px;
  transition: border-color .18s, color .18s;
  white-space: nowrap;
}

.glove-site-header .glove-country-picker summary::-webkit-details-marker {
  display: none;
}

.glove-site-header .glove-country-picker summary:hover,
.glove-site-header .glove-country-picker summary:focus-visible {
  border-color: var(--e-global-color-primary, #1d565f);
  color: var(--e-global-color-primary, #1d565f);
}

.glove-site-header .glove-country-picker summary .fa-globe {
  font-size: 11px;
  opacity: .7;
}

.glove-site-header .glove-country-picker summary .fa-chevron-down {
  font-size: 9px;
  opacity: .5;
  transition: transform .15s;
}

.glove-site-header .glove-country-picker[open] summary .fa-chevron-down {
  transform: rotate(180deg);
}

.glove-site-header .glove-country-picker img {
  display: block;
  flex: 0 0 auto;
  height: 12px;
  object-fit: cover;
  width: 18px;
}

.glove-site-header .glove-country-list {
  background: #fff;
  border: 1px solid var(--e-global-color-line-strong, #bfc5ca);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgb(22 27 32 / 12%);
  list-style: none;
  margin: 8px 0 0;
  min-width: 190px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
}

.glove-site-header .glove-country-picker:not([open]) .glove-country-list {
  display: none;
}

.glove-site-header .glove-country-list li {
  margin: 0;
  padding: 0;
}

.glove-site-header .glove-country-list a,
.glove-site-header .glove-country-list .glove-country-unavailable {
  align-items: center;
  border-radius: 7px;
  color: var(--e-global-color-ink, #161b20);
  display: flex;
  font: 500 13px/1.4 "Manrope", sans-serif;
  gap: 10px;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.glove-site-header .glove-country-list .fa-globe {
  flex: 0 0 18px;
  text-align: center;
}

.glove-site-header .glove-country-list a:hover,
.glove-site-header .glove-country-list a:focus-visible,
.glove-site-header .glove-country-list a[aria-current="page"] {
  background: #e9f4f6;
  color: #1d565f;
}

.glove-site-header .glove-country-list .glove-country-unavailable {
  opacity: .45;
}

.glove-site-header .glove-country-language {
  color: #65717a;
}

@media (max-width: 390px) {
  .glove-site-header .glove-country-list {
    right: -8px;
  }
}

/* Longer translated navigation needs the compact header until a wide desktop. */
@media (min-width: 1280px) and (max-width: 1499px) {
  html:not([lang^="en"]) .glove-site-header .glove-primary-nav {
    display: none !important;
  }

  html:not([lang^="en"]) .glove-site-header .glove-mobile-toggle,
  html:not([lang^="en"]) .glove-site-header .mobile-menu-toggle {
    display: inline-flex !important;
  }

  html:not([lang^="en"]) .glove-site-header .glove-header-actions {
    margin-left: auto !important;
  }
}
