.kd-combo,
.contact-combo {
  position: relative;
  z-index: 5;
  display: block;
  min-width: 0;
  overflow: visible;
}

.kd-combo.is-open,
.contact-combo.is-open {
  z-index: 40;
}

.kd-combo__trigger,
.contact-combo__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 8px 28px 8px 0;
  border: 0;
  border-bottom: 1px solid #e7e5e4;
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23C5A880' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0 center;
  color: #083335;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.kd-combo__value,
.contact-combo__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.kd-combo__value.is-placeholder,
.contact-combo__value.is-placeholder {
  color: #a3a3a3;
}

.kd-combo.is-open .kd-combo__trigger,
.contact-combo.is-open .contact-combo__trigger {
  border-bottom: 1.5px solid #c5a880;
}

.kd-combo__menu,
.contact-combo__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  box-sizing: border-box;
  display: none;
  width: max-content;
  min-width: 100%;
  max-width: min(340px, calc(100vw - 32px));
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .kd-combo__menu,
  .contact-combo__menu {
    width: 320px;
    max-width: min(340px, calc(100vw - 32px));
  }
}

.kd-combo.is-open .kd-combo__menu,
.contact-combo.is-open .contact-combo__menu {
  display: block;
}

.kd-combo__search,
.contact-combo__search {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  border-radius: 0;
  background: #fff;
  color: #525252;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  outline: none;
}

.kd-combo__list,
.contact-combo__list {
  max-height: 14rem;
  margin: 0;
  padding: 2px 0;
  padding-inline-start: 0;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 transparent;
}

.kd-combo__list::-webkit-scrollbar,
.contact-combo__list::-webkit-scrollbar {
  width: 5px;
}

.kd-combo__list::-webkit-scrollbar-track,
.contact-combo__list::-webkit-scrollbar-track {
  background: transparent;
}

.kd-combo__list::-webkit-scrollbar-thumb,
.contact-combo__list::-webkit-scrollbar-thumb {
  background: #d4d4d4;
}

.kd-combo__list [role="option"],
.contact-combo__list [role="option"] {
  margin: 0;
  padding: 6px 12px;
  overflow: hidden;
  color: #525252;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kd-combo__list [role="option"]:hover,
.kd-combo__list [role="option"].is-active,
.contact-combo__list [role="option"]:hover,
.contact-combo__list [role="option"].is-active {
  background: rgba(0, 51, 44, 0.05);
  color: #00332c;
}

.kd-combo__list [role="option"][hidden],
.kd-combo__group[hidden],
.contact-combo__list [role="option"][hidden],
.contact-combo__group[hidden] {
  display: none;
}

.kd-combo__group,
.contact-combo__group {
  margin: 0;
  padding: 8px 12px 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  pointer-events: none;
}

.kd-combo__empty,
.contact-combo__empty {
  padding: 10px 14px;
  color: #a3a3a3;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.kd-combo__trigger:focus,
.kd-combo__trigger:focus-visible,
.contact-combo__trigger:focus,
.contact-combo__trigger:focus-visible {
  border-bottom: 1.5px solid #c5a880;
  outline: none;
}

#content.products-page .products-filter,
#content.products-page .products-filter__row,
#content.products-page .products-select,
body.page-projects .price-bar,
body.page-projects .price-field {
  overflow: visible;
}

#content.products-page .products-select__box {
  overflow: visible;
}

#content.products-page .kd-combo__trigger,
#content.products-page .kd-combo__value,
#content.products-page .kd-combo__search,
#content.products-page .kd-combo__list [role="option"],
body.page-projects .price-bar .kd-combo__trigger,
body.page-projects .price-bar .kd-combo__value,
body.page-projects .price-bar .kd-combo__search,
body.page-projects .price-bar .kd-combo__list [role="option"] {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

#content.products-page .kd-combo__trigger,
body.page-projects .price-bar .kd-combo__trigger {
  height: auto;
  padding: 8px 28px 8px 0;
  border-bottom: 1px solid #e7e5e4;
  color: #083335;
  font-size: 15px;
  line-height: 1.5;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23C5A880' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0 center;
}

#content.products-page .kd-combo.is-open .kd-combo__trigger,
#content.products-page .kd-combo__trigger:focus,
#content.products-page .kd-combo__trigger:focus-visible,
body.page-projects .price-bar .kd-combo.is-open .kd-combo__trigger,
body.page-projects .price-bar .kd-combo__trigger:focus,
body.page-projects .price-bar .kd-combo__trigger:focus-visible {
  border-bottom: 1.5px solid #c5a880;
}

#content.products-page .kd-combo__value.is-placeholder,
body.page-projects .price-bar .kd-combo__value.is-placeholder {
  color: #a3a3a3;
}

#content.products-page .kd-combo__search,
body.page-projects .price-bar .kd-combo__search {
  box-sizing: border-box;
  height: auto;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  background: #fff;
  color: #525252;
  font-size: 12px;
  line-height: 1.5;
  cursor: text;
}

#content.products-page .kd-combo__list [role="option"],
body.page-projects .price-bar .kd-combo__list [role="option"] {
  padding: 6px 12px;
  color: #525252;
  font-size: 12px;
  line-height: 1.45;
}

#content.products-page .kd-combo__list [role="option"]:hover,
#content.products-page .kd-combo__list [role="option"].is-active,
body.page-projects .price-bar .kd-combo__list [role="option"]:hover,
body.page-projects .price-bar .kd-combo__list [role="option"].is-active {
  background: rgba(0, 51, 44, 0.05);
  color: #00332c;
}

#content.products-page .kd-combo__group,
body.page-projects .price-bar .kd-combo__group {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #a8a29e;
  text-transform: uppercase;
  padding: 8px 12px 2px;
}

@media (min-width: 1024px) {
  .kd-combo__list [role="option"],
  .contact-combo__list [role="option"],
  #content.products-page .kd-combo__list [role="option"],
  body.page-projects .price-bar .kd-combo__list [role="option"] {
    font-size: 13px;
    padding: 6px 12px;
  }
}
