.country-switcher {
  display: flex;
  overflow: hidden;
  height: 2.5rem;
  min-height: 2.5rem;
  transition: height 0.3s ease, min-height 0.3s ease;
  position: relative;
  padding-inline-end: 2.5rem;
  border-block-end: 1px solid #718f87;
  cursor: pointer;
}
.country-switcher .countries {
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}
.country-switcher .countries .country {
  display: flex;
  height: 2.5rem;
  text-transform: uppercase;
  align-items: center;
}
.country-switcher .countries .country:hover, .country-switcher .countries .country:active {
  color: #718f87;
}
.country-switcher .countries .country .country-flag {
  height: 1.25rem;
  display: flex;
  flex: 0 0 2.75rem;
  position: relative;
}
.country-switcher .countries .country .country-flag img {
  height: 100%;
  width: auto;
  display: block;
  z-index: 2;
}
.country-switcher .countries .country .country-flag.--combo img:nth-child(2) {
  margin-inline-start: -0.5rem;
  z-index: 1;
}
.country-switcher .countries .country .country-name {
  flex: 1 0 0;
  white-space: nowrap;
  line-height: 1;
}
.country-switcher::after {
  content: "";
  position: absolute;
  top: 1.125rem;
  right: 0.5rem;
  transform: rotate(135deg);
  display: block;
  border-block-start: 2px solid #718f87;
  border-inline-end: 2px solid #718f87;
  width: 0.65rem;
  height: 0.65rem;
  transition: transform 0.3s linear;
  transform-origin: 75% 25%;
}
.country-switcher.--open {
  height: calc(var(--item-count, 4) * 2.5rem);
  min-height: calc(var(--item-count, 4) * 2.5rem);
}
.country-switcher.--open::after {
  transform: rotate(315deg);
}
