/* Shared site-wide header, menu, logo and booking form consistency */
#header{position:relative;z-index:10000;background:#fff}
#header .header-top>.container>.row{display:flex;align-items:center;flex-wrap:wrap}
#header .header-logo{float:none!important;display:flex;align-items:center;width:auto!important;max-width:230px;flex:0 0 230px;padding:8px 15px}
#header .navbar-logo{display:flex;align-items:center;min-height:76px}
#header .navbar-logo a{display:inline-flex;align-items:center}
#header .navbar-logo img{display:block!important;width:auto!important;height:70px!important;max-height:70px!important;max-width:225px!important;object-fit:contain!important}
#header .header-menu{float:none!important;flex:1 1 auto;min-width:0}
#header .book{float:none!important;margin-left:auto;align-self:center}
#header .book a{white-space:nowrap}
#header .megamenu-wrapper{z-index:10020}
#header .navbar-toggle{border:1px solid #d7dee7!important;border-radius:6px!important;background:#fff!important;padding:9px 10px!important}
#header .navbar-toggle .icon-bar{background:#18364f!important}
#header #remove-megamenu{display:none;border:0;background:transparent;color:#18364f;font-size:22px;padding:12px;cursor:pointer}
#header .megamenu>li{position:relative}
#header .megamenu>li>a{display:block}
#header .megamenu>li>.sub-menu{display:none}
#header .megamenu>li:hover>.sub-menu,
#header .megamenu>li.kt-submenu-open>.sub-menu{display:block}
.footer-logo img{display:block!important;width:auto!important;height:65px!important;max-height:65px!important;max-width:170px!important;object-fit:contain!important}
#header .header-bonus{position:relative;z-index:2}
#header .header-top{position:relative;z-index:3}
#header .megamenu-wrapper .container{width:100%}

/* Match all enquiry forms to the homepage's clean card controls. */
.kt-booking-form,.kt-contact-form{width:100%}
.kt-booking-form .kt-form-grid,.kt-contact-form .kt-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.kt-booking-form .kt-field,.kt-contact-form .kt-field{min-width:0}
.kt-booking-form .kt-field label,.kt-contact-form .kt-field label{display:block;font-size:12px;font-weight:800;color:#34445a;margin:0 0 6px}
.kt-booking-form .kt-field input,.kt-booking-form .kt-field select,
.kt-contact-form .kt-field input,.kt-contact-form .kt-field select{
 width:100%;height:48px;min-height:48px;border:1px solid #dce3ec;border-radius:8px;
 padding:0 13px;background:#f9fbfd;color:#26364b;font-size:14px;box-shadow:none
}
.kt-booking-form .kt-field input:focus,.kt-booking-form .kt-field select:focus,
.kt-contact-form .kt-field input:focus,.kt-contact-form .kt-field select:focus{
 border-color:#c5a45a;box-shadow:0 0 0 3px rgba(197,164,90,.15);outline:0
}
.kt-booking-form .kt-trip-types,.kt-contact-form .kt-trip-options{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 18px!important
}
.kt-booking-form .kt-trip-types label,.kt-contact-form .kt-trip-options label{display:block!important;margin:0!important;cursor:pointer}
.kt-booking-form .kt-trip-types input,.kt-contact-form .kt-trip-options input{position:absolute;opacity:0;pointer-events:none}
.kt-booking-form .kt-trip-types span,.kt-contact-form .kt-trip-options span{
 display:flex!important;align-items:center;justify-content:center;min-height:42px;padding:7px 5px;
 border:1px solid #dce3ec;border-radius:8px;background:#f9fbfd;color:#34445a;font-size:12px;font-weight:750;white-space:nowrap
}
.kt-booking-form .kt-trip-types input:checked+span,.kt-contact-form .kt-trip-options input:checked+span{
 border-color:#8e2147;background:#f8edf1;color:#8e2147
}
.kt-booking-form .kt-submit-btn,.kt-contact-form .kt-send-btn{
 width:100%;min-height:51px;margin-top:18px;border:0;border-radius:9px;background:#8e2147;color:#fff;
 font-size:15px;font-weight:850;cursor:pointer
}
.kt-booking-form .kt-form-contact,.kt-contact-form .kt-form-contact,.kt-contact-form .kt-form-contact{
 display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px
}
.kt-booking-form .kt-form-contact a,.kt-contact-form .kt-form-contact a{
 display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;border-radius:9px;
 color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:850
}
.kt-booking-form .kt-form-contact .kt-wa,.kt-contact-form .kt-form-contact .kt-wa{background:linear-gradient(100deg,#138b55,#20a968)}
.kt-booking-form .kt-form-contact .kt-call,.kt-contact-form .kt-form-contact .kt-call{background:linear-gradient(100deg,#173b61,#28577f)}
.kt-booking-form .kt-form-note,.kt-contact-form .kt-form-disclaimer{font-size:11px;color:#8792a1;text-align:center;margin:12px 0 0}
.kt-contact-form .kt-send-btn{margin-top:18px}
.kt-contact-form .kt-trip-options{margin-bottom:18px!important}

/* Home-style enquiry form in the legacy enquiry landing page. */
.booking-form .kt-inline-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}
.booking-form .kt-inline-contact a{display:flex;align-items:center;justify-content:center;min-height:45px;border-radius:8px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800}
.booking-form .kt-inline-contact .wa{background:#15965b}
.booking-form .kt-inline-contact .call{background:#1d4569}

@media(max-width:991px){
 #header .header-top>.container>.row{justify-content:space-between}
 #header .header-logo{flex:0 0 auto;max-width:180px}
 #header .navbar-logo{min-height:66px}
 #header .navbar-logo img{height:62px!important;max-height:62px!important;max-width:175px!important}
 #header .book{margin-left:auto;margin-right:12px}
 #header .header-menu{flex:0 0 auto}
 #header .megamenu-wrapper{display:none;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(340px,88vw)!important;height:100dvh!important;overflow-y:auto!important;background:#fff!important;box-shadow:-15px 0 40px rgba(0,0,0,.2)!important;padding:55px 0 25px!important;z-index:10050!important}
 #header .megamenu-wrapper.kt-menu-open{display:block!important}
 #header #remove-megamenu{display:block!important;position:absolute;right:12px;top:8px;z-index:3}
 #header .megamenu-pattern,#header .megamenu-pattern>.container{width:100%!important;padding:0!important}
 #header ul.megamenu{display:block!important;margin:0!important;padding:0!important}
 #header ul.megamenu>li{display:block!important;float:none!important;width:100%!important;border-bottom:1px solid #edf0f3}
 #header ul.megamenu>li>a{display:block!important;padding:14px 20px!important;color:#17334c!important}
 #header ul.megamenu>li>.sub-menu{position:static!important;display:none;width:100%!important;min-width:0!important;box-shadow:none!important;border:0!important;border-top:1px solid #edf0f3!important;border-radius:0!important;background:#f7f8fa!important;padding:5px 0!important}
 #header ul.megamenu>li.kt-submenu-open>.sub-menu{display:block!important}
 #header ul.megamenu>li>.sub-menu li a{display:block;padding:11px 28px!important}
 #header .navbar-toggle{display:inline-block!important;float:none!important;margin:10px 0 10px 8px!important}
 #header .header-top{display:block!important}
}
@media(max-width:600px){
 #header .header-bonus .bonus-social{display:none}
 #header .header-bonus .container{display:flex;justify-content:center}
 #header .header-bonus .bonus-phone{float:none!important;margin:0;padding:6px 0}
 #header .header-bonus .bonus-phone li{font-size:11px}
 #header .header-logo{max-width:140px;padding-left:8px;padding-right:5px}
 #header .navbar-logo img{height:54px!important;max-height:54px!important;max-width:135px!important}
 #header .book a{padding:9px 10px!important;font-size:11px}
 #header .navbar-toggle{padding:7px 8px!important}
 .kt-booking-form .kt-form-grid,.kt-contact-form .kt-contact-fields{grid-template-columns:1fr}
 .kt-booking-form .kt-trip-types,.kt-contact-form .kt-trip-options{gap:5px!important}
 .kt-booking-form .kt-trip-types span,.kt-contact-form .kt-trip-options span{font-size:10px;padding:6px 2px}
 .kt-booking-form .kt-form-contact,.kt-contact-form .kt-form-contact,.booking-form .kt-inline-contact{grid-template-columns:1fr 1fr}
}

@media(min-width:992px){
 #header .megamenu-wrapper{display:block!important;position:relative!important;inset:auto!important;width:auto!important;height:auto!important;overflow:visible!important;padding:0!important;box-shadow:none!important;background:transparent!important}
 #header .navbar-toggle{display:none!important}
 #header ul.megamenu{display:flex!important;align-items:center;justify-content:flex-end;gap:2px}
 #header ul.megamenu>li{float:none!important;display:block!important}
 #header ul.megamenu>li>a{padding:13px 10px!important;white-space:nowrap}
 #header ul.megamenu>li>.sub-menu{position:absolute!important;top:100%!important;left:0!important;min-width:245px!important}
}

/* =====================================================
   MOBILE MENU LAYERING + SINGLE OPEN/CLOSE STATE
   Keep the dark backdrop behind the white menu panel.
   ===================================================== */
@media (max-width: 991px) {
  #header {
    position: relative !important;
    z-index: 2147483001 !important;
  }

  body.kt-menu-backdrop-open::after {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(9, 22, 37, .48) !important;
    z-index: 2147483000 !important;
    pointer-events: auto !important;
  }

  #header #show-megamenu {
    position: relative !important;
    z-index: 2147483002 !important;
  }

  #header #kt-main-menu.megamenu-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(300px, 85vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    background: #fff !important;
    z-index: 2147483003 !important;
    box-shadow: 8px 0 30px rgba(0,0,0,.18) !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateX(-105%) !important;
  }

  #header #kt-main-menu.megamenu-wrapper.kt-menu-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  #header #kt-main-menu a,
  #header #kt-main-menu button,
  #header #remove-megamenu {
    pointer-events: auto !important;
  }
}

@media (min-width: 992px) {
  body.kt-menu-backdrop-open::after { display: none !important; }
  #header #kt-main-menu.megamenu-wrapper {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}
