/* Shared branded dropdown (OkNiceSelect) — storefront + admin */
.ok-nice-select {
  position: relative;
  display: block;
  width: 100%;
  z-index: 2;
  font: inherit;
}
.ok-nice-select select.ok-nice-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.ok-nice-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 12px 16px;
  min-height: 46px;
  box-sizing: border-box;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
}
.ok-nice-select__btn:hover {
  border-color: #94a3b8;
}
.ok-nice-select.is-open .ok-nice-select__btn,
.ok-nice-select__btn:focus {
  outline: none;
  border-color: #FF5A26;
  box-shadow: 0 0 0 3px rgba(255, 90, 38, 0.16);
}
.ok-nice-select__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ok-nice-select__chev {
  flex: 0 0 auto;
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23FF6B00' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.15s ease;
}
.ok-nice-select.is-open .ok-nice-select__chev {
  transform: rotate(180deg);
}
.ok-nice-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  max-height: min(360px, 55vh);
  overflow: hidden;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}
.ok-nice-select.is-open .ok-nice-select__panel {
  display: flex;
}
.ok-nice-select.is-open {
  z-index: 40;
}
.ok-nice-select__search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 10px;
  min-height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.ok-nice-select__search[hidden] {
  display: none !important;
}
.ok-nice-select__search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  min-width: 0;
}
.ok-nice-select__list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: min(280px, 45vh);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}
.ok-nice-select__opt {
  display: flex;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 12px 14px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-weight: 650;
  box-sizing: border-box;
}
.ok-nice-select__opt:hover {
  background: #fff7ed;
  color: #c2410c;
}
.ok-nice-select__opt.is-selected {
  background: #FF5A26;
  color: #fff;
}
.ok-nice-select__opt.is-placeholder {
  color: #64748b;
  font-weight: 600;
}
.ok-nice-select__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
