.pay-language {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

.pay-language > a {
  position: relative;
  display: grid;
  min-width: 34px;
  min-height: 44px;
  place-items: center;
  padding-inline: 5px;
  border-radius: 6px;
  color: #b6becb;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .03em;
  line-height: 1;
  text-decoration: none;
}

.pay-language > a[aria-current] {
  color: #fbd072;
}

.pay-language > a[aria-current]::after {
  position: absolute;
  inset: auto calc(50% - 6px) 9px;
  height: 1px;
  background: currentColor;
  content: '';
}

.pay-language > a:is(:hover, :focus-visible) {
  color: #f8f5ef;
  text-decoration: none;
}
