/* ============================================================
 * view-product.css — 商品详情页（view_product.htm）专属样式
 * 作用域：#pc-product（全部挂在容器下，不影响 header/footer 公共样式）
 * 版本：v20260828
 * ============================================================ */
:where(#pc-product, #pc-product *) { margin: 0; padding: 0; box-sizing: border-box; }

#pc-product {
  max-width: 1440px; margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #faf7f2; color: #222; min-height: 100vh; padding-bottom: 80px;
}
#pc-product a { text-decoration: none; color: inherit; }
#pc-product img { display: block; }

/* ========== 头图 ========== */
#pc-product .td-hero { position: relative; height: 460px; overflow: hidden; background: #1f3a5f; }
#pc-product .td-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
#pc-product .td-hero__mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%); }
#pc-product .td-hero__content { position: absolute; left: 40px; bottom: 36px; right: 360px; color: #fff; }
#pc-product .td-hero__tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
#pc-product .td-hero__tag { background: rgba(255,122,69,.9); color: #fff; padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 600; }
#pc-product .td-hero__title { font-size: 34px; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
#pc-product .td-hero__sub { font-size: 14px; opacity: .95; margin-top: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
#pc-product .td-hero__meta { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; flex-wrap: wrap; }
#pc-product .td-hero__meta span { background: rgba(0,0,0,.3); padding: 3px 10px; border-radius: 4px; }

/* ========== 主体两栏 ========== */
#pc-product .td-body { display: flex; gap: 24px; padding: 24px 28px 0; align-items: flex-start; }
#pc-product .td-main { flex: 1; min-width: 0; }

/* ========== 通用模块标题 ========== */
#pc-product .td-section { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
#pc-product .td-section__title { font-size: 18px; font-weight: 800; color: #1f3a5f; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
#pc-product .td-section__title::before { content: ''; width: 4px; height: 18px; background: #ff7a45; border-radius: 2px; }

/* ========== 核心卖点 ========== */
#pc-product .td-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#pc-product .td-highlight { text-align: center; padding: 14px 8px; border-radius: 8px; background: #faf7f2; }
#pc-product .td-highlight__icon { font-size: 28px; }
#pc-product .td-highlight__name { font-size: 14px; font-weight: 700; color: #222; margin-top: 6px; }
#pc-product .td-highlight__desc { font-size: 11px; color: #888; margin-top: 2px; }

/* ========== 天数快捷导航（横向时间轴卡片） ========== */
#pc-product .td-timeline { margin: 0 0 18px; overflow: hidden; position: sticky; top: 86px; z-index: 25; background: #fff; transition: box-shadow .2s, border-color .2s; }
#pc-product .td-timeline.is-stuck { box-shadow: 0 6px 16px rgba(0,0,0,.06); border-bottom: 1px solid #f0f0f0; }
#pc-product .td-timeline-sentinel { position: sticky; top: 86px; height: 1px; pointer-events: none; background: transparent; }
#pc-product .td-timeline__track { display: flex; gap: 12px; overflow-x: auto; padding: 10px 2px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
#pc-product .td-timeline__track::-webkit-scrollbar { display: none; }
#pc-product .td-node { flex: 0 0 152px; display: flex; flex-direction: column; gap: 5px; text-align: left; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; cursor: pointer; scroll-snap-align: start; transition: all .2s ease; }
#pc-product .td-node:hover { border-color: #ff7a45; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
#pc-product .td-node.is-active { border-color: #ff7a45; background: #fff5f0; box-shadow: 0 0 0 2px rgba(255,122,69,.15); }
#pc-product .td-node__num { font-size: 13px; font-weight: 800; color: #ff7a45; line-height: 1; }
#pc-product .td-node__title { font-size: 14px; font-weight: 700; color: #111827; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pc-product .td-node__route { font-size: 12px; color: #6b7280; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ========== 每日行程卡（第一天 → 最后一天，默认全部展开） ========== */
#pc-product .td-day { border: 1px solid #eee; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
#pc-product .td-day__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; background: #fff; }
#pc-product .td-day__head-left { display: flex; align-items: center; gap: 12px; }
#pc-product .td-day__day { font-size: 14px; font-weight: 800; color: #ff7a45; background: #fff5f0; padding: 4px 10px; border-radius: 6px; }
#pc-product .td-day__title { font-size: 14px; font-weight: 700; color: #222; }
#pc-product .td-day__route { font-size: 11px; color: #999; margin-top: 2px; }
#pc-product .td-day__arrow { color: #ff7a45; font-size: 14px; transition: transform .3s; }
#pc-product .td-day.is-open .td-day__arrow { transform: rotate(90deg); }
#pc-product .td-day__body { padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
#pc-product .td-day.is-open .td-day__body { padding: 14px 16px; max-height: 800px; }
#pc-product .td-events { position: relative; padding-left: 24px; }
#pc-product .td-events::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: #f0dcc8; }
#pc-product .td-event { position: relative; margin-bottom: 14px; }
#pc-product .td-event:last-child { margin-bottom: 0; }
#pc-product .td-event::before { content: ''; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #ff7a45; border: 2px solid #fff; box-shadow: 0 0 0 2px #ff7a45; }
#pc-product .td-event__time { font-size: 12px; font-weight: 700; color: #1f3a5f; }
#pc-product .td-event__text { font-size: 13px; color: #333; margin-top: 2px; }
#pc-product .td-event__tip { font-size: 11px; color: #ff7a45; margin-top: 3px; background: #fff8f2; padding: 3px 8px; border-radius: 4px; display: inline-block; }

/* ========== 费用说明 ========== */
#pc-product .td-cost { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* 通用：HTML hidden 属性必须生效（防止元素自定义 display 覆盖 [hidden] 的 UA 样式，
   如 .td-panel__badge 设了 display:inline-block 会导致 JS 置 hidden 后仍可见） */
[hidden] { display: none !important; }

/* ========== 住宿 / 评价 / 服务 ========== */
#pc-product .td-hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
#pc-product .td-hotel { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
#pc-product .td-hotel__img { width: 100%; height: 120px; object-fit: cover; display: block; }
#pc-product .td-hotel__body { padding: 10px 12px; }
#pc-product .td-hotel__name { font-size: 13px; font-weight: 700; color: #222; }
#pc-product .td-hotel__desc { font-size: 11px; color: #888; margin-top: 3px; }
#pc-product .td-hotel__nights { font-size: 11px; color: #ff7a45; margin-top: 4px; font-weight: 600; }
#pc-product .td-reviews { display: flex; flex-direction: column; }
#pc-product .td-review { padding: 22px 0; border-bottom: 1px solid #f0f0f0; }
#pc-product .td-review:first-child { padding-top: 0; }
#pc-product .td-review:last-child { border-bottom: none; padding-bottom: 0; }
#pc-product .td-review__head { display: flex; align-items: center; gap: 10px; }
#pc-product .td-review__avatar { width: 32px; height: 32px; border-radius: 50%; background: #ff7a45; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
#pc-product .td-review__name { font-size: 13px; font-weight: 600; color: #222; }
#pc-product .td-review__date { font-size: 11px; color: #999; }
#pc-product .td-review__stars { font-size: 12px; color: #ff9f00; margin-left: auto; }
#pc-product .td-review__text { font-size: 12px; color: #555; margin-top: 6px; line-height: 1.5; }
#pc-product .td-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#pc-product .td-service { text-align: center; padding: 14px 8px; border-radius: 8px; background: #faf7f2; }
#pc-product .td-service__icon { font-size: 26px; }
#pc-product .td-service__name { font-size: 13px; font-weight: 700; color: #222; margin-top: 6px; }
#pc-product .td-service__desc { font-size: 11px; color: #888; margin-top: 2px; }
#pc-product .td-panel__service { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#pc-product .td-panel__service span { font-size: 10px; padding: 3px 8px; border-radius: 10px; background: #f0f4fa; color: #4a6a8a; }
#pc-product .td-panel__gift { font-size: 11px; color: #ff7a45; margin-top: 10px; padding: 8px; background: #fff8f2; border-radius: 6px; }

/* ========== 右侧预订面板 ========== */
#pc-product .td-side { width: 320px; flex-shrink: 0; position: sticky; top: 20px; }
#pc-product .td-panel { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
#pc-product .td-panel__price { font-size: 30px; font-weight: 900; color: #ef4444; }
#pc-product .td-panel__orig { font-size: 13px; color: #bbb; text-decoration: line-through; margin-left: 6px; }
#pc-product .td-panel__unit { font-size: 12px; color: #888; }
#pc-product .td-panel__field { margin-top: 16px; }
#pc-product .td-panel__label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 6px; }
#pc-product .td-panel__label-tip { font-size: 10px; color: #ff7a45; }
#pc-product .td-panel__input, #pc-product .td-panel__select { width: 100%; padding: 9px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fafafa; }
#pc-product .td-panel__row { display: flex; gap: 12px; }
#pc-product .td-panel__row .td-panel__field { flex: 1; }
#pc-product .td-panel__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee; }
#pc-product .td-panel__total-label { font-size: 13px; color: #666; }
#pc-product .td-panel__total-price { font-size: 22px; font-weight: 800; color: #ef4444; }
#pc-product .td-btn-book { width: 100%; margin-top: 16px; padding: 13px; background: linear-gradient(135deg, #ff7a45, #e86835); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: box-shadow .2s; }
#pc-product .td-btn-book:hover { box-shadow: 0 4px 14px rgba(255,122,69,.4); }

/* ============================================================
 * v20260828b 追加：tab 化 / 客服按钮脉冲 / 自定义日历 / 天气插件 / 图文介绍
 * ============================================================ */

/* ========== Tab 导航（粘性） ========== */
#pc-product .td-tabs { position: sticky; top: 36px; z-index: 20; display: flex; gap: 4px; background: #faf7f2; padding: 10px 4px 0; }
#pc-product .td-tabs__btn { padding: 10px 22px; border: none; background: #fff; border-radius: 10px 10px 0 0; font-size: 14px; font-weight: 700; color: #666; cursor: pointer; font-family: inherit; border-bottom: 2px solid transparent; transition: all .25s; }
#pc-product .td-tabs__btn:hover { color: #ff7a45; }
#pc-product .td-tabs__btn.is-active { color: #ff7a45; border-bottom-color: #ff7a45; background: #fff8f2; }
#pc-product .td-tab-panel { display: none; }
#pc-product .td-tab-panel.is-active { display: block; }

/* ========== 图文介绍 ========== */
#pc-product .td-intro__para { font-size: 14px; color: #444; line-height: 1.9; margin-bottom: 14px; }
#pc-product .td-intro__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
#pc-product .td-intro__img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }

/* ========== 费用说明（补齐新版结构） ========== */
/* ========== 住宿 / 评价（补齐新版结构） ========== */
#pc-product .td-hotel__img { width: 100%; height: 120px; object-fit: cover; display: block; }
#pc-product .td-hotel { border: 1px solid #eee; border-radius: 8px; overflow: hidden; padding-bottom: 10px; }
#pc-product .td-hotel__name { font-size: 13px; font-weight: 700; color: #222; padding: 10px 12px 0; }
#pc-product .td-hotel__desc { font-size: 11px; color: #888; padding: 3px 12px 0; }
#pc-product .td-hotel__night { font-size: 11px; color: #ff7a45; font-weight: 600; padding: 6px 12px 0; }
#pc-product .td-review__content { font-size: 13px; color: #555; margin: 14px 0; line-height: 1.8; }
#pc-product .td-review__stars { color: #ff9f00; font-size: 12px; }
/* 评价-真实数据扩展（头像图/推荐标签/晒单图片） */
#pc-product .td-review__avatar--img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #f0f0f0; }
#pc-product .td-review__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#pc-product .td-review__tags span { padding: 3px 11px; border-radius: 20px; font-size: 11px; background: #fff3ec; color: #ff7a45; border: 1px solid #ffd8c2; }
#pc-product .td-review__imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 14px; max-width: 420px; }
#pc-product .td-review__imgs img { width: 72px; height: 72px; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform .18s; }
#pc-product .td-review__imgs img:hover { transform: scale(1.04); }
#pc-product .td-review--empty { color: #999; font-size: 12px; padding: 20px 0; }

/* 评价图片灯箱（点击放大 + 左右切换） */
#pc-product .td-review-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; }
#pc-product .td-review-lightbox__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.88); cursor: zoom-out; }
#pc-product .td-review-lightbox__stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 90vw; max-height: 86vh; }
#pc-product .td-review-lightbox__stage img { display: block; max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
#pc-product .td-review-lightbox__close,
#pc-product .td-review-lightbox__prev,
#pc-product .td-review-lightbox__next { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; backdrop-filter: blur(4px); }
#pc-product .td-review-lightbox__close { top: 20px; right: 20px; font-size: 32px; line-height: 1; }
#pc-product .td-review-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
#pc-product .td-review-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
#pc-product .td-review-lightbox__close:hover,
#pc-product .td-review-lightbox__prev:hover,
#pc-product .td-review-lightbox__next:hover { background: rgba(255,255,255,.32); }
#pc-product .td-review-lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.5); padding: 6px 16px; border-radius: 20px; }

/* ========== 右侧预订面板（新版控件） ========== */
#pc-product .td-panel__price-row { display: flex; align-items: baseline; gap: 6px; }
#pc-product .td-panel__price { font-size: 30px; font-weight: 900; color: #ef4444; }
#pc-product .td-panel__orig { font-size: 13px; color: #bbb; text-decoration: line-through; }
#pc-product .td-panel__unit { font-size: 12px; color: #888; }
#pc-product .td-panel__tip { font-size: 10px; color: #ff7a45; }
#pc-product .td-datebox { position: relative; }
#pc-product .td-datebox__input { width: 100%; padding: 9px 34px 9px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fafafa; cursor: pointer; }
#pc-product .td-datebox__input:focus { outline: none; border-color: #ff7a45; }
#pc-product .td-datebox__icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; pointer-events: none; }
#pc-product .td-stepper { display: flex; align-items: center; gap: 12px; }
#pc-product .td-stepper__btn { width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 6px; background: #fff; font-size: 16px; color: #666; cursor: pointer; line-height: 1; }
#pc-product .td-stepper__btn:hover { border-color: #ff7a45; color: #ff7a45; }
#pc-product .td-stepper__val { font-size: 15px; font-weight: 700; color: #222; min-width: 24px; text-align: center; }
#pc-product .td-panel__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #f0f0f0; font-size: 13px; color: #666; }
#pc-product .td-panel__row b { font-size: 13px; color: #222; }
#pc-product .td-panel__row--total b { font-size: 22px; color: #ef4444; font-weight: 800; }
#pc-product .td-panel__book { width: 100%; margin-top: 16px; padding: 13px; background: linear-gradient(135deg, #ff7a45, #e86835); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: box-shadow .2s; font-family: inherit; }
#pc-product .td-panel__book:hover { box-shadow: 0 4px 14px rgba(255,122,69,.4); }
#pc-product .td-panel__services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#pc-product .td-panel__service { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; padding: 3px 8px; border-radius: 10px; background: #f0f4fa; color: #4a6a8a; }
#pc-product .td-panel__gift b { display: block; margin-bottom: 4px; }
#pc-product .td-panel__gift span { color: #e86835; font-weight: 600; }

/* ========== 联系客服按钮（脉冲动画） ========== */
@keyframes tdPulseRing {
  0%   { transform: scale(1);   opacity: .7; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}
/* 头图区客服按钮 */
#pc-product .td-kefu-hero { position: absolute; right: 24px; top: 24px; z-index: 10; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: none; border-radius: 24px; background: linear-gradient(135deg, #ff7a45, #e86835); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 4px 14px rgba(255,122,69,.45); }
#pc-product .td-kefu-hero:hover { transform: translateY(-1px); }
#pc-product .td-kefu-hero__pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; flex-shrink: 0; }
#pc-product .td-kefu-hero__pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: #fff; animation: tdPulseRing 1.8s ease-out infinite; }
#pc-product .td-kefu-hero__txt { position: relative; z-index: 1; }
/* 预订面板客服按钮 */
#pc-product .td-panel__kefu { position: relative; width: 100%; margin-top: 10px; padding: 12px; background: #fff; color: #ff7a45; border: 1px solid #ff7a45; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; }
#pc-product .td-panel__kefu:hover { background: #fff5f0; }
#pc-product .td-panel__kefu-pulse { position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ff7a45; transform: translateY(-50%); }
#pc-product .td-panel__kefu-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: #ff7a45; animation: tdPulseRing 1.8s ease-out infinite; }

/* ========== 客服弹层（弹层在 #pc-product 容器之外，选择器不带作用域前缀） ========== */
.td-kefu-mask, .td-kefu-popup { position: fixed; top: 0; left: 0; }
.td-kefu-mask { width: 100%; height: 100%; background: rgba(0,0,0,.45); z-index: 90; }
.td-kefu-popup { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 380px; background: #fff; border-radius: 14px; z-index: 91; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.td-kefu-popup__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: linear-gradient(135deg, #1f3a5f, #2f5685); color: #fff; }
.td-kefu-popup__head b { font-size: 15px; }
.td-kefu-popup__close { border: none; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.td-kefu-popup__body { padding: 14px 16px; max-height: 62vh; overflow-y: auto; }
.td-kefu-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; color: #222; }
.td-kefu-row:last-child { border-bottom: none; }
.td-kefu-row__icon { font-size: 20px; flex-shrink: 0; }
.td-kefu-row__main { display: flex; flex-direction: column; gap: 2px; }
.td-kefu-row__main b { font-size: 13px; }
.td-kefu-row__main i { font-style: normal; font-size: 12px; color: #888; }
.td-kefu-row--qr { flex-direction: column; align-items: flex-start; }
.td-kefu-row--qr img { width: 100%; max-width: 160px; border-radius: 8px; margin-top: 8px; }

/* ========== 自定义日历 ========== */
#pc-product .td-cal { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 10px 12px; }
#pc-product .td-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#pc-product .td-cal__title { font-size: 13px; font-weight: 700; color: #1f3a5f; }
#pc-product .td-cal__nav { width: 26px; height: 26px; border: 1px solid #eee; border-radius: 6px; background: #fff; color: #666; font-size: 16px; line-height: 1; cursor: pointer; }
#pc-product .td-cal__nav:hover { border-color: #ff7a45; color: #ff7a45; }
#pc-product .td-cal__week, #pc-product .td-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
#pc-product .td-cal__week span { font-size: 11px; color: #999; padding: 4px 0; }
#pc-product .td-cal__day, #pc-product .td-cal__empty { height: 32px; }
#pc-product .td-cal__day { border: none; background: #fff; font-size: 12px; color: #333; border-radius: 6px; cursor: pointer; font-family: inherit; }
#pc-product .td-cal__day:hover:not(.is-disabled) { background: #fff5f0; color: #ff7a45; }
#pc-product .td-cal__day.is-disabled { color: #ccc; cursor: not-allowed; }
#pc-product .td-cal__day.is-today { color: #ff7a45; font-weight: 700; }
#pc-product .td-cal__day.is-selected { background: #ff7a45; color: #fff; font-weight: 700; }
#pc-product .td-cal__day.is-selected.is-today { color: #fff; }

/* ========== 天气插件 ========== */
#pc-product .td-weather { background: #fff; border-radius: 12px; padding: 16px; margin-top: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
#pc-product .td-weather__head { display: flex; align-items: baseline; justify-content: space-between; }
#pc-product .td-weather__title { font-size: 15px; font-weight: 800; color: #1f3a5f; }
#pc-product .td-weather__city { font-size: 12px; color: #ff7a45; font-weight: 600; }
#pc-product .td-weather__sub { font-size: 11px; color: #999; margin-top: 4px; }
#pc-product .td-weather__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
#pc-product .td-weather__day { text-align: center; border: 1px solid #f0f0f0; border-radius: 8px; padding: 8px 4px; background: #fafbfd; }
#pc-product .td-weather__day.is-first { border-color: #ff7a45; background: #fff5f0; }
#pc-product .td-weather__date { font-size: 11px; font-weight: 700; color: #1f3a5f; }
#pc-product .td-weather__week { font-size: 10px; color: #999; margin-top: 1px; }
#pc-product .td-weather__icon { font-size: 22px; margin-top: 4px; }
#pc-product .td-weather__text { font-size: 10px; color: #666; margin-top: 2px; }
#pc-product .td-weather__temp { display: flex; justify-content: center; gap: 6px; margin-top: 3px; }
#pc-product .td-weather__temp i { font-style: normal; font-size: 11px; }
#pc-product .td-weather__low { color: #2e6fdb; }
#pc-product .td-weather__high { color: #ef4444; font-weight: 700; }
#pc-product .td-weather__loading, #pc-product .td-weather__empty { font-size: 12px; color: #999; padding: 18px 0; text-align: center; }

/* ========== 服务保障（tab 外） ========== */
#pc-product .td-services-wrap { padding: 0 28px 24px; }

@media (max-width: 960px) {
  #pc-product .td-body { flex-direction: column; }
  #pc-product .td-side { width: 100%; position: static; }
  #pc-product .td-hero__content { right: 20px; }
  #pc-product .td-highlights, #pc-product .td-hotels, #pc-product .td-services { grid-template-columns: repeat(2, 1fr); }
  #pc-product .td-tabs { top: 60px; }
}
@media (max-width: 560px) {
  #pc-product .td-highlights, #pc-product .td-hotels, #pc-product .td-services, #pc-product .td-intro__imgs { grid-template-columns: 1fr; }
  #pc-product .td-cost { grid-template-columns: 1fr; }
  #pc-product .td-weather__days { grid-template-columns: repeat(4, 1fr); overflow-x: auto; }
  #pc-product .td-kefu-hero { right: 12px; top: 12px; padding: 8px 14px; font-size: 12px; }
}

/* ========== 图集（多图组合）：缩略图切换 ========== */
#pc-product .td-hero__gallery { position: absolute; inset: 0; }
#pc-product .td-hero__thumbs { position: absolute; right: 24px; bottom: 18px; z-index: 6; display: flex; gap: 8px; }
#pc-product .td-hero__thumb { width: 78px; height: 52px; border-radius: 6px; border: 2px solid rgba(255,255,255,.55); background-size: cover; background-position: center; cursor: pointer; padding: 0; transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
#pc-product .td-hero__thumb:hover, #pc-product .td-hero__thumb.is-active { border-color: #ff7a45; transform: translateY(-3px); }

/* ========== 出行日期徽章（可定明日） ========== */
#pc-product .td-panel__tip-wrap { display: inline-flex; align-items: center; gap: 6px; }
#pc-product .td-panel__badge { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff5f2e, #ff9a3d); padding: 2px 8px; border-radius: 10px; animation: td-badge-pulse 1.6s ease-in-out infinite; white-space: nowrap; }
@keyframes td-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 95, 46, .5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 95, 46, 0); }
}

/* ========== 富文本区块（单编辑器三 tab 内容） ========== */
#pc-product .td-rich { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; line-height: 1.85; color: #333; font-size: 14px; }
/* 富文本【行程概览】按天分块（DAY1/第1天/D1 标记） */
#pc-product .td-rich__lead { margin-bottom: 14px; }
#pc-product .td-rich-day { border: 1px solid #eef0f3; border-left: 4px solid #ff7a45; border-radius: 10px; margin-bottom: 14px; overflow: hidden; background: #fff; }
#pc-product .td-rich-day__head { display: flex; align-items: center; gap: 10px; width: 100%; border: none; background: linear-gradient(135deg, #fff7f2, #fff); padding: 10px 14px; border-bottom: 1px dashed #f0e3d8; cursor: pointer; font-family: inherit; text-align: left; color: inherit; }
#pc-product .td-rich-day__head:hover { background: linear-gradient(135deg, #fff0e8, #fff); }
#pc-product .td-rich-day__num { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff5f2e, #ff9a3d); border-radius: 8px; padding: 3px 10px; }
#pc-product .td-rich-day__title { font-size: 14px; font-weight: 600; color: #1f3a5f; flex: 1; }
#pc-product .td-rich-day__arrow { flex-shrink: 0; font-size: 11px; color: #ff7a45; transition: transform .3s; }
#pc-product .td-rich-day:not(.is-open) .td-rich-day__body { display: none; }
#pc-product .td-rich-day__body { padding: 12px 14px; }
#pc-product .td-rich p { margin: 0 0 10px; }
#pc-product .td-rich img { max-width: 100%; border-radius: 8px; margin: 6px 0; }
#pc-product .td-rich h1, #pc-product .td-rich h2, #pc-product .td-rich h3, #pc-product .td-rich h4 { color: #1f3a5f; margin: 14px 0 8px; }
#pc-product .td-rich ul, #pc-product .td-rich ol { padding-left: 22px; margin: 0 0 10px; }
#pc-product .td-rich table { width: 100%; border-collapse: collapse; margin: 10px 0; }
#pc-product .td-rich table td, #pc-product .td-rich table th { border: 1px solid #e5e5e5; padding: 6px 10px; font-size: 13px; }

/* ========== 客服微信弹窗 ========== */
.td-kefu-popup__head--wx { background: linear-gradient(135deg, #07c160, #06ad56); }
.td-wx-box { display: flex; flex-direction: column; align-items: center; padding: 4px 0 12px; }
.td-wx-box__qr { width: 148px; height: 148px; border: 1px dashed #d6d6d6; border-radius: 12px; background: #fafafa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.td-wx-box__qr img { width: 100%; height: 100%; object-fit: contain; }
.td-wx-box__placeholder { font-size: 12px; color: #b0b0b0; text-align: center; line-height: 1.7; white-space: pre-line; }
.td-wx-box__tip { font-size: 12px; color: #666; text-align: center; margin: 12px 0 10px; line-height: 1.7; }
.td-wx-box__id { display: flex; align-items: center; gap: 8px; background: #f3fbf7; border: 1px solid #d9f2e5; border-radius: 8px; padding: 7px 12px; font-size: 13px; }
.td-wx-box__id span { color: #888; font-size: 12px; }
.td-wx-box__id b { color: #06ad56; font-weight: 700; }
.td-wx-box__id button { border: none; background: #07c160; color: #fff; font-size: 12px; border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.td-wx-box__id button:hover { opacity: .9; }
.td-wx-box__go { margin-top: 12px; width: 100%; padding: 11px; background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(7, 193, 96, .3); }
.td-wx-box__go:hover { opacity: .92; }
.td-kefu-sep { display: flex; align-items: center; gap: 10px; color: #bbb; font-size: 11px; padding: 10px 0 4px; }
.td-kefu-sep::before, .td-kefu-sep::after { content: ''; flex: 1; height: 1px; background: #f0f0f0; }

/* ========== 客服联系插件：公司分组 + 客服卡片 ========== */
.td-kefu-comps { display: flex; flex-direction: column; gap: 12px; }
.td-kefu-comp { border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; background: #fff; }
.td-kefu-comp__name { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: linear-gradient(135deg, #f7fafc, #fff); font-size: 14px; font-weight: 700; color: #1f3a5f; border-bottom: 1px solid #eef0f3; }
.td-kefu-comp__count { font-size: 11px; color: #999; font-weight: 400; }
.td-kefu-comp__staffs { padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.td-kefu-staff { border: 1px solid #f2f2f2; border-radius: 10px; padding: 10px 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.td-kefu-staff__head { display: flex; align-items: center; gap: 10px; }
.td-kefu-staff__avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.td-kefu-staff__avatar--f { background: linear-gradient(135deg, #f07c9b, #f8a5b8); }
.td-kefu-staff__avatar--m { background: linear-gradient(135deg, #2f7fe6, #5aa7f5); }
.td-kefu-staff__avatar--img { object-fit: cover; }
.td-kefu-staff__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.td-kefu-staff__meta b { font-size: 14px; color: #222; }
.td-kefu-staff__sex { font-size: 11px; padding: 1px 8px; border-radius: 20px; }
.td-kefu-staff__sex--f { background: #fdeef3; color: #e0557d; }
.td-kefu-staff__sex--m { background: #eaf2fe; color: #2f7fe6; }
.td-kefu-staff__meta em { font-style: normal; font-size: 12px; color: #999; }
.td-kefu-staff__qrline { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.td-kefu-staff__qr { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid #eee; cursor: pointer; }
.td-kefu-staff__rows { margin-top: 8px; border-top: 1px dashed #f0f0f0; padding-top: 6px; }
.td-kefu-staff__row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 5px 0; }
.td-kefu-staff__label { color: #999; flex-shrink: 0; width: 56px; }
.td-kefu-staff__value { color: #333; font-weight: 600; flex: 1; word-break: break-all; }
.td-kefu-staff__copy { flex-shrink: 0; border: 1px solid #d9d9d9; background: #fff; color: #555; font-size: 12px; padding: 3px 12px; border-radius: 6px; cursor: pointer; font-family: inherit; transition: all .15s; }
.td-kefu-staff__copy:hover { border-color: #07c160; color: #07c160; }
.td-kefu-staff__wecom { flex-shrink: 0; color: #1677ff; font-size: 12px; text-decoration: none; font-weight: 600; }
.td-kefu-staff__wecom:hover { text-decoration: underline; }
.td-kefu-empty { color: #aaa; font-size: 12px; text-align: center; padding: 14px 0; }
@media (max-width: 480px) {
  .td-kefu-popup { width: 92vw; }
}

/* ========== 图集 mobile 适配 ========== */
@media (max-width: 960px) {
  #pc-product .td-hero__thumbs { right: 12px; bottom: 12px; gap: 6px; }
  #pc-product .td-hero__thumb { width: 54px; height: 36px; }
}

/* ============================================================
 * v20260828f 追加：日历定位修复+美化 / 费用说明排版区分 / 行程概览卡片-详情区分 / 客服单卡
 * ============================================================ */

/* ---------- 出行日期日历（日历已移入 .td-datebox 内部，top:100% 相对输入框定位） ---------- */
#pc-product .td-datebox { position: relative; }
#pc-product .td-cal {
  left: 0; right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31,58,95,.16);
  padding: 12px 14px;
  animation: tdCalPop .18s ease-out;
  transform-origin: top center;
}
@keyframes tdCalPop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
#pc-product .td-cal__head { margin-bottom: 10px; }
#pc-product .td-cal__title { font-size: 14px; font-weight: 800; color: #1f3a5f; letter-spacing: .5px; }
#pc-product .td-cal__nav {
  width: 28px; height: 28px; border: none; border-radius: 8px; background: #f5f7fa; color: #1f3a5f;
  font-size: 18px; font-weight: 700; cursor: pointer; transition: all .15s; line-height: 1;
}
#pc-product .td-cal__nav:hover { background: #ff7a45; color: #fff; }
#pc-product .td-cal__week span { font-size: 11px; color: #9aa7b8; font-weight: 600; padding: 6px 0; }
#pc-product .td-cal__day, #pc-product .td-cal__empty { height: 34px; }
#pc-product .td-cal__day {
  border: none; background: #fff; font-size: 13px; color: #333; border-radius: 8px; cursor: pointer;
  font-family: inherit; position: relative; transition: background .15s, color .15s;
}
#pc-product .td-cal__day:hover:not(.is-disabled) { background: #fff5f0; color: #ff7a45; }
#pc-product .td-cal__day.is-disabled { color: #d9dde3; cursor: not-allowed; }
#pc-product .td-cal__day.is-today { color: #ff7a45; font-weight: 800; }
#pc-product .td-cal__day.is-today::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #ff7a45;
}
#pc-product .td-cal__day.is-weekend:not(.is-selected):not(.is-disabled) { color: #e86835; }
#pc-product .td-cal__day.is-selected {
  background: linear-gradient(135deg, #ff7a45, #e86835); color: #fff; font-weight: 700;
  box-shadow: 0 3px 8px rgba(255,122,69,.35);
}
#pc-product .td-cal__day.is-selected.is-today::after { background: #fff; }

/* ============================================================
 * v20260828i 变更：
 *   - 行程安排改为「每日行程卡」：每天一张完整卡片（第一天→最后一天），
 *     默认全部展开显示 DAY 徽章/标题/路线/活动/住宿/温馨提示；移除横向时间轴
 *   - 每日卡住宿/温馨提示改为图标+底色卡片行（🏨/💡）
 *   - 移除时间轴 td-timeline/td-node 全部样式
 * v20260828j 变更：
 *   - 新增 td-day__empty 空态提示：后台未配置 itinerary 字段时显示后台配置引导
 * v20260828k 变更：
 *   - 恢复「天数快捷导航」横向时间轴卡片（.td-timeline / .td-node）
 *   - 点击快捷卡片平滑滚动到对应完整行程卡；滚动页面时自动高亮当前天
 * v20260828l 变更：
 *   - .td-timeline 改为粘性定位（sticky）：滚动到行程安排区域后吸顶在 Tab 栏下方
 *   - 吸顶时自动添加阴影/下划线（is-stuck 类）
 * v20260828m 变更：
 *   - 点击 .td-node 滚动偏移改为动态计算（吸顶时间轴底边 + 16px），确保 DAY 标题完整露出不被遮住
 *   - 当前天高亮判定区域（IntersectionObserver rootMargin）顶部对齐吸顶时间轴底边
 * v20260828n 变更：
 *   - Tab 切换：页面滚动到下方（Tab 栏吸顶）时，点击「图文介绍/费用说明」自动平滑回滚到对应面板顶部
 * v20260828o 变更：
 *   - 天数快捷导航隐藏滚动条（scrollbar-width:none + ::-webkit-scrollbar display:none），保留横向拖动/滚轮能力
 *   - 点击快捷卡片时时间轴横向平滑滚动，被点击卡片居中完整显示（首尾自动贴边），相邻后续卡片自然露出
 * ============================================================ */

/* 客服单卡头部：仅文案提示（不显示公司名） */
.td-kefu-single__head b { font-size: 14px; color: #1f3a5f; }
.td-kefu-single__head i { font-style: normal; font-size: 11px; color: #8a94a6; margin-top: 2px; display: block; }

/* ---------- 费用说明：费用包含 / 费用不含 排版区分 ---------- */
#pc-product .td-cost { gap: 18px; }
#pc-product .td-cost__col {
  border: 1px solid #eef0f3; border-radius: 12px; padding: 18px; background: #fff;
  position: relative; overflow: hidden;
}
#pc-product .td-cost__col::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
#pc-product .td-cost__col:nth-of-type(1) { border-color: #d7f0e0; background: linear-gradient(180deg, #f2fcf6, #fff 42%); }
#pc-product .td-cost__col:nth-of-type(1)::before { background: #10b981; }
#pc-product .td-cost__col:nth-of-type(2) { border-color: #f6d9d5; background: linear-gradient(180deg, #fef4f3, #fff 42%); }
#pc-product .td-cost__col:nth-of-type(2)::before { background: #ef4444; }
#pc-product .td-cost__col-title {
  display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800;
  margin-bottom: 12px; padding: 8px 14px; border-radius: 8px; border-bottom: none;
}
#pc-product .td-cost__col-title--in { color: #047857; background: #e2f6ec; }
#pc-product .td-cost__col-title--out { color: #b91c1c; background: #fdeceb; }
#pc-product .td-cost__col-title--in::before { content: '✓'; font-weight: 900; }
#pc-product .td-cost__col-title--out::before { content: '✕'; font-weight: 900; }
#pc-product .td-cost__item {
  font-size: 13px; color: #333; padding: 7px 0; display: flex; align-items: flex-start;
  gap: 8px; line-height: 1.5; border-bottom: 1px dashed #f2f2f2;
}
#pc-product .td-cost__item:last-child { border-bottom: none; }
#pc-product .td-cost__item i {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 11px; color: #fff; margin-top: 2px;
}
#pc-product .td-cost__col:nth-of-type(1) .td-cost__item i { background: #10b981; }
#pc-product .td-cost__col:nth-of-type(2) .td-cost__item i { background: #fff; color: #ef4444; border: 1px solid #f3c6c2; }

/* ---------- 每日行程卡：住宿 / 温馨提示 ---------- */
#pc-product .td-day {
  border: 1px solid #eef0f3; border-radius: 12px; margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.03); background: #fff;
}
#pc-product .td-day:hover { box-shadow: 0 4px 16px rgba(31,58,95,.08); }
#pc-product .td-day__head { padding: 15px 18px; cursor: pointer; background: linear-gradient(180deg, #fbfcfd, #fff); transition: background .25s; }
#pc-product .td-day__head:hover { background: linear-gradient(180deg, #fff7f1, #fff); }
#pc-product .td-day.is-open .td-day__head { background: linear-gradient(180deg, #fff7f1, #fff); }
#pc-product .td-day__day {
  flex-shrink: 0; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff7a45, #e86835);
  padding: 5px 12px; border-radius: 20px; box-shadow: 0 2px 6px rgba(255,122,69,.3);
}
#pc-product .td-day__title { font-size: 15px; font-weight: 700; color: #222; }
#pc-product .td-day__route { font-size: 12px; color: #8a94a6; margin-top: 3px; }
#pc-product .td-day__route::before { content: '📍 '; }
#pc-product .td-day__arrow { color: #ff7a45; font-size: 14px; transition: transform .3s; }
#pc-product .td-day__acts { background: #fff; display: flex; flex-direction: column; gap: 8px; }
#pc-product .td-day__act {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #333;
  padding: 8px 12px; background: #fafbfc; border: 1px solid #f0f2f5; border-radius: 8px;
  transition: background .2s;
}
#pc-product .td-day__act:hover { background: #f3f8ff; border-color: #dbe8f8; }
#pc-product .td-day__act-t {
  flex-shrink: 0; font-size: 11px; font-weight: 700; color: #1f3a5f; background: #eef4fb; padding: 3px 10px; border-radius: 14px;
}
#pc-product .td-day__meta {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555;
  margin-top: 12px; padding: 10px 12px; background: #f8fafc; border: 1px solid #eef2f6; border-radius: 8px;
}
#pc-product .td-day__meta b { flex-shrink: 0; font-size: 12px; color: #1f3a5f; }
#pc-product .td-day__meta--tip { background: #fffaf5; border-color: #ffe8d8; color: #a05c2c; }
#pc-product .td-day__ico { flex-shrink: 0; font-size: 14px; }
#pc-product .td-day__empty {
  font-size: 13px; color: #8a94a6; background: #fafbfc; border: 1px dashed #dde3ea;
  border-radius: 10px; padding: 26px 20px; text-align: center; line-height: 2;
}
#pc-product .td-day__empty b { color: #ff7a45; }
#pc-product .td-day__empty span { color: #1f3a5f; }

/* ---------- 客服弹窗：单客服（7 天固定） ---------- */
.td-kefu-single { display: flex; flex-direction: column; gap: 12px; }
.td-kefu-single__head {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: linear-gradient(135deg, #f0f7ff, #faf3ec); border: 1px solid #e8f0f8;
}
.td-kefu-single__avatar { font-size: 26px; line-height: 1; }
.td-kefu-single__head b { display: block; font-size: 14px; color: #1f3a5f; }
.td-kefu-single__head i { font-style: normal; font-size: 11px; color: #8a94a6; margin-top: 2px; display: block; }
.td-kefu-single .td-kefu-staff {
  margin: 0; border-color: #ffe3d3; box-shadow: 0 4px 14px rgba(255,122,69,.1);
}
.td-kefu-single .td-kefu-staff__avatar { width: 46px; height: 46px; font-size: 19px; }
@media (max-width: 480px) {
  .td-kefu-single__head i { font-size: 10px; }
}
