/* Africa.Luxury v1.7.500 | mobile-only filter affordance, scroll dock, room density */
@media (max-width:699px) {
  /* Filter chip: the selected control rests inset, like a physical depressed key.
     Keep the existing search/filter popup and selection behaviour untouched. */
  .al462-mobile-home .al462-filter-pill {
    position:relative!important;
    transform:translateY(0);
    transition:transform .13s ease, background-color .13s ease, box-shadow .13s ease, border-color .13s ease!important;
    box-shadow:0 3px 0 #e1e6ec,0 5px 10px rgba(7,31,52,.07)!important;
  }
  .al462-mobile-home .al462-filter-pill.is-active,
  .al462-mobile-home .al462-filter-pill[aria-pressed="true"] {
    transform:translateY(2px)!important;
    background:#09283f!important;
    border-color:#09283f!important;
    color:#fff!important;
    box-shadow:inset 0 3px 8px rgba(0,0,0,.29),0 1px 1px rgba(7,31,52,.07)!important;
  }
  .al462-mobile-home .al462-filter-pill:active {
    transform:translateY(3px)!important;
    box-shadow:inset 0 3px 8px rgba(0,0,0,.19)!important;
  }
  .al462-mobile-home .al462-filter-pill:focus-visible {
    outline:2px solid #bb842b!important;outline-offset:3px!important;
  }
  /* Fixed mobile nav should disappear while scrolling down and return up.
     Do not remove reserved document bottom space or interfere with taps. */
  .al462-mobile-dock.al496-mobile-dock,
  .al464-mobile-dock.al496-mobile-dock[data-al464-active] {
    transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .22s ease,visibility .22s ease!important;
    transform:translate3d(0,0,0)!important;
    will-change:transform;
  }
  .al462-mobile-dock.al496-mobile-dock.al500-dock-hidden,
  .al464-mobile-dock.al496-mobile-dock[data-al464-active].al500-dock-hidden {
    transform:translate3d(0,calc(100% + 32px + env(safe-area-inset-bottom,0px)),0)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  /* Room cards remain two across. Allow up to three title lines without
     reserving empty space beneath short names. */
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al-shelf-stay .al-room-name,
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al-shelf-stay .al-shelf-name {
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    line-clamp:3;
    white-space:normal!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
    max-height:calc(3 * 1.25em)!important;
    height:auto!important;min-height:0!important;
    margin:0 0 4px!important;
    line-height:1.25!important;
    font-size:clamp(11px,3.35vw,13px)!important;
  }
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al-shelf-stay .al-room-info,
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al-shelf-stay .al-shelf-info {
    display:flex!important; flex-direction:column!important;gap:0!important;
    align-items:stretch!important;justify-content:flex-start!important;
    padding:6px 1px 0!important;margin:0!important;
    height:auto!important;min-height:0!important;
  }
  /* Rate / capacity / review: a compact single line just below title. */
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al-shelf-stay .al-room-meta {
    display:flex!important; flex-wrap:nowrap!important;
    align-items:baseline!important;justify-content:space-between!important;
    gap:3px!important; width:100%!important;min-width:0!important;
    white-space:nowrap!important;margin:0!important;padding:0!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    font-size:clamp(9px,2.55vw,11px)!important;
    line-height:1.24!important;
  }
  body.al-hp-body .al-shelf-stay .al-room-price,
  body.al-hp-body .al-shelf-stay .al-room-price strong,
  body.al-hp-body .al-shelf-stay .al-room-checkrates,
  body.al-hp-body .al-shelf-stay .al500-guests,
  body.al-hp-body .al-shelf-stay .al467-room-rating,
  body.al-hp-body .al-shelf-stay .al467-room-rating strong {
    font-size:inherit!important;line-height:1.24!important;
    margin:0!important;padding:0!important;
    min-height:0!important;height:auto!important;
    white-space:nowrap!important;letter-spacing:-.035em!important;
  }
  body.al-hp-body .al-shelf-stay .al-room-price,
  body.al-hp-body .al-shelf-stay .al-room-checkrates {
    display:inline-flex!important;gap:0!important;min-width:0!important;
    align-items:baseline!important;flex:0 1 auto!important;
  }
  body.al-hp-body .al-shelf-stay .al-room-price>span {display:none!important;} /* /night visually omitted; title retains nightly context */
  body.al-hp-body .al-shelf-stay .al500-guests {
    display:inline-flex!important;align-items:baseline!important;
    color:#6d7685!important;font-weight:500!important;flex:0 0 auto!important;
  }
  body.al-hp-body .al-shelf-stay .al500-guests::before {
    content:"·";display:inline-block;margin-right:3px;color:#8f9baa;
  }
  body.al-hp-body .al-shelf-stay .al467-room-rating {
    display:inline-flex!important;align-items:baseline!important;gap:1px!important;
    color:#6d7685!important;flex:0 0 auto!important;min-width:0!important;
  }
  body.al-hp-body .al-shelf-stay .al467-room-rating::before {content:"·"!important;margin-right:2px!important;}
  body.al-hp-body .al-shelf-stay .al467-room-rating .alx-google-rating-star {font-size:inherit!important;}
  body.al-hp-body .al-shelf-stay .al467-room-rating .alx-google-rating-context {display:none!important;}
  body.al-hp-body .al-shelf-stay .al-shelf-card,body.al-hp-body .al-shelf-card.al-shelf-stay {min-width:0!important;}
}
@media (max-width:365px) {
  body.al-hp-body .al-shelf-stay .al-room-meta {font-size:9px!important;gap:2px!important;}
  body.al-hp-body .al-shelf-stay .al500-guests::before,
  body.al-hp-body .al-shelf-stay .al467-room-rating::before {margin-right:1px!important;}
}
@media (prefers-reduced-motion:reduce) {
  .al462-mobile-home .al462-filter-pill,
  .al462-mobile-dock.al496-mobile-dock {transition:none!important;}
}
