/* Africa.Luxury v1.7.257 — premium Stay Filters modal, based on approved reference. */

/* Base overlay */
.al-mf-v255{color:#132444;font-family:var(--al-font-body,'Lato',system-ui,sans-serif)!important}
.al-mf-v255 .al-mf-scrim{background:rgba(18,30,48,.53)!important;backdrop-filter:blur(5px)!important}
.al-mf-v255 .al-mf-sheet{background:#fff!important}
.al-mf-v255 button,.al-mf-v255 input{font-family:inherit}

/* Desktop premium modal */
@media(min-width:700px){
 body.al-mf-open{overflow:hidden!important}
 .al-mf-v255{display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;box-sizing:border-box}
 .al-mf-v255[hidden]{display:none!important}
 .al-mf-v255 .al-mf-sheet{
  width:min(780px,calc(100vw - 36px))!important;max-width:780px!important;
  height:min(94dvh,1000px)!important;max-height:calc(100dvh - 36px)!important;
  margin:0!important;border:1px solid rgba(224,229,235,.9)!important;border-radius:24px!important;
  overflow:hidden!important;box-shadow:0 28px 86px rgba(10,25,45,.28)!important;
 }
 .al-mf-v255 .al-mf-header{
  height:66px!important;min-height:66px!important;padding:0 20px!important;
  display:grid!important;grid-template-columns:160px 1fr 160px!important;align-items:center!important;
  border-bottom:1px solid #e8ecf0!important;background:#fff!important;z-index:3!important;
 }
 .al-mf-v255 .al-mf-header h2{
  margin:0!important;text-align:center!important;color:#132444!important;
  font:600 22px/1.15 var(--al-font-ui,'Poppins',sans-serif)!important;letter-spacing:-.025em!important;
 }
 .al-mf-v255 .al-mf-close{
  justify-self:start!important;width:38px!important;height:38px!important;padding:0!important;
  display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#132444!important;font-size:28px!important;font-weight:300!important;
 }
 .al-mf-v255 .al-mf-close:hover{background:#f5f7f9!important}
 .al-mf-v255 .al-mf-reset-all{
  justify-self:end!important;width:auto!important;height:38px!important;padding:0 2px!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;border:0!important;background:transparent!important;
  color:var(--al-gold,#aa792e)!important;font:600 12px/1 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-reset-all span{font-size:19px;font-weight:400;line-height:1}

 .al-mf-v255 .al-mf-scroll{padding:0 30px 12px!important;scrollbar-width:thin!important;scrollbar-color:#cad1d9 transparent!important}
 .al-mf-v255 .al-mf-group{padding:24px 0!important;border-bottom:1px solid #e6eaee!important}
 .al-mf-v255 .al-mf-group h3,.al-mf-v255 .al-mf-section-heading h3{
  margin:0 0 4px!important;color:#132444!important;font:600 19px/1.22 var(--al-font-ui,'Poppins',sans-serif)!important;letter-spacing:-.025em!important;
 }
 .al-mf-v255 .al-mf-group p,.al-mf-v255 .al-mf-section-heading p{
  margin:0!important;color:#67768a!important;font:400 12px/1.45 var(--al-font-body,'Lato',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-section-heading{margin-bottom:14px}

 /* Price range: explanatory content left, distribution right, controls below. */
 .al-mf-v255 .al-mf-price{
  display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
  grid-template-areas:'copy chart' 'range range'!important;gap:16px 28px!important;align-items:start!important;
 }
 .al-mf-v255 .al-mf-price-copy{grid-area:copy;padding-top:2px}
 .al-mf-v255 .al-mf-price-copy>h3{margin-bottom:5px!important}
 .al-mf-v255 .al-mf-price-copy>p:not(.al-mf-price-average){max-width:330px}
 .al-mf-v255 .al-mf-price-copy>strong{
  display:block!important;margin:16px 0 4px!important;color:#132444!important;
  font:600 20px/1.15 var(--al-font-ui,'Poppins',sans-serif)!important;letter-spacing:-.03em!important;
 }
 .al-mf-v255 .al-mf-price-average{margin:0!important;color:#718096!important;font-size:12px!important}
 .al-mf-v255 .al-mf-price-chart{
  grid-area:chart!important;margin:0!important;padding:13px 14px 9px!important;
  min-height:143px!important;border:1px solid #dfe5eb!important;border-radius:16px!important;background:#fbfcfd!important;
 }
 .al-mf-v255 .al-mf-histogram{height:100px!important;gap:5px!important;border-bottom:1px solid #cbd3dc!important}
 .al-mf-v255 .al-mf-hist-bar-area{height:74px!important;gap:3px!important}
 .al-mf-v255 .al-mf-hist-bar{background:linear-gradient(180deg,#d7aa58 0%,#b98631 100%)!important;border-radius:6px 6px 0 0!important}
 .al-mf-v255 .al-mf-hist-count{color:#9a6e29!important;font-size:10px!important}
 .al-mf-v255 .al-mf-hist-price{color:#647286!important;font-size:10px!important}
 .al-mf-v255 .al-mf-chart-description{margin:7px 0 0!important;text-align:center!important;color:#748196!important;font-size:10px!important}
 .al-mf-v255 .al-mf-hist-cell.is-outside{opacity:.3!important}

 .al-mf-v255 .al-mf-range{grid-area:range!important;position:relative!important;padding-top:0!important;margin-top:1px!important}
 .al-mf-v255 .al-mf-range-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;align-items:end!important}
 .al-mf-v255 .al-mf-range-fields label{display:block!important;color:#647286!important;font-size:11px!important}
 .al-mf-v255 .al-mf-range-fields label:last-child{text-align:right!important}
 .al-mf-v255 .al-mf-range-fields label span{display:block;margin-bottom:5px}
 .al-mf-v255 .al-mf-range-fields output{
  width:100%!important;max-width:120px!important;min-height:36px!important;padding:8px 12px!important;box-sizing:border-box!important;
  display:block!important;border:1px solid #d8e0e7!important;border-radius:10px!important;background:#fff!important;
  color:#20364f!important;font:600 12px/1.2 var(--al-font-ui,'Poppins',sans-serif)!important;text-align:left!important;
 }
 .al-mf-v255 .al-mf-range-fields label:last-child output{margin-left:auto;text-align:right!important}
 .al-mf-v255 .al-mf-dual-range{position:relative;height:26px;margin-top:0}
 .al-mf-v255 .al-mf-dual-range:before{
  content:'';position:absolute;left:0;right:0;top:12px;height:4px;border-radius:999px;background:#e2e6ea;
 }
 .al-mf-v255 .al-mf-dual-range input[type=range]{
  position:absolute!important;inset:0!important;width:100%!important;height:26px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;appearance:none!important;pointer-events:none!important;z-index:2!important;
 }
 .al-mf-v255 .al-mf-dual-range input[type=range]::-webkit-slider-runnable-track{height:4px;background:transparent;border:0}
 .al-mf-v255 .al-mf-dual-range input[type=range]::-moz-range-track{height:4px;background:transparent;border:0}
 .al-mf-v255 .al-mf-dual-range input[type=range]::-webkit-slider-thumb{
  appearance:none;width:22px;height:22px;margin-top:-9px;border:2px solid #fff;border-radius:50%;background:#b9842e;box-shadow:0 1px 4px rgba(30,45,65,.28);pointer-events:auto;cursor:pointer;
 }
 .al-mf-v255 .al-mf-dual-range input[type=range]::-moz-range-thumb{
  width:20px;height:20px;border:2px solid #fff;border-radius:50%;background:#b9842e;box-shadow:0 1px 4px rgba(30,45,65,.28);pointer-events:auto;cursor:pointer;
 }
 .al-mf-v255 .al-mf-quiet{margin-top:2px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a672e!important;font-size:11px!important;text-decoration:underline!important}
 .al-mf-v255 .al-mf-quiet[hidden]{display:none!important}

 /* Room type pills */
 .al-mf-v255 .al-mf-types{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
 .al-mf-v255 .al-mf-type{
  min-height:42px!important;padding:8px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #dbe2e8!important;border-radius:999px!important;background:#fff!important;color:#223852!important;box-shadow:none!important;
  text-align:center!important;font:500 12px/1.2 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-type small{display:none!important}
 .al-mf-v255 .al-mf-type:hover{border-color:#c9d1d9!important;background:#fafbfc!important}
 .al-mf-v255 .al-mf-type.is-selected{border-color:#b8822d!important;background:linear-gradient(180deg,#c4933e 0%,#ad7928 100%)!important;color:#fff!important}

 /* Rooms/beds/bathrooms in three equal columns */
 .al-mf-v255 .al-mf-numbers{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}
 .al-mf-v255 .al-mf-number{min-width:0;padding:0 18px!important;border-right:1px solid #e1e6eb!important}
 .al-mf-v255 .al-mf-number:first-child{padding-left:0!important}
 .al-mf-v255 .al-mf-number:last-child{padding-right:0!important;border-right:0!important}
 .al-mf-v255 .al-mf-number h4{
  margin:0 0 10px!important;display:flex!important;align-items:center!important;gap:7px!important;color:#253a55!important;
  font:500 12px/1.3 var(--al-font-ui,'Poppins',sans-serif)!important;white-space:nowrap!important;
 }
 .al-mf-v255 .al-mf-number-icon{width:18px!important;height:18px!important;stroke-width:1.8!important;color:#243b58!important}
 .al-mf-v255 .al-mf-chips{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important}
 .al-mf-v255 .al-mf-chip{
  min-width:36px!important;height:34px!important;padding:0 8px!important;border:1px solid #dae1e8!important;border-radius:999px!important;
  background:#fff!important;color:#324861!important;font:500 11px/1 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-chip.is-selected{border-color:#b8822d!important;background:#b8822d!important;color:#fff!important}

 /* Amenities as premium 4-column tiles */
 .al-mf-v255 .al-mf-amenities{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
 .al-mf-v255 .al-mf-amenity{
  position:relative!important;min-width:0!important;min-height:50px!important;padding:9px 12px!important;
  display:flex!important;align-items:center!important;border:1px solid #dce3e9!important;border-radius:12px!important;background:#fff!important;
  color:#263b56!important;text-align:left!important;box-shadow:none!important;
 }
 .al-mf-v255 .al-mf-amenity:hover{border-color:#c7d0d9!important;background:#fafbfc!important}
 .al-mf-v255 .al-mf-amenity.is-selected{border-color:#c5964b!important;background:#fffaf1!important;box-shadow:inset 0 0 0 1px rgba(181,129,44,.16)!important}
 .al-mf-v255 .al-mf-amenity-main{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
 .al-mf-v255 .al-mf-amenity-icon{width:21px!important;height:21px!important;flex:0 0 21px!important;color:#19334f!important;stroke-width:1.8!important}
 .al-mf-v255 .al-mf-amenity-copy{min-width:0!important}
 .al-mf-v255 .al-mf-amenity-copy>span{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font:500 12px/1.2 var(--al-font-ui,'Poppins',sans-serif)!important}
 .al-mf-v255 .al-mf-amenity-copy small{display:none!important}
 .al-mf-v255 .al-mf-check{position:absolute!important;right:6px!important;top:5px!important;color:#ad7928!important;font-size:11px!important}

 /* Properties remain available because they are real search criteria, but visually lighter. */
 .al-mf-v255 .al-mf-properties{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .al-mf-v255 .al-mf-property{
  min-height:46px!important;padding:8px 10px!important;border:1px solid #dde4ea!important;border-radius:11px!important;background:#fff!important;color:#263b56!important;
  text-align:left!important;font:500 11.5px/1.25 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-property small{display:block!important;margin-top:2px!important;color:#8691a0!important;font-size:10px!important;font-weight:400!important}
 .al-mf-v255 .al-mf-property.is-selected{border-color:#c18a33!important;background:#fff9ef!important;box-shadow:inset 0 0 0 1px rgba(193,138,51,.2)!important}

 .al-mf-v255 .al-mf-disclaimer{
  margin:0!important;padding:14px 0 6px!important;color:#758295!important;font-size:10.5px!important;line-height:1.45!important;
 }

 /* Fixed action footer matching reference proportions; action remains query-builder Done. */
 .al-mf-v255 .al-mf-footer{
  flex-shrink:0!important;min-height:66px!important;padding:10px 30px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  border-top:1px solid #e7ebef!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -8px 24px rgba(16,36,60,.03)!important;
 }
 .al-mf-v255 .al-mf-footer>#al-mf-clear{
  padding:8px 0!important;border:0!important;background:transparent!important;color:#243952!important;text-decoration:underline!important;
  font:500 12px/1 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-submit{
  min-width:205px!important;min-height:44px!important;padding:10px 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;
  border:0!important;border-radius:12px!important;background:#142e51!important;color:#fff!important;box-shadow:0 5px 14px rgba(20,46,81,.15)!important;
  font:600 12px/1 var(--al-font-ui,'Poppins',sans-serif)!important;
 }
 .al-mf-v255 .al-mf-submit:hover{background:#1a3a61!important}
}

/* Tablet */
@media(min-width:700px) and (max-width:900px){
 .al-mf-v255 .al-mf-sheet{width:min(730px,calc(100vw - 28px))!important}
 .al-mf-v255 .al-mf-header{grid-template-columns:130px 1fr 130px!important;padding-inline:16px!important}
 .al-mf-v255 .al-mf-scroll{padding-inline:24px!important}
 .al-mf-v255 .al-mf-types{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .al-mf-v255 .al-mf-amenities{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .al-mf-v255 .al-mf-properties{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Mobile keeps bottom-sheet behavior but adopts the same hierarchy. */
@media(max-width:699px){
 .al-mf-v255 .al-mf-sheet{border-radius:22px 22px 0 0!important}
 .al-mf-v255 .al-mf-header{grid-template-columns:76px 1fr 94px!important;min-height:62px!important;height:62px!important;padding:0 12px!important}
 .al-mf-v255 .al-mf-header h2{font:600 18px/1.15 var(--al-font-ui,'Poppins',sans-serif)!important}
 .al-mf-v255 .al-mf-reset-all{width:auto!important;padding:0!important;border:0!important;background:transparent!important;color:var(--al-gold,#aa792e)!important;font-size:11px!important;white-space:nowrap!important}
 .al-mf-v255 .al-mf-close{width:38px!important;height:38px!important;font-size:27px!important}
 .al-mf-v255 .al-mf-scroll{padding:0 18px 12px!important}
 .al-mf-v255 .al-mf-group{padding:22px 0!important}
 .al-mf-v255 .al-mf-price{display:block!important}
 .al-mf-v255 .al-mf-price-chart{margin-top:16px!important}
 .al-mf-v255 .al-mf-range{margin-top:16px!important}
 .al-mf-v255 .al-mf-range-fields{grid-template-columns:1fr 1fr!important;gap:12px!important}
 .al-mf-v255 .al-mf-types{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .al-mf-v255 .al-mf-type{min-height:42px!important;border-radius:999px!important}
 .al-mf-v255 .al-mf-numbers{display:block!important}
 .al-mf-v255 .al-mf-number{padding:14px 0!important;border-right:0!important;border-bottom:1px solid #edf0f3!important}
 .al-mf-v255 .al-mf-number:last-child{border-bottom:0!important}
 .al-mf-v255 .al-mf-chips{flex-wrap:wrap!important}
 .al-mf-v255 .al-mf-amenities{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .al-mf-v255 .al-mf-properties{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .al-mf-v255 .al-mf-footer{padding:10px 18px max(12px,env(safe-area-inset-bottom))!important}
 .al-mf-v255 .al-mf-submit{min-width:150px!important}
}

@media(prefers-reduced-motion:reduce){.al-mf-v255 .al-mf-sheet{animation:none!important}}


/* -----------------------------------------------------------------
   v1.7.257 — filter precision pass against approved reference.
   ----------------------------------------------------------------- */
@media(min-width:700px){
 .al-mf-v255 .al-mf-range{
   display:block!important;
   width:100%!important;
   max-width:none!important;
   grid-area:range!important;
   padding:0!important;
   margin:2px 0 0!important;
 }
 .al-mf-v255 .al-mf-range-fields{
   width:100%!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:24px!important;
   align-items:end!important;
 }
 .al-mf-v255 .al-mf-range-fields label{width:100%!important;min-width:0!important}
 .al-mf-v255 .al-mf-range-fields label:first-child{text-align:left!important}
 .al-mf-v255 .al-mf-range-fields label:last-child{text-align:right!important}
 .al-mf-v255 .al-mf-range-fields output{
   width:132px!important;
   max-width:132px!important;
 }
 .al-mf-v255 .al-mf-range-fields label:first-child output{margin-left:0!important;margin-right:auto!important;text-align:left!important}
 .al-mf-v255 .al-mf-range-fields label:last-child output{margin-left:auto!important;margin-right:0!important;text-align:right!important}
 .al-mf-v255 .al-mf-dual-range{
   position:relative!important;
   display:block!important;
   width:100%!important;
   max-width:none!important;
   height:30px!important;
   margin:0!important;
   padding:0!important;
   --al-mf-from:0%;--al-mf-to:100%;
 }
 .al-mf-v255 .al-mf-dual-range:before{
   content:''!important;position:absolute!important;left:0!important;right:0!important;top:13px!important;height:4px!important;
   border-radius:999px!important;background:#e1e5e9!important;
 }
 .al-mf-v255 .al-mf-dual-range:after{
   content:''!important;position:absolute!important;left:var(--al-mf-from)!important;right:calc(100% - var(--al-mf-to))!important;top:13px!important;height:4px!important;
   border-radius:999px!important;background:linear-gradient(90deg,#c28b31,#ad7728)!important;z-index:1!important;pointer-events:none!important;
 }
 .al-mf-v255 .al-mf-dual-range input[type=range]{left:0!important;right:0!important;top:0!important;width:100%!important;max-width:none!important;z-index:3!important}
}

/* Explicit selection boxes for amenities and properties. */
.al-mf-v255 .al-mf-amenity{padding-right:42px!important}
.al-mf-v255 .al-mf-check,
.al-mf-v255 .al-mf-property-check{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:20px!important;height:20px!important;
  display:grid!important;place-items:center!important;
  box-sizing:border-box!important;
  border:1.5px solid #cfd7df!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#fff!important;
  font:700 12px/1 var(--al-font-ui,'Poppins',sans-serif)!important;
  box-shadow:0 1px 2px rgba(20,42,66,.03)!important;
}
.al-mf-v255 .al-mf-amenity.is-selected .al-mf-check,
.al-mf-v255 .al-mf-property.is-selected .al-mf-property-check{
  border-color:#b9842e!important;
  background:#b9842e!important;
  color:#fff!important;
}
.al-mf-v255 .al-mf-property{
  position:relative!important;
  padding:9px 42px 9px 11px!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.al-mf-v255 .al-mf-property-copy{display:block!important;min-width:0!important;width:100%!important}
.al-mf-v255 .al-mf-property-copy>span{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.al-mf-v255 .al-mf-property-check{right:10px!important}

/* Numeric availability is driven by the selected real room type/property. */
.al-mf-v255 .al-mf-number-unavailable{
  min-height:34px!important;padding:0 7px!important;display:inline-flex!important;align-items:center!important;
  color:#9aa4af!important;font:400 10.5px/1.2 var(--al-font-body,'Lato',sans-serif)!important;white-space:nowrap!important;
}
