.custom-select {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--seryy);
  cursor: pointer;
  outline: none;
  border-radius: 0;
  border: 1px solid var(--seryy);
  background: none;
}
.custom-select.dropdown-active .ts-control:after {
  transform: rotate(180deg);
}
.custom-select.dropdown-active .ts-dropdown {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}
.custom-select.focus::after {
  opacity: 1;
}
.custom-select.input-hidden .ts-control input {
  opacity: 0;
  visibility: hidden;
}
.custom-select.full:after {
  opacity: 1;
}
.custom-select .ts-control {
  position: relative;
  display: flex;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  font-size: inherit;
  line-height: 1;
  z-index: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  background: none;
}
.custom-select .ts-control .item {
  white-space: normal;
}
.custom-select .ts-control:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 13px;
  height: 8px;
  margin-top: -4px;
  z-index: -1;
  transition: transform var(--anim150);
  background: url(../images/icons/check-2.svg) center no-repeat;
  background-size: contain;
}
.custom-select .ts-control > input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: inherit;
  cursor: pointer;
  font-size: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: none !important;
  border: none;
  background: none;
}
.custom-select .ts-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 1px;
  padding: 8px 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transform-origin: 50% 0;
  transform: scale(0.75) translateY(19px);
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  overflow: hidden;
  border-radius: 0;
  border-top: 1px solid rgba(173, 173, 173, 0.8);
  background: var(--bg);
}
.custom-select .ts-dropdown-content {
  max-height: 282px;
  overflow: hidden auto;
}
.custom-select .ts-dropdown-content::-webkit-scrollbar {
  width: 2px;
}
.custom-select .ts-dropdown-content::-webkit-scrollbar-track {
  background: #fff;
}
.custom-select .ts-dropdown-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  border: none;
}
.custom-select .ts-dropdown .option {
  padding: 8px 20px;
  font-size: inherit;
  cursor: pointer;
  transition: background var(--anim300);
}
.custom-select .ts-dropdown .option:hover,
.custom-select .ts-dropdown .option.selected {
  color: var(--white);
  background: var(--accent);
}

.custom-select.ts-hidden-accessible {
  position: absolute !important;
  width: 0;
  height: 0;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: -2 !important;
}
