/* Profile rename + "My Deals" (Lee, 2026-11-02) — styles for the bolt-on
   My Deals panel added by profile-mydeals.js inside the Profile (formerly
   My Shop) page. Prefixed pm- so nothing collides with the compiled
   bundle; the My Deals tab button itself needs no styles — it reuses the
   bundle's own .shop-tabs [role="tab"] styling, selected state included.
   Cards and codes mirror the claim-code panels (claim-code.css). */

.pm-panel {
  margin: 4px 0 28px;
}

.pm-panel h2 {
  margin: 0;
}

.pm-claim-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.pm-claim-row {
  background: #fff;
  border: 1px solid #e3ddcf;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pm-claim-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
}

.pm-claim-main strong {
  font-size: 16px;
}

.pm-claim-main span {
  color: #6b675c;
  font-size: 13px;
}

.pm-claim-main span.pm-offer {
  color: inherit;
  font-size: 14px;
}

.pm-claim-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pm-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px;
  letter-spacing: 2px;
}

.pm-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pm-status.pm-pending {
  background: #fdf8e7;
  color: #8a6d1a;
  border: 1px solid #c9a227;
}

.pm-status.pm-redeemed {
  background: #e7f4e7;
  color: #2f662f;
  border: 1px solid #7fb069;
}

.pm-empty {
  background: #fff;
  border: 1px dashed #cfc9b8;
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
}

.pm-empty-title {
  font-weight: 700;
  margin: 0 0 6px;
}

.pm-empty .fine-print {
  margin: 0 0 14px;
}

.pm-loading {
  color: #6b675c;
  margin-top: 12px;
}

.pm-error {
  color: #b91c1c;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .pm-claim-row {
    padding: 12px;
  }

  .pm-code {
    font-size: 20px;
  }
}
