.themed-select {
  position: relative;
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
}
.toolbar > .themed-select,
.category-pagination .themed-select {
  width: auto;
}
.themed-select > .themed-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.themed-select > .themed-select-trigger {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #ffffff;
  color: #0d5b99;
  text-align: left;
  font: inherit;
}
.themed-select-trigger > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.themed-select-trigger::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: rotate(45deg);
  flex: none;
  margin: 0 1px 3px 0;
}
.themed-select-trigger:hover,
.themed-select-trigger:focus-visible,
.themed-select-trigger[aria-expanded='true'] {
  border-color: #e5e7eb;
  outline: 0;
  box-shadow: 0 0 0 2px #0d5b9922;
}
.themed-select-trigger[aria-invalid='true'] {
  border-color: #e7867e;
}
.themed-select-options {
  position: fixed;
  inset: auto;
  margin: 0;

  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #0d5b99;
  box-shadow: 0 12px 35px #17233c12;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #0d5b99 #201d1c;
}
.themed-select-options button {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid transparent;

  background: transparent;

  font-size: 12px;
  text-align: left;
  overflow-wrap: anywhere;
}
.themed-select-options button[aria-selected='true'] {
  background: #0d5b99;
  color: #0d5b99;
}
.themed-select-options button:hover:not(:disabled),
.themed-select-options button:focus-visible {
  background: #0d5b99;
  border-color: #e5e7eb;
  color: #0d5b99;
  outline: 0;
}
select {
  color-scheme: dark;
}
select option {
  background: #ffffff;
  color: #0d5b99;
}

select {
  color-scheme: light;
}
.themed-select-options {
  color-scheme: light;
  scrollbar-color: #9dbcc4 #f1f6f8;
  scrollbar-width: thin;
  background: #fff !important;
  padding: 5px;
  scrollbar-gutter: stable;
}
.themed-select-options::-webkit-scrollbar {
  width: 8px;
}
.themed-select-options::-webkit-scrollbar-track {
  background: #f1f6f8;
  border-radius: 10px;
}
.themed-select-options::-webkit-scrollbar-thumb {
  background: #9dbcc4;
  border: 2px solid #f1f6f8;
  border-radius: 10px;
}
.themed-select-options button {
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #102b36 !important;
}
.themed-select-options button[aria-selected='true'],
.themed-select-options button:hover:not(:disabled),
.themed-select-options button:focus-visible {
  background: #eaf4f5 !important;
  color: #087f87 !important;
}
