.aurea-select {
  position: relative;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.aurea-select > select[data-aurea-select] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.aurea-select__trigger {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid #d8d6ce;
  border-radius: 8px;
  background: #fff;
  color: #32312d;
  font: inherit;
  font-weight: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.aurea-select__trigger:hover {
  border-color: #aaa69c;
  background: #fffefb;
}

.aurea-select__trigger:focus-visible,
.aurea-select.is-open .aurea-select__trigger {
  border-color: #df9808;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(243, 181, 27, .2);
}

.aurea-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aurea-select__chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin: -4px 2px 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: .65;
  transform: rotate(45deg);
  transition: margin .16s ease, transform .16s ease;
}

.aurea-select.is-open .aurea-select__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.aurea-select.is-disabled .aurea-select__trigger {
  background: #f5f4f0;
  color: #aaa69c;
  cursor: not-allowed;
}

.aurea-select__menu {
  position: fixed;
  z-index: 10000;
  display: none;
  min-width: 120px;
  padding: 6px;
  border: 1px solid #d8d5cc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(36, 36, 32, .16), 0 3px 10px rgba(36, 36, 32, .08);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.aurea-select__menu.is-open {
  display: block;
}

.aurea-select__option {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3f3d38;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.aurea-select__option:hover,
.aurea-select__option:focus-visible {
  background: #f5f4f0;
  color: #242420;
  outline: 0;
}

.aurea-select__option[aria-selected="true"] {
  background: #fff1c7;
  color: #764900;
  font-weight: 800;
}

.aurea-select__option[aria-selected="true"]::after {
  width: 7px;
  height: 11px;
  flex: 0 0 auto;
  margin: -3px 3px 0 0;
  border-right: 2px solid #b96f05;
  border-bottom: 2px solid #b96f05;
  content: "";
  transform: rotate(45deg);
}

.aurea-select__option:disabled {
  color: #b8b4aa;
  cursor: not-allowed;
}

.aurea-select__group {
  padding: 8px 10px 4px;
  color: #8b877d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .aurea-select__trigger,
  .aurea-select__chevron { transition: none; }
}
