/* ================= 预约 ================= */
#page-reserve {
  background-color: #f8f8f9;
}

#page-reserve .container {
  width: 100%;
  padding-bottom: 1.6rem; /* 给底部菜单留空间 */
}

/* ===== 状态 tab ===== */
#page-reserve .tabs {
  display: flex;
  background: #fff;
  height: 0.88rem;
  align-items: center;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-overflow-scrolling: touch;
}

#page-reserve .tab {
  flex-shrink: 0;
  padding: 0 0.24rem;
  height: 0.88rem;
  line-height: 0.88rem;
  font-size: 0.28rem;
  color: #646566;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

#page-reserve .tab.active {
  color: #323233;
  font-weight: 500;
}

/* 红色下划线 */
#page-reserve .tab.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0.8rem;
  height: 0.06rem;
  border-radius: 0.06rem;
  background: #ee0a24;
}

/* ===== 内容 ===== */
#page-reserve .content {
  padding-top: 0.04rem;
}

/* ===== 信息条（当前用户 / 下单时间） ===== */
#page-reserve .mobile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.68rem;
  padding: 0 0.44rem;
  font-size: 0.24rem;
  color: #646566;
}

#page-reserve .mobile-title-left,
#page-reserve .mobile-title-right {
  font-size: 0.24rem;
  color: #646566;
}

/* ===== 预约卡片 ===== */
#page-reserve .box-contain {
  background: #fff;
  border-radius: 0.2rem;
  padding: 0.16rem 0.16rem 0.24rem 0.32rem;
  margin: 0.2rem 0.44rem;
}

/* 状态：单独一行，靠右 */
#page-reserve .service-status {
  display: block;
  text-align: right;
  font-size: 0.24rem;
  font-weight: 400;
  color: #0000ff;
  line-height: 0.34rem;
  margin-bottom: 0.08rem;
}

/* 服务完成（已核销）状态：绿色 */
#page-reserve .service-status.done {
  color: #07c160;
  font-weight: 600;
}

/* 商品 */
#page-reserve .goods-contain {
  display: flex;
  margin-top: 0.04rem;
}

#page-reserve .goods-img {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.2rem;
  margin-right: 0.16rem;
  background: #f2f3f5;
  overflow: hidden;
  flex-shrink: 0;
}

#page-reserve .goods-img-image {
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
}

#page-reserve .goods-content {
  flex: 1;
  height: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 0.02rem 0;
}

#page-reserve .goods-title {
  font-size: 0.26rem;
  font-weight: 600;
  color: #000;
  line-height: 0.42rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#page-reserve .price-row {
  display: flex;
  align-items: baseline;
  line-height: 0.32rem;
}

#page-reserve .price {
  font-size: 0.28rem;
  font-weight: 700;
  color: #333;
  margin-right: 0.12rem;
}

#page-reserve .count {
  font-size: 0.24rem;
  font-weight: 700;
  color: #969799;
}

#page-reserve .time {
  font-size: 0.24rem;
  font-weight: 600;
  color: #000;
  line-height: 0.42rem;
}

/* ===== 操作 ===== */
#page-reserve .operate {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.16rem;
}

#page-reserve .op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 0.16rem;
  height: 0.56rem;
  padding: 0 0.16rem;
  font-size: 0.26rem;
  color: #000;
  background: #fff;
  border: 0.01rem solid #ebedf0;
  border-radius: 999px; /* 原 999rpx：浏览器不识别 rpx，改为大像素值实现胶囊形 */
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
}

#page-reserve .op-btn:first-child {
  margin-left: 0;
}

#page-reserve .op-btn-icon {
  width: 0.32rem;
  height: 0.32rem;
  margin-right: 0.08rem;
  flex-shrink: 0;
}

/* 发表评价里的小图标 */
#page-reserve .op-btn-icon-sm {
  width: 0.24rem;
  height: 0.24rem;
  margin-right: 0.06rem;
}

#page-reserve .op-btn.detail {
  color: #ee0a24;
  border-color: #ee0a24;
  min-width: 1.32rem;
  text-align: center;
}

/* ===== 空列表提示 ===== */
#page-reserve .empty {
  text-align: center;
  padding: 0.8rem 0;
  font-size: 0.28rem;
  color: #969799;
}

/* ===== 没有更多了 ===== */
#page-reserve .no-more {
  text-align: center;
  height: 1rem;
  line-height: 1rem;
  font-size: 0.28rem;
  color: #969799;
}

/* ===== 底部菜单 ===== */
#page-reserve .bottom-btn-box {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.46rem;
  background: #f8f8f9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#page-reserve .menu {
  display: flex;
  width: 100%;
  padding: 0 0.44rem;
  box-sizing: border-box;
}

#page-reserve .menu__item {
  flex: 1;
  height: 0.8rem;
  border-radius: 999px; /* 原 1000rpx：浏览器不识别 rpx，改为大像素值实现胶囊形 */
  background: #ededef;
  font-size: 0.28rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#page-reserve .menu__item-icon {
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.06rem;
  flex-shrink: 0;
}

#page-reserve .menu__item + .menu__item {
  margin-left: 0.2rem;
}
