/* ===== 我的页面样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

.profile-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fceef2;
  color: #333;
  min-height: 100vh;
  padding-bottom: 80px;
}

.profile-container {
  max-width: 520px;
  margin: 0 auto;
}

/* 顶部 */
.profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #e87ba0, #d45f88);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;


}
.profile-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

/* 店铺卡片 */
.shop-card {
  margin: 14px;
  padding: 20px 18px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  gap: 14px;
  position: relative;
  box-shadow: 0 4px 16px rgba(212,95,136,0.1);
}
.shop-card-left { flex: 1; }
.shop-name {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.shop-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.7;
}
.shop-desc p { margin: 6px 0; }
.shop-desc ul, .shop-desc ol { padding-left: 20px; margin: 6px 0; }
.shop-desc li { margin: 4px 0; }
.shop-desc img { max-width: 100%; border-radius: 8px; }
.login-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.login-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}
.login-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.login-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.login-sub {
  font-size: 12px;
  color: #999;
}
.login-btn {
  padding: 8px 24px;
  border: 1px solid #e87ba0;
  border-radius: 20px;
  background: #fff;
  color: #d45f88;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.login-btn:hover { background: #fce4ec; }
.my-openid {
  margin-top: 12px;
  background: #fdf0f5;
  border: 1px dashed #f0c2d2;
  border-radius: 10px;
  padding: 10px 12px;
}
.openid-label { font-size: 12px; color: #c0607f; display: block; margin-bottom: 6px; }
.openid-row { display: flex; align-items: center; gap: 8px; }
.openid-value {
  flex: 1;
  font-size: 12px;
  color: #5a2a3d;
  word-break: break-all;
  line-height: 1.4;
}
.openid-copy {
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, #e87ba0, #d45f88);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.cs-tip {
  font-size: 13px;
  color: #d45f88;
  font-weight: 500;
  padding-left: 4px;
}
.shop-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.qr-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  border: 4px solid #fff;
}
.qr-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

/* 到店引导 */
.guide-card {
  margin: 0 14px 14px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  cursor: pointer;
}
.guide-address {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, #444, #222);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.3;
}
.guide-info { flex: 1; }
.guide-tag {
  display: inline-block;
  font-size: 11px;
  color: #d45f88;
  background: #fce4ec;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.guide-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.guide-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}
.guide-arrow {
  font-size: 24px;
  color: #d45f88;
  font-weight: 300;
}

/* 订单卡片 */
.order-card {
  margin: 0 14px 14px;
  padding: 20px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.order-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.order-sub {
  font-size: 13px;
  color: #999;
}
.history-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #d45f88;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  background: #fce4ec;
  border-radius: 16px;
}
.history-arrow { font-size: 16px; }

.order-list { min-height: 120px; }
.order-item-mini {
  padding: 12px;
  background: #fafafa;
  border-radius: 10px;
  margin-bottom: 10px;
}
.order-item-mini-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.order-type-mini {
  font-size: 12px;
  color: #999;
  background: #eee;
  padding: 2px 8px;
  border-radius: 8px;
}
.order-status-mini {
  font-size: 13px;
  font-weight: 600;
}
.order-status-mini.confirmed { color: #28a745; }
.order-status-mini.pending { color: #ff9f43; }
.order-status-mini.renting { color: #0abde3; }
.order-item-mini-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.order-item-mini-time {
  font-size: 13px;
  color: #888;
}
.empty-order {
  text-align: center;
  padding: 30px 0;
}
.empty-text {
  font-size: 17px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
}
.empty-sub {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}
.go-book-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff7eb3, #ff5e94);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 2px;
}
.go-book-btn:hover { opacity: 0.9; }

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(212,95,136,0.12);
  z-index: 9999;
  border-top: 1px solid #fce4ec;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #999;
  font-size: 11px;
  padding: 4px 12px;
}
.nav-item.active { color: #d45f88; }
.nav-icon { font-size: 20px; margin-bottom: 2px; }
.nav-label { font-size: 11px; }
