.shop-page { padding-block: clamp(2rem,5vw,4.25rem); }
.shop-lead, .shop-collection-head { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.shop-page h1 { margin: .45rem 0 .6rem; font: 400 clamp(2rem,4vw,3.45rem)/1.2 var(--serif); }
.shop-page h2 { margin: 0 0 1rem; font: 400 clamp(1.35rem,2.4vw,1.85rem)/1.3 var(--serif); }
.shop-lead p,.shop-collection-head p { max-width: 52ch; margin: .65rem 0 1rem; color: var(--soft-ink); }
.shop-jumps,.shop-related { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.4rem; }
.shop-jumps a,.shop-related a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .3em; }
.shop-jumps a:first-child { color: var(--cinnabar); }
.shop-group { padding: clamp(1.4rem,3vw,2.3rem) 0 .25rem; scroll-margin-top: 1.3rem; }
.shop-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 1.35rem; }
.shop-directory a { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; min-height: 3.35rem; border-top: 1px solid var(--line); }
.shop-directory img { width: 3.5rem; height: 2.8rem; object-fit: cover; flex: none; }
.shop-directory i { margin-left: auto; font: 1rem/1 var(--sans); color: var(--cinnabar); }
.shop-directory a:hover,.shop-related a:hover,.shop-jumps a:hover { color: var(--cinnabar); }
.shop-related { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: .65rem; }
.shop-collection-head { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; }
.shop-collection-head .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; }
.shop-cover { width: clamp(7.5rem,20vw,13rem); aspect-ratio: 1.45; object-fit: cover; }
.shop-empty { padding: 1.25rem 0 0; color: var(--soft-ink); }
.shop-page .ji-spring-work-photo { max-height: 12rem; }
.ji-shop-doors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; padding-block: .65rem; }
.ji-shop-doors a { border-block: 1px solid var(--line); padding: .65rem 0; display: flex; align-items: center; justify-content: space-between; gap: .25rem; min-height: 44px; font: 1.05rem/1.45 var(--serif); }
.ji-shop-doors a span { color: var(--cinnabar); font: .9rem/1 var(--sans); }
.ji-shop-doors a:hover { color: var(--cinnabar); }
@media(max-width: 45rem) {
  .shop-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1rem; }
  .shop-directory a { font-size: .92rem; }
  .shop-directory img { width: 2.25rem; height: 2.1rem; }
  .ji-shop-doors { gap: .65rem; }
  .ji-shop-doors a { font-size: .91rem; }
  .shop-cover { width: 6rem; }
}
@media(max-width: 28rem) {
  .shop-directory img { display: none; }
  .shop-collection-head { flex-wrap: wrap; }
  .shop-cover { width: 8.25rem; }
}

/* The collection index follows the format of a printed object catalogue. */
.ji-home .folio-primary {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 44px;
  color: var(--ink); border-bottom: 1px solid var(--cinnabar);
  font: 1.13rem/1.35 var(--serif); text-decoration: none;
}
.ji-home .folio-primary span { color: var(--cinnabar); }
.ji-home .ji-home-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.ji-home .ji-shop-doors { display: flex; flex-wrap: wrap; gap: 0 1.65rem; border-top: 1px solid var(--line); padding-block: .3rem; }
.ji-home .ji-shop-doors a { min-height: 44px; border: 0; padding: .4rem 0; }
.folio-index .shop-lead h1, .folio-notes h2 { font-family: Georgia, "Songti SC", SimSun, serif; }
.folio-notes { padding-block: 1.7rem; border-bottom: 1px solid var(--line); }
.folio-notes > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.folio-notes a { display: flex; align-items: center; gap: 1.1rem; }
.folio-notes img { width: clamp(5rem,10vw,8rem); height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #eee8dd; }
.folio-notes strong, .folio-notes small { display: block; }
.folio-notes strong { color: var(--ink); font: 400 1.08rem/1.4 var(--serif); }
.folio-notes small { margin-top: .3rem; line-height: 1.5; color: var(--soft-ink); }
.folio-notes a:hover strong { color: var(--cinnabar); text-decoration: underline; text-underline-offset: .2em; }
.object-source { margin: 1.4rem 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.ji-exhibit-detail-copy .object-source h2 { font: 400 1.1rem/1.45 var(--serif); margin: 0; }
.ji-exhibit-detail-copy .object-source p { color: var(--soft-ink); font-size: .96rem; margin: .55rem 0; }
.object-source a { font-size: .85rem; }
@media(min-width: 58rem) {
  .folio-index .shop-group { display: grid; align-items: baseline; grid-template-columns: minmax(10rem,.8fr) minmax(0,3fr); column-gap: 1.5rem; }
  .folio-index .shop-group h2 { font-size: 1.45rem; }
}
@media(max-width: 40rem) {
  .folio-notes > div { grid-template-columns: 1fr; gap: .9rem; }
}
