/* Scoped fixes: map selection, full-screen mobile map, supplier text and Rewards. */
.hotel-map-mobile-header{display:none}
.hotel-map-layout{min-width:0}
.hotel-map-sidebar .hotel-map-list-card{min-width:0}
.hotel-map-sidebar .hotel-map-list-body{min-width:0;overflow:visible}
.hotel-map-sidebar .hotel-map-list-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;align-items:stretch}
.hotel-map-sidebar .hotel-map-list-price{min-width:0}
.hotel-map-sidebar .hotel-map-list-price strong{display:block;overflow-wrap:anywhere}
.hotel-map-sidebar .hotel-map-list-cta{display:inline-flex!important;align-items:center;justify-content:center;position:relative;visibility:visible!important;opacity:1!important;width:100%;max-width:100%;min-width:0;min-height:44px;white-space:normal;line-height:1.3;text-align:center;z-index:1}
.hotel-map-sidebar .hotel-map-list-cta:focus-visible,.hotel-map-close:focus-visible{outline:3px solid #aa58ef;outline-offset:2px}
.hotel-booking-room-group .hotel-supplier-information,.hotel-booking-policy .hotel-supplier-policy-copy{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;text-align:start}
.hotel-supplier-language{display:block;font-size:11px;color:var(--muted);margin-block:6px 0}
.hotel-important-information{border-inline-start:3px solid var(--primary);background:var(--surface2);padding:16px;border-radius:12px}
.hotel-important-information h3{margin-block:0 10px}
.hotel-important-information p{margin-bottom:0}
.hotel-booking-process-note{margin-top:14px}
.hotel-rewards-note{display:grid;gap:7px;border:1px solid var(--border);border-radius:13px;padding:14px 16px;background:var(--surface2);margin-block:15px}
.hotel-rewards-note strong{color:var(--primary);font-size:15px}
.hotel-rewards-note p{margin:0;font-size:13px;line-height:1.7}
.hotel-rewards-note a{font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px;justify-self:start;color:var(--primary)}
.hotel-rewards-note a:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
/* Desktop map cards are scroll items, NOT rows to compress into the capped sidebar.
   Keep the entire room-price/details action within each card; scroll the sidebar instead. */
@media(min-width:791px){
 .hotel-map-layout .hotel-map-sidebar{grid-auto-rows:max-content;align-content:start;overflow-y:auto}
 .hotel-map-layout .hotel-map-list-card{height:auto;min-height:226px;grid-template-rows:max-content;align-items:stretch}
 .hotel-map-layout .hotel-map-list-body{height:auto;min-height:max-content;overflow:visible}
 .hotel-map-layout .hotel-map-list-bottom{margin-top:auto;padding-bottom:3px}
}
@media(max-width:790px){
 body.hotel-map-mobile-open{overflow:hidden!important;overscroll-behavior:none}
 body.hotel-map-mobile-open .hotel-map-layout{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;z-index:9050;background:var(--surface);display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) minmax(145px,34dvh);gap:0;overflow:hidden;padding:0;padding-bottom:env(safe-area-inset-bottom)}
 body.hotel-map-mobile-open .hotel-map-mobile-header{grid-row:1;display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:64px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));border-bottom:1px solid var(--border);background:var(--surface);z-index:2}
 .hotel-map-mobile-header strong{font-size:18px}
 .hotel-map-close{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--surface2);border-radius:10px;padding:9px 12px;min-height:44px;min-width:44px;font-weight:800;color:var(--text)}
 body.hotel-map-mobile-open .hotel-map-shell{grid-row:2;order:2;height:100%;min-height:0!important;min-width:0;width:100%;border-radius:0}
 body.hotel-map-mobile-open .hotel-map-sidebar{grid-row:3;order:3;display:flex!important;align-items:stretch;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;max-height:none!important;min-height:0;padding:10px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));border-top:1px solid var(--border);background:var(--surface);border-radius:0}
 body.hotel-map-mobile-open .hotel-map-switch{display:none!important}
 body.hotel-map-mobile-open .hotel-map-list-card{flex:0 0 min(310px,84vw);width:min(310px,84vw);height:100%;min-height:0;max-height:100%;scroll-snap-align:start;grid-template-columns:85px minmax(0,1fr);overflow:hidden}
 body.hotel-map-mobile-open .hotel-map-list-photo,body.hotel-map-mobile-open .hotel-map-list-photo>img{height:100%;min-height:0;max-height:none;object-fit:cover}
 body.hotel-map-mobile-open .hotel-map-list-body{display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding:8px 9px}
 body.hotel-map-mobile-open .hotel-map-list-body h3{font-size:13px;line-height:1.2;margin:0}
 body.hotel-map-mobile-open .hotel-map-list-body .hotel-result-address{font-size:11px;margin:0}
 body.hotel-map-mobile-open .hotel-map-list-body .hotel-stars{font-size:11px}
 body.hotel-map-mobile-open .hotel-map-list-bottom{margin-top:auto;gap:3px;padding-top:4px}
 body.hotel-map-mobile-open .hotel-map-list-price small{font-size:10px}
 body.hotel-map-mobile-open .hotel-map-list-price strong{font-size:14px}
 body.hotel-map-mobile-open .hotel-map-list-cta{min-height:40px;padding:5px 8px;font-size:12px}
 body.hotel-map-mobile-open .hotel-map-shell .maplibregl-popup{max-width:calc(100vw - 32px)}
}
@media(max-width:360px){
 body.hotel-map-mobile-open .hotel-map-layout{grid-template-rows:auto minmax(0,1fr) minmax(155px,38dvh)}
 body.hotel-map-mobile-open .hotel-map-list-card{flex-basis:89vw;width:89vw;grid-template-columns:72px minmax(0,1fr)}
 body.hotel-map-mobile-open .hotel-map-list-body .hotel-result-address{display:none}
}
@media(max-height:640px) and (max-width:790px){
 body.hotel-map-mobile-open .hotel-map-layout{grid-template-rows:54px minmax(0,1fr) minmax(135px,40dvh)}
 body.hotel-map-mobile-open .hotel-map-mobile-header{min-height:54px;padding-block:4px}
}

/* Prevent long localized consent labels and review CTAs clipping on small screens. */
.hotel-checkout-page [data-form="hotel-booking-review"]{min-width:0;max-width:100%}
.hotel-checkout-page .hotel-booking-checkbox{min-width:0;max-width:100%;align-items:flex-start;overflow-wrap:anywhere}
.hotel-checkout-page .hotel-booking-checkbox>span{min-width:0;flex:1 1 auto;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.7}
.hotel-checkout-page .hotel-booking-checkbox input{flex:0 0 20px;width:20px;height:20px}
.hotel-checkout-page [data-form="hotel-booking-review"] button[type=submit]{width:100%;max-width:100%;min-width:0;white-space:normal;line-height:1.5;padding:12px;overflow-wrap:anywhere;text-align:center}
