/*
 * 소유맥 사이트 v0.9.0 · 제품 상세 ‘화면으로 살펴보기’ (2026-10-05, FB-20261005-SITE-01)
 * 제품 상세 5쪽에서만 불러온다. src/pages.mjs shell()에서 /devices.css 다음, /palette-1b.css 바로 앞(1b가 계속 마지막).
 * 색은 palette-1b.css의 --sym-* 토큰만 쓴다(값을 새로 만들지 않는다). 모양 규칙: 카드 14 · 칩 9.
 * 폭: .wrap 폭을 그대로 써서 소개(.product-intro)와 왼쪽 선을 맞춘다. figcaption은 styles.css의 .screenshot-figure 가운데 정렬을 왼쪽 정렬로 되돌린다.
 * 배치: 첫 화면은 넓게, 나머지는 화면·설명을 나란히(짝수 번째는 좌우 바꿈). 900px 이하에서는 위아래로 쌓는다.
 * 이미지의 --shot-w는 2배율 원본의 1배 폭이라, 작은 시트(SOUshot 단축키)가 늘어나 흐려지지 않는다.
 */
.product-gallery { padding-bottom: 40px; }
.gallery-head { max-width: 800px; margin-bottom: 32px; }
.gallery-head h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; }
.gallery-note { margin-top: 14px; padding: 14px 18px; background: var(--sym-surface); border: 1px solid var(--sym-line); border-radius: 14px; color: var(--sym-muted); font-size: .9375rem; line-height: 1.75; }
.gallery-note strong { display: block; color: var(--sym-ink); font-weight: 600; margin-bottom: 2px; }
.shot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.shot { margin: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; }
.shot-list > li:nth-child(odd):not(:first-child) .shot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.shot-list > li:nth-child(odd):not(:first-child) .shot-frame { order: 2; }
.shot-frame { display: flex; justify-content: center; align-items: center; padding: 24px; background: var(--sym-surface2); border: 1px solid var(--sym-line); border-radius: 14px; min-width: 0; }
.shot-frame img { display: block; width: auto; max-width: min(100%, var(--shot-w, 100%)); height: auto; max-height: 620px; border-radius: 8px; border: 1px solid var(--sym-line); background: var(--sym-surface); }
.shot figcaption { min-width: 0; margin-top: 0; color: var(--sym-ink); font-size: 1rem; text-align: left; }
.shot-index { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--sym-muted); margin-bottom: 8px; }
.shot h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.4; margin-bottom: 12px; }
.shot figcaption p:not(.shot-index) { font-size: 1rem; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
/* 첫 화면: 넓게 보여 주고 설명은 아래 읽기 폭으로 */
.shot-list > li:first-child .shot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.shot-list > li:first-child .shot-frame { padding: 30px; }
.shot-list > li:first-child .shot-frame img { max-height: 680px; }
.shot-list > li:first-child figcaption { max-width: 800px; }
@media (max-width: 900px) {
  .shot, .shot-list > li:nth-child(odd):not(:first-child) .shot { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .shot-list > li:nth-child(odd):not(:first-child) .shot-frame { order: 0; }
  .shot-list { gap: 44px; }
}
@media (max-width: 650px) {
  .product-gallery { padding-bottom: 24px; }
  .gallery-head h2 { font-size: 1.5rem; }
  .gallery-note { font-size: .875rem; padding: 12px 14px; }
  .shot-frame, .shot-list > li:first-child .shot-frame { padding: 12px; }
  .shot-frame img, .shot-list > li:first-child .shot-frame img { max-height: 560px; border-radius: 6px; }
  .shot h3 { font-size: 1.1875rem; }
  .shot figcaption p:not(.shot-index) { font-size: .9375rem; line-height: 1.8; }
}
