.brand-pagination {
  display: flex;
  box-sizing: border-box;
  width: 546px;
  max-width: 100%;
  min-height: 34px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 64px auto 0;
}

.brand-pagination button {
  display: grid;
  height: 34px;
  place-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}

.brand-pagination a,
.brand-pagination-pages > span.active,
.brand-pagination > span.brand-pagination-arrow {
  display: grid;
  box-sizing: border-box;
  height: 34px;
  place-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.brand-pagination button:hover:not(:disabled):not(.active),
.brand-pagination a:hover:not(.active) { border-color: #ff6b35; color: #ff6b35; }
.brand-pagination button:disabled { opacity: .35; cursor: default; }
.brand-pagination .is-disabled { opacity: .35; cursor: default; }
.brand-pagination-arrow { width: 34px; flex: 0 0 34px; padding: 0; }
.brand-pagination-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-pagination-pages { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.brand-pagination-pages button,
.brand-pagination-pages a,
.brand-pagination-pages > span.active,
.brand-pagination-ellipsis { width: 36px; flex: 0 0 36px; }
.brand-pagination-pages button { padding: 0; }
.brand-pagination-pages button[hidden],
.brand-pagination-ellipsis[hidden] { display: none; }
.brand-pagination-pages button.active { border-color: #ff6b35; background: #ff6b35; color: #fff; }
.brand-pagination-pages a.active,
.brand-pagination-pages > span.active { border-color: #ff6b35; background: #ff6b35; color: #fff; }
.brand-pagination-ellipsis { display: grid; height: 34px; place-items: center; color: #fff; font-size: 14px; line-height: 22px; }
.brand-pagination-jump { display: flex; width: 178px; height: 34px; margin: 0; flex: 0 0 178px; align-items: center; gap: 12px; color: #fff; font-size: 14px; line-height: 22px; white-space: nowrap; }
.brand-pagination-jump input { box-sizing: border-box; width: 36px; height: 34px; padding: 0 4px; border: 1px solid #aaa; border-radius: 10px; outline: 0; background: transparent; color: #aaa; font: inherit; text-align: center; appearance: textfield; }
.brand-pagination-jump input::-webkit-inner-spin-button,
.brand-pagination-jump input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.brand-pagination-jump input:focus-visible { border-color: #ff6b35; outline: 0; }
.brand-pagination-jump button { width: 64px; flex: 0 0 64px; padding: 0; border-color: #aaa; border-radius: 999px; background: transparent; color: #aaa; cursor: pointer; }
.brand-pagination-jump button:hover { border-color: #fff; color: #fff; }

@media (max-width: 860px) {
  .brand-pagination { width: 100%; min-height: 0; flex-wrap: nowrap; gap: 24px; margin-top: 40px; }
  .brand-pagination-pages { max-width: calc(100% - 116px); min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .brand-pagination-pages::-webkit-scrollbar { display: none; }
  .brand-pagination-jump { display: none; }
}
