/* Bulgarche map — [bulgarche_map] front end. Accent colour and height come from
   the shortcode via --bm-color / --bm-height on the root element. */
.bm-map{--bm-color:#4285f4;--bm-height:600px;position:relative;z-index:0;isolation:isolate;display:flex;height:var(--bm-height);min-height:320px;border:1px solid #e3e3e3;border-radius:8px;overflow:hidden;background:#fff;color:#222;font-size:15px;line-height:1.4;box-sizing:border-box}
.bm-map *,.bm-map *::before,.bm-map *::after{box-sizing:border-box}
.bm-map__panel{display:flex;flex-direction:column;flex:0 0 340px;width:340px;max-width:45%;min-height:0;border-right:1px solid #e9e9e9;background:#fff}
.bm-map__search{display:flex;gap:8px;padding:12px;background:var(--bm-color)}
.bm-map .bm-map__input{flex:1 1 auto;min-width:0;width:auto;height:40px;margin:0;padding:0 12px;border:1px solid rgba(0,0,0,.1);border-radius:6px;background:#fff;color:#222;font:inherit;font-size:15px;line-height:normal;box-shadow:none;-webkit-appearance:none;appearance:none}
.bm-map .bm-map__input:focus{outline:2px solid #fff;outline-offset:1px}
.bm-map .bm-map__nearby{flex:0 0 auto;height:40px;margin:0;padding:0 12px;border:1px solid rgba(255,255,255,.75);border-radius:6px;background:rgba(255,255,255,.15);color:#fff;font:inherit;font-size:13px;font-weight:600;line-height:1;text-transform:none;letter-spacing:normal;white-space:nowrap;cursor:pointer;box-shadow:none}
.bm-map .bm-map__nearby:hover,.bm-map .bm-map__nearby:focus-visible,.bm-map .bm-map__nearby.is-on{background:#fff;color:var(--bm-color);border-color:#fff}
.bm-map .bm-map__nearby[disabled]{opacity:.6;cursor:wait}
.bm-map__status{padding:8px 12px;font-size:13px;color:#8a1c1c;background:#fdecea}
.bm-map__status[hidden]{display:none}
.bm-map__count{padding:8px 12px;font-size:13px;color:#666;border-bottom:1px solid #eee}
.bm-map__list{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0!important;padding:0!important;list-style:none!important;-webkit-overflow-scrolling:touch}
.bm-map__item{margin:0!important;padding:0!important;border-bottom:1px solid #eee;list-style:none!important}
.bm-map__item[hidden]{display:none!important}
.bm-map .bm-map__item-btn{display:block;width:100%;margin:0;padding:10px 12px 4px 13px;border:0;border-left:3px solid transparent;border-radius:0;background:none;color:inherit;font:inherit;line-height:1.35;text-align:left;text-transform:none;letter-spacing:normal;cursor:pointer;box-shadow:none;-webkit-appearance:none;appearance:none}
.bm-map .bm-map__item-btn:hover,.bm-map .bm-map__item.is-active .bm-map__item-btn{background:#f4f7fb;border-left-color:var(--bm-color)}
.bm-map .bm-map__item-btn:focus-visible{outline:2px solid var(--bm-color);outline-offset:-2px}
.bm-map__title{display:block;font-weight:700;color:#1a1a1a}
.bm-map__category{display:inline-block;margin-top:2px;padding:1px 6px;border-radius:10px;background:#eef2f8;color:#456;font-size:12px}
.bm-map__address,.bm-map__hours{display:block;color:#555;font-size:14px}
.bm-map__distance{display:block;color:var(--bm-color);font-size:13px;font-weight:600}
.bm-map__distance:empty{display:none}
.bm-map .bm-map__phone{display:block;padding:0 12px 10px 16px;color:var(--bm-color);font-size:14px;font-weight:600;text-decoration:none}
.bm-map .bm-map__phone:hover{text-decoration:underline}
.bm-map__empty{padding:16px 12px;color:#666}
.bm-map__empty[hidden]{display:none}
.bm-map__canvas{flex:1 1 auto;min-width:0;min-height:0;background:#e9eef2}
.bm-map__canvas--unavailable{display:flex;align-items:center;justify-content:center;padding:20px;color:#555;text-align:center}
.bm-map .leaflet-container{font:inherit;font-size:14px}
.bm-map .leaflet-container a{color:var(--bm-color)}
.bm-pin{background:none!important;border:0!important}
.bm-pin svg{display:block;width:28px;height:40px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.bm-pin svg path{fill:var(--bm-color)}
.bm-pin.is-active svg{transform:scale(1.2);transform-origin:50% 100%}
.bm-pin.is-active svg path{fill:#d93025}
.bm-popup{font-size:14px;line-height:1.4;min-width:200px}
.bm-popup__title{margin-bottom:4px;font-size:15px;font-weight:700}
.bm-popup__address,.bm-popup__hours{color:#444}
.bm-popup__phone a{color:var(--bm-color);font-weight:600;text-decoration:none}
.bm-popup__description{margin-top:6px;color:#444}
.bm-popup__description p{margin:0 0 6px}
.bm-popup__image{display:block;max-width:100%;height:auto;margin-top:6px;border-radius:4px}
.bm-popup__links{margin-top:8px;font-weight:600}
.bm-popup__links a{color:var(--bm-color);text-decoration:none}
.bm-popup__links a:hover{text-decoration:underline}
.bm-map .leaflet-popup-content{margin:12px 14px}
@media (max-width:768px){
.bm-map{flex-direction:column;height:auto;min-height:0}
.bm-map__panel{display:contents}
.bm-map__search{order:0}
.bm-map__canvas{order:1;flex:none;height:55vh;min-height:320px}
.bm-map__status{order:2}
.bm-map__count{order:3}
.bm-map__list{order:4;flex:none;max-height:50vh}
.bm-map__empty{order:5}
}
