@charset "utf-8";
/* ==========================================================================
   www.0792u.com - brand new responsive front end (2026-11-14)
   Mobile-first. No dependency on the legacy 2020css files.
   Breakpoints: 768 / 1024 / 1280.
   ========================================================================== */
:root {
  --brand: #0a7d74;
  --brand-dark: #075e57;
  --brand-soft: #e8f5f3;
  --accent: #f2682a;
  --accent-soft: #fff1e9;
  --ink: #172b33;
  --muted: #6b7c85;
  --line: #e4ecee;
  --bg: #f5f8f9;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(16, 54, 64, .08);
  --shadow-lg: 0 12px 36px rgba(16, 54, 64, .14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16,54,64,.04);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 0 auto; }
/* logo1.png is 339x68; let it scale by height, do not cap it at 150px */
.brand img { width: auto; height: 44px; max-width: 100%; object-fit: contain; flex: 0 0 auto; }
/* the PNG already contains the Chinese + English company name */
.brand-text { display: none; }
.brand-text strong { font-size: 17px; letter-spacing: .5px; color: var(--brand-dark); white-space: nowrap; }
.brand-text span { font-size: 10px; color: var(--muted); letter-spacing: 1.5px; white-space: nowrap; }
.header-tel {
  display: none; align-items: center; gap: 6px; flex: 0 0 auto;
  color: var(--brand-dark); font-weight: 700; font-size: 15px;
}
.header-tel svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle {
  flex: 0 0 auto; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--brand-dark); border-radius: 2px; }
.desktop-nav { display: none; }
.desktop-nav > ul { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 600;
  color: #33474f; white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; background: var(--brand); }
.desktop-nav .nav-cta { background: var(--accent); color: #fff !important; margin-left: 6px; }

/* ---------------- drawer ---------------- */
.drawer-mask {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: rgba(9, 32, 38, .5);
}
.drawer-mask.show { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
  width: 84vw; max-width: 330px; background: #fff;
  transform: translateX(102%); transition: transform .26s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 30px rgba(0,0,0,.16);
}
.drawer.open { transform: translateX(0); }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 14px; border-bottom: 1px solid var(--line);
  background: var(--brand-soft);
}
.drawer-top strong { color: var(--brand-dark); font-size: 17px; }
.drawer-close {
  width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.8); color: var(--brand-dark); font-size: 22px; line-height: 1;
}
.drawer-nav { padding: 8px 0 30px; }
.drawer-nav > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 16px; font-weight: 600; border-bottom: 1px solid #f1f5f6;
}
.drawer-nav > li > a.is-active { color: var(--brand); background: var(--brand-soft); }
.drawer-nav .plus { color: var(--muted); font-weight: 400; font-size: 18px; }
.drawer-sub { display: none; padding: 6px 12px 12px 26px; background: #fafcfc; }
.drawer-sub.open { display: block; }
.drawer-sub a { display: block; padding: 9px 6px; font-size: 14px; color: var(--muted); border-bottom: 1px dashed #edf2f3; }
.drawer-contact { padding: 18px 20px 34px; border-top: 1px solid var(--line); }
.drawer-contact a.btn { width: 100%; text-align: center; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border: 0; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #d9541c; }
.btn-ghost { background: #fff; color: var(--brand-dark); border: 1px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 7px; }
.btn-block { width: 100%; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; background: #0b3d3a; }
.hero-viewport { position: relative; height: 390px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: flex-end;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,35,34,.12) 0%, rgba(5,35,34,.35) 45%, rgba(5,35,34,.82) 100%);
}
.hero-caption { position: relative; z-index: 3; width: 100%; padding: 0 18px 116px; color: #fff; }
.hero-kicker {
  display: inline-block; padding: 4px 11px; border-radius: 20px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  font-size: 12px; letter-spacing: 1px; margin-bottom: 10px;
}
.hero-caption h1 { font-size: 25px; line-height: 1.35; font-weight: 800; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-caption p { font-size: 13px; opacity: .92; margin-bottom: 14px; }
.hero-dots { position: absolute; z-index: 4; bottom: 20px; left: 18px; display: flex; gap: 7px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-dots button.active { width: 22px; border-radius: 5px; background: #fff; }
/* keep the search box fully inside the hero: the old 50% downward shift plus
   .hero{overflow:hidden} clipped its lower half; bottom:40px lifts it up */
.hero-search {
  position: absolute; z-index: 5; bottom: 40px; left: 0; right: 0;
  padding: 0 16px;
}
.hero-search form {
  display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto;
  background: #fff; padding: 7px 7px 7px 14px; border-radius: 12px; box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; font-size: 15px; color: var(--ink); background: transparent;
}
.hero-search button { flex: 0 0 auto; }

/* ---------------- sections ---------------- */
.section { padding: 42px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.section-head h2 small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; margin-bottom: 2px; }
.section-head .more { font-size: 13px; color: var(--muted); white-space: nowrap; }
.section-head .more:hover { color: var(--brand); }

/* quick entries */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; }
.quick-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 6px 12px; text-align: center; box-shadow: var(--shadow);
}
.quick-icon {
  width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.quick-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-item:nth-child(3n+2) .quick-icon { background: #eef4fb; color: #2e6da4; }
.quick-item:nth-child(3n+3) .quick-icon { background: var(--accent-soft); color: var(--accent); }
.quick-item strong { display: block; font-size: 13px; font-weight: 700; }
.quick-item span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }

/* line cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.line-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #eef3f4;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.line-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9f0f1; }
.line-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.line-card:hover .line-card__media img { transform: scale(1.05); }
.line-card__tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 20px;
  background: rgba(10,125,116,.92); color: #fff; font-size: 11px; font-weight: 700;
}
.line-card__tag.hot { background: rgba(242,104,42,.94); }
.line-card__body { padding: 13px 14px 14px; display: flex; flex-direction: column; flex: 1 1 auto; }
.line-card__title {
  font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.line-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.line-card__meta span { font-size: 11px; color: var(--muted); background: #f2f6f7; border-radius: 5px; padding: 3px 7px; }
.line-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { color: var(--accent); font-weight: 800; font-size: 20px; line-height: 1.1; }
.price small { font-size: 12px; font-weight: 600; }
.price em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }

/* destination tiles */
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dest-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; color: #fff; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.68) 100%); }
.dest-card div { position: absolute; z-index: 2; left: 12px; bottom: 11px; }
.dest-card strong { display: block; font-size: 16px; font-weight: 800; }
.dest-card span { font-size: 11px; opacity: .9; }

/* article list */
.article-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article-item { display: flex; gap: 12px; padding: 13px; border-bottom: 1px solid #f0f4f5; align-items: center; }
.article-item:last-child { border-bottom: 0; }
.article-item img { width: 92px; height: 70px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.article-item div { min-width: 0; flex: 1 1 auto; }
.article-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.5; }
.article-item span { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 12px; }
.feature b { display: block; color: var(--brand); font-size: 15px; margin-bottom: 4px; }
.feature span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.feature .num { display: inline-block; font-size: 22px; font-weight: 800; color: var(--brand-soft); margin-bottom: 4px; }

/* CTA strip */
.cta-strip {
  margin: 32px 0 8px; padding: 22px 18px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between;
}
.cta-strip strong { font-size: 18px; display: block; }
.cta-strip p { font-size: 12px; opacity: .88; }
.cta-strip .btn { background: #fff; color: var(--brand-dark); }
.cta-strip .btn:hover { background: var(--brand-soft); }

/* ---------------- footer ---------------- */
.site-footer { margin-top: 40px; background: #10333a; color: #c9dade; padding: 30px 0 92px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 44px; width: auto; max-width: 100%; background: #fff; border-radius: 4px; padding: 3px; }
.footer-brand strong { color: #fff; font-size: 17px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 18px 0; }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-cols a, .footer-cols p { display: block; font-size: 12px; line-height: 2; color: #c9dade; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 14px; font-size: 11px; line-height: 1.9; }
.mobile-bar {
  position: fixed; z-index: 800; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(16,54,64,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 0 7px; font-size: 11px; color: var(--muted); }
.mobile-bar a:first-child { color: var(--brand); font-weight: 700; }
.mobile-bar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar .bar-cta { background: var(--accent); color: #fff !important; font-weight: 700; }
.to-top {
  position: fixed; right: 14px; bottom: 78px; z-index: 790;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.95); box-shadow: var(--shadow); color: var(--brand-dark);
  display: none; align-items: center; justify-content: center; font-size: 18px;
}
.to-top.show { display: flex; }

/* ---------------- inner pages ---------------- */
.page-hero {
  background: linear-gradient(120deg, var(--brand-dark), #14968a);
  color: #fff; padding: 26px 0 30px;
}
.page-hero h1 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.page-hero p { font-size: 13px; opacity: .9; }
.breadcrumb { font-size: 12px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; color: #b6c4c9; }
.filter-bar {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 14px 0 4px; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar a {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: nowrap;
}
.filter-bar a.active, .filter-bar a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.result-meta { font-size: 12px; color: var(--muted); padding: 10px 0 14px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 26px 0 8px; }
.pagination a, .pagination span { min-width: 34px; padding: 7px 10px; text-align: center; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.pagination a:hover { background: var(--brand-soft); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* detail */
.detail-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.detail-title { font-size: 21px; font-weight: 800; line-height: 1.45; margin-bottom: 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.detail-meta span { font-size: 12px; background: #f2f6f7; color: var(--muted); padding: 4px 9px; border-radius: 6px; }
.detail-cover { border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.detail-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.price-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--accent-soft); border-radius: 10px; padding: 13px 14px; margin-bottom: 16px;
}
.price-box .price { font-size: 26px; }
.detail-section { margin-top: 20px; }
.detail-section h3 { font-size: 16px; font-weight: 800; border-left: 4px solid var(--brand); padding-left: 10px; margin-bottom: 12px; }
.detail-section p, .detail-section li { font-size: 14px; line-height: 1.9; color: #43565e; }
.detail-section img { max-width: 100%; height: auto !important; border-radius: 8px; margin: 8px 0; }
.day-item { border-left: 2px solid var(--brand-soft); padding: 0 0 16px 16px; position: relative; }
.day-item::before { content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.day-item b { display: block; color: var(--brand-dark); margin-bottom: 4px; }
.side-card { position: static; } /* sticky covered the review card that follows it */
.side-card h3 { font-size: 15px; margin-bottom: 10px; }
.side-card .btn { width: 100%; margin-bottom: 9px; }
.side-list a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: #43565e; }
.side-list a:hover { color: var(--brand); }
.article-body { font-size: 15px; line-height: 1.95; color: #394d55; }
.article-body p { margin-bottom: 14px; }
.article-body img { max-width: 100%; height: auto !important; border-radius: 8px; margin: 10px 0; }
.article-body h2, .article-body h3 { font-size: 17px; margin: 20px 0 10px; color: var(--brand-dark); }
.share-row { display: flex; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ---------------- >=768 ---------------- */
@media (min-width: 768px) {
  .container { padding: 0 22px; }
  .header-inner { height: 72px; }
  .brand img { height: 50px; }
  .header-tel { display: flex; }
  .hero-viewport { height: 440px; }
  .hero-caption { padding: 0 32px 116px; }
  .hero-caption h1 { font-size: 34px; }
  .hero-caption p { font-size: 15px; }
  .hero-dots { left: 32px; }
  .quick-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dest-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .features { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .article-item img { width: 130px; height: 88px; }
  .detail-wrap { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------------- >=1024 ---------------- */
@media (min-width: 1024px) {
  .desktop-nav { display: block; flex: 1 1 auto; }
  .desktop-nav > ul { justify-content: flex-end; }
  .nav-toggle { display: none; }
  .drawer, .drawer-mask { display: none !important; }
  .mobile-bar { display: none; }
  .to-top { bottom: 24px; }
  .site-footer { padding-bottom: 30px; }
  .brand img { height: 52px; }
  .hero-viewport { height: 480px; }
  .hero-caption { padding: 0 0 116px; }
  .hero-caption h1 { font-size: 40px; }
  .hero-dots { left: 0; }
  .hero-search { padding: 0; bottom: 44px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .section { padding: 52px 0 8px; }
  .section-head h2 { font-size: 25px; }
  .line-card__title { font-size: 16px; }
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 28px; }
}

@media (min-width: 1280px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .drawer, .drawer-mask, .mobile-bar, .to-top, .hero-search, .cta-strip { display: none !important; }
  body { background: #fff; }
  .legacy-wrap > .panel { box-shadow: none; border: 0; padding: 0; }
}

/* ---------------- legacy content wrapper ----------------
   Form / order / print pages keep their original business markup so that no
   POST field or validation script is lost. This layer only makes that markup
   fit the new layout. Note: tables are NEVER set to display:block; doing so
   stacks the cells and breaks the layout. A too-wide table scrolls inside
   its panel instead. */
.legacy-wrap { padding: 18px 0 26px; }
.legacy-wrap > .panel { padding: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legacy-wrap table {
  width: 100% !important; max-width: 100% !important;
  height: auto !important; border-collapse: collapse;
}
.legacy-wrap td, .legacy-wrap th {
  max-width: 100%; height: auto !important; padding: 6px 5px;
  vertical-align: top; word-break: break-word;
}
.legacy-wrap img { max-width: 100% !important; height: auto !important; }
.legacy-wrap [width], .legacy-wrap [height] { max-width: 100% !important; }
.legacy-wrap form, .legacy-wrap dl, .legacy-wrap dt, .legacy-wrap dd,
.legacy-wrap .fl, .legacy-wrap .fr { max-width: 100%; }
.legacy-wrap input, .legacy-wrap select, .legacy-wrap textarea, .legacy-wrap button {
  max-width: 100% !important; font-size: 15px;
}
.legacy-wrap input[type="text"], .legacy-wrap input[type="tel"],
.legacy-wrap input[type="password"], .legacy-wrap input:not([type]),
.legacy-wrap select, .legacy-wrap textarea {
  border: 1px solid #d9e3e5; border-radius: 8px; padding: 9px 11px;
  background: #fff; color: var(--ink);
}
.legacy-wrap input[type="submit"], .legacy-wrap input[type="button"],
.legacy-wrap button, .legacy-wrap .btn {
  background: var(--brand); color: #fff; border: 0; border-radius: 8px;
  padding: 10px 18px; font-weight: 700;
}
.legacy-wrap input[type="submit"]:hover, .legacy-wrap button:hover { background: var(--brand-dark); }
.legacy-wrap a { color: var(--brand-dark); }
.legacy-wrap .msg_text, .legacy-wrap .lg_input { max-width: 100% !important; }
.legacy-wrap h1, .legacy-wrap h2, .legacy-wrap h3 { line-height: 1.45; }

/* form controls: keep the 16px minimum on phones to prevent iOS zoom */
@media (max-width: 767px) {
  .legacy-wrap .fl, .legacy-wrap .fr { float: none !important; width: auto !important; }
  .legacy-wrap input[type="text"], .legacy-wrap input[type="tel"],
  .legacy-wrap input[type="password"], .legacy-wrap select, .legacy-wrap textarea {
    width: 100% !important; font-size: 16px;
  }
  .legacy-wrap td, .legacy-wrap th { padding: 6px 2px; }
}

/* ---------------- legacy: /dingzhi/ custom form ----------------
   This page keeps its original markup (POST fields, re_info() validation),
   but h.css is gone, so its dz_* classes had no rules: the two float
   columns collapsed, dl/dt/dd stacked, the inline height:297px clipped
   the left column and the long notes ran together. Rebuild the layout
   here WITHOUT touching any form field or script. */
.legacy-wrap .wrap,
.legacy-wrap .big,
.legacy-wrap .width_1210 {
  float: none !important; width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important; background: transparent !important;
}
.legacy-wrap .dz_tit {
  float: none !important; width: auto !important; padding: 4px 0 18px !important;
  text-align: center;
}
.legacy-wrap .dz_tit h3 {
  float: none !important; width: auto !important; height: auto !important;
  margin: 0 0 8px; color: var(--brand-dark); font-size: 22px; font-weight: 800;
  line-height: 1.45; text-align: center;
}
.legacy-wrap .dz_tit p {
  float: none !important; width: auto !important; margin: 0;
  color: var(--muted); font-size: 13px; line-height: 1.75; text-align: center;
}
.legacy-wrap .dz_con {
  float: none !important; width: auto !important;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.legacy-wrap .msg_con {
  float: none !important; width: auto !important; height: auto !important;
  min-width: 0; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; overflow: hidden;
}
.legacy-wrap .msg_bt {
  float: none !important; width: auto !important; height: auto !important;
  padding: 11px 14px; line-height: 1.4; font-size: 16px; font-weight: 700;
  text-align: left; color: #fff; background: var(--brand);
}
.legacy-wrap .msg_bt s {
  display: inline-block; min-width: 22px; margin-right: 8px; padding: 0 6px;
  border-radius: 5px; background: rgba(255,255,255,.22); text-align: center;
  text-decoration: none;
}
.legacy-wrap .msg_bom { padding: 14px; }
.legacy-wrap .msg_bom dl {
  display: grid; grid-template-columns: 92px minmax(0, 1fr);
  align-items: center; gap: 10px; margin: 0 0 12px;
}
.legacy-wrap .msg_bom dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.legacy-wrap .msg_bom dt s { color: #e2593c; text-decoration: none; }
.legacy-wrap .msg_bom dd { margin: 0; min-width: 0; }
.legacy-wrap .msg_text,
.legacy-wrap .input,
.legacy-wrap .lg_input { width: 100% !important; box-sizing: border-box; }
.legacy-wrap .msg_bom textarea {
  width: 100% !important; height: 88px !important;
  box-sizing: border-box; resize: vertical;
}
.legacy-wrap .msg_bom > div:not(.tj_btn) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.legacy-wrap .msg_bom > div:not(.tj_btn) .input { width: 116px !important; }
.legacy-wrap .tj_btn {
  float: none !important; width: auto !important;
  height: auto !important; margin: 14px 0 0 !important;
}
.legacy-wrap .submit { width: 100%; }
.legacy-wrap .user_buju_01 {
  width: auto !important; margin: 20px 0 0 !important; padding: 14px !important;
  border: 1px solid var(--line) !important; border-radius: 10px;
  background: #f8fbfb; font-size: 14px; line-height: 1.9;
  color: #43565e; overflow-wrap: anywhere;
}
.legacy-wrap .user_buju_01 div { margin: 0 0 8px; }
.legacy-wrap .clear { clear: both; }
@media (max-width: 767px) {
  .legacy-wrap .dz_con { grid-template-columns: 1fr; }
  .legacy-wrap .msg_bom dl { grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
}

/* ---------------- generic legacy leftovers ----------------
   order/, book/ and print pages still carry old 2020css classes
   (.fl/.fr/.wrap/.item/.qa/.login/.n_page/.lg_input) whose float and
   fixed widths disappeared together with the old stylesheet. */
.legacy-wrap .fl, .legacy-wrap .fr {
  float: none !important; width: auto !important; max-width: 100% !important;
}
.legacy-wrap .item, .legacy-wrap .qa, .legacy-wrap .login,
.legacy-wrap .l_wrap, .legacy-wrap .n_page, .legacy-wrap .input_printf {
  width: auto !important; max-width: 100% !important;
  height: auto !important; float: none !important;
}
.legacy-wrap .item, .legacy-wrap .qa, .legacy-wrap .login { margin-bottom: 12px; }
.legacy-wrap .n_page { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.legacy-wrap .n_page a {
  float: none !important; display: inline-block; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.legacy-wrap .lg_input { width: 100% !important; box-sizing: border-box; }
.legacy-wrap .input_printf { margin: 10px 0; }

/* ---------------- mobile quick nav ----------------
   On phones/tablets the desktop nav is hidden, leaving only logo + burger.
   A compact horizontally scrollable row shows the 6 main sections instead;
   >=1024px keeps the full desktop nav. No JS needed: the current section is
   highlighted with body[data-page] + [data-nav]. */
.quicknav { display: none; }
@media (max-width: 1023px) {
  .quicknav {
    display: block; background: #f7fafa; border-top: 1px solid var(--line);
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .quicknav::-webkit-scrollbar { display: none; }
  .quicknav > ul {
    display: flex; align-items: stretch; width: max-content;
    min-width: 100%; margin: 0; padding: 0 8px; list-style: none;
  }
  .quicknav > ul > li { flex: 0 0 auto; }
  .quicknav a {
    display: block; padding: 10px 14px; font-size: 13px; font-weight: 600;
    color: #4a5f66; white-space: nowrap; border-bottom: 2px solid transparent;
  }
  .quicknav a:hover, .quicknav a.is-active { color: var(--brand); }
  body[data-page="首页"] .quicknav [data-nav="home"],
  body[data-page="江西旅游"] .quicknav [data-nav="jx"],
  body[data-page="旅游攻略"] .quicknav [data-nav="gl"],
  body[data-page="关于我们"] .quicknav [data-nav="about"] {
    color: var(--brand); border-bottom-color: var(--brand);
  }
}

/* ---------------- phone: fill the header with a larger logo ----------------
   Both .brand and .nav-toggle were flex:0 0 auto, so the leftover space sat
   to the RIGHT of the burger (~70px on a 375px screen): an empty top-right
   corner. Let the brand take that space, capped at 310px wide (62px tall,
   the header limit), and push the burger to the right edge. Desktop >=1024
   keeps its full horizontal nav and is untouched. */
@media (max-width: 767px) {
  .header-inner { height: 72px; }
  .brand { width: 100%; max-width: 310px; flex: 0 1 auto; }
  .brand img { width: 100%; height: auto; }
  .nav-toggle { margin-left: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .header-tel { margin-left: auto; }
}


/* ---------------- legacy: 在线预订 / 订单填写页 ----------------
   line/order.asp and order/order.asp keep their original form markup
   (POST fields, check(), changeNum(), date picker and captcha), but the
   old 2020css/i.css is gone. Its .book/.step1 used a fixed 1200px width,
   .c li floated, .plus/.minus/.bt1 were EMPTY elements painted only by
   background sprites, and #listPeopleNumDiv carried an inline width of
   600px / 1100px. Rebuild the layout with flex/grid here, scoped to
   .legacy-order so no other legacy page is affected. No JS is changed. */
.legacy-order .head {
  width: auto !important; max-width: 100% !important; height: auto !important;
  float: none !important; margin: 0 0 14px; padding: 9px 12px;
  background: #f7fafa; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; line-height: 1.6;
}
.legacy-order .head .n {
  width: auto !important; max-width: 100% !important; height: auto !important;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
}
.legacy-order .quick_menu, .legacy-order .loginbar, .legacy-order .regsiter {
  float: none !important; width: auto !important; max-width: 100%;
  height: auto !important;
}
.legacy-order .quick_menu { display: flex; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.legacy-order .quick_menu a { white-space: nowrap; }
.legacy-order .loginbar { margin-left: auto; }

.legacy-order .book {
  width: 100% !important; max-width: 100% !important; float: none !important;
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
}
.legacy-order .book > .logo { float: none !important; margin: 0; }
.legacy-order .book > .logo img {
  width: auto !important; height: 44px !important; max-width: 100%;
  object-fit: contain;
}
.legacy-order .book > .steps {
  float: none !important; width: auto !important; max-width: 100%;
  height: auto !important; overflow: visible; padding: 0; margin: 0;
  flex: 1 1 360px; min-width: 0;
}
.legacy-order .book > .steps dl {
  background: none !important; height: auto !important; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.legacy-order .book > .steps dd {
  float: none !important; width: auto !important; height: auto !important;
  margin: 0; padding: 5px 9px; border-radius: 999px; line-height: 1.35;
  font-size: 12px; text-align: left; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef3f4; color: #70838b;
}
.legacy-order .book > .steps dd::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .55; flex: 0 0 auto;
}
.legacy-order .book > .steps dd.pass { background: var(--brand-soft); color: var(--brand-dark); }
.legacy-order .book > .steps dd.cur { background: var(--brand); color: #fff; font-weight: 700; }
/* DOM order is s5..s1 (the old CSS floated them right); restore s1..s5 */
.legacy-order .book > .steps dd.s1 { order: 1; }
.legacy-order .book > .steps dd.s2 { order: 2; }
.legacy-order .book > .steps dd.s3 { order: 3; }
.legacy-order .book > .steps dd.s4 { order: 4; }
.legacy-order .book > .steps dd.s5 { order: 5; }
.legacy-order .book > .clear { display: none; }

.legacy-order .step1 {
  width: 100% !important; max-width: 100% !important; float: none !important;
  flex: 1 1 100%; margin: 4px 0 0; border: 1px solid var(--line);
  border-top: 3px solid var(--brand); border-radius: 10px;
  background: #fff; overflow: hidden;
}
.legacy-order .step1 > h1 {
  width: auto !important; height: auto !important; margin: 0;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: #f7fafa; color: var(--brand-dark);
  font-size: 17px; font-weight: 800; line-height: 1.45;
}
.legacy-order .step1 .c {
  width: auto !important; max-width: 100% !important; float: none !important;
  padding: 16px; color: #43565e; font-size: 14px; line-height: 1.75;
}
.legacy-order .step1 .c > ul { margin: 0; padding: 0; list-style: none; }
.legacy-order .step1 .c > ul > li {
  float: none !important; width: auto !important; max-width: 100% !important;
  display: grid; grid-template-columns: 100px minmax(0, 1fr);
  gap: 6px 12px; align-items: start; padding: 9px 0;
  border-bottom: 1px dashed #e6eeee; vertical-align: top;
}
.legacy-order .step1 .c .item {
  width: auto !important; max-width: 100% !important; height: auto !important;
  float: none !important; margin: 0; padding: 8px 0 0;
  text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.legacy-order .step1 .c .detail {
  width: auto !important; max-width: 100% !important; height: auto !important;
  float: none !important; padding: 0; min-width: 0;
}
.legacy-order .step1 .c .detail > a { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.legacy-order .step1 .c .detail input[type="text"] {
  width: 100% !important; max-width: 340px; box-sizing: border-box;
}
.legacy-order .step1 .c .tip {
  display: block; margin-top: 4px; color: #b9553a; font-size: 12px; line-height: 1.5;
}
.legacy-order .step1 .c .error_1 { display: none !important; }
.legacy-order .step1 .c .clear { display: none; }
.legacy-order .step1 .c .hr {
  height: 0; border: 0; border-top: 1px dashed #cfe3d8; margin: 18px 0 12px;
}
.legacy-order .step1 .c .xtxx {
  width: auto !important; max-width: 100% !important; height: auto !important;
  float: none !important; margin: 0 0 10px;
}
.legacy-order .step1 .c .xtxx h2 {
  width: auto !important; height: auto !important; float: none !important;
  margin: 0; padding: 0; font-size: 15px; line-height: 1.5; color: var(--brand-dark);
}
.legacy-order .step1 .c .xtxx > div {
  float: none !important; width: auto !important; max-width: 100%;
  font-size: 13px !important; line-height: 1.8; color: var(--muted);
}
.legacy-order .step1 .c > div:not(.clear):not(.hr):not(.xtxx):not(.submint) {
  margin: 0 0 10px; font-size: 14px;
}
.legacy-order .step1 .c textarea {
  width: 100% !important; max-width: 100% !important; height: 96px !important;
  box-sizing: border-box; resize: vertical; line-height: 1.6; font-size: 14px;
}
.legacy-order .step1 .c input[name="checkcode"] {
  width: 130px !important; max-width: 45%; vertical-align: middle;
}
.legacy-order .step1 .c img[src*="Code.asp"] {
  width: auto !important; height: 34px !important; max-width: 45%;
  vertical-align: middle; border: 1px solid var(--line); border-radius: 4px;
}
.legacy-order .step1 .c .submint {
  width: auto !important; height: auto !important; float: none !important;
  margin: 18px 0 4px !important;
}
.legacy-order .step1 .c .submint input {
  width: auto !important; min-width: 160px; height: auto !important;
  padding: 11px 24px; font-size: 15px; cursor: pointer;
}

/* #listPeopleNumDiv has an inline width:600px (line/order.asp)
   or width:1100px (order/order.asp) that used to overflow the phone */
.legacy-order #listPeopleNumDiv {
  display: block !important; float: none !important;
  width: 100% !important; max-width: 100% !important;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.legacy-order .tableStyle {
  width: 100% !important; max-width: 100% !important;
  border: 1px solid var(--line); border-radius: 8px; border-collapse: collapse;
}
.legacy-order .tableStyle th, .legacy-order .tableStyle td {
  height: auto !important; padding: 8px 6px; border: 0;
  border-bottom: 1px solid var(--line);
  text-align: center; vertical-align: middle; font-size: 13px;
  color: #43565e; overflow-wrap: anywhere;
}
.legacy-order .tableStyle th {
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 700;
}
.legacy-order .tableStyle tr:last-child > td { border-bottom: 0; }
.legacy-order .tableStyle .price, .legacy-order .tableStyle .orange {
  color: #d9533a; font-weight: 700;
}
.legacy-order .tableStyle td[align="center"],
.legacy-order .tableStyle td[valign] { white-space: nowrap; }
.legacy-order .tableStyle a.plus, .legacy-order .tableStyle a.minus {
  float: none !important; display: inline-flex !important;
  align-items: center; justify-content: center; vertical-align: middle;
  width: 28px; height: 28px; margin: 0 2px; padding: 0;
  background: var(--brand); color: #fff; border-radius: 6px;
  font: 700 18px/1 Arial, sans-serif; text-decoration: none;
}
.legacy-order .tableStyle a.plus:hover,
.legacy-order .tableStyle a.minus:hover { background: var(--brand-dark); }
.legacy-order .tableStyle a.plus::before { content: "\2212"; } /* changeNum(this,-1) */
.legacy-order .tableStyle a.minus::before { content: "+"; }    /* changeNum(this, 1) */
.legacy-order .tableStyle input.inputQuantity {
  float: none !important; width: 52px !important; min-width: 0;
  height: 28px !important; line-height: 28px !important;
  padding: 0 4px !important; margin: 0 4px !important;
  box-sizing: border-box; text-align: center; vertical-align: middle;
}

@media (max-width: 767px) {
  .legacy-order .step1 .c { padding: 12px; }
  .legacy-order .step1 .c > ul > li { grid-template-columns: 1fr; gap: 4px; }
  .legacy-order .step1 .c .item { text-align: left; padding: 0; }
  .legacy-order .step1 .c .detail input[type="text"] { max-width: 100%; }
  .legacy-order .book > .steps { flex-basis: 100%; }
  .legacy-order .book > .steps dd { font-size: 11px; padding: 4px 7px; }
  .legacy-order .tableStyle th, .legacy-order .tableStyle td {
    padding: 6px 3px; font-size: 12px;
  }
}


/* ---------------- legacy: 订单查询登录页 (order/index.asp) ----------------
   This page keeps its original mobileform POST + check() validation, but its
   old login stylesheet is gone. .loginbar/.wrap/.l_wrap/.login/.center/.txk
   had no layout at all (and .wrap was also hit by the /dingzhi/ rules),
   so labels, links and inputs ran together. Scoped to .legacy-login so the
   other legacy pages keep their own compatibility layers. */
.legacy-login .loginbar {
  float: none !important; width: auto !important; max-width: 100%;
  height: auto !important; margin: 0 0 16px; padding: 9px 12px;
  background: #f7fafa; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; line-height: 1.7;
}
.legacy-login .loginbar > .wrap {
  float: none !important; width: 100% !important; max-width: 100% !important;
  height: auto !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
}
.legacy-login .loginbar .sc { font-weight: 700; color: var(--brand-dark); }
.legacy-login .loginbar .item {
  float: none !important; width: auto !important; max-width: 100%;
  height: auto !important; margin: 0 !important; color: var(--muted);
}
.legacy-login .loginbar .item a { margin: 0 2px; }

.legacy-login .l_wrap {
  float: none !important; width: 100% !important; max-width: 100% !important;
  height: auto !important; margin: 0; padding: 0; background: transparent;
  display: flex; flex-direction: column; gap: 16px;
}
.legacy-login .l_logo { float: none !important; width: auto !important; margin: 0; }
.legacy-login .l_logo img {
  width: auto !important; height: 44px !important; max-width: 100%;
  object-fit: contain;
}
.legacy-login form { width: 100%; margin: 0; }
.legacy-login .center {
  float: none !important; width: auto !important; max-width: 100%;
  height: auto !important; margin: 0; padding: 0;
}
.legacy-login .login {
  float: none !important; width: 100% !important; max-width: 520px;
  height: auto !important; margin: 0 auto !important; padding: 0 !important;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
}
.legacy-login .login .h1 {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 14px 18px; background: var(--brand-soft);
  border-bottom: 1px solid var(--line);
}
.legacy-login .login .h1 h1 {
  width: auto !important; height: auto !important; float: none !important;
  margin: 0; padding: 0; font-size: 19px; font-weight: 800;
  line-height: 1.45; color: var(--brand-dark);
}
.legacy-login .login .h1 span {
  float: none !important; width: auto !important; height: auto !important;
  font-size: 12px; color: var(--muted);
}
.legacy-login .login .form { padding: 18px; }
.legacy-login .txk {
  display: grid; grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px 12px; align-items: center; margin: 0 0 14px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.legacy-login .txk .lg_input {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box;
}
.legacy-login .sub { margin: 18px 0 0; text-align: center; }
.legacy-login .sub input.s_btn {
  width: 100%; max-width: 260px; padding: 12px 20px;
  font-size: 15px; cursor: pointer;
}
@media (max-width: 767px) {
  .legacy-login .login .form { padding: 14px; }
  .legacy-login .login .h1 { padding: 12px 14px; }
  .legacy-login .txk { grid-template-columns: 1fr; gap: 4px; }
  .legacy-login .l_logo img { height: 40px !important; }
}


/* ---------------- detail cover: 2-image rotation (line/show.asp) ----------------
   First image = url field, second = url2 (url3/url5 as fallbacks).
   Slides are stacked absolutely and cross-fade; the container keeps the
   same 16:10 ratio as the old single cover, so no layout jump on phones. */
.detail-cover--slider {
  position: relative; aspect-ratio: 16/10; background: #eef3f4;
}
.detail-cover--slider .cover-slide {
  position: absolute; inset: 0; opacity: 0; z-index: 1;
  transition: opacity .6s ease; pointer-events: none;
}
.detail-cover--slider .cover-slide.is-active {
  opacity: 1; z-index: 2; pointer-events: auto;
}
.detail-cover--slider .cover-slide img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: auto; object-fit: cover;
}
.cover-dots {
  position: absolute; z-index: 4; bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
}
.cover-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.65); box-shadow: 0 1px 4px rgba(0,0,0,.3);
  cursor: pointer; transition: width .2s, background .2s;
}
.cover-dots button.is-active { width: 24px; border-radius: 5px; background: #fff; }
.cover-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(20,40,45,.42); color: #fff;
  font: 24px/32px Arial, sans-serif; text-align: center; cursor: pointer;
  opacity: 0; transition: opacity .2s, background .2s;
}
.detail-cover--slider:hover .cover-arrow { opacity: 1; }
.cover-arrow:hover { background: rgba(10,125,116,.85); }
.cover-prev { left: 10px; }
.cover-next { right: 10px; }
@media (max-width: 767px) {
  .cover-arrow { opacity: .8; width: 32px; height: 32px; font-size: 22px; line-height: 28px; }
}


/* ---------------- detail: second price (pricename2 / price2) ----------------
   Only output when pricename2 is not empty. Dark orange keeps WCAG AA
   contrast (>=5:1) on the soft-orange price box; the main price keeps
   the site's existing accent colour. */
.price-extra {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  margin: 6px 0 2px; font-size: 14px; line-height: 1.5;
}
.price-extra__label { color: #43565e; font-weight: 600; }
.price-extra__value { color: #b8430f; font-weight: 800; font-size: 16px; }
@media (max-width: 767px) {
  .price-box { flex-wrap: wrap; }
  .price-box > div { min-width: 0; }
  .price-extra__value { font-size: 15px; }
}


/* ---------------- detail sidebar: user reviews + publish form ----------------
   Reuses the legacy book table data (approved reviews + admin replies).
   Compact enough for the 290px desktop sidebar, full width on phones. */
.review-card { position: relative; z-index: 1; margin-top: 16px; }
.review-card > h3 {
  margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 800; color: var(--brand-dark);
}
.review-list { margin-bottom: 6px; }
.review-item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-item__head {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 11px; color: var(--muted);
}
.review-item__head strong { font-size: 13px; color: var(--ink); }
.review-item__text {
  margin: 6px 0 0; font-size: 13px; line-height: 1.75;
  color: #43565e; overflow-wrap: anywhere;
}
.review-item__reply {
  margin-top: 7px; padding: 8px 10px; border-radius: 8px;
  background: var(--brand-soft); font-size: 12px; line-height: 1.7; color: #43565e;
}
.review-item__reply b { color: var(--brand-dark); }
.review-empty { margin: 0; padding: 8px 0; font-size: 13px; color: var(--muted); }
.review-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-form h4 { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--brand-dark); }
.review-form label { display: block; margin: 8px 0 4px; font-size: 12px; font-weight: 600; color: #43565e; }
.review-form label i { color: #b8430f; font-style: normal; }
.review-form input[type="text"], .review-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px;
  font-family: inherit; font-size: 14px; line-height: 1.6;
  color: var(--ink); background: #fff;
}
.review-form textarea { min-height: 86px; resize: vertical; }
.review-form input:focus, .review-form textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px;
}
.review-code { display: flex; align-items: center; gap: 8px; }
.review-code input { flex: 1 1 auto; min-width: 0; }
.review-code img {
  flex: 0 0 auto; height: 34px; width: auto; cursor: pointer;
  border: 1px solid var(--line); border-radius: 4px;
}
.review-form button { width: 100%; margin-top: 12px; cursor: pointer; }
.review-note { margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.review-alert {
  margin: 0 0 10px; padding: 8px 10px; border-radius: 8px;
  font-size: 12px; line-height: 1.6;
}
.review-alert--ok { background: var(--brand-soft); color: #075e57; }
.review-alert--err { background: #fff1e9; color: #b8430f; }

/* ---------------- shared date picker ----------------
   Used by line/order.asp (departure date) and dingzhi/index.asp (travel date).
   The legacy HS_calender is gone: it was position:absolute with no top/left,
   so .step1{overflow:hidden} clipped it, and it only opened on the focus event
   of a readonly input, which mobile browsers never dispatch. This panel is
   appended to <body> and turns into a fixed centered dialog below 768px, so no
   ancestor overflow or narrow viewport can hide it. */
.dpc-mask {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9998;
  background: rgba(8, 32, 30, .46); display: none;
}
.dpc {
  position: absolute; z-index: 9999; display: none;
  width: 302px; padding: 10px 10px 8px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(8, 32, 30, .26);
  color: var(--ink); font-size: 14px; font-family: inherit;
}
.dpc__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2px; margin-bottom: 6px;
}
.dpc__nav {
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--brand-dark); cursor: pointer;
  font-family: Tahoma, Arial, inherit; font-size: 18px; font-weight: 700;
  line-height: 1;
}
.dpc__nav:hover, .dpc__nav:focus { background: var(--brand-soft); }
.dpc__title {
  flex: 1 1 auto; text-align: center; font-size: 15px; font-weight: 800;
  color: var(--brand-dark);
}
.dpc__week, .dpc__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.dpc__week { margin-bottom: 2px; }
.dpc__week span {
  text-align: center; font-size: 11px; line-height: 26px; color: var(--muted);
}
.dpc__grid { gap: 3px; }
.dpc__day {
  height: 36px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink); cursor: pointer;
  font-family: inherit; font-size: 14px; line-height: 1;
}
.dpc__day:hover:not(:disabled) { background: var(--brand-soft); }
.dpc__day.is-out, .dpc__day:disabled { color: #c4d0d4; cursor: default; }
.dpc__day.is-today { color: var(--accent); font-weight: 800; }
.dpc__day.is-sel {
  background: var(--brand); color: #fff; font-weight: 700;
  box-shadow: 0 2px 8px rgba(10, 125, 116, .32);
}
.dpc__day.is-sel:hover:not(:disabled) { background: var(--brand-dark); }
.dpc__day:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.dpc__foot {
  display: flex; gap: 6px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.dpc__foot button {
  height: 34px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 8px; background: #f7fafa; color: #43565e; cursor: pointer;
  font-family: inherit; font-size: 13px; line-height: 1;
}
.dpc__foot button:hover { background: var(--brand-soft); color: var(--brand-dark); }
.dpc__foot button[data-act="today"] { margin-right: auto; }

/* phones: fixed and centered, immune to any ancestor overflow */
@media (max-width: 767px) {
  .dpc {
    position: fixed; left: 50%; top: 50%; margin: 0;
    width: 92vw; max-width: 340px; max-height: 84vh; overflow-y: auto;
    -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
    padding: 12px 12px 10px; border-radius: 14px;
  }
  .dpc__nav { width: 40px; height: 40px; font-size: 20px; }
  .dpc__day { height: 42px; font-size: 15px; }
  .dpc__foot button { height: 42px; font-size: 14px; }
  .dpc__week span { line-height: 30px; font-size: 12px; }
}

/* ---------------- toast: copy feedback ---------------- */
.site-toast {
  position: fixed; z-index: 9000; left: 50%; bottom: 88px;
  max-width: calc(100% - 32px); padding: 10px 16px;
  background: rgba(15, 40, 40, .94); color: #fff;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(8, 32, 30, .3);
  font-family: inherit; font-size: 13px; line-height: 1.5; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  -webkit-transform: translate(-50%, 8px); transform: translate(-50%, 8px);
  -webkit-transition: opacity .22s ease, visibility .22s ease, -webkit-transform .22s ease;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.site-toast.is-show {
  opacity: 1; visibility: visible;
  -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0);
}
.site-toast__t { display: block; font-weight: 700; }
.site-toast__n { display: block; margin-top: 2px; font-size: 12px; color: #8fd8cf; letter-spacing: .5px; }
.site-toast.is-err { background: rgba(122, 42, 20, .96); }
.site-toast.is-err .site-toast__n { color: #ffd0b8; }
@media (min-width: 768px) { .site-toast { bottom: 30px; } }

/* ---------------- desktop nav dropdown: 关于我们 ----------------
   The desktop bar is a flex row of bare <a> plus one <li> for the CTA, so the
   submenu item is wrapped in <li class="nav-drop"> to stay a valid list child
   without touching the other items. Shown on hover and on focus-within so it
   also works from the keyboard. */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > a { display: flex; align-items: center; gap: 5px; }
.nav-drop > a::after {
  content: ""; width: 5px; height: 5px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  -webkit-transform: rotate(45deg); transform: rotate(45deg); opacity: .7;
}
.nav-drop:hover > a,
.nav-drop:focus-within > a { color: #fff; background: var(--brand); }

.nav-sub {
  position: absolute; top: 100%; right: 0; z-index: 130;
  min-width: 172px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(16, 54, 64, .16);
  opacity: 0; visibility: hidden;
  -webkit-transform: translateY(-6px); transform: translateY(-6px);
  -webkit-transition: opacity .18s ease, visibility .18s ease, -webkit-transform .18s ease;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub {
  opacity: 1; visibility: visible;
  -webkit-transform: translateY(0); transform: translateY(0);
}
.desktop-nav .nav-sub li { display: block; }
.desktop-nav .nav-sub a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: #33474f; white-space: nowrap;
}
.desktop-nav .nav-sub a:hover,
.desktop-nav .nav-sub a.is-active { background: var(--brand-soft); color: var(--brand-dark); }

/* 1024-1199px is the tightest desktop band: 7 nav items + the new dropdown
   caret + the CTA must still fit on one row, so tighten spacing there only. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .desktop-nav a { padding: 9px 8px; font-size: 14px; }
  .desktop-nav > ul { gap: 2px; }
  .desktop-nav .nav-cta { margin-left: 4px; }
}
