/* Traverse Tours v1.6.14 - shared Traverse China navigation presentation.
   Scoped to Product Studio archive and product detail pages only.
   Existing tour layouts, product editor and product-specific inquiry logic are untouched. */
body.tt5-app .tt5-head{position:sticky!important;top:0;z-index:9999;height:auto!important;background:#fff;box-shadow:0 5px 24px rgba(12,46,39,.05);border:0;backdrop-filter:none}
body.tt5-app.admin-bar .tt5-head{top:32px}
body.tt5-app .tt5-trustbar{position:relative;height:32px;display:flex;align-items:center;overflow:hidden;background:#0c2e27;color:#fff}
body.tt5-app .tt5-trustbar::before,body.tt5-app .tt5-trustbar::after{content:"";position:absolute;top:0;bottom:0;width:65px;z-index:2;pointer-events:none}
body.tt5-app .tt5-trustbar::before{left:0;background:linear-gradient(90deg,#0c2e27,transparent)}
body.tt5-app .tt5-trustbar::after{right:0;background:linear-gradient(-90deg,#0c2e27,transparent)}
body.tt5-app .tt5-trust-track{display:flex;width:max-content;animation:tt5TrustMove 32s linear infinite}
body.tt5-app .tt5-trustbar:hover .tt5-trust-track{animation-play-state:paused}
body.tt5-app .tt5-trust-set{display:flex;align-items:center;min-height:32px;flex-shrink:0}
body.tt5-app .tt5-trust-set span{display:flex;align-items:center;gap:8px;padding:0 26px;color:rgba(255,255,255,.92);font-size:10.5px;font-weight:720;white-space:nowrap}
body.tt5-app .tt5-trust-set span::before{content:"";width:5px;height:5px;flex:0 0 5px;background:#dbc08e;border-radius:50%}
@keyframes tt5TrustMove{to{transform:translateX(-50%)}}
body.tt5-app .tt5-head-row{height:76px!important;width:min(1600px,calc(100% - 56px));margin:0 auto;display:grid;grid-template-columns:235px minmax(0,1fr) auto;gap:18px;align-items:center;justify-content:initial}
body.tt5-app .tt5-head .tt5-brand{display:flex;align-items:center;gap:11px;min-width:0;color:#0c2e27!important;flex-shrink:initial}
body.tt5-app .tt5-head .tt5-brandmark{position:relative;display:block;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border:0;border-radius:0;background:#fff;letter-spacing:normal}
body.tt5-app .tt5-head .tt5-brandmark img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#fff}
body.tt5-app .tt5-head .tt5-brandmark img.tt5-brand-img{z-index:1}
body.tt5-app .tt5-head .tt5-brandmark img[hidden]{display:none!important}
body.tt5-app .tt5-head .tt5-brand-text{display:block;min-width:0;color:#0c2e27!important;font-size:19px;font-weight:720;letter-spacing:-.03em;line-height:1}
body.tt5-app .tt5-head .tt5-brand-text strong{display:block;font:inherit}
body.tt5-app .tt5-head .tt5-brand-text small{display:block;margin-top:5px;color:#72847d;font-size:8px;font-weight:800;letter-spacing:.16em;line-height:1.3;text-transform:uppercase}
body.tt5-app .tt5-head .tt5-nav{display:flex;align-items:center;justify-content:center;min-width:0;flex:initial;gap:clamp(4px,.5vw,11px);white-space:nowrap}
body.tt5-app .tt5-head .tt5-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:8px clamp(7px,.65vw,12px);border:1px solid transparent;border-radius:11px;background:transparent;color:#345048!important;font-size:clamp(11.5px,.82vw,13.5px);font-weight:680;letter-spacing:0;line-height:1.15;white-space:nowrap;transition:background-color .22s,border-color .22s,color .22s,box-shadow .22s}
body.tt5-app .tt5-head .tt5-nav a::after{display:none!important;content:none!important}
body.tt5-app .tt5-head .tt5-nav a:hover,body.tt5-app .tt5-head .tt5-nav a:focus-visible{border-color:#11775e;color:#0d624e!important;background:#eff7f2}
body.tt5-app .tt5-head .tt5-nav a[aria-current="page"]{border-color:#a7d4bf;background:#eff7f2;color:#11775e!important;font-weight:790}
body.tt5-app .tt5-head .tt5-nav a.tt5-nav-plan{min-height:42px;padding:9px clamp(10px,.9vw,16px);border:1.5px solid #11775e;border-radius:999px;background:#fff;color:#11775e!important;font-weight:800;box-shadow:0 4px 12px rgba(17,119,94,.045)}
body.tt5-app .tt5-head .tt5-nav a.tt5-nav-plan:hover,body.tt5-app .tt5-head .tt5-nav a.tt5-nav-plan:focus-visible{background:#11775e;color:#fff!important;box-shadow:0 8px 18px rgba(17,119,94,.14)}
body.tt5-app .tt5-headright{display:flex;align-items:center;gap:12px;min-width:0}
body.tt5-app .tt5-head .tt5-top-cta{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 21px;border-radius:999px;background:#11775e!important;color:#fff!important;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(17,119,94,.18)}
body.tt5-app .tt5-head .tt5-top-cta:hover{background:#0b604c!important}
body.tt5-app .tt5-head .tt5-mobile-chat,body.tt5-app .tt5-head .tt5-mobile-nav{display:none}
body.tt5-app .tt5-head :is(a,summary):focus-visible{outline:3px solid #b88b52;outline-offset:3px}
body.tt5-app :is(#tt5-explore,#tt5-dest,#tt-main){scroll-margin-top:124px}
/* Restrained storefront color/type alignment with the established homepage. */
body.tt5-app{--t5-ink:#0c2e27;--t5-green:#11775e;--t5-hover:#0d624e;--t5-cream:#f6f3ec}
body.tt5-app .tt5-market .tt5-hero{background:#f6f3ec}
body.tt5-app .tt5-market .tt5-hero .tt5-kicker{color:#b88b52!important}
body.tt5-app .tt5-market .tt5-hero h1{font-weight:610!important;color:#0c2e27!important}
body.tt5-app .tt5-market .tt5-hero h1 em{color:#b88b52!important;font-weight:480!important}
body.tt5-app .tt5-market .tt5-btn-primary{border-radius:999px;background:#11775e}
body.tt5-app .tt5-market .tt5-btn-primary:hover{background:#0d624e}
body.tt5-app .tt5-market .tt5-section-top h2{font-weight:610!important;color:#0c2e27!important}
body.tt5-app .tt5-market .tt5-section-top h2 em{color:#b88b52!important;font-weight:480!important}
/* Footer: the same information architecture and colors as homepage. */
body.tt5-app .tt5-footer{padding:72px 0 26px;background:#061e19;color:#fff}
body.tt5-app .tt5-footer-wrap{width:min(1320px,calc(100% - 88px));margin:0 auto}
body.tt5-app .tt5-footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:52px}
body.tt5-app .tt5-footer-brand strong{display:block;color:#fff;font-size:24px;font-weight:580;line-height:1.2}
body.tt5-app .tt5-footer-brand p{max-width:360px;margin:14px 0 0;color:#91a69e;font-size:12px;line-height:1.75}
body.tt5-app .tt5-footer h4{margin:0 0 16px;color:#d6b983;font-size:8px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
body.tt5-app .tt5-footer-links{display:flex;flex-direction:column;gap:8px;padding:0}
body.tt5-app .tt5-footer a,body.tt5-app .tt5-footer-contact{display:inline-block;color:#97aaa3!important;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
body.tt5-app .tt5-footer a:hover{color:#fff!important}
body.tt5-app .tt5-footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:50px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:#70877f;font-size:10px}
/* Single tour header/footer still use WordPress's product-specific quote logic. */
@media(max-width:1180px){
  body.tt5-app .tt5-head-row{width:calc(100% - 40px);height:76px!important;grid-template-columns:minmax(0,1fr) auto auto;gap:10px}
  body.tt5-app .tt5-head .tt5-nav,body.tt5-app .tt5-head .tt5-top-cta{display:none!important}
  body.tt5-app .tt5-head .tt5-mobile-chat{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 5px;height:45px;white-space:nowrap;border-radius:999px;background:#11775e;color:#fff!important;box-shadow:0 4px 14px rgba(10,69,52,.16)}
  body.tt5-app .tt5-head .tt5-mobile-avatar{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;overflow:hidden;border:1.5px solid rgba(255,255,255,.9);border-radius:50%;background:#e5e9db}
  body.tt5-app .tt5-head .tt5-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center}
  body.tt5-app .tt5-head .tt5-avatar-fallback img{position:static;width:100%;height:100%;object-fit:contain;background:#fff}
  body.tt5-app .tt5-head .tt5-mobile-avatar>img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;object-position:center 28%;border-radius:50%}
  body.tt5-app .tt5-head .tt5-mobile-avatar img[hidden]{display:none!important}
  body.tt5-app .tt5-head .tt5-mobile-chat-copy{display:flex;flex-direction:column;gap:2px;justify-content:center}
  body.tt5-app .tt5-head .tt5-mobile-chat-copy strong{color:#fff;font-size:10px;font-weight:800;line-height:1.15}
  body.tt5-app .tt5-head .tt5-mobile-chat-copy small{color:#d9eee5;font-size:9px;font-weight:680;line-height:1.15}
  body.tt5-app .tt5-head .tt5-mobile-nav{display:block;position:static!important;justify-self:end;margin-left:0}
  body.tt5-app .tt5-mobile-nav summary{display:flex;width:48px;height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;border-radius:13px;background:#edf2ef;cursor:pointer;list-style:none}
  body.tt5-app .tt5-mobile-bars{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3.5px;width:19px;height:20px;background:transparent}
  body.tt5-app .tt5-mobile-bars i{display:block;width:18px;height:1.5px;margin:0;background:#123f35;border-radius:3px;opacity:1;transform:none;transition:transform .2s,opacity .15s}
  body.tt5-app .tt5-menu-caption{font-size:10px;line-height:1.15;font-weight:800;color:#123f35}
  body.tt5-app .tt5-mobile-nav[open] .tt5-mobile-bars i:first-child{transform:translateY(5px) rotate(45deg)}
  body.tt5-app .tt5-mobile-nav[open] .tt5-mobile-bars i:nth-child(2){opacity:0}
  body.tt5-app .tt5-mobile-nav[open] .tt5-mobile-bars i:last-child{transform:translateY(-5px) rotate(-45deg)}
  body.tt5-app .tt5-mobile-nav .tt5-mobile-panel{position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:300;width:100%!important;max-height:calc(100dvh - 108px);overflow-y:auto;overscroll-behavior:contain;padding:15px 24px 25px;background:#fff;border:0;border-top:1px solid rgba(12,46,39,.13);border-radius:0;box-shadow:0 26px 60px rgba(12,46,39,.16);display:flex;flex-direction:column;gap:0}
  body.tt5-app .tt5-mobile-label{margin:0;padding:10px 0 6px;color:#a18051;font-size:8px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
  body.tt5-app .tt5-mobile-panel>a{min-height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;border-bottom:1px solid rgba(12,46,39,.13);font-size:14px;font-weight:680;color:#0c2e27!important}
  body.tt5-app .tt5-mobile-panel>a[aria-current="page"]{color:#11775e!important;background:#f0f7f2;box-shadow:inset 3px 0 0 #11775e;padding-left:12px}
  body.tt5-app .tt5-mobile-panel>a:hover{color:#11775e!important;background:#f0f7f2}
  body.tt5-app .tt5-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}
  body.tt5-app .tt5-mobile-actions a{display:flex;min-height:48px;align-items:center;justify-content:center;border-radius:999px;font-size:11px;font-weight:800;padding:8px;text-align:center}
  body.tt5-app .tt5-mobile-actions a.tt5-mob-cta{background:#fff;color:#0c2e27!important;border:1px solid rgba(12,46,39,.13)}
  body.tt5-app .tt5-mobile-actions a.tt5-mobile-plan{background:#11775e;color:#fff!important;border:1px solid #11775e}
  body.tt5-app .tt5-mobile-actions a.tt5-mobile-plan:hover{background:#0d624e;color:#fff!important}
  body.tt5-app.admin-bar .tt5-mobile-nav .tt5-mobile-panel{max-height:calc(100dvh - 140px)}
  body.tt5-app .tt5-footer-grid{gap:25px}
}
@media(max-width:782px){body.tt5-app.admin-bar .tt5-head{top:46px}body.tt5-app.admin-bar .tt5-mobile-nav .tt5-mobile-panel{max-height:calc(100dvh - 154px)}}
@media(max-width:760px){
  body.tt5-app .tt5-trustbar,body.tt5-app .tt5-trust-set{height:28px;min-height:28px}
  body.tt5-app .tt5-trust-set span{font-size:9px;padding:0 18px}
  body.tt5-app .tt5-trustbar::before,body.tt5-app .tt5-trustbar::after{width:28px}
  body.tt5-app .tt5-trust-track{animation-duration:27s}
  body.tt5-app .tt5-head-row{height:63px!important;width:calc(100% - 24px);grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
  body.tt5-app .tt5-head .tt5-brand{gap:7px;min-width:0}
  body.tt5-app .tt5-head .tt5-brandmark{flex:0 0 35px;width:35px;height:35px}
  body.tt5-app .tt5-head .tt5-brand-text{font-size:clamp(12px,3.8vw,16px);white-space:nowrap}
  body.tt5-app .tt5-head .tt5-brand-text small{display:none}
  body.tt5-app .tt5-mobile-nav summary{width:47px;height:47px;border-radius:12px}
  body.tt5-app .tt5-mobile-nav .tt5-mobile-panel{max-height:calc(100dvh - 91px);padding:11px 18px 23px}
  body.tt5-app.admin-bar .tt5-mobile-nav .tt5-mobile-panel{max-height:calc(100dvh - 137px)}
  body.tt5-app :is(#tt5-explore,#tt5-dest,#tt-main){scroll-margin-top:107px}
  body.tt5-app .tt5-footer{padding:52px 0 20px}
  body.tt5-app .tt5-footer-wrap{width:calc(100% - 32px)}
  body.tt5-app .tt5-footer-grid{grid-template-columns:1fr 1fr;gap:31px 20px}
  body.tt5-app .tt5-footer-brand,body.tt5-app .tt5-footer-grid>div:last-child{grid-column:1/-1}
  body.tt5-app .tt5-footer-bottom{flex-direction:column;gap:6px;margin-top:34px}
}
@media(max-width:390px){body.tt5-app .tt5-mobile-actions{grid-template-columns:1fr}}
@media(max-width:360px){
  body.tt5-app .tt5-head-row{width:calc(100% - 20px);gap:5px}
  body.tt5-app .tt5-head .tt5-brand{gap:5px}
  body.tt5-app .tt5-head .tt5-brandmark{flex-basis:30px;width:30px;height:30px}
  body.tt5-app .tt5-head .tt5-brand-text{font-size:12px}
  body.tt5-app .tt5-mobile-chat{height:42px;gap:4px;padding:4px 7px 4px 4px}
  body.tt5-app .tt5-mobile-avatar{width:31px;height:31px;flex-basis:31px}
  body.tt5-app .tt5-mobile-chat-copy strong{font-size:9px}
  body.tt5-app .tt5-mobile-chat-copy small{font-size:8px}
  body.tt5-app .tt5-mobile-nav summary{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){body.tt5-app .tt5-trust-track{animation:none!important;transform:none!important}body.tt5-app .tt5-head :is(a,summary),body.tt5-app .tt5-mobile-bars i{transition:none!important}}


/* 1.6.15 product details only: discreet anchor navigation for long itineraries.
   Never changes the global site header, footer, cards or product content. */
body.tt5-app .tt5-detail .tt-detail-jump{display:flex;align-items:center;flex-wrap:wrap;gap:8px 19px;padding:13px 0 15px;border-top:1px solid #e5ece7;border-bottom:1px solid #e5ece7;background:#fff}
body.tt5-app .tt5-detail .tt-detail-jump-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#84978a;white-space:nowrap;margin-right:4px}
body.tt5-app .tt5-detail .tt-detail-jump a{font-size:12px;line-height:1.6;font-weight:700;color:#245847!important;text-decoration:none;white-space:nowrap}
body.tt5-app .tt5-detail .tt-detail-jump a:hover,body.tt5-app .tt5-detail .tt-detail-jump a:focus-visible{color:#087c5c!important;text-decoration:underline;text-underline-offset:4px}
body.tt5-app .tt5-detail .tt-breadcrumb-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(65ch,52vw)}
body.tt5-app .tt5-detail #tt-overview,body.tt5-app .tt5-detail #tt-itinerary,body.tt5-app .tt5-detail #tt-inclusions,body.tt5-app .tt5-detail #tt-faq,body.tt5-app .tt5-detail #tt-reviews{scroll-margin-top:110px}
@media(max-width:760px){body.tt5-app .tt5-detail .tt-detail-jump{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:17px;padding:12px 0;-webkit-overflow-scrolling:touch}body.tt5-app .tt5-detail .tt-detail-jump::-webkit-scrollbar{display:none}body.tt5-app .tt5-detail .tt-detail-jump a{font-size:11px}body.tt5-app .tt5-detail .tt-detail-jump-label{font-size:9px}body.tt5-app .tt5-detail .tt-breadcrumb-current{max-width:40vw}body.tt5-app .tt5-detail #tt-overview,body.tt5-app .tt5-detail #tt-itinerary,body.tt5-app .tt5-detail #tt-inclusions,body.tt5-app .tt5-detail #tt-faq,body.tt5-app .tt5-detail #tt-reviews{scroll-margin-top:86px}}
