:root {
    --market-color: #F97316;
    --font-sans: 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
body { font-family: var(--font-sans); color: #1e293b; background: #f8fafc; }

/* 아바타 */
.avatar-xs {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--market-color); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; flex-shrink: 0;
}

/* 상품 카드 */
.product-card {
    background: white; border-radius: 12px;
    border: 1px solid #e2e8f0; overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.1); transform: translateY(-2px); }
.product-cover { width: 100%; height: 160px; object-fit: cover; }
.product-cover-placeholder {
    width: 100%; height: 160px;
    background: linear-gradient(135deg, #FFF7ED, #FED7AA);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-type-badge {
    font-size: 10px; text-transform: uppercase; color: var(--market-color);
    font-weight: 700; margin-bottom: 6px;
}
.product-title {
    font-size: 0.9rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: #1e293b;
}
.product-desc {
    font-size: 0.78rem; color: #64748b; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 8px; }
.product-price { margin-top: auto; }
.price-free { color: #10B981; font-weight: 700; font-size: 1rem; }
.price-current { color: #1e293b; font-weight: 700; font-size: 1rem; }
.price-original { text-decoration: line-through; color: #94a3b8; font-size: 0.8rem; margin-right: 4px; }

/* 히어로 배너 */
.market-hero {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border-radius: 20px; padding: 40px;
}

/* 판매자 CTA */
.seller-cta {
    background: linear-gradient(135deg, #c2410c, #f97316);
    border-radius: 20px; padding: 40px;
    margin-top: 40px;
}

/* 구매 카드 */
.purchase-card {
    background: white; border-radius: 16px; padding: 24px;
    border: 1px solid #e2e8f0; top: 90px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 통계 카드 */
.stat-card {
    background: white; border-radius: 12px; padding: 20px;
    border: 1px solid #e2e8f0; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.stat-value { font-weight: 700; font-size: 1.3rem; }
.stat-label { color: #64748b; font-size: 0.8rem; }

/* 리뷰 */
.review-item { background: #f8fafc; border-radius: 8px; padding: 16px; margin-bottom: 12px; }

/* 상품 상세 */
.product-description { line-height: 1.8; }
.product-description br { display: block; content: ""; margin-bottom: 8px; }

@media (max-width: 768px) {
    .market-hero { padding: 24px; }
    .seller-cta { padding: 24px; }
}
