/* Property index only; desktop and other section pages retain their layout. */
@media(max-width:1279px),(max-width:1600px) and (hover:none) and (pointer:coarse){
 body.gv-property-mobile-listing #gvLiveSearch{margin-top:14px!important;margin-bottom:14px!important;padding-top:0!important;padding-bottom:0!important}
 body.gv-property-mobile-listing .gv-listing-page{padding-top:0!important;margin-top:0!important}
 body.gv-property-mobile-listing .gv-listing-page .properties-category-tabs{display:none!important}
 .gv-mobile-filter-bar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;margin-bottom:16px;background:rgba(9,22,64,.48);border:1px solid #db73214d;border-radius:20px;backdrop-filter:blur(8px)}
 .gv-mobile-filter-bar button,.gv-mobile-section-menu summary,.gv-property-filter-sheet button{font:inherit;font-size:14px;font-weight:800;color:#f2f6ff;cursor:pointer;border:1px solid #426b98;border-radius:13px;background:#102b48;min-height:44px;padding:9px 14px}
 .gv-mobile-filter-bar .gv-mobile-all{background:#db7321;border-color:#db7321}
 .gv-mobile-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:50%;background:#db7321;font-size:12px}
 .gv-mobile-filter-count[hidden]{display:none}
 .gv-mobile-section-menu{grid-column:1/-1;min-width:0}
 .gv-mobile-section-menu summary{text-align:center;list-style:none;background:transparent;border-color:#426b9855;min-height:38px;padding:7px 12px;font-size:13px}
 .gv-mobile-section-menu summary::-webkit-details-marker{display:none}
 .gv-mobile-section-menu summary::after{content:'⌄';margin-inline-start:8px}
 .gv-mobile-section-menu[open] summary::after{content:'⌃'}
 body.gv-property-mobile-listing .gv-mobile-section-menu #gvListingSections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;border:0!important;padding:12px 0 0!important}
 body.gv-property-mobile-listing .gv-mobile-section-menu .property-tab{font-size:12px!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px!important;white-space:normal!important}
 dialog.gv-property-filter-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;width:min(100%,680px);max-width:100%;max-height:82svh;margin:0 auto;padding:0;overflow:hidden;color:#f2f6ff;background:linear-gradient(145deg,#102449,#091630);border:1px solid #db732166;border-bottom:0;border-radius:24px 24px 0 0;box-shadow:0 -15px 60px #0006}
 dialog.gv-property-filter-sheet[open]{display:flex;flex-direction:column}
 .gv-property-filter-sheet::backdrop{background:#020716b8;backdrop-filter:blur(4px)}
 .gv-mobile-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 18px 12px;border-bottom:1px solid #ffffff14;flex-shrink:0}
 .gv-mobile-sheet-head h2{font-size:19px;margin:0;color:#f2f6ff}
 .gv-mobile-sheet-head button{width:42px;min-height:42px;font-size:24px;padding:0}
 .gv-mobile-sheet-options{overflow-y:auto;overscroll-behavior:contain;padding:16px 18px;min-height:0}
 .gv-property-filter-sheet #gvListingFilters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%}
 .gv-property-filter-sheet #gvListingFilters [data-mode=all]{grid-column:1/-1}
 .gv-property-filter-sheet #gvListingFilters .property-tab{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;height:auto;min-height:46px;margin:0;padding:10px;font-size:13px;line-height:1.5;white-space:normal;text-align:start;box-shadow:none;background:#102b48;color:#f2f6ff;border:1px solid #426b98;border-radius:13px}
 .gv-property-filter-sheet #gvListingFilters .property-tab.active{background:#db73212b;border-color:#db7321}
 .gv-property-filter-sheet .gv-dynamic-filter-check{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;border:1px solid #7f99b3;border-radius:5px;color:#fff;background:transparent;font-size:12px}
 .gv-property-filter-sheet .active .gv-dynamic-filter-check{background:#db7321;border-color:#db7321}
 .gv-mobile-sheet-actions{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 18px max(16px,env(safe-area-inset-bottom));border-top:1px solid #ffffff14;flex-shrink:0}
 .gv-mobile-sheet-actions .gv-mobile-sheet-apply{background:#db7321;border-color:#db7321}
 .gv-mobile-filter-bar :focus-visible,.gv-property-filter-sheet :focus-visible{outline:2px solid #ffb879;outline-offset:3px}
}

/* One surface for search, category choices and result controls. */
@media(max-width:1279px),(max-width:1600px) and (hover:none) and (pointer:coarse){
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel{box-sizing:border-box;padding:18px 14px 14px;margin:14px 0 18px;border:1px solid #db73214d;border-radius:24px;background:rgba(9,22,64,.48);box-shadow:0 8px 28px #0003;backdrop-filter:blur(8px);color:#f2f6ff}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvLiveSearch{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvLiveSearch>.container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvLiveSearch .gv-search-main-card{width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvLiveSearch .gv-search-main-card::before,body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvLiveSearch .gv-search-main-card::after{display:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-search-head{margin:0 0 10px!important;text-align:start!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-search-head h2{font-size:21px!important;margin:0!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-search-head p,body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-search-kicker{display:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-mobile-filter-bar{padding:14px 0!important;margin:14px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid #ffffff14!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .properties-toolbar{margin:0!important;padding:14px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid #ffffff14!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;gap:12px!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .properties-toolbar::before,body.gv-property-mobile-listing #gvPropertyUnifiedPanel .properties-toolbar::after{display:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .results-info{order:2!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .results-info>i,body.gv-property-mobile-listing #gvPropertyUnifiedPanel #gvListingHeading{display:none!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .results-info span{font-size:12px!important;line-height:1.6!important;color:#bacbdf!important}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel .gv-listing-controls{order:1!important;padding-top:0!important;border-top:0!important}
}


/* Balance the visible hero-to-panel and panel-to-cards gaps (24px). */
@media(max-width:1279px),(max-width:1600px) and (hover:none) and (pointer:coarse){
 body.gv-public-cosmic.gv-property-mobile-listing .hero-exact.gv-home-depth{margin-bottom:0!important}
 body.gv-property-mobile-listing .gv-listing-container{display:flow-root}
 body.gv-property-mobile-listing #gvPropertyUnifiedPanel{margin:0 0 24px!important}
}
