/* v1139M — mobile targeted hotfixes for header, partners, fasttrack fee tables and airport artwork */

@media (max-width:900px){
  /* --- header: prevent Apply Now from covering the logo on narrow/mobile widths --- */
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .container.nav,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 64px 42px!important;
    align-items:center!important;
    gap:6px!important;
    padding:10px 10px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo{
    grid-column:1!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo img,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo img{
    display:block!important;
    width:100%!important;
    max-width:134px!important;
    height:auto!important;
    max-height:31px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .mobile-only.btn,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .nav > a.mobile-only{
    grid-column:2!important;
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
    margin:0!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .vge-mobile-menu-button{
    grid-column:3!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    margin:0!important;
    justify-self:end!important;
  }

  /* --- homepage partners: 2 rows x 3 logos visible, horizontal swipe --- */
  html body .home-partners-section .container{
    padding-left:12px!important;
    padding-right:12px!important;
    overflow:hidden!important;
  }
  html body .home-partners-section .home-partners-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-template-rows:repeat(2,88px)!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 20px)/3)!important;
    gap:10px!important;
    width:100%!important;
    height:186px!important;
    min-height:186px!important;
    max-height:186px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    align-content:start!important;
    padding:0 0 6px!important;
    margin:0!important;
  }
  html body .home-partners-section .partner-logo-card{
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
    padding:8px!important;
    border-radius:14px!important;
    scroll-snap-align:start!important;
    box-sizing:border-box!important;
  }
  html body .home-partners-section .partner-logo-viewport{
    height:68px!important;
    max-height:68px!important;
  }
  html body .home-partners-section .partner-logo-viewport img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  /* --- fast track airport artwork: bigger image, less frame on mobile --- */
  html body.fasttrack-polished-v1136W .fasttrack-airports-image-v1138O{
    margin:14px 0 22px!important;
    border:0!important;
    border-radius:16px!important;
    box-shadow:none!important;
    background:transparent!important;
    overflow:hidden!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-airports-image-v1138O img{
    width:122%!important;
    max-width:none!important;
    margin-left:-11%!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:center top!important;
    display:block!important;
  }

  /* --- fast track fee tables: pack tighter horizontally, smaller fonts --- */
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G{
    margin-left:0!important;
    margin-right:0!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-table-scroll-v1137G{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN{
    width:414px!important;
    min-width:414px!important;
    max-width:414px!important;
    table-layout:fixed!important;
    font-size:10.75px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody th,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody td{
    padding:8px 5px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th:first-child,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody th{
    width:149px!important;
    min-width:149px!important;
    max-width:149px!important;
    padding-left:8px!important;
    padding-right:6px!important;
    white-space:normal!important;
    line-height:1.14!important;
    text-align:left!important;
    vertical-align:middle!important;
    text-wrap:balance!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:10.8px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th:not(:first-child),
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody td{
    width:53px!important;
    min-width:53px!important;
    max-width:53px!important;
    padding-left:4px!important;
    padding-right:4px!important;
    text-align:center!important;
    vertical-align:middle!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th{
    font-size:9.9px!important;
    line-height:1.08!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-v1135ZN{
    font-size:12px!important;
    line-height:1.05!important;
    font-weight:780!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-na-v1135ZN,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-quote-v1137I,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .fasttrack-reference-price-v1138J{
    font-size:9.8px!important;
    line-height:1.08!important;
  }

  /* trim bottom dead space on mobile booking card */
  html body.fasttrack-polished-v1136W .fasttrack-registration-card-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-registration-form-v1136AI{
    padding-bottom:10px!important;
    margin-bottom:0!important;
    min-height:0!important;
  }
}

@media (max-width:420px){
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN{
    width:402px!important;
    min-width:402px!important;
    max-width:402px!important;
    font-size:10.4px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th:first-child,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody th{
    width:142px!important;
    min-width:142px!important;
    max-width:142px!important;
    font-size:10.5px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th:not(:first-child),
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody td{
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
  }
}
