.store-category-manage-button {
  min-height: 48px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f1f8;
  background: rgba(17, 14, 21, .92);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.store-category-manage-button:hover {
  transform: translateY(-1px);
  background: #17121d;
  border-color: rgba(192, 108, 255, .42);
}

.store-category-manage-button > svg { color: #c06cff; }

.store-category-manage-button > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.store-category-manage-button strong {
  font-size: 13px;
  font-weight: 750;
}

.store-category-manage-button small {
  margin-top: 3px;
  color: #746e7d;
  font-size: 10px;
  font-weight: 650;
}

.store-category-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.store-category-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
}

.store-category-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 25px;
  color: #f7f5f9;
  background: #0e0d10;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .62);
}

.store-category-dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.store-category-dialog__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #bf70ff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.store-category-dialog h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.03em;
}

.store-category-dialog__header p {
  max-width: 410px;
  margin: 8px 0 0;
  color: #8b8592;
  font-size: 13px;
  line-height: 1.5;
}

.store-category-dialog__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #9993a1;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  transition: color .2s ease, background .2s ease;
}

.store-category-dialog__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.store-category-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 24px 0;
  padding: 14px;
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
}

.store-category-create label,
.store-category-create label > span { display: block; }

.store-category-create label > span {
  margin: 0 0 8px 2px;
  color: #817b89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.store-category-create input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  color: #fff;
  background: #101014;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.store-category-create input:focus {
  border-color: rgba(192, 108, 255, .55);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .1);
}

.store-category-create > button {
  height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: #7c3aed;
  border: 1px solid #914df1;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  transition: background .2s ease, opacity .2s ease;
}

.store-category-create > button:hover:not(:disabled) { background: #8b46ee; }
.store-category-create > button:disabled { cursor: not-allowed; opacity: .4; }

.store-category-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 9px;
  color: #aaa4b1;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.store-category-list-heading small {
  color: #5f5a66;
  font-size: 10px;
}

.store-category-list {
  display: grid;
  gap: 8px;
}

.store-category-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: rgba(255, 255, 255, .022);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 15px;
  transition: background .2s ease, border-color .2s ease;
}

.store-category-row:hover,
.store-category-row--active {
  background: rgba(168, 85, 247, .055);
  border-color: rgba(192, 108, 255, .22);
}

.store-category-row__select {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  text-align: left;
}

.store-category-row__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #cb85ff;
  background: rgba(168, 85, 247, .1);
  border: 1px solid rgba(192, 108, 255, .16);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
}

.store-category-row__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.store-category-row__copy strong {
  overflow: hidden;
  color: #f3eff6;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-category-row__copy small {
  margin-top: 3px;
  color: #696471;
  font-size: 11px;
}

.store-category-row__current {
  margin-left: auto;
  padding: 4px 7px;
  color: #cf91ff;
  background: rgba(168, 85, 247, .08);
  border: 1px solid rgba(192, 108, 255, .14);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.store-category-row__remove {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #817b89;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}

.store-category-row__remove:hover:not(:disabled) {
  color: #ff707a;
  background: rgba(239, 68, 68, .1);
}

.store-category-row__remove:disabled {
  cursor: not-allowed;
  opacity: .28;
}

.store-category-row__confirm {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
}

.store-category-row__confirm button {
  height: 34px;
  padding: 0 10px;
  color: #aaa4b1;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.store-category-row__confirm .is-danger {
  color: #ff7b83;
  background: rgba(239, 68, 68, .09);
  border-color: rgba(239, 68, 68, .2);
}

.store-category-dialog__note {
  margin: 14px 2px 0;
  color: #625d68;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .store-category-modal-shell {
    align-items: end;
    padding: 10px;
  }

  .store-category-dialog {
    max-height: calc(100vh - 20px);
    padding: 20px;
    border-radius: 22px;
  }

  .store-category-create { grid-template-columns: 1fr; }
  .store-category-create > button { justify-content: center; }
  .store-category-row__current { display: none; }
  .store-category-row__confirm { flex-direction: column; }
}
