/* Search results: filters beside full-width tour rows on desktop, a drawer on mobile. */
.search-results-page{background:#f6f8f8;min-height:65vh}
.search-results-layout{display:grid;grid-template-columns:278px minmax(0,1fr);gap:24px;align-items:start;padding-top:34px;padding-bottom:84px}
.search-results-sidebar{position:sticky;top:24px;border:1px solid #dce4e8;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(20,48,63,.04);overflow:hidden}
.search-results-sidebar-head{padding:20px 18px 16px;border-bottom:1px solid #e7ecee}
.search-results-sidebar-head h2{margin:3px 0 0;color:#1d3547;font-size:20px;font-weight:900;letter-spacing:-.025em}
.search-results-filter-close{display:none}
.search-results-filter-toggle{display:none}
.search-results-sidebar .hero-search{border:0;border-radius:0;box-shadow:none}
.search-results-sidebar .search-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;padding:16px 14px 0;border:0;overflow:visible}
.search-results-sidebar .search-tab-indicator{display:none}
.search-results-sidebar .search-tab{min-width:0;min-height:42px;padding:7px 9px;border:1px solid #d9e3e6;border-radius:8px;background:#fff;color:#526775;font-size:12px;font-weight:800;line-height:1.2;white-space:normal;transform:none}
.search-results-sidebar .search-tab[data-type="bungalow"]{grid-column:1/-1}
.search-results-sidebar .search-tab[aria-pressed=true]{border-color:#1d3b4c;background:#1d3b4c;color:#fff}
.search-results-sidebar .search-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}
.search-results-sidebar .search-field,.search-results-sidebar .search-destination,.search-results-sidebar .search-start,.search-results-sidebar .search-end,.search-results-sidebar .search-adults,.search-results-sidebar .search-submit{grid-column:1;min-width:0}
.search-results-sidebar .search-field{min-height:58px;padding:7px 10px}
.search-results-sidebar .search-field span{font-size:11px}
.search-results-sidebar .search-field input{font-size:16px}
.search-results-sidebar .search-submit{min-height:48px;height:48px;border-radius:7px;background:#1d3b4c;color:#fff;font-size:14px}
.search-results-sidebar .search-submit:hover{background:#285366}
.search-results-main{min-width:0}
.search-results-top{padding:22px 26px 18px;border:1px solid #dce4e8;border-radius:14px 14px 0 0;background:#fff}
.search-results-title-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 17px}
.search-results-title-line h1{margin:4px 0 0;color:#1d3547;font-size:clamp(27px,3vw,37px);font-weight:900;letter-spacing:-.035em;line-height:1.2;overflow-wrap:anywhere}
.search-results-title-line>span{color:#446678;font-size:15px;font-weight:800;white-space:nowrap}
.search-results-top .search-preferences{margin:14px 0 0;padding:9px 12px;border-radius:7px}
.search-results-sort{display:flex;align-items:center;gap:8px;padding:10px 20px;border:1px solid #dce4e8;border-top:0;border-radius:0 0 14px 14px;background:#fff}
.search-results-sort>span{margin-right:5px;color:#6b7983;font-size:12px;font-weight:800}
.search-results-sort a{padding:8px 13px;border-radius:7px;color:#536572;font-size:13px;font-weight:750}
.search-results-sort a:hover,.search-results-sort a.is-active{background:#eaf2f3;color:#1b4659}
.search-results-sort{position:relative;justify-content:flex-end;min-height:62px}
.search-results-sort-menu{position:relative;min-width:170px;color:#1d3b4c;font-size:13px;font-weight:800}
.search-results-sort-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 12px;border:1px solid #cddbe0;border-radius:8px;list-style:none;cursor:pointer}
.search-results-sort-menu summary::-webkit-details-marker{display:none}
.search-results-sort-menu summary strong{font-weight:900}
.search-results-sort-menu summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s ease}
.search-results-sort-menu[open] summary svg{transform:rotate(180deg)}
.search-results-sort-options{position:absolute;top:calc(100% + 6px);right:0;z-index:5;width:100%;padding:5px;border:1px solid #dce4e8;border-radius:9px;background:#fff;box-shadow:0 12px 28px rgba(20,48,63,.14)}
.search-results-sort-options a{display:block;padding:10px 11px;border-radius:6px;white-space:nowrap}
.search-results-list{display:grid;gap:14px;margin-top:18px}
.search-result-card{display:grid;grid-template-columns:225px minmax(0,1fr) 172px;min-height:222px;overflow:hidden;border:1px solid #dce4e8;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(20,48,63,.035)}
.search-result-photo{display:block;min-height:222px;overflow:hidden;background:#e1ebed}
.search-result-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.search-result-card:hover .search-result-photo img{transform:scale(1.035)}
.search-result-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:222px;color:#9bb7b9;font-size:38px}
.search-result-details{min-width:0;padding:21px 20px}
.search-result-category{color:#b75d3b;font-size:11px;font-weight:850;letter-spacing:.035em}
.search-result-details h2{margin:5px 0 10px;color:#1d3547;font-size:20px;font-weight:900;line-height:1.28;letter-spacing:-.02em}
.search-result-details h2 a:hover{color:#b75d3b}
.search-result-meta{display:flex;flex-wrap:wrap;gap:7px 16px;color:#526773;font-size:13px;font-weight:750}
.search-result-meta span+span::before{content:"·";margin-right:14px;color:#9aadb5}
.search-result-details p{margin:11px 0 0;color:#677984;font-size:13px;line-height:1.55}
.search-result-action{display:flex;flex-direction:column;justify-content:flex-end;gap:17px;padding:18px;border-left:1px solid #e7ecee;text-align:right}
.search-result-price small{display:block;color:#73838b;font-size:11px;font-weight:700}
.search-result-price strong{display:block;margin-top:3px;color:#255b48;font-size:22px;font-weight:900;line-height:1.15}
.search-result-action>a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:7px 10px;border:1px solid #285e4b;border-radius:7px;color:#285e4b;font-size:12px;font-weight:900;white-space:nowrap;transition:background .18s,color .18s}
.search-result-action>a:hover{background:#285e4b;color:#fff}
.search-results-empty{padding:52px 28px;border:1px solid #dce4e8;border-radius:14px;background:#fff;text-align:center}
.search-results-empty>span{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:50%;background:#eaf2f3;color:#285366;font-size:27px}
.search-results-empty h2{margin:0 0 6px;color:#1d3547;font-size:21px}
.search-results-empty p{margin:0 auto 15px;max-width:460px;color:#667984;font-size:14px}
.search-results-empty a{color:#ae5637;font-size:13px;font-weight:850}
@media(max-width:1060px){
  .search-results-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}
  .search-result-card{grid-template-columns:190px minmax(0,1fr) 145px}
  .search-result-details{padding:18px 15px}
  .search-result-details h2{font-size:17px}
  .search-result-action{padding:13px}
}
@media(max-width:820px){
  .search-results-layout{display:block;padding-top:22px;padding-bottom:65px}
  .search-results-sidebar{position:relative;top:auto;display:none;margin-bottom:16px;scroll-margin-top:104px}
  .search-results-sidebar.is-open{display:block}
  .search-results-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px}
  .search-results-filter-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d3e0e4;border-radius:50%;background:#fff;color:#1d3b4c;font-size:26px;line-height:1}
  .search-results-sidebar-head .section-kicker{display:none}
  .search-results-sidebar-head h2{margin:0;font-size:17px}
  .search-results-filter-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;border:1px solid #cddbe0;border-radius:8px;background:#fff;color:#1d3b4c;font-size:13px;font-weight:850;white-space:nowrap}
  .search-results-filter-toggle svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
  .search-results-filter-toggle[aria-expanded=true]{border-color:#1d3b4c;background:#eaf2f3}
  .search-results-sidebar:not(.is-open) .hero-search{display:none}
  .search-results-sidebar .search-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-results-sidebar .search-destination{grid-column:1/-1}
  .search-results-sidebar .search-start,.search-results-sidebar .search-adults{grid-column:1}
  .search-results-sidebar .search-end,.search-results-sidebar .search-submit{grid-column:2}
  .search-results-sidebar .search-tabs{padding-inline:14px}
  .search-result-card{grid-template-columns:210px minmax(0,1fr) 156px}
}
@media(max-width:650px){
  .search-results-layout{padding-top:14px;padding-bottom:52px}
  .search-results-sidebar{margin-bottom:12px;border-radius:11px}
  .search-results-top{padding:17px 16px 13px;border-radius:11px 11px 0 0}
  .search-results-title-line h1{font-size:25px}
  .search-results-title-line>span{font-size:12px}
  .search-results-sort{justify-content:space-between;gap:10px;padding:9px 12px;border-radius:0 0 11px 11px}
  .search-results-sort-menu{min-width:0;flex:0 1 160px;font-size:12px}
  .search-results-sort-menu summary{min-height:44px;padding:8px 10px}
  .search-results-sort-options a{font-size:13px}
  .search-results-list{gap:12px;margin-top:12px}
  .search-result-card{display:block;border-radius:11px}
  .search-result-photo,.search-result-photo-placeholder{height:auto;min-height:0;aspect-ratio:16/9}
  .search-result-details{padding:15px 16px 13px}
  .search-result-details h2{font-size:18px}
  .search-result-details p{margin-top:8px;font-size:12px}
  .search-result-action{flex-direction:row;align-items:center;justify-content:space-between;gap:9px;padding:12px 16px;border-left:0;border-top:1px solid #e7ecee;text-align:left}
  .search-result-price strong{font-size:18px}
  .search-result-action>a{min-height:39px;padding:6px 10px;font-size:11px}
  .search-results-empty{padding:38px 20px}
  .search-results-sidebar .search-field input[type="search"]{font-size:16px}
  .search-results-sidebar .search-field input[readonly][name$="_date"]{font-size:16px;padding-right:20px;background-size:15px 15px;background-position:right 2px center}
}

