/* ===== 订单网格 · 多列布局（核心修改） ===== */
.order-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
gap:0px 12px;
align-items: stretch;
}

/* ===== 单个订单卡片 ===== */
.order-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #f0f0f0;margin-bottom:12px;
}

.order-header {
  padding: 12px 12px;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-meta .order-no {
  font-size: 14px;
  color: #666;
}
.order-meta .order-no span {
  color: #222;
  font-weight: 500;
}
.order-meta .order-time {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.order-total {
  font-size: 16px;
}
.order-total span:first-child {
  color: #999;
}
.order-total .price {
  color: #f56c6c;
  font-weight: bold;
}

.detail-section {
  padding: 0 12px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;margin-top:10px;
}

.detail-table th {
  text-align: right;
  padding: 6px 4px;
  color: #888;
  font-weight: normal;
  border-bottom: 1px solid #f5f5f5;
}
.detail-table th:first-child {
  text-align: left;
}

.detail-table td {
  padding: 6px 4px;
  color: #555;
  text-align: right;
  border-bottom: 1px solid #f7f7f7;
}
.detail-table td.col-name {
  text-align: left;
  color: #333;
}
.detail-table td.col-stat {
  color: #67c23a;
}

.order-footer {
  padding: 6px 12px;
  border-top: 1px solid #f5f5f5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.order-footer .hst-btn{margin-right:10px;}
.order-footer .hst-btn:last-of-type{margin-right:0;}

/*详情*/
.detailbox{width:600px;}
.summary-row {
  display: flex;
  align-items: center;
  font-size: 14px;
  width: 50%;
  padding:5px 0;
}
.summary-row label {
  color: #666666;
  margin-right: 6px;
  white-space: nowrap;width:80px;
}
.summary-row span {
  color: #333333;
}

/* 金额高亮红色 */
.summary-row .price {
  color: #e64340;
  font-weight: 500;
}

/* 支付方式颜色 */
.paytype_weixin {
  color: #07c160;
}

/* 订单状态颜色 */
.status_success {
  color: #67c23a;
  font-weight: 500;
}

/* 明细标题 */
.detail-title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f2f2f2;
}

/* 商品明细表格 */
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table th {
  text-align: right;
  background-color: #f8f9fa;
  padding: 12px 10px;
  font-size: 13px;
  color: #777;
  font-weight: normal;
}
.detail-table th:first-child {
  text-align: left;
}
.detail-table td {
  padding: 12px 10px;
  font-size: 14px;
  color: #444;
  text-align: right;
  border-bottom: 1px solid #f5f5f5;
}
.detail-table td:first-child {
  text-align: left;
}
