.combobox {
  --combobox-bg: #fff;
  --combobox-text: #3c3c3b;
  --combobox-border: #bdbdbd;
  --combobox-border-soft: #dbdbdb;
  --combobox-accent: #dc8419;
  --combobox-radius: 10px;
  --combobox-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.combobox__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--combobox-border);
  border-radius: var(--combobox-radius);
  background: var(--combobox-bg);
  color: var(--combobox-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  position: relative;
}

.combobox__button:focus,
.combobox__button:focus-within {
  border: 2px solid #dc8419;
  text-decoration: none !important;
}


.combobox-count {
  background: var(--combobox-accent);
  color: #fff;
  border-radius: 999px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.combobox__icon {
  transition: transform 0.2s ease;
  transform: rotate(180deg);
  position: absolute;
  right: 14px;
}

.combobox[aria-expanded="true"] .combobox__icon {
  transform: none;
}

.combobox__panel {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 20;
  width: min(240px, 100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--combobox-border-soft);
  border-radius: var(--combobox-radius);
  box-shadow: var(--combobox-shadow);
  padding: 18px;
}

.combobox[aria-expanded="true"] .combobox__panel {
  display: block;
}

.combobox__panel .searchContainer {
  background: var(--combobox-bg);
  border: 1px solid var(--combobox-border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 24px;
}

.combobox__panel .search_input {
  width: 100%;
  background: transparent;
  color: var(--combobox-text);
  font-size: 18px;
}

.combobox .combobox__list {
  max-height: 208px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.combobox__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.combobox__list-item:focus-within .combobox__list-item-text{
  font-weight: 700;
}

.combobox__list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 2px;
  border: 1px solid #c3c3c3;
  border-radius: 6px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  opacity: 1;
  position: relative;
}

.combobox__list-item input[type="checkbox"]:checked {
  background: var(--combobox-accent);
  border-color: var(--combobox-accent);
}

.combobox__list-item-icon {
  width: 10px;
  height: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  top: 8px;
  left: 5px;
  z-index: 15;
}

.combobox__list-item-text {
  flex: 1;
  min-width: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combobox__list-item:has(> input[type="checkbox"]:checked)
  .combobox__list-item-icon {
  opacity: 1;
}
