/* AsiaGuide lodging maps: shared navigation, listing locations and owner point picker. */
.ag-open-map{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:1px solid #c8e3e7;border-radius:24px;padding:9px 12px;color:var(--teal-dark);font:600 10px/1.3 var(--heading-font);white-space:nowrap}
.ag-open-map svg{width:17px;height:17px;flex-shrink:0}.ag-open-map:hover{background:var(--mint)}
.ag-home-map-link{display:flex;justify-content:flex-end;margin:12px 0 0}.ag-home-map-link a{display:flex;align-items:center;gap:9px;border-radius:22px;padding:10px 17px;background:white;border:1px solid var(--line);color:var(--navy);font-weight:700;font-size:13px}.ag-home-map-link svg{width:19px;height:19px;color:var(--teal-dark)}.ag-home-map-link span{font-weight:400;color:var(--muted);font-size:12px}
.stay-location{margin-top:30px}.stay-location-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.stay-location-heading>img{width:26px;height:42px;object-fit:contain}.stay-location h2{margin:7px 0 12px}.stay-location>p{margin:0 0 17px}.stay-location-map{height:340px;max-width:100%;border:1px solid var(--line);border-radius:14px;isolation:isolate;background:var(--soft);margin:16px 0}.stay-location .text-link{display:inline-block;margin:5px 0}.sm-brand-marker{background:transparent;border:0;box-shadow:none;object-fit:contain}.stay-location-map img.leaflet-tile,#stay-explorer-map img.leaflet-tile{max-width:none!important;max-height:none!important}
.stay-location-editor{margin:20px 0 26px}.stay-location-editor h3{margin-bottom:10px}.stay-map-editor-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:16px 0}.stay-map-editor-actions .text-link{border:0;background:none;cursor:pointer;font:inherit;color:var(--teal-dark)}.sm-address-option{display:block;background:var(--soft);border:1px solid var(--line);border-radius:8px;text-align:left;padding:12px;width:100%;margin:6px 0;color:var(--navy);font-size:13px}.sm-address-option:hover{border-color:var(--teal)}.stay-catalog-map-link{margin:18px 0;text-align:right}
.sm-main{padding:26px clamp(16px,3vw,48px) 42px}.sm-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:20px}.sm-heading h1{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:6px 0 9px}.sm-heading p:last-child{color:var(--muted);margin:0}.sm-heading>.ag-button{flex-shrink:0}
.sm-filters.stay-search{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(160px,1fr) minmax(150px,.9fr) auto;gap:12px 16px;background:white;border:1px solid var(--line);border-radius:14px;padding:17px 20px;margin:0 0 15px;align-items:end}.sm-filters .stay-field{margin:0;min-width:0}.sm-filters input,.sm-filters select{font-size:14px;max-width:100%}.sm-filters .ag-button{height:44px;white-space:nowrap}.sm-more-filters{grid-column:1/-1;margin-top:0}.sm-more-filters summary{cursor:pointer;color:var(--teal-dark);font-size:13px;font-weight:700;padding:4px 0}.sm-extra-fields{display:grid;grid-template-columns:1.25fr 1fr 1fr .6fr .7fr 1fr;gap:12px;margin-top:13px}.sm-filter-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}.sm-filter-foot label{display:flex;align-items:center;gap:7px}.sm-filter-foot input{width:15px;height:15px;accent-color:var(--teal-dark)}.sm-demo-notice{padding:10px 14px;background:#fff4df;border:1px solid #f1ddbb;border-radius:9px;color:#665237;font-size:13px;line-height:1.5;margin:0 0 14px}
.sm-explorer{display:grid;grid-template-columns:minmax(0,1fr) 350px;height:clamp(530px,72vh,920px);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;isolation:isolate}.sm-map-panel{position:relative;min-width:0;min-height:0}#stay-explorer-map{width:100%;height:100%;background:var(--soft)}.sm-map-controls{position:absolute;right:14px;top:14px;z-index:500;display:flex;gap:8px}.sm-map-controls button{background:white;border:1px solid #cfdadf;box-shadow:0 2px 8px #062b5910;border-radius:9px;padding:10px;display:flex;gap:6px;align-items:center;color:var(--navy);font-size:11px;min-height:40px}.sm-map-controls svg{width:17px;height:17px}.sm-map-controls [data-map-fullscreen]{font-size:22px;padding:6px 12px}.sm-map-legend{position:absolute;z-index:450;left:12px;bottom:24px;background:#ffffffed;border:1px solid var(--line);border-radius:8px;display:flex;gap:8px;align-items:center;padding:7px 11px;font-size:11px;color:var(--navy);pointer-events:none}.sm-map-legend img{width:14px;height:23px;object-fit:contain}.sm-results{overflow:auto;border-left:1px solid var(--line);background:white;min-width:0;scrollbar-width:thin}.sm-results-head{padding:19px 20px 14px;position:sticky;top:0;background:white;border-bottom:1px solid var(--line);z-index:1}.sm-results-head h2{font-size:18px;margin:0 0 5px}.sm-results-head p{font-size:12px;color:var(--muted);margin:0}.sm-result-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:13px;padding:18px 16px;border-bottom:1px solid var(--line)}.sm-result-card>img{width:100px;height:95px;object-fit:cover;border-radius:9px}.sm-card-body{min-width:0}.sm-card-kind{font-size:10px;display:block;line-height:1.45;color:var(--teal-dark);margin-bottom:6px}.sm-card-title{font:600 13px/1.45 var(--heading-font);color:var(--navy);display:block;overflow-wrap:anywhere}.sm-card-title:hover{text-decoration:underline}.sm-card-address{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0}.sm-card-price{display:block;font-size:13px;color:var(--navy);line-height:1.5}.sm-demo-label{display:block;color:#8c682d;font-size:10px;line-height:1.5;margin-top:6px}.sm-locate{border:0;background:none;padding:7px 0 0;color:var(--teal-dark);font:400 11px var(--body-font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.sm-load-more{margin:17px auto;display:flex}.sm-load-more[hidden]{display:none}.sm-empty{padding:30px 22px}.sm-empty h3{font-size:18px}.sm-empty p{color:var(--muted);font-size:13px;line-height:1.6}
.sm-property-pin,.sm-cluster{background:transparent;border:0}.sm-pin-label{position:relative;width:130px;height:46px}.sm-pin-label img{width:28px;height:46px;object-fit:contain;position:absolute;left:0;top:0}.sm-pin-label>span{position:absolute;left:29px;top:13px;white-space:nowrap;background:var(--navy);color:white;box-shadow:0 2px 5px #062b5920;border:2px solid white;border-radius:7px;padding:4px 7px;font:600 11px var(--heading-font)}.sm-demo-pin .sm-pin-label>span{background:#fff6e5;color:#644c24;border-color:#eedcb8;font-size:10px}.sm-cluster-inner{width:54px;height:54px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:50%;border:3px solid white;outline:2px solid var(--teal-dark);background:var(--navy);color:white;box-shadow:0 3px 12px #062b5930}.sm-cluster-inner img{width:16px;height:26px;object-fit:contain}.sm-cluster-inner strong{font:700 14px var(--heading-font)}.sm-popup .leaflet-popup-content{margin:0!important;width:260px!important}.sm-popup .leaflet-popup-content-wrapper{padding:0;overflow:hidden;border-radius:13px}.sm-popup-card>img{width:100%;height:125px;object-fit:cover}.sm-popup-card .sm-card-body{padding:14px}.sm-popup-card p{margin:7px 0!important}.sm-popup-link{display:inline-block;margin-top:12px;color:var(--teal-dark)!important;font-weight:700;font-size:13px}.sm-shared-address{max-height:260px;overflow:auto}.sm-shared-address>a{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.sm-map-expanded{overflow:hidden}.sm-explorer.sm-fullscreen{position:fixed;inset:0;z-index:2000;height:100dvh;border:0;border-radius:0}
@media(max-width:1400px){.ag-open-map span{display:none}.ag-open-map{padding:9px}.sm-extra-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.sm-explorer{grid-template-columns:minmax(0,1fr) 290px}.sm-result-card{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:14px 12px}.sm-result-card>img{width:76px;height:84px}.sm-filters.stay-search{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-filters .ag-button{width:100%}}
@media(max-width:700px){.ag-open-map{display:none}.ag-home-map-link{justify-content:center}.ag-home-map-link span{display:none}.sm-main{padding:22px 14px 32px}.sm-heading{align-items:flex-start;flex-direction:column;gap:14px}.sm-heading h1{font-size:28px}.sm-heading>div>p:last-child{font-size:14px}.sm-heading>.ag-button{font-size:11px;min-height:35px;padding:7px 12px}.sm-filters.stay-search{padding:15px 13px;gap:12px}.sm-filters input,.sm-filters select{font-size:16px;min-width:0}.sm-filters .stay-field>span{font-size:11px}.sm-filters .ag-button{font-size:10px;padding-inline:9px}.sm-extra-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-filter-foot{font-size:11px;gap:10px}.sm-explorer{height:auto;display:flex;flex-direction:column;border-radius:13px}.sm-map-panel{height:58vh;min-height:360px}.sm-results{border-left:0;border-top:1px solid var(--line);max-height:390px}.sm-result-card{grid-template-columns:95px minmax(0,1fr);padding:14px 15px}.sm-result-card>img{width:95px;height:95px}.sm-results-head{padding:13px 16px}.sm-map-controls{right:10px;top:10px}.sm-map-controls button{padding:8px;font-size:10px}.stay-location-map{height:300px}.sm-explorer.sm-fullscreen .sm-map-panel{height:calc(100dvh - 180px);min-height:0;flex:1}.sm-explorer.sm-fullscreen .sm-results{height:180px;flex-shrink:0}.stay-location-heading h2{font-size:23px}}
.sm-result-card .sm-card-body:only-child{grid-column:1/-1}
@media(max-width:800px){.ag-header-actions>.ag-icon-button[href="/tours#search-form"]{display:none}}
@media print{.ag-open-map,.ag-home-map-link,.sm-explorer,.stay-location-map{display:none!important}}
