.spfs {
  position: fixed;
  right: 40px;
  bottom: 0;
  z-index: 99999;
  font-family: inherit;
  /* Make positioning of menu relative to this container */
  width: max-content;
}

.spfs__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
border-bottom: 0;
  background: #fff;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
  line-height: 1;
/*  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);*/
  width: 100%;
}

.spfs__toggle:focus {
  outline: none;
  /*box-shadow: 0 0 0 3px rgba(30, 99, 255, 0.25), 0 6px 24px rgba(0, 0, 0, 0.12);*/
}

.spfs__flag img {
  display: block;
  width: 26px;
  height: auto;
}

.spfs__label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.spfs__chev {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  transform: rotate(-45deg);
  margin-left: 2px;
}

.spfs.is-open .spfs__chev {
  transform: rotate(-135deg);
}

/* Dropdown menu (opens ABOVE the toggle) */
.spfs__menu {
  display: none;

  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100%); /* place menu above the toggle */
  margin: 0;

  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  /*box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);*/
}

.spfs.is-open .spfs__menu {
  display: block;
}

.spfs__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.spfs__item:hover,
.spfs__item:focus {
  background: rgba(30, 99, 255, 0.08);
  outline: none;
}

/* Mobile */
@media (max-width: 480px) {
  .spfs {
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
  }

  .spfs__toggle {
    justify-content: space-between;
  }

  .spfs__menu {
    left: 0;
    right: 0;
  }
}