/* 玹翔旅遊 Ultimate Final v8.0｜全站共用版型 */
:root {
  --xx-bg: #050505;
  --xx-card: #111318;
  --xx-gold: #d8b56d;
  --xx-gold-2: #fff0b8;
  --xx-text: #fff8e8;
  --xx-muted: #d8ccb0;
  --xx-line: rgba(216, 181, 109, .28);
  --xx-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; color: var(--xx-text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.xx-topbar { position: sticky; top: 0; z-index: 9999; border-bottom: 1px solid var(--xx-line); background: rgba(5, 5, 5, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.xx-nav-wrap { width: min(1380px, calc(100% - 28px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.xx-brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.logo-img { width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; object-fit: cover; box-shadow: 0 0 26px rgba(216, 181, 109, .2); }
.brand-text strong { display: block; color: #fff3cf; font-size: 20px; line-height: 1.15; }
.brand-text small { display: block; margin-top: 3px; color: #cfc3a8; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 13px; flex-wrap: wrap; }
.nav-links a, .drop-btn { border: 0; background: transparent; color: #f5e5c1; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; white-space: nowrap; transition: .2s ease; }
.nav-links a:hover, .nav-links a.is-active, .drop-btn:hover { color: var(--xx-gold-2); }
.drop { position: relative; display: inline-flex; align-items: center; }
.drop-list { position: absolute; top: calc(100% + 10px); left: 0; display: none; min-width: 245px; padding: 12px; border: 1px solid rgba(216, 181, 109, .3); border-radius: 20px; background: linear-gradient(180deg, rgba(20, 20, 20, .99), rgba(8, 8, 8, .99)); box-shadow: 0 26px 70px rgba(0, 0, 0, .56); }
.drop:hover > .drop-list, .drop.active > .drop-list { display: flex; flex-direction: column; gap: 7px; }
.drop-list a { display: block; padding: 10px 12px; border-radius: 13px; }
.drop-list a:hover { background: rgba(216, 181, 109, .12); }
.xx-nav-toggle, .xx-hamburger { display: none; }
.xx-footer-clean { margin-top: 70px; padding: 56px 0 34px; border-top: 1px solid var(--xx-line); background: #050505; color: #f7f3ea; }
.xx-footer-wrap { width: min(1180px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
.xx-footer-col h3 { margin: 0 0 18px; color: #fff3c2; font-size: 20px; }
.xx-footer-col p { margin: 0 0 22px; color: #d2dae4; line-height: 2; }
.xx-footer-col ul { margin: 0; padding: 0; list-style: none; }
.xx-footer-col li { margin: 7px 0; color: #eadfc6; font-weight: 800; line-height: 1.65; }
.xx-footer-col a:hover { color: var(--xx-gold-2); }
.xx-footer-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xx-footer-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(216, 181, 109, .32); border-radius: 999px; font-weight: 950; }
.xx-footer-actions a:first-child { color: #111; background: linear-gradient(135deg, #fff0b8, #d8b56d); }
.xx-copy { width: min(1180px, calc(100% - 40px)); margin: 34px auto 0; color: #d2c6a9; font-size: 12px; }
.xx-float { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.xx-float a { min-width: 118px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 950; box-shadow: 0 14px 35px rgba(0, 0, 0, .35); }
.xx-float a:first-child { color: #06120a; background: #18d46b; }
.xx-float a:last-child { color: #111; background: linear-gradient(135deg, #fff0b8, #d8b56d); }
.table-wrap { position: relative; max-height: 75vh; overflow: auto; border: 1px solid rgba(216, 181, 109, .34); border-radius: 24px; background: #fffefb; box-shadow: 0 20px 60px rgba(0, 0, 0, .22); -webkit-overflow-scrolling: touch; }
.table-wrap::before { content: "左右滑動查看完整價目表｜第一欄、前兩列已固定 ⟶"; position: sticky; top: 0; left: 0; z-index: 120; display: block; padding: 12px 16px; border-bottom: 1px solid rgba(216, 181, 109, .36); background: linear-gradient(135deg, #fff6d8, #ecd18b); color: #5b430f; font-size: 13px; font-weight: 950; }
.xx-price-table { width: 100%; min-width: 1120px; border-collapse: separate; border-spacing: 0; background: #fff; color: #243044; }
.xx-price-table th, .xx-price-table td { min-width: 138px; padding: 14px 12px; border-right: 1px solid #ece3d0; border-bottom: 1px solid #ece3d0; text-align: center; white-space: nowrap; }
.xx-price-table th { background: linear-gradient(180deg, #fff2bd, #d8b56d); color: #171006; }
.xx-price-table tr.freeze-row-1 th, .xx-price-table thead tr:first-child th { position: sticky; top: 41px; z-index: 80; }
.xx-price-table tr.freeze-row-2 td, .xx-price-table tbody tr:first-child td { position: sticky; top: 92px; z-index: 70; background: #fff5dd; font-weight: 900; }
.xx-price-table th:first-child, .xx-price-table td:first-child { position: sticky; left: 0; z-index: 90; background: #fff2bd; color: #171006; font-weight: 950; }
.xx-partial-error, .xx-api-note { width: min(1180px, calc(100% - 40px)); margin: 16px auto; padding: 14px 18px; border: 1px dashed var(--xx-line); border-radius: 16px; color: #fff0b8; background: rgba(216, 181, 109, .08); }
.xx-anchor-alias { position: absolute; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 980px) {
  .xx-nav-wrap { position: relative; min-height: 74px; }
  .xx-hamburger { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(216, 181, 109, .28); border-radius: 15px; color: var(--xx-gold-2); background: rgba(255, 255, 255, .05); font-size: 26px; cursor: pointer; }
  .nav-links { position: absolute; top: 76px; right: 0; left: 0; display: none; max-height: calc(100vh - 86px); overflow-y: auto; padding: 18px; border: 1px solid rgba(216, 181, 109, .24); border-radius: 0 0 22px 22px; background: rgba(8, 8, 8, .99); flex-direction: column; align-items: stretch; gap: 10px; }
  .xx-nav-toggle:checked ~ .nav-links { display: flex; }
  .drop { display: block; width: 100%; }
  .drop-btn { display: flex; width: 100%; min-height: 54px; padding: 14px 16px; align-items: center; justify-content: space-between; border: 1px solid rgba(216, 181, 109, .18); border-radius: 16px; background: rgba(255, 255, 255, .06); }
  .drop-btn::after { content: "＋"; }
  .drop.active .drop-btn::after { content: "－"; }
  .drop-list, .drop:hover > .drop-list { position: static; display: none; width: 100%; min-width: 0; margin-top: 8px; padding: 10px; border-radius: 18px; box-shadow: none; }
  .drop.active > .drop-list { display: flex; }
  .xx-footer-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .xx-float { right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: 1fr 1fr; }
  .xx-float a { min-width: 0; }
  body { padding-bottom: 72px; }
}
