.category-page-v1 .category-sort--enhanced,
.category-page-v1:not([data-commerce-state="fixture"]) .category-sort--enhanced {
  display: block;
  min-width: 250px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
}

.category-page-v1 .category-sort--enhanced[data-open="true"] { z-index: 80; }
.category-page-v1 .category-sort--enhanced::after { content: none; }
.category-page-v1 .category-sort--enhanced select { display: none !important; }

.category-page-v1 .category-sort__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--cat-line, #eadfe4);
  border-radius: 14px;
  background: #fff;
  color: #33282e;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.category-page-v1 .category-sort__trigger:hover,
.category-page-v1 .category-sort--enhanced[data-open="true"] .category-sort__trigger {
  border-color: #d9b5c3;
  background: #fffafd;
}

.category-page-v1 .category-sort__trigger:focus-visible,
.category-page-v1 .category-sort__option:focus-within {
  outline: 2px solid #d45584;
  outline-offset: 2px;
}

.category-page-v1 .category-sort__value {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-page-v1 .category-sort__chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid #806d76;
  border-bottom: 2px solid #806d76;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.category-page-v1 .category-sort--enhanced[data-open="true"] .category-sort__chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.category-page-v1 .category-sort__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max(100%, 220px);
  max-width: calc(100vw - 24px);
  padding: 6px;
  border: 1px solid var(--cat-line, #eadfe4);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(53, 17, 31, .15);
}

.category-page-v1 .category-sort__menu[hidden] { display: none; }

.category-page-v1 .category-sort__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 9px;
  color: #4d3c44;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.category-page-v1 .category-sort__option:hover,
.category-page-v1 .category-sort__option:has(input:checked) {
  background: #fff0f6;
  color: #9f0d49;
}

.category-page-v1 .category-sort__option input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent, #d20b57);
}

@media (max-width: 760px) {
  .category-page-v1:not([data-commerce-state="fixture"]) .category-sort--enhanced { width: 154px; min-width: 154px; }
  .category-page-v1 .category-sort__trigger { padding: 0 10px; font-size: 10px; font-weight: 800; }
}

@media (max-width: 359px) {
  .category-page-v1:not([data-commerce-state="fixture"]) .category-sort--enhanced { flex: 0 0 154px; min-width: 154px; width: 154px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-page-v1 .category-sort__chevron { transition: none; }
}
