/* Wilder Goods — product quick view (app.js › quickView) */
.card-art { position: relative; }
.card-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: zoom-in; }
.card-open:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.card-name { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }

.qv { position: fixed; inset: 0; margin: auto; height: fit-content; overflow-y: auto; overscroll-behavior: contain; width: min(940px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(46, 42, 38, .55); }
.qv::backdrop { background: rgba(46, 42, 38, .45); backdrop-filter: blur(3px); }
.qv[open] { animation: qv-in .35s var(--ease) both; }
@keyframes qv-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.qv-in { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 520px; }
.qv-art { position: relative; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 12%, #fff9, transparent 62%), var(--tint, var(--oat-2)); }
.qv-art::after { content: ""; position: absolute; bottom: 18%; left: 22%; width: 56%; height: 7%; border-radius: 50%; background: #2c24121f; filter: blur(12px); }
.qv-vessel { width: 72%; aspect-ratio: 1; position: relative; z-index: 1; }
.qv-pv { width: 100%; height: 100%; filter: drop-shadow(10px 18px 6px #3f261224); }
.qv-nav { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; }
.qv-nav button, .qv-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fffdfacc; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.qv-nav button:hover, .qv-close:hover { background: var(--ink); color: var(--paper); }
.qv-body { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.6rem, 4vw, 2.8rem); overflow-y: auto; }
.qv-close { position: absolute; top: 14px; right: 14px; font-size: 1.4rem; }
.qv-cat { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); }
.qv-body h2 { font-family: var(--disp); font-weight: 350; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; padding-right: 48px; }
.qv-price { font-size: 1.3rem; font-weight: 600; }
.qv-note { font-size: .85rem; color: var(--ink-2); margin-top: -.4rem; }
.qv-desc { font-size: .95rem; line-height: 1.7; color: var(--ink-2); }
.qv-facts { list-style: none; padding: .9rem 0; margin: 0; border-block: 1px solid var(--line); display: grid; gap: .45rem; }
.qv-facts li { position: relative; padding-left: 1.3rem; font-size: .85rem; }
.qv-facts li::before { content: "◍"; position: absolute; left: 0; color: var(--clay-a); }
.qv-buy { display: flex; gap: 10px; align-items: stretch; margin-top: .4rem; }
.qv-qty { display: flex; align-items: center; border: 1px solid var(--line-2); }
.qv-qty button { width: 40px; height: 100%; min-height: 48px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qv-qty output { min-width: 26px; text-align: center; font-weight: 600; }
.qv-add { flex: 1; border-radius: 0; }
.qv-ship { font-size: .75rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .qv-in { grid-template-columns: 1fr; min-height: 0; }
  .qv-art { aspect-ratio: 5 / 3; }
  .qv-vessel { width: 46%; }
  .qv-body { overflow: visible; gap: .6rem; padding: 1.4rem 1.2rem 1.6rem; }
  .qv-desc { font-size: .9rem; line-height: 1.6; }
  .qv-close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .qv[open] { animation: none; } }

/* ---------------- product photography (img/) ----------------
   Photos replace the illustrated vessels: they fill their box, keep
   the sheet's own warm backdrop, and drop the painted floor shadow. */
.card-art.is-photo { aspect-ratio: 750 / 664; background: #eee3d6; overflow: hidden; }
.card-art.is-photo::after { display: none; }
.card-art img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .8s var(--ease); }
.card:hover .card-art img.photo { transform: scale(1.045); }
.ci-art.is-photo { overflow: hidden; padding: 0; }
.ci-art img.photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.qv-art.is-photo { background: #eee3d6; }
.qv-art.is-photo::after { display: none; }
.qv-art.is-photo .qv-vessel { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; }
.qv-art.is-photo { overflow: hidden; }
.qv-art.is-photo::before { content: ""; position: absolute; inset: -40px; background: var(--photo) center / cover; filter: blur(30px) saturate(.9); opacity: .85; }
.qv-art.is-photo .qv-vessel { z-index: 1; }
.qv-art.is-photo .qv-pv { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(46, 42, 38, .18)); }
.story-art.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.story-photos img { display: block; width: 100%; height: auto; aspect-ratio: 750 / 664; object-fit: cover; }
@media (max-width: 760px) { .qv-art.is-photo { aspect-ratio: 750 / 664; } }
@media (prefers-reduced-motion: reduce) { .card:hover .card-art img.photo { transform: none; } }
