/* ============================================================
   Unified product card badges (home + marketplace)
   ============================================================ */

.badge-featured {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #ffbd59;
  color: #111;
  box-shadow: 0 2px 14px rgba(255, 189, 89, 0.4);
  direction: ltr;
  white-space: nowrap;
}

.badge-featured i {
  font-size: 0.62rem;
}

.badge-type {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  direction: ltr;
  max-width: calc(100% - 24px);
}

.badge-type i {
  color: #ffbd59;
  font-size: 0.75rem;
}

.mp-card__media,
.trip-card__media {
  position: relative;
}

/* Legacy mp-card featured circle — hide if old markup remains */
.mp-card__featured:not(.badge-featured) {
  display: none;
}
