#aex-search-widget{font-family:inherit;color:#17212b;position:relative;z-index:30}
#aex-search-widget *{box-sizing:border-box}
#aex-search-widget button,#aex-search-widget input{font:inherit}
#aex-search-widget .aexw-bar{display:grid;grid-template-columns:1fr 32px 1fr .9fr .9fr 1fr 1fr 92px;align-items:end;background:#fff;border-radius:10px;padding:14px 0 0 14px;box-shadow:0 8px 30px rgba(6,35,67,.10);overflow:visible}
#aex-search-widget .aexw-f{position:relative;min-width:0;padding:0 8px 14px}
#aex-search-widget .aexw-f label{display:block;font-size:14px;font-weight:650;margin:0 0 6px}
#aex-search-widget .aexw-ctl{width:100%;height:43px;border:1px solid #d9e0e7;border-radius:8px;background:#fff;padding:0 11px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;white-space:nowrap;overflow:hidden;color:#111}
#aex-search-widget .aexw-ctl.ph{color:#929aa3}
#aex-search-widget .aexw-code{font-size:10px;color:#7f8fa2;margin-left:4px;font-weight:800}
#aex-search-widget .aexw-swap{height:43px;margin-bottom:14px;border:0;background:transparent;font-size:20px;cursor:pointer}
#aex-search-widget .aexw-trip{height:43px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #d9e0e7;border-radius:8px;overflow:hidden}
#aex-search-widget .aexw-trip button{border:0;background:#fff;cursor:pointer}.aexw-trip button.on{background:#ff7316!important;color:#fff!important}
#aex-search-widget .aexw-go{width:92px;min-height:98px;border:0;background:#ff7316;color:#fff;border-radius:0 8px 8px 0;cursor:pointer;font-weight:750;font-size:15px}
#aex-search-widget .aexw-pop,#aex-search-widget .aexw-mega,#aex-search-widget .aexw-cal{position:absolute;z-index:9999;top:calc(100% + 4px);background:#fff;border:1px solid #dce3e9;border-radius:11px;box-shadow:0 20px 50px rgba(7,34,65,.18);display:none}
#aex-search-widget .open{display:block!important}
#aex-search-widget .aexw-pop{left:8px;width:380px;max-width:90vw;overflow:hidden}
#aex-search-widget .aexw-search{padding:11px;border-bottom:1px solid #edf1f4}.aexw-search input{width:100%;height:42px;border:1px solid #dbe2e8;border-radius:8px;background:#f9fbfc;padding:0 11px;outline:none}
#aex-search-widget .aexw-list{max-height:320px;overflow:auto;padding:5px}.aexw-opt{width:100%;border:0;background:#fff;border-radius:8px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;text-align:left;color:#0d2b50}.aexw-opt:hover{background:#f4f7fa}.aexw-opt b{font-size:13px}.aexw-opt small{display:block;color:#8a98a8;margin-top:2px}
#aex-search-widget .aexw-mega{left:0;width:min(860px,calc(100vw - 20px));overflow:hidden}.aexw-direct{padding:13px 15px 7px}.aexw-kicker{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#78879a;margin-bottom:7px}.aexw-direct button{width:100%;border:1px solid #d8e8dc;background:#fbfefb;border-radius:10px;padding:11px 13px;display:flex;justify-content:space-between;cursor:pointer;color:#0d2b50;text-align:left}.aexw-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:9px 15px 14px}.aexw-col{padding:0 12px;border-left:1px solid #edf1f4}.aexw-col:first-child{border-left:0;padding-left:0}.aexw-col h4{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#78879a;margin:5px 4px}.aexw-dest{width:100%;border:0;background:#fff;border-radius:7px;padding:8px 4px;display:flex;justify-content:space-between;cursor:pointer;color:#0d2b50;text-align:left}.aexw-dest:hover{background:#f5f7fa}.aexw-dest{min-height:42px}.aexw-dest b{font-size:13px}.aexw-dest small{color:#8292a5;margin-left:5px}
#aex-search-widget .aexw-cal{left:0;width:min(640px,calc(100vw - 20px));overflow:hidden;background:#fff!important}.aexw-calgrid{display:grid;grid-template-columns:1fr 1fr}.aexw-month{background:#fff!important}.aexw-month+.aexw-month{border-left:1px solid #d4dce3}.aexw-mhead{height:50px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;border-bottom:1px solid #d4dce3;background:#fff!important}.aexw-mhead strong{text-align:center;color:#0d2b50;font-size:15px}.aexw-nav{all:unset!important;box-sizing:border-box!important;width:42px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#0d2b50!important;font-size:25px!important;line-height:1!important;cursor:pointer!important;border-radius:7px!important}.aexw-nav:hover{background:#f5f7fa!important}.aexw-week,.aexw-days{display:grid;grid-template-columns:repeat(7,1fr)}.aexw-week{padding:11px 7px 8px;border-bottom:1px solid #e7ebef}.aexw-week span{text-align:center;color:#b8bec5;font-size:10px}.aexw-days{padding:8px 9px 14px;row-gap:3px}.aexw-day{all:unset!important;box-sizing:border-box!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;color:#c1c8d0!important;font-size:12px!important;font-weight:500!important;text-align:center!important;user-select:none!important}.aexw-day.blank{visibility:hidden!important}.aexw-day.active{color:#263b55!important;cursor:pointer!important;font-weight:650!important}.aexw-day.active:hover:before{content:'';position:absolute;width:34px;height:34px;border-radius:50%;background:#f1f4f7;z-index:-1}.aexw-day.sel{color:#fff!important;font-weight:800!important;cursor:pointer!important}.aexw-day.sel:before{content:'';position:absolute;width:34px;height:34px;border-radius:50%;background:#ff7316;z-index:-1}.aexw-day.sel:hover:before{background:#ff7316}.aexw-cfoot{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;border-top:1px solid #dbe2e8;background:#fff!important}.aexw-cfoot span{font-size:10px;color:#7c8b9b}.aexw-done{all:unset!important;box-sizing:border-box!important;height:38px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#ff7316!important;color:#fff!important;border-radius:8px!important;cursor:pointer!important;font-size:13px!important;font-weight:750!important}
#aex-search-widget .aexw-pax{right:8px;left:auto;width:320px;padding:8px 13px}.aexw-prow{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f4}.aexw-step{display:flex;align-items:center;gap:9px}.aexw-step button{width:29px;height:29px;border:1px solid #d7dee5;border-radius:50%;background:#fff;cursor:pointer}.aexw-step span{width:18px;text-align:center}.aexw-err{display:none;margin-top:7px;padding:8px 10px;background:#fff1ef;border:1px solid #ffd1ca;color:#9d2b1b;border-radius:8px;font-size:12px}.aexw-err.show{display:block}
@media(max-width:760px){#aex-search-widget .aexw-bar{grid-template-columns:1fr;padding:10px}.aexw-f{padding:4px 0}.aexw-swap{transform:rotate(90deg);margin:0}.aexw-go{width:100%!important;min-height:50px!important;border-radius:8px!important;margin-top:6px}.aexw-mega,.aexw-cal{position:fixed!important;left:8px!important;right:8px!important;top:80px!important;width:auto!important;max-height:calc(100vh - 100px);overflow:auto}.aexw-grid{grid-template-columns:1fr}.aexw-col{border-left:0;border-top:1px solid #edf1f4;padding:8px 0}.aexw-calgrid{grid-template-columns:1fr}.aexw-month+.aexw-month{display:none}.aexw-pop{width:100%!important;left:0!important}}

/* === AEX v3: hard typography/button isolation from Elementor theme === */
#aex-search-widget{
  font-size:14px!important;
  line-height:1.25!important;
}
#aex-search-widget .aexw-f label{
  font-size:14px!important;
  line-height:18px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:#20262d!important;
}
#aex-search-widget .aexw-ctl{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:43px!important;
  padding:0 11px!important;
  border:1px solid #d9e0e7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#15191e!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
#aex-search-widget .aexw-ctl.ph{color:#8b949d!important}
#aex-search-widget .aexw-ctl > span:first-child{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1!important;
}
#aex-search-widget .aexw-ctl > span:last-child{
  flex:0 0 auto!important;
  font-size:13px!important;
  line-height:1!important;
  color:#111!important;
}
#aex-search-widget .aexw-code{
  font-size:10px!important;
  line-height:1!important;
  vertical-align:middle!important;
  margin-left:4px!important;
}
#aex-search-widget .aexw-trip{
  box-sizing:border-box!important;
  height:43px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  border:1px solid #d9e0e7!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#fff!important;
}
#aex-search-widget .aexw-trip button{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:41px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  background:#fff!important;
  color:#20262d!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
#aex-search-widget .aexw-trip button + button{
  border-left:1px solid #d9e0e7!important;
}
#aex-search-widget .aexw-trip button.on{
  background:#ff7316!important;
  color:#fff!important;
  font-weight:500!important;
}
#aex-search-widget .aexw-go{
  all:unset!important;
  box-sizing:border-box!important;
  width:92px!important;
  min-height:98px!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:#ff7316!important;
  color:#fff!important;
  border-radius:0 8px 8px 0!important;
  cursor:pointer!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-align:center!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
#aex-search-widget .aexw-swap{
  all:unset!important;
  box-sizing:border-box!important;
  height:43px!important;
  margin-bottom:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#111!important;
  font-size:20px!important;
  line-height:1!important;
  cursor:pointer!important;
}
#aex-search-widget .aexw-search input{
  font-size:13px!important;
  line-height:1!important;
}
#aex-search-widget .aexw-opt,
#aex-search-widget .aexw-dest,
#aex-search-widget .aexw-direct button{
  font-size:13px!important;
  line-height:1.2!important;
}
@media(max-width:760px){
  #aex-search-widget .aexw-go{
    width:100%!important;
    min-height:50px!important;
    flex-direction:row!important;
    border-radius:8px!important;
  }
}

/* === AEX v4 finishing adjustments === */
#aex-search-widget .aexw-go{
  height:calc(100% + 14px)!important;
  min-height:0!important;
  margin-top:-14px!important;
  align-self:stretch!important;
  border-radius:0 9px 9px 0!important;
}

/* === AEX v5: airport/destination dropdown isolation === */
#aex-search-widget .aexw-opt{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:9px 12px!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0d2b50!important;
  cursor:pointer!important;
  text-align:left!important;
  font-family:inherit!important;
  line-height:1.15!important;
}
#aex-search-widget .aexw-opt:hover{
  background:#f5f7fa!important;
}
#aex-search-widget .aexw-opt + .aexw-opt{
  margin-top:2px!important;
}
#aex-search-widget .aexw-opt > span:first-child{
  min-width:0!important;
  flex:1 1 auto!important;
}
#aex-search-widget .aexw-opt b{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#0d2b50!important;
  font-size:14px!important;
  line-height:17px!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
#aex-search-widget .aexw-opt small{
  display:block!important;
  margin-top:3px!important;
  color:#8593a3!important;
  font-size:11px!important;
  line-height:13px!important;
  font-weight:400!important;
}
#aex-search-widget .aexw-opt > strong{
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  color:#6f8094!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:750!important;
  letter-spacing:.02em!important;
}
#aex-search-widget .aexw-list{
  padding:6px!important;
  background:#fff!important;
}
#aex-search-widget .aexw-pop{
  background:#fff!important;
  border:1px solid #dfe5eb!important;
  border-radius:11px!important;
  overflow:hidden!important;
}
#aex-search-widget .aexw-search{
  padding:11px!important;
  background:#fff!important;
  border-bottom:1px solid #edf1f4!important;
}
#aex-search-widget .aexw-search input{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:42px!important;
  padding:0 12px!important;
  border:1px solid #dbe2e8!important;
  border-radius:8px!important;
  background:#f9fbfc!important;
  color:#17212b!important;
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1!important;
}
#aex-search-widget .aexw-search input::placeholder{
  color:#8c98a6!important;
  opacity:1!important;
}

/* Same protection for destination mega-menu buttons */
#aex-search-widget .aexw-dest{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:7px 6px!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#0d2b50!important;
  cursor:pointer!important;
  font-family:inherit!important;
  text-align:left!important;
}
#aex-search-widget .aexw-dest:hover{
  background:#f5f7fa!important;
}
#aex-search-widget .aexw-dest b{
  color:#0d2b50!important;
  font-size:13px!important;
  line-height:16px!important;
  font-weight:650!important;
}
#aex-search-widget .aexw-dest small{
  color:#8292a5!important;
  font-size:10px!important;
  line-height:1!important;
  margin-left:5px!important;
}
#aex-search-widget .aexw-direct button{
  all:unset!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px 13px!important;
  border:1px solid #d8e8dc!important;
  border-radius:10px!important;
  background:#fbfefb!important;
  color:#0d2b50!important;
  cursor:pointer!important;
  font-family:inherit!important;
  text-align:left!important;
}
#aex-search-widget .aexw-direct button:hover{
  background:#f5fbf6!important;
}


/* === AEX v6: intuitive return-date flow === */
#aex-search-widget .aexw-calflow{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  color:#718096!important;
  font-size:11px!important;
  line-height:1.2!important;
}
#aex-search-widget .aexw-calflow-step{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  white-space:nowrap!important;
}
#aex-search-widget .aexw-calflow-step strong{
  color:#0d2b50!important;
  font-size:11px!important;
  font-weight:750!important;
}
#aex-search-widget .aexw-calflow-step.current strong{
  color:#ff7316!important;
}
#aex-search-widget .aexw-calflow-arrow{
  color:#a2adba!important;
  font-size:12px!important;
}
#aex-search-widget .aexw-day.outbound-picked{
  position:relative!important;
  color:#fff!important;
  background:#0d2b50!important;
  font-weight:800!important;
}
#aex-search-widget .aexw-day.return-picked{
  color:#fff!important;
  background:#ff7316!important;
  font-weight:800!important;
}
#aex-search-widget .aexw-day.in-trip-range{
  background:#fff1e8!important;
  color:#0d2b50!important;
  border-radius:7px!important;
}
#aex-search-widget .aexw-day.outbound-picked::after{
  content:'Ud'!important;
  position:absolute!important;
  left:50%!important;
  bottom:2px!important;
  transform:translateX(-50%)!important;
  font-size:7px!important;
  line-height:1!important;
  color:rgba(255,255,255,.78)!important;
  font-weight:700!important;
}
#aex-search-widget .aexw-day.return-picked::after{
  content:'Hjem'!important;
  position:absolute!important;
  left:50%!important;
  bottom:2px!important;
  transform:translateX(-50%)!important;
  font-size:7px!important;
  line-height:1!important;
  color:rgba(255,255,255,.86)!important;
  font-weight:700!important;
}
#aex-search-widget .aexw-cfoot{
  min-height:58px!important;
}


/* === AEX v10: richer destination mega-menu === */
#aex-search-widget .aexw-mega{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;
  border:1px solid #d8e2ec!important;
  border-radius:16px!important;
  box-shadow:0 22px 60px rgba(8,35,67,.22)!important;
  overflow:hidden!important;
}
#aex-search-widget .aexw-search{
  padding:14px 16px!important;
  background:linear-gradient(180deg,#f8fbfe 0%,#ffffff 100%)!important;
  border-bottom:1px solid #edf2f6!important;
}
#aex-search-widget .aexw-search input{
  background:#fff!important;
  border:1px solid #d9e3ec!important;
  box-shadow:0 1px 2px rgba(8,35,67,.03)!important;
}
#aex-search-widget .aexw-direct{
  padding:14px 16px 8px!important;
  background:#fff!important;
  border-bottom:1px solid #f1f4f7!important;
}
#aex-search-widget .aexw-kicker{
  display:inline-block!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#eef4fb!important;
  color:#0d2b50!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  margin-bottom:10px!important;
}
#aex-search-widget .aexw-direct button{
  border:1px solid #d7e8db!important;
  background:linear-gradient(180deg,#fcfffc 0%,#f7fbf8 100%)!important;
  box-shadow:0 4px 14px rgba(15,80,36,.05)!important;
}
#aex-search-widget .aexw-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  padding:14px 16px 16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%)!important;
}
#aex-search-widget .aexw-col{
  border:1px solid #e5ebf1!important;
  border-radius:14px!important;
  background:#ffffff!important;
  padding:12px 12px 10px!important;
  box-shadow:0 8px 20px rgba(8,35,67,.05)!important;
}
#aex-search-widget .aexw-col:first-child{
  padding-left:12px!important;
}
#aex-search-widget .aexw-col h4{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 10px 0!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#f1f5f9!important;
  color:#0d2b50!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}
#aex-search-widget .aexw-dest{
  min-height:40px!important;
  padding:9px 8px!important;
  border-radius:9px!important;
  border:1px solid transparent!important;
}
#aex-search-widget .aexw-dest:hover{
  background:#f6f9fc!important;
  border-color:#e5edf5!important;
}
#aex-search-widget .aexw-dest b{
  font-size:13px!important;
  font-weight:650!important;
}
#aex-search-widget .aexw-dest small{
  color:#7f90a4!important;
}
#aex-search-widget .aexw-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:12px 16px!important;
  background:#f7fafc!important;
  border-top:1px solid #eaf0f5!important;
  color:#7f8da0!important;
  font-size:11px!important;
}
#aex-search-widget .aexw-footer strong{
  color:#0d2b50!important;
  font-weight:700!important;
}
@media(max-width:760px){
  #aex-search-widget .aexw-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  #aex-search-widget .aexw-col{
    padding:10px!important;
  }
}


/* === AEX v14: 2027 mobile experience === */
@media (max-width:760px){
  #aex-search-widget{
    width:100%!important;
    font-size:14px!important;
    isolation:isolate!important;
  }

  /* Main search card */
  #aex-search-widget .aexw-bar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:stretch!important;
    padding:12px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid rgba(216,226,236,.95)!important;
    border-radius:20px!important;
    box-shadow:0 18px 50px rgba(7,34,65,.18)!important;
    overflow:visible!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  #aex-search-widget .aexw-f{
    min-width:0!important;
    padding:0!important;
  }
  #aex-search-widget .aexw-f label{
    margin:0 0 5px 2px!important;
    color:#63758a!important;
    font-size:10px!important;
    line-height:13px!important;
    font-weight:800!important;
    letter-spacing:.07em!important;
    text-transform:uppercase!important;
  }

  /* Route fields are full-width and read as one journey block */
  #aex-search-widget #ow,
  #aex-search-widget #dw{
    grid-column:1 / -1!important;
  }
  #aex-search-widget #ow{
    padding-bottom:0!important;
  }
  #aex-search-widget #dw{
    margin-top:-2px!important;
  }
  #aex-search-widget #ow .aexw-ctl,
  #aex-search-widget #dw .aexw-ctl{
    height:54px!important;
    padding:0 14px!important;
    border-color:#dbe4ec!important;
    border-radius:13px!important;
    background:#f8fafc!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)!important;
    font-size:15px!important;
    font-weight:650!important;
  }
  #aex-search-widget #ow .aexw-ctl > span:first-child,
  #aex-search-widget #dw .aexw-ctl > span:first-child{
    font-size:15px!important;
    font-weight:650!important;
  }

  /* Floating route swap button */
  #aex-search-widget .aexw-swap{
    position:absolute!important;
    z-index:4!important;
    right:25px!important;
    top:79px!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
    transform:rotate(90deg)!important;
    border:1px solid #dde6ee!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#0d2b50!important;
    box-shadow:0 6px 18px rgba(7,34,65,.12)!important;
    font-size:17px!important;
  }

  /* Dates side-by-side */
  #aex-search-widget #fw,
  #aex-search-widget #rw{
    grid-column:auto!important;
    margin-top:3px!important;
  }
  #aex-search-widget #fw .aexw-ctl,
  #aex-search-widget #rw .aexw-ctl{
    height:54px!important;
    padding:0 12px!important;
    border-radius:13px!important;
    border-color:#dbe4ec!important;
    background:#fff!important;
    font-size:13px!important;
  }
  #aex-search-widget #fw .aexw-ctl > span:first-child,
  #aex-search-widget #rw .aexw-ctl > span:first-child{
    font-size:13px!important;
    font-weight:650!important;
  }

  /* Trip type + passengers */
  #aex-search-widget .aexw-trip{
    height:54px!important;
    border-radius:13px!important;
    border-color:#dbe4ec!important;
    background:#f4f7fa!important;
    padding:4px!important;
    gap:3px!important;
  }
  #aex-search-widget .aexw-trip button{
    height:44px!important;
    border:0!important;
    border-radius:10px!important;
    font-size:13px!important;
    font-weight:650!important;
  }
  #aex-search-widget .aexw-trip button + button{
    border-left:0!important;
  }
  #aex-search-widget .aexw-trip button.on{
    box-shadow:0 4px 12px rgba(255,115,22,.22)!important;
  }
  #aex-search-widget #pw .aexw-ctl{
    height:54px!important;
    border-radius:13px!important;
    border-color:#dbe4ec!important;
    background:#fff!important;
  }

  /* Primary CTA */
  #aex-search-widget .aexw-go{
    grid-column:1 / -1!important;
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    margin:2px 0 0!important;
    border-radius:14px!important;
    flex-direction:row!important;
    gap:8px!important;
    background:linear-gradient(135deg,#ff7a1a 0%,#ff6610 100%)!important;
    box-shadow:0 10px 24px rgba(255,102,16,.28)!important;
    font-size:15px!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
  }

  /* Dim the page when a mobile picker is open */
  #aex-search-widget:has(.aexw-pop.open)::before,
  #aex-search-widget:has(.aexw-mega.open)::before,
  #aex-search-widget:has(.aexw-cal.open)::before{
    content:''!important;
    position:fixed!important;
    inset:0!important;
    z-index:9997!important;
    background:rgba(5,24,46,.42)!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important;
  }

  /* All pickers become modern bottom sheets */
  #aex-search-widget .aexw-pop,
  #aex-search-widget .aexw-mega,
  #aex-search-widget .aexw-cal{
    position:fixed!important;
    z-index:9998!important;
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    max-height:min(86dvh,760px)!important;
    margin:0!important;
    border:0!important;
    border-radius:24px 24px 0 0!important;
    background:#fff!important;
    box-shadow:0 -24px 60px rgba(4,27,53,.24)!important;
    overflow:auto!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
  #aex-search-widget .aexw-pop.open,
  #aex-search-widget .aexw-mega.open,
  #aex-search-widget .aexw-cal.open{
    animation:aexwSheetIn .22s cubic-bezier(.2,.8,.2,1) both!important;
  }
  @keyframes aexwSheetIn{
    from{transform:translateY(18px);opacity:.6}
    to{transform:translateY(0);opacity:1}
  }

  /* Search bar in sheets */
  #aex-search-widget .aexw-search{
    position:sticky!important;
    top:0!important;
    z-index:5!important;
    padding:16px 16px 12px!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid #edf2f6!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
  }
  #aex-search-widget .aexw-search:before{
    content:''!important;
    display:block!important;
    width:38px!important;
    height:4px!important;
    margin:-7px auto 12px!important;
    border-radius:99px!important;
    background:#d7dee6!important;
  }
  #aex-search-widget .aexw-search input{
    height:48px!important;
    border-radius:12px!important;
    font-size:16px!important;
    background:#f6f8fa!important;
  }

  /* Origin airport list */
  #aex-search-widget .aexw-list{
    max-height:none!important;
    padding:8px 12px 18px!important;
  }
  #aex-search-widget .aexw-opt{
    min-height:58px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
  }
  #aex-search-widget .aexw-opt b{
    font-size:15px!important;
  }

  /* Destination sheet: direct first + swipeable inspiration cards */
  #aex-search-widget .aexw-mega{
    overflow-x:hidden!important;
  }
  #aex-search-widget .aexw-direct{
    padding:14px 16px 12px!important;
  }
  #aex-search-widget .aexw-direct button{
    min-height:60px!important;
    padding:12px 14px!important;
    border-radius:14px!important;
  }
  #aex-search-widget .aexw-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:12px!important;
    padding:6px 16px 18px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    background:#f7fafc!important;
  }
  #aex-search-widget .aexw-grid::-webkit-scrollbar{display:none!important}
  #aex-search-widget .aexw-col{
    flex:0 0 min(82vw,330px)!important;
    scroll-snap-align:start!important;
    padding:13px!important;
    border:1px solid #e2e9f0!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(8,35,67,.07)!important;
  }
  #aex-search-widget .aexw-col h4{
    margin:0 0 8px!important;
    padding:6px 9px!important;
    font-size:10px!important;
  }
  #aex-search-widget .aexw-dest{
    min-height:44px!important;
    padding:9px 8px!important;
  }
  #aex-search-widget .aexw-footer{
    padding:12px 16px 16px!important;
    font-size:10px!important;
  }
  #aex-search-widget .aexw-footer span:first-child{
    display:none!important;
  }
  #aex-search-widget .aexw-footer span:last-child{
    width:100%!important;
    text-align:center!important;
  }

  /* Calendar bottom sheet */
  #aex-search-widget .aexw-cal{
    overflow:hidden!important;
  }
  #aex-search-widget .aexw-calgrid{
    display:block!important;
    background:#fff!important;
  }
  #aex-search-widget .aexw-month+.aexw-month{
    display:none!important;
  }
  #aex-search-widget .aexw-mhead{
    height:58px!important;
    grid-template-columns:48px 1fr 48px!important;
    padding-top:6px!important;
  }
  #aex-search-widget .aexw-mhead:before{
    content:''!important;
    position:absolute!important;
    top:8px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:38px!important;
    height:4px!important;
    border-radius:99px!important;
    background:#d7dee6!important;
  }
  #aex-search-widget .aexw-mhead strong{
    font-size:16px!important;
  }
  #aex-search-widget .aexw-week{
    padding:12px 12px 8px!important;
  }
  #aex-search-widget .aexw-days{
    padding:8px 12px 14px!important;
    row-gap:5px!important;
  }
  #aex-search-widget .aexw-day{
    height:44px!important;
    font-size:13px!important;
  }
  #aex-search-widget .aexw-cfoot{
    position:sticky!important;
    bottom:0!important;
    z-index:5!important;
    min-height:72px!important;
    gap:10px!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 -8px 24px rgba(7,34,65,.07)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
  }
  #aex-search-widget .aexw-calflow{
    flex:1 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  #aex-search-widget .aexw-calflow-step{
    min-width:0!important;
  }
  #aex-search-widget .aexw-calflow-step span{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #aex-search-widget .aexw-done{
    flex:0 0 auto!important;
    height:44px!important;
    padding:0 16px!important;
    border-radius:12px!important;
  }

  /* Passenger picker */
  #aex-search-widget .aexw-pax{
    width:100%!important;
    padding:20px 18px calc(20px + env(safe-area-inset-bottom))!important;
  }
  #aex-search-widget .aexw-pax:before{
    content:''!important;
    display:block!important;
    width:38px!important;
    height:4px!important;
    margin:-10px auto 13px!important;
    border-radius:99px!important;
    background:#d7dee6!important;
  }
  #aex-search-widget .aexw-prow{
    min-height:66px!important;
    padding:10px 2px!important;
  }
  #aex-search-widget .aexw-prow b{
    color:#0d2b50!important;
    font-size:15px!important;
  }
  #aex-search-widget .aexw-step{
    gap:12px!important;
  }
  #aex-search-widget .aexw-step button{
    all:unset!important;
    box-sizing:border-box!important;
    width:38px!important;
    height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #d8e1e9!important;
    border-radius:50%!important;
    background:#f8fafc!important;
    color:#0d2b50!important;
    cursor:pointer!important;
    font-size:20px!important;
    font-weight:500!important;
  }

  #aex-search-widget .aexw-err{
    margin:10px 0 0!important;
    border-radius:12px!important;
  }
}

@media (max-width:390px){
  #aex-search-widget .aexw-bar{
    padding:10px!important;
    gap:8px!important;
    border-radius:18px!important;
  }
  #aex-search-widget .aexw-f label{
    font-size:9px!important;
  }
  #aex-search-widget #fw .aexw-ctl,
  #aex-search-widget #rw .aexw-ctl,
  #aex-search-widget .aexw-trip,
  #aex-search-widget #pw .aexw-ctl{
    height:52px!important;
  }
}


/* === AEX v15: mobile sharp rendering fix === */
@media (max-width:760px){

  /* Backdrop-filter on an ancestor can put fixed sheets into a composited
     layer and make their text look soft/blurry on iOS/Chrome mobile. */
  #aex-search-widget .aexw-bar{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Keep the dimmed background, but NEVER blur through the open sheet. */
  #aex-search-widget:has(.aexw-pop.open)::before,
  #aex-search-widget:has(.aexw-mega.open)::before,
  #aex-search-widget:has(.aexw-cal.open)::before{
    background:rgba(5,24,46,.46)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Force picker contents into their own crisp paint layer. */
  #aex-search-widget .aexw-pop,
  #aex-search-widget .aexw-mega,
  #aex-search-widget .aexw-cal{
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:translateZ(0)!important;
    -webkit-font-smoothing:antialiased!important;
    text-rendering:optimizeLegibility!important;
  }

  #aex-search-widget .aexw-pop *,
  #aex-search-widget .aexw-mega *,
  #aex-search-widget .aexw-cal *{
    filter:none!important;
  }

  /* Sticky headers/footers should also stay opaque instead of blurred. */
  #aex-search-widget .aexw-search,
  #aex-search-widget .aexw-cfoot{
    background:#fff!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}


/* === AEX v16: mobile destination sections stacked vertically === */
@media (max-width:760px){
  #aex-search-widget .aexw-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:8px 16px 18px!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    scroll-snap-type:none!important;
    background:#f7fafc!important;
  }
  #aex-search-widget .aexw-col{
    flex:none!important;
    width:100%!important;
    max-width:none!important;
    scroll-snap-align:none!important;
  }
  #aex-search-widget .aexw-footer{
    position:sticky!important;
    bottom:0!important;
    z-index:4!important;
    background:#fff!important;
  }
}


/* === AEX v17: fixed-height mobile destination sheet === */
@media (max-width:760px){
  /* Destination picker keeps the same visual height whether there are
     1, 10 or 100 search results. */
  #aex-search-widget .aexw-mega{
    height:78dvh!important;
    min-height:78dvh!important;
    max-height:78dvh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  #aex-search-widget .aexw-mega .aexw-search{
    flex:0 0 auto!important;
  }

  #aex-search-widget .aexw-mega .aexw-direct{
    flex:0 0 auto!important;
  }

  /* The result/inspiration area consumes the remaining space and scrolls. */
  #aex-search-widget .aexw-mega .aexw-grid{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    align-content:start!important;
  }

  #aex-search-widget .aexw-mega .aexw-footer{
    position:static!important;
    flex:0 0 auto!important;
    margin-top:auto!important;
  }
}

@media (max-width:390px){
  #aex-search-widget .aexw-mega{
    height:80dvh!important;
    min-height:80dvh!important;
    max-height:80dvh!important;
  }
}


/* === AEX v18: fix destination sheet open/closed state === */
@media (max-width:760px){
  /* v17 accidentally forced the destination sheet to display:flex even while closed.
     Keep it completely hidden until JS adds .open. */
  #aex-search-widget .aexw-mega:not(.open){
    display:none!important;
  }

  #aex-search-widget .aexw-mega.open{
    display:flex!important;
    flex-direction:column!important;
    height:78dvh!important;
    min-height:78dvh!important;
    max-height:78dvh!important;
  }

  #aex-search-widget .aexw-mega.open .aexw-search{
    display:block!important;
    flex:0 0 auto!important;
  }

  #aex-search-widget .aexw-mega.open .aexw-direct{
    display:block!important;
    flex:0 0 auto!important;
  }

  #aex-search-widget .aexw-mega.open .aexw-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    align-content:start!important;
  }

  #aex-search-widget .aexw-mega.open .aexw-footer{
    display:flex!important;
    position:static!important;
    flex:0 0 auto!important;
    margin-top:auto!important;
  }
}

@media (max-width:390px){
  #aex-search-widget .aexw-mega.open{
    height:80dvh!important;
    min-height:80dvh!important;
    max-height:80dvh!important;
  }
}


/* === AEX v19: mobile interaction fixes === */
#aex-search-widget .aexw-mobile-next{
  display:none!important;
}

@media (max-width:760px){
  /* On mobile only one month is visible, so the visible month needs both arrows. */
  #aex-search-widget .aexw-mobile-next{
    display:flex!important;
  }

  /* Keep the active search UI above floating chat/help widgets. */
  #aex-search-widget{
    position:relative!important;
  }
  #aex-search-widget:has(.aexw-pop.open),
  #aex-search-widget:has(.aexw-mega.open),
  #aex-search-widget:has(.aexw-cal.open){
    z-index:2147483646!important;
  }
  #aex-search-widget .aexw-pop.open,
  #aex-search-widget .aexw-mega.open,
  #aex-search-widget .aexw-cal.open{
    z-index:2147483647!important;
  }
  #aex-search-widget .aexw-cfoot,
  #aex-search-widget .aexw-done{
    z-index:2147483647!important;
  }

  /* Main CTA should stay clickable even with third-party floating widgets nearby. */
  #aex-search-widget .aexw-go{
    position:relative!important;
    z-index:2147483645!important;
    pointer-events:auto!important;
  }
}


/* === AEX v20: performance + interaction polish === */
#aex-search-widget .aexw-prow small{display:block!important;margin-top:3px!important;color:#8795a5!important;font-size:10px!important;line-height:1.2!important;font-weight:500!important}
#aex-search-widget .aexw-backdrop{display:none!important}
@media(max-width:760px){
  #aex-search-widget:has(.aexw-pop.open)::before,#aex-search-widget:has(.aexw-mega.open)::before,#aex-search-widget:has(.aexw-cal.open)::before{display:none!important}
  #aex-search-widget .aexw-backdrop.show{display:block!important;position:fixed!important;inset:0!important;z-index:2147483645!important;background:rgba(5,24,46,.46)!important}
  #aex-search-widget .aexw-pop.open,#aex-search-widget .aexw-mega.open,#aex-search-widget .aexw-cal.open{z-index:2147483647!important}
  #aex-search-widget .aexw-prow small{font-size:11px!important}
}


/* === AEX v21: partner network + airlines === */
#aex-search-widget .aexw-airlines{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;flex:0 0 auto!important}
#aex-search-widget .aexw-airline-mini{width:13px!important;height:10px!important;border:0!important;border-radius:0!important;background:transparent!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;box-shadow:none!important;flex:0 0 13px!important;padding:0!important}
#aex-search-widget .aexw-airline-mini img{display:block!important;max-width:13px!important;max-height:9px!important;width:auto!important;height:auto!important}
#aex-search-widget .aexw-airline-code{font-size:8px!important;font-weight:800!important;color:#52647a!important;line-height:1!important}
#aex-search-widget .aexw-dest-main{min-width:0!important;display:flex!important;align-items:baseline!important;gap:5px!important}
#aex-search-widget .aexw-dest-main b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#aex-search-widget .aexw-dest-side{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;min-height:18px!important}
#aex-search-widget .aexw-partner-note{display:flex!important;align-items:center!important;gap:7px!important;color:#7d8a9a!important;font-size:10px!important;margin-top:3px!important}
#aex-search-widget .aexw-cal-airlines{position:absolute!important;left:50%!important;bottom:2px!important;transform:translateX(-50%)!important;display:flex!important;gap:1px!important;pointer-events:none!important}
#aex-search-widget .aexw-cal-dot{width:4px!important;height:4px!important;border-radius:50%!important;background:#ff7316!important;box-shadow:0 0 0 1px #fff!important}
#aex-search-widget .aexw-cal-legend{display:inline-flex!important;align-items:center!important;gap:5px!important;margin-left:7px!important}
#aex-search-widget .aexw-cal-legend .aexw-airline-mini{width:15px!important;height:10px!important;flex-basis:15px!important}
#aex-search-widget .aexw-cal-legend .aexw-airline-mini img{max-width:15px!important;max-height:10px!important}
@media(max-width:760px){
 #aex-search-widget .aexw-airlines{display:flex!important;flex-wrap:nowrap!important;gap:2px!important}
 #aex-search-widget .aexw-airline-mini{width:14px!important;height:10px!important;flex-basis:14px!important}
 #aex-search-widget .aexw-airline-mini img{max-width:14px!important;max-height:10px!important}
 #aex-search-widget .aexw-dest{min-height:49px!important}
 #aex-search-widget .aexw-partner-note{font-size:9px!important}
}


/* === AEX v31: compact single-line carrier logos + subtle destination cards === */
#aex-search-widget .aexw-dest{
  border:1px solid #edf1f5!important;
  background:#fff!important;
  border-radius:8px!important;
  padding:7px 9px!important;
  margin:3px 0!important;
  min-height:36px!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
#aex-search-widget .aexw-dest:hover{
  background:#f9fbfd!important;
  border-color:#dfe6ee!important;
  box-shadow:0 1px 4px rgba(13,43,80,.04)!important;
}
#aex-search-widget .aexw-dest-main{
  gap:5px!important;
  padding-right:8px!important;
}
#aex-search-widget .aexw-dest-main b{
  font-size:12px!important;
  line-height:1.15!important;
}
#aex-search-widget .aexw-dest-main small{
  font-size:9px!important;
  line-height:1!important;
}
#aex-search-widget .aexw-airlines{
  gap:2px!important;
  white-space:nowrap!important;
}
#aex-search-widget .aexw-airline-mini{
  width:13px!important;
  height:9px!important;
  flex-basis:13px!important;
}
#aex-search-widget .aexw-airline-mini img{
  max-width:13px!important;
  max-height:9px!important;
}
@media(max-width:760px){
  #aex-search-widget .aexw-dest{
    min-height:40px!important;
    padding:8px 9px!important;
  }
  #aex-search-widget .aexw-airline-mini{
    width:12px!important;
    height:9px!important;
    flex-basis:12px!important;
  }
  #aex-search-widget .aexw-airline-mini img{
    max-width:12px!important;
    max-height:9px!important;
  }
}
