﻿/* ===================================
   威海旅游网 · 全站样式
   主色: #667eea 紫 | 价格: #ff6a00 橙
   =================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #667eea;
  --primary-end: #764ba2;
  --orange: #ff6a00;
  --bg: #f5f5f5;
  --text: #333;
  --text-light: #999;
  --white: #fff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 70px;
}

/* 页面容器 */
.page-wrap {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ========== 顶部导航 ========== */
.top-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.top-logo { font-size: 17px; font-weight: bold; color: white; text-decoration: none; }
.top-user { color: white; display: flex; align-items: center; }

/* ========== 主内容区 ========== */
.main-content {
  padding-top: 52px;
}

/* ========== Hero / 顶部大图区 ========== */
.home-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white;
  padding: 30px 15px 50px;
  position: relative;
}

.home-hero h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.home-hero p { font-size: 12px; opacity: 0.85; margin-bottom: 14px; }

.home-search {
  background: white;
  border-radius: 25px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.home-search input {
  flex: 1; border: none; font-size: 16px; outline: none;
  color: #333; background: transparent;
}
.home-search input::placeholder { color: #999; }
.home-search svg { color: #999; width: 18px; height: 18px; flex-shrink: 0; }

/* ========== 分类图标区 ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 12px;
  margin-top: -35px;
  position: relative;
  z-index: 2;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #666;
}
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.cat-item:active .cat-icon { transform: scale(0.95); }
.cat-item span { font-size: 11px; color: #666; }

  background: rgba(0,0,0,0.4); padding: 8px 16px; border-radius: 20px;
}
.banner-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
.banner-dot { width: 6px; height: 6px; background: #ddd; border-radius: 50%; }
.banner-dot.active { background: var(--primary); width: 18px; border-radius: 3px; }

/* ========== 区块标题 ========== */
.section-header {
  padding: 20px 15px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.section-header h2 { font-size: 16px; font-weight: bold; color: #333; }
.section-header .more { color: var(--text-light); font-size: 12px; text-decoration: none; }

/* ========== 横向滑动卡片列表 ========== */
.card-scroll {
  display: flex; gap: 10px;
  padding: 0 15px 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none; scrollbar-width: none;
}
.card-scroll::-webkit-scrollbar { display: none; }

.route-card {
  min-width: 155px; background: white;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.2s;
}
.route-card:active { transform: scale(0.97); }
.route-card-img {
  width: 100%; height: 95px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.route-card-body { padding: 9px; }
.route-card-title { font-size: 15px; font-weight: bold; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-card-price { color: var(--orange); font-size: 16px; font-weight: bold; margin-top: 4px; }
.route-card-price small { font-size: 11px; color: #bbb; text-decoration: line-through; margin-left: 3px; font-weight: normal; }
.route-card-score { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* ========== 门票列表 ========== */
.ticket-list { padding: 0 15px 15px; display: flex; flex-direction: column; gap: 10px; }
.ticket-card {
  background: white; border-radius: var(--radius);
  padding: 12px; display: flex; gap: 12px;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.2s;
}
.ticket-card:active { transform: scale(0.98); }
.ticket-img {
  width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.ticket-info { flex: 1; min-width: 0; }
.ticket-name { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 4px; }
.ticket-price { color: var(--orange); font-size: 15px; font-weight: bold; }
.ticket-price small { font-size: 11px; color: #bbb; text-decoration: line-through; font-weight: normal; }
.ticket-badge { display: inline-block; background: #e8f5e9; color: #38a854; font-size: 11px; padding: 1px 6px; border-radius: 4px; margin-top: 4px; }
.ticket-meta { font-size: 14px; color: var(--text-light); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ========== 酒店横向滚动 ========== */
.hotel-card {
  min-width: 185px; background: white;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.2s;
}
.hotel-card:active { transform: scale(0.97); }
.hotel-card-img {
  width: 100%; height: 110px;
  background: linear-gradient(135deg, #fc5c7d 0%, #6a82fb 100%);
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.hotel-card-body { padding: 9px; }
.hotel-card-name { font-size: 15px; font-weight: bold; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotel-card-meta { font-size: 13px; color: var(--text-light); margin: 3px 0; }
.hotel-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.hotel-card-price { color: var(--orange); font-size: 16px; font-weight: bold; }
.hotel-card-price small { font-size: 11px; color: #bbb; font-weight: normal; }
.hotel-score { background: var(--orange); color: white; font-size: 11px; padding: 1px 5px; border-radius: 4px; }

/* ========== 攻略横向滚动 ========== */
.guide-card {
  min-width: 180px; background: white;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.2s;
}
.guide-card:active { transform: scale(0.97); }
.guide-card-img {
  width: 100%; height: 120px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: white;
  background-size: cover; background-position: center;
  position: relative;
}
.guide-card-img-text {
  color: white; font-size: 13px; font-weight: bold;
  background: rgba(0,0,0,0.45); padding: 5px 12px; border-radius: 8px;
  text-align: center; line-height: 1.4;
}
.guide-card-body { padding: 9px; }
.guide-card-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-card-meta { font-size: 13px; color: var(--text-light); }

/* ========== 底部导航 ========== */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: white;
  display: flex; justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 100;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  cursor: pointer; color: #999; transition: color 0.2s; text-decoration: none;
}
.nav-item.active { color: var(--primary); }
.nav-item svg { width: 22px; height: 22px; }
.nav-item span { font-size: 10px; }

/* ========== 列表页通用 ========== */
.page-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white; padding: 16px 15px 20px;
  font-size: 20px; font-weight: bold;
}
.page-title small { display: block; font-size: 12px; opacity: 0.8; margin-top: 4px; font-weight: normal; }

/* 筛选标签 */
.filter-bar { padding: 12px 15px; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-chip {
  padding: 5px 14px; border-radius: 20px; font-size: 13px;
  background: white; color: #666; border: 1px solid #eee;
  white-space: nowrap; text-decoration: none; transition: all 0.2s;
}
.filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }

/* 通用列表卡片 */
.list-cards { padding: 0 15px 15px; display: flex; flex-direction: column; gap: 10px; }
.list-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  display: flex; transition: transform 0.2s;
}
.list-card:active { transform: scale(0.98); }
.list-card-img {
  width: 100px; height: 100px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.list-card-img img { width: 100%; height: 100%; object-fit: cover; }
.list-card-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; }
.list-card-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 4px; }
.list-card-sub { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.list-card-bottom { display: flex; justify-content: space-between; align-items: center; }
.list-card-price { color: var(--orange); font-size: 16px; font-weight: bold; }
.list-card-price small { font-size: 11px; color: #bbb; text-decoration: line-through; font-weight: normal; }
.list-card-tag { background: #fff3e0; color: var(--orange); font-size: 11px; padding: 1px 6px; border-radius: 4px; }

/* ========== 详情页 ========== */
.detail-cover {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
  position: relative;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }

.detail-back {
  position: absolute; top: 12px; left: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.4); color: white;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 18px;
}

.detail-body { padding: 15px; }
.detail-title { font-size: 24px; font-weight: bold; color: #333; margin-bottom: 8px; }
.detail-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.detail-price { color: var(--orange); font-size: 26px; font-weight: bold; margin-bottom: 12px; }
.detail-price small { font-size: 16px; color: #bbb; text-decoration: line-through; margin-left: 6px; font-weight: normal; }
.detail-price span { font-size: 13px; color: #666; font-weight: normal; }

.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.detail-tag { background: #f0f0ff; color: var(--primary); font-size: 12px; padding: 3px 10px; border-radius: 12px; }

.detail-section { margin-top: 20px; }
.detail-section h3 { font-size: 19px; font-weight: bold; margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--primary); }
.detail-section p { font-size: 17px; color: #555; line-height: 1.8; }

.itinerary-list { display: flex; flex-direction: column; gap: 12px; }
.itinerary-item { display: flex; gap: 12px; }
.itinerary-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white; font-size: 12px; display: flex; align-items: center; justify-content: center;
  font-weight: bold;
}
.itinerary-content { flex: 1; }
.itinerary-day { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 4px; }
.itinerary-text { font-size: 13px; color: #666; line-height: 1.7; }

.book-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: white; padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08); z-index: 100;
}
.book-price { color: var(--orange); font-size: 22px; font-weight: bold; flex: 1; }
.book-price small { font-size: 12px; color: #999; text-decoration: line-through; font-weight: normal; }
.book-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white; border: none; border-radius: 25px;
  padding: 12px 30px; font-size: 15px; font-weight: bold; cursor: pointer;
  text-decoration: none; display: inline-block; text-align: center;
}

/* ========== 订单页 ========== */
.order-form { padding: 15px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 16px; font-weight: bold; margin-bottom: 6px; color: #333; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1px solid #eee;
  border-radius: 8px; font-size: 16px; outline: none;
  transition: border-color 0.2s; background: white;
}
.form-input:focus { border-color: var(--primary); }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.order-summary { background: white; border-radius: var(--radius); padding: 15px; margin-bottom: 16px; box-shadow: var(--shadow); }
.order-summary h3 { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
.order-item { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin-bottom: 6px; }
.order-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: bold; color: var(--orange); margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }
.submit-btn {
  width: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white; border: none; border-radius: 25px;
  padding: 14px; font-size: 16px; font-weight: bold; cursor: pointer;
}

/* ========== 用户中心 ========== */
.user-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white; padding: 30px 15px;
  display: flex; align-items: center; gap: 14px;
}
.user-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.user-info h2 { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
.user-info p { font-size: 12px; opacity: 0.8; }

.user-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #eee; margin: 0; }
.user-stat { background: white; padding: 14px; text-align: center; }
.user-stat-num { font-size: 18px; font-weight: bold; color: var(--primary); }
.user-stat-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }

.menu-section { padding: 10px 15px; }
.menu-group { background: white; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow); }
.menu-item {
  display: flex; align-items: center; padding: 14px 15px;
  text-decoration: none; color: #333; font-size: 16px;
  border-bottom: 1px solid #f5f5f5; gap: 12px;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.menu-item-arrow { margin-left: auto; color: #ccc; font-size: 16px; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 15px; }
.page-btn {
  padding: 8px 16px; border-radius: 20px; font-size: 13px;
  background: white; color: var(--primary); text-decoration: none;
  border: 1px solid var(--primary); transition: all 0.2s;
}
.page-btn:hover { background: var(--primary); color: white; }
.page-info { font-size: 13px; color: var(--text-light); }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .empty-icon { font-size: 60px; margin-bottom: 15px; }
.empty-state p { font-size: 16px; }

/* ========== 管理后台 ========== */
.admin-login { max-width: 360px; margin: 80px auto; padding: 30px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-login h2 { text-align: center; font-size: 20px; margin-bottom: 20px; color: var(--primary); }
.admin-header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%); color: white; padding: 15px; display: flex; align-items: center; justify-content: space-between; }
.admin-nav { display: flex; gap: 8px; }
.admin-nav a { color: white; text-decoration: none; font-size: 13px; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,0.2); }
.admin-body { padding: 15px; }
.admin-card { background: white; border-radius: var(--radius); padding: 15px; margin-bottom: 12px; box-shadow: var(--shadow); }
.admin-card h3 { font-size: 16px; color: var(--text-light); margin-bottom: 8px; }
.admin-card .num { font-size: 28px; font-weight: bold; color: var(--primary); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--primary); color: white; padding: 10px 12px; text-align: left; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8f7ff; }
.status-badge { padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.status-pending { background: #fff3e0; color: #e65100; }
.status-paid { background: #e8f5e9; color: #2e7d32; }
.status-completed { background: #e3f2fd; color: #1565c0; }
.btn-sm { padding: 4px 10px; border-radius: 4px; font-size: 12px; text-decoration: none; background: var(--primary); color: white; }
.btn-outline { background: white; color: var(--primary); border: 1px solid var(--primary); }

/* ========== 支付页 ========== */
.pay-box { text-align: center; padding: 30px 15px; }
.pay-amount { font-size: 36px; font-weight: bold; color: var(--orange); margin: 10px 0; }
.pay-qr { background: white; border-radius: var(--radius); padding: 20px; display: inline-block; margin: 15px 0; box-shadow: var(--shadow); }
.pay-qr img { width: 180px; height: 180px; display: block; }
.pay-tips { font-size: 13px; color: var(--text-light); margin-top: 12px; }
.pay-methods { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.pay-method { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pay-method-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* ========== 攻略详情 ========== */
.guide-content { padding: 15px; font-size: 18px; line-height: 2.0; color: #444; }
.guide-content p { margin-bottom: 12px; }
.guide-content h3 { font-size: 20px; font-weight: bold; margin: 16px 0 8px; color: #333; }

/* ========== 响应式 ========== */
@media (max-width: 430px) {
  .page-wrap { max-width: 100%; }
  .top-header { max-width: 100%; }
  .bottom-nav { max-width: 100%; }
  .book-bar { max-width: 100%; }
}

/* ========== 分类徽章 ========== */
.cat-badge {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: bold;
}
.cat-1 { background: #e3f2fd; color: #1565c0; } /* 景区门票-蓝 */
.cat-2 { background: #fff3e0; color: #e65100; } /* 演艺演出-橙 */
.cat-3 { background: #e8f5e9; color: #2e7d32; } /* 体验活动-绿 */

.detail-cover-cat {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 12px; padding: 3px 10px; border-radius: 12px;
  background: rgba(0,0,0,0.5); color: white;
}

.ticket-tags-row { display: flex; gap: 6px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.ticket-badge { background: #e8f5e9; color: #38a854; font-size: 11px; padding: 1px 6px; border-radius: 4px; }

/* ========== 景区图片展示 ========== */
.img-gallery { border-radius: 10px; overflow: hidden; margin-top: 8px; }
.gallery-img { width: 100%; height: 200px; object-fit: cover; cursor: zoom-in; transition: transform 0.3s; }
.gallery-img:active { transform: scale(1.02); }

/* ========== 地图 ========== */
.map-container { margin-top: 8px; border-radius: 10px; overflow: hidden; background: #f8f9fa; }
.map-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.map-address-row { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 13px; color: #555; }
.map-open-btn {
  display: block; text-align: center; background: var(--primary); color: white;
  text-decoration: none; padding: 10px; font-size: 13px; font-weight: bold;
  border-radius: 0 0 10px 10px;
}
.map-fallback { padding: 16px; text-align: center; }
.map-link-btn {
  display: inline-block; background: var(--primary); color: white;
  text-decoration: none; padding: 8px 20px; border-radius: 20px; margin-top: 8px; font-size: 13px;
}

.detail-desc { font-size: 17px; color: #555; line-height: 1.8; }

/* ========== 特惠Banner区域 ========== */
.banner-section {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner-card {
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  border-radius: 16px;
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(238,9,121,0.3);
}

.banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.banner-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.banner-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 10px;
  position: relative;
}

.banner-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
}

.banner-subtitle {
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 15px;
  position: relative;
}

.banner-price {
  display: flex;
  align-items: baseline;
  position: relative;
}

.banner-price .price {
  font-size: 28px;
  font-weight: 800;
}

.banner-price .price small {
  font-size: 16px;
  font-weight: 400;
}

.banner-price .original {
  font-size: 16px;
  text-decoration: line-through;
  opacity: 0.7;
  margin-left: 10px;
}

.banner-btn {
  position: absolute;
  right: 15px;
  bottom: 20px;
  background: white;
  color: #ff6a00;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* ========== 详情页沉浸式封面 ========== */
.scenic-hero {
  position: relative;
  width: 100%;
  height: 55vw;
  max-height: 420px;
  min-height: 220px;
  overflow: hidden;
  background: #0a1628;
}
.scenic-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scenic-hero-mask {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.92));
  pointer-events: none;
}
.scenic-back {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.scenic-hero-info {
  position: absolute;
  left: 16px; right: 16px; bottom: 20px;
  z-index: 5;
  color: #fff;
}
.cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cat-1 { background: #e8f5e9; color: #2e7d32; }
.cat-2 { background: #fff3e0; color: #e65100; }
.cat-3 { background: #e3f2fd; color: #1565c0; }
.scenic-hero-title {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 4px;
  line-height: 1.3;
}
.scenic-hero-loc {
  font-size: 13px;
  opacity: 0.85;
}

/* ========== 价格卡片 ========== */
.scenic-price-card {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.price-main {
  display: flex;
  align-items: baseline;
  color: #e53935;
  font-weight: 700;
}
.price-symbol { font-size: 14px; }
.price-num { font-size: 28px; line-height: 1; }
.price-unit { font-size: 13px; color: #999; margin-left: 2px; }
.price-discount {
  background: #fff0f0;
  color: #e53935;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.price-orig {
  font-size: 12px;
  color: #bbb;
  text-decoration: line-through;
  margin-left: 4px;
}
.price-sales {
  margin-left: auto;
  font-size: 12px;
  color: #f57c00;
}

/* ========== 亮点标签 ========== */
.scenic-highlights {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 8px solid #f5f5f5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.highlight-item {
  flex-shrink: 0;
  font-size: 12px;
  color: #333;
  background: #f5f7fa;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ========== 通用区块 ========== */
.scenic-section {
  background: #fff;
  padding: 14px 16px;
  border-bottom: 8px solid #f5f5f5;
}
.scenic-section-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
.section-icon { font-size: 18px; }
.scenic-intro {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* ========== 景区风光画廊 ========== */
.scenic-gallery { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.gallery-item {
  flex-shrink: 0;
  width: 72vw;
  max-width: 340px;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ========== 固定底部购买栏 ========== */
.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding-bottom: env(safe-area-inset-bottom);
}
.buy-bar-inner {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 12px;
}
.buy-price {
  display: flex;
  align-items: baseline;
  color: #e53935;
  font-weight: 700;
}
.buy-price-sym { font-size: 13px; }
.buy-price-num { font-size: 24px; line-height: 1; }
.buy-price-person { font-size: 12px; color: #999; margin-left: 2px; }
.buy-btn {
  flex: 1;
  text-align: center;
  background: linear-gradient(135deg, #ff7300, #e53935);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 10px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.buy-btn:active { opacity: 0.85; }

/* ========== 登录弹窗 ========== */
.login-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 200;
}
.login-modal[style*="block"] { display: block !important; }
.login-modal-mask {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
}
.login-modal-box {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px 20px;
  text-align: center;
}
.login-modal-icon { font-size: 40px; margin-bottom: 10px; }
.login-modal-title { font-size: 18px; font-weight: 700; color: #222; }
.login-modal-desc { font-size: 14px; color: #888; margin: 8px 0 18px; }
.login-modal-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: #1a73e8;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
}
.login-modal-cancel { font-size: 14px; color: #999; padding: 6px 0; cursor: pointer; }

/* ========== 订单弹窗 ========== */
.order-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 200;
}
.order-modal[style*="block"] { display: block !important; }
.order-modal-mask {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
}
.order-modal-box {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 380px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}
.order-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}
.order-modal-close { font-size: 20px; cursor: pointer; color: #999; }
.order-form .form-row {
  margin-bottom: 14px;
}
.order-form label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}
.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="date"],
.order-form input[type="number"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}
.num-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.num-ctrl button {
  width: 32px; height: 32px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
}
.num-input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 0;
  font-size: 15px;
}
.submit-btn {
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #ff7300, #e53935);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

/* ========== 相关推荐 ========== */
.related-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.related-item {
  flex-shrink: 0;
  width: 44vw;
  max-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}
.related-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.related-info { padding: 8px 10px; }
.related-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-price {
  font-size: 14px;
  color: #e53935;
  font-weight: 700;
  margin-top: 4px;
}

/* ========== 详情页 body 不挡底部 ========== */
body.detail-page {
  padding-bottom: 60px;
}

/* ========== 详情页：隐藏底部导航，避免与购买栏重叠 ========== */
body.detail-page .bottom-nav {
  display: none !important;
}

/* 详情页底部留足购买栏空间 */
body.detail-page {
  padding-bottom: 70px !important;
}
