/* ============================================================
   lots.css — Auction lot badge + bid button
   Shared by diecast and card pages. Load after styles.css.
   Uses CSS variables from styles.css; does not modify it.
   ============================================================ */

/* Row holding the lot badge + item ID (grid cards and detail page) */
.lot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Lot badge — the auction's own identifier, so it gets the
   strongest treatment on the card: solid yellow tag, display face */
.lot-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--black);
  background: var(--yellow);
  padding: 4px 8px 3px;
  border-radius: 3px;
  white-space: nowrap;
}
.detail-id .lot-badge {
  font-size: 1.45rem;
  padding: 5px 10px 4px;
}

/* Physical pickup tag (cards) — secondary to the HiBid lot badge */
.lot-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: 3px;
  padding: 4px 7px;
  white-space: nowrap;
}

/* Bid button — primary action on the detail page */
.btn-bid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: .968rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}
.btn-bid:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
}
.btn-bid:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* One-line note under the bid button; forces the remaining
   action buttons onto the next row */
.bid-note {
  flex-basis: 100%;
  font-family: var(--font-body);
  font-size: .868rem;
  color: var(--muted);
  margin: -2px 0 6px;
}

/* Bid slot under the detail-page badges */
.detail-bid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: -4px 0 24px;
}
.detail-bid:empty { display: none; }
.detail-bid .bid-note { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .btn-bid:hover { transform: none; }
}
