/* Light vector map, with the store details outside the geographic viewport. */
.map.tp-map{display:flex;flex-direction:column;min-height:450px;border-radius:14px;background:#fff;border:1px solid var(--line);overflow:hidden}
.tp-map-viewport{position:relative;flex:1;min-height:340px;isolation:isolate;background:#f2f3f4}
.tp-map-canvas{position:absolute;inset:0;font-family:var(--font-ui)}
.tp-map-status{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:#f5f5f6}
.tp-map-status>.icon{width:30px;height:30px;color:var(--red)}
.tp-map-status p{max-width:30ch;margin:0;font-size:15px;color:#55555d}
.tp-map-status .link-red{font-size:14px;min-height:44px}
.tp-map [hidden]{display:none!important}
.tp-map-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;background:#fff;border-top:1px solid var(--line)}
.tp-map-address{display:flex;align-items:flex-start;gap:12px;min-width:0}
.tp-map-address>.icon{width:24px;height:24px;color:var(--red);margin-top:3px}
.tp-map-address b{display:block;font-size:18px;font-weight:700;line-height:1.3}
.tp-map-address p{margin:5px 0 0;font-size:14px;line-height:1.5}
.tp-map-address p span{display:block;margin-top:3px;font-size:12px;color:#63636b}
.tp-map-route{flex:none;white-space:nowrap}
.tp-map-reset{position:absolute;top:14px;left:14px;z-index:2;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:0;border-radius:8px;background:#fff;color:var(--black);box-shadow:0 3px 12px #00000018;cursor:pointer;font-size:12px;font-weight:600}
.tp-map-reset .icon{width:17px;height:17px;color:var(--red)}
.tp-map-reset:hover{background:#fff0f3}
.tp-map .maplibregl-ctrl-top-right{top:4px;right:4px}
.tp-map .maplibregl-ctrl-group{border-radius:8px;box-shadow:0 3px 12px #00000018}
.tp-map .maplibregl-ctrl-group button{width:40px;height:40px}
.tp-map .maplibregl-ctrl-attrib{font:10px/1.5 var(--font-ui);background:#fffffff2;color:#55555d;max-width:calc(100% - 16px);padding:3px 7px;border-radius:5px;margin:0 8px 8px 0}
.tp-map .maplibregl-ctrl-attrib a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tp-map .maplibregl-ctrl-scale{font-family:var(--font-ui);background:#ffffffe0;color:#55555d;border-color:#77777f;margin-bottom:12px}
.tp-map-marker{position:relative;width:56px;height:64px;padding:0;border:0;background:transparent;cursor:pointer;color:var(--red)}
.tp-map-marker svg{display:block;width:56px;height:64px;filter:drop-shadow(0 4px 5px #00000022)}
.tp-map-marker-label{position:absolute;bottom:68px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:6px 10px;border-radius:6px;background:var(--black);color:#fff;font:700 13px/1.2 var(--font-ui)}
.tp-map .maplibregl-popup-content{padding:18px;border-radius:10px;box-shadow:0 8px 24px #00000020;font-family:var(--font-ui)}
.tp-map .maplibregl-popup-content h3{margin:0 20px 7px 0;font-size:17px;line-height:1.3}
.tp-map .maplibregl-popup-content p{margin:0 0 8px;font-size:13px;line-height:1.5}
.tp-map .maplibregl-popup-content a{display:inline-flex;align-items:center;min-height:40px;color:var(--red2);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tp-map .maplibregl-popup-close-button{width:36px;height:36px;font-size:23px;color:#555}
.tp-map button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media(max-width:760px){
  .map.tp-map{min-height:0}
  .tp-map-viewport{flex:none;height:340px;min-height:340px}
  .tp-map-footer{flex-wrap:wrap;gap:16px;padding:18px}
  .tp-map-route{width:100%;min-height:44px;justify-content:space-between}
  .tp-map .maplibregl-ctrl-scale{display:none}
}
