/* faadumo61: the Sales toolbar keeps its original look (search box, category box, one row),
   a little narrower so every filter and "More ▾" fits next to them (one row from ~1500px). */
@media (min-width: 1024px) {
  /* faadumo63: the search box takes the free space (112–360px); the rest spreads out. */
  .alpha-sales-toolbar > :first-child { flex: 1 1 300px; max-width: 548px; flex-wrap: nowrap; }
  .alpha-sales-toolbar .alpha-tb-search { flex: 1 1 auto; width: auto; min-width: 112px; max-width: 360px; }
  /* Filter buttons a little tighter (room for the Trash count). */
  .alpha-sales-toolbar .alpha-tb-tabs > button { padding-left: 6px; padding-right: 6px; }
  .alpha-sales-toolbar .alpha-tb-cat { min-width: 0; }
  .alpha-sales-toolbar .alpha-tb-cat select { width: 140px; padding-left: 28px; padding-right: 22px; }
  /* "+ Category": just the "+" (the title still says what it does). */
  .alpha-sales-toolbar .alpha-tb-cat + button > span { display: none; }
  .alpha-sales-toolbar .alpha-tb-cat + button { padding-left: 9px; padding-right: 9px; }
  /* One row when everything fits; otherwise the filters move to their own row — never hidden. */
  .alpha-sales-toolbar { flex-wrap: wrap; row-gap: 10px; }
  .alpha-sales-toolbar .alpha-tb-right { flex: 1 1 auto; }
  .alpha-sales-toolbar .alpha-tb-tabs { flex-shrink: 0; overflow: visible; }
}

/* ---- faadumo60: "More ▾" (Archive · Adobe devices 1 D / 2 D) ---- */
.alpha-more-btn { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.alpha-more-caret { font-size: 9px; line-height: 1; opacity: 0.7; transition: transform 0.15s; }
.alpha-more-btn[aria-expanded="true"] .alpha-more-caret { transform: rotate(180deg); }
.alpha-more-menu {
  position: fixed;
  z-index: 65;
  width: 224px;
  padding: 6px;
  border: 1px solid rgb(226 232 240);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.18), 0 2px 6px rgb(15 23 42 / 0.06);
  animation: alpha-more-in 0.14s ease-out both;
}
.dark .alpha-more-menu { background: rgb(15 23 42); border-color: rgb(51 65 85); box-shadow: 0 16px 40px rgb(0 0 0 / 0.5); }
@keyframes alpha-more-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.alpha-more-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  column-gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgb(30 41 59);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.alpha-more-item:hover, .alpha-more-item:focus-visible { background: rgb(254 242 242); outline: none; }
.alpha-more-item.is-on { color: rgb(185 28 28); }
.alpha-more-item small { grid-column: 2 / -1; font-size: 10.5px; font-weight: 500; color: rgb(100 116 139); }
.dark .alpha-more-item { color: rgb(226 232 240); }
.dark .alpha-more-item:hover, .dark .alpha-more-item:focus-visible { background: rgb(69 10 10 / 0.5); }
.dark .alpha-more-item.is-on { color: rgb(252 165 165); }
.alpha-more-check { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 5px; border: 1.5px solid rgb(203 213 225); font-size: 11px; font-weight: 900; color: #fff; }
.alpha-more-item.is-on .alpha-more-check { background: rgb(220 38 38); border-color: rgb(220 38 38); }
.dark .alpha-more-check { border-color: rgb(71 85 105); }
.alpha-more-count { min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgb(254 242 242); color: rgb(185 28 28); font-size: 10.5px; font-weight: 900; line-height: 18px; text-align: center; }
.dark .alpha-more-count { background: rgb(69 10 10 / 0.6); color: rgb(252 165 165); }
.alpha-more-head { margin: 6px 8px 2px; padding-top: 6px; border-top: 1px solid rgb(241 245 249); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(148 163 184); }
.dark .alpha-more-head { border-top-color: rgb(30 41 59); }
.alpha-more-clear { width: 100%; margin-top: 4px; padding: 7px 8px; border: 0; border-top: 1px solid rgb(241 245 249); border-radius: 0 0 9px 9px; background: none; color: rgb(100 116 139); font: inherit; font-size: 11.5px; font-weight: 700; text-align: left; cursor: pointer; }
.alpha-more-clear:hover { color: rgb(185 28 28); }
.dark .alpha-more-clear { border-top-color: rgb(30 41 59); }
