/* ================= 订单详情 ================= */
#page-order-detail {
  background-color: #f8f8f9;
}

#page-order-detail .container {
  width: 100%;
  padding: 0.2rem 0 0.4rem;
}

/* ===== 卡片 ===== */
#page-order-detail .card {
  background: #fff;
  border-radius: 0.2rem;
  margin: 0 0.44rem 0.2rem;
  padding: 0.24rem 0.32rem;
}

/* ===== 信息行 ===== */
#page-order-detail .row {
  display: flex;
  align-items: center;
  margin-bottom: 0.16rem;
}

#page-order-detail .row:last-child {
  margin-bottom: 0;
}

#page-order-detail .label {
  width: 1.6rem;
  flex-shrink: 0;
  font-size: 0.28rem;
  color: #969799;
}

#page-order-detail .value {
  flex: 1;
  font-size: 0.28rem;
  color: #000;
  word-break: break-all;
}

/* 两列：下单方式 / 客户来源 */
#page-order-detail .two-col {
  justify-content: space-between;
}

#page-order-detail .col {
  flex: 1;
  display: flex;
}

/* 活动信息区标签/值为 16px 黑色 */
#page-order-detail .label.dark {
  color: #000;
  font-size: 0.32rem;
}

#page-order-detail .value.dark {
  font-size: 0.32rem;
}

#page-order-detail .addr {
  line-height: 0.4rem;
}

/* ===== 活动预约信息 ===== */
#page-order-detail .section-title {
  font-size: 0.32rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.16rem;
}

#page-order-detail .goods-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.16rem;
}

#page-order-detail .goods-img {
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 0.16rem;
  margin-right: 0.16rem;
  flex-shrink: 0;
}

#page-order-detail .goods-name {
  flex: 1;
  font-size: 0.28rem;
  font-weight: 700;
  color: #000;
  line-height: 0.4rem;
  margin-right: 0.16rem;
}

#page-order-detail .occupy {
  flex-shrink: 0;
  font-size: 0.32rem;
  font-weight: 500;
  color: #fa6400;
}

/* ===== 状态 ===== */
#page-order-detail .status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#page-order-detail .status {
  font-size: 0.4rem;
  font-weight: 700;
  color: #000;
}

#page-order-detail .operation-link {
  font-size: 0.28rem;
  font-weight: 600;
  color: #1989fa;
  cursor: pointer;
}

/* ===== 支付信息 tabs ===== */
#page-order-detail .pay-tabs {
  display: flex;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  border-bottom: 0.01rem solid #ebedf0;
  -webkit-overflow-scrolling: touch;
}

#page-order-detail .pay-tab {
  flex-shrink: 0;
  font-size: 0.28rem;
  color: #155bd4;
  padding: 0.12rem 0.24rem;
  border-radius: 0.12rem;
  margin-right: 0.16rem;
  cursor: pointer;
  white-space: nowrap;
}

#page-order-detail .pay-tab.active {
  background: #155bd4;
  color: #fff;
}

/* ===== 支付信息内容 ===== */
#page-order-detail .pay-content {
  margin-top: 0.24rem;
}

#page-order-detail .total-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#page-order-detail .total-label,
#page-order-detail .total-amount {
  font-size: 0.32rem;
  font-weight: 600;
  color: #fa6400;
}

#page-order-detail .pay-section-title {
  font-size: 0.32rem;
  font-weight: 700;
  color: #000;
  margin: 0.24rem 0 0.16rem;
}

/* 商品明细 */
#page-order-detail .goods-detail {
  margin-bottom: 0.08rem;
}

#page-order-detail .gd-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.12rem;
}

#page-order-detail .gd-img-box {
  position: relative;
  flex-shrink: 0;
}

#page-order-detail .gd-head {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.02rem 0.08rem;
  border-radius: 0.12rem 0 0.12rem 0;
}

#page-order-detail .gd-img {
  display: block;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 0.16rem;
  margin-left: 0.12rem;
  flex-shrink: 0;
}

#page-order-detail .gd-name {
  flex: 1;
  font-size: 0.28rem;
  font-weight: 500;
  color: #000;
  margin: 0 0.16rem;
  line-height: 0.4rem;
}

#page-order-detail .gd-price {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#page-order-detail .gd-label-orange {
  font-size: 0.28rem;
  font-weight: 600;
  color: #fa6400;
}

#page-order-detail .gd-price-num {
  font-size: 0.3rem;
  font-weight: 600;
  color: #fa6400;
}

#page-order-detail .count-row {
  justify-content: flex-end;
}

/* 支付信息明细 */
#page-order-detail .info-row {
  display: flex;
  align-items: flex-start;
  margin-top: 0.2rem;
}

#page-order-detail .info-label {
  width: 1.8rem;
  flex-shrink: 0;
  font-size: 0.32rem;
  color: #000;
}

#page-order-detail .info-value {
  flex: 1;
  font-size: 0.32rem;
  color: #000;
  word-break: break-all;
}

#page-order-detail .info-value.green {
  color: #1b945c;
}

#page-order-detail .info-value.orange {
  color: #fa6400;
}

/* 其他 tab 占位 */
#page-order-detail .tab-empty {
  text-align: center;
  font-size: 0.28rem;
  color: #969799;
  padding: 0.8rem 0;
}
