/* ============================================================
   意大利旅游官网 — 全站公共样式 V1.0
   设计基调：地中海蓝 + 意式赭红 + 暖米白，响应式（移动优先）
   ============================================================ */
:root {
  --blue: #1f5f8b;
  --blue-dark: #16455f;
  --blue-light: #eaf3f9;
  --terracotta: #c8553d;
  --terracotta-dark: #a84430;
  --gold: #d9a441;
  --green: #4a8c5c;
  --ink: #2b2b2b;
  --ink-soft: #5a5f66;
  --line: #e6e2da;
  --bg: #faf8f4;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(31, 63, 89, .08);
  --shadow-hover: 0 10px 28px rgba(31, 63, 89, .14);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 28px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--blue-dark); white-space: nowrap; }
.logo .flag {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(90deg, #169b62 33%, #fff 33% 66%, #d5222c 66%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 13px; border-radius: 8px; font-size: 15px; color: var(--ink-soft);
  transition: .18s; white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); }
.main-nav a.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-mini {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--ink-soft); min-width: 150px;
}
.btn {
  display: inline-block; border: none; cursor: pointer; text-align: center;
  background: var(--terracotta); color: #fff; font-size: 15px; font-weight: 600;
  padding: 11px 26px; border-radius: 999px; transition: .18s;
}
.btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-sm { padding: 7px 18px; font-size: 13.5px; }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-light); }
.login-link { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.login-link:hover { color: var(--terracotta); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(22,69,95,.82), rgba(31,95,139,.55) 45%, rgba(200,85,61,.35)),
    repeating-linear-gradient(45deg, #2a6a94 0 60px, #2f739f 60px 120px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -40px 0; height: 180px;
  background: radial-gradient(ellipse 60% 100% at 30% 100%, rgba(255,255,255,.14), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 70px 20px; width: 100%; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.25; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: #ffd98a; }
.hero p.sub { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 17px; }
.hero-search {
  margin-top: 32px; background: #fff; border-radius: 16px; padding: 10px;
  display: flex; gap: 8px; box-shadow: var(--shadow-hover); max-width: 760px; flex-wrap: wrap;
}
.hero-search .field { flex: 1 1 160px; padding: 8px 14px; border-radius: 10px; }
.hero-search .field label { display: block; font-size: 12px; color: var(--ink-soft); }
.hero-search .field input, .hero-search .field select {
  width: 100%; border: none; outline: none; font-size: 15px; background: transparent; color: var(--ink);
}
/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.sec-head h2 { font-size: 28px; color: var(--blue-dark); }
.sec-head h2 span { color: var(--terracotta); }
.sec-head p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; }
.sec-head .more { font-size: 14px; color: var(--blue); white-space: nowrap; }
.sec-head .more:hover { color: var(--terracotta); }

/* 栏目入口卡片 */
.cat-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); transition: .2s; border-top: 4px solid var(--blue);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-card .icon { font-size: 34px; }
.cat-card h3 { margin: 12px 0 6px; font-size: 18px; color: var(--ink); }
.cat-card p { font-size: 13.5px; color: var(--ink-soft); }
.cat-card.hot { border-top-color: var(--terracotta); position: relative; }
.cat-card.hot::after {
  content: "V2.0 新增"; position: absolute; top: 14px; right: 14px;
  background: var(--terracotta); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 999px;
}
.cat-card:nth-child(2) { border-top-color: var(--gold); }
.cat-card:nth-child(3) { border-top-color: var(--green); }

/* 产品卡片 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.prod-thumb {
  height: 170px; position: relative; display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: rgba(255,255,255,.9);
}
.prod-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92);
  color: var(--terracotta); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { font-size: 16.5px; line-height: 1.45; }
.prod-meta { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 12px; flex-wrap: wrap; }
.prod-route {
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.55;
}
.prod-route { margin-top: -2px; }
.prod-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; padding-top: 8px; border-top: 1px dashed var(--line); }
.price { color: var(--terracotta); font-weight: 700; font-size: 20px; }
.price small { font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.sold { font-size: 12px; color: var(--ink-soft); }

/* 步骤流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--terracotta); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 4px 10px rgba(200,85,61,.35);
}
.step h4 { margin: 8px 0 6px; font-size: 16px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* 筛选器 */
.filter-bar {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-bottom: 26px;
}
.filter-group { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.filter-group b { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.chip {
  padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); cursor: pointer; background: #fff; transition: .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 表单 */
.fld label { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.fld label i { color: var(--terracotta); font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px; font-size: 14.5px; outline: none; background: #fff; transition: .15s;
  font-family: inherit;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,139,.1); }

/* 页头 banner（内页） */
.page-hero {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 70%, #2f739f);
  padding: 54px 0; color: #fff;
}
.page-hero h1 { font-size: 32px; }
.page-hero p { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 15px; max-width: 720px; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--blue-light); color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: none; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.tag.ok { background: #e5f3e9; color: var(--green); }
.tag.warn { background: #fdf1e3; color: #b57e22; }
.tag.gray { background: #eef0f2; color: var(--ink-soft); }
.tag.red { background: #fbe9e5; color: var(--terracotta); }

/* 订单 / 凭证 */
.qr {
  width: 74px; height: 74px; flex-shrink: 0; border-radius: 10px; padding: 6px; background: #fff; border: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(0deg, var(--ink) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  background-size: 12px 12px; background-blend-mode: multiply;
}

/* 用户中心布局 */
.user-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.user-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.user-side .who { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: 24px 20px; }
.user-side .who b { font-size: 17px; }
.user-side .who p { font-size: 12.5px; color: rgba(255,255,255,.8); margin-top: 4px; }
.user-side nav a { display: block; padding: 13px 22px; font-size: 14.5px; color: var(--ink-soft); border-left: 3px solid transparent; }
.user-side nav a:hover { background: var(--bg); }
.user-side nav a.active { color: var(--blue); border-left-color: var(--blue); background: var(--blue-light); font-weight: 600; }

/* FAQ */
.faq details { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; padding: 16px 22px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.faq details p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* 页脚 */
.site-footer { background: #22303c; color: #b9c4cd; margin-top: 70px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; font-size: 13.5px; }
.site-footer a:hover { color: #ffd98a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px; font-size: 12.5px; color: #7d8b97; }

/* 悬浮客服 */
.float-service {
  position: fixed; right: 22px; bottom: 26px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
}
.float-service button, .float-service a {
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--terracotta); color: #fff; font-size: 24px;
  box-shadow: 0 6px 18px rgba(200,85,61,.4); display: flex; align-items: center; justify-content: center;
  transition: .18s;
}
.float-service .top-btn { background: var(--blue); box-shadow: 0 6px 18px rgba(31,95,139,.4); }
.float-service button:hover { transform: translateY(-3px); }

/* 客服弹层 */
.chat-panel {
  position: fixed; right: 22px; bottom: 92px; width: 320px; max-width: calc(100vw - 44px);
  background: #fff; border-radius: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.2);
  z-index: 210; display: none; overflow: hidden; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--terracotta); color: #fff; padding: 14px 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-head span { cursor: pointer; font-size: 18px; }
.chat-body { padding: 16px; font-size: 13.5px; }
.chat-body .msg { background: var(--bg); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.chat-body .lead-card { border: 1.5px dashed var(--terracotta); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.chat-body input { width: 100%; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; outline: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .user-layout { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 16px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: block; background: none; border: none; font-size: 24px; color: var(--blue-dark); cursor: pointer;
  }
  .search-mini { display: none; }
}
@media (max-width: 560px) {
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 27px; }
}

/* ============================================================
   V3.1 增补：自营模式口径组件
   ============================================================ */

/* 面包屑 */
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs a { color: var(--blue); }
.crumbs a:hover { color: var(--terracotta); }

/* 产品状态徽标 */
.pstate { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pstate.on { background: #e5f3e9; color: var(--green); }
.pstate.paused { background: #fdf1e3; color: #b57e22; }
.pstate.soldout { background: #eef0f2; color: var(--ink-soft); }
.prod-card.paused { opacity: .68; }
.prod-card.soldout .prod-foot .price { color: var(--ink-soft); }

/* 锁名额提示条 */
.lock-tip {
  background: #fdf6e8; border: 1px solid #f0dcb2; color: #8a6d1f;
  border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-top: 12px;
}

/* 顾问联系提示（支付成功后） */
.advisor-note {
  background: var(--blue-light); border: 1px solid #cfe2ef; color: var(--blue-dark);
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.7;
}

/* 价格类型表 */
.price-tbl { width: 100%; border-collapse: collapse; margin: 10px 0; }
.price-tbl th, .price-tbl td { padding: 10px 14px; font-size: 13.5px; border: 1px solid var(--line); text-align: left; }
.price-tbl th { background: var(--blue-light); color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
.price-tbl td b { color: var(--terracotta); }

/* 支付方式选择（定金/全款） */
.pay-options { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin: 12px 0; }
.pay-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer; border-bottom: 1px solid var(--line); }
.pay-option:last-child { border-bottom: none; }
.pay-option:hover { background: var(--bg); }
.pay-option input { margin-top: 4px; accent-color: var(--terracotta); }
.pay-option b { font-size: 14.5px; }
.pay-option p { font-size: 12.5px; color: var(--ink-soft); }
.pay-option .amt { margin-left: auto; color: var(--terracotta); font-weight: 700; white-space: nowrap; }

/* 行程 Day 条 */
.day-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.day-item .d {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 11px;
}
.day-item .d b { font-size: 18px; line-height: 1.2; }
.day-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.day-item p { font-size: 13.5px; color: var(--ink-soft); }
.day-item .meta { font-size: 12.5px; color: var(--blue); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 提示块：购物/自费/小费 明示 */
.notice-block { background: #fbe9e5; border-left: 4px solid var(--terracotta); border-radius: 8px; padding: 14px 18px; font-size: 13.5px; color: #7a2d1e; line-height: 1.8; }
.notice-block b { color: var(--terracotta-dark); }

/* 攻略卡片 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.guide-card .g-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 46px; }
.guide-card .g-body { padding: 16px 18px 18px; }
.guide-card .g-body .g-tag { font-size: 11.5px; color: var(--blue); background: var(--blue-light); border-radius: 999px; padding: 2px 10px; }
.guide-card .g-body h3 { font-size: 16px; margin: 10px 0 6px; line-height: 1.5; }
.guide-card .g-body p { font-size: 13px; color: var(--ink-soft); }
.guide-card .g-body .g-meta { font-size: 12px; color: var(--ink-soft); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }

/* 攻略正文 */
.guide-article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; max-width: 860px; margin: 0 auto; }
.guide-article h1 { font-size: 26px; color: var(--blue-dark); }
.guide-article .g-info { font-size: 13px; color: var(--ink-soft); margin: 12px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.guide-article h2 { font-size: 19px; margin: 26px 0 12px; color: var(--ink); }
.guide-article p, .guide-article li { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.guide-article ul { padding-left: 20px; list-style: disc; }
.guide-article .tip { background: var(--blue-light); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: var(--blue-dark); margin: 14px 0; }

/* 用户口碑 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.review-card .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.review-card p { font-size: 13.5px; color: var(--ink-soft); margin: 10px 0 14px; }
.review-card .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-card .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-card .who small { color: var(--ink-soft); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .review-grid { grid-template-columns: 1fr; } }

/* 留资表单条（首页） */
.lead-band { background: linear-gradient(120deg, var(--terracotta-dark), var(--terracotta) 60%, #d97b5a); padding: 50px 0; }
.lead-band .inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: center; }
.lead-band h2 { color: #fff; font-size: 26px; }
.lead-band p { color: rgba(255,255,255,.88); font-size: 14px; margin-top: 8px; }
.lead-form { background: #fff; border-radius: 16px; padding: 26px; box-shadow: var(--shadow-hover); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .lead-band .inner { grid-template-columns: 1fr; } }

/* 币种参考价 */
.fx { font-size: 12px; color: var(--ink-soft); }

/* 关于我们 */
.about-block { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin-bottom: 20px; }
.about-block h2 { font-size: 20px; color: var(--blue-dark); margin-bottom: 12px; }
.about-block p, .about-block li { font-size: 14.5px; color: var(--ink-soft); }
.about-block ul { padding-left: 20px; list-style: disc; }
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qual-item { text-align: center; padding: 18px 10px; border: 1.5px dashed var(--line); border-radius: 12px; }
.qual-item .icon { font-size: 30px; }
.qual-item b { display: block; font-size: 14px; margin-top: 8px; }
.qual-item small { color: var(--ink-soft); font-size: 12px; }
@media (max-width: 900px) { .qual-grid { grid-template-columns: 1fr 1fr; } }

/* 首页「为什么选择我们」：与相邻区块区分的浅蓝底带 + 白色卡片，支持图片图标 */
.band-adv { background: #eef4fa; }
.band-adv .qual-item { background: #fff; border: 1px solid #dbe7f1; box-shadow: 0 1px 4px rgba(30,64,120,.06); padding: 22px 12px; }
.band-adv .qual-item .icon { font-size: 34px; line-height: 1; }
.band-adv .qual-item .icon img { width: 52px; height: 52px; object-fit: contain; display: block; margin: 0 auto; }


/* 登录面板（验证码） */
.login-box { max-width: 420px; margin: 0 auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 34px; }
.login-tabs { display: flex; gap: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.login-tabs span { padding: 10px 2px; font-size: 15.5px; color: var(--ink-soft); cursor: pointer; }
.login-tabs span.on { color: var(--terracotta); font-weight: 700; border-bottom: 2.5px solid var(--terracotta); }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row button { white-space: nowrap; border: 1.5px solid var(--blue); background: var(--blue-light); color: var(--blue); border-radius: 10px; padding: 0 16px; font-size: 13.5px; cursor: pointer; }

/* 常用游客（脱敏） */
.traveler-row { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 12px; flex-wrap: wrap; }
.traveler-row .t-name { font-weight: 600; font-size: 15px; }
.traveler-row .t-id { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; }
.mask { background: var(--ink); color: var(--ink); border-radius: 4px; padding: 0 4px; cursor: pointer; user-select: none; }
.mask.show { background: transparent; color: var(--ink-soft); }

/* 评价模块 */
.my-review { background: #faf6ee; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* ============================================================
   轻量弹窗（替代浏览器原生 prompt / confirm）
   用途：收集联系人、填写原因、提交评价、二次确认
   ============================================================ */
.yv-mask {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(22, 45, 62, .48);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: yvFade .16s ease;
}
@keyframes yvFade { from { opacity: 0 } to { opacity: 1 } }
.yv-dialog {
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(22, 45, 62, .28);
  width: 100%; max-width: 440px; max-height: 90vh; overflow: auto;
  animation: yvPop .18s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes yvPop { from { transform: translateY(14px) scale(.97); opacity: 0 } to { transform: none; opacity: 1 } }
.yv-dialog h3 { font-size: 17px; color: var(--blue-dark); padding: 20px 24px 4px; }
.yv-dialog .yv-sub { font-size: 13px; color: var(--ink-soft); padding: 0 24px 4px; line-height: 1.7; }
.yv-dialog .yv-body { padding: 16px 24px 4px; }
.yv-dialog .yv-foot { padding: 16px 24px 20px; display: flex; gap: 10px; justify-content: flex-end; }
.yv-fld { margin-bottom: 14px; }
.yv-fld label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.yv-fld label b { color: var(--terracotta); font-weight: 400; }
.yv-fld input, .yv-fld textarea, .yv-fld select {
  width: 100%; padding: 11px 13px; font-size: 14.5px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.yv-fld input:focus, .yv-fld textarea:focus, .yv-fld select:focus { outline: none; border-color: var(--blue); }
.yv-fld textarea { min-height: 88px; resize: vertical; line-height: 1.7; }
.yv-fld .yv-err { font-size: 12.5px; color: var(--terracotta); margin-top: 5px; display: none; }
.yv-fld.yv-bad input, .yv-fld.yv-bad textarea { border-color: var(--terracotta); }
.yv-fld.yv-bad .yv-err { display: block; }
.yv-stars { display: flex; gap: 6px; font-size: 28px; color: #d8d2c8; cursor: pointer; user-select: none; }
.yv-stars span.on { color: var(--gold); }
.yv-radio { display: flex; gap: 10px; }
.yv-radio button {
  flex: 1; padding: 9px 6px; font-size: 13.5px; font-family: inherit; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px; color: var(--ink-soft);
}
.yv-radio button.on { border-color: var(--terracotta); background: #fdf4f1; color: var(--terracotta); font-weight: 600; }
@media (max-width: 560px) {
  .yv-dialog h3 { padding: 18px 18px 4px; }
  .yv-dialog .yv-sub, .yv-dialog .yv-body, .yv-dialog .yv-foot { padding-left: 18px; padding-right: 18px; }
  .yv-dialog .yv-foot { flex-direction: column-reverse; }
  .yv-dialog .yv-foot .btn { width: 100%; }
}

/* ============ 产品详情（后台 detail_html 渲染） ============ */
.prod-detail { color: var(--ink-soft); font-size: 14.5px; line-height: 1.9; }
.prod-detail p { margin: 8px 0; }
.prod-detail h3, .prod-detail h4 { color: var(--ink); font-size: 16px; margin: 18px 0 8px; }
.prod-detail ul, .prod-detail ol { padding-left: 20px; margin: 8px 0; }
.prod-detail ul { list-style: disc; }
.prod-detail ol { list-style: decimal; }
.prod-detail img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.prod-detail a { color: var(--blue); }
.prod-detail table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.prod-detail th, .prod-detail td { border: 1px solid #e3e8ee; padding: 8px 10px; font-size: 13.5px; }

/* ============ 编辑推荐横条（后台推荐位驱动） ============ */
.rec-strip { grid-column: 1 / -1; margin-bottom: 18px; }
.rec-head { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.rec-head small { font-weight: 400; color: var(--ink-soft); font-size: 12.5px; margin-left: 8px; }
.rec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rec-strip .prod-card .prod-thumb { height: 120px; font-size: 48px; }
.rec-strip .prod-card .prod-body p { display: none; }
@media (max-width: 900px) { .rec-row { grid-template-columns: 1fr 1fr; } }
.prod-badge.rec { background: var(--blue); }

/* ============ 产品封面图片（后台可上传，回退 emoji 占位） ============ */
.prod-thumb .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-thumb .prod-badge { z-index: 2; }
.rec-strip .prod-card .cover-img { position: absolute; }

/* ============ 分享弹窗（产品/文章分享到微信） ============ */
.share-dialog { position: relative; text-align: center; max-width: 320px; width: 86%; }
.share-dialog h3 { font-size: 16px; margin-bottom: 14px; }
.share-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 22px; color: var(--ink-soft); cursor: pointer; line-height: 1; }
.share-qr { display: flex; justify-content: center; }
.share-qr img { width: 190px; height: 190px; border: 1px solid #e8ecf1; border-radius: 10px; background: #fff; }
.share-tip { font-size: 13px; color: var(--ink-soft); margin: 10px 0 14px; line-height: 1.6; }
.share-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-hint { font-size: 12.5px; color: var(--terracotta); min-height: 16px; margin-top: 10px; }
.share-fab { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-soft); background: none; border: 1px solid #dfe5ec; border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.share-fab:hover { color: var(--blue); border-color: var(--blue); }

/* ============ 首页视频展示区（小卡片轮播，后台 home.video.v1~v6 驱动） ============ */
.video-wrap { max-width: 1100px; margin: 0 auto; }
.vc-outer { display: flex; align-items: center; gap: 10px; }
.vc-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; flex: 1; scrollbar-width: none; padding: 4px 0;
}
.vc-track::-webkit-scrollbar { display: none; }
.vc-card {
  flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  position: relative; background: #0b1620;
}
.vc-card video {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1620;
}
.video-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.vc-card.is-empty {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; background-size: cover; background-position: center;
}
.vc-card.is-empty::after { content: ''; position: absolute; inset: 0; background: rgba(10, 20, 32, .35); }
.vc-card.is-empty span {
  position: relative; z-index: 1; color: #fff; font-size: 15px; letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6); background: rgba(0,0,0,.25);
  padding: 8px 20px; border-radius: 999px; backdrop-filter: blur(2px);
}
.vc-arrow {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #dfe5ec; background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); padding: 0;
}
.vc-arrow:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ============ 宽幅风光横幅（填充栏目页留白） ============ */
.prod-grid:empty { display: none; }
/* ============ SEO H1（site-hero）与核心摘要块（GEO fact-summary） ============ */
.site-hero { padding: 26px 0 0; }
.site-hero h1 { font-size: 26px; line-height: 1.4; margin: 0; }
.site-hero h1 em { color: var(--terracotta); font-style: normal; }
@media (max-width: 768px) { .site-hero h1 { font-size: 20px; } }
.fact-summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 18px 0 6px;
}
.fact-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.fact-summary dt { font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.fact-summary dd { margin: 0; }
@media (max-width: 600px) { .fact-summary dl { grid-template-columns: auto 1fr; } }

.wide-banner { margin-top: 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.wide-banner img { display: block; width: 100%; height: 230px; object-fit: cover; }
@media (max-width: 560px) { .wide-banner img { height: 150px; } }
@media (max-width: 900px) { .vc-card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 560px) { .vc-card { flex-basis: 86%; } .vc-arrow { display: none; } }

/* ============ 关于我们：主体关系说明框 + 双主体资质卡 ============ */
.about-disclosure {
  background: #f0f5ef; border: 1px solid #c5d5c3; border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 6px; font-size: 14.5px; color: #3a5a3a; line-height: 1.9;
}
.about-disclosure b { color: #2c5f2d; }
.about-qualcard {
  background: var(--card); border: 1px solid #e8ecf1; border-radius: var(--radius);
  padding: 20px 24px; margin: 12px 0; box-shadow: var(--shadow);
}
.about-qualcard .label { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.about-qualcard .row { font-size: 15px; margin-bottom: 4px; }
.about-qualcard .owner { font-size: 12px; color: #999; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; }

/* ============================================================
 * 产品详情页移动端适配（renderProductDetail 模板为内联样式，
 * 内联样式优先级高于媒体查询，故用 !important 覆盖）
 * ============================================================ */
@media (max-width: 900px) {
  /* 两栏 → 单列 */
  .detail-wrap { display: block !important; }
  /* 预订卡取消吸顶与内部滚动，恢复普通文档流 */
  .detail-wrap > aside { position: static !important; }
  .detail-wrap .booking-card { max-height: none !important; overflow: visible !important; }
  /* 费用包含/不含 两栏 → 上下堆叠 */
  .inc-exc-grid { display: block !important; }
  .inc-exc-grid > div + div { margin-top: 14px; }
}
