.stable-purchase-picker-wrap {
  position: relative;
  width: 220px;
}

.stable-purchase-picker-wrap::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #6d5141;
  border-bottom: 2px solid #6d5141;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.stable-purchase-picker-wrap.is-open::after {
  transform: translateY(-30%) rotate(225deg);
}

.stable-purchase-picker-wrap .stable-purchase-picker-input {
  padding-right: 45px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.stable-purchase-picker-wrap .stable-purchase-picker-input:disabled {
  cursor: not-allowed;
}

.stable-purchase-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  width: 300px;
  max-height: 280px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(92, 67, 52, 0.16);
  border-radius: 20px;
  background: #fff7ea;
  box-shadow: 0 18px 40px rgba(69, 45, 31, 0.22);
  transform: translateX(-50%);
}

.stable-purchase-picker-menu[hidden] {
  display: none;
}

.stable-purchase-picker-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #35251d;
  font-family: "Quicksand", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.stable-purchase-picker-option:hover,
.stable-purchase-picker-option:focus-visible {
  background: #f3dfbe;
  outline: none;
  transform: translateX(2px);
}

.stable-purchase-picker-option + .stable-purchase-picker-option {
  margin-top: 3px;
}

.stable-purchase-picker-name {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stable-purchase-picker-meta {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(122, 91, 66, 0.1);
  color: #755943;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stable-purchase-picker-empty {
  margin: 0;
  padding: 16px 14px;
  color: #775f50;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 700px) {
  .stable-purchase-picker-menu {
    width: min(300px, calc(100vw - 40px));
  }
}
