/* ──────────────────────────────────────────────────────────────
   view/shop/includes/product_card.php — 인라인 style 을 옮긴 것 (커서룰 §10)
   많이 쓰이는 묶음부터 번호를 매겼다. 이름 뒤 숫자는 그 차례일 뿐이다.
   ────────────────────────────────────────────────────────────── */

/* 2곳에서 쓰임 */
.productcard-txt-01.productcard-txt-01.productcard-txt-01 { font-weight:900; font-size:1.35rem; color:var(--c-ink, #0f172a); }

/* 1곳에서 쓰임 */
.productcard-s-02.productcard-s-02.productcard-s-02 { position:relative; }

/* 1곳에서 쓰임 */
.productcard-s-03.productcard-s-03.productcard-s-03 { display:block; }

/* 1곳에서 쓰임 */
.productcard-txt-04.productcard-txt-04.productcard-txt-04 { font-size:11px; color:var(--c-muted, #64748b); margin-top:4px; margin-bottom:6px; font-weight:600; line-height:1.4; word-break:break-all; }

/* 1곳에서 쓰임 */
.productcard-txt-05.productcard-txt-05.productcard-txt-05 { font-size:10px; color:var(--c-muted-2, #94a3b8); margin-right:3px; }

/* 1곳에서 쓰임 */
.productcard-flex-06.productcard-flex-06.productcard-flex-06 { display:flex; align-items:baseline; gap:6px; }

/* 1곳에서 쓰임 */
.productcard-txt-07.productcard-txt-07.productcard-txt-07 { color:var(--c-danger, #ef4444); font-weight:800; font-size:1.05rem; }

/* 1곳에서 쓰임 */
.productcard-txt-08.productcard-txt-08.productcard-txt-08 { color:var(--c-muted-2, #94a3b8); text-decoration:line-through; font-size:0.85em; font-weight:400; }

/* 1곳에서 쓰임 */
.productcard-txt-09.productcard-txt-09.productcard-txt-09 { font-weight:800; font-size:1rem; color:var(--c-ink, #0f172a); }

/* ── PHP 문자열 안에 있던 것 (§10 2차) ── */

/* 1곳에서 쓰임 */
.productcard-str-10.productcard-str-10.productcard-str-10 { color:var(--c-line-2, #cbd5e1); margin:0 3px; }


/* ── 좁은 화면의 가격 글자 ────────────────────────────────────────

   가격이 상품명보다 훨씬 커서(21.6px 대 15px) 카드가 좁아지면 줄이
   넘쳤다. 실측: 카드 167px 일 때 가격 줄이 160px 을 달라고 했고,
   그릇은 125px 이라 «50,000» 과 «원» 이 따로 떨어져 두 줄이 되었다.

   상품명과 같은 15px 로 맞춘다 — 사용자 확정 사항이다.
   할인율은 그보다 한 단계 낮추고, 정가(취소선)는 0.85em 이라 저절로 따라온다.

   이름을 세 겹 겹친 까닭 — 위쪽 규칙들이 그렇게 되어 있어 (0,3,0) 이다.
   한 겹으로는 힘이 모자라 이기지 못한다. (!important 는 쓰지 않는다) */
@media (max-width: 768px) {
    /* 파는 값 — 상품명(.goods-title 15px)과 같게 */
    .productcard-txt-01.productcard-txt-01.productcard-txt-01 { font-size:15px; }

    /* 「원」 도 같이 */
    .productcard-txt-09.productcard-txt-09.productcard-txt-09 { font-size:15px; }

    /* 할인율은 한 단계 낮게 */
    .productcard-txt-07.productcard-txt-07.productcard-txt-07 { font-size:13px; }

    /* 숫자와 단위가 낱자로 갈라지지 않게. 자리가 모자라면 «조각끼리» 줄을
       바꾸지, 조각 «안에서» 끊기지 않는다. */
    .final-amt,
    .price-disc-rate,
    .price-consumer-strike,
    .price-row-final .unit { white-space: nowrap; }
}
