/* Product pictures (public/mockup.js): printed sheets on real surfaces. */
.mk-scene {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--soft) center / cover no-repeat;
}
.mk-surface-oak {
  background-image: url("/surfaces/oak.jpg");
}
.mk-surface-linen {
  background-image: url("/surfaces/linen.jpg");
}
.mk-surface-plaster {
  background-image: url("/surfaces/plaster.jpg");
}
.mk-surface-walnut {
  background-image: url("/surfaces/walnut.jpg");
}
.mk-surface-maple {
  background-image: url("/surfaces/maple.jpg");
}
.mk-surface-desk-oak {
  background-image: url("/surfaces/desk-oak.jpg");
}
.mk-surface-counter-marble {
  background-image: url("/surfaces/counter-marble.jpg");
}
.mk-surface-concrete {
  background-image: url("/surfaces/concrete.jpg");
}
.mk-surface-bench {
  background-image: url("/surfaces/bench.jpg");
}
.mk-surface-linen-flowers {
  background-image: url("/surfaces/linen-flowers.jpg");
}
.mk-surface-walnut-desk {
  background-image: url("/surfaces/walnut-desk.jpg");
}
.mk-door {
  background-image: url("/surfaces/front-door.jpg");
  background-size: 100% auto;
  background-position: center;
}
/* The knob comes through the hanger's hole, in front of it. */
.mk-knob {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.35));
}
/* A plain backdrop: the store's soft color, lit from the top left. */
.mk-plain {
  background: radial-gradient(120% 100% at 30% 10%, color-mix(in srgb, var(--soft) 55%, white), var(--soft) 55%, color-mix(in srgb, var(--soft) 88%, var(--ink)));
}
/* Window light from the top left, falling off into the corners. It lies
   over the paper too, so sheets and surface share one light. */
.mk-scene::before,
.mk-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}
.mk-scene::before {
  background: radial-gradient(90% 75% at 18% 6%, rgb(255 247 232 / 0.55), transparent 62%);
  mix-blend-mode: soft-light;
}
.mk-scene::after {
  background: radial-gradient(150% 120% at 45% 40%, transparent 52%, rgb(20 16 10 / 0.3));
  mix-blend-mode: multiply;
}
.mk-plain::after {
  background: radial-gradient(150% 120% at 45% 40%, transparent 60%, rgb(20 16 10 / 0.12));
}
.mk-piece {
  position: absolute;
  transform-origin: 50% 50%;
}
.mk-sheet {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* Contact shadow, then the soft one a sheet throws on the table. */
  filter: drop-shadow(0 0.5px 0.6px rgb(25 18 10 / 0.35)) drop-shadow(0 6px 10px rgb(25 18 10 / 0.2)) drop-shadow(0 18px 26px rgb(25 18 10 / 0.12));
}
.mk-tilted .mk-sheet {
  filter: drop-shadow(0 1px 1px rgb(25 18 10 / 0.4)) drop-shadow(0 10px 12px rgb(25 18 10 / 0.24));
}
.mk-grain {
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.mk-light {
  mix-blend-mode: soft-light;
}
.mk-gloss {
  mix-blend-mode: screen;
}
/* Paper: uncoated shows more fiber and no shine; glossy less fiber. */
.mk-scene[data-paper="uncoated"] .mk-grain {
  opacity: 1;
}
.mk-scene[data-paper="uncoated"] .mk-light {
  opacity: 0.6;
}
.mk-scene[data-paper="glossy"] .mk-grain {
  opacity: 0.2;
}
/* A picture that changes with the options fades between them. */
.mk-fade {
  animation: mk-fade 0.25s ease-out;
}
@keyframes mk-fade {
  from {
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mk-fade {
    animation: none;
  }
}

/* ---- Where the pictures go ---- */
.product-art.scene-art,
.picture-main.product-art {
  display: block;
  aspect-ratio: auto;
  background: none;
}
.product-tile .mk-scene {
  transition: filter 0.2s;
}
.product-tile:hover .mk-scene {
  filter: brightness(1.04);
}
/* The home hero: the scene fills the art column. */
.hero-art .hero-cards {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: auto;
}
.hero-cards .mk-scene {
  height: 100%;
  aspect-ratio: auto !important;
}
/* Product page: the large picture and the three to choose from. */
.product-pictures {
  display: grid;
  gap: 12px;
}
.picture-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.picture-choice {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.picture-choice[aria-pressed="true"] {
  border-color: var(--ink);
}
.picture-choice:hover .mk-scene {
  filter: brightness(1.04);
}
/* Industry tiles: the leading design as a small pile on a desk. */
.industry-art .desk-thumb {
  width: 100%;
  height: 100%;
}
.industry-art .desk-thumb .mk-scene {
  height: 100%;
  aspect-ratio: auto !important;
}
.industry-art:has(.desk-thumb) {
  background: none;
}
/* Paper guide: each paper as a short stack. */
.paper-swatch {
  display: block;
  margin-bottom: 14px;
}
.paper-swatch .mk-scene {
  aspect-ratio: 1.6 !important;
}
/* Flat design pictures still read as paper: a fine grain, an edge and a
   contact shadow under the soft one. */
.thumb,
.thumb-art {
  position: relative;
}
.thumb svg,
.thumb-art svg {
  box-shadow: 0 0.5px 1px rgb(25 18 10 / 0.3), 0 1px 0 rgb(25 18 10 / 0.06), 0 8px 18px rgb(25 18 10 / 0.12) !important;
}
.template-strip .thumb::after,
.thumb-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("/surfaces/grain.png") 0 0 / 96px;
  mix-blend-mode: multiply;
  opacity: 0.45;
}
/* Facts beside the price: delivery and who to ask. */
.product-facts {
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.product-facts .fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}
.product-facts dt {
  font-weight: 700;
}
.product-facts dd {
  margin: 0;
  color: var(--muted);
}
.product-facts a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Delivery dates (public/delivery.js): the date first, how it's worked out under it. */
.product-facts .delivery-label {
  color: var(--ink);
}
.delivery-detail,
.delivery-estimate span {
  display: block;
  margin-top: 2px;
}
.delivery-estimate {
  margin: 14px 0 18px;
  font-size: 13px;
  /* Small grey text on the summary panel: the darker muted passes 4.5:1. */
  color: var(--muted-strong);
}
.delivery-estimate strong {
  color: var(--ink);
}
.delivery-estimate .placeholder-tag {
  display: inline-block;
  margin-top: 0;
}
/* A line waiting on a decision: shown, but marked. */
.placeholder {
  outline: 1px dashed color-mix(in srgb, var(--danger) 55%, transparent);
  outline-offset: 4px;
}
.placeholder-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1px;
}
/* The design gallery: each design on a lit backdrop, like a product shot;
   a quiet Customize, so forty designs aren't forty dark buttons. */
.template-thumb {
  background: radial-gradient(120% 110% at 30% 15%, color-mix(in srgb, var(--soft) 40%, white), var(--soft) 70%, color-mix(in srgb, var(--soft) 90%, var(--ink)));
}
.button.button-quiet {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
}
.button.button-quiet:hover,
.template-card:hover .button.button-quiet {
  background: var(--ink);
  color: var(--white);
}
.gallery-facts {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 720px) {
  /* Papers side by side on a phone, so they compare at a glance. */
  .paper-grid:has(.paper-swatch) {
    grid-template-columns: 1fr 1fr;
  }
}
