/* The Prints side of The Room: /prints (the coffee table), the product pages, /prints/custom, /prints/business and
   /gift-cards. Loads after site.css on those pages only. Every rule here dresses markup the render files and the
   scripts already produce; no words come from this file except the page's own headline repeated in the band
   (decoration, hidden from readers). See .claude/ROOM-SYSTEM.md for the primitives used. */

/* Gift cards (moved from site.css: only /gift-cards uses it): the form on a sticker; beside it a drawn card repeating the amount picked (site.js, hidden from readers). */
.wrap > form[data-gift-form] { background: var(--surface); border: 2px solid var(--gold); box-shadow: var(--off) var(--off) 0 var(--pink); padding: 20px; max-width: 37rem; }
.gift-art { display: none; }
@media (min-width: 64em) and (forced-colors: none) {
  .wrap:has(> .gift-art) { display: grid; grid-template-columns: minmax(0, 37rem) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .wrap:has(> .gift-art) > * { grid-column: 1; } .wrap:has(> .gift-art) > form { margin-block: 0 24px; }
  .wrap > .gift-art { grid-column: 2; grid-row: 1 / span 4; align-self: start; justify-self: center; position: sticky; top: 110px; display: grid; align-content: space-between; width: min(100%, 27rem); aspect-ratio: 8 / 5; margin-top: 12px; padding: 22px 26px; background: var(--band) url(/assets/room/ball.svg) right 20px bottom 14px / auto 132% no-repeat; border: 3px solid var(--gold); box-shadow: 10px 10px 0 var(--pink); transform: rotate(2deg); }
  .gift-art b { font-family: var(--f-display); font-weight: 900; font-size: 4.6rem; line-height: .9; color: var(--gold); text-shadow: .05em .05em 0 var(--pink); }
  .gift-art i { font-family: var(--f-label); font-style: normal; font-weight: 700; font-size: .706rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); max-width: 55%; }
}
@media (max-width: 15em) {
  body .wrap > form[data-gift-form] { padding: 12px 0 0; background: none; border: 0; border-top: 3px solid var(--gold); box-shadow: none; }
}

.shop-head, .product, .wrap:has(> form[data-quote-form]), .wrap:has(> form[data-gift-form]) { --u: 1vh; }
@supports (height: 1svh) { .shop-head, .product { --u: 1svh; } }

/* ============ Arcade chips: the filter chips, the quote types, the product options, the gift amounts ============
   Square tokens with a hard drop that press in. The chosen one is gold with a tick (shape and words, not colour alone). */
.shop-body .chips .chip, .types .chip, .opts .seg, .amounts .seg { border-radius: 0; background: var(--well); border: 2px solid var(--head); color: var(--head); box-shadow: 4px 4px 0 var(--cyan); }
.shop-body .chips .chip, .types .chip { font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shop-body .chips .chip:hover, .types .chip:hover, .opts .seg:hover, .amounts .seg:hover { background: var(--band); border-color: var(--gold); }
.shop-body .chips .chip:active, .types .chip:active, .opts .seg:active, .amounts .seg:active { translate: 4px 4px; box-shadow: 0 0 0 var(--cyan); }
.shop-body .chips .chip[aria-pressed="true"], .types .chip[aria-pressed="true"], .opts .seg:has(input:checked), .amounts .seg:has(input:checked) { background: var(--gold); border-color: var(--well); color: var(--ink); box-shadow: 4px 4px 0 var(--pink); }
.shop-body .chips .chip:focus-visible, .types .chip:focus-visible, .opts .seg:has(input:focus-visible), .amounts .seg:has(input:focus-visible) { outline-offset: 6px; }
/* a sold-out option: dashed, hatched and flat; its own words say "(sold out)" */
.opts .seg:has(input:disabled) { opacity: 1; color: var(--soft); border-color: var(--edge); box-shadow: none; translate: none; background: repeating-linear-gradient(-45deg, var(--well) 0 7px, var(--band) 7px 10px); }
.opts, .amounts { gap: 14px 12px; }
.opts legend, .amounts legend { font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; line-height: 1.35; }
.types { gap: 14px 12px; }
.types .chip { min-height: 44px; }

/* ============ /prints: the coffee table ============ */
/* The head is a window onto the room at the table stop (assets/js/room.mjs; its still shows first and wherever 3D
   cannot run). The stage fills the head from behind; the words sit on a dark veil (a ::after layer that taps pass
   through), and the room fades out at the bottom into the page ground. */
.shop-head { --view: max(200px, calc(var(--u) * 40)); display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(var(--view) + 21rem); }
.shop-head > .wrap { padding-top: var(--view); padding-bottom: 8px; }
/* the veil is fully solid before the words start, so no edge of the table runs behind the headline as a stripe */
.shop-head::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 2, 20, 0) calc(var(--view) - 130px), rgba(11, 2, 20, .7) calc(var(--view) - 60px), rgba(11, 2, 20, .97) calc(var(--view) - 4px), rgba(11, 2, 20, .97) calc(100% - 140px), rgba(11, 2, 20, 0) 100%); }
.shop-head > .room-stage { -webkit-mask-image: linear-gradient(#000 calc(100% - 300px), transparent calc(100% - 20px)); mask-image: linear-gradient(#000 calc(100% - 300px), transparent calc(100% - 20px)); }
.shop-head .level { margin-bottom: 14px; }
.shop-head h1 { margin-bottom: .2em; }
.shop-head .sub { margin: 0; max-width: 36rem; }
/* a tablet held upright: a taller window, so the table is not hidden behind the words */
@media (min-width: 40em) and (max-aspect-ratio: 1/1) { .shop-head { --view: max(200px, calc(var(--u) * 46)); } }
/* a wide window: the table stands on the right, the words keep to the left on their own veil */
@media (min-width: 64em) and (min-aspect-ratio: 1001/1000) {
  .shop-head { --view: max(220px, calc(var(--u) * 30)); min-height: clamp(560px, calc(var(--u) * 80), 820px); }
  .shop-head > .wrap { padding-bottom: 20px; }
  .shop-head > .wrap > * { max-width: min(40rem, 44vw); }
  .shop-head::after { background: linear-gradient(to bottom, rgba(11, 2, 20, 0) calc(100% - 200px), var(--bg) 100%), linear-gradient(90deg, rgba(11, 2, 20, .92) 0, rgba(11, 2, 20, .86) 30%, rgba(11, 2, 20, .5) 46%, rgba(11, 2, 20, 0) 60%); }
  .shop-head > .room-stage { -webkit-mask-image: linear-gradient(#000 calc(100% - 220px), transparent 100%); mask-image: linear-gradient(#000 calc(100% - 220px), transparent 100%); }
}
/* The holiday dates: a deadline sign with hazard tape along its top */
.shop-head .order-by { position: relative; width: fit-content; max-width: 100%; margin: 22px 0 6px; padding: 22px 18px 12px; background: var(--well); border: 2px solid var(--orange); box-shadow: 5px 5px 0 var(--pink); }
.shop-head .order-by::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--gold) 0 9px, var(--well) 9px 18px); border-bottom: 2px solid var(--orange); }
.shop-head .order-by p { color: var(--cream); margin: 2px 0; }
@media (min-width: 64em) { .shop-head .order-by { rotate: -1deg; } }

.shop-body { padding-top: 8px; }
main:has(> .shop-head) { overflow-x: clip; }
.shop-body .chips { gap: 14px 12px; margin: 26px 0 32px; }
.shop-body .chips .chip { padding: 0 18px; }

/* Products: framed prints lying on the table, each with a gold price sticker. The photo sits in a dark mat inside the
   frame, so a real product photo (any background) reads as a print on a dark neon ground. */
.shop-body .grid { gap: 36px 20px; margin-top: 0; }
/* a phone: one framed print per row, wider than tall, so names and prices never break into narrow columns */
@media (max-width: 29.99em) { .shop-body .grid { grid-template-columns: minmax(0, 1fr); } .shop-body .grid .card-photo { aspect-ratio: 4 / 3; } }
@media (min-width: 40em) { .shop-body .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 44px 28px; } }
@media (min-width: 64em) { .shop-body .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 52px 36px; } }
.shop-body .card { --c1: var(--orange); --c2: var(--pink); position: relative; overflow: visible; background: var(--surface); border: 2px solid var(--c1); box-shadow: var(--off) var(--off) 0 var(--c2); }
.shop-body .card:nth-child(3n+2) { --c1: var(--gold); --c2: var(--cyan); }
.shop-body .card:nth-child(3n) { --c1: var(--cyan); --c2: var(--pink); }
.shop-body .card a { display: flex; flex-direction: column; padding: 10px 10px 16px; }
.shop-body .card-photo { position: relative; aspect-ratio: 4 / 5; background: var(--well) url(/assets/room/dog.svg) center 60% / auto 46% no-repeat; border: 2px solid var(--well); box-shadow: 0 0 0 2px var(--c1); margin: 2px 2px 14px; overflow: hidden; }
.shop-body .card-photo:has(img) { background-image: none; }
/* the thing's name leads the card: display capitals, below the page's h2 size */
.shop-body .card-name { margin: 0 4px 6px; font-family: var(--f-display); font-weight: 900; font-size: max(1.1rem, min(1.8rem, 1rem + .8vw)); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--head); text-shadow: none; }
.shop-body .card-price { position: absolute; top: -12px; right: -4px; z-index: 1; max-width: calc(100% - 12px); margin: 0; padding: .16em .42em .1em; background: var(--gold); color: var(--ink); font-size: max(1.3rem, min(1.7rem, 6.4vw)); text-transform: uppercase; box-shadow: 3px 3px 0 var(--pink); rotate: 4deg; }
.shop-body .card:nth-child(even) .card-price { rotate: -3deg; }
.shop-body .card .spec { margin: 0 4px; font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.shop-body .card .ready { width: fit-content; max-width: calc(100% - 8px); margin: 12px 4px 0; padding: 4px 10px; background: var(--band); border-left: 4px solid var(--orange); }
.shop-body .card a:hover .card-name { text-decoration: none; color: var(--gold); }
.shop-body .card a:focus-visible { outline-offset: 8px; }
/* the empty catalogue: an empty frame on the table with the dog sitting in it */
.shop-body .grid:empty { display: block; height: 140px; background: url(/assets/room/dog.svg) center bottom 8px / auto 120px no-repeat, linear-gradient(var(--gold), var(--gold)) center bottom / 9rem 6px no-repeat; }
@media (hover: hover) {
  .shop-body .card:hover { translate: -2px -3px; box-shadow: calc(var(--off) + 3px) calc(var(--off) + 4px) 0 var(--c2); }
}
.shop-body .card:active { translate: 3px 3px; box-shadow: 2px 2px 0 var(--c2); }
@media (min-width: 64em) {
  .shop-body .card:nth-child(odd) { rotate: -1deg; } .shop-body .card:nth-child(even) { rotate: .8deg; }
  .shop-body .card:hover, .shop-body .card:focus-within { rotate: 0deg; }
}
@media (prefers-reduced-motion: no-preference) { .shop-body .card { transition: translate 140ms ease-out, rotate 140ms ease-out, box-shadow 140ms ease-out; } }

/* The band: the page's own headline on a tilted strip (drawn by CSS from data-band, so it is not page text) */
/* full bleed at every width: both ends always run off the window (the window clips it; the page never scrolls sideways) */
.shop-band { margin-block: 52px 0; padding-block: 24px 30px; margin-inline: calc(50% - 50vw); }
.shop-band .marquee-band { width: 130%; margin: 0 -15%; }
@media (min-width: 64em) { .shop-band .marquee-band { width: 110%; margin: 0 -5%; } }
.shop-band .marquee-band span::before { content: attr(data-band); }
.shop-band .marquee-band i { display: inline-block; width: .5em; height: .5em; margin: 0 .34em; vertical-align: .12em; background: var(--pink-ink); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
@keyframes shop-band-slide { from { translate: 7% 0; } to { translate: -7% 0; } }
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .shop-band .marquee-band { animation: shop-band-slide linear both; animation-timeline: view(); } } }

/* How it works: a numbered path (the numbers are the list's own) on a gold sticker */
.shop-body .proof-strip { margin-block: 28px 56px; padding: 24px 22px 26px; }
.proof-strip h2, .faq.sticker h2 { font-size: max(1.3rem, min(clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem), 11vw)); margin-bottom: .55em; }
.proof-strip ol, .wrap > .steps { gap: 0; grid-template-columns: minmax(0, 1fr); margin: 0; }
.proof-strip li, .wrap > .steps li { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 0 0 22px; background: none; border: 0; font-weight: 500; }
.proof-strip li:last-child, .wrap > .steps li:last-child { padding-bottom: 0; }
.proof-strip li::before, .wrap > .steps li::before { width: 2.6rem; height: 2.6rem; margin: 0; font-family: var(--f-display); font-size: 1.35rem; font-weight: 900; border: 2px solid var(--well); box-shadow: 3px 3px 0 var(--well); position: relative; z-index: 1; }
.proof-strip li:nth-child(5n+2)::before, .wrap > .steps li:nth-child(5n+2)::before { background: var(--pink); }
.proof-strip li:nth-child(5n+3)::before, .wrap > .steps li:nth-child(5n+3)::before { background: var(--cyan); }
.proof-strip li:nth-child(5n+4)::before, .wrap > .steps li:nth-child(5n+4)::before { background: var(--orange); }
/* the path: a dashed line from each number down to the next */
.proof-strip li:not(:last-child)::after, .wrap > .steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.3rem - 1px); top: 2.6rem; bottom: 0; border-left: 2px dashed var(--gold); }
.proof-strip li { padding-top: .45rem; } .proof-strip li::before { margin-top: -.45rem; } .proof-strip li:not(:last-child)::after { top: 2.15rem; }
@media (min-width: 56em) {
  .proof-strip ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .proof-strip li, .proof-strip li:last-child { display: block; padding: 0; }
  .proof-strip li::before { margin: 0 0 14px; }
  .proof-strip li:not(:last-child)::after { left: calc(2.6rem + 10px); right: 2px; top: 1.3rem; bottom: auto; border-left: 0; border-top: 2px dashed var(--gold); }
}

/* Quick answers: a cyan sign, with the dog sitting on its top edge */
.shop-body .faq.sticker { max-width: 52rem; margin-block: 92px 0; padding: 24px 22px 12px; }
/* on phones only: on bigger screens the footer's own dog is in the same view */
@media (max-width: 39.99em) { .faq.sticker::after { content: ""; position: absolute; right: 22px; top: -66px; width: 64px; height: 66px; background: url(/assets/room/dog.svg) center bottom / contain no-repeat; pointer-events: none; } }
@media (min-width: 40em) { .shop-body .faq.sticker { margin-top: var(--sp-8); } }
.shop-body > .cta-row { margin-top: 36px; }
.shop-body > .cta-row .pill { min-height: 56px; padding-inline: 28px; }
/* wide windows: the sign on the left; beside it the disco ball hangs on its rod from the gold "how it works" sticker
   above, down over the pink quote button, the chapter's last action (the rod and ball are decoration, no words) */
@media (min-width: 64em) {
  .shop-body { display: grid; grid-template-columns: minmax(0, 52rem) minmax(0, 1fr); column-gap: 64px; grid-auto-flow: row dense; }
  .shop-body > * { grid-column: 1 / -1; }
  .shop-body > .faq { grid-column: 1; }
  .shop-body > .cta-row { grid-column: 2; display: flex; flex-direction: column; align-items: center; margin: -56px 0 0; }
  .shop-body > .cta-row::before { content: ""; flex: 1 1 0; min-height: 15rem; max-height: calc(var(--sp-8) + 21rem); width: 6rem; margin-bottom: 30px; pointer-events: none;
    background: url(/assets/room/ball.svg) center bottom / 100% auto no-repeat, linear-gradient(#8a6ac0, #8a6ac0) center top / calc(6rem / 30) calc(100% - 15rem + 1px) no-repeat; }
}

/* ============ A product: a framed print on the wall, the 3D preview's plinth, and the order beside them ============ */
.product { row-gap: 20px; }
/* the photo strip in a frame: a dark mat, an orange edge and a hard pink drop, taped to the wall at its top corners */
.product > .gallery { position: relative; }
.product .slides { border: 10px solid var(--surface); background: var(--well); box-shadow: 0 0 0 2px var(--orange), 9px 9px 0 2px var(--pink); }
.product .slides:focus-visible { outline-offset: 6px; }
.product > .gallery::before, .product > .gallery::after { content: ""; position: absolute; top: -10px; z-index: 1; width: 86px; height: 24px; background: rgba(255, 210, 77, .82); border-inline: 2px dotted rgba(27, 0, 36, .35); pointer-events: none; }
.product > .gallery::before { left: 14px; rotate: -7deg; }
.product > .gallery::after { right: 14px; rotate: 6deg; }
/* the two buttons side by side, the dots pushed to the frame's right edge */
.gal-controls { margin-top: 18px; justify-content: flex-start; gap: var(--sp-3); }
.gal-controls .dots { margin-left: auto; padding-right: 6px; }
.gal-controls button { background: var(--well); box-shadow: 3px 3px 0 var(--cyan); }
.gal-controls button:hover { background: var(--band); border-color: var(--gold); }
.gal-controls button:active { translate: 3px 3px; box-shadow: 0 0 0 var(--cyan); }
.gal-controls button:focus-visible { outline-offset: 5px; }
/* The 3D preview's place (assets/js/product3d.mjs draws into it). Its size is fixed here, so nothing moves when it
   fills. Its ground (a spotlight, two neon glows, the disco ball) is the same with or without 3D. On it, a still of
   the product on its plinth: the live scene's own resting frame on this same ground, rendered from product3d.mjs by scripts/make-p3d-stills.mjs
   (assets/room/p3d-<kind>-wide.webp for the 16:10 box, -tall for the 4:5 box). The live scene's first frame is that
   same picture, so the canvas simply replaces it (no fade, nothing jumps). */
.p3d { --still: url(/assets/room/p3d-coaster-round-wide.webp); position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; contain: layout paint; border: 2px solid var(--cyan); box-shadow: 6px 6px 0 var(--gold);
  background:
    url(/assets/room/ball.svg) right 9% top -4% / auto 40% no-repeat,
    linear-gradient(100deg, transparent 38%, rgba(255, 210, 77, .13) 47% 53%, transparent 62%),
    radial-gradient(ellipse 60% 46% at 12% 18%, rgba(255, 0, 127, .16), transparent 70%),
    radial-gradient(ellipse 60% 46% at 88% 22%, rgba(53, 224, 255, .12), transparent 70%),
    var(--well); }
.p3d[data-kind="coaster-square"] { --still: url(/assets/room/p3d-coaster-square-wide.webp); }
.p3d[data-kind="cooler"] { --still: url(/assets/room/p3d-cooler-wide.webp); }
.p3d[data-kind="wallet"] { --still: url(/assets/room/p3d-wallet-wide.webp); }
.p3d[data-kind="card"] { --still: url(/assets/room/p3d-card-wide.webp); }
.p3d::before { content: ""; position: absolute; inset: 0; background: var(--still) center / 100% 100% no-repeat; pointer-events: none; }
/* the live product: the canvas takes over one frame after its first frame. A sideways drag spins it; pan-y leaves
   vertical swipes to the page. */
.p3d > canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; opacity: 0; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; user-select: none; }
.p3d.p3d-live > canvas { opacity: 1; }
.p3d.p3d-live::before { visibility: hidden; }
.p3d.p3d-drag > canvas { cursor: grabbing; }
@media (forced-colors: active) { .p3d > canvas { display: none; } }
@media (max-width: 55.99em) { .product .slide { max-height: max(15rem, calc(var(--u) * 40)); } .product > .crumbs ol { margin-bottom: 4px; } }
/* a phone: one column in the order a customer works in. The order column opens up into the page's grid, so the name,
   price and options come straight after the photo, and the 3D preview stands right above the upload box, where the
   customer's photo lands on it. Only the aria-hidden preview moves; the reading and tab order stay as the markup has it. */
@media (max-width: 39.99em) {
  .product .slide { aspect-ratio: 4 / 3; }
  .product:has(> .p3d) > .buy { display: contents; }
  .product:has(> .p3d) > .p3d { order: 1; margin-top: 10px; }
  .product:has(> .p3d) > .buy > :is(.add-image, .add-image ~ *) { order: 2; }
  .product:has(> .p3d) > .buy > * { margin-block: 0; }
  .product:has(> .p3d) > .buy > .amount { justify-self: start; }
  .product:has(> .p3d) > .buy > .opts { margin-top: 6px; }
  .product:has(> .p3d) > .buy > .add-image { margin-top: 18px; }
}
/* a tablet: the photo and the plinth side by side, the order under them */
@media (min-width: 40em) and (max-width: 55.99em) {
  .product:has(> .p3d) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 28px; }
  .product:has(> .p3d) > :not(.gallery, .p3d) { grid-column: 1 / -1; }
  .product:has(> .p3d) .slide { max-height: max(15rem, calc(var(--u) * 46)); }
  /* its own shape, centred beside the photo, so the plinth is never a speck at the bottom of a tall black box */
  .product > .p3d { aspect-ratio: 4 / 5; min-height: 16rem; align-self: center; background-size: auto 26%, auto, auto, auto, auto; --still: url(/assets/room/p3d-coaster-round-tall.webp); }
  .product > .p3d[data-kind="coaster-square"] { --still: url(/assets/room/p3d-coaster-square-tall.webp); }
  .product > .p3d[data-kind="cooler"] { --still: url(/assets/room/p3d-cooler-tall.webp); }
  .product > .p3d[data-kind="wallet"] { --still: url(/assets/room/p3d-wallet-tall.webp); }
  .product > .p3d[data-kind="card"] { --still: url(/assets/room/p3d-card-tall.webp); }
}
@media (min-width: 56em) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(48px, 5vw, 88px); row-gap: 28px; }
  .product > .gallery { grid-column: 1; grid-row: 2; width: 100%; max-width: 34rem; justify-self: center; }
  .product:has(> .p3d) > .gallery { position: relative; top: auto; }
  .product > .p3d { grid-column: 1; grid-row: 3; align-self: start; max-width: 34rem; justify-self: center; aspect-ratio: 16 / 10; position: sticky; top: 96px; }
  .product > .buy { grid-column: 2; grid-row: 2 / span 2; }
}

.buy h1 { margin: 0 0 .22em; }
.buy .amount { display: inline-block; max-width: 100%; margin: 4px 0 18px; padding: .14em .42em .08em; background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--pink); rotate: -2deg; }
.buy .voice { margin: 0 0 6px; font-family: var(--f-display); font-weight: 900; font-size: max(1.3rem, min(2.1rem, 7.6vw)); line-height: .98; letter-spacing: .01em; text-transform: uppercase; color: var(--cyan); text-shadow: .05em .05em 0 var(--pink); text-wrap: balance; }
.buy > .spec { font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 22px; }
.buy .opts { margin: 0 0 22px; }

/* The photo box: a drop slot with a dashed cyan edge; the dog peeks over it */
.buy .add-image { margin: 46px 0 22px; padding: 22px 20px 16px; background: var(--surface); border: 2px dashed var(--cyan); box-shadow: 6px 6px 0 var(--pink); }
/* the dog peeks over the box only on wide screens, where it is the one dog in view */
@media (min-width: 64em) { .buy .add-image::before { content: ""; position: absolute; right: 18px; top: -54px; width: 54px; height: 54px; background: url(/assets/room/dog.svg) center bottom / contain no-repeat; pointer-events: none; } }
.add-image h2 { font-size: var(--fs-label); letter-spacing: .1em; margin-bottom: 12px; }
.add-image .hint { margin: 10px 0 0; }
.add-image .note-needs { margin: 14px 0 8px; padding: 10px 0; border-block: 2px dashed var(--edge); }
.add-image .note-needs label { display: flex; align-items: flex-start; gap: 12px; }
.add-image [data-choose] { min-width: min(12rem, 100%); max-width: 100%; }
.add-image [data-choose][aria-invalid="true"] { border-style: double; border-width: 4px; border-color: var(--bad); }
.up-name { color: var(--cream); font-weight: 600; margin-top: 12px; }
/* every message the box can show: checking, sharp, fine, soft, unknown, an error, the "add a photo" prompt */
.add-image .badge { background: var(--well); border: 2px dashed var(--edge); color: var(--cream); }
.add-image .badge .icon { flex: none; width: 22px; height: 22px; }
.add-image .badge[data-level="great"] { border: 2px solid var(--good); box-shadow: 4px 4px 0 var(--good); color: var(--good); }
.add-image .badge[data-level="soft"] { border: 4px double var(--bad); color: var(--bad); }
.add-image .badge[data-level="ok"], .add-image .badge[data-level="unknown"] { border: 2px solid var(--cyan); color: var(--cream); }
.add-image .badge[data-level="ok"] .icon, .add-image .badge[data-level="unknown"] .icon { color: var(--cyan); }
.add-image .up-error { padding: 10px 12px; background: var(--well); border: 4px double var(--bad); }
/* a drawn warning triangle (a shape, not a character) */
.add-image .up-error::before { content: ""; display: inline-block; width: 1.05em; height: .92em; margin-right: .45em; vertical-align: -.1em; background: linear-gradient(var(--well), var(--well)) 50% 38% / 2px 34% no-repeat, linear-gradient(var(--well), var(--well)) 50% 82% / 2px 2px no-repeat, var(--bad); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.add-image .up-prompt { padding: 10px 12px; background: var(--band); border-left: 6px solid var(--pink); color: var(--cream); }
/* the preview, cut to the print's shape like the thing itself: a coaster's gold rim, a pink drop under it */
.up-preview { max-width: 20rem; }
.add-image .clip { background: var(--well); border: 3px solid var(--gold); box-shadow: 6px 6px 0 var(--pink); }
.add-image .clip:focus-visible { outline-offset: 8px; }
.up-controls { margin-top: 18px; gap: 10px; }
.up-controls label { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.nudge { gap: 10px; }
.nudge button, .up-controls .pill { background: var(--well); box-shadow: 3px 3px 0 var(--cyan); }
.nudge button:hover, .up-controls .pill:hover { background: var(--band); border-color: var(--gold); }
.nudge button:active, .up-controls .pill:active { transform: none; translate: 3px 3px; box-shadow: 0 0 0 var(--cyan); }
.nudge button:focus-visible, .up-controls .pill:focus-visible { outline-offset: 5px; }
.nudge .icon { flex: none; }

/* Quantity: a round arcade stepper with a gold drop */
.buy .qty > label { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.buy .stepper { border: 2px solid var(--head); background: var(--well); box-shadow: 4px 4px 0 var(--gold); }
.buy .stepper button:hover { color: var(--gold); }
.buy .stepper input { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; }

/* Pack prices: a receipt with a torn bottom edge; the row you are on carries a gold bar and a tick */
.bulk-wrap { margin: 20px 0 6px; padding-bottom: 10px; }
.bulk-wrap .bulk, .bulk-tables .bulk { --tear: 9px; border: 0; background: var(--surface); padding-bottom: var(--tear);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / calc(2 * var(--tear)) var(--tear) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / calc(2 * var(--tear)) var(--tear) repeat-x; }
.bulk caption { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 8px 12px; caption-side: top; }
.bulk th, .bulk td { border-bottom: 2px dashed var(--edge); }
.bulk tbody tr:last-child > * { border-bottom: 0; }
.bulk td { font-variant-numeric: tabular-nums; font-weight: 600; }
.bulk-wrap:focus-visible { outline-offset: 4px; }
/* the deal line: a pink-edged ticket */
.buy .next-break { width: fit-content; max-width: 100%; margin: 12px 0 22px; padding: 8px 12px; background: var(--well); border: 2px dashed var(--pink); color: var(--cream); }
.buy .next-break[hidden] { display: none; }

/* Add to cart: the one big pink button */
.buy [data-add-to-cart] { width: 100%; min-height: 60px; font-size: 1.06rem; box-shadow: 6px 6px 0 var(--gold); }
.buy [data-add-to-cart]:active { box-shadow: 2px 2px 0 var(--gold); }
/* what happened after a tap: "Added …" with View cart and Undo gets a mint bar; a nudge or a problem gets a pink one */
.buy .add-status:not(:empty) { margin-top: 18px; padding: 12px 14px; background: var(--band); border-left: 6px solid var(--pink); color: var(--cream); }
.buy .add-status:empty { min-height: 0; margin: 0; }
.buy .add-status:not(:empty):has(a) { border-left-color: var(--good); }
/* a drawn tick (a shape, not a character) */
.buy .add-status:has(a)::before { content: ""; display: inline-block; width: .32em; height: .62em; margin: 0 .55em 0 .15em; border: solid var(--good); border-width: 0 3px 3px 0; rotate: 45deg; vertical-align: .02em; }
/* the links stay in the sentence's line (no tall line boxes); padding and a matching negative margin keep a 44px tap height */
.buy .add-status a, .buy .add-status .link-btn { color: var(--link); display: inline; min-height: 0; padding: 12px 2px; margin: -12px -2px; line-height: inherit; vertical-align: baseline; }
.buy .add-status .link-btn { display: inline-block; }

/* Pickup and shipping: a ticket stub, perforated between its two lines */
.buy .delivery { margin: 30px 0 26px; padding: 6px 16px; background: var(--well); border: 2px solid var(--gold); box-shadow: 5px 5px 0 var(--cyan); }
.buy .delivery p { margin: 10px 0; font-weight: 600; }
.buy .delivery p + p { padding-top: 10px; border-top: 2px dashed var(--edge); }
/* the facts: a sticker */
.buy > .accs { background: var(--surface); border: 2px solid var(--orange); box-shadow: var(--off) var(--off) 0 var(--pink); padding: 4px 18px; }
.buy > .accs details:last-child { border-bottom: 0; }

/* the phone bar: ink, a pink rule and a gold line over it */
.sticky-bar { background: var(--well); box-shadow: 0 -6px 0 var(--gold); }
.sticky-msg { color: var(--cream); }
.sticky-msg a { color: var(--link); }

/* ============ /prints/custom, /prints/business, /gift-cards: the head keeps the home rhythm (the line under the
   headline sits .2em below it, as on home, /nights and /prints) ============ */
.wrap:has(> form:is([data-quote-form], [data-gift-form])) > h1 { margin-bottom: .2em; }
.wrap:has(> form:is([data-quote-form], [data-gift-form])) > h1 + .sub { margin-top: 0; }

/* ============ /prints/custom and /prints/business: the quote form is an order pad ============ */
/* a pad with a glued, punched top strip in its own colour; never tilted (it holds fields) */
.wrap > form[data-quote-form] { --c1: var(--gold); --c2: var(--pink); position: relative; max-width: 40rem; padding: 40px 22px 24px; background: var(--surface); border: 2px solid var(--c1); --st: 3px; box-shadow: var(--st) var(--st) 0 -2px var(--surface), var(--st) var(--st) 0 0 var(--c1), calc(var(--st) * 2) calc(var(--st) * 2) 0 -2px var(--surface), calc(var(--st) * 2) calc(var(--st) * 2) 0 0 var(--c1), calc(var(--st) * 3) calc(var(--st) * 3) 0 0 var(--c2); }
@media (min-width: 40em) { .wrap > form[data-quote-form] { --st: 6px; } }
.wrap > form[data-form-name="business-quote"] { --c1: var(--cyan); --c2: var(--gold); }
.wrap > form[data-quote-form]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: radial-gradient(circle at 50% 50%, var(--bg) 0 4px, transparent 5px) 4px 0 / 24px 18px repeat-x, var(--c1); border-bottom: 2px solid var(--well); pointer-events: none; }
form[data-quote-form] > label:not(.check) { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 14px; line-height: 1.35; }
form[data-form-name="business-quote"] > label:not(.check), form[data-form-name="business-quote"] legend { color: var(--cyan); }
form[data-quote-form] fieldset { margin: 14px 0 0; padding: 12px 0 4px; border: 0; border-block: 2px dashed var(--edge); display: grid; gap: 4px; }
form[data-quote-form] legend { font-family: var(--f-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 0; margin-bottom: 4px; }
form[data-quote-form] .check { margin-top: 10px; }
/* the file picker's button is the same arcade object as the product page's "Choose a photo"; the browser's own words stay */
form[data-quote-form] input[type=file] { color: var(--soft); }
form[data-quote-form] input[type=file]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 6px 18px; font-family: var(--f-label); font-size: .735rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cream); background: var(--well); border: 2px solid var(--cream); box-shadow: 4px 4px 0 var(--gold); transition: translate 90ms ease-out, box-shadow 90ms ease-out; }
form[data-quote-form] input[type=file]::file-selector-button:hover { background: var(--band); border-color: var(--gold); }
form[data-quote-form] input[type=file]:active::file-selector-button { translate: 4px 4px; box-shadow: 0 0 0 var(--gold); }
/* the narrowest phones: a slimmer pad edge and button, so the browser's own "no file" words fit beside it in full */
@media (max-width: 23.99em) {
  .wrap > form[data-quote-form] { padding-inline: 16px; }
  form[data-quote-form] input[type=file] { font-size: .94rem; }
  form[data-quote-form] input[type=file]::file-selector-button { margin-right: 8px; padding-inline: 10px; letter-spacing: .02em; }
}
form[data-quote-form] button[type=submit] { margin-top: 22px; }
/* sent: the words alone, stamped */
form[data-quote-form] .form-done:not([hidden]) { margin: 0; padding: 18px 16px; background: var(--well); border: 4px double var(--good); font-family: var(--f-display); font-size: max(1.3rem, min(2rem, 8vw)); font-weight: 900; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--good); rotate: -1deg; }
.form .form-status[data-state="error"], form[data-gift-form] .form-status[data-state="error"] { padding: 10px 12px; background: var(--well); border: 4px double var(--bad); }
.wrap > .sub + .types { margin-top: 28px; }
/* wide windows: the words on the left, the pad on the right */
@media (min-width: 64em) {
  .wrap:has(> form[data-quote-form]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38rem); column-gap: clamp(48px, 6vw, 112px); row-gap: 0; align-items: start; }
  .wrap:has(> form[data-quote-form]) > * { grid-column: 1 / -1; }
  /* custom: crumbs, h1, then the intro and the type chips on the left, the pad beside them */
  .wrap:has(> form[data-form-name="custom-order"]) > :is(.sub, .types) { grid-column: 1; }
  .wrap > form[data-form-name="custom-order"] { grid-column: 2; grid-row: 3 / span 3; margin: 6px 0 0; }
  /* business: the head and the receipts across the page, then the steps and the payment line on the left, the pad beside them */
  .wrap:has(> form[data-form-name="business-quote"]) > :is(.steps, .steps + p) { grid-column: 1; }
  .wrap > form[data-form-name="business-quote"] { grid-column: 2; grid-row: 5 / span 3; margin: 40px 0 0; }
  /* the left column's last row runs beside the rest of the pad: a drawn coaster stands there and travels with the
     customer while they fill the pad in (decoration, no words) */
  .wrap:has(> form[data-quote-form])::after { content: ""; grid-column: 1; grid-row: 5; align-self: start; justify-self: center; position: sticky; top: calc(var(--header-h, 72px) + 56px); width: min(100%, 17rem); aspect-ratio: 1; margin-top: var(--sp-7); border-radius: 50%; border: 6px solid var(--gold); box-shadow: 0 0 0 3px var(--well), 12px 12px 0 3px var(--pink); rotate: -8deg; pointer-events: none;
    background: url(/assets/room/dog.svg) center 62% / auto 58% no-repeat, radial-gradient(circle at 50% 120%, rgba(255, 126, 95, .55), transparent 62%), radial-gradient(circle, var(--band) 0 66%, var(--surface) 67%); }
  .wrap:has(> form[data-form-name="custom-order"]) { grid-template-rows: repeat(4, auto) 1fr; }
  .wrap:has(> form[data-form-name="business-quote"]) { grid-template-rows: repeat(6, auto) 1fr; }
  .wrap:has(> form[data-form-name="business-quote"])::after { grid-row: 7; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--well), 12px 12px 0 3px var(--gold); rotate: 7deg; }
}
/* the head's words sit on a veil on the left, so the room still shows clear on the right */
main:has(> .wrap > form:is([data-quote-form], [data-gift-form])) > .page-art::after { background: linear-gradient(to bottom, rgba(11, 2, 20, .08) 0, rgba(11, 2, 20, .08) 20%, rgba(11, 2, 20, .98) 38%, rgba(11, 2, 20, .98) 100%); }
/* custom: the table stop's own framing shows the whole dog on a phone; on a wider phone still the dog would be cut by
   the header, so the crop moves down onto the table and the dog stays out of frame */
@media (min-width: 35em) and (max-width: 47.99em) { main:has(> .wrap > form[data-form-name="custom-order"]) > .page-art { --art-y: 46%; } }
@media (min-width: 48em) {
  main:has(> .wrap > form:is([data-quote-form], [data-gift-form])) > .page-art::after { background: linear-gradient(to bottom, rgba(11, 2, 20, 0) 44%, rgba(11, 2, 20, .94) 84%), linear-gradient(90deg, rgba(11, 2, 20, .94) 0, rgba(11, 2, 20, .9) 52%, rgba(11, 2, 20, .4) 68%, rgba(11, 2, 20, 0) 82%); }
  /* business: the neon sign rides up out of the way of the headline */
  main:has(> .wrap > form[data-form-name="business-quote"]) > .page-art { --art-desk-y: 74%; }
}
main:has(> .wrap > form[data-form-name="business-quote"]) > .page-art { --art-y: 62%; }

/* Business: the bulk prices are receipts laid side by side; the steps are a numbered path on a gold sticker */
.bulk-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 28px 24px; align-items: start; }
.bulk-tables .bulk-wrap { margin: 0; filter: drop-shadow(5px 5px 0 var(--pink)); }
.bulk-tables .bulk-wrap:nth-child(3n+2) { filter: drop-shadow(5px 5px 0 var(--cyan)); }
.bulk-tables .bulk-wrap:nth-child(3n) { filter: drop-shadow(5px 5px 0 var(--orange)); }
.bulk-tables .bulk { width: 100%; }
.bulk-tables .bulk-ask { grid-column: 1 / -1; margin: 0; width: fit-content; max-width: 100%; padding: 10px 14px; background: var(--band); border-left: 6px solid var(--gold); }
@media (min-width: 64em) {
  .bulk-tables .bulk-wrap:nth-child(odd) { rotate: -1deg; } .bulk-tables .bulk-wrap:nth-child(even) { rotate: .8deg; }
  /* the page's money objects at the size of the money: bigger slips, the prices in gold display type */
  .bulk-tables { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 36px 32px; }
  .bulk-tables .bulk th[scope="row"], .bulk-tables .bulk td { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1.1; }
  .bulk-tables .bulk td { color: var(--gold); }
}
.wrap > .steps { position: relative; max-width: 34rem; padding: 22px 20px; background: var(--surface); border: 2px solid var(--gold); box-shadow: var(--off) var(--off) 0 var(--pink); }
.wrap > .steps li { padding-top: .5rem; } .wrap > .steps li::before { margin-top: -.5rem; } .wrap > .steps li:not(:last-child)::after { top: 2.1rem; }
.wrap > .steps + p { font-weight: 600; width: fit-content; max-width: 100%; padding: 10px 14px; background: var(--band); border-left: 6px solid var(--cyan); }

/* ============ /gift-cards ============ */
.amounts .seg { padding: 0 16px; font-weight: 700; }
form[data-gift-form] > label:not(.check), form[data-gift-form] .custom-amt label { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 14px; line-height: 1.35; }
form[data-gift-form] .note { padding: 10px 12px; background: var(--band); border-left: 6px solid var(--gold); color: var(--cream); }
/* The drawn gift card (site.js makes it, hidden from readers): it repeats the amount picked and the page's title.
   Finished here: a gold chip, neon stripes, the disco ball; on phones and tablets it floats in the room above the
   headline (placed absolutely, so it can never push the page about when it appears). */
.wrap:has(> .gift-art) { position: relative; }
.wrap > .gift-art { display: grid; grid-template-rows: 1fr auto; align-content: stretch; position: absolute; z-index: 1; top: var(--sp-6); right: calc(var(--pad-x) + var(--off) + 6px); width: min(46%, 15rem); aspect-ratio: 8 / 5; padding: 4% 5%; box-sizing: border-box; border: 2px solid var(--gold); box-shadow: 6px 6px 0 var(--pink); rotate: 4deg; pointer-events: none;
  background: url(/assets/room/ball.svg) right 5% bottom 8% / auto 118% no-repeat, linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .07) 42% 50%, transparent 62%), radial-gradient(circle at 18% 120%, rgba(255, 126, 95, .35), transparent 46%), var(--band); }
.wrap > .gift-art::before { content: ""; position: absolute; top: 9%; left: 5%; width: 16%; aspect-ratio: 4 / 3; border-radius: 4px; border: 1px solid var(--well); background: linear-gradient(90deg, transparent 32%, rgba(27, 0, 36, .55) 32% 36%, transparent 36% 64%, rgba(27, 0, 36, .55) 64% 68%, transparent 68%), linear-gradient(transparent 46%, rgba(27, 0, 36, .55) 46% 54%, transparent 54%), var(--gold); }
.gift-art b { align-self: end; font-family: var(--f-display); font-weight: 900; font-size: min(2.6rem, 10vw); line-height: .9; color: var(--gold); text-shadow: .05em .05em 0 var(--pink); }
.gift-art i { font-family: var(--f-label); font-style: normal; font-weight: 700; font-size: max(.5rem, min(.706rem, 2.6vw)); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); max-width: 64%; margin-top: 4px; line-height: 1.2; white-space: nowrap; }
@media (max-width: 19.99em) { .wrap > .gift-art { display: none; } }
/* a tablet: the form fills the column, no thin dead strip beside it */
@media (min-width: 40em) and (max-width: 63.99em) { .wrap > form[data-gift-form] { max-width: none; } }
@media (min-width: 64em) {
  .wrap > .gift-art { position: sticky; top: 110px; right: auto; z-index: auto; width: min(100%, 27rem); padding: 22px 26px; border-width: 3px; box-shadow: 10px 10px 0 var(--pink); rotate: 0deg; }
  .gift-art b { font-size: 4.6rem; }
  .gift-art i { font-size: .706rem; white-space: normal; max-width: 55%; }
  .wrap > .gift-art::before { top: 22px; left: 26px; width: 4rem; }
  .gift-art b { align-self: center; }
}

/* ============ Small screens, forced colours, more contrast ============ */
@media (max-width: 15em) {
  body .shop-head { --view: 150px; }
  body .shop-body .card-price { right: -4px; }
  body .shop-body .proof-strip, body .shop-body .faq.sticker { padding: 14px 10px; }
  body .shop-body .card a { padding: 8px 8px 12px; }
  body .buy .add-image, body .wrap > form[data-quote-form], body .wrap > .steps, body .buy > .accs { padding-inline: 12px; }
  body .proof-strip li, body .wrap > .steps li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 0 18px; }
  body .proof-strip li:last-child, body .wrap > .steps li:last-child { padding-bottom: 0; }
  body .proof-strip li::after, body .wrap > .steps li::after { display: none; }
  body .buy .add-image::before, body .faq.sticker::after { display: none; }
}
@media (prefers-contrast: more) {
  .shop-head::after { background: rgba(11, 2, 20, .96); }
}
@media (forced-colors: active) {
  .shop-head::after, .shop-head .order-by::before, .product > .gallery::before, .product > .gallery::after, .faq.sticker::after, .buy .add-image::before, .wrap > form[data-quote-form]::before, .wrap:has(> form[data-quote-form])::after, .shop-band, .wrap > .gift-art, .shop-body > .cta-row::before { display: none; }
  .shop-head { min-height: 0; } .shop-head > .wrap { padding-top: 24px; }
  .shop-body .card, .shop-head .order-by, .product .slides, .p3d, .buy .amount, .buy .add-image, .buy .stepper, .buy .delivery, .buy > .accs, .wrap > form[data-quote-form], .wrap > .steps, .shop-body .card-price, .chips .chip, .types .chip, .opts .seg, .amounts .seg, .gal-controls button, .nudge button, .bulk-tables .bulk-wrap, .add-image .clip { box-shadow: none; filter: none; border: 2px solid CanvasText; }
  .p3d { background: Canvas; }
  .buy .voice { text-shadow: none; }
}
