/* Reference mobile presentation, isolated from tablet and desktop. */
@media (max-width: 760px) {
/* A single search entry point for this independent mobile listing page. */
.mobile-stays-search-launch,
.mobile-stays-field-label,
.mobile-stays-submit-label,
.date-segment #duration-trigger > .search-select-chevron { display: none; }
html.mobile-stays-search-open { overflow: hidden; }

.mobile-stays-search-dialog {
  width: min(440px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce6e2;
  border-radius: 18px;
  background: #fffdf8;
  color: #183e52;
  box-shadow: 0 24px 80px #092a3c30;
}
.mobile-stays-search-dialog::backdrop { background: #112f426b; backdrop-filter: blur(4px); }
.mobile-stays-search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 10px; }
.mobile-stays-search-head h2 { font-size: 1.5rem; line-height: 1.25; margin: 0; }
.mobile-stays-search-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 8px; border: 0; background: none; color: #173e35; cursor: pointer; }

#mobile-stays-search-dialog #stay-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0 20px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#mobile-stays-search-dialog .search-segment { display: block; flex: none; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #dce6e2; }
#mobile-stays-search-dialog .search-segment > .i { display: none; }
#mobile-stays-search-dialog .search-segment > label,
#mobile-stays-search-dialog .mobile-stays-field-label { display: block; position: static; width: auto; height: auto; padding: 0; margin: 0 0 4px; clip: auto; clip-path: none; overflow: visible; white-space: normal; color: #6b7e82; font-size: .72rem; line-height: 1.5; }
#mobile-stays-search-dialog .search-segment .search-select-trigger,
#mobile-stays-search-dialog #duration-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: none; min-height: 28px; font-size: .9rem; font-weight: 500; text-align: left; overflow: visible; }
#mobile-stays-search-dialog #duration-trigger > .search-select-chevron { display: block; width: 11px; height: 11px; color: #6a8188; }
#mobile-stays-search-dialog .search-select-trigger .search-select-chevron { width: 11px; height: 11px; }
#mobile-stays-search-dialog .search-select-menu { left: 0; right: 0; top: calc(100% - 3px); width: auto; max-width: none; max-height: 220px; }
#mobile-stays-search-dialog .search-select-menu [role=option] { min-height: 42px; white-space: normal; font-size: .8rem; }
#mobile-stays-search-dialog #stay-property-filters { max-width: none; }
#mobile-stays-search-dialog .property-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
#mobile-stays-search-dialog .property-filter-bar > button { min-height: 57px; padding: 12px 24px 12px 0; border: 0; border-bottom: 1px solid #dce6e2; text-align: left; font-size: .81rem; }
#mobile-stays-search-dialog .property-filter-bar > button:nth-child(even) { padding-left: 14px; }
#mobile-stays-search-dialog .property-filter-bar > button:last-child { grid-column: 1 / -1; }
#mobile-stays-search-dialog .property-filter-bar > button > .i { right: 8px; width: 11px; height: 11px; }
#mobile-stays-search-dialog .property-filter-bar > button > small { font-size: .68rem; }
#mobile-stays-search-dialog .stay-search-submit { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 50px; min-height: 50px; margin: 20px 0 0; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--cta-green, #407a61); color: #fffdf8; font-size: .875rem; }
#mobile-stays-search-dialog .stay-search-submit:hover { background: var(--cta-dark, #173e35); }
#mobile-stays-search-dialog .mobile-stays-submit-label { display: inline; }

@media (max-width: 760px) {
  .stays-page .stays-header { display: flex; flex-wrap: wrap; height: auto; min-height: 128px; padding: 12px 20px; gap: 12px; }
  .stays-page .mobile-stays-search-launch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 17px;
    border: 1px solid #dce6e2;
    border-radius: 8px;
    background: #fffdf8;
    color: #6b7e82;
    font: 500 .94rem/1.5 var(--font-body);
    text-align: left;
    cursor: pointer;
  }
  .stays-page .mobile-stays-search-launch .i { width: 22px; height: 22px; color: var(--cta-green, #407a61); }
  .stays-page .mobile-stays-search-launch:focus-visible { outline-color: var(--cta-green, #407a61); }
  .stays-page .stays-filterbar { display: none; }
  .stays-page .results-heading { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .stays-page .results-heading > p { display: none; }
  .stays-page .stays-layout { display: block; padding-top: 4px; }
  .stays-page .stays-toolbar { display: block; margin-bottom: 16px; }
  .stays-page .stays-result-controls { margin-top: 0; }
  .stays-page .stay-sort .stay-sort-icon { width: 23px; height: 23px; }
  .stays-page .stay-sort-menu { left: 0; right: auto; }
  .stays-page.mobile-map-open .map-panel { top: 142px; }
  .stays-page #stays-results { scroll-margin-top: 146px; }
}

}
