:root{
  --blue:#155fd5;--blue2:#0b4fb9;--blue-soft:#eef5ff;--ink:#18212f;--muted:#6d7480;
  --line:#e7e9ee;--panel:#fff;--bg:#f6f7f9;--green:#1ab64f;--danger:#d93025;--shadow:0 12px 34px rgba(15,23,42,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}img{display:block}.wide{width:calc(100% - 48px);max-width:none;margin:0 auto}
.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}.nav-main{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;font-size:28px;font-weight:900;color:var(--blue);letter-spacing:-.6px;white-space:nowrap}.brand-box{width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),#4a8df2);color:#fff;border-radius:10px;box-shadow:0 8px 20px rgba(21,95,213,.25)}
.nav-actions{display:flex;align-items:stretch;min-height:76px}.nav-actions>a{display:flex;flex-direction:column;justify-content:center;padding:0 18px;border-left:1px solid var(--line);min-width:150px;transition:.2s}.nav-actions>a:hover{background:#f9fbff}.nav-actions strong{font-size:14px}.nav-actions small{font-size:11px;color:var(--muted);margin-top:4px}.login-link{font-weight:800!important}
.city-nav{background:#f7f8fa;border-bottom:1px solid var(--line)}.city-row{display:flex;align-items:center;gap:30px;min-height:44px;font-size:14px;overflow-x:auto;scrollbar-width:none}.city-row::-webkit-scrollbar{display:none}.city-row a{white-space:nowrap}.city-row a:hover{color:var(--blue)}
.hero{background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.14),transparent 30%),linear-gradient(125deg,#0b4fb9 0%,#1769e0 48%,#4d91f6 100%);padding:62px 0 70px;color:#fff}.hero h1{text-align:center;font-size:42px;line-height:1.1;margin:0 0 28px;font-weight:900;letter-spacing:-1px}
.search-shell{display:grid;grid-template-columns:2.25fr 1.55fr 1fr auto;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 16px 38px rgba(5,28,75,.25);max-width:1180px;margin:auto}.search-shell>div,.search-shell>button{min-height:72px}.search-cell{padding:11px 16px;border-right:1px solid #e3e5e9;color:#222;display:flex;flex-direction:column;justify-content:center}.search-cell input,.search-cell select{border:0;outline:0;font-size:15px;width:100%;background:transparent;color:#202733}.search-label{font-size:11px;color:#7b8492;margin-bottom:4px;text-transform:uppercase;letter-spacing:.35px;font-weight:700}.near{color:var(--blue);font-weight:800;font-size:12px}.search-btn{border:0;background:var(--green);color:#fff;padding:0 38px;font-size:17px;font-weight:900;cursor:pointer;transition:.2s}.search-btn:hover{filter:brightness(.94)}
.section{padding:44px 0}.section h2{margin:0 0 20px;font-size:28px;letter-spacing:-.4px}.destination-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.destination{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 7px 18px rgba(15,23,42,.04);transition:.22s}.destination:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.destination img{width:100%;height:145px;object-fit:cover}.destination div{padding:13px 14px;font-weight:800}
.feature-strip{background:#f9fbff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:28px 0}.feature{display:flex;gap:13px;align-items:center}.feature-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);font-size:20px;font-weight:900}.feature strong{display:block}.feature span{font-size:13px;color:var(--muted)}
.property-box,.booking-box,.panel,.filters,.hotel-list-card,.auth-card{background:var(--panel);border:1px solid var(--line);box-shadow:0 8px 22px rgba(15,23,42,.04)}
.property-box{border-radius:14px;padding:24px}.booking-box{border-radius:14px;padding:22px}
.search-page{display:grid;grid-template-columns:275px minmax(0,1fr);gap:26px;padding:28px 0 44px}.filters{border-radius:12px;padding:18px;align-self:start;position:sticky;top:96px}.filters h3{margin:0 0 10px}.filter-group{border-top:1px solid var(--line);padding:16px 0}.filter-group:first-of-type{border-top:0}.filter-group label{display:block;margin:9px 0;font-size:14px}.filter-group input[type=text],.filter-group input[type=number],.filter-group select{width:100%;padding:10px;border:1px solid #d8dde5;border-radius:8px}
.search-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.search-toolbar h1{font-size:27px;margin:0}.sort{padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.hotel-list-card{display:grid;grid-template-columns:340px minmax(0,1fr) 205px;border-radius:14px;overflow:hidden;margin-bottom:18px;transition:.2s}.hotel-list-card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.hotel-list-card img{width:340px;height:230px;object-fit:cover;background:#eef1f5}.hotel-info{padding:20px}.hotel-info h2{margin:0 0 7px;font-size:23px;letter-spacing:-.3px}.location{color:var(--muted);font-size:14px}.rating-line{margin:15px 0}.rating-chip{background:#16883b;color:#fff;padding:5px 8px;border-radius:5px;font-weight:900;font-size:13px}.amenities{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#4b5563}.hotel-price{padding:20px;border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;background:#fcfcfd}.hotel-price .old{text-decoration:line-through;color:#9aa1aa}.hotel-price .new{font-size:28px;font-weight:900}.discount{color:#e24a3b;font-weight:800;font-size:13px}.tax{font-size:12px;color:var(--muted);margin:6px 0 15px}.actions{display:grid;gap:8px}
.btn{display:inline-flex;justify-content:center;align-items:center;padding:11px 15px;border-radius:8px;font-weight:850;border:1px solid var(--blue);background:var(--blue);color:#fff;cursor:pointer}.btn:hover{background:var(--blue2)}.btn-outline{background:#fff;color:var(--blue)}.btn-outline:hover{background:var(--blue-soft)}
.hotel-detail{padding:28px 0}.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 220px;gap:7px;border-radius:16px;overflow:hidden}.gallery img{width:100%;height:100%;object-fit:cover;background:#eef1f5}.gallery img:first-child{grid-row:1/3}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;margin-top:26px}.booking-box{align-self:start;position:sticky;top:100px}.room-option{border-top:1px solid var(--line);padding:20px 0;display:grid;grid-template-columns:1fr auto;gap:22px}.room-option:first-child{border-top:0}.price-row{font-size:24px;font-weight:900}
.auth-wrap{min-height:72vh;display:grid;place-items:center;background:linear-gradient(180deg,#f3f7ff,#f7f8fa);padding:34px}.auth-card{width:min(470px,96%);padding:30px;border-radius:16px}.auth-card h1{margin-top:18px}.field{margin:14px 0}.field label{display:block;font-weight:750;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #d7dbe2;border-radius:8px}
.dashboard{padding:30px 0 50px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.04)}.stat b{display:block;font-size:29px;color:var(--blue);margin-top:6px}.panel{border-radius:12px;padding:22px;margin-top:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}th{background:#f8fafc}
.newsletter{border-top:1px solid var(--line);padding:30px 0}.newsletter-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}.newsletter form{display:flex}.newsletter input{flex:1;padding:14px;border:1px solid #cfd5de;border-radius:8px 0 0 8px}.newsletter button{background:var(--blue);color:#fff;border:0;padding:0 24px;font-weight:800;border-radius:0 8px 8px 0}
.footer{background:#1f2f42;color:#eaf0f7;padding:40px 0 18px}.footer-top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.14)}.footer-brand{font-size:32px;font-weight:900}.outline-light{display:inline-block;border:1px solid #fff;padding:10px 14px;border-radius:7px}.store-badges{display:flex;gap:10px;flex-wrap:wrap}.store-badges span{border:1px solid rgba(255,255,255,.35);padding:10px 12px;border-radius:7px}.footer-links{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;padding:30px 0}.footer-links a{display:block;color:#d6deea;font-size:13px;margin:8px 0}.copyright{padding-top:16px;border-top:1px solid rgba(255,255,255,.14);font-size:12px;color:#bdc8d5}.alerts{padding-top:14px}.alert{padding:12px 15px;border-radius:8px}.alert.error{background:#fff0f0;color:#a32020}.alert.success{background:#ebfff1;color:#147a34}

@media(max-width:1180px){
  .wide{width:calc(100% - 32px)}
  .nav-actions>a{min-width:auto;padding:0 12px}.nav-actions small{display:none}
  .hotel-list-card{grid-template-columns:300px minmax(0,1fr) 190px}.hotel-list-card img{width:300px}
  .destination-row{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .wide{width:calc(100% - 24px)}.topbar{position:relative}.nav-main{min-height:66px}.brand{font-size:24px}.brand-box{width:36px;height:36px}
  .nav-actions>a:not(.login-link){display:none}.login-link{border-left:0!important;padding-right:0!important}
  .city-nav{position:relative}.city-row{gap:22px;padding:0 2px}
  .hero{padding:34px 0 38px}.hero h1{text-align:left;font-size:31px;margin-bottom:20px}
  .search-shell{grid-template-columns:1fr;border-radius:14px}.search-shell>div,.search-shell>button{min-height:62px}.search-cell{border-right:0;border-bottom:1px solid #e3e5e9}.search-btn{min-height:56px}
  .features{grid-template-columns:1fr 1fr}.search-page{grid-template-columns:1fr;gap:16px}.filters{position:static}
  .hotel-list-card{grid-template-columns:1fr}.hotel-list-card img{width:100%;height:260px}.hotel-price{border-left:0;border-top:1px solid var(--line);padding:18px}.actions{grid-template-columns:1fr 1fr}
  .detail-grid{grid-template-columns:1fr}.booking-box{position:static}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:230px 150px}.gallery img:first-child{grid-column:1/3;grid-row:auto}
  .stats{grid-template-columns:1fr 1fr}.footer-top,.footer-links,.newsletter-grid{grid-template-columns:1fr}.footer-links{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .wide{width:calc(100% - 20px)}.nav-main{min-height:60px}.brand{font-size:21px}.brand-box{width:33px;height:33px;border-radius:8px}
  .login-link{font-size:13px!important}.city-row{min-height:40px;font-size:13px}.hero{padding:26px 0 30px}.hero h1{font-size:27px;line-height:1.15}
  .search-shell{box-shadow:0 10px 24px rgba(5,28,75,.22)}.search-cell{padding:10px 12px}.search-shell>div{min-height:58px}.search-btn{font-size:16px}
  .section{padding:32px 0}.section h2{font-size:23px}.destination-row{grid-template-columns:1fr 1fr;gap:12px}.destination img{height:112px}.destination div{padding:10px 11px;font-size:14px}
  .features{grid-template-columns:1fr;gap:18px}.feature-icon{width:42px;height:42px;flex-basis:42px}
  .search-toolbar{align-items:flex-start;flex-direction:column}.search-toolbar h1{font-size:22px}.sort{width:100%}
  .hotel-list-card img{height:220px}.hotel-info{padding:16px}.hotel-info h2{font-size:20px}.hotel-price{padding:16px}.hotel-price .new{font-size:25px}.actions{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr;grid-template-rows:205px 120px}.room-option{grid-template-columns:1fr}.room-option .btn{width:100%}
  .property-box,.booking-box,.panel{padding:17px}.auth-wrap{padding:18px 10px}.auth-card{padding:22px}
  .stats{grid-template-columns:1fr}.footer-links{grid-template-columns:1fr 1fr;gap:16px}.newsletter form{flex-direction:column;gap:8px}.newsletter input,.newsletter button{border-radius:8px;min-height:46px}
  table{min-width:720px}.table-wrap{overflow-x:auto}
}

@media(max-width:700px){.section [style*='justify-content:space-between'][style*='align-items:end']{align-items:flex-start!important;flex-direction:column}.property-box h2{font-size:22px}}


/* Search results V5 */
.search-body{background:#fff}
.search-topbar{position:sticky;top:0;z-index:200;border-bottom:1px solid #dedede;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.search-nav-main{min-height:62px;gap:14px}
.search-nav-main .brand{font-size:23px;min-width:155px}
.search-nav-main .brand-box{width:34px;height:34px;border-radius:8px}
.compact-search{display:grid;grid-template-columns:1.55fr 1.25fr .85fr 145px;flex:1;border:1px solid #d8d8d8;border-radius:4px;overflow:hidden;min-width:0}
.compact-cell{height:44px;border-right:1px solid #dedede;display:flex;align-items:center;background:#fff;padding:0 12px}
.compact-cell input,.compact-cell select{border:0;outline:0;background:#fff;width:100%;font-size:13px;color:#252525}
.location-cell{position:relative;padding-right:86px}.near-btn{position:absolute;right:8px;top:7px;height:30px;border:0;border-radius:16px;padding:0 11px;background:#f2f2f2;font-size:12px;font-weight:700;color:#2c2c2c}
.date-cell{gap:5px}.date-cell input{font-size:12px;padding:0}.date-sep{color:#777}.guest-cell select{font-weight:600}
.compact-search-btn{border:0;background:#1ab64f;color:#fff;font-size:15px;font-weight:900;cursor:pointer}
.compact-actions{display:flex;align-items:stretch;height:44px;margin-left:auto}.compact-actions>a{border-left:1px solid #e0e0e0;padding:0 12px;display:flex;align-items:center;font-size:13px;white-space:nowrap}.language-link{font-weight:800}.phone-link{gap:9px}.phone-link span{display:flex;flex-direction:column}.phone-link small{font-size:10px;color:#858585;margin-top:2px}.compact-login{font-size:13px!important}
.search-layout-shell{display:grid;grid-template-columns:335px minmax(0,1fr);min-height:calc(100vh - 62px)}
.search-sidebar{border-right:1px solid #e4e4e4;padding:24px 22px 40px;position:sticky;top:62px;height:calc(100vh - 62px);overflow:auto;background:#fff}
.filter-title{font-size:28px;font-weight:900;margin-bottom:10px}.filter-section{border-bottom:1px solid #e7e7e7;padding:15px 0 22px}.filter-section h4{margin:0 0 13px;font-size:14px}.filter-search{width:100%;height:34px;border:1px solid #d7d7d7;padding:0 10px}.location-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.location-tags a{background:#f1f1f1;padding:7px 10px;font-size:12px;border-radius:2px}.view-more{display:inline-block;margin-top:14px;color:#e42f2f;font-weight:800;font-size:13px}
.price-slider-wrap input[type=range]{width:100%;accent-color:#ff2e35}.price-minmax{display:flex;justify-content:space-between;font-size:12px;font-weight:800}.check-row{display:block;font-size:13px;margin:13px 0}.check-row input{margin-right:10px}
.results-column{padding:23px 28px 50px;min-width:0}.results-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:19px;border-bottom:1px solid #ededed}.results-header h1{font-size:22px;margin:0}.results-actions{display:flex;align-items:center;gap:38px}.map-toggle-label{display:flex;gap:10px;align-items:center;font-size:13px}.toggle-pill{width:58px;height:30px;border:1px solid #4ea3ff;border-radius:18px;padding:3px;display:inline-flex;align-items:center}.toggle-pill span{width:22px;height:22px;border-radius:50%;background:#37a1ff;display:block}.sort-form{display:flex;align-items:center;gap:12px;font-size:12px}.sort-form select{height:38px;min-width:165px;border:1px solid #cfcfcf;padding:0 12px;background:#fff}.promo-strip{margin:18px 0 34px;width:min(380px,100%);border:1px solid #eee;border-left:3px solid #ffad1f;padding:16px 18px;display:flex;gap:12px;align-items:center;font-size:13px}.promo-icon{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ffad1f;color:#fff;font-size:11px;font-weight:900}
.result-card{display:grid;grid-template-columns:420px minmax(0,1fr);gap:16px;padding:0 0 38px;margin-bottom:34px;border-bottom:1px solid #e6e6e6}.result-gallery{display:grid;grid-template-columns:minmax(0,1fr) 74px;height:235px;position:relative;background:#f3f3f3;overflow:hidden}.result-main-image{width:100%;height:235px;object-fit:cover}.thumb-strip{display:grid;grid-template-rows:repeat(4,1fr);gap:2px;background:#fff}.thumb-strip img{width:74px;height:57px;object-fit:cover}.service-tag{position:absolute;z-index:2;top:9px;left:8px;background:#fff;border-radius:3px;padding:6px 8px;font-size:11px;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.result-main{min-width:0;padding:0 2px}.result-main h2{font-size:21px;margin:0 0 5px;line-height:1.25}.result-location{font-size:14px;color:#555}.result-location span{color:#777}.result-rating-line{display:flex;align-items:center;gap:6px;margin:20px 0 12px;font-size:12px}.result-amenities{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-size:13px;color:#3f3f3f}.member-badge{display:inline-block;margin-top:12px;border:1px solid #c5c5c5;padding:5px 8px;font-size:11px;font-weight:800;background:#fbfbfb}
.result-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:28px}.current-price{font-size:25px;font-weight:900}.strike-price{text-decoration:line-through;color:#9b9b9b;font-size:14px}.off-text{color:#ff8b12;font-weight:800;font-size:13px}.tax-text{font-size:11px;color:#8b8b8b;margin-top:5px}.result-buttons{display:flex;gap:10px}.detail-btn,.book-btn{height:38px;padding:0 18px;border-radius:2px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}.detail-btn{border:1px solid #222;background:#fff}.book-btn{border:1px solid #1ab64f;background:#1ab64f;color:#fff}
.empty-state{padding:60px 20px;text-align:center;border:1px dashed #ddd;background:#fafafa;margin-top:30px}

@media(max-width:1200px){
  .compact-actions .phone-link{display:none}
  .search-layout-shell{grid-template-columns:285px minmax(0,1fr)}
  .result-card{grid-template-columns:360px minmax(0,1fr)}
  .result-gallery{grid-template-columns:minmax(0,1fr) 66px}.thumb-strip img{width:66px}
  .results-actions{gap:18px}
}
@media(max-width:980px){
  .search-nav-main{flex-wrap:wrap;padding:8px 0}.search-nav-main .brand{min-width:auto}
  .compact-search{order:3;width:100%;grid-template-columns:1.4fr 1.2fr .8fr 120px}
  .compact-actions{margin-left:auto}
  .search-layout-shell{grid-template-columns:1fr}
  .search-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e4e4e4;padding:18px 14px}
  .filter-title{font-size:22px}.filter-section{display:none}.filter-section:first-of-type{display:block;border-bottom:0;padding-bottom:4px}.location-tags{overflow-x:auto;flex-wrap:nowrap}.location-tags a{white-space:nowrap}
  .results-column{padding:18px 14px 40px}.results-header{align-items:flex-start}.results-actions{flex-wrap:wrap;justify-content:flex-end}.promo-strip{margin-bottom:24px}
}
@media(max-width:760px){
  .search-nav-main{gap:8px}.search-nav-main .brand{font-size:20px}.compact-actions .language-link{display:none}.compact-login{padding:0 6px!important}
  .compact-search{grid-template-columns:1fr}.compact-cell{border-right:0;border-bottom:1px solid #dedede;height:44px}.compact-search-btn{height:46px}.location-cell{padding-right:86px}
  .results-header{flex-direction:column}.results-actions{width:100%;justify-content:space-between}.sort-form{flex:1;justify-content:flex-end}.sort-form select{min-width:140px}
  .result-card{grid-template-columns:1fr;gap:14px}.result-gallery{height:220px;grid-template-columns:minmax(0,1fr) 68px}.result-main-image{height:220px}.thumb-strip img{width:68px;height:54px}
  .result-bottom{flex-direction:column;align-items:stretch}.result-buttons{display:grid;grid-template-columns:1fr 1fr}.detail-btn,.book-btn{width:100%}
}
@media(max-width:480px){
  .compact-actions{display:none}.search-nav-main .brand{width:100%;justify-content:center}.compact-search{margin-top:2px}
  .search-sidebar{padding:12px 10px}.filter-title{font-size:20px}.location-tags a{font-size:11px;padding:6px 8px}
  .results-column{padding:14px 10px 30px}.results-header h1{font-size:19px}.results-actions{gap:10px}.map-toggle-label{display:none}.sort-form{width:100%;justify-content:space-between}.sort-form select{flex:1}
  .promo-strip{margin:14px 0 22px}.result-card{margin-bottom:25px;padding-bottom:26px}.result-gallery{height:195px;grid-template-columns:minmax(0,1fr) 60px}.result-main-image{height:195px}.thumb-strip img{width:60px;height:48px}
  .result-main h2{font-size:19px}.result-rating-line{margin:14px 0 10px;flex-wrap:wrap}.result-amenities{gap:11px;font-size:12px}.current-price{font-size:23px}
}


/* Homepage sticky compact search */
.home-sticky-search{
  position:fixed;
  top:76px;
  left:0;
  right:0;
  z-index:180;
  background:#fff;
  border-bottom:1px solid #dedede;
  box-shadow:0 4px 14px rgba(15,23,42,.10);
  padding:8px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(-12px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.home-sticky-search.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.home-compact-search{
  max-width:1180px;
  margin:0 auto;
  grid-template-columns:1.55fr 1.2fr .85fr 145px;
  box-shadow:none;
}
.home-compact-search .compact-cell{height:46px}
.home-compact-search .compact-search-btn{min-height:46px}
#homeSearchSentinel{height:1px;width:100%}

@media(max-width:1180px){
  .home-sticky-search{top:76px}
}
@media(max-width:900px){
  .home-sticky-search{
    top:66px;
    padding:7px 0;
  }
  .home-compact-search{
    grid-template-columns:1.3fr 1.15fr .75fr 110px;
  }
  .home-compact-search .near-btn{display:none}
  .home-compact-search .location-cell{padding-right:12px}
}
@media(max-width:700px){
  .home-sticky-search{
    top:60px;
    padding:6px 0;
  }
  .home-compact-search{
    display:grid;
    grid-template-columns:1fr 1fr;
    border-radius:8px;
    overflow:hidden;
  }
  .home-compact-search .location-cell{
    grid-column:1/3;
  }
  .home-compact-search .date-cell{
    grid-column:1/3;
  }
  .home-compact-search .guest-cell{
    grid-column:1/2;
    border-bottom:0;
  }
  .home-compact-search .compact-search-btn{
    grid-column:2/3;
    min-height:44px;
  }
  .home-compact-search .compact-cell{
    height:42px;
  }
}
@media(max-width:480px){
  .home-sticky-search{
    top:60px;
  }
  .home-sticky-search .wide{
    width:calc(100% - 12px);
  }
  .home-compact-search{
    grid-template-columns:1fr;
  }
  .home-compact-search .location-cell,
  .home-compact-search .date-cell,
  .home-compact-search .guest-cell,
  .home-compact-search .compact-search-btn{
    grid-column:1;
  }
  .home-compact-search .date-cell{
    gap:3px;
  }
  .home-compact-search .date-cell input{
    font-size:11px;
  }
}


/* V7 homepage header swap behavior */
.home-body .topbar{
  transition:transform .24s ease,opacity .22s ease;
  will-change:transform;
}
.home-body .city-nav{
  transition:transform .24s ease,opacity .22s ease;
  will-change:transform;
}
.home-body .topbar.home-header-hidden{
  transform:translateY(-110%);
  opacity:0;
  pointer-events:none;
}
.home-body .city-nav.home-city-hidden{
  transform:translateY(-160%);
  opacity:0;
  pointer-events:none;
}
.home-body .home-sticky-search{
  top:0 !important;
  padding:8px 0;
  background:#fff;
  border-bottom:1px solid #ddd;
  box-shadow:0 2px 10px rgba(0,0,0,.10);
  transform:translateY(-105%);
  opacity:0;
  visibility:hidden;
  transition:transform .24s ease,opacity .22s ease,visibility .22s ease;
}
.home-body .home-sticky-search.is-visible{
  transform:translateY(0);
  opacity:1;
  visibility:visible;
}
.home-body.home-header-compact{
  padding-top:0;
}

/* Search bar width and proportions similar to screenshot */
.home-body .home-compact-search{
  max-width:none;
  width:100%;
  grid-template-columns:1.65fr 1.25fr .9fr 155px;
  border:1px solid #d9d9d9;
  border-radius:4px;
  overflow:hidden;
}
.home-body .home-compact-search .compact-cell{
  height:46px;
  min-height:46px;
}
.home-body .home-compact-search .compact-search-btn{
  min-height:46px;
  border-radius:0;
  background:#1ab64f;
}
.home-body .home-compact-search .compact-search-btn:hover{
  background:#159d43;
}

@media(max-width:900px){
  .home-body .home-sticky-search{
    top:0 !important;
  }
  .home-body .home-compact-search{
    grid-template-columns:1.35fr 1.15fr .8fr 115px;
  }
}
@media(max-width:700px){
  .home-body .home-sticky-search{
    top:0 !important;
    padding:6px 0;
  }
  .home-body .home-compact-search{
    grid-template-columns:1fr 1fr;
    border-radius:8px;
  }
  .home-body .home-compact-search .location-cell,
  .home-body .home-compact-search .date-cell{
    grid-column:1/3;
  }
  .home-body .home-compact-search .guest-cell{
    grid-column:1/2;
  }
  .home-body .home-compact-search .compact-search-btn{
    grid-column:2/3;
  }
}
@media(max-width:480px){
  .home-body .home-sticky-search{
    top:0 !important;
  }
  .home-body .home-compact-search{
    grid-template-columns:1fr;
  }
  .home-body .home-compact-search .location-cell,
  .home-body .home-compact-search .date-cell,
  .home-body .home-compact-search .guest-cell,
  .home-body .home-compact-search .compact-search-btn{
    grid-column:1;
  }
}


/* =========================================================
   V8 UNIVERSAL SEARCH HEADER — SAME ON EVERY PAGE
   ========================================================= */

.universal-header-body{
  padding-top:62px;
}

.universal-search-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  height:62px;
  background:#fff;
  border-bottom:1px solid #dedede;
  box-shadow:0 1px 5px rgba(15,23,42,.08);
}

.universal-header-inner{
  width:100%;
  height:62px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 20px;
}

.universal-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  color:#1c63d5;
  font-weight:900;
  font-size:23px;
  white-space:nowrap;
  letter-spacing:-.4px;
}

.universal-logo-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg,#1b67dc,#3d82ed);
  box-shadow:0 4px 10px rgba(27,103,220,.22);
  font-size:20px;
}

.universal-logo-text{
  line-height:1;
}

.universal-search-form{
  flex:1 1 auto;
  min-width:0;
  height:44px;
  display:grid;
  grid-template-columns:minmax(260px,1.55fr) minmax(285px,1.2fr) minmax(180px,.8fr) 135px;
  border:1px solid #d9d9d9;
  border-radius:4px;
  overflow:hidden;
  background:#fff;
}

.universal-search-cell{
  min-width:0;
  display:flex;
  align-items:center;
  border-right:1px solid #dedede;
  background:#fff;
}

.universal-search-cell input,
.universal-search-cell select{
  width:100%;
  min-width:0;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#232323;
  font-size:13px;
  font-family:inherit;
}

.universal-location{
  position:relative;
  padding:0 84px 0 12px;
}

.universal-location input{
  font-weight:500;
}

.universal-near-btn{
  position:absolute;
  right:7px;
  top:6px;
  height:30px;
  padding:0 10px;
  border:0;
  border-radius:16px;
  background:#f2f2f2;
  color:#222;
  font-weight:800;
  font-size:11px;
  cursor:pointer;
  white-space:nowrap;
}

.universal-dates{
  gap:4px;
  padding:0 10px;
}

.universal-dates input{
  font-size:12px;
  font-weight:650;
}

.universal-arrow{
  color:#858585;
  flex:0 0 auto;
}

.universal-guests{
  padding:0 10px;
}

.universal-guests select{
  font-weight:700;
  cursor:pointer;
}

.universal-search-btn{
  height:44px;
  border:0;
  background:#1ab64f;
  color:#fff;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  transition:.18s;
}

.universal-search-btn:hover{
  background:#159f44;
}

.universal-right{
  height:44px;
  flex:0 0 auto;
  display:flex;
  align-items:stretch;
}

.universal-right>a{
  display:flex;
  align-items:center;
  border-left:1px solid #e4e4e4;
  padding:0 12px;
  white-space:nowrap;
}

.universal-lang{
  font-weight:800;
  font-size:12px;
}

.universal-phone{
  gap:9px;
}

.phone-icon{
  font-size:18px;
}

.phone-copy{
  display:flex;
  flex-direction:column;
}

.phone-copy strong{
  font-size:12px;
}

.phone-copy small{
  color:#858585;
  font-size:9px;
  margin-top:2px;
}

.universal-login{
  font-size:12px;
  font-weight:650;
}

.universal-alerts{
  margin-top:12px;
}

/* Hide legacy site navigation/header constructs */
.universal-header-body > .topbar,
.universal-header-body > .city-nav,
.home-sticky-search{
  display:none!important;
}

/* Search results should start immediately below universal header */
.search-layout-shell{
  min-height:calc(100vh - 62px);
}

.search-sidebar{
  top:62px;
  height:calc(100vh - 62px);
}

/* Homepage hero sits naturally below global search header */
.home-body .hero,
.universal-header-body .hero{
  margin-top:0;
}

/* Desktop intermediate */
@media(max-width:1280px){
  .universal-header-inner{
    padding:0 12px;
    gap:10px;
  }
  .universal-brand{
    font-size:20px;
  }
  .universal-search-form{
    grid-template-columns:minmax(210px,1.4fr) minmax(245px,1.15fr) minmax(155px,.75fr) 110px;
  }
  .universal-phone{
    display:none!important;
  }
}

/* Tablet */
@media(max-width:980px){
  .universal-header-body{
    padding-top:112px;
  }

  .universal-search-header{
    height:112px;
  }

  .universal-header-inner{
    height:112px;
    flex-wrap:wrap;
    align-content:center;
    row-gap:8px;
  }

  .universal-brand{
    height:38px;
  }

  .universal-right{
    margin-left:auto;
    height:38px;
  }

  .universal-search-form{
    order:3;
    flex-basis:100%;
    width:100%;
    height:46px;
    grid-template-columns:1.35fr 1.2fr .8fr 110px;
  }

  .universal-search-btn{
    height:46px;
  }

  .search-sidebar{
    top:112px;
    height:auto;
  }
}

/* Mobile */
@media(max-width:700px){
  .universal-header-body{
    padding-top:166px;
  }

  .universal-search-header{
    height:166px;
  }

  .universal-header-inner{
    height:166px;
    padding:7px 10px;
    align-content:flex-start;
  }

  .universal-brand{
    height:36px;
  }

  .universal-right{
    height:36px;
  }

  .universal-lang,
  .universal-phone{
    display:none!important;
  }

  .universal-login{
    border-left:0!important;
    padding-right:2px!important;
  }

  .universal-search-form{
    height:110px;
    grid-template-columns:1fr 1fr;
    grid-template-rows:36px 36px 38px;
    border-radius:7px;
  }

  .universal-location{
    grid-column:1/3;
    border-right:0;
    border-bottom:1px solid #dedede;
    padding-left:10px;
  }

  .universal-dates{
    grid-column:1/3;
    border-right:0;
    border-bottom:1px solid #dedede;
    padding:0 8px;
  }

  .universal-guests{
    grid-column:1/2;
    border-right:1px solid #dedede;
  }

  .universal-search-btn{
    grid-column:2/3;
    height:38px;
  }

  .search-sidebar{
    top:166px;
  }
}

/* Small phones */
@media(max-width:480px){
  .universal-header-body{
    padding-top:172px;
  }

  .universal-search-header{
    height:172px;
  }

  .universal-header-inner{
    height:172px;
  }

  .universal-brand{
    font-size:19px;
  }

  .universal-logo-mark{
    width:31px;
    height:31px;
    font-size:18px;
  }

  .universal-login{
    font-size:11px;
  }

  .universal-search-form{
    height:116px;
    grid-template-rows:38px 38px 40px;
  }

  .universal-location input{
    font-size:12px;
  }

  .universal-near-btn{
    height:27px;
    top:5px;
  }

  .universal-dates input{
    font-size:10px;
  }

  .universal-guests select{
    font-size:11px;
  }

  .universal-search-btn{
    height:40px;
    font-size:13px;
  }
}


/* =========================================================
   V9 MOBILE UX — APP-LIKE MOBILE EXPERIENCE
   ========================================================= */

.mobile-search-toggle,
.mobile-mini-footer,
.mobile-bottom-nav{
  display:none;
}

/* Touch improvements */
@media(max-width:900px){
  .btn,.detail-btn,.book-btn,.universal-search-btn{
    min-height:44px;
  }
}

@media(max-width:700px){

  html{
    scroll-padding-top:76px;
  }

  body.universal-header-body{
    padding-top:72px;
    padding-bottom:78px;
    background:#f7f8fa;
  }

  .universal-search-header{
    height:auto;
    min-height:64px;
    background:#fff;
    border-bottom:1px solid #e6e8ed;
    box-shadow:0 2px 12px rgba(15,23,42,.08);
  }

  .universal-header-inner{
    height:auto;
    min-height:64px;
    padding:10px 12px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:10px;
    align-items:center;
  }

  .universal-brand{
    font-size:20px;
    gap:7px;
  }

  .universal-logo-mark{
    width:32px;
    height:32px;
    border-radius:9px;
    font-size:18px;
  }

  .mobile-search-toggle{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    height:38px;
    border:1px solid #dce3ee;
    background:#f7f9fc;
    color:#1a4f9e;
    border-radius:10px;
    padding:0 11px;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
  }

  .universal-right{
    height:38px;
    display:flex;
    margin-left:0;
  }

  .universal-right .universal-lang,
  .universal-right .universal-phone{
    display:none!important;
  }

  .universal-login{
    min-width:auto;
    padding:0 5px!important;
    border-left:0!important;
    font-size:11px;
    font-weight:800;
  }

  .universal-search-form{
    display:none;
    position:absolute;
    top:64px;
    left:10px;
    right:10px;
    width:auto;
    height:auto;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    border:1px solid #e2e6ee;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 14px 36px rgba(15,23,42,.18);
    padding:8px;
    z-index:1050;
  }

  .universal-search-form.mobile-search-open{
    display:grid;
  }

  .universal-search-cell{
    min-height:48px;
    border:0;
    border-bottom:1px solid #edf0f4;
    border-radius:0;
  }

  .universal-location,
  .universal-dates,
  .universal-guests{
    grid-column:1;
  }

  .universal-location{
    padding:0 92px 0 8px;
  }

  .universal-near-btn{
    right:7px;
    top:8px;
    height:31px;
  }

  .universal-dates{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    padding:0 8px;
  }

  .universal-dates input{
    font-size:11px;
  }

  .universal-guests{
    padding:0 8px;
  }

  .universal-search-btn{
    grid-column:1;
    width:100%;
    height:48px;
    margin-top:8px;
    border-radius:10px;
    font-size:15px;
  }

  /* Mobile hero */
  .hero{
    padding:26px 0 30px;
    border-radius:0;
  }

  .hero h1{
    font-size:27px;
    line-height:1.18;
    text-align:left;
    margin-bottom:0;
  }

  /* Cards and sections */
  .section{
    padding:28px 0;
  }

  .section h2{
    font-size:22px;
  }

  .property-box,
  .booking-box,
  .panel,
  .filters,
  .hotel-list-card{
    border-radius:14px;
  }

  .destination-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
  }

  .destination{
    border-radius:12px;
  }

  .destination img{
    height:110px;
  }

  .destination div{
    padding:10px;
    font-size:13px;
  }

  /* Search results */
  .search-layout-shell{
    display:block;
    min-height:0;
  }

  .search-sidebar{
    position:static;
    height:auto;
    padding:12px 10px 8px;
    border-right:0;
    border-bottom:1px solid #e6e8ed;
    background:#fff;
  }

  .filter-title{
    font-size:18px;
    margin-bottom:8px;
  }

  .filter-section{
    display:none;
  }

  .filter-section:first-of-type{
    display:block;
    border:0;
    padding:0;
  }

  .filter-section h4,
  .filter-search{
    display:none;
  }

  .location-tags{
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    padding:2px 0 6px;
    scrollbar-width:none;
  }

  .location-tags::-webkit-scrollbar{
    display:none;
  }

  .location-tags a{
    flex:0 0 auto;
    border:1px solid #e2e6ed;
    background:#fff;
    border-radius:999px;
    padding:8px 12px;
    box-shadow:0 2px 7px rgba(15,23,42,.04);
  }

  .view-more{
    display:none;
  }

  .results-column{
    padding:14px 10px 28px;
  }

  .results-header{
    border-bottom:0;
    padding-bottom:10px;
  }

  .results-header h1{
    font-size:19px;
  }

  .results-actions{
    width:100%;
    gap:8px;
  }

  .map-toggle-label{
    display:none;
  }

  .sort-form{
    width:100%;
    display:flex;
    justify-content:space-between;
    gap:8px;
  }

  .sort-form select{
    flex:1;
    min-width:0;
    height:42px;
    border-radius:10px;
  }

  .promo-strip{
    width:100%;
    margin:4px 0 16px;
    border-radius:10px;
    padding:12px 13px;
    background:#fffaf1;
  }

  .result-card{
    background:#fff;
    border:1px solid #e5e8ee;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(15,23,42,.07);
    margin-bottom:16px;
    padding:0;
    gap:0;
  }

  .result-gallery{
    height:215px;
    border-radius:0;
  }

  .result-main-image{
    height:215px;
  }

  .thumb-strip img{
    height:52px;
  }

  .service-tag{
    top:10px;
    left:10px;
    border-radius:7px;
  }

  .result-main{
    padding:15px;
  }

  .result-main h2{
    font-size:19px;
    margin-bottom:5px;
  }

  .result-location{
    font-size:12px;
  }

  .result-rating-line{
    margin:13px 0 10px;
  }

  .result-amenities{
    gap:9px 13px;
    font-size:12px;
  }

  .member-badge{
    border-radius:5px;
    margin-top:10px;
  }

  .result-bottom{
    gap:13px;
    margin-top:16px;
  }

  .price-zone{
    width:100%;
  }

  .current-price{
    font-size:24px;
  }

  .result-buttons{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:9px;
  }

  .detail-btn,
  .book-btn{
    min-height:45px;
    border-radius:9px;
    font-size:13px;
  }

  /* Hotel details */
  .hotel-detail{
    padding:12px 0 26px;
  }

  .gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:205px 110px;
    border-radius:12px;
  }

  .gallery img:first-child{
    grid-column:1/3;
  }

  .detail-grid{
    margin-top:14px;
    gap:14px;
  }

  .room-option{
    grid-template-columns:1fr;
    gap:12px;
  }

  .room-option .btn{
    width:100%;
  }

  /* Checkout and login */
  .auth-wrap{
    min-height:auto;
    padding:18px 10px 28px;
  }

  .auth-card{
    width:100%;
    padding:20px;
    border-radius:15px;
  }

  .field input,
  .field select,
  .field textarea{
    min-height:46px;
    font-size:16px;
  }

  /* Dashboard */
  .dashboard{
    padding:18px 10px 30px;
  }

  .stats{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .stat{
    padding:15px;
    border-radius:12px;
  }

  .stat b{
    font-size:23px;
  }

  .panel{
    padding:15px;
  }

  .table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  table{
    min-width:700px;
  }

  /* Mobile footer */
  .desktop-footer-only{
    display:none!important;
  }

  .mobile-mini-footer{
    display:block;
    background:#f4f6f9;
    border-top:1px solid #e4e7ec;
    text-align:center;
    padding:18px 14px 22px;
    color:#556070;
  }

  .mobile-footer-logo{
    color:#155fd5;
    font-size:19px;
    font-weight:900;
    margin-bottom:7px;
  }

  .mobile-footer-links{
    display:flex;
    justify-content:center;
    gap:7px;
    flex-wrap:wrap;
    font-size:12px;
  }

  .mobile-footer-copy{
    margin-top:8px;
    font-size:11px;
    color:#8a929e;
  }

  /* Bottom navigation */
  .mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:2000;
    height:66px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:rgba(255,255,255,.97);
    border-top:1px solid #dfe3e9;
    box-shadow:0 -8px 25px rgba(15,23,42,.08);
    padding-bottom:env(safe-area-inset-bottom);
    backdrop-filter:blur(12px);
  }

  .mobile-bottom-nav a{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font-size:10px;
    color:#667085;
    font-weight:700;
  }

  .mobile-bottom-nav a.active{
    color:#155fd5;
  }

  .bottom-icon{
    font-size:21px;
    line-height:1;
  }

  .mobile-bottom-nav a.active .bottom-icon{
    transform:translateY(-1px);
  }
}

@media(max-width:430px){
  .universal-header-inner{
    grid-template-columns:auto 1fr auto;
    gap:7px;
  }

  .universal-logo-text{
    font-size:18px;
  }

  .mobile-search-toggle{
    padding:0 8px;
    font-size:11px;
  }

  .universal-login{
    font-size:0;
  }

  .universal-login::after{
    content:'Account';
    font-size:10px;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .destination-row{
    grid-template-columns:1fr 1fr;
  }
}
