/* sold-badge.css — canonical source for all SOLD UI (badge on photo + SOLD text in price) */
/* Migrated from style.css [stage S3.1] */

.dag-sold-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: #d00000;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  animation: dagPop var(--anim-med, .35s) var(--ease-spring, cubic-bezier(.34,1.56,.64,1)) both;
}

.dag-sold-badge--lb {
  top: 18px;
  left: 18px;
}

@media (max-width: 768px) {
  .dag-sold-badge {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
}

body.post-type-archive-car .dag-sold-badge {
  top: 14px;
  left: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #8b0000;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* SOLD in price cell — TEXT ONLY, no background, red on white */
.dag-price.is-sold,
.dag-spec-mini dd.is-sold {
  display: inline;
  background: transparent;
  color: #d00000;
  padding: 0;
  border-radius: 0;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
  box-shadow: none;
}

body.post-type-archive-car .dag-price.is-sold,
body.post-type-archive-car .dag-spec-mini dd.is-sold {
  background: transparent;
  color: #d00000;
}
