/* AirlyGo V11.1.73 — OTA results + mobile header/overlay recovery.
   Loaded last so this file intentionally normalises older presentation layers. */
:root{
  --ag173-navy:#0b2342;
  --ag173-navy-deep:#06172d;
  --ag173-orange:#ff7200;
  --ag173-orange-dark:#e76500;
  --ag173-blue:#1268be;
  --ag173-green:#07845b;
  --ag173-ink:#11233b;
  --ag173-muted:#687a91;
  --ag173-line:#d7e1ec;
  --ag173-soft:#f4f7fb;
  --ag173-cream:#fff8ef;
  --ag173-ui:"Work Sans","Segoe UI",Arial,sans-serif;
  --ag173-heading:"Baloo 2","Work Sans","Segoe UI",Arial,sans-serif;
  --ag173-ticker-h:40px;
  --ag173-nav-h:82px;
  --ag173-shell-top:122px;
}
html.ag173-scroll-lock,body.ag173-scroll-lock{overflow:hidden!important;overscroll-behavior:none!important}
.ag173-nav-backdrop,.ag173-pref-backdrop,.ag173-pref-sheet,.ag173-flight-backdrop,.ag173-flight-calendar{display:none}
.ag173-menu-head{display:none!important}
.ag173-nav-backdrop[hidden],.ag173-pref-backdrop[hidden],.ag173-pref-sheet[hidden],.ag173-flight-backdrop[hidden],.ag173-flight-calendar[hidden]{display:none!important}

/* ------------------------------------------------------------------
   Hotel results: comparison-first hierarchy and visible photo gallery
   ------------------------------------------------------------------ */
.hotel-search-page .results-main{background:#f3f6fa!important}
.hotel-search-page .results-layout{align-items:start!important}
.hotel-search-page .results-list{gap:14px!important}
.hotel-search-page .hotel-card{
  display:grid!important;grid-template-columns:minmax(270px,31%) minmax(0,1fr) 248px!important;
  min-height:252px!important;border:1px solid #d5e0eb!important;border-radius:18px!important;overflow:hidden!important;
  background:#fff!important;box-shadow:0 8px 25px rgba(7,27,52,.065)!important;
  transform:none!important;transition:border-color .18s ease,box-shadow .18s ease!important;
}
.hotel-search-page .hotel-card:hover{border-color:#adc5dd!important;box-shadow:0 15px 38px rgba(7,27,52,.11)!important}
.hotel-search-page .hotel-photo,.hotel-search-page .hotel-photo.ag63b-carousel{
  width:100%!important;height:100%!important;min-height:252px!important;position:relative!important;overflow:hidden!important;
  border-radius:0!important;background:linear-gradient(135deg,#dcecff,#e9f3fb)!important;
}
.hotel-search-page .hotel-photo>img,.hotel-search-page .ag63b-slide img{
  width:100%!important;height:100%!important;min-height:0!important;position:static!important;display:block!important;
  border-radius:0!important;object-fit:cover!important;transform:none!important;
}
.hotel-search-page .hotel-photo.ag63b-carousel .ag63b-track{
  width:100%!important;height:100%!important;display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;touch-action:pan-x pan-y pinch-zoom!important;cursor:grab!important;
}
.hotel-search-page .hotel-photo.ag63b-carousel .ag63b-track.is-dragging{cursor:grabbing!important;scroll-snap-type:none!important;scroll-behavior:auto!important;user-select:none!important}
.hotel-search-page .ag63b-slide{min-width:100%!important;height:100%!important;flex:0 0 100%!important;scroll-snap-align:start!important;scroll-snap-stop:always!important}
.hotel-search-page .photo-badge{
  top:12px!important;left:12px!important;right:auto!important;bottom:auto!important;z-index:8!important;
  max-width:calc(100% - 70px)!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.72)!important;
  border-radius:999px!important;background:rgba(255,255,255,.94)!important;color:#067250!important;
  box-shadow:0 6px 18px rgba(7,27,52,.16)!important;font-size:11px!important;font-weight:800!important;
  backdrop-filter:blur(8px)!important;
}
.hotel-search-page .ag63b-arrow{
  z-index:9!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.72)!important;border-radius:50%!important;background:rgba(8,28,52,.76)!important;
  color:#fff!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important;font-size:26px!important;line-height:1!important;
  opacity:1!important;transition:background .15s ease,transform .15s ease!important;
}
.hotel-search-page .ag63b-arrow:hover{background:var(--ag173-orange)!important;transform:translateY(-50%) scale(1.04)!important}
.hotel-search-page .ag63b-arrow:disabled{opacity:.36!important;cursor:not-allowed!important}
.hotel-search-page .ag63b-dots{z-index:9!important;bottom:12px!important;opacity:1!important}
.hotel-search-page .ag63b-indicator,.hotel-search-page .ag173-gallery-count{
  position:absolute!important;right:11px!important;bottom:10px!important;z-index:10!important;min-width:43px!important;height:27px!important;
  display:grid!important;place-items:center!important;padding:0 8px!important;border:1px solid rgba(255,255,255,.28)!important;
  border-radius:999px!important;background:rgba(5,20,39,.78)!important;color:#fff!important;font:750 11px/1 var(--ag173-ui)!important;
  box-shadow:0 5px 14px rgba(0,0,0,.2)!important;backdrop-filter:blur(7px)!important;
}
.hotel-search-page .ag63b-indicator{display:none!important}
.hotel-search-page .hotel-content{
  min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  padding:18px 19px 16px!important;background:#fff!important;
}
.hotel-search-page .hotel-title-row{width:100%!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.hotel-search-page .hotel-title{
  margin:0!important;color:var(--ag173-ink)!important;font:800 23px/1.08 var(--ag173-heading)!important;letter-spacing:-.018em!important;
}
.hotel-search-page .hotel-stars{flex:none!important;color:#f59a00!important;font-size:13px!important;letter-spacing:1.4px!important;white-space:nowrap!important}
.hotel-search-page .hotel-location{margin-top:7px!important;color:#336aa2!important;font-size:12.5px!important;font-weight:650!important;line-height:1.35!important}
.hotel-search-page .hotel-location svg{width:16px!important;height:16px!important;flex:none!important}
.hotel-search-page .hotel-distance-note{margin-left:8px!important;padding-left:8px!important;border-left:1px solid #ccd8e4!important;color:#607188!important}
.hotel-search-page .room-name{margin-top:14px!important;color:var(--ag173-ink)!important;font-size:14px!important;font-weight:750!important}
.hotel-search-page .board-name{margin-top:3px!important;color:#617389!important;font-size:12px!important}
.hotel-search-page .amenity-list{margin-top:10px!important;gap:5px!important}
.hotel-search-page .amenity-list span{padding:5px 7px!important;border-radius:7px!important;background:#f4f7fb!important;color:#4f6279!important;font-size:10.5px!important}
.hotel-search-page .offer-badges{margin-top:auto!important;padding-top:13px!important;gap:6px!important}
.hotel-search-page .offer-badge{
  padding:5px 8px!important;border-radius:999px!important;border-color:#d5e4f3!important;background:#f4f9ff!important;
  color:#21639f!important;font-size:10px!important;font-weight:750!important;line-height:1.2!important;
}
.hotel-search-page .offer-badge.positive{border-color:#c6e8da!important;background:#eefaf5!important;color:#087653!important}
.hotel-search-page .hotel-price-panel{
  min-width:0!important;padding:17px 15px!important;border-left:1px solid #e3e9f0!important;border-top:0!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;
  text-align:right!important;background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%)!important;
}
.hotel-search-page .review-box{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;margin:0!important}
.hotel-search-page .review-copy{color:#6c7d92!important;font-size:10.5px!important;line-height:1.25!important;text-align:right!important}
.hotel-search-page .review-copy strong{display:block!important;color:var(--ag173-ink)!important;font-size:11.5px!important;font-weight:750!important}
.hotel-search-page .review-score{
  order:2!important;min-width:43px!important;height:43px!important;display:grid!important;place-items:center!important;padding:0!important;
  border-radius:10px 10px 10px 3px!important;background:var(--ag173-navy)!important;color:#fff!important;font-size:15px!important;font-weight:850!important;
}
.hotel-search-page .price-block{margin-top:auto!important;text-align:right!important}
.hotel-search-page .price-label{display:block!important;color:#73849a!important;font-size:10px!important;line-height:1.2!important}
.hotel-search-page .price-nightly{
  display:block!important;margin-top:5px!important;color:#071d38!important;font:800 22px/1.03 var(--ag173-ui)!important;letter-spacing:-.025em!important;white-space:normal!important;
}
.hotel-search-page .price-nightly small{font-size:11px!important;color:#4e6178!important;font-weight:650!important;letter-spacing:0!important}
.hotel-search-page .price-total{display:block!important;margin-top:5px!important;color:#334a65!important;font-size:11.5px!important;font-weight:750!important}
.hotel-search-page .price-note{display:none!important}
.hotel-search-page .demand-note{display:block!important;margin-top:7px!important;color:#087b52!important;font-size:10.5px!important;font-weight:800!important}
.hotel-search-page .availability-button{
  width:100%!important;min-width:0!important;min-height:45px!important;margin:0!important;padding:10px 12px!important;
  border:0!important;border-radius:11px!important;background:var(--ag173-orange)!important;color:#fff!important;
  font:800 12px/1.2 var(--ag173-ui)!important;box-shadow:0 8px 18px rgba(255,114,0,.21)!important;
}
.hotel-search-page .availability-button:hover{background:var(--ag173-orange-dark)!important}

/* Desktop filters mirror the compact, confidence-first OTA rhythm. */
@media(min-width:901px){
  .hotel-search-page .filters{position:sticky!important;top:136px!important;border-radius:17px!important;box-shadow:0 9px 28px rgba(7,27,52,.06)!important}
  .hotel-search-page .results-toolbar{position:sticky!important;top:122px!important;z-index:40!important;padding:12px 0!important;background:rgba(243,246,250,.94)!important;backdrop-filter:blur(12px)!important}
  .hotel-search-page .ag63b-arrow,.hotel-search-page .ag173-gallery-count{opacity:0!important}
  .hotel-search-page .hotel-photo:hover .ag63b-arrow,.hotel-search-page .hotel-photo:hover .ag173-gallery-count,
  .hotel-search-page .hotel-photo:focus-within .ag63b-arrow,.hotel-search-page .hotel-photo:focus-within .ag173-gallery-count{opacity:1!important}
}

/* ------------------------------------------------------------------
   Custom AirlyGo flight range calendar
   ------------------------------------------------------------------ */
.ag173-native-date{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.ag173-legacy-date-label{display:none!important}
.v6-field:has(.ag173-flight-date-trigger){padding:0!important}
.ag173-flight-date-trigger{
  width:100%;height:100%;min-height:64px;padding:8px 38px 8px 13px;border:0;border-radius:inherit;background:transparent;color:var(--ag173-ink);
  position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;cursor:pointer;font-family:var(--ag173-ui);
}
.ag173-flight-date-trigger>span{color:#677a91;font-size:10px;font-weight:750}
.ag173-flight-date-trigger>strong{display:block;margin-top:3px;font-size:13px;font-weight:750;white-space:nowrap}
.ag173-flight-date-trigger>svg{position:absolute;right:12px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ag173-flight-date-trigger:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--ag173-orange),0 0 0 3px rgba(255,114,0,.15)}
.ag173-return-disabled{display:none!important}
.ag173-flight-backdrop:not([hidden]){position:fixed;inset:0;z-index:14900;display:block;background:rgba(5,19,38,.64);backdrop-filter:blur(3px)}
.ag173-flight-calendar:not([hidden]){
  position:fixed;left:50%;top:50%;z-index:15000;width:min(780px,calc(100% - 28px));max-height:calc(100dvh - 32px);
  display:block;overflow:auto;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.7);border-radius:22px;background:#fff;
  color:var(--ag173-ink);box-shadow:0 30px 90px rgba(3,18,36,.36);font-family:var(--ag173-ui);
}
.ag173-flight-calendar>header{min-height:76px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e5ebf2}
.ag173-flight-calendar>header small{display:block;color:var(--ag173-blue);font-size:9px;font-weight:850;letter-spacing:.11em}
.ag173-flight-calendar>header h2{margin:3px 0 0;color:var(--ag173-ink);font:800 24px/1 var(--ag173-heading)}
.ag173-flight-calendar>header button,.ag173-flight-cal-nav button{
  width:42px;height:42px;display:grid;place-items:center;border:1px solid #d7e1ec;border-radius:50%;background:#fff;color:var(--ag173-ink);font-size:27px;line-height:1;cursor:pointer;
}
.ag173-flight-cal-nav{min-height:56px;padding:8px 18px 0;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:12px;text-align:center}
.ag173-flight-cal-nav strong{font-size:13px;color:#486079}
.ag173-flight-months{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:12px 20px 20px}
.ag173-flight-month h3{margin:5px 0 12px;text-align:center;color:var(--ag173-ink);font:800 17px/1.2 var(--ag173-heading)}
.ag173-flight-week,.ag173-flight-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;text-align:center}
.ag173-flight-week span{padding:5px 0 8px;color:#6e7e93;font-size:10px;font-weight:750}
.ag173-flight-day{position:relative;z-index:1;width:42px;height:42px;margin:1px auto;border:0;border-radius:50%;background:transparent;color:var(--ag173-ink);font:650 12px/1 var(--ag173-ui);cursor:pointer}
.ag173-flight-day:hover:not(:disabled){background:#edf5ff;color:#0f5fa8}
.ag173-flight-day:disabled{color:#c6cfda;cursor:not-allowed}
.ag173-flight-day.is-range{border-radius:0;background:#e8f3ff;color:#104f8b}
.ag173-flight-day.is-start,.ag173-flight-day.is-end{z-index:2;background:#116bd0;color:#fff;font-weight:850;box-shadow:0 5px 13px rgba(17,107,208,.25)}
.ag173-flight-day.is-today:not(.is-start):not(.is-end){box-shadow:inset 0 0 0 2px #116bd0;color:#0d5eaf}
.ag173-flight-calendar>footer{position:sticky;bottom:0;min-height:72px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e4eaf1;background:#fff}
.ag173-flight-calendar>footer strong,.ag173-flight-calendar>footer small{display:block}
.ag173-flight-calendar>footer strong{font-size:13px;color:var(--ag173-ink)}
.ag173-flight-calendar>footer small{margin-top:3px;color:#6e8096;font-size:10.5px}
#ag173FlightDone{min-width:102px;min-height:44px;border:0;border-radius:11px;background:var(--ag173-orange);color:#fff;font-weight:800;cursor:pointer}
#ag173FlightDone:disabled{opacity:.38;cursor:not-allowed}

/* Range connectors for Home Stays and the Results calendar. */
.ag-v117-day.in-range,.ag-v117-day.is-range,.ag-day.is-range,.ag-day.is-preview{border-radius:0!important;background:#e8f3ff!important;color:#104f8b!important}
.ag-v117-day.is-start,.ag-v117-day.is-end,.ag-day.is-start,.ag-day.is-end{position:relative!important;z-index:2!important}

/* ------------------------------------------------------------------
   Mobile header, full-screen menu and compact preference sheets
   ------------------------------------------------------------------ */
@media(max-width:900px){
  :root{--ag173-nav-h:82px;--ag173-shell-top:122px}
  body{padding-bottom:0!important}
  body.hotel-search-page,body.hotel-details-page{padding-top:var(--ag173-shell-top)!important}
  body:has(#v6HeroTitle) .hero{padding-top:136px!important}

  body .ticker-bar{
    position:fixed!important;left:0!important;right:0!important;top:0!important;z-index:12020!important;height:var(--ag173-ticker-h)!important;
  }
  body nav#nav,body .nav#nav{
    position:fixed!important;left:0!important;right:0!important;top:var(--ag173-ticker-h)!important;z-index:12010!important;
    height:var(--ag173-nav-h)!important;min-height:var(--ag173-nav-h)!important;background:#fff8ef!important;border-bottom:1px solid #eadfce!important;
    box-shadow:0 4px 14px rgba(7,27,52,.045)!important;
  }
  body nav#nav .nav-inner,body .nav#nav .nav-inner{height:100%!important;min-height:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  body nav#nav .nav-logo,body .nav#nav .nav-logo{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;min-width:122px!important;height:64px!important;overflow:visible!important}
  body nav#nav .nav-logo img,body .nav#nav .nav-logo img{display:block!important;visibility:visible!important;opacity:1!important;max-width:150px!important;max-height:64px!important;object-fit:contain!important}
  body .nav-toggle{position:relative!important;z-index:12035!important}
  body .nav-toggle span{transform-origin:center!important;transition:transform .2s ease,opacity .15s ease!important}
  body .nav-toggle.ag173-open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)!important}
  body .nav-toggle.ag173-open span:nth-child(2){opacity:0!important;transform:scaleX(0)!important}
  body .nav-toggle.ag173-open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)!important}

  .ag173-nav-backdrop:not([hidden]){position:fixed;inset:var(--ag173-shell-top) 0 0;z-index:11990;display:block;border:0;background:rgba(5,19,38,.48);backdrop-filter:blur(2px)}
  body nav#nav #navLinks,body .nav#nav #navLinks{
    position:fixed!important;left:0!important;right:0!important;top:var(--ag173-shell-top)!important;bottom:0!important;z-index:12000!important;
    width:100%!important;height:calc(100dvh - var(--ag173-shell-top))!important;max-height:none!important;margin:0!important;
    padding:0 20px calc(26px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;border:0!important;border-radius:0!important;background:#fff8ef!important;
    box-shadow:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-12px)!important;
    transition:opacity .18s ease,transform .2s ease,visibility 0s linear .2s!important;
  }
  body nav#nav #navLinks.ag173-open,body .nav#nav #navLinks.ag173-open{
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;transition-delay:0s!important;
  }
  #navLinks .ag173-menu-head{
    min-height:73px;margin:0 -20px 5px;padding:14px 20px;display:flex!important;align-items:center!important;justify-content:space-between!important;
    border-bottom:1px solid #eadfce;background:#fff8ef;
  }
  .ag173-menu-head span{display:block}.ag173-menu-head small{display:block;color:var(--ag173-orange);font-size:9px;font-weight:850;letter-spacing:.12em}
  .ag173-menu-head strong{display:block;margin-top:3px;color:var(--ag173-ink);font:800 21px/1 var(--ag173-heading)}
  .ag173-menu-head button{width:40px;height:40px;border:1px solid #ddcfbc;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ag173-ink);font-size:25px}
  body #navLinks>li:not(.ag173-menu-head){display:block!important;width:100%!important;margin:0!important;border-bottom:1px solid #eadfce!important}
  body #navLinks>li>a,body #navLinks>li>.lang-btn{
    width:100%!important;min-height:57px!important;margin:0!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
    border:0!important;border-radius:0!important;background:transparent!important;color:var(--ag173-ink)!important;text-align:left!important;text-decoration:none!important;
    font:750 15px/1.2 var(--ag173-ui)!important;box-shadow:none!important;
  }
  body #navLinks .lang-switch{position:static!important}
  body #navLinks .lang-menu{display:none!important}
  body #currencyLabel{display:inline-flex!important;align-items:center!important;gap:7px!important}
  body #currencyLabel .currency-flag{width:20px!important;height:14px!important;display:block!important;border-radius:2px!important;object-fit:cover!important}
  body #langBtn::after,body #currencyBtn::after{content:"›";margin-left:auto;color:#7f8fa2;font-size:22px;font-weight:400}

  .ag173-pref-backdrop:not([hidden]){position:fixed;inset:0;z-index:13900;display:block;background:rgba(5,19,38,.62);backdrop-filter:blur(3px)}
  .ag173-pref-sheet:not([hidden]){
    position:fixed;left:50%;right:auto;bottom:0;top:auto;z-index:14000;width:min(680px,100%);max-height:min(82dvh,720px);
    display:block;padding:20px 15px calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);overflow:auto;overscroll-behavior:contain;
    border:1px solid rgba(255,255,255,.65);border-radius:23px 23px 0 0;background:#fff;color:var(--ag173-ink);box-shadow:0 -24px 70px rgba(4,19,38,.28);
    font-family:var(--ag173-ui);animation:ag173SheetIn .2s ease-out;
  }
  @keyframes ag173SheetIn{from{transform:translate(-50%,24px);opacity:.6}to{transform:translate(-50%,0);opacity:1}}
  .ag173-sheet-handle{position:absolute;top:8px;left:50%;width:42px;height:4px;transform:translateX(-50%);border-radius:99px;background:#cbd5e0}
  .ag173-pref-sheet>header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e7ecf2}
  .ag173-pref-sheet>header small{display:block;color:var(--ag173-blue);font-size:9px;font-weight:850;letter-spacing:.11em}
  .ag173-pref-sheet>header h2{margin:3px 0 0;color:var(--ag173-ink);font:800 24px/1 var(--ag173-heading)}
  .ag173-pref-close{width:42px;height:42px;border:1px solid #d8e1eb;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ag173-ink);font-size:25px;line-height:1}
  .ag173-pref-sheet>p{margin:12px 2px 0;color:#6c7d91;font-size:12px;line-height:1.45}
  .ag173-pref-grid{display:grid;gap:9px;margin-top:14px}.ag173-pref-grid--currency{grid-template-columns:1fr 1fr}.ag173-pref-grid--language{grid-template-columns:1fr}
  .ag173-pref-option{
    min-height:61px;padding:9px 10px;display:grid;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:9px;
    border:1px solid #d8e1eb;border-radius:12px;background:#fff;color:var(--ag173-ink);text-align:left;font-family:var(--ag173-ui);
  }
  .ag173-pref-option>img{width:25px;height:18px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px rgba(7,27,52,.08)}
  .ag173-language-code{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#edf5ff;color:#0e65b7;font-weight:800}
  .ag173-pref-option strong,.ag173-pref-option small{display:block}.ag173-pref-option strong{font-size:13px;font-weight:800}.ag173-pref-option small{margin-top:2px;color:#718298;font-size:9.5px}
  .ag173-pref-option i{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--ag173-orange);color:#fff;font-style:normal;font-size:12px;opacity:0;transform:scale(.7)}
  .ag173-pref-option.is-active{border-color:var(--ag173-orange);background:#fff7ee;box-shadow:0 0 0 2px rgba(255,114,0,.08)}
  .ag173-pref-option.is-active i{opacity:1;transform:scale(1)}

  /* Results/details compact summary remains below the real header. */
  .hotel-search-page .search-dock,.hotel-details-page .ag-details-search{position:relative!important;top:auto!important;z-index:80!important;background:#fff!important}
  .hotel-search-page .search-dock>.wrap,.hotel-details-page .ag-details-search{overflow:visible!important}
  .hotel-search-page .ag170-search-summary,.hotel-details-page .ag170-search-summary{position:relative!important;z-index:2!important;margin-top:10px!important;margin-bottom:10px!important}
  .hotel-search-page .results-hero{display:none!important}
  .hotel-search-page .results-main{padding-top:14px!important}
  body.ag170-search-editing .ag170-search-backdrop{filter:none!important;z-index:13000!important}
  body.ag170-search-editing #hotelResultsForm,body.ag170-search-editing #agDetailsSearchForm{filter:none!important;backdrop-filter:none!important;z-index:13100!important;background:#fff!important}
  body.ag170-search-editing #hotelResultsForm *,body.ag170-search-editing #agDetailsSearchForm *{filter:none!important}

  /* Footer: keep the premium structure, remove the logo tile and excess top/bottom air. */
  footer.footer-new.ag170-footer-ready{margin:0!important;padding:0!important;min-height:0!important;background:var(--ag173-navy-deep)!important}
  .ag170-footer-mobile{padding-top:16px!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
  .ag170-footer-brand{padding-top:0!important}
  .ag170-footer-logo{width:auto!important;height:auto!important;min-width:0!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .ag173-footer-wordmark{display:inline-block;color:#fff;font:800 31px/1 var(--ag173-heading);letter-spacing:-.02em}.ag173-footer-wordmark>span{color:var(--ag173-orange)}
  .ag170-footer-bottom{padding-bottom:0!important}
  .hotel-details-page .details-main{padding-bottom:82px!important}
}

/* ------------------------------------------------------------------
   Mobile results card: visual first, then decision data, no dead space
   ------------------------------------------------------------------ */
@media(max-width:760px){
  .hotel-search-page .results-main>.wrap{width:calc(100% - 20px)!important}
  .hotel-search-page .results-toolbar{display:grid!important;gap:9px!important;margin-bottom:10px!important}
  .hotel-search-page .toolbar-actions{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:8px!important}
  .hotel-search-page .mobile-filter-button,.hotel-search-page .ag-sort-trigger{width:100%!important;min-height:50px!important;border-radius:12px!important}
  .hotel-search-page .ag63-filter-chips{margin:0 -2px 12px!important;padding:2px 2px 4px!important;display:flex!important;gap:7px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .hotel-search-page .ag63-filter-chip{flex:0 0 auto!important;min-height:45px!important;padding:0 13px!important;border-radius:999px!important}
  .hotel-search-page .hotel-card{display:block!important;min-height:0!important;border-radius:17px!important}
  .hotel-search-page .hotel-photo,.hotel-search-page .hotel-photo.ag63b-carousel{
    width:100%!important;height:clamp(218px,58vw,330px)!important;min-height:218px!important;aspect-ratio:16/10!important;
  }
  .hotel-search-page .ag63b-arrow{width:40px!important;height:40px!important;background:rgba(8,28,52,.72)!important}
  .hotel-search-page .hotel-content{padding:15px 15px 12px!important}
  .hotel-search-page .hotel-title{font-size:22px!important}
  .hotel-search-page .hotel-title-row{display:block!important}.hotel-search-page .hotel-stars{display:block!important;margin-top:6px!important}
  .hotel-search-page .hotel-distance-note{display:block!important;margin:5px 0 0!important;padding:0!important;border:0!important}
  .hotel-search-page .room-name{margin-top:12px!important}
  .hotel-search-page .offer-badges{margin-top:0!important;padding-top:12px!important}
  .hotel-search-page .offer-badge:nth-child(n+5){display:none!important}
  .hotel-search-page .hotel-price-panel{
    padding:12px 15px 15px!important;border-left:0!important;border-top:1px solid #e4eaf1!important;
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:end!important;gap:10px 14px!important;text-align:right!important;
  }
  .hotel-search-page .review-box{grid-column:1!important;grid-row:1!important;justify-content:flex-start!important;align-self:center!important}
  .hotel-search-page .review-copy{text-align:left!important}.hotel-search-page .review-score{order:-1!important}
  .hotel-search-page .price-block{grid-column:2!important;grid-row:1!important;margin:0!important;text-align:right!important}
  .hotel-search-page .price-nightly{font-size:22px!important}
  .hotel-search-page .availability-button{grid-column:1/-1!important;grid-row:2!important;min-height:52px!important;font-size:13px!important}
  .hotel-search-page .selected-hotel-badge,.hotel-search-page .alternative-reason{margin-bottom:9px!important}

  .ag173-flight-calendar:not([hidden]){left:0;right:0;bottom:0;top:auto;width:100%;max-height:92dvh;transform:none;border-radius:23px 23px 0 0;border-bottom:0;animation:ag173FlightIn .2s ease-out}
  @keyframes ag173FlightIn{from{transform:translateY(28px);opacity:.65}to{transform:translateY(0);opacity:1}}
  .ag173-flight-calendar>header{min-height:73px;padding:14px 15px}.ag173-flight-calendar>header h2{font-size:22px}
  .ag173-flight-cal-nav{padding-inline:13px}.ag173-flight-months{grid-template-columns:1fr;padding:10px 13px 16px}
  .ag173-flight-month:nth-child(2){display:none}.ag173-flight-day{width:43px;height:43px;font-size:13px}
  .ag173-flight-calendar>footer{padding:11px 14px calc(11px + env(safe-area-inset-bottom))}
}

@media(max-width:420px){
  .hotel-search-page .results-main>.wrap{width:calc(100% - 16px)!important}
  .hotel-search-page .toolbar-actions{grid-template-columns:116px minmax(0,1fr)!important}
  .hotel-search-page .hotel-photo,.hotel-search-page .hotel-photo.ag63b-carousel{height:220px!important;min-height:220px!important}
  .hotel-search-page .hotel-title{font-size:20px!important}
  .hotel-search-page .hotel-price-panel{grid-template-columns:1fr!important;align-items:stretch!important}
  .hotel-search-page .review-box,.hotel-search-page .price-block,.hotel-search-page .availability-button{grid-column:1!important;grid-row:auto!important}
  .hotel-search-page .price-block{text-align:left!important}.hotel-search-page .price-block>*{text-align:left!important}
  .ag173-pref-grid--currency{grid-template-columns:1fr 1fr}.ag173-pref-option{grid-template-columns:24px minmax(0,1fr) 18px;padding-inline:8px}.ag173-pref-option>img{width:22px;height:16px}
  .ag173-flight-day{width:40px;height:40px}
}

@media(prefers-reduced-motion:reduce){
  .ag173-pref-sheet:not([hidden]),.ag173-flight-calendar:not([hidden]){animation:none!important}
  body .nav-toggle span,body nav#nav #navLinks,.ag63b-track{transition:none!important;scroll-behavior:auto!important}
}
