/* Blank Apparel · shelf: a rail of product cards that runs sideways, and the two arrows that walk it.
 * Shared by the home page and the product page, so a rail of clothes behaves the same wherever it appears. */

.pgrid {
  list-style: none; margin: var(--space-2xl) 0 0; padding: 0 var(--gutter) var(--space-xl);
  margin-inline: calc(var(--gutter) * -1);
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(14rem, 20vw, 20rem);
  gap: var(--space-xl);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.pgrid > .pcard, .pgrid > .hi-tile { scroll-snap-align: start; }
.pgrid:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.pgrid-wide { grid-auto-columns: clamp(16rem, 24vw, 24rem); }


/* the band a shelf sits in, wherever it appears */
.more { padding-block: var(--space-3xl) var(--section-gap-s); background: var(--color-paper); }
.more-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; }
.morelink { font-size: var(--text-md); font-weight: 500; text-decoration: none; color: inherit; border-bottom: var(--rule-hair) solid currentColor; padding-bottom: var(--space-3xs); white-space: nowrap; }
.morelink:hover { opacity: 0.6; }
.more h2 {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--text-section); line-height: 1.04; letter-spacing: var(--tracking-display);
}

.shop-foot { margin-top: var(--space-2xl); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; }


/* only the shelf has a dark world to recolour for */
.shop[data-world="business"] .shelf-arrow { color: var(--color-field-ink); border-color: var(--color-field-rule); }
.shop[data-world="business"] .shelf-arrow:hover { background: var(--color-field-2); border-color: var(--color-field-ink-2); }

@media (max-width: 75rem) {
  .pgrid-wide { grid-auto-columns: clamp(16rem, 24vw, 24rem); }
}
@media (max-width: 60rem) {
  .pgrid { grid-auto-columns: 68vw; gap: var(--space-lg); }
  .pgrid-wide { grid-auto-columns: 72vw; }
}
