/* Searchable dropdowns — used on admin + store */
.ss-widget {
  position: relative;
  width: 100%;
}
.ss-widget.is-open {
  z-index: 40;
}
.ss-widget.is-sm .ss-control {
  min-height: 31px;
  padding: 0.2rem 1.85rem 0.2rem 0.65rem;
  font-size: 0.875rem;
}
.ss-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.ss-control {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0.35rem 2rem 0.35rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") right 0.7rem center / 12px 8px no-repeat;
  cursor: text;
}
.ss-widget.is-open .ss-control {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.2);
}
.ss-widget.is-disabled .ss-control {
  background-color: #e9ecef;
  cursor: not-allowed;
}
.ss-input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font: inherit;
  color: #212529;
  min-width: 0;
  padding: 0;
}
.ss-input::placeholder {
  color: #6c757d;
}
.ss-menu {
  display: none;
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  padding: 0.25rem;
}
.ss-widget.is-open .ss-menu {
  display: block;
}
.ss-option {
  padding: 0.45rem 0.65rem;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
}
.ss-option:hover,
.ss-option.is-active {
  background: #eef2ff;
  color: #3730a3;
}
.ss-option.is-selected {
  font-weight: 600;
}
.ss-empty {
  padding: 0.6rem 0.7rem;
  color: #64748b;
  font-size: 0.85rem;
}
.admin-body .ss-control {
  border-radius: 8px;
}
