.swon-select-field { display: grid; gap: .3rem; min-width: 0; font-weight: 650; }
.filters .swon-select-field { min-width: min(11rem, 100%); }
.shop-location .swon-select-field { width: min(20rem, 100%); }
select[data-swon-select][hidden], .swon-select-list[hidden] { display: none; }
.swon-select { position: relative; min-width: 0; --swon-select-room: 18rem; }
.swon-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.85rem;
  gap: .8rem;
  padding: .6rem .8rem;
  border: 1px solid #90aa9e;
  border-radius: .75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.swon-select-trigger::after {
  content: "";
  flex: none;
  width: .45rem;
  height: .45rem;
  margin: -.2rem .15rem 0 0;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}
.swon-select-trigger:hover:not(:disabled), .swon-select-trigger[aria-expanded="true"] { border-color: var(--green); background: #f6fbf7; }
.swon-select-trigger[aria-expanded="true"]::after { margin-top: .25rem; transform: rotate(225deg); }
.swon-select-trigger:disabled { cursor: default; color: var(--muted); background: #e9efe8; }
.swon-select-trigger:focus-visible { outline: 3px solid #087474; outline-offset: 2px; }
.swon-select-list {
  position: absolute;
  z-index: 12;
  inset: calc(100% + .35rem) 0 auto;
  max-height: min(var(--swon-select-room), 18rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: .3rem;
  border: 1px solid #a8c5b8;
  border-radius: .85rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 .6rem 1.5rem #122d2526;
  animation: swon-select-in .16s ease-out both;
}
.swon-select.opens-up .swon-select-list { inset: auto 0 calc(100% + .35rem); }
.swon-select-option { min-height: 2.65rem; padding: .55rem .65rem; border-radius: .55rem; font-weight: 600; cursor: pointer; }
.swon-select-option[aria-selected="true"] { background: #d2ede1; color: #134d40; }
.swon-select-option:hover:not([aria-disabled="true"]), .swon-select-option:focus { background: #e4f2e8; outline: 2px solid #227864; outline-offset: -2px; }
.swon-select-option[aria-disabled="true"] { color: var(--muted); opacity: .65; cursor: default; }
@keyframes swon-select-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .swon-select-list { animation: none; } }
