/* ===== 商品/服务页面样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

.shop-container {
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* 顶部 */
.shop-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;


}
.back-btn {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  margin-right: 12px;
}
.shop-title {
  font-size: 17px;
  font-weight: 600;
}

/* 店铺信息 */
.shop-info {
  margin: 14px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(212,95,136,0.1);
}
.shop-name {
  font-size: 20px;
  font-weight: 700;
  color: #5a2a3a;
  margin-bottom: 4px;
}
.shop-branch {
  font-size: 14px;
  color: #d45f88;
  margin-bottom: 14px;
}
.shop-meta {
  border-top: 1px dashed #f0c8d6;
  padding-top: 12px;
}
.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}
.meta-label { color: #9a7a85; }
.meta-value { color: #5a2a3a; font-weight: 500; }
.shop-desc {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #f0c8d6;
  font-size: 13px;
  color: #8a6a75;
  line-height: 1.7;
}

/* 服务列表 */
.service-list {
  margin: 14px;
}
.list-title {
  font-size: 16px;
  font-weight: 600;
  color: #5a2a3a;
  margin-bottom: 12px;
  padding-left: 4px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cards-empty {
  color: #c0a0ad;
  font-size: 14px;
  text-align: center;
  padding: 30px;
}

/* 服务卡片 */
.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(212,95,136,0.08);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,95,136,0.15);
  border-color: #f0c8d6;
}
.service-card:active { transform: translateY(0); }

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 10px 10px 12px;
}
.card-name {
  font-size: 13px;
  font-weight: 600;
  color: #5a2a3a;
  margin-bottom: 5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: 11px;
  color: #9a7a85;
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.card-duration {
  font-size: 11px;
  color: #b08a95;
}
.card-price-group {
  text-align: left;
}
.card-price {
  font-size: 17px;
  font-weight: 700;
  color: #d45f88;
}
.card-deposit {
  font-size: 10px;
  color: #b08a95;
  margin-top: 1px;
}

/* 底部导航 */
.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: #b08a95;
  font-size: 11px;
  padding: 4px 12px;
}
.nav-item.active { color: #d45f88; }
.nav-icon { font-size: 20px; margin-bottom: 2px; }
.nav-label { font-size: 11px; }
