/* Parts Store. 검색창·카테고리 칩·배지·제목은 research.css 재사용 */
.shop { max-width: var(--max); }

/* 목록 그리드 */
.grid-p { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.grid-p .empty { grid-column: 1 / -1; }
.card-p { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card-p:hover { border-color: var(--accent-hi); transform: translateY(-2px); }
.card-p:hover .more { color: var(--accent-hi); }
.thumb { aspect-ratio: 4 / 3; background: #121016; }
.thumb img, .main-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.card-body h3 { margin: 10px 0 4px; font-size: 1.05rem; }
.card-body p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.card-body .row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.card-body .more { color: var(--muted); font-size: .85rem; transition: color .2s; }

/* 이미지 없음 */
.ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.ph svg { width: 36px; height: 36px; opacity: .6; }

/* 검토 상태 배지 */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badges .badge { margin: 0; }
.st { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.st-used { background: var(--accent); border-color: var(--accent-hi); color: #fff; }
.st-tested { border-color: var(--accent-hi); color: var(--accent-hi); }

/* 상세 Hero */
.hero-p { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.main-img { aspect-ratio: 4 / 3; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); cursor: pointer; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info .bullets { margin-top: 20px; }
.price-lg { margin: 24px 0 8px; font-size: 1.7rem; font-weight: 700; }
.avail { color: var(--muted); font-size: .85rem; margin-left: 4px; }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.buy button:disabled { opacity: .45; cursor: not-allowed; }
.p-info .hint { margin-top: 8px; font-size: .8rem; color: var(--muted); }

/* 상세 섹션 */
.shop-sec { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.shop-sec h3 { margin: 24px 0 8px; font-size: 1rem; }
.shop-sec h3:first-of-type { margin-top: 0; }
.bullets { margin: 0; padding-left: 20px; line-height: 1.8; }
.video { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.photos img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.review h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { color: var(--muted); font-weight: 500; font-size: .8rem; }
.spec td:last-child { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.spec tr.measured td:last-child { color: var(--accent-hi); }
.links { list-style: none; margin: 0; padding: 0; }
.links li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.links a:hover { color: var(--accent-hi); }
.links span { color: var(--muted); font-size: .85rem; white-space: nowrap; }

@media (max-width: 800px) {
  .hero-p { grid-template-columns: 1fr; gap: 28px; }
  .review { grid-template-columns: 1fr; gap: 8px; }
  .shop-sec { margin-top: 48px; }
}
