/* Category horizontal sub-nav chips */
.cat-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  width: 100%;
}
.cat-subnav__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-subnav__viewport::-webkit-scrollbar { display: none; }
.cat-subnav__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 2px 2px;
}
.cat-subnav__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cat-subnav__chip:hover {
  border-color: #111;
}
.cat-subnav__chip.is-active {
  border-color: #111;
  border-width: 1.5px;
  font-weight: 600;
}
.cat-subnav__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.cat-subnav__arrow:disabled {
  color: #c4c4c4;
  cursor: default;
}
.cat-subnav__arrow:not(:disabled):hover {
  opacity: 0.65;
}

@media (max-width: 639px) {
  .cat-subnav {
    margin-left: -4px;
    margin-right: -4px;
  }
  .cat-subnav__chip {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }
}
