.select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-size: .875rem; font-weight: 550; line-height: 1.35; text-align: left;
}
.select-value { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.regional-flag { flex: 0 0 auto; width: 20px; height: 15px; border: 1px solid #28251e20; object-fit: cover; box-sizing: content-box; }
.select-trigger::after {
  content: ""; width: 7px; height: 7px; margin: -4px 3px 0 0; flex: 0 0 auto;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.select-trigger:enabled:hover { border-color: var(--brand); background: var(--accent-wash); }
.select-trigger[aria-expanded=true] { border-color: var(--brand); background: var(--accent-wash); }
.select-trigger[aria-expanded=true]::after { margin-top: 4px; transform: rotate(225deg); }
.select-trigger[aria-invalid=true] { border-color: #a13b27; }
.sort:has(select[hidden]) > .icon { display: none; }
.sort .select-trigger { min-width: 145px; }
.select-panel {
  position: fixed; z-index: 12; inset: var(--select-edge) auto auto var(--select-left); margin: 0;
  display: flex; flex-direction: column; width: var(--select-width); max-height: var(--select-height);
  padding: 8px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; color: var(--text); box-shadow: 0 8px 24px #291a441a;
}
.select-panel[data-up] { inset: auto auto var(--select-edge) var(--select-left); }
.select-search {
  flex: 0 0 auto; width: 100%; min-height: 38px; margin-bottom: 5px; padding: 6px 9px;
  border: 1px solid var(--line); background: var(--surface); font-size: .875rem;
}
.select-search:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.select-options { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.select-group-label {
  display: block; margin: 6px 0 3px; padding: 5px 8px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .75rem; font-weight: 740; line-height: 1.3;
}
.select-options > [role=group]:first-child .select-group-label { margin-top: 0; border: 0; }
.select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 37px; padding: 8px;
  font-size: .875rem; line-height: 1.32; cursor: pointer; overflow-wrap: anywhere;
}
.select-option[aria-selected=true] { background: var(--accent-soft); color: var(--text); font-weight: 680; }
.select-option[aria-selected=true]::after {
  content: ""; width: 6px; height: 10px; margin: 0 5px 3px 2px; flex: 0 0 auto;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.select-option[aria-disabled=true] { opacity: .5; cursor: default; }
.select-option:not([aria-disabled=true]):hover, .select-option:focus-visible { background: var(--accent-soft); }
.select-option:focus-visible { outline-offset: -2px; }
.select-empty { padding: 9px 8px; color: var(--muted); font-size: .875rem; }
.cart-destination .select-trigger { font-weight: 570; }

@media (max-width: 540px) {
  .sort .select-trigger { min-width: 112px; min-height: 40px; gap: 8px; padding-inline: 8px; font-size: .8125rem; }
}
