.tk-select { position: relative; min-width: 0; width: 100%; }
.tk-select select.tk-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}
.tk-select-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #242958;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}
.tk-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-select-chevron {
  width: 8px;
  height: 8px;
  flex: none;
  margin: -4px 3px 0 0;
  border-right: 1.5px solid #454d80;
  border-bottom: 1.5px solid #454d80;
  transform: rotate(45deg);
  transition: transform .18s, margin .18s;
}
.tk-select.is-open .tk-select-chevron { margin-top: 3px; transform: rotate(225deg); }
.tk-select-trigger:focus-visible { outline: 2px solid #646986; outline-offset: 2px; }
.tk-select-trigger:disabled { opacity: .5; cursor: default; }
.tk-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  z-index: 100;
  overflow: hidden;
  border: 1px solid #d9ddeb;
  border-radius: 11px;
  background: #fffefa;
  box-shadow: 0 16px 40px rgba(30, 49, 34, .2), 0 3px 9px rgba(30, 49, 34, .08);
}
.tk-select-menu[hidden] { display: none; }
.tk-select-search {
  width: calc(100% - 16px);
  height: 36px;
  margin: 8px;
  padding: 0 10px;
  border: 1px solid #d9ddeb;
  border-radius: 7px;
  outline: 0;
  background: #f7f8fc;
  color: #242958;
  font-size: 11px;
}
.tk-select-search:focus { border-color: #646986; box-shadow: 0 0 0 2px #64698626; }
.tk-select-search::placeholder { color: #646986; }
.tk-select-list { max-height: min(290px, 42vh); overflow-y: auto; padding: 5px; scrollbar-color: #a9aec4 transparent; scrollbar-width: thin; }
.tk-select-option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #242958;
  text-align: left;
  font-size: 11px;
  line-height: 1.35;
}
.tk-select-option:hover, .tk-select-option:focus-visible { outline: 0; background: #eceef6; }
.tk-select-option[aria-selected="true"] { background: #eceef6; color: #242958; font-weight: 800; }
.tk-select-check { visibility: hidden; flex: none; color: #454d80; font-size: 14px; }
.tk-select-option[aria-selected="true"] .tk-select-check { visibility: visible; }
.tk-select-empty { margin: 0; padding: 17px 11px; color: #646986; font-size: 11px; }

.cat-select .tk-select { position: static; }
.cat-select > span { position: relative; z-index: 1; pointer-events: none; }
.cat-select.tk-field-open { z-index: 30; border-color: #646986; box-shadow: 0 0 0 2px #6469862b; }
.cat-select .tk-select-trigger {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 15px 31px 3px 13px;
}
.cat-select .tk-select-chevron { position: absolute; right: 12px; bottom: 17px; }
.cat-select .tk-select-menu { top: calc(100% + 7px); left: 0; right: 0; width: 100%; }
.cat-sort .tk-select-menu { left: auto; right: 0; width: max(100%, 190px); }
.cat-sort .tk-select-trigger { padding-top: 13px; }
.cat-sort .tk-select-chevron { bottom: 13px; }

/* Field labels and option text have separate typography. */
.catalog-page .cat-select > span {
  position: absolute;
  top: 8px;
  left: 13px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: #646986;
}
.cat-select .tk-select-trigger,
.cat-select .tk-select-option {
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.catalog-page .cat-select .tk-select span {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
}
.catalog-page .cat-select .tk-select-check { font-size: 14px; color: #454d80; }
.catalog-page .cat-select .tk-select-option[aria-selected="true"] { font-weight: 700; }
.catalog-page .cat-sort { width: 190px; height: 50px; }
.catalog-page .cat-sort > span { top: 6px; }
.catalog-page .cat-sort .tk-select-menu { width: max(100%, 205px); }
.catalog-page .cat-sort .tk-select-trigger { padding-top: 15px; }
.catalog-page .cat-sort .tk-select-chevron { bottom: 17px; }

.pd-locator-tools .tk-select { z-index: 1; }
.pd-locator-tools .tk-select.is-open { z-index: 30; }
.pd-locator-tools .tk-select-trigger {
  height: 43px;
  padding: 0 13px;
  border: 1px solid #d9ddeb;
  border-radius: 8px;
  background: #fff;
  font-size: 11px;
}
.pd-locator-tools .tk-select.is-open .tk-select-trigger { border-color: #646986; box-shadow: 0 0 0 2px #64698627; }

@media (max-width: 760px) {
  .tk-select-option { min-height: 44px; font-size: 12px; }
  .catalog-page .cat-results-top { flex-wrap: wrap; gap: 12px; }
  .catalog-page .cat-results-top > div { flex-wrap: wrap; }
  .catalog-page .cat-sort { width: 175px; height: 50px; }
}
