/* The catalog, /shop/, for STAR Prints by CHA Prints: one column of product
 * rows, grouped, each with a small stage thumbnail. Loaded after site.css, on
 * /shop/ only. The rows reuse /card's .row-list and .row.
 *
 * 🔴 No hex colors (tokens only), no shadows, no vh/svh/dvh/lvh.
 * 🔴 The thumbnails are drawn at build time by the product pages' own drawing
 *    code, fitted to their box, and carry no dimension lines, labels or sample
 *    art. Real sizes side by side live in the home page's scenes.
 */

.shop {
  padding-top: var(--space-5);
}

/* Rows, not a grid of cards: one column across the full content width, with the
   same left and right edges as the product pages' grid. */
.shop-inner h1 {
  font-size: var(--size-h2);
  line-height: var(--line-h2);
  color: var(--navy);
}

.shop-lede {
  margin-top: var(--space-2);
  color: var(--dusk);
}

.shop-group {
  margin-top: var(--space-6);
}

.shop-group h2 {
  margin-bottom: var(--space-1);
  font-size: var(--size-h3);
  line-height: var(--line-h3);
  letter-spacing: 0;
  color: var(--navy);
}

/* The whole row is the link: thumbnail, name, spec line and price. */
.shop-row {
  justify-content: flex-start;
}

.shop-row-text {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--space-2);
  min-width: 0;
}

/* On a phone the spec line wraps under the name. */
.row-spec {
  color: var(--dusk);
}

/* A size never breaks across lines: "24″ × 18″" stays together. */
.nobr {
  white-space: nowrap;
}

.shop-row .row-price {
  flex: none;
  margin-left: auto;
}

/* ---- the thumbnail: a small stage ------------------------------------------ */
.thumb {
  display: block;
  flex: none;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-row);
  background: var(--stage);
  overflow: hidden;
}

.thumb-drawing {
  display: block;
  width: 100%;
  height: 100%;
}

/* What a product at its default choices can draw: a white face (Hairline for
   metal), a banner's grommets, the stand's base, a shirt. */
.thumb .product-face {
  fill: var(--white);
  stroke: var(--steel);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.thumb .face-metal {
  fill: var(--hairline);
}

.thumb .grommet {
  fill: none;
  stroke: var(--steel);
  stroke-width: 0.75px;
  vector-effect: non-scaling-stroke;
}

.thumb .stand-base {
  fill: var(--scene-object);
  stroke: var(--steel);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.thumb .shirt-body {
  stroke: var(--steel);
  stroke-width: 1px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.thumb .shirt-black .shirt-body {
  fill: var(--midnight);
}

.thumb .shirt-white .shirt-body {
  fill: var(--white);
}

.thumb .print-area {
  fill: none;
  stroke: none;
}

/* ---- In use photos (2026-10-21): the tile is the product's own photograph -- */
/* The same picture its page shows first, with its sample art, at its default
   size. The paint mirrors the photo panel's (in-use-scenes.js SHOT_CSS). */
.thumb-photo {
  position: relative;
  background: var(--hairline);
}

.thumb-shot,
.thumb-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.thumb-shot {
  object-fit: cover;
}

/* Christian, 2026-10-23: on desktop the tile is twice the size, so the sample art on the
   photo can be read (the 320w file, from the same media query as the <picture>). */
@media (min-width: 960px) {
  .thumb-photo {
    width: 160px;
    height: 120px;
  }
}

.thumb-art .shot-face {
  fill: var(--white);
  stroke: var(--hairline);
  stroke-width: .5px;
  vector-effect: non-scaling-stroke;
}

.thumb-art .shot-face-metal {
  fill: var(--hairline);
}

.thumb-art .shot-shadow {
  fill: var(--midnight);
  opacity: .18;
}

.thumb-art .shot-stake,
.thumb-art .shot-tie {
  stroke: var(--midnight);
  fill: none;
  opacity: .5;
  stroke-width: .75px;
  vector-effect: non-scaling-stroke;
}

.thumb-art .shot-base {
  fill: var(--hairline);
}

/* The banner stand's details (2026-10-27): silver rail and base (Hairline, shaded with Steel), the rest Midnight at low
   opacity. */
.thumb-art .shot-rail {
  fill: var(--hairline);
}

.thumb-art .shot-base-top {
  fill: var(--white);
}

.thumb-art .shot-rail-cap {
  fill: var(--steel);
}

.thumb-art .shot-base-shade {
  fill: var(--steel);
  opacity: .55;
}

.thumb-art .shot-floor,
.thumb-art .shot-contact,
.thumb-art .shot-foot,
.thumb-art .shot-fold {
  fill: var(--midnight);
}

.thumb-art .shot-floor {
  opacity: .35;
}

.thumb-art .shot-contact {
  opacity: .45;
}

.thumb-art .shot-foot {
  opacity: .6;
}

.thumb-art .shot-perf {
  opacity: .92;
}

.thumb-art .shot-print {
  fill: none;
}

/* Opening prices, until Jan 1, 2027: the price from Jan 1 under a "from" price. */
.shop-row .row-price {
  text-align: right;
}

.jan-line {
  display: block;
  color: var(--dusk);
  font-size: var(--size-small);
  white-space: nowrap;
}

/* "Shop exclusives" (2026-11-18): the outlined twin of .btn, only while /shop/exclusive/ has products. */
.btn-alt {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.shop-ex {
  margin-top: var(--space-3);
}
