/* Streetwear + Office Tees: tidy category row and filter card (2026-12-02) */

/* ---- Category row (Streetwear) ---- */
.vibe-wrap { margin: 0 0 18px; }
.vibe-wrap .strip-label { margin-bottom: 4px; }
.vibe-scroller { position: relative; }
.vibe-row {
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-behavior: smooth; scrollbar-width: none; padding: 10px 6px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.vibe-row::-webkit-scrollbar { display: none; }
.vibe.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 16px 5px 5px; min-height: 46px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper, #fff); color: var(--ink);
  font-weight: 650; font-size: .88rem; box-shadow: none; transform: none;
  transition: border-color .15s, background .15s, color .15s;
}
.vibe.chip:hover { border-color: var(--ink); box-shadow: none; transform: none; }
.vibe__img {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 34px;
  display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--ink);
  font-size: 1rem; color: var(--orange);
}
.vibe__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.8); transform-origin: 50% 33%; display: block; }
.vibe.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.vibe.chip.is-active .vibe__img { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); background: var(--ink); }
.vibe.chip:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.vibe-nav {
  position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px;
  display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--paper, #fff); color: var(--ink); font-size: 1rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: opacity .15s, background .15s, color .15s;
}
.vibe-nav:hover { background: var(--ink); color: #fff; }
.vibe-nav--prev { left: -12px; }
.vibe-nav--next { right: -12px; }
.vibe-nav[disabled] { opacity: 0; pointer-events: none; }

/* ---- Filter card (both pages) ---- */
.toolbar.filter-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 20px; padding: 14px 18px; margin: 4px 0 30px;
  background: var(--paper, #fff); border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 6px 20px rgba(17,17,17,.05);
}
.filter-card .toolbar__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; width: auto; }
.fseg { display: flex; align-items: center; gap: 10px; }
.fseg__label { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fseg__opts {
  display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: var(--surface, #f2eee5); border: 1px solid var(--line);
}
.fseg .chip {
  border: 0; background: transparent; color: var(--ink-2); box-shadow: none; transform: none;
  padding: 7px 14px; min-height: 0; border-radius: 999px; font-size: .84rem; font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s;
}
.fseg .chip:hover { background: rgba(17,17,17,.06); color: var(--ink); box-shadow: none; transform: none; }
.fseg .chip.is-active { background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(17,17,17,.18); }
.fseg .chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.fseg__dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-block; }
.fseg__dot--black { background: #111; border-color: #111; }
.fseg__dot--white { background: #fff; border-color: #999; }
.chip.is-active .fseg__dot--black { border-color: #fff; }
.filter-card .toolbar__right {
  display: flex; align-items: center; gap: 12px; flex: 1 1 100%;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.filter-card .search-box { flex: 0 1 340px; }
.filter-card .count { margin-left: auto; }
.search-box {
  position: relative; display: flex; align-items: center;
}
.search-box svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.filter-card .search {
  width: 100%; min-width: 0; padding: 9px 14px 9px 36px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface, #f2eee5); transition: border-color .15s, background .15s;
}
.filter-card .search:focus { border-color: var(--ink); background: #fff; }
.filter-card .count {
  font-size: .78rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: rgba(245,164,0,.16);
}

@media (max-width: 900px) {
  .filter-card .toolbar__filters { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .fseg { flex-direction: column; align-items: stretch; gap: 6px; }
  .fseg__opts { display: flex; }
  .fseg .chip { flex: 1 1 0; justify-content: center; padding: 8px 4px; min-height: 38px; }
  .filter-card .search-box { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 760px) {
  .vibe-nav { display: none; }
  .toolbar.filter-card { padding: 12px; border-radius: 16px; }
}
