/* Mobile header and navigation drawer */
@media (max-width:980px) {
  .tour-page .header-top .header-top-flex { display:flex; min-height:30px; gap:12px; }
  .tour-page .header-top-hotline { font-size:11px; }
  .tour-page .header-top-service { margin-left:auto; font-size:10px; text-decoration:none; white-space:nowrap; }
  .tour-page .header-top-service > span:first-child { display:none; }
  .tour-page .tour-header .main-header { flex-wrap:nowrap; min-height:68px; height:68px; gap:12px; padding-block:10px; }
  .tour-header .logo-section { order:0; grid-area:1 / 1; }
  .tour-header .language-switcher { order:1; grid-area:1 / 2; justify-self:end; display:flex; flex-wrap:nowrap; gap:6px; margin:0 0 0 auto; padding:0 9px; max-width:150px; height:40px; border:1px solid #e3eaf0; border-radius:10px; background:#fff; color:#50677c; }
  .tour-header .language-switcher select { width:100%; min-width:0; max-width:112px; height:38px; border:0; background:transparent; color:#244661; font-family:inherit; font-size:12px; font-weight:500; cursor:pointer; }
  .tour-header .header-mobile-actions { order:2; grid-area:1 / 3; margin:0; }
  .tour-header .header-mobile-actions .mobile-menu-btn { width:42px; height:42px; border-radius:12px; background:#edf4fa; border-color:#e0eaf3; font-size:18px; }
  .tour-header nav.nav-menu { box-sizing:border-box; width:min(360px,calc(100vw - 24px)); max-width:none; height:100vh; height:100dvh; margin:0; padding:0 16px max(20px,env(safe-area-inset-bottom)); align-items:stretch; justify-content:flex-start; gap:4px; background:#fff; border-radius:20px 0 0 20px; box-shadow:-16px 0 60px #072e5426; overscroll-behavior:contain; }
  .tour-header .mobile-drawer-header { flex-shrink:0; display:flex; width:100%; min-height:88px; padding:20px 4px 16px; margin:0 0 12px; border-bottom:1px solid #e9eef3; }
  .drawer-brand img { display:block; width:94px; height:50px; object-fit:contain; }
  .tour-header .close-drawer-btn { display:grid; place-items:center; flex-shrink:0; width:40px; height:40px; padding:0; border:1px solid #e4ebf1; border-radius:50%; background:#f5f8fb; color:#35536e; font-size:27px; line-height:1; }
  .tour-header nav.nav-menu > .nav-link,.tour-header .nav-services-toggle { box-sizing:border-box; min-height:48px; margin:0; padding:12px 14px; border:0; border-radius:10px; font-size:14px; line-height:1.5; text-align:left; color:#24445e; white-space:normal; }
  .tour-header .nav-services { flex-shrink:0; }
  .tour-header .nav-services-toggle[aria-expanded=true] { color:#0b4378; background:#edf4fa; }
  .tour-header .nav-services-toggle i { display:grid; place-items:center; width:24px; height:24px; flex-shrink:0; color:#7d91a3; font-size:10px; }
  .tour-header .nav-services-menu { box-sizing:border-box; width:auto; margin:4px 0 8px 14px; padding:4px 6px; background:#f6f9fc; border-left:2px solid #d8e6f2; border-radius:0 10px 10px 0; }
  .tour-header .nav-services-menu a { min-height:44px; padding:10px; font-size:12px; line-height:1.6; }
  .drawer-support { display:flex; align-items:center; gap:12px; flex-shrink:0; margin-top:auto; padding:18px 14px 4px; border-top:1px solid #e9eef3; color:#0b4378; text-decoration:none; }
  .drawer-support > i { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#fff2e6; color:#e87517; }
  .drawer-support span { display:grid; gap:2px; }
  .drawer-support small { color:#71869a; font-size:11px; }
  .drawer-support strong { font-size:15px; letter-spacing:.3px; }
  .tour-header .mobile-overlay { background:rgba(9,28,47,.48); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
  .tour-header :is(button,a,select):focus-visible { outline:2px solid #e88b30; outline-offset:3px; }
}
@media (min-width:981px) { .drawer-support { display:none; } }
@media (max-width:360px) {
  .tour-header .language-switcher { max-width:126px; padding-inline:6px; }
  .tour-page .tour-header .main-header { gap:8px; }
  .tour-page .header-top-service { font-size:9px; }
}
@media (prefers-reduced-motion:reduce) {
  .tour-header nav.nav-menu,.tour-header .mobile-overlay { transition:none; }
}

/* Keep mobile chrome within the viewport; reset inherited desktop sizing. */
@media (max-width:980px) {
  .tour-page .header-top { width:100%; }
  .tour-page .header-top .header-top-flex { box-sizing:border-box; width:100%; max-width:100%; min-height:26px; height:26px; padding:0 16px; flex-direction:row; justify-content:center; gap:0; }
  .tour-page .header-top .header-top-service { display:none; }
  .tour-page .header-top .header-top-hotline { margin:0; font-size:10px; line-height:1; }
  .tour-page .tour-header { width:100%; max-width:100vw; min-width:0; }
  .tour-page .tour-header .main-header { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) auto 40px; width:100%; max-width:100vw; min-width:0; height:62px; min-height:62px; padding:8px 16px; gap:10px; }
  .tour-header .logo-section { min-width:0; width:auto; justify-self:start; }
  .tour-header .logo-link img { width:76px!important; height:42px!important; }
  .tour-header .language-switcher { box-sizing:border-box; width:110px; max-width:110px; height:36px; min-width:0; margin:0; padding:0 7px; gap:4px; border-color:#e8edf2; border-radius:8px; }
  .tour-header .language-switcher > i { display:none; }
  .tour-header .language-switcher select { box-sizing:border-box; width:100%; max-width:100%; min-width:0; height:34px; font-size:12px; }
  .tour-header .header-mobile-actions { width:40px; min-width:0; margin:0; }
  .tour-header .header-mobile-actions .mobile-menu-btn { box-sizing:border-box; width:40px; height:40px; border:0; border-radius:8px; background:transparent; font-size:21px; }
  .tour-header .mobile-drawer-header { box-sizing:border-box; min-width:0; min-height:78px; }
  .tour-header nav.nav-menu { display:flex; top:0; right:0; left:auto; max-width:calc(100vw - 24px); }
}
@media (max-width:980px) {
  .tour-header nav.nav-menu { width:min(300px,78vw); max-width:78vw; height:auto; max-height:calc(100dvh - 24px); bottom:auto; padding:0 12px 12px; border-radius:16px 0 0 16px; gap:2px; }
  .tour-header .mobile-drawer-header { min-height:70px; margin-bottom:6px; padding:12px 4px; }
  .tour-header .drawer-brand img { width:80px; height:42px; }
  .tour-header nav.nav-menu > .nav-link,.tour-header .nav-services-toggle { min-height:43px; padding:10px 12px; font-size:13px; }
  .tour-header .drawer-support { margin-top:12px; padding:12px 10px 0; }
  .tour-header .drawer-support > i { width:32px; height:32px; border-radius:9px; font-size:12px; }
  .tour-header .drawer-support strong { font-size:13px; }
}
/* Mobile contact row and brand lockup. */
@media (max-width:980px) {
  .tour-page .header-top .header-top-flex { justify-content:space-between; flex-direction:row; height:28px; min-height:28px; gap:8px; }
  .tour-page .header-top .header-top-hotline { flex:0 0 auto; font-size:10px; }
  .tour-page .header-top .header-top-service { display:inline-flex; flex-direction:row; align-items:center; min-width:0; margin:0; padding:0; font-size:10px; line-height:1; color:#f5c582; }
  .tour-page .header-top .header-top-service > span:first-child { display:none; }
  .tour-header .logo-section { display:flex; flex-direction:row; align-items:center; gap:8px; }
  .tour-header .header-brand-name { display:flex; flex-direction:column; gap:2px; color:#123e62; white-space:nowrap; line-height:1.25; }
  .header-brand-name strong { font-size:12px; font-weight:800; }
  .header-brand-name small { font-size:9px; color:#7a8b99; letter-spacing:.5px; }
  .tour-header .logo-link img { width:62px!important; height:38px!important; }
  .tour-header .language-switcher { width:94px; max-width:94px; padding-inline:5px; }
  .tour-header .language-switcher select { font-size:11px; }
  .tour-page .tour-header .main-header { gap:8px; }
}
@media(min-width:981px) { .header-brand-name { display:none; } }
@media(max-width:360px) {
  .tour-header .logo-section { gap:5px; }
  .header-brand-name strong { font-size:10px; }
  .header-brand-name small { font-size:8px; }
  .tour-header .logo-link img { width:52px!important; }
  .tour-page .tour-header .main-header { padding-inline:12px; gap:6px; }
  .tour-page .header-top .header-top-flex { padding-inline:12px; }
  .tour-page .header-top .header-top-service,.tour-page .header-top .header-top-hotline { font-size:9px; }
}
.header-brand-contact { display:none; }
@media(max-width:980px) {
  .tour-page .header-top { display:none; }
  .tour-header .header-brand-contact { display:flex; flex-direction:column; gap:3px; min-width:0; line-height:1.3; }
  .header-brand-contact a { color:#123e62; font-size:13px; font-weight:750; text-decoration:none; white-space:nowrap; }
  .header-brand-contact a + a { color:#778896; font-size:9px; font-weight:400; }
  .tour-page .tour-header .main-header { min-height:66px; height:66px; }
}
@media(max-width:360px) {
  .tour-header .language-switcher { width:82px; max-width:82px; }
  .header-brand-contact a { font-size:11px; }
  .header-brand-contact a + a { font-size:8px; }
  .tour-header .logo-link img { width:46px!important; }
}
@media(max-width:980px) {
  body.tour-page .header-top,body.tour-page.tour-home .header-top { display:none; }
}
/* Keep the navy accent above the mobile header without duplicate contacts. */
@media(max-width:980px) {
  body.tour-page .header-top,body.tour-page.tour-home .header-top { display:block; height:28px; min-height:28px; padding:0; background:#0d314f; }
  body.tour-page .header-top .header-top-flex { display:none; }
}
@media(max-width:980px) {
  body.tour-page .header-top,body.tour-page.tour-home .header-top { position:sticky; top:0; z-index:1001; }
  body.tour-page .tour-header { top:28px; }
}
/* One sticky white header with a fixed-height navy accent. */
@media(max-width:980px) {
  body.tour-page .header-top,body.tour-page.tour-home .header-top { display:none; position:static; }
  body.tour-page .tour-header { top:0; border-top:0; background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
  body.tour-page .tour-header .main-header { background:#fff; }
}
/* Align the mobile brand, contact and controls on one shared centerline. */
@media(max-width:980px) {
  body.tour-page .tour-header .main-header { grid-template-columns:minmax(0,1fr) auto 36px; height:72px; min-height:72px; padding:12px 16px; column-gap:12px; align-items:center; }
  .tour-header .logo-section { gap:10px; align-items:center; }
  .tour-header .logo-link img { width:72px!important; height:44px!important; }
  .tour-header .header-brand-contact { gap:4px; }
  .header-brand-contact a { font-size:14px; line-height:1.25; letter-spacing:0; }
  .header-brand-contact a + a { font-size:9px; line-height:1.25; }
  .tour-header .language-switcher { width:88px; max-width:88px; height:36px; padding:0 6px; border-radius:7px; }
  .tour-header .language-switcher select { height:34px; font-size:11px; }
  .tour-header .header-mobile-actions,.tour-header .header-mobile-actions .mobile-menu-btn { width:36px; height:36px; }
}
@media(max-width:390px) {
  body.tour-page .tour-header .main-header { grid-template-columns:minmax(0,1fr) auto 36px; column-gap:8px; }
  .tour-header .logo-section { gap:8px; }
  .tour-header .logo-link img { width:62px!important; height:40px!important; }
  .header-brand-contact a { font-size:13px; }
  .header-brand-contact a + a { font-size:8px; }
  .tour-header .language-switcher { width:82px; max-width:82px; }
}
@media(max-width:340px) {
  body.tour-page .tour-header .main-header { padding-inline:12px; column-gap:6px; }
  .tour-header .logo-section { gap:5px; }
  .tour-header .logo-link img { width:48px!important; }
  .header-brand-contact a { font-size:11px; }
}
.header-brand-contact .header-contact-email { color:#778896; font-size:9px; font-weight:400; line-height:1.25; white-space:nowrap; }
@media(max-width:390px) { .header-brand-contact .header-contact-email { font-size:8px; } }
@media(max-width:980px) { .header-brand-contact .header-contact-email { position:relative; left:9px; } }
.header-brand-contact .header-contact-phone { color:#123e62; font-size:14px; font-weight:750; line-height:1.25; letter-spacing:0; white-space:nowrap; }
@media(max-width:390px) { .header-brand-contact .header-contact-phone { font-size:13px; } }
@media(max-width:340px) { .header-brand-contact .header-contact-phone { font-size:11px; } }
.lounge-edit-search > summary { display:none; }
@media(max-width:760px) {
  .lounge-edit-search > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; color:#174b76; font-size:12px; font-weight:700; list-style:none; }
  .lounge-edit-search > summary::-webkit-details-marker { display:none; }
  .lounge-edit-search > summary::after { content:'+'; font-size:20px; line-height:1; }
  .lounge-edit-search[open] > summary { margin-bottom:12px; }
  .lounge-edit-search[open] > summary::after { content:'−'; }
  .insurance-results-layout .insurance-sticky-overview { position:static; }
}
/* Six flight fields share the same two-column geometry on mobile. */
@media(max-width:760px) {
  .tour-page [data-flight-form] { grid-template-columns:repeat(2,minmax(0,1fr))!important; column-gap:12px!important; align-items:end; }
  .tour-page [data-flight-form] > label:has(> :is(input[name="from"],input[name="to"],input[name="start"],input[name="flight_return"],select[name="trip_type"],select[name="cabin"])) { box-sizing:border-box; width:100%; min-width:0; margin:0!important; padding:0!important; display:flex; flex-direction:column; gap:4px!important; }
  .tour-page [data-flight-form] :is(input[name="from"],input[name="to"],input[name="start"],input[name="flight_return"],select[name="trip_type"],select[name="cabin"]),
  .tour-page [data-flight-form] > label:has(>input:is([name="start"],[name="flight_return"])) .calendar-trigger { box-sizing:border-box!important; width:100%!important; min-width:0!important; height:40px!important; min-height:40px!important; margin:0!important; padding:8px!important; border-width:1px!important; border-radius:7px!important; font-size:12px!important; }
  .tour-page [data-flight-form] .flight-swap { right:-6px; bottom:6px; }
}
/* Reserve the same clear center gutter for all three pairs of fields. */
@media(max-width:760px) {
  .tour-page [data-flight-form] { column-gap:32px!important; }
  .tour-page [data-flight-form] .flight-swap { box-sizing:border-box; width:24px; height:24px; right:-16px; bottom:8px; transform:translateX(50%); padding:0; box-shadow:none; }
  .tour-page [data-flight-form] .flight-swap > i { font-size:10px; }
}
.tour-header .language-switcher.language-switcher-compact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  max-width: 46px;
  height: 36px;
  box-sizing: border-box;
  padding: 0;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.tour-header .language-switcher-compact > i { display: block; font-size: 9px; color: #244661; }
.language-switcher-flag { display: block; width: 22px; height: 16px; object-fit: contain; flex: none; }
.tour-header .language-switcher-compact:hover { background: #f1f6fa; }
.tour-header .language-switcher-compact select {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.language-switcher-compact:has(select:focus-visible) { outline: 1px solid #9bb4c8; outline-offset: 1px; }
