/* 제품 페이지 가격·구매 블록 (2026-11-14). 플랜 카드는 한 줄, 구매 경로는 그 아래 한 줄.
   색은 제품별 product-brand-*.css의 --pb-* 값을 따른다. */
.lt-price {
  --lp-brand: var(--pb-brand, #1a365d);
  --lp-ink: var(--pb-ink, #1c2836);
  --lp-muted: var(--pb-muted, #4a5868);
  --lp-line: var(--pb-line, #dde3ea);
  --lp-wash: var(--pb-wash, #f5f7fa);
  margin: 0;
  color: var(--lp-ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.lt-price *, .lt-price *::before, .lt-price *::after { box-sizing: border-box; }

.lt-price-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.lt-price[data-plans="1"] .lt-price-plans { grid-template-columns: minmax(0, 420px); }
.lt-price-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.lt-price-plan.is-main { border-color: var(--lp-brand); background: var(--lp-wash); box-shadow: inset 0 3px 0 var(--lp-brand); }
.lt-price-name { color: var(--lp-muted); font-size: 14px; font-weight: 700; line-height: 1.4; }
.lt-price-plan.is-main .lt-price-name { color: var(--lp-brand); }
.lt-price-amount { display: block; margin: 2px 0 0; color: var(--lp-ink); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.lt-price-unit { margin: 0; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lt-price-tiers { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--lp-line); display: grid; gap: 2px; }
.lt-price-tiers li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.8; color: var(--lp-muted); }
.lt-price-tiers b { color: var(--lp-ink); font-weight: 700; }

.lt-price-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.lt-price-path {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lp-ink);
  text-decoration: none;
}
a.lt-price-path:hover { border-color: var(--lp-brand); background: var(--lp-wash); text-decoration: none; }
.lt-price-path > span { color: var(--lp-brand); font-size: 13px; font-weight: 700; }
.lt-price-path strong { color: var(--lp-ink); font-size: 17px; font-weight: 700; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.lt-price-path small { margin-top: 2px; color: var(--lp-muted); font-size: 14px; }
.lt-price-path--codes { gap: 4px; }
.lt-price-code {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 6px 10px;
  border: 1px dashed var(--lp-line);
  border-radius: 8px;
  background: var(--lp-wash);
  color: var(--lp-ink);
  font: inherit;
  text-align: left;
  cursor: copy;
}
.lt-price-code span { color: var(--lp-muted); font-size: 13px; }
.lt-price-code b { font-size: 16px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.lt-price-code:hover { border-color: var(--lp-brand); }
.lt-price-path--codes > a { margin-top: 2px; color: var(--lp-muted); font-size: 14px; text-decoration: none; }
.lt-price-path--codes > a:hover { color: var(--lp-brand); text-decoration: underline; text-underline-offset: 3px; }
.lt-price :is(a, button):focus-visible { outline: 3px solid var(--lp-brand); outline-offset: 2px; }
.lt-price-note { margin: 12px 0 0; color: var(--lp-muted); font-size: 14px; }

@media (max-width: 767px) {
  .lt-price-plans, .lt-price[data-plans="1"] .lt-price-plans, .lt-price-paths { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lt-price-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 14px 16px; }
  .lt-price-name { grid-column: 1; }
  .lt-price-amount { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; font-size: 22px; }
  .lt-price-unit { grid-column: 1; }
  .lt-price-tiers { grid-column: 1 / -1; }
  .lt-price-path { padding: 14px 16px; }
}
/* 복사 결과 알림은 화면 읽기 프로그램에만 */
.lt-price [data-copy-status] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Canva 페이지: 제품별 --pb-* 대신 Canva 보라 */
main.cv-page .lt-price { --lp-brand: #6b32a8; --lp-ink: #30233d; --lp-muted: #61596a; --lp-line: #ded4e8; --lp-wash: #f6f2fa; }
