.order-card {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.order-title {
  text-align: center;
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1rem;
}

.order-id {
  text-align: center;
  font-weight: 500;
  color: #555;
  margin-bottom: 1.5rem;
}

.order-info h3 {
  margin: 1rem 0 0.3rem;
  color: #444;
}

.order-info p {
  margin: 0;
  color: #666;
}

.order-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: capitalize;
  margin-top: 0.5rem;
}

.order-status.pending {
  background-color: #fff3cd;
  color: #856404;
}

.order-status.completed {
  background-color: #d4edda;
  color: #155724;
}

.order-status.cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.order-items ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.order-total {
  text-align: right;
  margin-top: 1.5rem;
}

.order-total h3 {
  margin-bottom: 0.3rem;
  color: #222;
}

.order-total p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

.order-summary {
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 0.4rem 0;
  font-size: 1rem;
}

.summary-row.discount {
  color: #d9534f;
  /* rojo suave */
  font-weight: 500;
}

.summary-row.total {
  font-size: 1.2rem;
  margin-top: 1rem;
  border-top: 1px solid #ccc;
  padding-top: 0.6rem;
  color: #222;
}