/* listings.css — Post form helpers, product cards, live-good badges, search result images.
   Moved out of the inline \3c style> in index.html (was lines 789–875). */

/* ── Price + Currency inline row (post & edit forms) ── */

/* ── Post Form ── */
.req { color: #e74c3c; font-size: 12px; }
.condition-hint { font-size: 11px; color: #7f8c8d; margin-top: 4px; min-height: 16px; font-style: italic; }
select:disabled { background: #f8f9fa; color: #adb5bd; cursor: not-allowed; }

/* Live Good Badges & Card Improvements */
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.product-card-img-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.04);
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(231,76,60,0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 2px 6px rgba(231,76,60,0.4); }
  50% { box-shadow: 0 2px 12px rgba(231,76,60,0.7); }
}

.product-discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f39c12;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.live-good {
  border: 1.5px solid rgba(231,76,60,0.2);
}
