/* Printed editions gallery. Artwork retains its original 4:3 composition. */
.studio-shop-head {
  display: block;
  background: #f6f2e9;
  padding-top: 0;
}
.preview-notice { background: #eae5da; color: #35444b; }
.catalog-masthead {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4.2vw, 4rem);
  color: #fffcf1;
}
.catalog-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #192e3c;
  box-shadow: 0 0 0 100vmax #192e3c;
  clip-path: inset(0 -100vmax);
}
.catalog-masthead #shop-title {
  max-width: none;
  margin: 0;
  color: #fffbef;
  font: 400 clamp(3.15rem, 5.85vw, 5.75rem)/.99 var(--font-serif);
  letter-spacing: -.052em;
}
.catalog-masthead #shop-title i { color: #f0c29e; }
.catalog-masthead #shop-intro {
  max-width: 40ch;
  margin: 1.05rem 0;
  color: #e6e9e6;
  font: 400 clamp(.97rem, 1.22vw, 1.12rem)/1.55 var(--font-sans);
}
.catalog-masthead .studio-browse-actions { gap: .25rem 1rem; align-items: center; }
.catalog-masthead .studio-browse { color: #fff8e8; font-size: .88rem; }
.catalog-masthead .studio-browse:first-child {
  background: #fbf0d8;
  border: 1px solid #fbf0d8;
  padding-inline: .9rem;
  color: #19313c;
  border-radius: 3px;
  text-decoration: none;
}
.catalog-masthead .studio-browse:first-child:hover { background: white; }
.catalog-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.55rem, 1.4vw, 1.1rem);
}
.catalog-gallery a {
  display: block;
  padding: clamp(.35rem, .7vw, .65rem);
  background: #fcf8eb;
  color: #233441;
  box-shadow: 0 .65rem 1.5rem #08141c66;
  text-decoration: none;
}
.catalog-gallery a:first-child {
  grid-row: span 2;
  transform: rotate(-4deg);
  margin: 0 .45rem 0 0;
}
.catalog-gallery a > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem;
  padding: .42rem .12rem 0;
  font: 500 clamp(.68rem, .83vw, .86rem)/1.3 var(--font-sans);
}
.catalog-gallery a:first-child > span { font: 500 clamp(1rem, 1.45vw, 1.48rem)/1.1 var(--font-serif); }
.catalog-gallery img { display: block; width: 100%; height: auto; }
.catalog-gallery a:hover > span { text-decoration: underline; text-underline-offset: .15em; }
.catalog-masthead :focus-visible { outline: 3px solid #ffc98f; outline-offset: 3px; }
.studio-shop-head.saved-view .catalog-masthead { display: none; }
.studio-shop-head .saved-entry { margin: .35rem 0 0; }
.studio-shop-head .catalog-filters { margin-top: .15rem; }
.quick-buy { border-color: #ccc3ae; background: #fffaf0; }
.quick-buy-item { background: transparent; border: 0; }
.quick-buy-cover { border-radius: 2px; }
.quick-buy-heading h2 { color: #203744; }
.catalog-section .collection-heading { border-top: 2px solid #283e48; padding-block: 1.4rem; }
.collection-heading p { max-width: 68ch; }
.gallery-card.shop-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.gallery-card.shop-card .shop-art.shop-cover {
  border: 1px solid #cfc8b8;
  padding: clamp(.45rem, .85vw, .75rem);
  aspect-ratio: auto;
  border-radius: 2px;
  background: #fcf9ee;
  box-shadow: 0 3px 6px #413a2810;
}
.gallery-card .shop-art img { aspect-ratio: 4 / 3; height: auto; }
.gallery-card.shop-card .card-info { padding: .9rem 0 .2rem; }
.gallery-card .edition-card-key { color: #714635; }
.gallery-card .edition-card-key .product-price { margin: 0; color: #243945; line-height: 1.4; font-size: .91rem; }
.gallery-card .card-info h3 { margin: .4rem 0; color: #203640; font: 400 clamp(1.52rem, 2vw, 1.92rem)/1.09 var(--font-serif); letter-spacing: -.032em; }
.gallery-card .card-detail:hover { text-decoration: underline; text-underline-offset: .17em; }
.gallery-card .card-info .details { border: 0; border-top: 1px solid #cec6b5; padding-block: .65rem .15rem; font-size: .81rem; }
.gallery-card[data-edition="buy"] .edition-label { display: none; }
.gallery-card .card-info .buy-now, .quick-buy .buy-now { background: #233e4b; color: #fffaf1; border-radius: 3px; }
.gallery-card .card-info .buy-now:hover, .quick-buy .buy-now:hover { background: #354e5b; }
.gallery-card .edition-card-tools { border-color: #cec6b5; }
@media (max-width: 760px) {
  .catalog-masthead {
    grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 30%);
    gap: .4rem .6rem;
    padding-block: 1.15rem .85rem;
  }
  .catalog-masthead-copy { display: contents; }
  .catalog-masthead #shop-title { grid-area: 1 / 1; font-size: clamp(2.05rem, 8vw, 3.35rem); }
  .catalog-masthead #shop-intro { grid-area: 2 / 1 / auto / -1; margin: .45rem 0 .1rem; max-width: 48ch; font-size: .91rem; line-height: 1.45; }
  .catalog-masthead .studio-browse-actions { grid-column: 1 / -1; gap: .5rem .85rem; }
  .catalog-masthead .studio-browse { font-size: .8rem; }
  .catalog-gallery { grid-area: 1 / 2; display: block; max-width: 9rem; justify-self: end; }
  .catalog-gallery a:first-child { margin: 0 .2rem 0 0; }
  .catalog-gallery a:first-child > span { font: 650 .67rem/1.2 var(--font-sans); }
  .catalog-gallery a:not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-card .shop-art img { transition: transform 180ms ease-out; }
  .gallery-card .shop-art:hover img { transform: scale(1.025); }
}
