.orders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin: 15px;
  font-size: 14px;
  font-variant: all-small-caps;
  font-size: 17px;
}

.order-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.status {
  padding: 5px 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

.status.pending,
.status.ordered {
  background: #d4edda;
  color: #155724;
}

.status.shipped {
  background: #fff3cd;
  color: #856404;
}

.status.intransit {
  background: #d1ecf1;
  color: #0c5460;
}

.status.delivered {
  background: #155724;
  color: #fff;
}

.order-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.order-body img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
}

.order-info {
  flex: 1;
}

.order-info h4 {
  margin: 0;
  font-size: 18px !important;
  color: #333;
  font-size: 16px;
}

.order-info p {
  margin: 4px 0;
  font-size: 16px;
  color: #555;
}

.order-footer {
  text-align: right;
  margin-top: 10px;
}

.track-btn {
  background: #117949;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  font-variant: all-small-caps;
}

.track-btn:hover {
  background: #0d5d35;
}

@media (max-width: 480px) {
  .orders {
    grid-template-columns: 1fr;
  }
}