/* TWG Holidays — 邮轮官网价清单 (cruises.js)。全部用 px：tripwinego 主题 html{font-size:10px} 会把 rem 缩小。
   颜色带兜底值，tripwinego 上没有 style.css 的 --navy 等变量也能正常显示。 */
.page-hero-cruises .hero-bg { background: linear-gradient(160deg, #03223e 0%, #0a3d6b 45%, #1b6ca8 100%); }

#cruisesApp { font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif; color: var(--text, #1a1a2e); font-size: 15px; line-height: 1.5; }
#cruisesApp *, .cr-modal * { box-sizing: border-box; }
.cr-toolbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 14px; }
.cr-sel, .cr-max {
  width: 100%; padding: 11px 12px; font-size: 14px; border: 1.5px solid #dde7f0; border-radius: 4px;
  background: #fff; color: inherit; font-family: inherit; min-width: 0; height: 46px;
}
.cr-sel:focus, .cr-max:focus { outline: none; border-color: var(--blue, #1B6CA8); }
.cr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.cr-lab { font-size: 13px; color: var(--gray, #6b7280); min-width: 64px; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chip {
  padding: 8px 16px; font-size: 14px; border: 1.5px solid var(--gold, #E8A020); border-radius: 30px;
  background: #fff; color: var(--navy, #0A3D6B); cursor: pointer; font-family: inherit; line-height: 1.3;
}
.cr-chip.on { background: var(--gold, #E8A020); color: #fff; }
.cr-row .cr-max { width: 200px; margin-left: auto; }
.cr-row .cr-sort { width: 180px; }
.cr-count { font-size: 13px; color: var(--gray, #6b7280); margin: 6px 0 10px; }
.cr-loading { padding: 40px 10px; text-align: center; color: var(--gray, #6b7280); }

.cr-wrap { border-radius: 4px; box-shadow: 0 2px 20px rgba(10,61,107,.08); background: #fff; }
.cr-table { width: 100%; border-collapse: collapse; margin: 0; }
.cr-table th {
  background: var(--navy, #0A3D6B); color: #fff; padding: 12px 12px; font-size: 13px; font-weight: 500;
  text-align: left; white-space: nowrap; border: none;
}
.cr-table td { padding: 12px; font-size: 14px; border: none; border-bottom: 1px solid #eef3f8; vertical-align: top; }
.cr-table tr:hover td { background: #f8fbff; }
.cr-table small { display: block; color: var(--gray, #6b7280); font-size: 12px; margin-top: 2px; }
.cr-ship b, .cr-it b { color: var(--navy, #0A3D6B); font-weight: 600; }
.cr-date { white-space: nowrap; }
.cr-num { text-align: right !important; white-space: nowrap; }
.cr-p { cursor: pointer; }
.cr-p b { font-weight: 600; }
.cr-p.cr-hl { background: #fff8eb; }
.cr-table tr:hover td.cr-hl { background: #fff1d6; }
.cr-none { color: #c0c6cf; }
.cr-tag {
  display: inline-block; font-style: normal; font-size: 11px; line-height: 1; padding: 3px 5px; margin-left: 4px;
  border-radius: 3px; background: #e6f1fb; color: var(--blue, #1B6CA8); vertical-align: 1px;
}
.cr-tag.cr-ob { background: #f3f4f6; color: var(--gray, #6b7280); }
.cr-tag.cr-gb { background: #e3f4f1; color: #0f766e; }
.cr-tag.cr-tx { background: #fef3c7; color: #92400e; }  /* 11-15 嘉年华「不含税费」 */
.cr-tag.cr-obc { background: #fde7f0; color: #be185d; font-weight: 600; }
.cr-tag.cr-bf { background: #111827; color: #fbbf24; font-weight: 700; }  /* 11-13 Master:官网黑五促销的价 */
.cr-flq {  /* 10-23 Master:闪购价不上网页，格子里显示不含闪购的价 + 这行，点了开查询弹窗(点格子本来就开) */
  display: inline-block; font-size: 11px; line-height: 1; padding: 3px 5px; margin-left: 4px; border-radius: 3px;
  background: #fef3c7; color: #b45309; font-weight: 600; cursor: pointer; vertical-align: 1px;
}
.cr-flq:hover { background: #fde68a; }
.cr-q { font-size: 12px; color: #0A3D6B; text-decoration: underline; cursor: pointer; }  /* 11-06 Master:选房不放估价，放「查价」,点了开询价弹窗(点格子本来就开) */
.cr-ask {
  padding: 8px 14px; font-size: 13px; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap;
  background: var(--gold, #E8A020); color: #fff; font-family: inherit;
}
.cr-ask:hover { background: #c8881a; }
.cr-empty { text-align: center; color: var(--gray, #6b7280); padding: 36px 10px !important; }
.cr-more-wrap { text-align: center; margin-top: 20px; }
.cr-more {
  padding: 12px 32px; font-size: 14px; border: none; border-radius: 4px; cursor: pointer;
  background: var(--navy, #0A3D6B); color: #fff; font-family: inherit;
}
.cr-legend { font-size: 12px; color: var(--gray, #6b7280); margin-top: 14px; }

/* ── 手机：每个航次一张卡片，四个舱型 2×2 ── */
@media (max-width: 760px) {
  .cr-toolbar { grid-template-columns: 1fr 1fr; }
  .cr-row .cr-max, .cr-row .cr-sort { width: calc(50% - 5px); margin-left: 0; }
  .cr-lab { width: 100%; }
  .cr-chip { padding: 8px 12px; font-size: 13px; }
  .cr-wrap { box-shadow: none; background: transparent; }
  .cr-table thead { display: none; }
  .cr-table, .cr-table tbody { display: block; }
  .cr-table tr[data-i] {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; background: #fff; margin-bottom: 12px;
    border-radius: 6px; box-shadow: 0 1px 10px rgba(10,61,107,.10); padding: 12px 14px; border-top: 3px solid var(--navy, #0A3D6B);
  }
  .cr-table td { border: none; padding: 4px 0; background: transparent !important; }
  .cr-date { grid-column: 1 / 3; font-size: 13px; color: var(--gray, #6b7280); }
  .cr-ship, .cr-it { grid-column: 1 / 3; }
  .cr-it { padding-bottom: 8px !important; border-bottom: 1px dashed #e3e9f0 !important; margin-bottom: 6px; }
  .cr-p { text-align: left !important; padding: 6px 8px !important; border-radius: 4px; }
  .cr-p::before { content: attr(data-l); display: block; font-size: 12px; color: var(--gray, #6b7280); }
  .cr-p.cr-hl { background: #fff8eb !important; }
  .cr-act { grid-column: 1 / 3; padding-top: 8px !important; }
  .cr-ask { width: 100%; padding: 12px; font-size: 15px; }
  .cr-table tr:not([data-i]) { display: block; }
}

/* ── 查价弹窗 ── */
.cr-modal {
  display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(4,20,40,.6);
  align-items: center; justify-content: center; padding: 16px;
}
.cr-modal.open { display: flex; }
.cr-box {
  position: relative; background: #fff; border-radius: 8px; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  padding: 24px 22px 20px; font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif; font-size: 15px; color: #1a1a2e; line-height: 1.5;
}
.cr-box h3 { margin: 0 0 10px; font-size: 20px; color: var(--navy, #0A3D6B); }
.cr-x { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 20px; cursor: pointer; color: #6b7280; padding: 4px; }
.cr-sum { white-space: pre-line; background: #f4f8fc; border-left: 3px solid var(--gold, #E8A020); padding: 10px 12px; margin: 0 0 8px; font-size: 14px; }
.cr-sub { font-size: 13px; color: #6b7280; margin: 0 0 12px; }
.cr-box label { display: block; font-size: 13px; color: #374151; margin-bottom: 10px; }
.cr-box input, .cr-box select, .cr-box textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font-size: 16px; /* 16px 防 iOS 聚焦放大 */
  border: 1.5px solid #dde7f0; border-radius: 4px; font-family: inherit; background: #fff; color: inherit;
}
.cr-box .cr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cr-send {
  width: 100%; padding: 13px; margin-top: 4px; font-size: 16px; border: none; border-radius: 4px; cursor: pointer;
  background: var(--navy, #0A3D6B); color: #fff; font-family: inherit;
}
.cr-send:disabled { opacity: .6; cursor: default; }
.cr-send.cr-shippage { display: block; box-sizing: border-box; margin-top: 10px; text-align: center; text-decoration: none; background: #fff; color: var(--navy, #0A3D6B); border: 1.5px solid var(--navy, #0A3D6B); }
.cr-msg { margin: 10px 0 0; font-size: 14px; text-align: center; }
.cr-msg.ok { color: #047857; }
.cr-msg.bad { color: #b91c1c; }
.cr-notes { font-size: 13px; color: var(--gray, #6b7280); margin: 24px 0 0; padding-left: 18px; line-height: 1.7; }

/* ── 航线 / 邮轮资料（点「航线 ›」「邮轮资料 ›」）── */
.cr-lk { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--blue, #1B6CA8); text-decoration: none; white-space: nowrap; }
.cr-lk:hover { text-decoration: underline; }
.cr-lk-ship { margin-left: 0; }
.cr-info .cr-box { max-width: 480px; }
.cr-days { list-style: none; margin: 4px 0 16px; padding: 0; }
.cr-days li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef3f8; }
.cr-days li.sea { color: #9aa3ad; }
.cr-dn { flex: 0 0 64px; font-size: 13px; font-weight: 600; color: var(--navy, #0A3D6B); }
.cr-days li.sea .cr-dn { color: #9aa3ad; }
.cr-dn small, .cr-dp small { display: block; font-weight: 400; font-size: 12px; color: #6b7280; }
.cr-dp b { font-weight: 600; font-size: 14px; }
.cr-dp .cr-tm { color: #1B6CA8; }
.cr-ports { margin: 4px 0 16px; padding-left: 22px; line-height: 2; }
.cr-ports small { color: #6b7280; }
.cr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.cr-stats div { background: #f4f8fc; border-radius: 4px; padding: 8px 10px; }
.cr-stats dt { font-size: 12px; color: #6b7280; margin: 0; }
.cr-stats dd { margin: 2px 0 0; font-weight: 600; color: var(--navy, #0A3D6B); font-size: 14px; }
.cr-hls { margin: 0 0 12px; padding-left: 20px; line-height: 1.75; font-size: 14px; }
.cr-for { font-size: 14px; color: #374151; background: #fff8eb; border-left: 3px solid var(--gold, #E8A020); padding: 8px 12px; margin: 0 0 14px; }
@media (max-width: 760px) {
  .cr-stats { grid-template-columns: repeat(2, 1fr); }
  .cr-lk { margin-right: 10px; }
}

/* ── Virtuoso 顾问礼遇 ── */
.cr-tag.cr-v { background: #fff3dc; color: #a86b00; }
.cr-virt { border: 1.5px solid var(--gold, #E8A020); border-radius: 6px; padding: 16px 18px; margin: 0 0 22px; background: #fffdf8; }
.cr-virt h4 { margin: 0 0 6px; font-size: 17px; color: var(--navy, #0A3D6B); font-weight: 600; }
.cr-virt p { margin: 0 0 8px; font-size: 14px; color: #4b5563; line-height: 1.6; }
.cr-virt ul { margin: 0; padding: 0; list-style: none; }
.cr-virt li { font-size: 14px; line-height: 1.6; padding: 6px 0; border-top: 1px dashed #f0dcb4; }
.cr-virt li b { display: inline-block; min-width: 92px; color: var(--navy, #0A3D6B); margin-right: 8px; }
.cr-virt .cr-vnote { font-size: 12px; color: #9ca3af; margin: 8px 0 0; }
@media (max-width: 760px) { .cr-virt li b { display: block; } }

/* 表头点击排序 */
.cr-table th.cr-th-s { cursor: pointer; user-select: none; white-space: nowrap; }
.cr-table th.cr-th-s:hover { text-decoration: underline; }
.cr-table th .cr-arr { opacity: .45; font-size: 12px; }
.cr-table th.on .cr-arr { opacity: 1; }

/* 标签说明浮框 */
.cr-tag[data-tip] { cursor: help; }
.cr-tag[data-tip]:hover, .cr-tag[data-tip]:focus { outline: none; box-shadow: 0 0 0 1px currentColor; }
.cr-tipbox {
  display: none; position: fixed; z-index: 100000; max-width: 260px; padding: 8px 10px; border-radius: 6px;
  background: #1f2937; color: #fff; font-size: 12px; line-height: 1.55; text-align: left; font-weight: 400;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); pointer-events: none;
}

/* 每格两行：随机 / 选房 */
.cr-ln { display: block; white-space: nowrap; line-height: 1.7; }
.cr-ln + .cr-ln { font-size: 12px; color: var(--gray, #6b7280); }
.cr-ln + .cr-ln b { font-weight: 500; }
.cr-tag.cr-k { margin: 0 4px 0 0; background: #f3f4f6; color: #4b5563; }
.cr-ln .cr-none { font-size: 12px; }
.cr-alt { display: block; font-size: 12px; font-weight: 400; color: var(--gray, #6b7280); line-height: 1.4; }  /* 11-16 英文页美元价下面的加币 */
.cr-tag.cr-air { background: #fdf3e1; color: #9a5b00; margin: 4px 8px 0 0; }  /* 11-16 送机票(北美出发) */
.cr-tag.cr-lp { background: #fde7f0; color: #be185d; font-weight: 600; margin: 4px 8px 0 0; }  /* 11-17 经我们订的限时礼遇(公主 US$900 优惠券) */
.cr-lpbar { background: #fde7f0; border-left: 4px solid #be185d; border-radius: 6px; padding: 12px 16px; margin: 4px 0 12px; color: #4a1030; font-size: 14px; line-height: 1.6; }  /* 11-17 限时礼遇横幅 */
.cr-lpbar b { display: block; color: #be185d; font-size: 17px; margin-bottom: 2px; }
