.shop-category-photos { margin: 0 0 20px; min-width: 0; }
.shop-category-photos[hidden] { display: none; }
.shop-category-photos-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.shop-category-photos-heading h2 { margin: 0; font: 700 .92rem/1.4 var(--font, system-ui, sans-serif); }
.shop-category-photos-trail { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--muted, #536176); font-size: .78rem; }
.shop-category-photos-trail button { padding: 2px 0; border: 0; background: none; color: inherit; text-align: start; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.shop-category-photos-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 145px); align-items: stretch; gap: 8px; overflow-x: auto; padding: 3px 3px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shop-category-photo { display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 132px; gap: 5px; padding: 8px; border: 1px solid var(--rule, #dce4ee); border-radius: 6px; background: #fff; color: var(--ink, #142137); font: inherit; text-align: center; cursor: pointer; scroll-snap-align: start; }
.shop-category-photo:hover { border-color: var(--red, #ba352e); }
.shop-category-photo[aria-pressed="true"] { border-color: var(--red, #ba352e); box-shadow: inset 0 0 0 1px var(--red, #ba352e); background: #fff8f7; }
.shop-category-photo img { display: block; width: 100%; height: 64px; object-fit: contain; background: #fff; }
.shop-category-photo-label { font-size: .78rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.shop-category-photo-count { margin-top: auto; color: var(--muted, #536176); font-size: .72rem; line-height: 1.2; }
.shop-category-photo.has-no-photo { justify-content: center; }
.shop-category-photo.has-no-photo .shop-category-photo-count { margin-top: 2px; }
.shop-category-photos :is(button):focus-visible { outline: 3px solid #2f8ee5; outline-offset: 2px; }
@media (max-width: 600px) {
  .shop-category-photos { margin-bottom: 14px; }
  .shop-category-photos-grid { grid-auto-columns: 118px; }
  .shop-category-photo { min-height: 127px; }
}
@media print { .shop-category-photos { display: none; } }
