/* ===================================================================
   richtext.css — 富文本内容 / 详情页增强（线路详情、行程、日期下拉）
   后台富文本编辑器所见即所得，前台统一走 .rt-body 排版
   =================================================================== */

/* ---------- 1. 富文本正文 ---------- */
.rt-body {
  font-size: 15px;
  line-height: 1.95;
  color: #444;
  word-break: break-word;
  letter-spacing: .2px;
}
.rt-body > *:first-child { margin-top: 0 !important; }
.rt-body > *:last-child { margin-bottom: 0 !important; }
.rt-body p { margin: 0 0 12px; }
.rt-body h1, .rt-body h2, .rt-body h3, .rt-body h4 {
  margin: 22px 0 12px;
  color: #1a2230;
  font-weight: 700;
  line-height: 1.5;
}
.rt-body h1 { font-size: 22px; }
.rt-body h2 { font-size: 19px; }
.rt-body h3 {
  font-size: 17px;
  color: #E07200;
  border-left: 3px solid #E07200;
  padding-left: 10px;
}
.rt-body h4 { font-size: 15px; }
.rt-body strong, .rt-body b { color: #000; font-weight: 700; }
.rt-body em, .rt-body i { font-style: italic; }
.rt-body u { text-decoration: underline; text-underline-offset: 3px; }
.rt-body s, .rt-body strike { text-decoration: line-through; color: #98a1ac; }
.rt-body a { color: #E07200; text-decoration: underline; text-underline-offset: 3px; }
/* 站点全局 common.css 有 ul,li{list-style:none}，这里在富文本内恢复列表样式 */
.rt-body ul { list-style: disc outside !important; margin: 0 0 14px !important; padding-left: 22px !important; }
.rt-body ol { list-style: decimal outside !important; margin: 0 0 14px !important; padding-left: 22px !important; }
.rt-body li { display: list-item !important; list-style: disc outside !important; margin-bottom: 6px; }
.rt-body ol > li { list-style: decimal outside !important; }
.rt-body li::marker { color: #FF8A00; }
.rt-body blockquote {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 3px solid #FFB20A;
  background: #FBF7F1;
  color: #6b5a45;
  border-radius: 0 8px 8px 0;
}
.rt-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 14px auto;
  border-radius: 8px;
}
.rt-body hr {
  border: 0;
  height: 1px;
  background: #eceff2;
  margin: 22px 0;
}
.rt-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.rt-body table th, .rt-body table td {
  border: 1px solid #e6e9ee;
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.rt-body table th { background: #F8F5F0; color: #1a2230; font-weight: 600; }
.rt-body table tr:nth-child(even) td { background: #FCFCFC; }
.rt-body .rt-center { text-align: center; }
.rt-body .rt-right { text-align: right; }
/* 编辑器用 execCommand 产出的 <font size> 在前台按同样的像素还原，保证所见即所得 */
.rt-body font[size="1"] { font-size: 12px; }
.rt-body font[size="2"] { font-size: 13px; }
.rt-body font[size="3"] { font-size: 15px; }
.rt-body font[size="4"] { font-size: 17px; }
.rt-body font[size="5"] { font-size: 19px; }
.rt-body font[size="6"] { font-size: 22px; }
.rt-body font[size="7"] { font-size: 26px; }

/* 行程正文（每日描述）：稍微紧凑 */
.rt-day { font-size: 15.5px; line-height: 1.9; color: #555; }
.rt-day p { margin: 0 0 10px; }
.rt-spot { font-size: 14px; line-height: 1.85; color: #666; margin-top: 6px; }
.rt-spot p { margin: 0 0 6px; }

/* ---------- 2. 行程概览增强 ---------- */
.ld-sum p { margin: 0; }
.ld-factline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 16px 0 0;
  padding: 14px 0 2px;
  border-top: 1px dashed #eceff2;
}
.ld-factline p {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #8a919b;
}
.ld-factline p i {
  width: 6px; height: 6px; margin-right: 8px;
  border-radius: 50%;
  background: #FFB20A;
  flex-shrink: 0;
}
.ld-factline em { font-style: normal; color: #1a2230; font-weight: 600; }

.ld-hl { margin-top: 16px; }
.ld-hl-t {
  margin: 0 0 8px;
  font-size: 14px;
  color: #8a919b;
  display: flex;
  align-items: center;
}
.ld-hl-t i {
  width: 6px; height: 6px; margin-right: 8px; border-radius: 50%;
  background: #FF5B33; flex-shrink: 0;
}
.ld-hl ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ld-hl li {
  font-size: 13px;
  color: #7a5c3a;
  background: #FBF5EC;
  border: 1px solid #F0E3D2;
  border-radius: 6px;
  padding: 5px 11px;
  line-height: 1.5;
}

/* ---------- 3. 详细行程：景点 ---------- */
/* 天数 tab：不换行（原样式固定 56px 宽，三字“第1天”会被挤成竖排） */
.rd_explain .ex_bar ul li a {
  width: auto;
  min-width: 56px;
  padding: 0 8px;
  white-space: nowrap;
  box-sizing: border-box;
}
.rd_explain .ex_bar ul li a.cur { background: #E07200; color: #fff; }
.i_spot dt i::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
}
.sp_item {
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #FAFBFC;
  border: 1px solid #EEF1F4;
  border-radius: 8px;
}
.sp_item:last-child { margin-bottom: 0; }
.sp_item > b { display: block; font-size: 15px; color: #1a2230; margin-bottom: 4px; }
.sp_item .rt-spot { color: #6b7280; }

/* ---------- 4. 出游日期下拉 ---------- */
.lf-date-wrap { position: relative; }
.lf-date.has {
  color: #1a2230;
  font-weight: 600;
  border-color: #FFC98A;
  background: #FFFDF9;
}
.lf-date.has i { border-color: #FF8A00; transform: rotate(225deg); margin-top: 4px; }

.lf-datepick {
  position: absolute;
  z-index: 90;
  top: 48px;
  left: 0;
  right: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 34, 41, .14);
  max-height: 400px;
  overflow-y: auto;
  box-sizing: border-box;
}
.lf-datepick::-webkit-scrollbar { width: 6px; }
.lf-datepick::-webkit-scrollbar-thumb { background: #dfe3e8; border-radius: 3px; }
.dp-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid #f1f3f5;
}
.dp-hd b { font-size: 13px; color: #1a2230; }
.dp-hd em { font-size: 11.5px; color: #98a1ac; font-style: normal; }
.dp-sched { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dp-sc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7a5c3a;
  background: #FBF5EC;
  border: 1px solid #F0E3D2;
  border-radius: 6px;
  padding: 4px 8px;
  text-decoration: none;
}
.dp-sc:hover { border-color: #FF8A00; color: #E07200; }
.dp-sc.act { border-color: #FF8A00; background: #FFF1DE; color: #E07200; font-weight: 600; }
.dp-sc em { font-style: normal; color: #a08a6e; font-size: 11px; }

.dp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dp-d {
  display: block;
  text-align: center;
  padding: 7px 2px 6px;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: all .15s;
}
.dp-d:hover { border-color: #FF8A00; background: #FFFBF5; }
.dp-d.sel { border-color: #FF8A00; background: #FFF4E6; }
.dp-d b { display: block; font-size: 13px; color: #1a2230; line-height: 1.3; }
.dp-d span { display: block; font-size: 10.5px; color: #98a1ac; line-height: 1.4; }
.dp-d em { display: block; font-size: 11px; color: #FF5B33; font-style: normal; font-weight: 600; line-height: 1.4; }
.dp-ft {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #f1f3f5;
  text-align: center;
  font-size: 12px;
  color: #FF8A00;
  cursor: pointer;
}
.dp-ft:hover { color: #E07200; text-decoration: underline; }
.dp-empty { padding: 16px 4px; text-align: center; font-size: 13px; color: #98a1ac; line-height: 1.8; }

/* 日历定位高亮 */
.tr_calendar.flash {
  animation: calFlash 1.4s ease;
  border-radius: 12px;
}
@keyframes calFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); }
  30% { box-shadow: 0 0 0 4px rgba(255, 138, 0, .22); }
  60% { box-shadow: 0 0 0 2px rgba(255, 138, 0, .12); }
}

@media (max-width: 960px) {
  .dp-grid { grid-template-columns: repeat(3, 1fr); }
  .rt-body { font-size: 14.5px; }
}

/* ---------- 5. 行程抵达（按天清单） ---------- */
.dc-list { margin: 0; padding: 0; list-style: none; }
.dc-list li {
  display: flex; gap: 6px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed #f0f2f4;
  font-size: 15px; line-height: 1.7;
}
.dc-list li:last-child { border-bottom: 0; }
.dc-list li b { flex-shrink: 0; color: #E07200; font-weight: 700; }
.dc-list li a { color: #3c4654; text-decoration: none; }
.dc-list li a:hover { color: #FF8A00; text-decoration: underline; }

/* ---------- 6. 景点卡（可带图） ---------- */
.sp_item-pic { display: flex; gap: 14px; align-items: flex-start; padding: 12px; }
.sp_pic {
  width: 190px; height: 130px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #f2f4f7;
}
.sp_pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sp_item-pic:hover .sp_pic img { transform: scale(1.05); }
.sp_txt { min-width: 0; flex: 1; }

/* 用餐 / 住宿 合并成一行 */
.i_foot {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed #eee;
}
.i_foot dl { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: none; }
.i_foot dt { margin: 0 !important; font-weight: normal; }
.i_foot dd { margin: 0 !important; font-size: 14.5px; color: #555; }

/* ---------- 7. 右侧「联系我们」栏 ---------- */
/* 外层与站点 w1200 对齐，避免内容贴浏览器左边、右侧栏被固定工具条压住 */
.ai-detail-layout.ld-page {
  width: 1200px; margin: 0 auto 30px; position: relative;
  display: flex; gap: 20px; align-items: flex-start;
}
.ld-aside { width: 280px !important; position: sticky; top: 8px; align-self: flex-start; }
.ld-ct {
  background: #fff; border: 1px solid #eceff2; border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(15, 34, 41, .05);
}
.ld-ct-hd {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, #FFB020, #FF8A00);
}
.ld-ct-hd i {
  width: 14px; height: 2px; border-radius: 2px; background: #fff;
  box-shadow: 0 4px 0 #fff, 0 -4px 0 #fff;
}
.ld-ct-qr {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-bottom: 1px dashed #f1f3f5;
}
.ld-ct-qrimg {
  width: 112px; height: 112px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #f0f2f4; border-radius: 10px; padding: 4px;
}
.ld-ct-qrimg img, .ld-ct-qrimg canvas {
  width: 104px !important; height: 104px !important; display: block;
}
.ld-ct-qrtx b { display: block; font-size: 14.5px; color: #1a2230; margin-bottom: 7px; }
.ld-ct-qrtx span { font-size: 12.5px; color: #98a1ac; line-height: 1.8; }

.ld-ct-card { padding: 14px 16px; border-bottom: 1px dashed #f1f3f5; }
.ld-ct-name { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: #1a2230; line-height: 1.55; }
.ld-ct-tel { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; }
.ld-ct-tel a { font-size: 15.5px; font-weight: 700; color: #FF5B33; text-decoration: none; letter-spacing: .3px; }
.ld-ct-tel a:hover { text-decoration: underline; }
.ld-ct-tel b { font-size: 11.5px; font-weight: 400; color: #98a1ac; align-self: center; margin-right: -8px; }
.ld-ct-addr, .ld-ct-hours { margin: 0; font-size: 12px; color: #98a1ac; line-height: 1.85; }

.ld-ct-wx { padding: 14px 16px 6px; text-align: center; }
.ld-ct-wx > img {
  width: 136px; height: 136px; object-fit: contain;
  border: 1px solid #f0f2f4; border-radius: 10px; padding: 5px; background: #fff;
}
.ld-ct-wx > p { margin: 8px 0 0; font-size: 12.5px; color: #98a1ac; }
.ld-ct-wxph {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; background: #F6FBF8; border: 1px solid #E3F0E8; border-radius: 10px;
}
.ld-ct-wxph svg { width: 34px; height: 34px; color: #22A45D; flex-shrink: 0; }
.ld-ct-wxph p { margin: 0; font-size: 13px; font-weight: 600; color: #1a2230; line-height: 1.6; }
.ld-ct-wxph em { font-style: normal; font-size: 11.5px; font-weight: 400; color: #8aa295; }

.ld-ct-btn {
  display: block; margin: 12px 16px 16px; height: 42px; line-height: 42px;
  text-align: center; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #FFB020, #FF8A00);
  box-shadow: 0 6px 16px rgba(255, 138, 0, .28);
}
.ld-ct-btn:hover { filter: brightness(1.03); }

.ld-ct-tip {
  margin-top: 12px; padding: 12px 14px;
  background: #FBF7F1; border: 1px solid #F0E3D2; border-radius: 12px;
}
.ld-ct-tip b { display: block; font-size: 12.5px; color: #8a6a3c; margin-bottom: 4px; }
.ld-ct-tip span { font-size: 11.5px; color: #a08a6e; line-height: 1.75; }

@media (max-width: 1180px) {
  .ai-detail-layout.ld-page { width: 100%; }
  .ai-detail-layout { flex-wrap: wrap; }
  .ld-aside { width: 100% !important; position: static; }
  .ld-ct { display: flex; flex-wrap: wrap; align-items: center; }
  .ld-ct-hd { width: 100%; }
  .ld-ct-qr, .ld-ct-card, .ld-ct-wx { flex: 1 1 220px; border-bottom: 0; }
  .ld-ct-btn { flex: 1 1 100%; }
}

/* ===================================================================
   8. 独立预订页（/lines/{id}/book）
   =================================================================== */
.bk-wrap { width: 1200px; margin: 0 auto; padding: 0 0 48px; }
.bk-crumb { padding: 16px 0 0; font-size: 13px; color: #98a1ac; }
.bk-crumb a { color: #98a1ac; text-decoration: none; }
.bk-crumb a:hover { color: #FF8A00; }
.bk-crumb span { color: #5b6572; }

.bk-steps { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; font-size: 13.5px; color: #98a1ac; }
.bk-steps span { display: flex; align-items: center; gap: 8px; }
.bk-steps span i {
  width: 22px; height: 22px; border-radius: 50%; background: #eef1f4; color: #98a1ac;
  font-style: normal; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.bk-steps span.on { color: #1a2230; font-weight: 600; }
.bk-steps span.on i { background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff; }
.bk-steps em { flex: 1; max-width: 130px; height: 1px; background: #eceff2; }

.bk-sec {
  background: #fff; border: 1px solid #eceff2; border-radius: 16px;
  padding: 22px 24px 24px; margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(15, 34, 41, .04);
}
.bk-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 17px; font-weight: 700; color: #1a2230; }
.bk-h2 em {
  width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff;
  font-style: normal; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.bk-prod {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  padding: 12px; border: 1px solid #f0f2f4; border-radius: 12px; background: #FCFCFD;
  text-decoration: none;
}
.bk-prod img { width: 112px; height: 76px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.bk-prod-tx { flex: 1; min-width: 0; }
.bk-prod-tx b { display: block; font-size: 15px; color: #1a2230; line-height: 1.5; margin-bottom: 6px; }
.bk-prod-tx span { font-size: 12.5px; color: #98a1ac; }
.bk-prod-back { flex-shrink: 0; font-style: normal; font-size: 12.5px; color: #FF8A00; }
.bk-prod:hover .bk-prod-back { text-decoration: underline; }

.bk-field { margin-bottom: 16px; }
.bk-field > label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: #3c4654; }
.bk-field > label i { color: #FF5B33; font-style: normal; margin-right: 3px; }
.bk-in {
  width: 100%; height: 44px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid #e6e9ee; border-radius: 10px; background: #fff;
  font-size: 14px; color: #1a2230; outline: none; font-family: inherit;
}
.bk-in:focus { border-color: #FF8A00; box-shadow: 0 0 0 3px rgba(255, 138, 0, .12); }
.bk-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 16px; }

.bk-scheds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-sched {
  position: relative; display: block; padding: 13px 40px 13px 14px;
  border: 1px solid #e6e9ee; border-radius: 10px; background: #fff;
  cursor: pointer; transition: all .16s;
}
.bk-sched input { position: absolute; opacity: 0; pointer-events: none; }
.bk-sched span { display: block; font-size: 13.5px; font-weight: 600; color: #3c4654; line-height: 1.5; }
.bk-sched em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #98a1ac; }
.bk-sched:hover { border-color: #FFC98A; }
.bk-sched.on { border-color: #FF8A00; background: #FFFBF5; box-shadow: inset 0 0 0 1px #FF8A00; }
.bk-sched.on span { color: #E07200; }
.bk-sched-ck {
  position: absolute; right: 0; top: 0; width: 26px; height: 26px; display: none;
  align-items: center; justify-content: center; border-radius: 0 9px 0 10px;
  background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff; font-size: 12px; font-weight: 700;
}
.bk-sched.on .bk-sched-ck { display: flex; }

.bk-datewrap { position: relative; }
.bk-datewrap svg {
  position: absolute; left: 13px; top: 13px; width: 18px; height: 18px;
  color: #98a1ac; pointer-events: none;
}
.bk-datewrap input {
  width: 100%; height: 44px; padding: 0 14px 0 40px; box-sizing: border-box;
  border: 1px solid #e6e9ee; border-radius: 10px; background: #fff;
  font-size: 14px; color: #1a2230; outline: none; font-family: inherit;
}
.bk-datewrap input:focus { border-color: #FF8A00; box-shadow: 0 0 0 3px rgba(255, 138, 0, .12); }
.bk-hint { margin: 7px 0 0; font-size: 12px; color: #98a1ac; line-height: 1.6; }

.bk-stepper { display: flex; height: 44px; border: 1px solid #e6e9ee; border-radius: 10px; overflow: hidden; background: #fff; }
.bk-stepper button {
  width: 40px; flex-shrink: 0; border: 0; background: #F7F8FA;
  font-size: 17px; color: #5b6572; cursor: pointer; line-height: 1;
}
.bk-stepper button:hover { background: #EFF2F5; color: #FF8A00; }
.bk-stepper input {
  flex: 1; width: 100%; min-width: 0; border: 0; text-align: center;
  font-size: 15px; font-weight: 600; color: #1a2230; outline: none; background: #fff;
}
.bk-f-num label em { font-style: normal; color: #FF5B33; font-weight: 700; }

.bk-pay {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 4px; padding-top: 18px; border-top: 1px dashed #eceff2;
}
.bk-pay-l span { font-size: 13px; color: #98a1ac; }
.bk-pay-l b { display: block; font-size: 28px; font-weight: 700; color: #FF5B33; line-height: 1.2; }
.bk-pay-l em { font-style: normal; font-size: 12px; color: #98a1ac; }
.bk-submit {
  height: 50px; padding: 0 46px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 138, 0, .3); font-family: inherit;
}
.bk-submit:hover { filter: brightness(1.03); }
.bk-submit:disabled { opacity: .6; cursor: not-allowed; }
.bk-tip { margin: 14px 0 0; font-size: 12px; color: #98a1ac; line-height: 1.9; }
.bk-tip a { color: #FF8A00; text-decoration: none; }
.bk-err {
  display: none; margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: #FEF3F2; color: #D92D20; font-size: 13px;
}

.bk-done {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(16, 24, 40, .45); backdrop-filter: blur(3px);
}
.bk-done.hidden { display: none; }
.bk-done-box {
  width: 430px; max-width: 100%; padding: 32px 28px; text-align: center;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(16, 24, 40, .2);
}
.bk-done-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #34D399, #12B76A); color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
}
.bk-done-box h3 { margin: 0 0 12px; font-size: 19px; color: #1a2230; }
.bk-done-box p { margin: 0 0 8px; font-size: 14px; color: #5b6572; }
.bk-done-box p b { color: #1a2230; letter-spacing: .5px; }
.bk-done-sub { font-size: 12.5px !important; color: #98a1ac !important; margin-bottom: 20px !important; }
.bk-done-acts { display: flex; gap: 12px; justify-content: center; }
.bk-btn-line, .bk-btn-main {
  height: 42px; line-height: 42px; padding: 0 20px; border-radius: 10px;
  font-size: 13.5px; text-decoration: none;
}
.bk-btn-line { border: 1px solid #e6e9ee; color: #5b6572; }
.bk-btn-line:hover { border-color: #FF8A00; color: #FF8A00; }
.bk-btn-main { background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff; font-weight: 600; }

@media (max-width: 1040px) {
  .bk-wrap { width: auto; padding: 0 14px 40px; }
  .bk-scheds { grid-template-columns: 1fr; }
  .bk-row { grid-template-columns: 1fr; }
  .bk-pay { flex-direction: column; align-items: stretch; }
  .bk-submit { width: 100%; }
}

/* ===================================================================
   9. 景点门票频道（景点百科式：分组列表 + 信息卡详情）
   =================================================================== */
.tk-head { padding: 18px 0 4px; }
.tk-head h1 { margin: 0 0 8px; font-size: 26px; font-weight: 700; color: #1a2230; letter-spacing: .5px; }
.tk-head p { margin: 0; font-size: 13px; color: #98a1ac; }

.tk-sec { margin-top: 24px; }
.tk-sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #eef1f4;
}
.tk-sec-hd h2 {
  display: flex; align-items: center; gap: 9px; margin: 0;
  font-size: 19px; font-weight: 700; color: #1a2230;
}
.tk-sec-hd h2 i { display: block; width: 4px; height: 17px; border-radius: 2px; background: linear-gradient(180deg, #FFB020, #FF8A00); }
.tk-more { font-size: 13px; color: #98a1ac; text-decoration: none; }
.tk-more:hover { color: #FF8A00; }

.tk-item {
  display: flex; gap: 18px; padding: 16px; margin-bottom: 14px;
  background: #fff; border: 1px solid #eef1f4; border-radius: 10px;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.tk-item:hover { border-color: #ffe0bc; box-shadow: 0 8px 24px rgba(15, 34, 41, .07); }
.tk-item-pic { display: block; width: 240px; height: 150px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.tk-item-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tk-item:hover .tk-item-pic img { transform: scale(1.05); }
.tk-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tk-item-main h3 { margin: 2px 0 9px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.tk-item-main h3 a { color: #1a2230; text-decoration: none; }
.tk-item-main h3 a:hover { color: #E07200; }
.tk-item-desc {
  margin: 0 0 auto; font-size: 13.5px; color: #6b7280; line-height: 1.95;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tk-item-addr { margin: 12px 0 0; font-size: 12.5px; color: #a3abb5; line-height: 1.6; }
.tk-item-addr i { margin-right: 5px; font-style: normal; color: #FF8A00; }
.tk-item-side {
  width: 150px; flex-shrink: 0; display: flex; flex-direction: column;
  align-items: flex-end; justify-content: center; gap: 9px; text-align: right;
}
.tk-item-price { font-size: 23px; font-weight: 700; line-height: 1; color: #FF5B33; }
.tk-item-price em { margin-right: 1px; font-size: 13px; font-style: normal; }
.tk-item-price span { margin-left: 3px; font-size: 11.5px; font-weight: 400; color: #98a1ac; }
.tk-item-follow { font-size: 12.5px; color: #98a1ac; }
.tk-item-btn {
  display: inline-block; padding: 7px 20px; border-radius: 16px;
  background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff;
  font-size: 13px; text-decoration: none; white-space: nowrap;
}
.tk-item-btn:hover { filter: brightness(1.05); }

.tk-foot {
  display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 22px;
  background: #FFFBF5; border: 1px solid #ffe6c7; border-radius: 12px;
}
.tk-foot-ico { width: 40px; height: 40px; flex-shrink: 0; color: #FF8A00; }
.tk-foot-ico svg { width: 100%; height: 100%; }
.tk-foot-tx { flex: 1; min-width: 0; }
.tk-foot-tx b { display: block; margin-bottom: 4px; font-size: 15px; color: #8a6a3c; }
.tk-foot-tx span { font-size: 13px; color: #a08a6e; line-height: 1.8; }
.tk-foot-btn {
  flex-shrink: 0; padding: 10px 22px; border-radius: 20px;
  background: linear-gradient(135deg, #FFB020, #FF8A00); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.tk-foot-btn:hover { filter: brightness(1.05); }

/* ---------- 景点详情 ---------- */
.tkc { padding: 24px 26px 26px; background: #fff; border: 1px solid #eef1f4; border-radius: 12px; }
.tkc-title { margin: 4px 0 12px; font-size: 26px; font-weight: 700; line-height: 1.4; color: #1a2230; text-align: center; }
.tkc-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px;
  padding-bottom: 16px; border-bottom: 1px dashed #eef1f4; font-size: 12.5px; color: #a3abb5;
}
.tkc-fav {
  padding: 4px 12px; border: 1px solid #e6e9ee; border-radius: 14px;
  background: #fff; font-size: 12.5px; color: #6b7280; cursor: pointer; font-family: inherit;
}
.tkc-fav:hover { border-color: #FFC98A; color: #FF8A00; }
.tkc-cover { margin: 18px 0 4px; border-radius: 10px; overflow: hidden; }
.tkc-cover img { display: block; width: 100%; max-height: 380px; object-fit: cover; }

.tkc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 0; }
.tkc-cell { padding: 14px 16px; background: #FAFBFC; border: 1px solid #eef1f4; border-radius: 10px; }
.tkc-cell span { display: block; margin-bottom: 8px; font-size: 12.5px; color: #98a1ac; }
.tkc-cell b { font-size: 16px; font-weight: 700; line-height: 1.5; color: #1a2230; }
.tkc-cell b.hl { font-size: 20px; color: #FF5B33; }
.tkc-cell b.gr { color: #0F8A5F; }

.tkc-addr {
  display: flex; align-items: baseline; gap: 14px; margin-top: 14px; padding: 14px 16px;
  background: #FAFBFC; border: 1px solid #eef1f4; border-radius: 10px;
}
.tkc-addr b { flex-shrink: 0; font-size: 13px; font-weight: 600; color: #FF8A00; }
.tkc-addr span { font-size: 14px; line-height: 1.7; color: #3c4654; }

.tkc-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: 13px; color: #5b6572; }
.tkc-facts span { display: flex; align-items: center; gap: 7px; }
.tkc-facts i { font-style: normal; font-size: 12px; color: #98a1ac; }

.tkc-body { margin-top: 22px; font-size: 15px; line-height: 2.05; color: #3c4654; }
.tkc-tips {
  margin-top: 20px; padding: 14px 16px; border-radius: 10px;
  background: #FFFBF5; border: 1px solid #ffe6c7; font-size: 13px; line-height: 1.9; color: #8a6a3c;
}
.tkc-tips b { display: block; margin-bottom: 4px; font-size: 13px; color: #E07200; }
.tkc-notice {
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed #eef1f4;
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: #98a1ac;
}
.tkc-notice span::before { content: '✓'; margin-right: 5px; color: #0F8A5F; }
.tkc-notice em { flex: 1 1 100%; font-style: normal; line-height: 1.8; color: #b3bac2; }

.tk-rel { margin-top: 20px; padding: 18px 20px; background: #fff; border: 1px solid #eef1f4; border-radius: 12px; }
.tk-rel-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tk-rel-hd h2 { margin: 0; font-size: 17px; font-weight: 700; color: #1a2230; }
.tk-rel-hd a { font-size: 13px; color: #98a1ac; text-decoration: none; }
.tk-rel-hd a:hover { color: #FF8A00; }
.tk-rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tk-rel-card { display: flex; gap: 12px; padding: 10px; border: 1px solid #f0f2f5; border-radius: 9px; text-decoration: none; transition: .16s; }
.tk-rel-card:hover { border-color: #ffe0bc; background: #FFFDF9; }
.tk-rel-pic { width: 96px; height: 68px; flex-shrink: 0; border-radius: 7px; overflow: hidden; }
.tk-rel-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tk-rel-tx { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.tk-rel-tx b {
  font-size: 13.5px; font-weight: 600; color: #1a2230; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.tk-rel-tx span { font-size: 11.5px; color: #a3abb5; }
.tk-rel-tx em { font-style: normal; font-size: 13px; font-weight: 700; color: #FF5B33; }
.ld-ct-wxph { padding: 16px; text-align: center; }
.ld-ct-wxph b { display: block; margin-bottom: 4px; font-size: 13.5px; color: #1a2230; }
.ld-ct-wxph span { font-size: 12px; color: #98a1ac; }

@media (max-width: 1180px) {
  .tk-item { flex-wrap: wrap; }
  .tk-item-pic { width: 100%; height: 190px; }
  .tk-item-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .tkc-grid { grid-template-columns: repeat(2, 1fr); }
  .tk-rel-grid { grid-template-columns: 1fr; }
}

/* ===== 10. 线路频道页：自适应卡片行（推荐位 / 主题分组共用） =====
   卡片尺寸统一按 5 列基准，条目不足时整行居中，不会出现右侧空出一大片，
   也不会把单张卡拉成整行宽。 */
.lp-card-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.lp-card-row > .ai-card { flex: 0 0 calc((100% - 60px) / 5); width: calc((100% - 60px) / 5); min-width: 0; }
@media (max-width: 1180px) {
  .lp-card-row > .ai-card { flex: 0 0 calc((100% - 30px) / 3); width: calc((100% - 30px) / 3); }
}
@media (max-width: 780px) {
  .lp-card-row { gap: 12px; }
  .lp-card-row > .ai-card { flex: 0 0 calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
}

/* 频道页：左侧筛选栏「全部」按钮的当前态 */
.ai-filter-list a.active { color: #FF5B33; font-weight: 700; }

/* ===== 11. 商旅租车详情页（/cars/{id}） ===== */
.cd-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, #12A46B, #0B7A4E);
  box-shadow: 0 2px 8px rgba(11, 122, 78, .28);
}
.cd-sec {
  background: #fff; border: 1px solid #eef1f4; border-radius: 14px;
  padding: 20px 24px 22px; margin-bottom: 16px;
}
.cd-sec:last-child { margin-bottom: 0; }
.cd-h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5;
  font-size: 18px; font-weight: 700; color: #1a2230;
}
.cd-h2 svg { width: 20px; height: 20px; flex: 0 0 20px; color: #FF8A00; }

.cd-rich { font-size: 15px; line-height: 1.95; color: #3c4650; }
.cd-rich p { margin: 0 0 12px; }
.cd-rich p:last-child { margin-bottom: 0; }
.cd-rich b { color: #1a2230; font-weight: 600; }
.cd-rich img {
  display: block; max-width: 100%; height: auto;
  margin: 16px 0; border-radius: 10px; border: 1px solid #f0f2f5;
}

.cd-fee { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.cd-fee-col { background: #FAFBFC; border: 1px solid #f0f2f5; border-radius: 10px; padding: 14px 16px; }
.cd-fee-col h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #1a2230; }
.cd-fee-col h3::before { content: ''; display: inline-block; width: 3px; height: 13px; margin-right: 7px; border-radius: 2px; background: #FF8A00; vertical-align: -1px; }
.cd-fee-col p { margin: 0; font-size: 13.5px; line-height: 1.85; color: #5a6672; }

.cd-faq { display: flex; flex-direction: column; gap: 12px; }
.cd-faq-item { border: 1px solid #f0f2f5; border-radius: 10px; overflow: hidden; }
.cd-q {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: #FAFBFC;
  font-size: 15px; font-weight: 600; color: #1a2230; line-height: 1.7;
}
.cd-a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; font-size: 14px; line-height: 1.9; color: #5a6672;
}
.cd-q i, .cd-a i {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  font-style: normal; font-size: 12px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cd-q i { background: #FF8A00; }
.cd-a i { background: #c3ccd6; }

.cd-reviews { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #eef1f4; }
.cd-rv-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #1a2230; }
.cd-rv-hd em { font-style: normal; font-size: 13px; font-weight: 400; color: #FF8A00; }
.cd-rv-item { padding: 10px 0; border-bottom: 1px dashed #f0f2f5; }
.cd-rv-item:last-child { border-bottom: 0; }
.cd-rv-top { display: flex; justify-content: space-between; font-size: 13px; }
.cd-rv-top b { color: #1a2230; }
.cd-rv-top span { color: #FF8A00; letter-spacing: 1px; }
.cd-rv-item p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.85; color: #5a6672; }

.cd-ask {
  margin-top: 18px; padding: 12px 14px; border-radius: 10px;
  background: #FFFBF5; border: 1px solid #ffe6c7;
  font-size: 13.5px; color: #8a6a3c;
}
.cd-ask a { color: #FF5B33; font-weight: 700; text-decoration: none; }

.cd-rel { margin: 6px 0 34px; }
.cd-rel-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #FFB20A;
}
.cd-rel-hd h2 { margin: 0; font-size: 18px; font-weight: 700; color: #1a2230; }
.cd-rel-hd a { font-size: 13px; color: #98a1ac; text-decoration: none; }
.cd-rel-hd a:hover { color: #FF8A00; }
.cd-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cd-rel-card {
  display: block; background: #fff; border: 1px solid #eef1f4; border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 2px 10px rgba(15, 34, 41, .04); transition: .2s;
}
.cd-rel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(15, 34, 41, .1); border-color: #ffe0bc; }
.cd-rel-pic { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #f5f6f8; overflow: hidden; }
.cd-rel-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cd-rel-card:hover .cd-rel-pic img { transform: scale(1.06); }
.cd-rel-tx { padding: 12px 14px 14px; }
.cd-rel-tx b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-size: 14px; font-weight: 600; line-height: 1.5; color: #1a2230; height: 42px; overflow: hidden;
}
.cd-rel-meta { display: flex; gap: 6px; margin: 8px 0 6px; }
.cd-rel-meta span { font-size: 11.5px; color: #8a94a0; background: #f5f6f8; padding: 2px 7px; border-radius: 4px; }
.cd-rel-price { font-size: 17px; font-weight: 700; color: #FF5B33; line-height: 1; }
.cd-rel-price span { font-size: 12px; font-weight: 400; color: #98a1ac; }

@media (max-width: 1180px) {
  .cd-rel-grid { grid-template-columns: repeat(3, 1fr); }
  .cd-fee { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .cd-rel-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-sec { padding: 16px 16px 18px; }
}
