/* Search results and map share the same canvas as the rest of the site. */
.vsearch-page {
  padding: 0 24px !important;
  /* Keep the footer below the viewport while results are loading or empty. */
  min-height: calc(100vh - 70px);
}
@supports (min-height: 100dvh) {
  .vsearch-page { min-height: calc(100dvh - 70px); }
}
.vsearch-layout { margin: 0; display: flex; flex-direction: column; align-items: stretch; }
.vsearch-page #listCol { width: 100%; max-width: 100%; flex: 0 0 auto; padding: 0 0 24px; height: auto !important; overflow: visible; min-width: 0; order: 1; }
.vsearch-page #mapCol { width: 100%; max-width: 100%; flex: 0 0 auto; padding: 0 !important; position: relative; top: auto; min-width: 0; order: 0; }
.vsearch-page #map_view { width: 100%; height: clamp(220px, 25vw, 310px); border-radius: 14px; overflow: hidden; }
.vsearch-page .map-close { border: 1px solid var(--vr-border); box-shadow: none; }
.vsearch-page .vsearch-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.vsearch-page .vsearch-head { padding: 0; min-width: 0; flex: 1 1 auto; }
.vsearch-page .vsearch-head h2 { padding: 0 !important; }
.vsearch-summary { display: inline-flex; flex-wrap: wrap; align-items: center; color: #526a76; font-family: 'Red Hat Text', sans-serif; font-size: 13px; font-weight: 400; vertical-align: baseline; }
.vsearch-summary[hidden], .vsearch-summary [hidden] { display: none !important; }
.vsearch-summary > span { margin-inline-start: 10px; padding-inline-start: 10px; border-inline-start: 1px solid var(--vr-border); }
.vsearch-page .vsearch-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.vsearch-page .vfilterbar { justify-content: flex-end; padding: 0 !important; }
.vsearch-page .vfilterbar > li { margin: 0 !important; }
.vsearch-page #pagination { width: 100%; }
.vsearch-page #pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.vsearch-page #pager .page-link { min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid var(--vr-border); border-radius: 8px; background: #fff; color: var(--vr-text-strong); font-family: 'Red Hat Text', sans-serif; font-size: 14px; box-shadow: none; }
.vsearch-page #pager .page-link:hover, .vsearch-page #pager .page-link:focus-visible { border-color: var(--vr-primary); color: var(--vr-primary); }
.vsearch-page #pager .active .page-link { border-color: var(--vr-primary); background: var(--vr-primary); color: #fff; }
.vsearch-page .vfilter-btn,
.vsearch-page .vfilters-toggle,
.vsearch-page .vtotal-toggle,
.vsearch-page .vfilterbar button.btn,
.vsearch-page .show-map .btn {
  min-height: 40px; padding: 8px 14px !important; border: 1px solid var(--vr-border) !important;
  border-radius: 8px !important; background: #fff; color: var(--vr-text-strong); font-family: 'Red Hat Text', sans-serif;
  font-size: 14px !important; font-weight: 600; box-shadow: none !important;
}
.vsearch-page .vfilter-btn:hover,
.vsearch-page .vfilters-toggle:hover,
.vsearch-page .vfilterbar button.btn:hover,
.vsearch-page .show-map .btn:hover { color: var(--vr-primary) !important; border-color: var(--vr-primary) !important; background: #f7f8fa; }
.vsearch-page .vtotal-toggle input { width: 16px; height: 16px; accent-color: var(--vr-primary); }
.vsearch-page .vftrip-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vsearch-page .vftrip-dates label { display: flex; min-width: 0; flex-direction: column; gap: 6px; margin: 0; color: var(--vr-text-strong); font-size: 13px; font-weight: 600; }
.vsearch-page .vftrip-dates input, .vsearch-page #vguest-filter .vguest-toggle { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--vr-border); border-radius: 8px; background: #fff; color: var(--vr-text-strong); font-family: 'Red Hat Text', sans-serif; font-size: 14px; }
.vsearch-page #vguest-filter .vguest-pop { position: static; min-width: 0; margin-top: 8px; border-color: var(--vr-border); border-radius: 8px; box-shadow: none; }
.vsearch-page #vguest-filter .vguest-pet-toggle input { display: block !important; width: 1px; height: 1px; pointer-events: auto; }
.vsearch-page #vguest-filter .vguest-pet-toggle input:focus-visible + .vguest-pet-track { outline: 2px solid var(--vr-primary); outline-offset: 3px; }
.vsearch-page #filter-date-error { margin: 8px 0 0; font-size: 13px; }
.vsearch-page #exampleModalCenter .modal-content { border: 1px solid var(--vr-border); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 32px rgba(20, 38, 56, .12); font-family: 'Red Hat Text', sans-serif; }
.vsearch-page #exampleModalCenter .modal-header { align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--vr-border); }
.vsearch-page #exampleModalCenter .modal-title { color: var(--vr-text-strong); font-family: 'Red Hat Display', sans-serif; font-size: 19px; }
.vsearch-page #exampleModalCenter .close { margin: 0; padding: 0; color: #526a76; opacity: .8; }
.vsearch-page #exampleModalCenter .vfmodal { padding: 0 24px 16px; }
.vsearch-page #exampleModalCenter .vfsec { padding: 19px 0; border-color: var(--vr-border); }
.vsearch-page #exampleModalCenter .vfsec-title { margin-bottom: 12px; font-size: 16px; }
.vsearch-page #exampleModalCenter .vfseg { display: flex; width: 100%; padding: 0; gap: 0; border: 1px solid var(--vr-border); border-radius: 8px; background: #fff; overflow: hidden; }
.vsearch-page #exampleModalCenter .vfseg-opt { flex: 1 1 0; min-width: 0; }
.vsearch-page #exampleModalCenter .vfseg-opt + .vfseg-opt { border-inline-start: 1px solid var(--vr-border); }
.vsearch-page #exampleModalCenter .vfseg-opt span { display: flex; width: 100%; min-height: 42px; justify-content: center; padding: 9px 8px; border-radius: 0; text-align: center; font-size: 14px; }
.vsearch-page #exampleModalCenter .vfseg-opt input:checked + span { background: var(--vr-primary); color: #fff; }
.vsearch-page #exampleModalCenter .vfseg-opt input:focus-visible + span { outline-offset: -3px; outline-color: #8da8ff; }
.vsearch-page #exampleModalCenter .vfprice-field, .vsearch-page #exampleModalCenter .vfselect { border-color: var(--vr-border); border-radius: 8px; }
.vsearch-page #exampleModalCenter .modal-footer { gap: 8px; padding: 14px 24px !important; border-top: 1px solid var(--vr-border); }
.vsearch-page #exampleModalCenter .modal-footer .btn { min-height: 40px; margin: 0 !important; padding: 8px 14px !important; border-radius: 8px; font-size: 14px !important; font-weight: 600; box-shadow: none; }
.vsearch-page #exampleModalCenter .modal-footer .vfilter-clear { margin-inline-end: auto !important; color: var(--vr-primary); }
.vsearch-page #exampleModalCenter .modal-footer .btn-outline-danger { border-color: var(--vr-border); color: var(--vr-text-strong); }
.vsearch-page #exampleModalCenter .modal-footer .btn-outline-danger:hover { background: #f7f8fa; color: var(--vr-text-strong) !important; }
.vsearch-page #exampleModalCenter .modal-footer .filter-apply { border-color: var(--vr-primary); background: var(--vr-primary); color: #fff; }
.vsearch-page #exampleModalCenter .modal-footer .filter-apply:hover { filter: brightness(.9); color: #fff; }
.vsearch-page .show-map { box-shadow: none; }
.vsearch-page .leaflet-bar, .vsearch-page .leaflet-control-zoom { box-shadow: none; border: 1px solid var(--vr-border); border-radius: 8px; overflow: hidden; }
.vsearch-page .leaflet-bar a { color: var(--vr-text-strong); background: #fff; }
.vsearch-page .leaflet-bar a:hover { color: var(--vr-primary); background: #f7f8fa; }
.vsearch-page .loader-img:not(.display-off) { min-height: 70px; padding: 20px 0; }
.vpage-spinner { display: inline-block; width: 26px; height: 26px; border: 3px solid #d9e0ec; border-top-color: var(--vr-primary); border-radius: 50%; animation: vpage-spin .75s linear infinite; }
@keyframes vpage-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vpage-spinner { animation: none; } }
.vsearch-page #properties_show { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px 14px; margin: 0; width: 100%; }
.vsearch-page #properties_show > .vresult-item { min-width: 0; }
.vresult-card { height: 100%; display: flex; flex-direction: column; color: var(--vr-text-strong); }
.vresult-media { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f3f4f5; }
.vresult-media > a, .vresult-media img { display: block; width: 100%; height: 100%; }
.vresult-media img { object-fit: cover; }
.vresult-media img.vresult-image-missing { object-fit: contain; padding: 22%; opacity: .55; }
.vresult-fav { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid #e1e6e9; border-radius: 50%; background: #fff; color: var(--vr-ink); cursor: pointer; box-shadow: none; }
.vresult-fav:hover, .vresult-fav:focus-visible { color: var(--vr-primary); background: #fff; outline-offset: 2px; }
.vresult-fav i { font-size: 18px; }
.vresult-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 10px 1px 0; }
.vresult-heading { display: flex; flex: 0 0 40.5px; align-items: flex-start; justify-content: space-between; gap: 6px; min-width: 0; }
.vresult-heading a { flex: 1 1 auto; min-width: 0; color: var(--vr-text-strong); text-decoration: none; }
.vresult-heading h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; font-family: 'Red Hat Display', sans-serif; font-size: 15px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.vresult-rating { flex-shrink: 0; font-size: 12px; white-space: nowrap; }
.vresult-rating i { color: #d69c00; }
.vresult-location, .vresult-details { margin: 7px 0 0; color: #526a76; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.vresult-location { flex: 0 0 18.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vresult-details { display: -webkit-box; flex: 0 0 36.4px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vresult-price { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 12px; color: var(--vr-text-strong); font-size: 15px; font-weight: 700; }
.vresult-price-amount { flex: 0 0 auto; }
.vresult-price small { min-width: 0; padding-inline-start: 9px; border-inline-start: 1px solid var(--vr-border); color: #526a76; font-size: 12px; line-height: 1.3; font-weight: 400; overflow-wrap: anywhere; }
/* Match the compact Tabler cards on the similar-listings section. */
.vresult-card { overflow: hidden; border: 1px solid var(--vr-border); border-radius: 12px; background: #fff; }
.vresult-media { border-radius: 0; }
.vresult-body { gap: 14px; padding: 14px; }
.vresult-heading { flex: 0 0 auto; gap: 10px; }
.vresult-avatar { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.vresult-heading-text { min-width: 0; flex: 1 1 auto; }
.vresult-heading h3 { min-height: 2.7em; }
.vresult-location { margin-top: 4px; }
.vresult-location i, .vresult-rating i { color: var(--vr-primary); }
.vresult-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; }
.vresult-price { margin: 0; padding: 0; }
.vresult-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--vr-border); }
.vresult-features span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 7px 4px; color: #314b57; font-size: 13px; }
.vresult-features span + span { border-inline-start: 1px solid var(--vr-border); }
.vresult-features i { color: var(--vr-primary); font-size: 16px; }
@media (max-width: 767.98px) {
  .vsearch-page #exampleModalCenter .modal-header, .vsearch-page #exampleModalCenter .modal-footer { padding-inline: 16px !important; }
  .vsearch-page #exampleModalCenter .vfmodal { padding-inline: 16px; }
  .vsearch-page #exampleModalCenter .vfseg-opt span { font-size: 12px; }
  .vsearch-page { padding: 0 12px !important; }
  .vsearch-page .vsearch-head { flex-basis: 100%; }
  .vsearch-page .vsearch-actions { width: 100%; justify-content: flex-start; margin-left: 0; }
  .vsearch-page .vfilterbar { justify-content: flex-start; }
  .vsearch-page #listCol { width: 100%; padding: 0 0 16px; }
  .vsearch-page #mapCol { margin: 0 0 12px; }
  .vsearch-page #map_view { height: 220px; }
  .vsearch-page #properties_show { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .vresult-body { gap: 10px; padding: 10px; }
  .vresult-heading { flex-basis: auto; gap: 7px; }
  .vresult-avatar { flex-basis: 26px; width: 26px; height: 26px; }
  .vresult-heading h3 { font-size: 14px; }
  .vresult-location, .vresult-details { font-size: 12px; }
  .vresult-location { flex-basis: 16.8px; }
  .vresult-details { flex-basis: 33.6px; }
  .vresult-price { font-size: 14px; }
  .vresult-features span { min-height: 38px; gap: 4px; font-size: 12px; }
  .vresult-features i { font-size: 14px; }
}
