/* product.css — 제품 상세 전용. 하단 고정 구매 바(구매 박스가 화면을 벗어나면 노출).
   base.css 뒤 로드, 토큰만 사용. */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 22px; background: var(--nav-bg); border-top: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transform: translateY(115%); transition: transform .22s ease; }
.buy-bar.show { transform: translateY(0); }
.buy-bar .bb-name { font-weight: 700; color: var(--text); }
.buy-bar .bb-price { font-weight: 800; font-size: 18px; color: var(--text); }
.buy-bar .bb-sub { color: var(--muted); font-size: 13px; }
.buy-bar .bb-cta { margin-left: auto; }
@media (max-width: 480px) {
  .buy-bar { padding: 10px 14px; gap: 8px; }
  .buy-bar .bb-sub { display: none; }
  .buy-bar .bb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* 구매 박스 신뢰 배지 — 무수집·평생·정품(브랜드 차별점, 결정 지점 재확인) */
.buy-trust { list-style: none; margin: 0 0 18px; padding: 12px 14px; display: flex;
  flex-wrap: wrap; gap: 8px 18px; background: var(--surface-alt); border-radius: 12px; }
.buy-trust li { display: inline-flex; align-items: center; gap: 7px; margin: 0;
  color: var(--text); font-size: 13.5px; font-weight: 600; }
.buy-trust svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--accent); }

/* 스크린샷 확대 라이트박스(lightbox.js) — 구매 결정 시 화면 자세히 보기(갤러리 넘김) */
.shot-gallery img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: lb-fade 0.15s ease; }
.lightbox img { max-width: 92%; max-height: 88%; border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
/* 오버레이 위 조작 버튼(× 닫기, ‹ › 넘김) — 배경과 대비되는 반투명 원형 */
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.95);
  cursor: pointer; line-height: 1; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background 0.12s ease, transform 0.12s ease; }
.lightbox button:hover { background: rgba(255,255,255,0.24); }
.lightbox button:active { transform: scale(0.92); }
.lightbox button:focus-visible { outline: 2px solid rgba(255,255,255,0.9); outline-offset: 2px; }
.lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 26px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 34px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(0.92); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
