/* Hallmark · product sheet of the Gallery of Light build, 2026-11-09 · hero: Banner (/product/), the hairline header over the plate */
/* The plate with a sticky selling column: the photograph at 70svh on Paper, the 2x crop, the white tile in the one Midnight room; name, material, reference, price, 40 words, ruled rows, the Noir bar, two links, the trust row. Tokens, type, the pill, plates and tiles come from so.css. */

/* ---------- the plate ---------- */
.product-main { padding-top: var(--space-xl); padding-bottom: var(--space-3xl); }
.product-plate { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-2xl); align-items: start; background: var(--paper); }
.product-plate.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.product-plate .look { display: grid; gap: var(--space-lg); min-width: 0; }
.product-plate .stage { margin: 0; height: 70svh; min-height: 320px; position: relative; }
.product-plate .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-plate .crop, .product-plate .room { display: none; }
.product-plate .crop { aspect-ratio: 1; overflow: clip; mix-blend-mode: multiply; }
.product-plate .crop img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(2); transform-origin: center; }
.product-plate .room { padding: var(--space-2xl); display: grid; place-items: center; }
.product-plate .room .tile { width: min(100%, 520px); }
.product-plate .room .tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }

/* ---------- the selling column ---------- */
.product-plate .sell { position: sticky; top: 72px; display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.product-plate .name { font-size: var(--t-name); line-height: 1.05; }
.product-plate .material { font-size: var(--t-label); }
.product-plate .ref { display: inline-flex; align-items: center; gap: var(--space-xs); }
.product-plate .ref .hallmark { font-size: 15px; }
.product-plate .price { font-size: 16px; font-weight: 500; }
.product-plate .price .vat { font-size: var(--t-label); font-weight: 400; margin-left: var(--space-xs); }
.product-plate .price del { color: var(--muted); font-weight: 400; margin-right: var(--space-xs); }
.product-plate .price ins { text-decoration: none; }
.product-plate .words { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.product-plate .specs { margin: var(--space-xs) 0 0; border-top: 1px solid var(--hair); }
.product-plate .specs > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 var(--space-md); align-items: start; padding: var(--space-sm) 0; border-bottom: 1px solid var(--hair); }
.product-plate .specs dt { font-size: var(--t-label); font-weight: 500; padding-top: 1px; }
.product-plate .specs dd { margin: 0; font-size: var(--t-small); }
.product-plate .specs .gift { display: flex; align-items: center; gap: var(--space-sm); }
.product-plate .specs .gift img { width: 48px; height: 48px; object-fit: cover; flex-shrink: 0; }
.product-plate .strip { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-family: var(--mono); font-size: var(--t-label); color: var(--ink-2); }
.product-plate .strip .k { color: var(--muted); }

/* the bar: WooCommerce's own form, the button as the solid pill across the column */
.product-plate .buy { margin-top: var(--space-xs); }
.product-plate form.cart { margin: 0; display: grid; gap: var(--space-md); }
.product-plate form.cart .quantity { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-plate .single_add_to_cart_button { width: 100%; justify-content: center; }
.product-plate .single_add_to_cart_button:disabled { background: var(--muted); border-color: var(--muted); color: var(--paper); cursor: not-allowed; }
.product-plate table.variations { width: 100%; border-collapse: collapse; margin: 0; }
.product-plate table.variations th, .product-plate table.variations td { padding: var(--space-sm) 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.product-plate table.variations th { width: 112px; font-size: var(--t-label); font-weight: 500; }
.product-plate table.variations select { width: 100%; height: 44px; border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0; background: transparent; font: 400 14px var(--body); color: var(--noir); padding: 0; }
.product-plate table.variations select:focus-visible { outline: 2px solid var(--rose-blue); outline-offset: 2px; }
.product-plate .reset_variations { font-size: var(--t-label); }
.product-plate .woocommerce-variation-price { font-size: 16px; font-weight: 500; }
.product-plate .woocommerce-variation-availability { font-size: var(--t-small); }
.product-plate .stock { font-size: var(--t-small); }
.product-plate .links { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); }
.product-plate .links .link-u { position: relative; }
.product-plate .links .link-u::after { content: ''; position: absolute; left: 0; right: 0; top: calc(-1 * var(--space-sm)); bottom: calc(-1 * var(--space-sm)); }
.product-plate .trust { display: grid; gap: var(--space-2xs); font-size: var(--t-small); color: var(--ink-2); border-top: 1px solid var(--hair); padding-top: var(--space-md); }

/* ---------- more from the chapter ---------- */
.more { margin-top: var(--space-3xl); border-top: 1px solid var(--hair); padding-top: var(--space-xl); }
.more .line { font-size: clamp(32px, 4vw, 44px); margin-bottom: var(--space-lg); }
.more .plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.more .plate a { display: flex; flex-direction: column; gap: var(--space-2xs); }
.more .plate-img { margin-bottom: var(--space-xs); }
.more .plate-name { font-size: var(--t-label); font-weight: 500; }
.more .plate-price { font-size: 14px; }
@media (hover: hover) { .more .plate a:hover .plate-name { color: var(--rose-blue); } }
.more .plate a:focus-visible .plate-name { color: var(--rose-blue); }

/* ---------- the pinned bar on phones ---------- */
.pinbar { display: none; }
.so-fly { position: fixed; z-index: 60; pointer-events: none; mix-blend-mode: multiply; object-fit: contain; }
/* expected from the shared layer, defined here: the bag square bumps once when a piece lands in it (cart.js adds .is-bumping) */
.head .bag.is-bumping { animation: so-bump var(--dur-long) var(--ease-out); }
@keyframes so-bump { 0% { transform: scale(1); } 30% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* ---------- phones and narrow screens ---------- */
@media (max-width: 1023px) {
  .product-main { padding-top: var(--space-md); padding-bottom: var(--space-2xl); }
  .product-plate { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .product-plate .look { display: contents; }
  .product-plate .stage { height: 44svh; min-height: 240px; order: -2; }
  .product-plate .crop, .product-plate .room { order: 10; }
  .product-plate .crop, .product-plate .room { display: none; }
  .product-plate .room { padding: var(--space-xl) var(--space-lg); }
  .product-plate .sell { position: static; }
  .product-plate .buy { order: 1; }
  .product-plate .links { order: 2; }
  .product-plate .words { order: 3; }
  .product-plate .specs { order: 4; }
  .product-plate .strip { order: 5; }
  .product-plate .trust { order: 6; }
  .product-plate .specs > div { grid-template-columns: 96px minmax(0, 1fr); }
  .more { margin-top: var(--space-2xl); }
  .more .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .pinbar { display: flex; align-items: center; gap: var(--space-md); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; min-height: 52px; padding: 0 20px env(safe-area-inset-bottom); background: var(--noir); color: var(--paper); transform: translateY(100%); visibility: hidden; transition: transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .js .pinbar.on { transform: none; visibility: visible; transition: transform var(--dur-short) var(--ease-out), visibility 0s; }
  .pinbar .who { display: grid; flex: 1; min-width: 0; }
  .pinbar .n { font-size: var(--t-label); white-space: nowrap; overflow: clip; text-overflow: ellipsis; }
  .pinbar .p { font-size: 14px; font-weight: 500; }
  .pinbar .pill { flex-shrink: 0; height: 40px; padding: 0 var(--space-2xs) 0 var(--space-md); }
  .pinbar .pill::before { background: var(--paper); }
  .pinbar .pill:hover, .pinbar .pill:focus-visible { color: var(--noir); }
  .pinbar .pill:focus-visible { outline-color: var(--paper); }
  .pinbar .pill:active { transform: translateY(1px); }
  .pinbar .pill .disc { background: var(--paper); color: var(--noir); }
  .pinbar .pill:hover .disc, .pinbar .pill:focus-visible .disc { background: var(--noir); color: var(--paper); }
  .so-pinned .site { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .product-plate .room .tile { width: 100%; }
  .product-plate .specs > div { grid-template-columns: 88px minmax(0, 1fr); }
}

/* ---------- reduced motion: nothing slides, nothing bumps ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .pinbar, .js .pinbar.on { transition: none; }
  .pinbar .pill, .pinbar .pill::before, .pinbar .pill .disc { transition: none; }
  .pinbar .pill:active { transform: none; }
  .head .bag.is-bumping { animation: none; }
}

