/* Reserve the finished search card while the parser reaches its initializer. */
body.g4-home #flight_form:not(.compact-ready),body.g4-home #hotel_search:not(.service-ready),body.g4-home #transfer_form:not(.service-ready),body.g4-home form[name="car"]:not(.service-ready),body.g4-home #activity_search:not(.service-ready),body.g4-home #holiday_search:not(.service-ready){visibility:hidden!important;height:128px!important;min-height:128px!important;overflow:hidden!important}

body.g4-home .hero-search-form-card:has(.compact-flight){padding:0!important;background:transparent!important;box-shadow:none!important}
body.g4-home #flight_form.compact-ready .flight_filters_row_Sec{display:none!important}
body.g4-home #flight_form .compact-flight{border:1px solid #d5e1ef;border-radius:18px;background:rgba(255,255,255,.96);color:#10213e;position:relative;overflow:visible;font-size:14px}
body.g4-home #flight_form .compact-head{height:44px;border-bottom:1px solid #d5e1ef;display:flex;align-items:center;justify-content:space-between;padding:0 17px}
.compact-meta{color:#536a87;font-size:12px}.compact-body{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1.05fr 150px}
body.g4-home #flight_form .compact-cell{min-width:0;position:relative;display:flex;align-items:center;gap:12px;padding:16px;border-right:1px solid #d5e1ef;height:74px;cursor:pointer}
.compact-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:12px;color:#0067ff;background:#deefff;font-size:18px}
.compact-content{min-width:0;flex:1}.compact-label{display:block;color:#536a87;font-size:12px;font-weight:400;margin-bottom:3px}
body.g4-home #flight_form .compact-cell input.normalinput{width:100%!important;height:22px!important;min-height:0!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;color:#10213e!important;font-size:14px!important;font-weight:600!important;text-overflow:ellipsis}
body.g4-home #flight_form .compact-cell input::placeholder{color:#10213e!important;opacity:1}
body.g4-home #flight_form .compact-swap{position:absolute;right:-18px;top:19px;z-index:4;border:3px solid white;border-radius:50%;background:#ffd51a;color:#10213e;width:36px;height:36px;box-shadow:0 2px 10px #ffd51a66;font-size:20px;cursor:pointer}
body.g4-home #flight_form .compact-search{padding:12px;display:flex;align-items:center}
body.g4-home #flight_form .compact-search button{background:#ffd51a!important;color:#10213e!important;border:0!important;border-radius:13px!important;height:48px!important;width:100%!important;min-width:0!important;padding:0 12px!important;box-shadow:none!important;font-size:14px!important;display:flex!important;gap:9px;align-items:center;justify-content:center}
.compact-dates{display:flex;gap:3px;align-items:center}.compact-dates input{min-width:0}.compact-date-return{display:none}.compact-flight.is-round .compact-date-return{display:block}.compact-flight.is-round .compact-dates input{width:50%!important}
.compact-pax-summary{font-weight:600;white-space:nowrap;font-size:14px}
body.g4-home #flight_form .compact-travellers{position:absolute;right:150px;top:calc(100% + 8px);width:360px;padding:20px;border-radius:18px;background:white;box-shadow:0 20px 40px #10213e33;z-index:1002;display:none;color:#10213e}
.compact-travellers h3{font-size:16px;margin:4px 0 15px;font-weight:700}.compact-person{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7edf5;padding:15px 0;gap:10px}.compact-person strong{font-size:14px}.compact-person small{display:block;color:#71839d;font-size:12px;margin-top:5px}.compact-counter{display:flex;align-items:center;gap:14px}.compact-counter button{width:32px;height:32px;border:1px solid #10213e;border-radius:50%;background:white;color:#10213e;font-size:20px;padding:0}.compact-counter button:disabled{border-color:#ccd9e9;color:#ccd9e9;cursor:default}.compact-counter output{font-size:16px;width:15px;text-align:center}.compact-cabin{display:block;border:1px solid #c5d5ea;border-radius:11px;margin-top:20px;padding:0 12px 8px}.compact-cabin span{font-size:11px;color:#536a87;position:relative;top:-8px;background:white;padding:0 4px}.compact-cabin select{border:0;background:white;width:100%;font-size:14px;color:#10213e;outline:none;font-weight:600;height:24px}.compact-footer{display:flex;justify-content:flex-end;padding-top:18px}.compact-done{background:#006cf0;border:0;border-radius:24px;color:white;padding:12px 23px;font-weight:700;box-shadow:0 4px 10px #006cf033}.compact-seat-note{font-size:11px;color:#71839d;margin-top:5px;max-width:180px}
@media(max-width:991px){.compact-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.compact-body .compact-cell{border-bottom:1px solid #d5e1ef}.compact-body .compact-search{grid-column:1/-1}body.g4-home #flight_form .compact-travellers{right:12px;width:min(360px,calc(100vw - 32px))}.compact-meta{font-size:10px}.compact-pax-summary{font-size:12px}.compact-body .compact-cell{padding:12px;gap:8px}.compact-icon{width:30px;height:34px}}

body.g4-home #flight_form#flight_form #onw_rndw_fieldset{display:none!important}
body.g4-home .hero-search-form-card:has(.compact-flight),body.g4-home #flight_form#flight_form{padding:0!important;min-height:0!important}
body.g4-home #flight_form#flight_form .compact-search #flight-form-submit{background:#ffd51a!important;background-image:none!important;color:#10213e!important;height:48px!important;border-radius:13px!important;box-shadow:none!important;font-weight:500!important}
body.g4-home #flight_form#flight_form .compact-cell input.normalinput{font-size:14px!important;color:#10213e!important;font-weight:600!important;padding:0!important;height:22px!important;line-height:22px!important}
body.g4-home #flight_form#flight_form .compact-icon i{font-size:18px!important;color:#0067ff!important;display:inline-block!important;position:static!important}
body.g4-home #flight_form#flight_form .compact-body .compact-cell{padding:16px!important}
body.g4-home #flight_form#flight_form .compact-travellers{max-height:calc(100vh - 25px);overflow-y:auto}
body.g4-home #flight_form#flight_form .compact-footer .compact-done{background:#006cf0!important;color:white!important;border:0!important;border-radius:24px!important;padding:12px 23px!important}

body.g4-home .hero-search-form-card:has(#flight_form.compact-ready)>.custmtab{padding:0!important;background:transparent!important}
body.g4-home #flight_form#flight_form .compact-dates{position:relative;height:22px}
body.g4-home #flight_form#flight_form .compact-dates input{position:absolute!important;left:0;top:0;opacity:0!important;width:100%!important;height:26px!important;z-index:2;cursor:pointer}
body.g4-home #flight_form#flight_form .is-round .compact-dates input{width:50%!important}
body.g4-home #flight_form#flight_form .compact-dates #flight_datepicker2{left:50%}
.compact-date-summary{font-weight:600;white-space:nowrap;font-size:14px;color:#10213e}

body.g4-home #flight_form#flight_form .compact-trip-radios{display:flex;align-items:center;gap:24px}
body.g4-home #flight_form#flight_form .compact-trip-radios label{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;cursor:pointer;white-space:nowrap;font-size:14px;font-weight:600;color:#536866}
body.g4-home #flight_form#flight_form .compact-trip-radios input{appearance:none;-webkit-appearance:none;display:inline-block!important;position:static!important;opacity:1!important;width:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;flex:0 0 18px;border:2px solid #9bb3ad!important;border-radius:50%!important;background:white!important;box-shadow:none!important;cursor:pointer}
body.g4-home #flight_form#flight_form .compact-trip-radios input:checked{border-color:#00a66b!important;background:radial-gradient(circle,#00a66b 0 4px,white 4.5px)!important}
body.g4-home #flight_form#flight_form .compact-trip-radios input:checked+span{color:#173d35}
body.g4-home #flight_form#flight_form .compact-trip-radios input:focus-visible{outline:2px solid #0075ec;outline-offset:3px}
@media(max-width:575px){body.g4-home #flight_form#flight_form .compact-head{padding:0 10px}body.g4-home #flight_form#flight_form .compact-trip-radios{gap:15px}body.g4-home #flight_form#flight_form .compact-trip-radios label{font-size:12px;gap:6px}body.g4-home #flight_form#flight_form .compact-meta{display:none}}


body.g4-home .hero-search-form-card:has(.service-compact),body.g4-home .hero-search-form-card:has(.service-compact)>.custmtab{padding:0!important;background:transparent!important}
body.g4-home form.service-ready>.service-original{display:none!important}
body.g4-home form.service-ready .service-compact{background:rgba(255,255,255,.97);border:1px solid #d5e1ef;border-radius:18px;position:relative;color:#10213e}
.service-heading{display:flex;align-items:center;height:44px;padding:0 17px;border-bottom:1px solid #d5e1ef;font-size:14px;font-weight:600;gap:10px}.service-heading:before{content:'';width:8px;height:8px;border-radius:50%;background:#00a66b;flex-shrink:0}.service-heading .waywy{margin-left:15px}.service-fields{display:flex;align-items:stretch}.service-cell{display:flex;align-items:center;gap:12px;min-width:0;flex:1;border-right:1px solid #d5e1ef;padding:14px 16px;position:relative;min-height:74px}.service-cell:first-child{flex:1.5}.service-symbol{width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;color:#0067ff;background:#deefff;border-radius:12px;font-size:18px}.service-field-inner{flex:1;min-width:0}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-field-inner>div,body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-field-inner>span{padding:0!important;width:100%!important;float:none!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important;min-height:0!important;box-shadow:none!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .lablform{display:block!important;position:static!important;margin:0 0 3px!important;padding:0!important;color:#536a87!important;font-size:12px!important;font-weight:400!important;line-height:18px!important;z-index:auto!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(.plcetogo,.relativemask,.selectedwrap,.totlall,.date-field,.car-datetime-field){padding:0!important;background:transparent!important;border:0!important;min-height:0!important;height:auto!important;margin:0!important;box-shadow:none!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(.plcetogo,.relativemask,.selectedwrap):before,body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(.maskimg,.flight-date-icon,.mobile_adult_icon){display:none!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,.remngwd,.custom-nights-trigger){height:24px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#10213e!important;font-size:14px!important;font-weight:600!important;line-height:24px!important;box-shadow:none!important;width:100%!important;text-overflow:ellipsis}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .select2-container{width:100%!important}body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .select2-selection{height:24px!important;border:0!important;background:transparent!important}body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .select2-selection__rendered{padding:0 15px 0 0!important;line-height:24px!important;font-size:14px!important;font-weight:600!important;color:#10213e!important}
.service-submit{padding:12px;flex:0 0 150px;display:flex;align-items:center}body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-submit :is(button,input){background:#ffd51a!important;color:#10213e!important;border:0!important;border-radius:13px!important;height:48px!important;line-height:48px!important;min-width:0!important;width:100%!important;padding:0 12px!important;font-size:14px!important;box-shadow:none!important;font-weight:500!important}
body.g4-home .service-compact .waywy,body.g4-home .service-compact .smalway{display:flex!important;gap:20px;width:auto!important;padding:0!important;background:none!important;box-shadow:none!important}.service-compact .wament{display:flex!important;align-items:center;gap:7px;margin:0!important;padding:0!important;background:none!important;font-size:14px!important}.service-compact .wament input{display:inline-block!important;appearance:auto!important;position:static!important;width:18px!important;height:18px!important;margin:0!important;accent-color:#00a66b;opacity:1!important}
body.g4-home.gr-popup-open,body.g4-home.tr-popup-open{overflow:auto!important}
body.g4-home :is(.gr-backdrop,.gr-guests-backdrop,.gr-guests-rooms-backdrop,.guests-rooms-backdrop,.tr-travellers-backdrop){display:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored{animation:none!important;min-height:0!important;margin:0!important;position:fixed!important;left:var(--service-left,12px)!important;top:var(--service-top,12px)!important;transform:none!important;right:auto!important;bottom:auto!important;width:360px!important;max-width:calc(100vw - 24px)!important;border:1px solid #e5eaf0!important;border-radius:16px!important;background:white!important;box-shadow:0 20px 45px #10213e33!important;max-height:var(--service-max,calc(100vh - 30px))!important;overflow:auto!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header-sub,.gr-progress,.tr-header-sub,.tr-progress,.tr-tab-row,.gr-info,.tr-info){display:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header-title,.tr-header-title){font-size:16px!important;color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header,.tr-header){padding:20px 20px 10px!important;border:0!important;background:white!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .inallsn{padding:0 20px 15px!important;max-height:400px;overflow:auto}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .oneroom{border:0!important;background:white!important;box-shadow:none!important;padding:0!important;margin:0!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .roomrow{border-bottom:1px solid #edf1f6!important;padding:13px 0!important;margin:0!important;background:white!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .btn-number{border:1px solid #10213e!important;border-radius:50%!important;background:white!important;color:#10213e!important;box-shadow:none!important;width:32px!important;height:32px!important;padding:0!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .btn-number:disabled{border-color:#ccd9e9!important;color:#ccd9e9!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.done1,.gr-done-footer .done1,.tr-done-footer .done1){background:#006cf0!important;color:white!important;border-radius:24px!important;border:0!important;box-shadow:none!important;padding:12px 22px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-done-footer,.tr-done-footer){position:static!important;padding:12px 20px 20px!important;background:white!important;border:0!important;text-align:right!important}
@media(max-width:900px){.service-fields{flex-wrap:wrap}.service-cell,.service-cell:first-child{flex:1 1 40%;border-bottom:1px solid #d5e1ef}.service-submit{flex:1 1 100%}.service-heading{height:auto;min-height:44px;flex-wrap:wrap;padding:10px 15px}.service-symbol{width:30px;flex-basis:30px}.service-cell{padding:12px;gap:8px}}

body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab,.gr-tab-add){background:#f5f9ff!important;border:1px solid #d5e1ef!important;box-shadow:none!important;color:#10213e!important;border-radius:10px!important;min-height:0!important;padding:8px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab-icon,.gr-room-icon){display:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .input-number{border:0!important;background:white!important;color:#10213e!important;font-size:15px!important;width:36px!important;box-shadow:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .gr-tab-row{padding:8px 20px!important}

.service-cell.service-nights{flex:.45}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab,.gr-tab-add){height:auto!important;min-height:48px!important;flex-direction:column!important;gap:2px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab-name,.gr-tab-add,.gr-room-title){color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab-row .bi,.gr-room-title .bi){display:none!important}

body.g4-home .hero-search-form-card #transfer_form.service-ready .service-heading .waywy,body.g4-home .hero-search-form-card #transfer_form.service-ready .service-heading .smalway{display:flex!important;visibility:visible!important;opacity:1!important;width:auto!important;height:auto!important;position:static!important}
body.g4-home .hero-search-form-card #transfer_form.service-ready .service-heading .wament{display:inline-flex!important;color:#173d35!important;font-weight:600!important;font-size:14px!important;padding:0!important;background:none!important}
body.g4-home .hero-search-form-card #transfer_form.service-ready .service-heading input{display:inline-block!important;width:18px!important;height:18px!important;position:static!important;appearance:auto!important;opacity:1!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-card-head,.tr-card-head,.lablform2){display:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .done1{display:inline-block!important;width:auto!important;float:right!important}

body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .add_remove{position:static!important;height:auto!important;margin-top:12px!important;padding:8px 0!important;border:0!important;background:white!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .inallsn{padding-bottom:15px!important;min-height:0!important;overflow-y:auto!important;flex:1 1 auto!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header,.gr-tabs,.tr-header){flex-shrink:0!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .roomone{background:none!important;border:0!important;padding:6px 0!important;margin:0!important;font-size:12px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .celroe>i{display:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.pax-count-wrapper,.countmore){border:0!important;box-shadow:none!important;background:none!important}

body.g4-home .select2-dropdown{border:1px solid #d5e1ef!important;border-radius:12px!important;box-shadow:0 16px 35px #10213e22!important;overflow:hidden}
body.g4-home .select2-results__option--highlighted[aria-selected]{background:#eaf3ff!important;color:#10213e!important}
body.g4-home .hero-search-form-card .service-submit .searchsbmt{display:flex!important;align-items:center;justify-content:center;gap:8px}
body.g4-home .service-symbol .fa-moon-o:before{content:'☾';font-family:Arial}

/* Shared compact typography for the B2C search pickers. */
body.g4-home #flight_form#flight_form .compact-travellers{padding:16px!important;border-radius:16px!important;font-family:inherit!important;color:#10213e!important}
body.g4-home #flight_form#flight_form .compact-travellers h3{font-size:16px!important;line-height:22px!important;font-weight:700!important;margin:0 0 10px!important}
body.g4-home #flight_form#flight_form .compact-person{padding:9px 0!important;gap:10px!important}
body.g4-home #flight_form#flight_form .compact-person strong{font-size:14px!important;line-height:20px!important;font-weight:600!important;color:#10213e!important}
body.g4-home #flight_form#flight_form .compact-person small{margin-top:2px!important;line-height:17px!important;color:#71839d!important;font-size:12px!important}
body.g4-home #flight_form#flight_form .compact-seat-note{font-size:11px!important;line-height:15px!important;margin-top:3px!important}
body.g4-home #flight_form#flight_form .compact-counter{gap:12px!important}
body.g4-home #flight_form#flight_form .compact-counter output{font-size:14px!important;color:#10213e!important}
body.g4-home #flight_form#flight_form .compact-cabin{margin-top:14px!important;padding-bottom:6px!important}
body.g4-home #flight_form#flight_form .compact-footer{padding-top:12px!important}
body.g4-home #flight_form#flight_form .compact-footer .compact-done{padding:10px 21px!important;font-size:14px!important;line-height:20px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored{font-family:inherit!important;color:#10213e!important;border-radius:16px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header,.tr-header){padding:16px 16px 8px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-header-title,.tr-header-title){font-family:inherit!important;font-size:16px!important;font-weight:700!important;line-height:22px!important;color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .inallsn{padding:0 16px 12px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .roomrow{padding:9px 0!important;min-height:0!important;border-color:#e7edf5!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .roomrow .celroe:is(.col-xs-7,.col-xs-4){font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:20px!important;color:#10213e!important;gap:2px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .roomrow .celroe .agemns{font-family:inherit!important;font-size:12px!important;line-height:17px!important;color:#71839d!important;font-weight:400!important;margin-top:2px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.input-number,.pax_count_value){font-family:inherit!important;font-size:14px!important;font-weight:400!important;color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .btn-number{font-family:inherit!important;font-size:18px!important;width:32px!important;height:32px!important;border-color:#10213e!important;color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tabs,.tr-tabs){padding:0 16px 6px!important;gap:8px!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab-name,.gr-tab-add){font-family:inherit!important;font-size:12px!important;font-weight:600!important;color:#10213e!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.gr-tab-meta,.gr-tab-add-sub){font-size:11px!important;line-height:15px!important;color:#71839d!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(select,.normalsel){font-family:inherit!important;font-size:14px!important;font-weight:500!important;color:#10213e!important;border:1px solid #c5d5ea!important;border-radius:9px!important;background:white!important;box-shadow:none!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored :is(.chilagediv label,.chilagediv .chldrnage){font-size:12px!important;color:#71839d!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .done1{font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:20px!important;height:auto!important;padding:10px 21px!important;background:#006cf0!important;color:white!important}
body.g4-home:is(.gr-popup-open,.tr-popup-open) .roomcount.service-anchored.service-anchored .tr-done-footer{padding:10px 16px 16px!important}
body.g4-home #ui-datepicker-div,body.g4-home .xdsoft_datetimepicker.xdsoft_datetimepicker,body.g4-home .ui-autocomplete.ui-autocomplete{font-family:inherit!important;color:#10213e!important;font-size:14px!important;border:1px solid #d5e1ef!important;border-radius:16px!important;background:white!important;box-shadow:0 16px 35px #10213e22!important}
body.g4-home #ui-datepicker-div :is(.ui-datepicker-title,.ui-datepicker-month,.ui-datepicker-year){font-family:inherit!important;font-size:14px!important;font-weight:600!important;color:#10213e!important}
body.g4-home #ui-datepicker-div :is(th,td,td a){font-family:inherit!important;font-size:13px!important;color:#10213e!important}
body.g4-home #ui-datepicker-div .ui-state-active{background:#006cf0!important;color:white!important;border-color:#006cf0!important}
body.g4-home .xdsoft_datetimepicker.xdsoft_datetimepicker :is(.xdsoft_label,.xdsoft_time,.xdsoft_calendar td,.xdsoft_calendar th){font-family:inherit!important;font-size:13px!important;color:#10213e!important}
body.g4-home .xdsoft_datetimepicker.xdsoft_datetimepicker :is(.xdsoft_current,.xdsoft_calendar td.xdsoft_current,.xdsoft_time_variant .xdsoft_current){background:#006cf0!important;color:white!important;box-shadow:none!important}
body.g4-home .xdsoft_datetimepicker.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled{color:#aab7c9!important}
body.g4-home .ui-autocomplete.ui-autocomplete :is(.ui-menu-item,.ui-menu-item-wrapper,a){font-family:inherit!important;font-size:14px!important;line-height:20px!important;color:#10213e!important}
body.g4-home .ui-autocomplete.ui-autocomplete :is(small,.airportname,.sub-title){font-size:12px!important;color:#71839d!important}


/* Transfer steppers share one grid; nested legacy wrappers must not add borders or offsets. */
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .roomrow{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;align-items:center!important;column-gap:12px!important;row-gap:8px!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .roomrow>.celroe{width:auto!important;max-width:none!important;flex:none!important;float:none!important;padding:0!important;margin:0!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .roomrow>.celroe.col-xs-5{width:104px!important;justify-self:end!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored :is(.selectedwrapnum,.onlynumwrap,.onlynumwrap.wrap1,.pax-count-wrapper){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;float:none!important;padding:0!important;margin:0!important;width:104px!important;height:auto!important;min-height:0!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .onlynum{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important;width:104px!important;height:32px!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .onlynum .btn-number{position:static!important;float:none!important;flex:0 0 32px!important;width:32px!important;height:32px!important;margin:0!important;padding:0!important;line-height:30px!important;transform:none!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .onlynum input.input-number{position:static!important;float:none!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;height:32px!important;line-height:32px!important;padding:0!important;margin:0!important;text-align:center!important;border:0!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .roomrow>.col-xs-12{grid-column:1/-1!important;width:100%!important;float:none!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .roomrow>.clearfix{display:none!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .tr-done-footer{display:flex!important;justify-content:flex-end!important;align-items:center!important}
body.g4-home.tr-popup-open .roomcount.tr-roomcount-portal.service-anchored .tr-done-footer .done1{float:none!important;margin:0!important}


/* Give every service field the same label and value baselines. */
body.g4-home .hero-search-form-card form.service-ready .service-cell{height:84px!important;min-height:84px!important;align-items:center!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-field-inner{height:44px!important;position:relative!important;display:block!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-field-inner>div{position:relative!important;height:44px!important;display:block!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .lablform{position:absolute!important;top:0!important;left:0!important;right:0!important;height:18px!important;line-height:18px!important;margin:0!important;white-space:nowrap!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-field-inner>div>:is(.plcetogo,.relativemask,.selectedwrap,.totlall){position:absolute!important;top:20px!important;left:0!important;right:0!important;height:24px!important;min-height:24px!important;margin:0!important;padding:0!important;display:block!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(input.normalinput,.remngwd,.custom-nights-trigger){margin:0!important;padding:0!important;line-height:24px!important;height:24px!important;display:block!important;text-align:left!important;position:static!important;transform:none!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell .select2-container .select2-selection__rendered{line-height:24px!important;height:24px!important;margin:0!important;padding-left:0!important}
body.g4-home .hero-search-form-card :is(#hotel_search,#transfer_form,#trasfer,#activity_search,#holiday_search).service-ready .service-cell :is(.select2-selection__arrow,.custom-nights-arrow){top:0!important;height:24px!important}


body.g4-home .hero-search-form-card #holiday_search.service-ready .service-cell .selectedwrap .select2-container{position:absolute!important;top:0!important;left:0!important;margin:0!important;transform:none!important;height:24px!important}
body.g4-home .hero-search-form-card #holiday_search.service-ready .service-cell :is(.select2-selection,.select2-selection__rendered){position:static!important;top:auto!important;transform:none!important;padding-top:0!important;padding-bottom:0!important;vertical-align:top!important;line-height:24px!important}

/* Multi-city uses the same compact field rows as the other homepage searches. */
body.g4-home #flight_form#flight_form .compact-flight #multi_way_fieldset{width:100%!important;float:none!important;padding:0!important;margin:0!important}
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container{position:relative!important;display:grid;grid-template-columns:1fr 1fr 1fr 44px;min-height:74px;border-bottom:1px solid #d5e1ef!important;margin:0!important;padding:0!important;background:white!important}
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container>.placerows,body.g4-home #flight_form#flight_form .compact-flight .multi_city_container>.ddmmr:has(.compact-multi-field){display:contents!important}
body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field{width:auto!important;float:none!important;position:relative!important;height:74px!important;padding:16px 16px 16px 64px!important;border:0!important;border-right:1px solid #d5e1ef!important;border-radius:0!important;background:white!important;margin:0!important}
body.g4-home #flight_form#flight_form .compact-multi-field>.compact-icon{position:absolute;left:16px;top:19px}
body.g4-home #flight_form#flight_form .compact-multi-field .lablform{position:static!important;font-size:12px!important;line-height:18px!important;height:18px!important;margin:0!important;padding:0!important;color:#536a87!important;font-weight:400!important}
body.g4-home #flight_form#flight_form .compact-multi-field .plcetogo{padding:0!important;border:0!important;background:none!important;height:24px!important;min-height:0!important;box-shadow:none!important}
body.g4-home #flight_form#flight_form .compact-multi-field input.normalinput{padding:0!important;margin:0!important;height:24px!important;min-height:0!important;line-height:24px!important;font-size:14px!important;font-weight:600!important;color:#10213e!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;width:100%!important}
body.g4-home #flight_form#flight_form .compact-multi-field :is(.airport_value,.day_name),body.g4-home #flight_form#flight_form .compact-multi-field .plcetogo:before{display:none!important}
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container>.ddmmr:not(:has(.compact-multi-field)){width:44px!important;position:relative!important;float:none!important}
body.g4-home #flight_form#flight_form .compact-flight .city_close_btn{top:50%!important;left:7px!important;right:auto!important;transform:translateY(-50%)!important;width:30px!important;height:30px!important;color:#536a87!important;border:1px solid #d5e1ef!important;background:white!important}
body.g4-home #flight_form#flight_form .compact-flight .add_city_btn{margin:12px 16px!important;padding:9px 15px!important;border:1px solid #c5d5ea!important;border-radius:10px!important;font-size:14px!important;font-weight:600!important;color:#006cf0!important;background:white!important}
.compact-multi-footer{display:flex;justify-content:flex-end;align-items:center;border-top:1px solid #d5e1ef;padding:0 4px 0 16px}
body.g4-home #flight_form#flight_form .compact-multi-footer .compact-pax{width:265px!important;border-left:1px solid #d5e1ef;border-right:1px solid #d5e1ef}
body.g4-home #flight_form#flight_form .compact-multi-footer .compact-search{width:150px!important}
@media(max-width:767px){body.g4-home #flight_form#flight_form .compact-flight .multi_city_container{grid-template-columns:1fr 1fr 38px}body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field{padding-left:48px!important}body.g4-home #flight_form#flight_form .compact-multi-field>.compact-icon{left:9px}body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_depature_date){grid-column:1/3}body.g4-home #flight_form#flight_form .compact-flight .multi_city_container>.ddmmr:not(:has(.compact-multi-field)){grid-column:3;grid-row:1/3;width:38px!important}.compact-multi-footer{padding-left:0;flex-wrap:wrap}}
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:not([style*="display: none"]):not([style*="display:none"]){display:grid!important}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .add_city_btn{position:static!important;float:none!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;margin:12px auto 12px 0!important;flex:0 0 auto!important}
body.g4-home #flight_form#flight_form .compact-multi-footer{min-width:0!important;width:100%!important;box-sizing:border-box!important}

body.g4-home .ui-autocomplete.car-location-menu{z-index:10020!important;max-height:300px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:6px!important;min-width:280px;max-width:calc(100vw - 24px)!important}
body.g4-home .ui-autocomplete.car-location-menu .custom-auto-complete a{display:block!important;white-space:normal!important;padding:10px 12px!important;border:0!important;border-radius:8px!important;text-align:left!important;line-height:20px!important}
body.g4-home .ui-autocomplete.car-location-menu .ui-state-focus{background:#eaf3ff!important;border:0!important;color:#10213e!important}

/* Homepage flight search palette when the site theme is dark. */
body.index_page.g4-home.dark-mode #flight_form .compact-flight {
  --compact-bg: #151b2d;
  --compact-raised: #1b2338;
  --compact-line: rgba(226, 232, 245, .13);
  --compact-text: #edf2fb;
  --compact-muted: #a5b0c4;
  background: var(--compact-bg) !important;
  border-color: var(--compact-line) !important;
  color: var(--compact-text) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

body.index_page.g4-home.dark-mode #flight_form .compact-head {
  background: var(--compact-raised);
  border-bottom-color: var(--compact-line);
  color: var(--compact-text);
  border-radius: 17px 17px 0 0;
}

body.index_page.g4-home.dark-mode #flight_form .compact-trip-radios label,
body.index_page.g4-home.dark-mode #flight_form .compact-pax-summary,
body.index_page.g4-home.dark-mode #flight_form .compact-date-summary {
  color: var(--compact-text) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-trip-radios input {
  background: #11182a !important;
  border-color: #8492a9 !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-trip-radios input:checked {
  background: radial-gradient(circle, #00c58a 0 4px, #11182a 4.5px) !important;
  border-color: #00c58a !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-trip-radios input:checked + span {
  color: #f1fbf7 !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-meta,
body.index_page.g4-home.dark-mode #flight_form .compact-label,
body.index_page.g4-home.dark-mode #flight_form .compact-seat-note {
  color: var(--compact-muted) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-cell {
  border-right-color: var(--compact-line) !important;
  background: var(--compact-bg);
}

body.index_page.g4-home.dark-mode #flight_form .compact-icon {
  color: #83b3ff !important;
  background: rgba(40, 105, 235, .2) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-icon i {
  color: #83b3ff !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-cell input.normalinput,
body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-cell input.normalinput::placeholder {
  color: var(--compact-text) !important;
  -webkit-text-fill-color: var(--compact-text) !important;
  caret-color: var(--compact-text);
}

body.index_page.g4-home.dark-mode #flight_form .compact-swap {
  border-color: var(--compact-bg) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-travellers {
  background: var(--compact-raised) !important;
  border: 1px solid var(--compact-line);
  color: var(--compact-text) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .48) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-travellers h3,
body.index_page.g4-home.dark-mode #flight_form .compact-person strong,
body.index_page.g4-home.dark-mode #flight_form .compact-counter output {
  color: var(--compact-text) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-person {
  border-bottom-color: var(--compact-line) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-person small,
body.index_page.g4-home.dark-mode #flight_form .compact-cabin span {
  color: var(--compact-muted) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-counter button {
  border-color: #68758d !important;
  background: #151b2d !important;
  color: var(--compact-text) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-counter button:disabled {
  border-color: #3b4559 !important;
  color: #68758d !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-cabin {
  border-color: #59657c !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-cabin span {
  background: var(--compact-raised) !important;
}

body.index_page.g4-home.dark-mode #flight_form .compact-cabin select {
  background: var(--compact-raised) !important;
  color: var(--compact-text) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-multi-footer,
body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-multi-footer .compact-pax {
  border-color: var(--compact-line) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight .multi_city_container,
body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight .compact-multi-field {
  background: var(--compact-bg) !important;
  border-color: var(--compact-line) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-multi-field .lablform {
  color: var(--compact-muted) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight .city_close_btn {
  background: var(--compact-raised) !important;
  border-color: var(--compact-line) !important;
  color: var(--compact-muted) !important;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight .add_city_btn {
  background: var(--compact-raised) !important;
  border-color: #52617a !important;
  color: #91baff !important;
}

body.index_page.g4-home.dark-mode :is(#ui-datepicker-div, .xdsoft_datetimepicker, .ui-autocomplete) {
  background: #1b2338 !important;
  border-color: var(--g4-line, rgba(255, 255, 255, .12)) !important;
  color: #edf2fb !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .48) !important;
}

body.index_page.g4-home.dark-mode #ui-datepicker-div :is(.ui-datepicker-header, .ui-datepicker-title),
body.index_page.g4-home.dark-mode #ui-datepicker-div :is(th, td a),
body.index_page.g4-home.dark-mode .xdsoft_datetimepicker :is(.xdsoft_label, .xdsoft_time, .xdsoft_calendar td, .xdsoft_calendar th),
body.index_page.g4-home.dark-mode .ui-autocomplete :is(.ui-menu-item, .ui-menu-item-wrapper, a) {
  background: transparent !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode #ui-datepicker-div td a:hover,
body.index_page.g4-home.dark-mode .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body.index_page.g4-home.dark-mode .ui-autocomplete .ui-state-focus {
  background: rgba(91, 97, 224, .24) !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode #ui-datepicker-div .ui-state-active,
body.index_page.g4-home.dark-mode .xdsoft_datetimepicker :is(.xdsoft_current, .xdsoft_calendar td.xdsoft_current, .xdsoft_time_variant .xdsoft_current) {
  background: #5b61e0 !important;
  border-color: #5b61e0 !important;
  color: #fff !important;
}

/* Keep every compact module search consistent with the homepage dark palette. */
body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-compact {
  --service-bg: #151b2d;
  --service-raised: #1b2338;
  --service-line: rgba(226, 232, 245, .13);
  --service-text: #edf2fb;
  --service-muted: #a5b0c4;
  background: var(--service-bg) !important;
  border-color: var(--service-line) !important;
  color: var(--service-text) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-heading {
  background: var(--service-raised) !important;
  border-bottom: 1px solid var(--service-line) !important;
  color: var(--service-text) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-heading:before {
  background: #00c58a;
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-heading .wament {
  color: var(--service-text) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-heading input[type="radio"] {
  accent-color: #00c58a;
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-cell {
  background: var(--service-bg) !important;
  border-color: var(--service-line) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card form.service-ready .service-symbol {
  background: rgba(40, 105, 235, .2) !important;
  color: #83b3ff !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell .lablform {
  color: var(--service-muted) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, .remngwd, .custom-nights-trigger) {
  background: transparent !important;
  color: var(--service-text) !important;
  -webkit-text-fill-color: var(--service-text) !important;
  border-color: transparent !important;
  caret-color: var(--service-text);
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell :is(input, select)::placeholder {
  color: var(--service-muted) !important;
  -webkit-text-fill-color: var(--service-muted) !important;
  opacity: 1;
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell .select2-selection,
body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell .select2-selection__rendered {
  background: transparent !important;
  color: var(--service-text) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #hotel_search.service-ready .custom-nights-list {
  background: #151b2d !important;
  border: 1px solid var(--service-line) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45) !important;
  scrollbar-color: #4b82d8 #1b2338;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #hotel_search.service-ready .custom-nights-item {
  color: var(--service-text) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #hotel_search.service-ready .custom-nights-item:hover {
  background: #263958 !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #hotel_search.service-ready .custom-nights-item.active {
  background: #2869c7 !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #hotel_search.service-ready .custom-nights-list::-webkit-scrollbar-thumb {
  background: #4b82d8 !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(#hotel_search, #transfer_form, #trasfer, #activity_search, #holiday_search).service-ready .service-cell :is(.flight-field-caption, .flight-class-caption) {
  color: var(--service-muted) !important;
}

/* Flight + Hotel and any legacy search form still use the original field rows. */
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .tabrow,
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .flight-search-inner-box,
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .flightSearchNavigation-f,
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .flight-fields-row,
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .secndates,
body.index_page.g4-home.dark-mode .hero-search-form-card #packages .tabrow {
  background: #151b2d !important;
  border-color: rgba(226, 232, 245, .13) !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form :is(.lablform, .formlabel, .remngwd, .alladvnce, .flight-field-caption, .flight-class-caption),
body.index_page.g4-home.dark-mode .hero-search-form-card #packages :is(.commingSoon, .formlabel, .lablform) {
  color: #d6deed !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #packages :is(h1, h2, h3, p, strong) {
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form :is(.sidebord, .border_btms, .advance_opt, .alladvnce, .plcetogo, .selectedwrap),
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .roomcount:not(.service-anchored) {
  background-color: #1b2338 !important;
  border-color: rgba(226, 232, 245, .15) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea),
body.index_page.g4-home.dark-mode .hero-search-form-card #packages :is(input:not([type="hidden"]), select, textarea) {
  background-color: #11182a !important;
  border-color: rgba(226, 232, 245, .18) !important;
  color: #edf2fb !important;
  -webkit-text-fill-color: #edf2fb !important;
  caret-color: #edf2fb;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form :is(input, textarea)::placeholder {
  color: #a5b0c4 !important;
  -webkit-text-fill-color: #a5b0c4 !important;
  opacity: 1;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .roomcount:not(.service-anchored) :is(.inallsn, .oneroom, .roomone, .roomrow, .add_remove),
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .advncedown,
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .inallsnnw {
  background: #1b2338 !important;
  border-color: rgba(226, 232, 245, .13) !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .roomcount:not(.service-anchored) :is(.celroe, .agemns, .roomone),
body.index_page.g4-home.dark-mode .hero-search-form-card #flightHotel_form .adscrla {
  color: #edf2fb !important;
}

/* Guest selectors opened from Hotel, Transfer, Activity, or Flight + Hotel. */
body.index_page.g4-home.dark-mode:is(.gr-popup-open, .tr-popup-open) .roomcount.service-anchored,
body.index_page.g4-home.dark-mode .hero-search-form-card .roomcount:not(.service-anchored) {
  background: #1b2338 !important;
  border-color: rgba(226, 232, 245, .15) !important;
  color: #edf2fb !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .48) !important;
}

body.index_page.g4-home.dark-mode:is(.gr-popup-open, .tr-popup-open) .roomcount.service-anchored :is(.gr-header, .tr-header, .inallsn, .oneroom, .roomrow, .add_remove, .gr-done-footer, .tr-done-footer),
body.index_page.g4-home.dark-mode .hero-search-form-card .roomcount:not(.service-anchored) :is(.inallsn, .oneroom, .roomrow, .add_remove) {
  background: #1b2338 !important;
  border-color: rgba(226, 232, 245, .13) !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode:is(.gr-popup-open, .tr-popup-open) .roomcount.service-anchored :is(.gr-header-title, .tr-header-title, .celroe, .agemns, .gr-tab-name, .gr-tab-meta, .gr-room-title, .gr-tab-add, .gr-tab-add-sub),
body.index_page.g4-home.dark-mode .hero-search-form-card .roomcount:not(.service-anchored) :is(.lablform2, .celroe, .agemns, .roomone, .chldrnage) {
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode:is(.gr-popup-open, .tr-popup-open) .roomcount.service-anchored :is(.btn-number, .gr-tab, .gr-tab-add, .input-number, select, .normalsel),
body.index_page.g4-home.dark-mode .hero-search-form-card .roomcount:not(.service-anchored) :is(.btn-number, .input-number, select, .normalsel) {
  background: #151b2d !important;
  border-color: #59657c !important;
  color: #edf2fb !important;
  -webkit-text-fill-color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card .roomcount:not(.service-anchored) .done1 {
  background: #5b61e0 !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card :is(.service-ready, #flightHotel_form) .alladvnce,
body.index_page.g4-home.dark-mode .hero-search-form-card :is(.service-ready, #flightHotel_form) .advncedown,
body.index_page.g4-home.dark-mode .hero-search-form-card :is(.service-ready, #flightHotel_form) .scroladvc {
  background: #1b2338 !important;
  border-color: rgba(226, 232, 245, .15) !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card .adscrla {
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card .adscrla:hover,
body.index_page.g4-home.dark-mode .hero-search-form-card .adscrla.active {
  background: rgba(91, 97, 224, .22) !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode .select2-dropdown,
body.index_page.g4-home.dark-mode .select2-container--default .select2-selection--single,
body.index_page.g4-home.dark-mode .select2-container--default .select2-selection--multiple {
  background: #1b2338 !important;
  border-color: rgba(226, 232, 245, .18) !important;
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .select2-container--default .select2-selection__rendered,
body.index_page.g4-home.dark-mode .select2-results__option {
  color: #edf2fb !important;
}

body.index_page.g4-home.dark-mode .select2-results__option--highlighted[aria-selected] {
  background: rgba(91, 97, 224, .28) !important;
  color: #fff !important;
}

body.index_page.g4-home.dark-mode .select2-results__option[aria-selected="true"] {
  background: rgba(91, 97, 224, .18) !important;
}

/* Responsive search panel layouts for tablet and phone widths. */
body.g4-home #flight_form#flight_form .compact-body {
  width: 100%;
  min-width: 0;
}

@media (max-width: 991px) {
  body.g4-home #flight_form#flight_form .compact-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.g4-home #flight_form#flight_form .compact-body > * {
    min-width: 0;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-cell {
    height: auto !important;
    min-height: 74px !important;
    padding: 12px !important;
    gap: 9px !important;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-search {
    grid-column: 1 / -1 !important;
    min-height: 68px;
    border-bottom: 0;
  }

  body.g4-home #flight_form#flight_form .compact-travellers {
    right: 12px !important;
    width: min(360px, calc(100vw - 32px)) !important;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flightSearchNavigation-f {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flightSearchNavigation-f > .classes_Select {
    flex: 1 1 150px;
    min-width: 0;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flightSearchNavigation-f > .advance_opt {
    flex: 2 1 220px;
    width: auto !important;
    min-width: 0 !important;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box > .col-md-2[style*="width"] {
    width: 100% !important;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box > .col-md-2[style*="width"] .flightbutton,
  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box > .col-md-2[style*="width"] .searchsbmt {
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  body.g4-home .hero-search-form-card .service-fields {
    row-gap: 0;
  }

  body.g4-home .hero-search-form-card .service-cell,
  body.g4-home .hero-search-form-card .service-cell:first-child {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  body.g4-home #flight_form#flight_form .compact-body .compact-cell {
    padding: 10px !important;
    gap: 8px !important;
  }

  body.g4-home #flight_form#flight_form .compact-icon {
    width: 30px;
    height: 32px;
  }

  body.g4-home #flight_form#flight_form .compact-travellers {
    position: fixed !important;
    top: 50% !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: 420px;
    max-height: calc(100vh - 24px) !important;
    margin: 0 auto;
    transform: translateY(-50%);
    z-index: 11000 !important;
    overflow-y: auto;
  }

  body.g4-home .hero-search-form-card .search-tabs-new {
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.g4-home .hero-search-form-card .search-tabs-new > li {
    scroll-snap-align: start;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box {
    width: 100%;
  }
}

@media (max-width: 575px) {
  body.g4-home #flight_form#flight_form .compact-head {
    height: auto !important;
    min-height: 44px;
    padding: 8px 10px !important;
    align-items: flex-start;
  }

  body.g4-home #flight_form#flight_form .compact-trip-radios {
    flex-wrap: wrap;
    gap: 7px 12px !important;
    min-width: 0;
  }

  body.g4-home #flight_form#flight_form .compact-trip-radios label {
    min-height: 30px;
    font-size: 12px !important;
    line-height: 16px;
  }

  body.g4-home #flight_form#flight_form .compact-meta {
    display: none !important;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-cell {
    min-height: 76px !important;
    padding: 8px !important;
    gap: 7px !important;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-icon {
    width: 28px;
    height: 30px;
    border-radius: 9px;
  }

  body.g4-home #flight_form#flight_form .compact-label {
    font-size: 11px;
    line-height: 14px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.g4-home #flight_form#flight_form .compact-pax-summary,
  body.g4-home #flight_form#flight_form .compact-date-summary {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px !important;
    line-height: 15px;
  }

  body.g4-home #flight_form#flight_form .compact-pax-summary {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.g4-home #flight_form#flight_form .compact-search {
    padding: 10px !important;
  }

  body.g4-home #flight_form#flight_form .compact-search #flight-form-submit {
    min-height: 48px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
    min-width: 0 !important;
    padding: 12px 8px 12px 42px !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-field > .compact-icon {
    left: 8px !important;
    top: 20px !important;
    width: 26px;
    height: 28px;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer {
    flex-wrap: wrap !important;
    gap: 0;
    padding: 0 !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-pax,
  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-search {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-pax {
    border-left: 0 !important;
    border-right: 0 !important;
  }

  body.g4-home .hero-search-form-card .service-fields {
    flex-direction: column;
    align-items: stretch;
  }

  body.g4-home .hero-search-form-card .service-fields > .service-cell,
  body.g4-home .hero-search-form-card .service-fields > .service-cell:first-child,
  body.g4-home .hero-search-form-card .service-fields > .service-submit {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.g4-home .hero-search-form-card .service-fields > .service-cell {
    min-height: 76px;
    border-right: 0 !important;
    border-bottom: 1px solid #d5e1ef;
    padding: 12px !important;
  }

  body.g4-home .hero-search-form-card .service-fields > .service-submit {
    padding: 10px 12px 12px !important;
  }

  body.g4-home .hero-search-form-card .service-heading {
    gap: 8px;
    padding: 10px 12px !important;
  }

  body.g4-home .hero-search-form-card .service-heading :is(.waywy, .smalway) {
    flex-wrap: wrap;
    gap: 8px 12px !important;
    margin-left: 0;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box > .col-md-2[style*="width"] {
    padding: 8px 0 0;
  }

  body.g4-home .hero-search-form-card #flightHotel_form .flight-fields-row,
  body.g4-home .hero-search-form-card #flightHotel_form .secndates,
  body.g4-home .hero-search-form-card #flightHotel_form .flight-search-inner-box > .col-md-8 {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
/* Multi-city card layout inspired by the segmented route design. */
body.g4-home #flight_form#flight_form .compact-flight {
  --multi-card-bg: #f6f9ff;
  --multi-field-bg: #ffffff;
  --multi-line: #d5e1ef;
  --multi-text: #10213e;
  --multi-muted: #536a87;
  --multi-accent: #1678ed;
  --multi-toolbar: #edf3fc;
  --multi-selected: #e3f0ff;
}

body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight {
  --multi-card-bg: #111c33;
  --multi-field-bg: #14213a;
  --multi-line: #293d60;
  --multi-text: #edf4ff;
  --multi-muted: #afc1df;
  --multi-accent: #55a6ff;
  --multi-toolbar: #0d172b;
  --multi-selected: #122b47;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-head {
  height: auto !important;
  display: block !important;
  padding: 10px !important;
  border-bottom: 0 !important;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-meta {
  display: none !important;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px !important;
  width: 100%;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--multi-line);
  border-radius: 16px;
  background: var(--multi-toolbar);
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios label {
  display: flex !important;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 6px 4px;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--multi-muted);
  font-size: 13px;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios label:has(input:checked) {
  border-color: rgba(0, 198, 211, .24);
  background: var(--multi-selected);
  color: var(--multi-text);
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios input {
  flex: 0 0 18px;
  border-color: #8da2c0 !important;
  background: transparent !important;
}

body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios input:checked {
  border-color: #00c6d3 !important;
  background: radial-gradient(circle, #00d1d5 0 4px, var(--multi-toolbar) 4.5px) !important;
}

body.g4-home #flight_form#flight_form #multi_way_fieldset {
  counter-reset: compact-multi-city;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #transfer_form.service-ready .smalway .wament {
  background: rgba(255, 255, 255, .06) !important;
  border-color: rgba(208, 222, 246, .18) !important;
  color: #d4def0 !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #transfer_form.service-ready .smalway .wament:has(input[type="radio"]:checked),
body.index_page.g4-home.dark-mode .hero-search-form-card #transfer_form.service-ready .smalway .wament.active {
  background: rgba(0, 197, 138, .16) !important;
  border-color: #00c58a !important;
  color: #f1fff9 !important;
  box-shadow: 0 0 0 1px rgba(0, 197, 138, .12) !important;
}

body.index_page.g4-home.dark-mode .hero-search-form-card #transfer_form.service-ready .smalway .wament input[type="radio"] {
  accent-color: #00c58a !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
  counter-increment: compact-multi-city;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas: "title title" "from to" "date date" !important;
  grid-auto-rows: auto;
  gap: 12px;
  width: 100%;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 14px !important;
  overflow: visible !important;
  border: 1px solid var(--multi-line) !important;
  border-radius: 20px !important;
  background: var(--multi-card-bg) !important;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container::before {
  content: "City " counter(compact-multi-city);
  grid-area: title;
  align-self: center;
  color: var(--multi-text);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container::after {
  content: "✈  ·····  ●";
  grid-area: title;
  justify-self: end;
  align-self: center;
  padding-right: 2px;
  color: var(--multi-accent);
  font-size: 17px;
  line-height: 28px;
  letter-spacing: 1px;
  white-space: nowrap;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn)::after {
  margin-right: 40px;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .placerows,
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:has(.compact-multi-field) {
  display: contents !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container .compact-multi-field:has(.m_depcity) {
  grid-area: from !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container .compact-multi-field:has(.m_arrcity) {
  grid-area: to !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container .compact-multi-field:has(.m_depature_date) {
  grid-area: date !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 84px;
  height: auto !important;
  padding: 12px 38px 12px 64px !important;
  overflow: hidden;
  border: 1px solid var(--multi-line) !important;
  border-radius: 15px !important;
  background: var(--multi-field-bg) !important;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field > .compact-icon {
  position: absolute;
  top: 50% !important;
  left: 14px !important;
  width: 42px !important;
  height: 46px !important;
  border-radius: 13px;
  background: linear-gradient(145deg, #2678e9, #1451b1) !important;
  color: #e8f2ff !important;
  transform: translateY(-50%);
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field > .compact-icon i,
body.index_page.g4-home.dark-mode #flight_form#flight_form .compact-flight .compact-multi-field > .compact-icon i {
  color: #e8f2ff !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field .lablform {
  display: block !important;
  height: 20px !important;
  margin: 0 0 3px !important;
  color: var(--multi-muted) !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field .plcetogo {
  width: 100%;
  min-width: 0;
  height: 26px !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field input.normalinput {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  height: 26px !important;
  padding: 0 2px 0 0 !important;
  color: var(--multi-text) !important;
  font-size: 16px !important;
  line-height: 26px !important;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_depcity)::after,
body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_arrcity)::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--multi-muted);
  font-size: 23px;
  line-height: 24px;
  transform: translateY(-50%);
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_depature_date)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--multi-muted);
  font-size: 30px;
  line-height: 30px;
  transform: translateY(-50%);
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field :is(.airport_value, .day_name) {
  display: none !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:has(.city_close_btn) {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  z-index: 2;
}

body.g4-home #flight_form#flight_form .compact-flight .city_close_btn {
  position: static !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid var(--multi-line) !important;
  border-radius: 50% !important;
  background: var(--multi-field-bg) !important;
  color: var(--multi-muted) !important;
  transform: none !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100% !important;
  padding: 0 14px 14px !important;
  border: 0 !important;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .add_city_btn {
  justify-self: start;
  min-height: 54px;
  margin: 0 !important;
  padding: 10px 18px !important;
  border: 1px dashed var(--multi-accent) !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--multi-accent) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-height: 86px;
  padding: 14px 54px 14px 18px !important;
  border: 1px solid var(--multi-line) !important;
  border-radius: 17px;
  background: var(--multi-card-bg);
  box-sizing: border-box;
  position: relative;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax .compact-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, #2678e9, #1451b1);
  color: #e8f2ff;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax .compact-icon i {
  color: #e8f2ff !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax .compact-label {
  color: var(--multi-muted) !important;
  font-size: 14px;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax-summary {
  color: var(--multi-text) !important;
  font-size: 16px !important;
  white-space: normal !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--multi-muted);
  font-size: 30px;
  line-height: 30px;
  transform: translateY(-50%);
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search {
  display: flex !important;
  align-items: stretch;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px;
  padding: 0 !important;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search #flight-form-submit {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 62px !important;
  height: 62px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 17px !important;
  background: #ffd51a !important;
  color: #10213e !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: .4px;
  text-transform: uppercase;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 575px) {
  body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-head {
    padding: 8px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios label {
    min-height: 42px;
    gap: 5px;
    padding: 5px 2px;
    font-size: 11px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    gap: 9px;
    padding: 12px !important;
    border-radius: 17px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
    min-height: 76px;
    padding: 10px 34px 10px 58px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field > .compact-icon {
    left: 10px !important;
    width: 38px !important;
    height: 40px !important;
    border-radius: 12px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field .lablform {
    font-size: 12px !important;
    line-height: 18px !important;
    height: 18px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field input.normalinput {
    height: 24px !important;
    font-size: 14px !important;
    line-height: 24px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer {
    gap: 10px;
    padding: 0 12px 12px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax {
    min-height: 76px;
    padding: 10px 48px 10px 12px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax .compact-icon {
    width: 44px;
    height: 44px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax .compact-label {
    font-size: 12px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-pax-summary {
    font-size: 14px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search #flight-form-submit {
    min-height: 56px !important;
    height: 56px !important;
    font-size: 17px !important;
  }
}

@media (max-width: 420px) {
  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" "from" "to" "date" !important;
    gap: 8px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_depcity) {
    grid-area: from !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_arrcity) {
    grid-area: to !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field:has(.m_depature_date) {
    grid-area: date !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
    min-height: 70px;
    padding-left: 60px !important;
  }
}

@media (max-width: 359px) {
  body.g4-home #flight_form#flight_form .compact-flight.is-multicity .compact-trip-radios label {
    font-size: 10px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    padding: 10px !important;
  }
}

@media (max-width: 359px) {
  body.g4-home #flight_form#flight_form .compact-trip-radios {
    gap: 4px 9px !important;
  }

  body.g4-home #flight_form#flight_form .compact-trip-radios label {
    font-size: 11px !important;
    gap: 5px !important;
  }

  body.g4-home #flight_form#flight_form .compact-trip-radios input {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-cell {
    padding: 7px !important;
    gap: 6px !important;
  }

  body.g4-home #flight_form#flight_form .compact-body .compact-icon {
    width: 24px;
    height: 26px;
  }
}
}

/* Keep each multi-city leg readable as the search panel narrows. */
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(74px, auto);
  width: 100%;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
  box-sizing: border-box;
  min-width: 0;
  min-height: 74px;
  overflow: hidden;
}

body.g4-home #flight_form#flight_form .compact-multi-field input.normalinput {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:not(:has(.compact-multi-field)):not(:has(.city_close_btn)) {
  display: none !important;
}

body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:has(.city_close_btn) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  height: 100%;
  padding: 0;
}

body.g4-home #flight_form#flight_form .compact-flight .city_close_btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 0 0 30px;
  margin: 0;
}

body.g4-home #flight_form#flight_form .compact-multi-footer {
  box-sizing: border-box;
  gap: 8px;
}

@media (max-width: 767px) {
  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container .compact-multi-field:has(.m_depature_date) {
    grid-column: 1 / 3;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:has(.city_close_btn) {
    grid-column: 3;
    grid-row: 1 / 3;
    min-width: 38px;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(68px, auto);
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
    height: auto !important;
    min-height: 68px;
    padding: 10px 7px 10px 42px !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-field > .compact-icon {
    top: 20px;
    left: 8px;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field .lablform {
    font-size: 11px !important;
    line-height: 16px !important;
    height: 16px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field input.normalinput {
    height: 22px !important;
    line-height: 22px !important;
    font-size: 13px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container > .ddmmr:has(.city_close_btn) {
    min-width: 36px;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .add_city_btn {
    justify-self: start;
    margin: 10px 12px !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-pax,
  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-search {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-pax {
    display: flex !important;
    align-items: center;
    min-height: 68px;
    padding: 10px 12px !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-search {
    display: flex !important;
    align-items: stretch;
    min-height: 64px;
    padding: 8px 12px 12px !important;
  }

  body.g4-home #flight_form#flight_form .compact-multi-footer .compact-search #flight-form-submit {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
/* Final multi-city overrides keep older phone rules from shrinking the cards. */
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container,
body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas: "title title" "from to" "date date" !important;
}

@media (max-width: 575px) {
  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field {
    min-height: 76px;
    padding: 10px 34px 10px 58px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field .lablform {
    font-size: 12px !important;
    line-height: 18px !important;
    height: 18px !important;
  }

  body.g4-home #flight_form#flight_form .compact-flight .compact-multi-field input.normalinput {
    height: 24px !important;
    font-size: 14px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 420px) {
  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container,
  body.g4-home #flight_form#flight_form .compact-flight .multi_city_container:has(.city_close_btn) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" "from" "to" "date" !important;
  }
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search #flight-form-submit > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search #flight-form-submit > span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

body.g4-home #flight_form#flight_form .compact-flight .compact-multi-footer .compact-search #flight-form-submit > span::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
}

/* Phone and tablet layout for the module tabs and transfer trip-type controls. */
@media (max-width: 767px) {
  body.index_page.g4-home #heroGsapCarousel .hero-module-tabs-wrap,
  body.index_page.g4-home #heroGsapCarousel .commonNavTabCls {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.index_page.g4-home #heroGsapCarousel .search-tabs-new {
    /* display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)); */
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    /* overflow: visible !important; */
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  body.index_page.g4-home #heroGsapCarousel .search-tabs-new > li {
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
  }

  body.index_page.g4-home #heroGsapCarousel .search-tabs-new > li > a {
    display: flex !important;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px;
    height: auto !important;
    padding: 7px 6px !important;
    gap: 6px;
    white-space: normal !important;
    text-align: center;
    box-sizing: border-box;
  }

  body.index_page.g4-home #heroGsapCarousel .search-tabs-new > li > a .tab-label {
    min-width: 0;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    text-align: center;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading {
    height: auto !important;
    min-height: 50px;
    justify-content: center;
    padding: 8px 12px !important;
    gap: 0 !important;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading::before {
    display: none !important;
    content: none !important;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .waywy,
  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .smalway {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .smalway {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 36px;
    padding: 6px 10px !important;
    border: 1px solid #d5dfed !important;
    border-radius: 10px !important;
    background: #f3f6fb !important;
    color: #34445d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament input[type="radio"] {
    display: inline-block !important;
    flex: 0 0 16px;
    width: 16px !important;
    height: 16px !important;
    margin: 0 6px 0 0 !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    accent-color: #00a66b;
  }

  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament:has(input[type="radio"]:checked),
  body.index_page.g4-home #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament.active {
    border-color: #00a66b !important;
    background: #e8f8f1 !important;
    color: #126444 !important;
  }

  body.index_page.g4-home.dark-mode #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament {
    border-color: rgba(208, 222, 246, .2) !important;
    background: rgba(255, 255, 255, .045) !important;
    color: #d4def0 !important;
  }

  body.index_page.g4-home.dark-mode #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament:has(input[type="radio"]:checked),
  body.index_page.g4-home.dark-mode #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament.active {
    border-color: #00c58a !important;
    background: rgba(0, 197, 138, .16) !important;
    color: #f1fff9 !important;
  }

  body.index_page.g4-home.dark-mode #heroGsapCarousel .hero-search-form-card #transfer_form.service-ready .service-heading .wament input[type="radio"] {
    accent-color: #00c58a;
  }
}

@media (max-width: 575px) {
  body.index_page.g4-home #heroGsapCarousel .search-tabs-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Airport suggestion selection matches the blue fare-selection palette. */
body.g4-home .ui-autocomplete .custom-auto-complete>a.ui-state-focus,
body.g4-home .ui-autocomplete .custom-auto-complete>a.ui-state-active,
body.g4-home .ui-autocomplete .custom-auto-complete>a:hover{
 background:linear-gradient(115deg,#087bf2,#0062dc)!important;color:#fff!important;border-color:#0068ed!important;border-radius:11px!important;
}
body.g4-home .ui-autocomplete .custom-auto-complete>a:is(.ui-state-focus,.ui-state-active,:hover) :is(.arprt_name,.airport-name,.airport-location,.list_flt_i,.nearby-airport-code){color:#fff!important}
body.g4-home .ui-autocomplete .custom-auto-complete strong{background:#d9eaff!important;color:#0049af!important}
body.g4-home .ui-autocomplete{scrollbar-color:#0068ed #edf5ff}

/* Final responsive sizing for the homepage flight search form. */
body.index_page.g4-home #flight_form.compact-ready,
body.index_page.g4-home #flight_form.compact-ready .compact-flight,
body.index_page.g4-home #flight_form.compact-ready .compact-body,
body.index_page.g4-home #flight_form.compact-ready #multi_way_fieldset,
body.index_page.g4-home #flight_form.compact-ready .compact-multi-footer {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.index_page.g4-home #flight_form.compact-ready .compact-flight,
body.index_page.g4-home #flight_form.compact-ready .compact-cell,
body.index_page.g4-home #flight_form.compact-ready .compact-multi-field,
body.index_page.g4-home #flight_form.compact-ready .compact-search {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.index_page.g4-home #flight_form.compact-ready .compact-content,
body.index_page.g4-home #flight_form.compact-ready .compact-content input,
body.index_page.g4-home #flight_form.compact-ready .compact-pax-summary,
body.index_page.g4-home #flight_form.compact-ready .compact-date-summary {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.index_page.g4-home #flight_form.compact-ready .compact-search button,
body.index_page.g4-home #flight_form.compact-ready #flight-form-submit {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body > * {
    min-width: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body .compact-cell {
    min-height: 68px !important;
    height: auto !important;
    padding: 10px !important;
    gap: 8px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-search {
    grid-column: 1 / -1 !important;
    min-height: 62px !important;
    padding: 8px 10px 10px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-swap {
    top: 50% !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    transform: translateY(-50%) !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-from .compact-content {
    padding-right: 32px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-travellers {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:has(.city_close_btn) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas: "title title" "from to" "date date" !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:not(:has(.city_close_btn)) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas: "title title" "from to" "date date" !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container::before,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container::after {
    grid-area: title !important;
    min-width: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:has(.city_close_btn)::after {
    margin-right: 42px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container .compact-multi-field:has(.m_depcity) {
    grid-area: from !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container .compact-multi-field:has(.m_arrcity) {
    grid-area: to !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container .compact-multi-field:has(.m_depature_date) {
    grid-area: date !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container > .ddmmr:has(.city_close_btn) {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    z-index: 4 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container > .ddmmr:not(:has(.compact-multi-field, .city_close_btn)) {
    display: none !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .compact-pax {
    flex: 1 1 250px !important;
    width: auto !important;
    min-width: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .compact-search {
    flex: 0 1 180px !important;
    width: auto !important;
    min-width: 0 !important;
  }
}

@media (max-width: 575px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-head {
    height: auto !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    align-items: center !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-trip-radios {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-trip-radios label {
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 34px !important;
    gap: 5px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-trip-radios input {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-meta {
    display: none !important;
  }
}

@media (max-width: 480px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body .compact-cell {
    min-height: 64px !important;
    padding: 9px 12px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--compact-line, #d5e1ef) !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-from .compact-content {
    padding-right: 38px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-search {
    grid-column: 1 !important;
    min-height: 64px !important;
    padding: 8px 10px 10px !important;
    border-bottom: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-search #flight-form-submit {
    min-height: 50px !important;
    height: auto !important;
    padding: 10px 14px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-pax-summary,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-date-summary {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.35 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .compact-pax,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .compact-search {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .compact-search {
    padding: 8px 12px 12px !important;
  }
}

@media (max-width: 420px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:not(:has(.city_close_btn)) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" "from" "to" "date" !important;
    grid-auto-rows: auto !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:has(.city_close_btn) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" "from" "to" "date" !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container::before,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container::after {
    min-height: 28px !important;
    line-height: 28px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container > .ddmmr:has(.city_close_btn) {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    display: flex !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container .compact-multi-field {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 68px !important;
    padding: 9px 10px 9px 48px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container .compact-multi-field:has(.m_depature_date) {
    grid-column: 1 !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .multi_city_container:has(.city_close_btn) .compact-multi-field:has(.m_depcity) {
    padding-right: 48px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-multi-footer .add_city_btn {
    max-width: calc(100% - 24px) !important;
    white-space: normal !important;
  }
}

@media (max-width: 359px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-trip-radios label {
    font-size: 10px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-body .compact-cell {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
}

@media (min-width: 768px) {
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-flight .multi_city_container,
  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-flight .multi_city_container:has(.city_close_btn) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 44px !important;
  }

  body.index_page.g4-home #flight_form#flight_form.compact-ready .compact-flight .multi_city_container:not(:has(.city_close_btn)) .compact-multi-field:has(.m_depature_date) {
    grid-column: 3 / 5 !important;
  }
}
