/* Africa.Luxury 1.7.503 — mobile-only gentle continuous soft UI and room swipe affordance.
 * This override loads after v502. It intentionally makes no DOM or layout changes to desktop.
 */
@media (max-width:699px) {
  body.al-hp-body {
    --al503-tone: #f9f9f8;
    --al503-ink: #0a2b43;
    --al503-raised: 7px 9px 19px rgba(39, 45, 49, .135),
                    -7px -8px 20px rgba(255,255,255,.99),
                    inset 0 1px 2px rgba(255,255,255,.8);
    --al503-pressed: inset 4px 5px 10px rgba(44, 50, 54, .19),
                     inset -4px -5px 10px rgba(255,255,255,.98);
    background:linear-gradient(180deg,#fdfcfb 0%,#f9f9f8 42%,#fff 100%)!important;
  }
  body.al-hp-body .al462-mobile-header,
  body.al-hp-body .al462-mobile-home {
    background:transparent!important;
  }

  /* Soft, seamless floating bell and avatar, on the SAME surface as the search.
     Reduce visible borders and avoid the grey halo/ridge from previous releases. */
  body.al-hp-body .al462-mobile-header {gap:10px!important;padding-bottom:8px!important;}
  body.al-hp-body .al462-mobile-header .al462-notification,
  body.al-hp-body .al462-mobile-header .al496-mobile-avatar {
    background:linear-gradient(142deg,#ffffff 4%,#f8f8f7 96%)!important;
    border:1px solid rgba(255,255,255,.72)!important;
    box-shadow: 6px 8px 18px rgba(29,41,48,.12),
                -6px -6px 16px rgba(255,255,255,.98),
                inset 0 1px 2px #fff!important;
    transition:box-shadow .2s ease,background .2s ease!important;
  }
  body.al-hp-body .al462-mobile-header .al462-notification:active,
  body.al-hp-body .al462-mobile-header .al496-mobile-avatar:active {
    background:var(--al503-tone)!important;
    box-shadow:var(--al503-pressed)!important;
  }

  /* One continuous floating search bar: no cool-grey outline or double lip. */
  body.al-hp-body .al462-mobile-home .al462-mobile-copy {margin-bottom:13px!important;}
  body.al-hp-body .al462-mobile-home .al462-search-row {
    background:linear-gradient(145deg,#fff,#faf9f8)!important;
    border:1px solid rgba(255,255,255,.85)!important;
    border-radius:999px!important;
    box-shadow:11px 12px 26px rgba(28,38,44,.125),
               -10px -10px 24px rgba(255,255,255,.98),
               inset 0 1px 2px rgba(255,255,255,.9)!important;
    margin-bottom:13px!important;
  }
  body.al-hp-body .al462-mobile-home .al462-search-filter {
    background:linear-gradient(142deg,#fff,#f9f9f8)!important;
    border:1px solid rgba(255,255,255,.78)!important;
    box-shadow: 4px 5px 12px rgba(33,44,49,.14),
                -4px -4px 11px rgba(255,255,255,.98),
                inset 0 1px 1px rgba(255,255,255,.98)!important;
  }
  body.al-hp-body .al462-mobile-home .al462-search-filter:active,
  body.al-hp-body .al462-mobile-home .al462-search-filter[aria-expanded="true"] {
    background:#f6f5f4!important;
    box-shadow:var(--al503-pressed)!important;
  }

  /* Airbnb-like physical soft keys, with gently-blended shadows and NO hard rings.
     Distinguish a true inset selected chip from merely dark fill. */
  body.al-hp-body .al462-mobile-home .al462-filter-strip {
    gap:10px!important;
    padding:4px 5px 10px!important;
    margin:0 -5px!important;
    scroll-padding-inline:5px!important;
  }
  body.al-hp-body .al462-mobile-home .al462-filter-pill,
  body.al-hp-body .al462-mobile-home .al462-filter-pill:not(.is-active) {
    background:linear-gradient(145deg,#fff,#f8f8f7)!important;
    border:1px solid rgba(255,255,255,.78)!important;
    box-shadow:var(--al503-raised)!important;
    color:var(--al503-ink)!important;
    transform:none!important;
    flex-shrink:0!important;
  }
  body.al-hp-body .al462-mobile-home .al462-filter-pill.is-active,
  body.al-hp-body .al462-mobile-home .al462-filter-pill[aria-pressed="true"] {
    background:linear-gradient(155deg,#092e49,#061e31)!important;
    border:1px solid rgba(7,33,52,.18)!important;
    color:#fff!important;
    box-shadow:inset 5px 6px 11px rgba(0,10,19,.46),
               inset -4px -5px 10px rgba(65,103,131,.28),
               2px 4px 10px rgba(24,41,49,.11)!important;
    transform:none!important;
  }
  body.al-hp-body .al462-mobile-home .al462-filter-pill:active:not(.is-active) {
    background:#f7f7f5!important;
    box-shadow:var(--al503-pressed)!important;
  }

  /* Avoid chip row butting against the first section; preserve compact viewport. */
  body.al-hp-body .al-home-shelves {padding-top:11px!important;gap:25px!important;}
  body.al-hp-body .al-shelf-heading {margin-bottom:12px!important;}

  /* Card material matches the warm white control surfaces. */
  body.al-hp-body #al-featured-properties .al-shelf-card.al-shelf-property {
    border:1px solid rgba(255,255,255,.80)!important;
    background:#fff!important;
    box-shadow:8px 11px 25px rgba(33,44,49,.105),
               -6px -7px 19px rgba(255,255,255,.98)!important;
  }
  body.al-hp-body .al-shelf-stay .al-shelf-share,
  body.al-hp-body .al-shelf-stay .al-shelf-save,
  body.al-hp-body #al-featured-properties .al-shelf-property .al-shelf-share,
  body.al-hp-body #al-featured-properties .al-shelf-property .al-shelf-save {
    background:linear-gradient(145deg,#fff,#faf9f8)!important;
    border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:4px 6px 14px rgba(28,44,54,.145),
               -3px -4px 10px rgba(255,255,255,.92)!important;
  }
  body.al-hp-body .al-shelf-stay .al-shelf-save[aria-pressed="true"],
  body.al-hp-body #al-featured-properties .al-shelf-property .al-shelf-save[aria-pressed="true"] {
    background:#b98536!important;
    box-shadow:inset 3px 4px 8px rgba(68,43,10,.35)!important;
  }

  /* Room shelves: the same subtle swipe cue as Featured Properties, with
     tap-able dots and no overlay on the images or price line. */
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al503-room-guide {
    display:flex;align-items:center;justify-content:space-between;
    gap:10px;padding:7px 3px 0;margin:0;color:#718092;
    font-size:11px;font-weight:600;line-height:1.3;
  }
  body.al-hp-body .al-home-shelf:not(#al-featured-properties) .al503-room-hint {
    display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  }
  body.al-hp-body .al503-room-hint svg {
    width:17px;height:17px;stroke:#b88638;fill:none;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }
  body.al-hp-body .al503-room-dots {
    display:flex;align-items:center;justify-content:flex-end;
    flex-wrap:nowrap;gap:4px;min-width:0;max-width:65%;
  }
  body.al-hp-body .al503-room-dot {
    appearance:none;border:0;padding:0;width:17px;height:22px;
    background:transparent;position:relative;border-radius:99px;
    flex:0 0 17px;cursor:pointer;touch-action:manipulation;
  }
  body.al-hp-body .al503-room-dot::after {
    content:"";display:block;position:absolute;left:5px;top:7px;
    width:7px;height:7px;border-radius:100px;background:#cbd1d8;
    transition:background-color .2s ease,width .2s ease,left .2s ease;
  }
  body.al-hp-body .al503-room-dot.is-current::after {
    width:11px;left:3px;background:#b78538;
    box-shadow:0 0 0 2px #f3eadd;
  }
  body.al-hp-body .al503-room-dot:focus-visible {
    outline:2px solid #bb8431;outline-offset:2px;
  }
  /* 8+ rooms: indicators scroll gently rather than shrinking to a tiny line. */
  body.al-hp-body .al503-room-dots.is-many {
    overflow-x:auto;scrollbar-width:none;justify-content:flex-start;
  }
  body.al-hp-body .al503-room-dots.is-many::-webkit-scrollbar {display:none;}
}
@media(min-width:700px){.al503-room-guide{display:none!important;}}
@media(max-width:370px){
  body.al-hp-body .al462-mobile-home .al462-filter-strip{gap:8px!important;}
  body.al-hp-body .al503-room-dots{max-width:58%;}
}
@media(prefers-reduced-motion:reduce){
  body.al-hp-body .al503-room-dot::after,
  body.al-hp-body .al462-filter-pill,
  body.al-hp-body .al462-notification,
  body.al-hp-body .al496-mobile-avatar{transition:none!important;}
}
@media(max-width:699px){
  body.al-hp-body .al-home-shelf .al503-room-guide[hidden]{display:none!important;}
}
