/* Browse by photo using existing catalog filters; no parallel catalog engine. */
.product-catalog-page .catalog-discovery{
  margin:0 0 1.35rem;
  padding:clamp(1rem,2.4vw,1.7rem);
  border:1px solid var(--ed-rule,rgba(100,112,130,.23));
  background:rgba(125,140,160,.045);
}
.product-catalog-page .catalog-discovery-heading{
  display:flex;align-items:end;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;margin-bottom:1.15rem;
}
.product-catalog-page .catalog-discovery-kicker{
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:#e42b37;font-weight:750;
}
.product-catalog-page .catalog-discovery-heading h2{
  font-size:clamp(1.65rem,3vw,2.6rem);letter-spacing:-.045em;font-weight:500;
  margin:.25rem 0;
}
.product-catalog-page .catalog-discovery-heading p{
  margin:.25rem 0 0;color:var(--site-muted,#64748b);font-size:.88rem;line-height:1.5;
}
.product-catalog-page .catalog-discovery-reset{
  min-height:42px;padding:.55rem .9rem;border:1px solid #e42b37;color:inherit;
  background:transparent;cursor:pointer;font-weight:650;font-size:.8rem;
}
.product-catalog-page .catalog-discovery-reset:disabled{opacity:.4;cursor:default}
.product-catalog-page .catalog-category-rail{
  display:grid;grid-auto-flow:column;grid-auto-columns:clamp(135px,13vw,180px);
  gap:.7rem;overflow-x:auto;overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;padding:0 0 .65rem;
  scrollbar-width:thin;scrollbar-color:#b7c1cf transparent;
}
.product-catalog-page .catalog-category-tile{
  min-width:0;text-align:left;display:flex;flex-direction:column;cursor:pointer;
  overflow:hidden;scroll-snap-align:start;border:1px solid var(--ed-rule,#cbd5e1);
  color:inherit;background:var(--ed-bg,#fff);
  padding:0;transition:transform .2s,border-color .2s,box-shadow .2s;
}
.product-catalog-page .catalog-category-tile:hover{
  border-color:#e42b37;transform:translateY(-2px);
}
.product-catalog-page .catalog-category-tile.is-active{
  border-color:#e42b37;box-shadow:inset 0 -3px #e42b37;
}
.product-catalog-page .catalog-category-tile:focus-visible{
  outline:3px solid #e42b37;outline-offset:2px;
}
.product-catalog-page .catalog-category-photo{
  width:100%;aspect-ratio:1.6;overflow:hidden;
  display:grid;place-items:center;background:rgba(126,145,165,.09);
}
.product-catalog-page .catalog-category-photo img{
  max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;
}
.product-catalog-page .catalog-category-info{
  display:grid;gap:.2rem;padding:.7rem .8rem;line-height:1.25;min-width:0;
}
.product-catalog-page .catalog-category-info strong{
  font-weight:700;font-size:.82rem;overflow-wrap:anywhere;
}
.product-catalog-page .catalog-category-info small{
  color:var(--site-muted,#64748b);font-size:.72rem;
}
@media(max-width:650px){
  .product-catalog-page .catalog-discovery{padding:1rem .75rem}
  .product-catalog-page .catalog-category-rail{
    grid-auto-columns:clamp(128px,42vw,165px);gap:.55rem;
  }
  .product-catalog-page .catalog-discovery-heading h2{font-size:1.7rem}
}
@media(prefers-reduced-motion:reduce){
  .product-catalog-page .catalog-category-tile{transition:none}
}
