/* Wide screens (Jeff 2026-11-11): "we have a lot more real-estate to use on a workstation" -> "keep the core as is and add
   complimentary items on the right side". The page itself is untouched; on a screen 80rem (1280px) or wider js/pairs.js
   adds a panel in the empty space right of the page: in-stock pieces that go with the piece (item pages) or with what the
   list is showing (In Stock / New Arrivals). Below 80rem nothing here shows, so phones and tablets are exactly as before.
   Linked from in-stock.html, new-arrivals.html and tools\item-template.html. */
.pairs { display: none; }
@media (min-width: 80rem) {
  .pairs {
    position: fixed; top: 4.25rem; z-index: 5; max-height: calc(100vh - 5.5rem); overflow-y: auto; scrollbar-width: thin;
    padding: 0.9rem 0.9rem 0.4rem; border: 1px solid var(--line, rgba(244, 242, 236, 0.22)); border-radius: 4px;
    background: rgba(244, 242, 236, 0.03); color: var(--cream, #f4f2ec); font-family: 'Marcellus', Georgia, serif;
  }
  .pairs.on { display: block; }
  .pairs h2 { margin: 0 0 0.15rem; font-weight: 400; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
  .pairs .why { margin: 0 0 0.8rem; font-size: 0.85rem; opacity: 0.65; line-height: 1.35; }
  .pairs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.8rem; }
  .pairs a { display: block; color: inherit; text-decoration: none; }
  .pairs .ph { display: block; aspect-ratio: 5 / 4; background: var(--cream, #f4f2ec); border-radius: 2px; overflow: hidden; }
  .pairs .ph img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.2s; }
  .pairs a:hover .ph img, .pairs a:focus-visible .ph img { transform: scale(1.04); }
  .pairs .nm { display: block; margin-top: 0.3rem; font-size: 0.9rem; line-height: 1.25; }
  .pairs a:hover .nm { text-decoration: underline; text-underline-offset: 3px; }
  .pairs .pr { display: block; font-size: 0.85rem; opacity: 0.75; }
  .pairs .all { display: block; margin: 0.9rem 0 0.5rem; font-size: 0.85rem; opacity: 0.8; text-decoration: underline; text-underline-offset: 3px; }
}
