/* ========== 基础重置 & 变量 ========== */
:root {
  --bg: #f6f6f6;
  --bg-elevated: #ffffff;
  --bg-secondary: #f3f3f3;
  --bg-tertiary: #ececec;
  --text: #444;
  --text-secondary: #5a5a5a;
  --text-muted: #9a9a9a;
  --accent: #444;
  --gold: #c9a961;
  --gold-light: #e0c98a;
  --gold-dark: #a88a4a;
  --border: #ececec;
  --border-strong: #d8d8d8;
  --card: #ffffff;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-gold: 0 8px 24px rgba(201,169,97,0.25);
  --shadow-dark: 0 8px 24px rgba(0,0,0,0.18);
  --status-pending: #d4972b;
  --status-confirmed: #2d7d4a;
  --status-cancelled: #9a9a9a;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 页面容器 ========== */
.page {
  display: none;
  padding-bottom: 84px; /* 为底部 absolute 的 tabbar 预留空间 */
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ========== 二级/三级页面 ========== */
.sub-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sub-page.show {
  transform: translateX(0);
}

#page-booking {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.booking-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sub-page-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 10;
  height: 56px;
}

.sub-page-header h2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.sub-page-header .back-btn {
  position: absolute;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.sub-page-header .back-btn:active {
  transform: scale(0.88);
  opacity: 0.6;
}

/* ========== 顶部导航栏 ========== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(250,250,250,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2.5px;
  background: linear-gradient(135deg, #444 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Banner 搜索按钮 */
.banner-search-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: #fff;
}

.banner-search-btn:hover {
  background: transparent;
  transform: scale(1.05);
}

.banner-search-btn:active {
  transform: scale(0.95);
  background: transparent;
}

/* ========== Banner 区域（全屏轮播）========== */
.banner-section {
  position: relative;
  margin-bottom: 24px;
  padding: 0;
}

.banner-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #000;
  border-radius: 0 0 35px 35px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.9) saturate(0.88);
  transform: scale(1.06);
}

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.banner-dots {
  position: absolute;
  top: 218px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 10;
  padding: 8px 14px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.banner-dot.active {
  width: 22px;
  background: var(--gold-light);
  box-shadow: 0 0 8px rgba(224,201,138,0.6);
}

/* 覆盖之前 Banner image 样式以适配轮播 */
.banner-overlay {
  position: absolute;
  top: 70px;
  left: 28px;
  right: 28px;
  color: #fff;
  z-index: 2;
}

.banner-title {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.05;
}

.banner-subtitle {
  font-size: 17px;
  font-weight: 400;
  opacity: 0.92;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.banner-view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: all 0.3s var(--ease);
}

.banner-view-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.banner-view-more svg {
  stroke: var(--gold-light);
  transition: transform 0.3s var(--ease);
}

.banner-view-more:hover {
  color: var(--gold-light);
}

.banner-view-more:hover svg,
.banner-view-more:active svg {
  transform: translateX(5px);
}

.banner-view-more:active {
  opacity: 0.85;
}

/* 功能入口卡片 */
.action-cards {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.action-card {
  flex: 1;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: translateY(-3px);
  transition: transform 0.3s var(--ease);
}

.action-card:active {
  transform: scale(0.96);
  box-shadow: var(--shadow-md);
}

.action-card:active::before,
.action-card:hover::before {
  transform: translateY(0);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 14px;
}

.card-icon svg {
  stroke: var(--text);
}

.card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* ========== 首页店铺卡片 ========== */
.home-store-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 20px 0;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.home-store-card:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-md);
}

.home-store-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-store-icon svg {
  stroke: var(--text);
}

.home-store-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-store-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-store-address {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-store-arrow {
  flex-shrink: 0;
  color: var(--text-light);
}

/* ========== 热门服务推荐 ========== */
.hot-services {
  padding: 0 20px;
  margin-top: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
  margin-left: 14px;
}

.title-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: #000;
  border-radius: 2px;
}

.section-more {
  font-size: 12px;
  color: var(--gold);
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  letter-spacing: 0.2px;
  transition: opacity 0.25s var(--ease);
}

.section-more::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6l-6 6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s var(--ease);
}

.section-more:hover {
  color: var(--gold-dark);
  opacity: 0.85;
}

.section-more:hover::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a88a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6l-6 6'/></svg>");
  transform: translateX(2px);
}

.section-more:active {
  transform: scale(0.96);
}

.services-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
  display: none;
}

.service-card {
  min-width: 170px;
  max-width: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid var(--border);
  position: relative;
}

.service-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card.selected {
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(201, 169, 97, 0.3);
}

.service-card-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-info {
  padding: 12px 14px 14px;
}

.service-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.1px;
}

.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.service-card-duration {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.service-card-duration::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.service-card-book {
  padding: 5px 14px;
  border: none;
  border-radius: 16px;
  background: #444;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.3px;
}

.service-card-book:hover {
  background: var(--gold);
  transform: scale(1.05);
}

.service-card-book:active {
  transform: scale(0.95);
}

.service-card-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

/* ========== 品牌故事 ========== */
.brand-story {
  margin: 36px 20px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  box-shadow: var(--shadow-md);
}

.brand-story-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.brand-story-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.brand-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.95);
}

.brand-story-content {
  padding: 24px 22px 26px;
  position: relative;
}

.brand-story-content::before {
  content: 'OUR STORY';
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}

.brand-story-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.3px;
}

.brand-story-text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  letter-spacing: 0.2px;
}

/* ========== 底部品牌 ========== */


/* ========== 底部 Tab 栏（sticky 定位：作为 body 内的常规元素，自动贴在 body 480px 容器内，
   且滚动时始终保持在视口底部可见，不会错位到 viewport 边） ========== */
.tab-bar {
  position: sticky;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 150;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
  padding: 0 20px;
  box-sizing: border-box;
}

/* 确保tabbar在480px容器内 */
body {
  position: relative;
  isolation: isolate; /* 创建新的层叠上下文，不影响fixed定位 */
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 64px;
  height: 54px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--ease);
}

.tab-item .tab-icon {
  width: 22px;
  height: 22px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all 0.25s var(--ease);
}

.tab-item .tab-icon-svg {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.tab-item .tab-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s var(--ease);
}



.tab-item.active .tab-icon {
  opacity: 1;
  filter: brightness(0.4);
  transform: translateY(-1px);
}
.tab-item.active .tab-icon-svg {
  color: var(--text);
  transform: translateY(-1px);
}

.tab-item.active {
  color: var(--text);
}

.tab-item.active .tab-label {
  font-weight: 700;
}

/* ========== 页面头部（Tab 页通用） ========== */
.page-header {
  padding: 24px 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.page-header-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(135deg, #444 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
  margin-top: 8px;
}

/* ========== 服务预览页 ========== */
/* 门店信息条 */
.services-store-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(135deg, #fdf8ef 0%, #fef9f0 100%);
  border-bottom: 1px solid #f0e6d3;
  cursor: pointer;
}
.services-store-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-store-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.services-store-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: #c8aa6e;
  font-weight: 500;
}

/* 服务页顶部搜索栏 */
.services-top-bar {
  padding: 14px 100px 10px 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e8e8e8;
}

.services-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.services-search-input-wrap:active {
  background: #ebebeb;
}

.services-search-placeholder {
  font-size: 14px;
  color: #999;
  line-height: 1;
}

.category-tabs {
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: var(--bg);
  position: sticky;
  top: 60px;
  z-index: 9;
}

.cat-tab-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-tab-list::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  padding: 8px 0 4px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  border-bottom: 2.5px solid transparent;
  letter-spacing: 0.2px;
}

.cat-tab.active {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--gold);
  background: transparent;
  box-shadow: none;
}

/* ========== 侧边栏分类布局 ========== */
.services-body {
  display: flex;
  min-height: calc(100vh - 170px);
  background: #fff;
}

.services-sidebar {
  width: 96px;
  background: #f5efe7;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

.services-sidebar-item {
  padding: 18px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s var(--ease);
  position: relative;
  background: #f5efe7;
  line-height: 1.4;
  margin: 0;
  z-index: 1;
}

/* 选中项上方相邻 item：右下角圆角 */
.services-sidebar-item:has(+ .services-sidebar-item.active) {
  border-bottom-right-radius: 14px;
}

/* 选中项下方相邻 item：右上角圆角 */
.services-sidebar-item.active + .services-sidebar-item {
  border-top-right-radius: 14px;
}

.services-sidebar-item.active {
  color: var(--gold);
  background: #fff;
  font-weight: 700;
  border-radius: 0;
}

/* 左侧金色竖条 */
.services-sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}

.services-main {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.services-main .sort-bar {
  padding: 8px 12px 10px;
}

.services-banner {
  padding: 0 12px 10px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 12px 10px;
  padding: 0;
}

.services-banner img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  height: 90px;
}

.services-banner-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
  border-radius: 12px;
}

.services-banner-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.services-banner-desc {
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  margin: 0;
}

.services-main .services-list {
  padding: 10px 12px;
  gap: 10px;
}

.services-main .services-grid {
  padding: 10px 12px;
  gap: 10px;
}



/* 排序栏 */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 14px;
}

.sort-options {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sort-option {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.sort-option.active {
  color: var(--text);
  font-weight: 700;
}

.sort-arrow {
  opacity: 0.5;
}

.sort-option.active .sort-arrow {
  opacity: 1;
}

.view-toggle-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.view-toggle-btn:active {
  background: var(--bg-secondary);
}

/* 列表展示模式 */
.services-list {
  display: none;
  padding: 14px 16px;
  flex-direction: column;
  gap: 12px;
}

.services-list.show {
  display: flex;
}

.sl-card {
  display: flex;
  gap: 0;
  padding: 0;
  background: var(--card);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  height: 100px;
}

.sl-card:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.sl-card:hover .sl-card-img img {
  transform: scale(1.05);
}

.sl-card-img {
  width: 120px;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.sl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
  -webkit-mask-image: linear-gradient(to right, #000 60%, transparent 100%);
  mask-image: linear-gradient(to right, #000 60%, transparent 100%);
}



.sl-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 12px 14px 12px 10px;
}

.sl-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sl-card-duration {
  font-size: 11px;
  color: #b8860b;
  font-weight: 500;
}

.sl-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sl-price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sl-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}



.sl-book-btn {
  padding: 6px 18px;
  border: none;
  border-radius: 18px;
  background: #444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.3px;
}

.sl-book-btn:active {
  transform: scale(0.95);
  background: #333;
}

/* 网格展示模式 */
.services-grid {
  display: none;
  padding: 14px 16px;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.services-grid.show {
  display: grid;
}

.sg-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.sg-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sg-card-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  position: relative;
}

.sg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-card-info {
  padding: 12px;
}

.sg-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.sg-price-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
}



.sg-book-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 14px;
  background: #444;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.sg-book-btn:active {
  transform: scale(0.95);
  background: #333;
}

/* ========== 预约记录页 ========== */
/* ========== 预约记录页（移动端风格） ========== */
.bookings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 6px;
}

.bookings-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.bookings-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.booking-status-tabs {
  display: flex;
  gap: 20px;
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.booking-status-tabs::-webkit-scrollbar {
  display: none;
}

.status-tab {
  padding: 8px 0 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.2px;
}

.status-tab.active {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.bookings-list {
  padding: 16px 16px 20px;
}

.booking-card {
  background: var(--card);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: none;
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  display: none;
}

.booking-card:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.booking-card-store-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}
.booking-card-store-header svg {
  color: #888;
  flex-shrink: 0;
}
.booking-card-store-header .booking-card-status {
  margin-left: auto;
}

.booking-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px 16px;
  overflow: hidden;
  position: relative;
}

.booking-card-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.booking-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.booking-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-card-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.booking-card-status.pending {
  color: var(--status-pending);
  background: #fff3e0;
}

.booking-card-status.confirmed {
  color: var(--status-confirmed);
  background: #e8f5e9;
}

.booking-card-status.completed {
  color: var(--gold-dark);
  background: #f5f5f5;
}

.booking-card-status.cancelled {
  color: #dc2626;
  background: #fef2f2;
}
.booking-card-status.refunding {
  color: #dc2626;
  background: #fef2f2;
}
.booking-card-status.refunded {
  color: #dc2626;
  background: #fef2f2;
}
.booking-card-status.refund_rejected {
  color: #dc2626;
  background: #fef2f2;
}
.booking-card-status.refund_withdrawn {
  color: #dc2626;
  background: #fef2f2;
}
.booking-card-status.partially_cancelled {
  color: #dc2626;
  background: #fef2f2;
}

.booking-card-status.expired {
  color: #e74c3c;
  background: #fce4ec;
}

.booking-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.booking-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.booking-meta-row svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.booking-card-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  margin-top: 0;
}

.booking-action {
  flex: 1;
  padding: 11px 0;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  letter-spacing: 0.2px;
}

.booking-action:active {
  transform: scale(0.97);
  opacity: 0.8;
}

.booking-action.primary {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 8px;
}

.empty-state svg {
  opacity: 0.35;
  margin-bottom: 8px;
}

.empty-text {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.empty-subtext {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.empty-btn {
  padding: 11px 28px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  margin-top: 8px;
  transition: all 0.2s var(--ease);
}

.empty-btn:active {
  transform: scale(0.96);
  opacity: 0.85;
}

/* ========== 我的页 ========== */
.profile-header {
  background: linear-gradient(160deg, #b8943f 0%, #d4af6a 40%, #e8c98a 100%);
  padding: 48px 24px 60px;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.3s ease;
}

.profile-avatar:active { transform: scale(0.95); }

.profile-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-welcome {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  font-weight: 400;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-level {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.profile-level::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}

.profile-arrow {
  flex-shrink: 0;
}

/* 快捷入口 */
.profile-shortcuts {
  display: flex;
  justify-content: space-evenly;
  padding: 24px 16px;
  background: var(--card);
  margin-top: -16px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  border-bottom: 8px solid var(--bg);
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}

.shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}

.shortcut-item:active {
  transform: scale(0.94);
}

.shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
}

.shortcut-icon svg {
  width: 32px;
  height: 32px;
}

.shortcut-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* 会员 Banner */
.membership-banner {
  margin: 12px 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #2a2218 0%, #1a1510 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}

.membership-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.membership-banner:active {
  transform: scale(0.98);
}

.membership-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.membership-banner-content > svg {
  fill: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(201,169,97,0.4));
}

.membership-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.membership-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}

.membership-banner > svg:last-child {
  stroke: var(--gold);
  position: relative;
  z-index: 1;
}

/* 宣传区 */
.promo-section {
  padding: 0 16px 20px;
}

.promo-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 12px;
  letter-spacing: 0.3px;
}

/* 轮播 banner */
.promo-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 120px;
  cursor: pointer;
  touch-action: pan-y;
}

.promo-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.promo-carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 140px;
}

.promo-carousel-slide .promo-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-carousel-slide .promo-slide-overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.promo-carousel-slide .promo-slide-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.3;
}

.promo-carousel-slide .promo-slide-overlay p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.promo-carousel-slide .promo-slide-overlay .promo-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.promo-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.promo-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: all 0.3s;
}

.promo-carousel-dot.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}

/* 视频 banner */
.promo-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #000;
}

.promo-video-wrap video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ========== 服务详情页 ========== */
.detail-hero {
  position: relative;
  height: 360px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg) 80%);
  pointer-events: none;
}

.detail-page-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  z-index: 20;
}

.detail-page-header .back-btn {
  color: #fff;
}

.detail-scroll {
  padding: 0 16px 20px;
  padding-bottom: 100px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.detail-card {
  background: var(--card);
  border-radius: var(--radius);
  margin-top: 12px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.detail-price-card {
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}

.detail-price-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, rgba(201,169,97,0.15), transparent 70%);
  pointer-events: none;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #444 0%, #555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-name {
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.detail-duration {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.detail-duration::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.detail-desc-card {
  padding: 20px 22px;
}

.detail-desc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.detail-desc-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #000;
  border-radius: 2px;
}

.detail-desc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  letter-spacing: 0.1px;
}

.detail-stores-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.detail-stores-card:active {
  background: #f5f5f5;
}

.detail-stores-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.detail-stores-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-stores-count {
  font-size: 14px;
  color: var(--text-tertiary);
}

.detail-stores-right svg {
  color: var(--text-tertiary);
}

.detail-recommend-title {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 4px 14px;
  letter-spacing: -0.3px;
}

.detail-recommend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-recommend-grid .service-card {
  min-width: unset;
  max-width: unset;
  width: 100%;
}

.detail-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 210;
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.detail-action-bar.hidden {
  display: none;
}

.detail-add-btn {
  flex: 1;
  height: 50px;
  border-radius: 100px;
  border: 1.5px solid #444;
  background: transparent;
  color: #444;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
}

.detail-add-btn:active {
  background: var(--bg-secondary);
  transform: scale(0.98);
}

.detail-book-btn {
  flex: 1.5;
  height: 50px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, #555 0%, #333 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.detail-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.detail-book-btn:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ========== 预约下单页 ========== */
.booking-hero {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.booking-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.booking-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
}



.booking-content {
  padding: 16px 16px 8px;
}

/* 预约页店铺标题模式 */
.booking-store-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  cursor: pointer;
}

.booking-store-title-icon {
  color: #111;
  flex-shrink: 0;
}

.booking-store-title-name {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
}

.booking-store-title-arrow {
  color: #999;
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.2s ease;
}

.booking-store-title:active .booking-store-title-arrow {
  transform: translateX(2px);
}

.booking-store-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#page-home .booking-store-card {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: -28px;
  position: relative;
  z-index: 10;
}

.booking-store-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.2), transparent 70%);
  pointer-events: none;
}

.booking-store-info {
  position: relative;
  z-index: 1;
  flex: 1;
}

.booking-store-location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.9);
}

.booking-store-location-icon svg {
  width: 22px;
  height: 22px;
}

.booking-store-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}

.store-switch-icon:active {
  opacity: 1;
  background: rgba(255,255,255,0.25);
}

.store-switch-icon:active {
  opacity: 1;
}

.booking-store-address {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}

.booking-store-actions {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.store-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.store-action-btn:active {
  background: rgba(255,255,255,0.16);
  transform: scale(0.92);
}

.store-book-btn {
  width: auto !important;
  height: auto !important;
  padding: 8px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark, #c9a84c));
  border: none;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(224,201,138,0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.25s var(--ease);
}

.store-book-btn:active {
  background: linear-gradient(135deg, #d4b96e, #b8943f);
  transform: scale(0.9);
  box-shadow: 0 2px 8px rgba(224,201,138,0.3);
}

.store-action-btn svg {
  stroke: #fff;
  width: 23px;
  height: 23px;
}

.booking-section {
  margin-bottom: 20px;
}

.booking-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.booking-section-header h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-section-header h3::before {
  content: '';
  width: 4px;
  height: 18px;
  background: #000;
  border-radius: 2px;
}

/* ========== 商品规格选择 ========== */
.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-chip {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.spec-chip.selected {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  font-weight: 600;
}

.spec-chip:active {
  transform: scale(0.96);
}

.section-link {
  font-size: 12px;
  color: var(--gold-dark, #b8860b);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s var(--ease);
}

.section-link::after {
  content: ' →';
  font-size: 12px;
}

.section-link:active {
  opacity: 0.6;
}

.booking-cat-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: baseline;
}

.bk-cat {
  padding: 7px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.3px;
  position: relative;
}

.bk-cat.active {
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  border: none;
  box-shadow: none;
}

.bk-cat.active::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 40%;
  width: 55%;
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.booking-services-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 4px 2px;
  margin: -4px -2px;
}

.booking-services-scroll::-webkit-scrollbar {
  display: none;
}

.bk-service-card {
  min-width: 158px;
  max-width: 158px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.bk-service-card:active {
  transform: translateY(-2px);
}

.bk-service-card.selected {
  border-color: var(--gold);
  border-width: 2.5px;
  box-shadow: none;
  transform: translateY(-2px);
}

.bk-service-img {
  width: 100%;
  height: 110px;
  overflow: hidden;
  position: relative;
}

.bk-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bk-service-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
}

.bk-service-info {
  padding: 10px 12px 12px;
}

.bk-service-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-service-price {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.bk-service-member {
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}

/* 日期选择 */
.booking-dates {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.date-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.date-item:active {
  transform: scale(0.96);
}

.date-item.active {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border-color: var(--text);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.date-day {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.7;
}

.date-item.active .date-day {
  color: var(--gold-light);
  opacity: 1;
}

.date-num {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.date-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

/* 时间段分组 */
.time-period-group {
  margin-bottom: 18px;
}
.time-period-group:last-of-type {
  margin-bottom: 0;
}
.time-period-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.time-period-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.time-period-range {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* 时间网格 */
.booking-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 4px;
  text-align: center;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.time-slot .ts-sep {
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 1px;
}

.time-slot:active, .time-slot.selected {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border-color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.time-slot.selected .ts-sep {
  color: rgba(255,255,255,0.6);
}

.time-slot.disabled {
  opacity: 1;
  background: var(--bg-secondary);
  pointer-events: none;
  position: relative;
  color: var(--text-muted);
  border-color: transparent;
}
.time-slot.disabled .ts-start,
.time-slot.disabled .ts-end {
  text-decoration: line-through;
  opacity: 0.5;
}
.time-slot.disabled .ts-sep {
  opacity: 0.4;
}
.time-slot.disabled::after {
  content: 'Booked';
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 8px;
  font-weight: 600;
  color: #e74c3c;
  letter-spacing: 0.2px;
  opacity: 0.8;
}

.time-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.3px;
}

/* 时间段滚动容器 */
.time-slots-scroll-wrapper {
  position: relative;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 10px;
}
.time-slots-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.time-slots-scroll-content {
  padding-bottom: 36px;
}
.time-slots-fade-indicator {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 6px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 40%, #fff 100%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: opacity 0.3s;
  pointer-events: none;
}
.time-slots-fade-indicator svg {
  animation: bounceDown 1.5s infinite;
}
.time-slots-fade-indicator.hidden {
  opacity: 0;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* 技师选择区域 */
.therapist-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
  margin: -4px -2px;
}

.therapist-scroll::-webkit-scrollbar {
  display: none;
}

.therapist-card {
  min-width: 90px;
  max-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
}

.therapist-card:active {
  transform: scale(0.95);
}

.therapist-card.selected .therapist-avatar {
  box-shadow: 0 0 0 3.5px var(--gold);
  filter: none;
}

.therapist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.therapist-any-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: 1.5px dashed #ccc;
}

.therapist-card.selected .therapist-any-avatar {
  border-color: var(--gold);
  background: #fdf8ef;
}
.therapist-card.selected .therapist-any-avatar svg {
  stroke: var(--gold);
}

.therapist-name {
  display: none;
}

.therapist-role {
  margin-top: -14px;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  background: rgba(30, 35, 50, 0.85);
  padding: 4px 10px;
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 88px;
  position: relative;
  z-index: 1;
}

/* 技师列表页 */
#page-therapist-list {
  z-index: 250;
}

.therapist-list-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.therapist-list-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
}

.therapist-list-item:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.therapist-list-item.selected {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}

.therapist-list-item.selected .therapist-current-tag {
  display: block;
}

.therapist-current-tag {
  display: none;
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 0 var(--radius) 0 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.therapist-list-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}

.therapist-list-info {
  flex: 1;
  min-width: 0;
}

.therapist-list-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.therapist-list-bio {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 日历弹窗 */
.calendar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.calendar-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.calendar-sheet {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.calendar-overlay.active .calendar-sheet {
  transform: translateY(0);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.calendar-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.calendar-close:active {
  background: rgba(0,0,0,0.05);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  color: #666;
}

.calendar-nav-btn:active {
  background: rgba(0,0,0,0.05);
}

.calendar-month-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 4px 0;
}

.calendar-day {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.past {
  color: #ccc;
  cursor: default;
}

.calendar-day.selected {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.calendar-day:not(.empty):not(.past):not(.selected):active {
  background: rgba(0,0,0,0.08);
}

.calendar-ok-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.calendar-ok-btn:active {
  opacity: 0.85;
}

/* 底部操作栏 */
.booking-action-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 210;
}

.booking-action-hint {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-next-btn {
  flex: 1;
  padding: 13px 36px;
  background: linear-gradient(135deg, #555 0%, #333 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all 0.2s var(--ease);
}

.booking-next-btn:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.booking-action-btns {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.booking-cart-btn {
  flex: 1;
  padding: 13px 24px;
  background: #fff;
  color: #444;
  border: 1.5px solid #444;
  border-radius: 100px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
}

.booking-cart-btn:active {
  transform: scale(0.96);
  background: #f5f5f5;
}

/* ========== 悬浮购物车 ========== */
.float-cart-wrap {
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
  max-width: 480px;
  margin: 0 auto;
}

.float-cart-wrap > * {
  pointer-events: auto;
}

.float-cart-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(120, 120, 120, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  pointer-events: auto;
  align-self: flex-end;
}

.float-cart-fab:active {
  transform: scale(0.9);
}

.float-cart-fab svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.float-cart-fab.hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.float-cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(231,76,60,0.35);
}

.float-cart-fab-badge:empty {
  display: none;
}

.floating-cart {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: rgba(44, 44, 44, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 10px 10px 10px 16px;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: right center;
  pointer-events: auto;
}

.floating-cart.hidden {
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
}

.floating-cart-icon {
  position: relative;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #c9a96e 0%, #b8860b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-cart-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.floating-cart-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-cart-total {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.floating-cart-count {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}

.floating-cart-checkout {
  background: linear-gradient(135deg, #c9a96e 0%, #b8860b 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.floating-cart-checkout:active {
  transform: scale(0.95);
}

/* 购物车弹窗 */
.cart-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-panel-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 610;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s 0.35s;
  max-height: 65vh;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.cart-panel.show {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s 0s;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-panel-count {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

.cart-panel-clear {
  font-size: 13px;
  color: #e74c3c;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-panel-clear svg {
  stroke: #e74c3c;
}

.cart-panel-clear:active {
  opacity: 0.6;
}

.cart-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.cart-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cart-panel-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-panel-total-label {
  font-size: 14px;
  color: #999;
}

.cart-panel-total-amount {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-panel-checkout-btn {
  background: #b8956b;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cart-panel-checkout-btn:active {
  opacity: 0.8;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #b8956b;
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.cart-qty-minus {
  background: #f0f0f0;
  color: #666;
}

.cart-qty-minus:active {
  background: #e0e0e0;
}

.cart-qty-plus {
  background: #b8956b;
  color: #fff;
}

.cart-qty-plus:active {
  background: #a07d5a;
}

.cart-qty-num {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cart-item-remove:active {
  background: #ffe0e0;
}

.cart-item-remove svg {
  width: 14px;
  height: 14px;
  stroke: #999;
}

/* ========== 确认订单页 - 店铺信息 ========== */
.co-store-section {
  padding: 10px 16px !important;
}

.co-store-row {
  display: flex;
  align-items: center;
}

.co-store-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.co-store-group:active {
  opacity: 0.6;
}

.co-store-tag {
  background: rgba(201, 169, 110, 0.12);
  color: #c9a96e;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.co-store-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.co-store-arrow {
  color: #999;
  font-size: 18px;
  line-height: 1;
}

/* 金色渐变店铺胶囊变体 */
.co-store-card-light {
  background: linear-gradient(135deg, #f7e8c8 0%, #e8d4a0 50%, #d4b978 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.25) !important;
  margin: 0 0 12px 0;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.co-store-card-light::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 100%;
  height: 200%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.2) 8px,
      rgba(255, 255, 255, 0.2) 9px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.15) 8px,
      rgba(255, 255, 255, 0.15) 9px
    );
  pointer-events: none;
  z-index: 0;
}

.co-store-card-light .booking-store-name {
  color: #3d2e0a;
  font-size: 15px;
  font-weight: 700;
}

.co-store-card-light .booking-store-address {
  color: #6b5a2e;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.co-store-icon {
  flex-shrink: 0;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.co-address-icon {
  flex-shrink: 0;
}

.co-store-tag-badge {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 0 var(--radius) 0 12px;
  white-space: nowrap;
  letter-spacing: 1.2px;
}

.co-switch-icon {
  background: rgba(61, 46, 10, 0.15) !important;
  opacity: 1 !important;
}

.co-switch-icon:active {
  background: rgba(61, 46, 10, 0.25) !important;
}

/* ========== 门店确认弹窗 ========== */
.store-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: scOverlayIn 0.25s ease;
}

.store-confirm-overlay.show {
  display: flex;
}

@keyframes scOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.store-confirm-dialog {
  background: #ffffff;
  border-radius: 24px;
  width: 88vw;
  max-width: 360px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: scDialogIn 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes scDialogIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.sc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.2s;
}

.sc-close:active {
  background: rgba(0,0,0,0.16);
  transform: scale(0.92);
}

.sc-close svg {
  width: 14px;
  height: 14px;
  fill: #999;
}

.sc-store-image {
  width: 100%;
  height: 140px;
  background: linear-gradient(145deg, #f8efe6 0%, #e8d9c8 50%, #f5ebdf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sc-store-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.sc-body {
  padding: 24px 24px 20px;
  text-align: center;
}

.sc-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-transform: uppercase;
}

.sc-store-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sc-actions {
  display: flex;
  gap: 12px;
}

.sc-btn {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.sc-btn-change {
  background: #f5f5f5;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
}

.sc-btn-change:active {
  background: #eaeaea;
  transform: scale(0.96);
}

.sc-btn-confirm {
  background: linear-gradient(135deg, #c9a96e 0%, #b8860b 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.3);
}

.sc-btn-confirm:active {
  transform: scale(0.96);
  box-shadow: 0 1px 4px rgba(201, 169, 110, 0.4);
}

/* ========== 订单详情页 ========== */
.order-detail-content {
  padding: 8px 16px 30px;
}

.order-status-section {
  text-align: center;
  padding: 30px 0 24px;
  position: relative;
}

.order-status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
}

.order-status-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.3;
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.order-status-icon.confirmed {
  background: rgba(45, 125, 74, 0.12);
  color: var(--status-confirmed);
}

.order-status-text {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.order-status-desc {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.order-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}

.order-card-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.1px;
}

.order-card-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: #000;
  border-radius: 2px;
}

.order-service-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.order-service-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.order-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-service-info {
  flex: 1;
}

.order-service-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.order-service-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.order-service-price {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.order-info-row:last-child {
  border-bottom: none;
}

.order-info-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.order-info-value {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

/* 时间线 */
.order-timeline {
  position: relative;
  padding-left: 8px;
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
  padding-left: 22px;
  border-left: 2px solid var(--border);
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

.timeline-item.done {
  border-left-color: var(--text);
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
}

.timeline-item.done .timeline-dot {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}

.timeline-item.done:first-child .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,97,0.2);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.timeline-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.timeline-time {
  font-size: 11px;
  color: var(--text-muted);
}

.order-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.order-action-btn {
  flex: 1;
  padding: 13px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.5px;
}

.order-action-btn:active {
  transform: scale(0.97);
}

.order-action-btn.outline {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}

.order-action-btn.outline:active {
  background: var(--bg-secondary);
}

.order-action-btn.danger {
  border-color: #d44;
  color: #d44;
}

/* ========== 店铺列表页 ========== */
.store-search {
  padding: 14px 16px;
  background: var(--card);
  position: sticky;
  top: 56px;
  z-index: 5;
  border-bottom: 1px solid var(--border);
}

.search-wrapper {
  position: relative;
}

.search-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.search-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-secondary);
  font-size: 14px;
  outline: none;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.search-wrapper input:focus {
  border-color: var(--text);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.store-list-items {
  padding: 12px 16px;
}

.store-item {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.store-item::before {
  display: none;
}

.store-item:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-item.active {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}

.store-item.active::before {
  display: none;
}

.store-item .store-current-tag {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 0 var(--radius) 0 12px;
  letter-spacing: 1.2px;
}

.store-item .store-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.store-item .store-address {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-item .store-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.store-item .store-hours {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-item .store-hours::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-confirmed);
  box-shadow: 0 0 6px var(--status-confirmed);
}

.store-item .store-distance {
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* ========== 店铺确认弹窗 ========== */
.store-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.store-confirm-overlay.show {
  display: flex;
}

.store-confirm-dialog {
  background: var(--card);
  border-radius: var(--radius-lg);
  width: 86%;
  max-width: 340px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: dialogIn 0.35s var(--ease);
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s var(--ease);
}

.sc-close:active {
  transform: scale(0.92);
}

.sc-store-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.sc-store-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}

.sc-store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-body {
  padding: 22px 22px 24px;
  text-align: center;
}

.sc-label {
  font-size: 10px;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sc-store-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}

.sc-actions {
  display: flex;
  gap: 10px;
}

.sc-btn {
  flex: 1;
  padding: 13px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
}

.sc-btn:active {
  transform: scale(0.96);
}

.sc-btn-change {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.sc-btn-confirm {
  background: linear-gradient(135deg, #555 0%, #333 100%);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ========== 消息通知页 ========== */
.messages-list {
  padding: 8px 16px;
}

.message-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.message-item:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.message-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f8f8 0%, #ececec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}

.message-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 6px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== 设置页 ========== */
.settings-list {
  padding: 16px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  letter-spacing: -0.1px;
}

.settings-item:active {
  background: var(--bg-secondary);
  transform: scale(0.99);
}

.settings-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.settings-value {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.settings-item.danger {
  color: #d44;
  justify-content: center;
  margin-top: 28px;
  background: var(--card);
  border: 1.5px solid rgba(221,68,68,0.2);
}

.settings-item.danger:active {
  background: rgba(221,68,68,0.05);
}

/* ========== 个人资料编辑 ========== */
.profile-edit-content {
  padding: 24px 20px;
}

.edit-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

/* ========== 个人资料编辑 ========== */
.profile-edit-content {
  padding: 30px 20px;
}

.edit-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.edit-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
}

.edit-avatar-btn {
  font-size: 12px;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(201,169,97,0.1);
  border-radius: 100px;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  background: var(--card);
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.form-group input:focus {
  border-color: var(--text);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.save-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 36px;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all 0.2s var(--ease);
}

.save-btn:active {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ========== 语言切换 ========== */
.language-list {
  padding: 16px;
}

.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.language-item:active {
  background: var(--bg-secondary);
  transform: scale(0.99);
}

.language-item.active {
  border-color: var(--text);
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
}

.language-item.active svg {
  stroke: var(--gold);
}

/* ========== 关于我们 ========== */
.about-content {
  padding: 50px 24px 30px;
  text-align: center;
}

.about-logo {
  position: relative;
}

.about-logo::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 20px;
}

.about-logo h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #444 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-version {
  font-size: 11px;
  color: var(--gold-dark);
  margin-top: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.about-text {
  margin-top: 40px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
}

.about-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-footer {
  margin-top: 40px;
  padding-top: 24px;
  position: relative;
}

.about-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-footer p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* ========== 信息图标（替代 emoji） ========== */
.info-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -1px;
}

/* ========== 搜索页 ========== */
.search-page-header {
  display: flex;
  align-items: center;
  padding: 12px 100px 12px 16px;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-page-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.search-page-back:active {
  transform: scale(0.92);
}

.search-page-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 14px;
  gap: 10px;
  transition: all 0.2s var(--ease);
}

.search-page-input-wrap:focus-within {
  background: var(--card);
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.search-page-input-wrap > svg {
  flex-shrink: 0;
}

.search-page-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  min-width: 0;
}

.search-page-input-wrap input::placeholder {
  color: var(--text-muted);
}

.search-page-clear {
  width: 18px;
  height: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-page-clear.show {
  display: flex;
}

.search-page-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 4px;
  letter-spacing: 0.3px;
  transition: opacity 0.2s var(--ease);
}

.search-page-btn:active {
  opacity: 0.5;
}

.search-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 4px;
  border-bottom: 1px solid var(--border);
}

.search-result-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.search-page-grid-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  color: var(--text);
  transition: background 0.2s var(--ease);
}

.search-page-grid-toggle:active {
  background: var(--bg-secondary);
}

.search-page-results {
  padding: 12px 16px 30px;
}

/* 网格布局 */
.search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.search-grid-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.search-grid-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sgc-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.sgc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgc-name {
  padding: 10px 12px 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sgc-bottom {
  padding: 0 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sgc-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sgc-price {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.sgc-duration {
  font-size: 10px;
  color: var(--text-muted);
}

/* 列表布局 */
.search-list {
  display: flex;
  flex-direction: column;
}

.search-list-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  gap: 14px;
  transition: opacity 0.2s var(--ease);
}

.search-list-item:active {
  opacity: 0.7;
}

.sli-img {
  width: 76px;
  height: 76px;
  background: var(--bg-secondary);
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.sli-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sli-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sli-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.sli-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sli-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.sli-price {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.sli-duration {
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sli-duration::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* 高亮关键字 */
.search-hl {
  color: var(--gold-dark);
  font-weight: 800;
}

/* 初始提示 / 无结果 / 结尾 */
.search-initial-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  gap: 14px;
}

.search-initial-hint svg {
  opacity: 0.5;
}

.search-initial-hint span {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Search Discovery - 热门搜索 & 推荐服务 */
.search-discovery {
  padding: 20px 16px;
}

.search-section {
  margin-bottom: 24px;
}

.search-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-tag:active {
  transform: scale(0.95);
}

.search-tag.hot {
  color: #e8a87c;
  border-color: rgba(232, 168, 124, 0.3);
  background: rgba(232, 168, 124, 0.08);
}

.search-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-recommend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s;
}

.search-recommend-item:active {
  transform: scale(0.98);
  opacity: 0.85;
}

.sri-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sri-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sri-info {
  flex: 1;
  min-width: 0;
}

.sri-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sri-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sri-sales {
  color: #e8a87c;
}

.sri-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.search-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  gap: 14px;
}

.search-no-result svg {
  opacity: 0.5;
}

.search-no-result span {
  font-size: 13px;
  color: var(--text-muted);
}

.search-end-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0 12px;
  gap: 12px;
}

.search-end-line {
  width: 30px;
  height: 1px;
  background: var(--border-strong);
}

.search-end-text {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========== 小程序胶囊按钮 ========== */
.mp-capsule {
  position: fixed;
  top: 14px;
  right: 10px;
  z-index: 99999;
}

.mp-capsule-inner {
  display: flex;
  align-items: center;
  height: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.mp-capsule-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.mp-capsule-more:active {
  background: rgba(0,0,0,0.05);
}

.mp-capsule-divider {
  width: 1px;
  height: 18px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.mp-capsule-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.mp-capsule-close:active {
  background: rgba(0,0,0,0.05);
}

/* ========== 登录授权弹窗 ========== */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-overlay.show {
  opacity: 1;
  visibility: visible;
}

.login-sheet {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px;
  width: 85%;
  max-width: 340px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-overlay.show .login-sheet {
  transform: translateY(0);
  opacity: 1;
}

.login-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.login-sheet-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.login-phone-card {
  background: var(--bg-secondary, #f5f5f5);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.login-phone-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.login-phone-label {
  font-size: 11px;
  color: var(--text-tertiary);
}

.login-btn-allow {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--text-primary, #1a1a1a);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.login-btn-allow:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.login-btn-deny {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--bg-secondary, #f5f5f5);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.login-btn-deny:active {
  opacity: 0.85;
  transform: scale(0.98);
}

/* ========== 订单确认页样式 ========== */
.order-confirm-content {
  padding: 14px 16px;
  padding-bottom: 100px;
}

.confirm-section {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #f0f0f0;
}

.confirm-section .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: '*';
  color: #ff4444;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #000;
}

.form-input:focus {
  outline: none;
  border-color: #000;
}

.login-hint {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.login-link {
  color: #000;
  text-decoration: underline;
}

/* Contact email 输入框 */
.contact-email-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-email-label {
  font-size: 15px;
  color: #999;
  white-space: nowrap;
}

.contact-email-input {
  flex: 1;
  padding: 6px 0;
  border: none;
  font-size: 15px;
  color: #000;
  background: transparent;
  outline: none;
}

.contact-email-input::placeholder {
  color: #ccc;
  font-size: 15px;
}

/* Email 行内布局 */
.form-group-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.form-label-inline {
  font-size: 11px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.form-label-inline.required::after {
  content: '*';
  color: #ff4444;
  margin-left: 3px;
}

.form-input-inline {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #000;
}

.form-input-inline:focus {
  outline: none;
  border-color: #000;
}

/* Booker 外显已填写状态 */
.booker-placeholder.filled {
  color: #000;
  font-weight: 500;
}

.booker-select-btn {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.booker-select-btn:active {
  background: #f5f5f5;
}

/* 技师信息行 */
.therapist-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  margin-bottom: 8px;
}

.therapist-info-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.therapist-info-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.therapist-info-name {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.therapist-info-role {
  font-size: 13px;
  color: #888;
}

.booking-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.booking-info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 14px;
  color: #666;
}

.info-value {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option.selected {
  border-color: #000;
  background: #f8f8f8;
}

.payment-option input {
  margin-right: 12px;
}

.payment-label {
  font-size: 14px;
  color: #000;
}



/* Remarks 行间输入框 */
.remarks-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.remarks-label {
  font-size: 15px;
  color: #999;
  white-space: nowrap;
}

.remarks-inline-field {
  flex: 1;
  padding: 12px 0;
  border: none;
  font-size: 15px;
  color: #000;
  background: transparent;
  outline: none;
}

.remarks-inline-field::placeholder {
  color: #ccc;
  font-size: 15px;
}

.order-summary {
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 12px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

.order-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-name {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  margin-bottom: 4px;
}

.item-price {
  font-size: 14px;
  color: #000;
  font-weight: 600;
}

.item-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

.item-detail-row {
  display: flex;
  gap: 12px;
  margin-top: 3px;
  margin-bottom: 3px;
}

.item-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
}

.item-detail svg {
  flex-shrink: 0;
}

.item-quantity {
  font-size: 14px;
  color: #666;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.final-total {
  border-top: 1px solid #ddd;
  margin-top: 8px;
  padding-top: 12px;
}

.final-total .total-label {
  font-size: 15px;
  font-weight: 600;
}

.final-total .total-value {
  font-size: 18px;
  font-weight: 700;
}

.total-label {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.total-value {
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

.price-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

.submit-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  border-radius: 50px;
  padding: 10px 10px 10px 20px;
  min-width: 100%;
  width: 100%;
}

.submit-bar-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1;
  justify-content: flex-start;
}

.submit-bar-label {
  font-size: 13px;
  color: #aaa;
}

.submit-bar-amount {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.submit-pay-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  background: #E6A23C;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.submit-pay-btn:active {
  opacity: 0.85;
  transform: scale(0.96);
}

.security-note {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

/* 购买者信息弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.show {
  opacity: 1;
}

.modal-sheet {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  transform: translateY(100%);
  transition: transform 0.3s;
  overflow: hidden;
}

.modal-overlay.show .modal-sheet {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.modal-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #666;
}

.modal-content {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  resize: vertical;
  color: #000;
}

.modal-actions {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn.primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.modal-btn.secondary {
  background: #fff;
  color: #000;
}

/* ==================== 支付成功页面样式 ==================== */
.payment-success-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.payment-success-icon {
  margin: 40px 0 20px;
  color: #4CAF50;
}

.payment-success-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

.payment-success-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  text-align: center;
}

.payment-info-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 400px;
}

.payment-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.payment-info-row:last-child {
  margin-bottom: 0;
}

.payment-info-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.payment-info-value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid;
}

.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
}

.btn-secondary {
  background: #fff;
  color: #000;
  border-color: #ccc;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* 返回导航栏 - services-from-booking 页面 */
.back-nav-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
}

.back-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.back-nav-btn:active {
  background: rgba(0,0,0,0.05);
}

.back-nav-title {
  font-size: 17px;
  font-weight: 600;
  margin-left: 12px;
  color: var(--text);
}
