/* Artist identity and a readable preview of the wider collection. */
#pottery .product-copy { container: pottery-details / inline-size; }
.artist-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 16px; }
.artist-range-preview { display: block; width: 100%; min-width: 0; aspect-ratio: 1206 / 1046; border-radius: 2px; box-shadow: 2px 5px 8px rgb(36 32 24 / 15%); }
.artist-range-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; }
.artist-range-details { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding-block: 6px; }
.artist-label { display: inline-flex; align-items: center; gap: 7px; min-height: 24px; min-width: 0; font-size: clamp(12px, 3.2vw, 14px); line-height: 1.5; }
.artist-label > span { min-width: 0; overflow-wrap: anywhere; }
.artist-instagram-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.artist-instagram-icon .instagram-dot { fill: currentColor; stroke: none; }
.artist-range-action { font-size: 15px; line-height: 1.5; text-decoration: underline; text-decoration-color: rgb(36 32 24 / 35%); text-underline-offset: 5px; }
.shop-credit .artist-label { vertical-align: middle; font-size: inherit; }

@media (min-width: 761px) {
  @container pottery-details (min-width: 350px) {
    .artist-product-details { display: grid; grid-template-columns: minmax(248px, 1fr) minmax(0, 200px); column-gap: 20px; align-items: start; }
    .artist-product-details > .product-availability { grid-column: 1; grid-row: 1; }
    .artist-range { display: contents; }
    .artist-range-preview { grid-column: 2; grid-row: 1 / span 2; margin-top: 16px; }
    .artist-range-details { grid-column: 1; grid-row: 2; margin-top: 8px; padding: 0; }
  }
}

@media (hover: hover) and (pointer: fine) {
  .artist-range-details:hover .artist-range-action { text-decoration-color: currentColor; }
  .artist-range-preview:hover { box-shadow: 2px 6px 10px rgb(36 32 24 / 20%); }
}
