/* Africa.Luxury v1.7.498 — compact mobile top-of-page, preserving readable controls.
 * Loaded after 1.7.496 / 1.7.497; limited to mobile homepage/service intro.
 */
@media (max-width:699px) {
  /* Header logo, notification and avatar stay tappable without wasted height. */
  body.al-hp-body .al462-mobile-header {
    min-height:58px!important;
    padding:7px 14px 4px!important;
    gap:5px!important;
  }
  body.al-hp-body .al462-official-logo {
    height:36px!important;
    max-width:min(54vw,188px)!important;
  }
  body.al-hp-body .al462-notification,
  body.al-hp-body .al496-mobile-avatar {
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }
  /* Compress whitespace in the introductory copy, not the input's touch target. */
  body.al-hp-body .al462-mobile-home {
    padding:0 14px 1px!important;
    margin:0!important;
  }
  body.al-hp-body .al462-mobile-copy {margin:0 0 9px!important}
  body.al-hp-body .al462-mobile-copy h1 {
    font-size:clamp(23px,6.3vw,29px)!important;
    line-height:1.11!important;
    letter-spacing:-.035em!important;
    margin:0!important;
  }
  body.al-hp-body .al462-mobile-copy p {
    font-size:clamp(12px,3.35vw,14px)!important;
    line-height:1.23!important;
    margin:3px 0 0!important;
  }
  body.al-hp-body .al462-search-row {
    height:51px!important;
    min-height:51px!important;
    padding:4px 6px 4px 13px!important;
    margin:0 0 7px!important;
    border-radius:28px!important;
  }
  body.al-hp-body .al462-search-main {gap:9px!important}
  body.al-hp-body .al462-search-main svg {
    width:23px!important;height:23px!important;flex-basis:23px!important;
  }
  body.al-hp-body .al462-search-filter {
    width:42px!important;height:42px!important;flex-basis:42px!important;
  }
  body.al-hp-body .al462-filter-strip {
    gap:5px!important;
    padding:1px 1px 4px!important;
    margin:0 -1px!important;
  }
  body.al-hp-body .al462-filter-pill {
    height:36px!important;
    min-height:36px!important;
    padding:0 9px!important;
    font-size:11.5px!important;
    box-shadow:0 2px 8px rgba(14,31,52,.045)!important;
  }
  /* Headings and cards start nearer the filters; don't change card aspect ratios. */
  body.al-hp-body .al-discovery {
    padding-top:0!important;
    margin-top:0!important;
  }
  body.al-hp-body .al-home-shelves {
    padding-top:5px!important;
    gap:21px!important;
  }
  body.al-hp-body .al-shelf-heading {
    margin-bottom:9px!important;
  }
  body.al-hp-body .al-shelf-heading h2 {
    font-size:clamp(17px,4.7vw,21px)!important;
    line-height:1.2!important;
  }
  /* Three-tab dock remains separate; clear space below listings for final cards. */
  body.al-hp-body #alx-main-content {
    padding-bottom:calc(138px + env(safe-area-inset-bottom,0px))!important;
  }
}
@media(max-width:370px) {
  body.al-hp-body .al462-mobile-header {min-height:55px!important;padding:5px 11px 3px!important}
  body.al-hp-body .al462-mobile-home {padding-left:12px!important;padding-right:12px!important}
  body.al-hp-body .al462-mobile-copy h1 {font-size:23px!important}
  body.al-hp-body .al462-mobile-copy p {font-size:12px!important}
  body.al-hp-body .al-home-shelves {padding-top:3px!important}
}
