/* Africa.Luxury v1.7.186 — Stay result tracks + sprite layout repair.
   Match the established Stay homepage desktop tracks:
   Search = 1200px; discovery/results = 1530px; only page heading may use 1900px. */

/* Inline SVG symbol libraries must never participate in page layout. */
.al-icon-sprite,
.sr-sprite{
  position:absolute!important;
  left:-10000px!important;
  top:-10000px!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  line-height:0!important;
}

@media (min-width:700px){
  /* The headless results page itself is full-width; each child chooses its
     proper Stay-home content track instead of inheriting one 1900px shell. */
  .sr-stays .sr-main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:10px 0 72px!important;
  }

  /* Only the contextual back/title row uses the wide desktop track. */
  .sr-stays .sr-page-heading{
    box-sizing:border-box!important;
    width:min(1900px,calc(100% - 48px))!important;
    max-width:1900px!important;
    margin:0 auto 10px!important;
    padding:0!important;
  }

  /* Exact Stay-home search width: public-home-v140 uses max-width 1200px. */
  .sr-stays .sr-search-wrap{
    box-sizing:border-box!important;
    width:min(1200px,calc(100% - 48px))!important;
    max-width:1200px!important;
    margin:0 auto!important;
    padding:0 0 12px!important;
  }
  .sr-stays .sr-search{
    box-sizing:border-box!important;
    width:100%!important;
    height:64px!important;
    min-height:64px!important;
    display:grid!important;
    grid-template-columns:1.05fr 1.28fr .76fr 148px!important;
    align-items:stretch!important;
    border:1px solid #e4e8ee!important;
    border-radius:999px!important;
    padding:7px 8px!important;
    background:#fff!important;
    box-shadow:0 11px 28px rgba(20,35,58,.16)!important;
    overflow:visible!important;
  }
  .sr-stays .sr-search-field{
    appearance:none!important;
    -webkit-appearance:none!important;
    height:auto!important;
    min-height:0!important;
    border:0!important;
    border-right:1px solid #dfe4ec!important;
    border-radius:0!important;
    background:transparent!important;
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    min-width:0!important;
    padding:3px 16px!important;
    text-align:left!important;
    box-shadow:none!important;
  }
  .sr-stays .sr-search-field+.sr-search-field:before{display:none!important}
  .sr-stays .sr-search-field>svg{
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
  }
  .sr-stays .sr-search-field strong{
    display:block!important;
    font-size:13px!important;
    line-height:1.08!important;
    font-weight:750!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .sr-stays .sr-search-field small{
    display:block!important;
    margin-top:4px!important;
    font-size:12px!important;
    line-height:1.05!important;
    color:#73819a!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .sr-stays .sr-search-submit{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 22px!important;
    border:0!important;
    border-radius:999px!important;
    background:var(--sr-gold)!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:780!important;
    white-space:nowrap!important;
  }
  .sr-stays .sr-search-submit svg{width:20px!important;height:20px!important;flex:0 0 20px!important}

  /* Stay homepage browse/discovery content track is 1530px. The amenities,
     quick controls and sidebar/results grid all align to this same track. */
  .sr-stays .sr-stay-amenities,
  .sr-stays .sr-quickbar,
  .sr-stays .sr-layout{
    box-sizing:border-box!important;
    width:min(1530px,calc(100% - 48px))!important;
    max-width:1530px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .sr-stays .sr-stay-amenities{margin-top:0!important;margin-bottom:14px!important}
  .sr-stays .sr-quickbar{margin-top:0!important;margin-bottom:20px!important}
  .sr-stays .sr-layout{
    grid-template-columns:320px minmax(0,1fr)!important;
    gap:28px!important;
  }
  .sr-stays .sr-filters{top:84px!important;max-height:calc(100vh - 104px)!important}
}

@media (min-width:700px) and (max-width:1200px){
  .sr-stays .sr-page-heading,
  .sr-stays .sr-search-wrap,
  .sr-stays .sr-stay-amenities,
  .sr-stays .sr-quickbar,
  .sr-stays .sr-layout{width:calc(100% - 32px)!important}
  .sr-stays .sr-layout{grid-template-columns:280px minmax(0,1fr)!important;gap:20px!important}
}
