/* Category-specific brand links. The strip remains scrollable at every size. */
#product-category .rh-category-brands {
  position:relative;
  min-width:0;
  max-width:100%;
  margin:24px 0;
  color:var(--rh-ink,#352c3f);
}
#product-category .rh-category-brands *,
#product-category .rh-category-brands *::before,
#product-category .rh-category-brands *::after { box-sizing:border-box; }
#product-category .rh-category-brands [hidden] { display:none!important; }
#product-category .rh-category-brands__filters { position:absolute; top:0; left:0; width:1px; height:1px; overflow:hidden; pointer-events:none; }
#product-category .rh-category-brands__heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 20px;
  margin-bottom:12px;
}
#product-category .rh-category-brands__heading h2 {
  min-width:0;
  margin:0;
  color:var(--rh-ink,#352c3f);
  font-family:inherit;
  font-size:1rem;
  font-weight:650;
  line-height:1.5;
  overflow-wrap:anywhere;
}
#product-category .rh-category-brands__heading p {
  min-width:0;
  margin:0;
  color:var(--rh-muted,#645c6a);
  font-size:.875rem;
  line-height:1.6;
}
#product-category .rh-category-brands__current {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 16px;
  margin-bottom:10px;
  padding:8px 14px;
  border:1px solid #e3d7eb;
  border-radius:10px;
  background:#f7f2fa;
  color:#574363;
  font-size:.875rem;
  line-height:1.65;
  overflow-wrap:anywhere;
}
#product-category .rh-category-brands__current a {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:4px 0;
  color:var(--rh-accent,#654c7e);
  font-size:.875rem;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
#product-category .rh-category-brands__current a:hover { color:#463151; }
#product-category .rh-category-brands__carousel { min-width:0; max-width:100%; }
#product-category .rh-category-brands__carousel.has-controls {
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:10px;
}
#product-category .rh-category-brands__prev,
#product-category .rh-category-brands__next {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #d5c6df;
  border-radius:50%;
  background:#f8f4fa;
  color:#594567;
  cursor:pointer;
  transition:background-color .18s,border-color .18s;
}
#product-category .rh-category-brands__prev svg,
#product-category .rh-category-brands__next svg { display:block; width:20px; height:20px; }
#product-category .rh-category-brands__prev:enabled:hover,
#product-category .rh-category-brands__next:enabled:hover { background:#eee6f3; border-color:#b7a3c4; }
#product-category .rh-category-brands__prev:disabled,
#product-category .rh-category-brands__next:disabled { background:#fbfafb; border-color:#e7e2e8; color:#a59ca8; cursor:default; }
#product-category .rh-category-brands__list {
  display:flex;
  align-items:stretch;
  gap:12px;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:6px 6px 12px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  scroll-padding-inline:6px;
  scrollbar-width:none;
}
#product-category .rh-category-brands__list::-webkit-scrollbar { display:none; height:0; }
#product-category .rh-category-brand {
  position:relative;
  display:flex;
  flex:0 0 132px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:118px;
  padding:12px 10px;
  border:1px solid var(--rh-line,#e5dce9);
  border-radius:13px;
  background:#fff;
  color:var(--rh-ink,#352c3f);
  text-align:center;
  text-decoration:none;
  scroll-snap-align:start;
  overflow-wrap:anywhere;
  transition:border-color .18s,background-color .18s;
}
#product-category .rh-category-brand__image {
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  min-width:0;
  flex:0 0 56px;
  border-radius:5px;
  background:#fff;
}
#product-category .rh-category-brand__image img {
  display:block;
  width:48px;
  height:48px;
  max-width:48px;
  max-height:48px;
  object-fit:contain;
}
#product-category .rh-category-brand__fallback {
  color:inherit;
  font-size:.875rem;
  font-weight:650;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#product-category .rh-category-brand__name {
  display:block;
  width:100%;
  min-width:0;
  color:inherit;
  font-size:.875rem;
  font-weight:600;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#product-category .rh-category-brand__count {
  display:block;
  color:var(--rh-muted,#645c6a);
  font-size:.8125rem;
  font-variant-numeric:tabular-nums;
  line-height:1.4;
}
#product-category .rh-category-brand.has-no-image .rh-category-brand__image { display:none; }
#product-category .rh-category-brand.has-no-image .rh-category-brand__name { font-weight:650; }
#product-category .rh-category-brand:hover {
  border-color:#b7a0c7;
  background:#faf7fc;
  color:#503961;
}
#product-category .rh-category-brand.is-active,
#product-category .rh-category-brand[aria-current="true"] {
  border-color:#8f6da6;
  background:#f2eaf8;
  color:#503961;
  box-shadow:inset 0 0 0 1px #8f6da6;
}
#product-category .rh-category-brand:focus-visible,
#product-category .rh-category-brands__prev:focus-visible,
#product-category .rh-category-brands__next:focus-visible,
#product-category .rh-category-brands__current a:focus-visible {
  outline:3px solid var(--rh-accent,#654c7e);
  outline-offset:2px;
}
#product-category .rh-category-brands__sr-only {
  position:absolute;
  top:0;
  inset-inline-start:0;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
@media(max-width:767.98px) {
  #product-category .rh-category-brands { margin:20px 0; }
  #product-category .rh-category-brands__heading { gap:5px; margin-bottom:10px; }
  #product-category .rh-category-brands__heading p { flex-basis:100%; }
  #product-category .rh-category-brands__carousel.has-controls { gap:6px; }
  #product-category .rh-category-brands__list { gap:9px; }
  #product-category .rh-category-brand { flex-basis:112px; min-height:112px; padding:10px 9px; border-radius:11px; }
}
@media(prefers-reduced-motion:reduce) {
  #product-category .rh-category-brand,
  #product-category .rh-category-brands__prev,
  #product-category .rh-category-brands__next { transition:none; }
}
