.ehm-open{overflow:hidden}.ehm-trigger{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8dde5;background:#fff;color:#1d2735;border-radius:8px;font:600 14px/1.2 inherit;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04)}.ehm-trigger:hover{border-color:#9da8b6}.ehm-trigger:focus-visible{outline:3px solid rgba(34,113,177,.22);outline-offset:2px}.ehm-trigger__icon{font-size:17px}.ehm-auto-trigger{margin:0 0 12px}.ehm-modal[hidden]{display:none!important}.ehm-modal{position:fixed;inset:0;z-index:999999}.ehm-modal__backdrop{position:absolute;inset:0;background:rgba(10,20,35,.55);backdrop-filter:blur(2px)}.ehm-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1180px,94vw);height:min(780px,92vh);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.28);display:flex;flex-direction:column;outline:none}.ehm-dialog__header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px 12px 24px;border-bottom:1px solid #edf0f3;flex:0 0 auto}.ehm-dialog__heading{min-width:0}.ehm-dialog__header h2{font-size:20px;line-height:1.25;margin:0 0 3px}.ehm-dialog__header p{margin:0;color:#667085;font-size:13px}.ehm-close{width:40px;height:40px;border:0;border-radius:50%;background:#f2f4f7;font-size:27px;line-height:1;cursor:pointer;flex:0 0 40px}.ehm-close:hover{background:#e8ebef}.ehm-close:focus-visible{outline:3px solid rgba(34,113,177,.22);outline-offset:2px}.ehm-dialog__body{display:grid;grid-template-columns:minmax(0,1fr) 380px;min-height:0;flex:1}.ehm-map-wrap{position:relative;min-width:0;background:#eef2f5}.ehm-map{position:absolute;inset:0}.ehm-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:500;background:#fff;padding:12px 16px;border-radius:9px;box-shadow:0 6px 18px rgba(0,0,0,.12);font-size:14px;text-align:center;max-width:min(420px,80%)}.ehm-fit-map{position:absolute;right:14px;top:14px;z-index:550;display:inline-flex;align-items:center;gap:5px;border:1px solid #d8dde5;border-radius:9px;background:#fff;padding:8px 10px;box-shadow:0 3px 12px rgba(0,0,0,.12);cursor:pointer;font:600 12px/1 inherit}.ehm-fit-map:hover{border-color:#9da8b6}.ehm-sidebar{min-width:0;border-left:1px solid #edf0f3;background:#fff;overflow:auto;display:flex;flex-direction:column}.ehm-sidebar__top{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #edf0f3;padding:12px}.ehm-sidebar__title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.ehm-visible-count{font-size:12px;color:#667085;font-weight:500}.ehm-radius-filters{display:flex;gap:6px;overflow-x:auto;padding:10px 0 4px;scrollbar-width:thin}.ehm-radius,.ehm-sort{border:1px solid #d8dde5;background:#fff;color:#344054;border-radius:999px;padding:6px 10px;font:600 12px/1 inherit;white-space:nowrap;cursor:pointer}.ehm-radius:hover,.ehm-sort:hover{border-color:#9da8b6}.ehm-radius.is-active,.ehm-sort.is-active{background:#17202e;color:#fff;border-color:#17202e}.ehm-sort-row{display:flex;align-items:center;gap:6px;margin-top:8px}.ehm-sort-row>span{font-size:11px;color:#667085;margin-right:2px}.ehm-sort{padding:5px 9px}.ehm-list{padding:12px}.ehm-card{display:grid;grid-template-columns:108px 1fr;gap:12px;border:1px solid #e6e9ee;border-radius:12px;padding:10px;margin-bottom:10px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;outline:none}.ehm-card:hover,.ehm-card:focus,.ehm-card.is-hovered{border-color:#aeb7c4;box-shadow:0 5px 15px rgba(30,45,65,.08)}.ehm-card.is-selected{border-color:#17202e;box-shadow:0 0 0 2px rgba(23,32,46,.08),0 7px 18px rgba(30,45,65,.11)}.ehm-card:focus-visible{outline:3px solid rgba(34,113,177,.2);outline-offset:1px}.ehm-card__image{width:108px;height:100%;min-height:118px;border-radius:9px;object-fit:cover;background:#f2f4f7}.ehm-card__image--empty{background:linear-gradient(135deg,#f2f4f7,#e8ecf1)}.ehm-card__body{min-width:0}.ehm-card__top{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.ehm-card h3{font-size:14px;line-height:1.35;margin:0;color:#17202e}.ehm-card__distance{white-space:nowrap;font-size:12px;color:#667085}.ehm-card__meta{display:flex;align-items:center;gap:6px;margin-top:7px;min-height:22px}.ehm-card__rating{display:inline-flex;padding:3px 6px;border-radius:6px;background:#173f73;color:#fff;font-weight:700;font-size:12px}.ehm-card__reviews{font-size:11px;color:#667085}.ehm-card__price{margin-top:7px}.ehm-card__price span{display:block;color:#667085;font-size:11px}.ehm-card__price strong{font-size:15px}.ehm-card__link{display:inline-block;margin-top:7px;font-size:12px;font-weight:700;text-decoration:none}.ehm-empty{padding:24px 16px;color:#667085;text-align:center}.ehm-marker-host{background:transparent;border:0}.ehm-price-marker{display:flex;align-items:center;justify-content:center;min-width:54px;height:28px;padding:0 7px;border-radius:8px;background:#fff;color:#17202e;border:1px solid #cfd6df;box-shadow:0 4px 12px rgba(0,0,0,.18);font-weight:800;font-size:12px;white-space:nowrap;position:relative;transition:transform .14s ease,box-shadow .14s ease}.ehm-price-marker:after{content:"";position:absolute;left:50%;bottom:-5px;width:9px;height:9px;background:#fff;border-right:1px solid #cfd6df;border-bottom:1px solid #cfd6df;transform:translateX(-50%) rotate(45deg)}.ehm-price-marker.is-active{transform:translateY(-3px) scale(1.08);border-color:#17202e;box-shadow:0 7px 18px rgba(0,0,0,.25)}.ehm-price-marker--current{background:#17202e;color:#fff;border-color:#17202e}.ehm-price-marker--current:after{background:#17202e;border-color:#17202e}.ehm-popup{width:235px}.ehm-popup img{display:block;width:100%;height:112px;object-fit:cover;border-radius:7px;margin-bottom:8px}.ehm-popup__content>strong{display:block;font-size:14px;line-height:1.3}.ehm-popup__distance{font-size:12px;color:#667085;margin-top:4px}.ehm-popup__meta{display:flex;align-items:center;gap:6px;margin-top:7px}.ehm-popup__rating{display:inline-flex;padding:3px 6px;border-radius:6px;background:#173f73;color:#fff;font-weight:700;font-size:12px}.ehm-popup__reviews{font-size:11px;color:#667085}.ehm-popup__price{font-size:12px;margin-top:7px}.ehm-popup__price span{color:#667085}.ehm-popup__price strong{font-size:14px}.ehm-popup a{display:inline-block;margin-top:8px;font-weight:700;text-decoration:none}.ehm-modal .leaflet-popup-content{margin:12px}.ehm-modal .leaflet-popup-content-wrapper{border-radius:10px}.ehm-modal .leaflet-control-attribution{font-size:10px}
@media(max-width:920px){.ehm-dialog__body{grid-template-columns:minmax(0,1fr) 345px}.ehm-card{grid-template-columns:96px 1fr}.ehm-card__image{width:96px}}
@media(max-width:820px){.ehm-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0;top:0;left:0;transform:none}.ehm-dialog__header{min-height:62px;padding:8px 14px}.ehm-dialog__header h2{font-size:17px}.ehm-dialog__body{display:flex;flex-direction:column}.ehm-map-wrap{height:58%;min-height:320px;flex:0 0 58%}.ehm-sidebar{border-left:0;border-top:1px solid #edf0f3;overflow:hidden;flex:1;min-height:0}.ehm-sidebar__top{position:relative;padding:8px 10px}.ehm-sidebar__title-row{display:none}.ehm-radius-filters{padding:0 0 6px}.ehm-sort-row{margin-top:0}.ehm-list{display:flex;gap:10px;padding:10px;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;flex:1;min-height:0}.ehm-card{flex:0 0 min(84vw,330px);margin:0;grid-template-columns:92px 1fr;height:auto;min-height:0;box-sizing:border-box;scroll-snap-align:center;align-self:stretch}.ehm-card__image{width:92px;min-height:120px}.ehm-status{width:max-content;max-width:80%}.ehm-fit-map{top:10px;right:10px}.ehm-fit-map span{display:none}}
@media(max-width:480px){.ehm-dialog__header p{font-size:11px}.ehm-map-wrap{height:55%;flex-basis:55%;min-height:285px}.ehm-sidebar__top{padding:7px 8px}.ehm-radius,.ehm-sort{font-size:11px;padding:5px 8px}.ehm-card{flex-basis:90vw}.ehm-card h3{font-size:13px}.ehm-card__distance{font-size:11px}}

/* R1.3.4 – vị trí trong dòng địa chỉ khachsan.php, desktop only */
.ehm-location-action{display:inline-flex;margin-left:10px;vertical-align:middle}.ehm-location-action .ehm-trigger{padding:5px 9px;font-size:13px}
@media(max-width:767px){.ehm-location-action,.ehm-modal{display:none!important}}

/* R1.6.0: visible retry and desktop-only public trigger; sidebar iframe is untouched. */
.ehm-retry{display:block;margin:10px auto 0;padding:7px 12px;border:1px solid #d8dde5;border-radius:7px;background:#fff;color:#17202e;cursor:pointer;font:inherit}
@media(max-width:767px){body:not(.wp-admin) .ehm-trigger{display:none!important}}

/* R1.7.0: keep the current position usable while nearby hotels load. */
.ehm-status.ehm-status--compact { inset:auto 12px 12px 12px; transform:none; max-width:none; width:auto; height:auto; min-height:0; padding:10px 14px; border-radius:8px; background:rgba(255,255,255,.96); box-shadow:0 2px 12px rgba(0,0,0,.12); z-index:500; }
