/* =========================
   HS Product Card – Base
========================= */

/* 카드 메타 전체 */
.hs-product-card-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

/* =========================
   직업
========================= */
.hs-product-jobs {
  font-size: 14px;
  line-height: 20px;
  color: #6C737F; /* gray-500 */
  margin-bottom: 4px;
}

/* =========================
   제목
========================= */
.hs-product-title {
  margin: 0 0 2px 0;
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
}

.hs-product-title a {
  color: #1F2A37; /* gray-900 */
  text-decoration: none;
}

.hs-product-title a:hover {
  text-decoration: underline;
}

/* =========================
   학년
========================= */
.hs-product-grades {
  font-size: 12px;
  line-height: 16px;
  color: #6C737F; /* gray-700 */
  margin-bottom: 16px;
}

/* =========================
   Badge Base (Designer Spec)
========================= */

.hs-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 디자이너 스펙 */
}

.hs-product-badges .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 20px;
  padding: 2px 6px;

  border-radius: 4px;

  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.4px;

  white-space: nowrap;
}

.badge--best {
  background: #eef2ff;
  color: #4f46e5;
}

.badge--hot {
  background: #ffe4e6;
  color: #e11d48;
}

.badge--new {
  background: #f3e8ff;
  color: #9333ea;
}

@media (max-width: 549px) {
  .hs-product-title {
    font-size: 14px;
  }

  .hs-product-jobs,
  .hs-product-grades {
    font-size: 11px;
  }
}
