/**
 * HoplaCollect — Unified Reward/Variant Miniature Card
 *
 * Compact clickable card: [image] [reward name / variant name] [arrow]
 * Used in milestones (unlock + evolution), contributions.
 */

/* ===== Card container ===== */
.hc-product-mini {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.375rem 0.625rem !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.hc-product-mini:hover {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
  text-decoration: none !important;
}

.hc-product-mini:active {
  background: #e5e7eb !important;
}

/* ===== Image ===== */
.hc-product-mini__img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #e5e7eb !important;
}

.hc-product-mini__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hc-product-mini__img--placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f3f4f6 !important;
}

.hc-product-mini__img--placeholder svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #9ca3af !important;
  fill: none !important;
}

/* ===== Text body ===== */
.hc-product-mini__body {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.0625rem !important;
}

.hc-product-mini__name {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hc-product-mini__variant {
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* ===== Arrow ===== */
.hc-product-mini__arrow {
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
  stroke: #9ca3af !important;
  fill: none !important;
  transition: stroke 0.15s ease, transform 0.15s ease !important;
}

.hc-product-mini:hover .hc-product-mini__arrow {
  stroke: #6b7280 !important;
  transform: translateX(2px) !important;
}
