/* 스토어 카탈로그(v2 다크) — Cafe24 상품 미러
   구 store.css 의 다크 테마 이식본. v2.css 의 토큰(--bg2/--line/--accent…)을 그대로 쓴다. */
.v2 .store__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.v2 .store__tab { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg2); color: var(--muted); font-family: inherit; font-weight: 700;
  font-size: .92rem; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.v2 .store__tab:hover { border-color: var(--accent); color: var(--text); }
.v2 .store__tab.is-on { background: var(--accent); border-color: var(--accent); color: #06251a; }
.v2 .store__tab span { opacity: .7; font-size: .82rem; margin-left: 3px; }

.v2 .store__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 20px; }
.v2 .pcard { display: flex; flex-direction: column; }
.v2 .pcard__thumb { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: border-color .15s; }
/* 상품컷은 흰 배경 누끼 — 썸네일 바탕은 흰색을 유지해야 제품이 산다 */
.v2 .pcard__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .35s; }
.v2 .pcard:hover .pcard__thumb { border-color: var(--accent); }
.v2 .pcard:hover .pcard__thumb img { transform: scale(1.05); }
.v2 .pcard__soldout { position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10,11,12,.62); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .04em; }
.v2 .pcard__name { margin-top: 11px; font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .pcard__price { margin-top: 6px; font-size: 1.02rem; font-weight: 800; color: var(--text); }
.v2 .pcard__price.is-ask { color: var(--muted); font-weight: 700; font-size: .92rem; }

.v2 .store__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.v2 .store__note { margin-top: 44px; padding: 18px 20px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.v2 .store__note a { color: var(--accent); font-weight: 800; margin-left: 4px; }
.v2 .store__note a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .v2 .store__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .v2 .pcard__name { font-size: .88rem; }
}
