.results .search-side{min-width:0}
.stay-suggestions{padding:16px;background:#f0ede4;color:#122f2a;border-radius:12px;margin:0 0 16px}
.stay-suggestions h2{font:600 1.35rem/1.15 'Villa Display',Georgia,serif;margin:0 0 10px}
.stay-suggestions ul{list-style:none;padding:0;margin:0}
.stay-suggestions li+li{border-top:1px solid #d4d3c9}
.stay-suggestions a{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 0;color:inherit;text-decoration:none}
.stay-suggestions a:hover strong,.stay-suggestions a:focus-visible strong{text-decoration:underline}
.stay-suggestions img{width:60px;height:54px;flex:none;object-fit:cover;border-radius:6px}
.stay-suggestions small,.stay-suggestions strong{display:block;overflow-wrap:anywhere}
.stay-suggestions small{font-size:.8rem;line-height:1.35}
@media(min-width:861px){.results .search-side{position:sticky;top:calc(var(--hdr-h,68px) + 12px);max-height:calc(100svh - var(--hdr-h,68px) - 28px);overflow:auto;scrollbar-width:thin}.results .search-side .filters{position:static;max-height:none}}
@media(max-width:860px){.stay-suggestions{margin:0}.stay-suggestions ul{display:flex;gap:12px;overflow-x:auto}.stay-suggestions li{flex:0 0 min(75vw,240px)}.stay-suggestions li+li{border:0}.sf-ready .results .search-side:not(:has(.stay-suggestions)){height:0}}

.trip-editor { min-width:0; }
.trip-editor > summary { cursor:pointer; color:var(--guest-pine); font-weight:600; padding:10px 0; min-height:44px; }
.match-count { color:var(--guest-pine); margin:0 0 8px; font-size:.94rem; }
.match-count strong { font-variant-numeric:tabular-nums; }
@media(min-width:861px) {
  .sf-ready .trip-editor > summary { display:none; }
}
@media(max-width:860px) {
  .trip-editor { background:white; border:1px solid var(--guest-rule); border-radius:12px; padding:0 12px; }
  .trip-editor[open] { padding-bottom:8px; }
  .sf-ready .wrap.results { display:flex; flex-direction:column; gap:12px; }
  .sf-ready .results .search-side { display:contents; }
  .sf-ready .results .sfbar { order:0; }
  .sf-ready .results .resultlist { order:1; min-width:0; width:100%; }
  .sf-ready .results .stay-suggestions { order:2; }
  .trip-editor summary small { display:block; font-weight:400; margin-inline-start:1em; }
  .trip-editor summary small:empty { display:none; }
  .resultlist .sortbar { margin-top:0; }
}

@media (max-width:780px) {
  body .searchhead .trip-editor form.herosearch.lpk-ready {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto auto auto;
    grid-auto-flow:row; gap:6px;
  }
  body .searchhead .trip-editor form.herosearch.lpk-ready > label[data-picker="dest"] { grid-area:1 / 1; }
  body .searchhead .trip-editor form.herosearch.lpk-ready > label[data-picker="from"] { grid-area:2 / 1; }
  body .searchhead .trip-editor form.herosearch.lpk-ready > label:has(input[name="guests"]) { grid-area:1 / 2; }
  body .searchhead .trip-editor form.herosearch.lpk-ready > label[data-picker="style"] { grid-area:2 / 2; }
  body .searchhead .trip-editor form.herosearch.lpk-ready > button[type="submit"] { grid-area:3 / 1 / 4 / 3; width:100%; min-height:44px; }
}

/* Matching inventory is ready at first paint, including after a filter change. */
.enh .wrap.results.rv, .enh .results .result-villa.rv { opacity:1; transform:none; transition:none; }
@media(max-width:650px) {
  .resultlist .activechips { flex-wrap:nowrap; overflow-x:auto; padding:4px 2px 8px; gap:8px; margin-bottom:12px; }
  .resultlist .activechips > * { flex:none; }
  .resultlist .activechips .aclabel { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .resultlist .activechips a { display:inline-flex; align-items:center; min-height:40px; white-space:nowrap; }
}
