/* ── Modal mape ─────────────────────────────────────────────────────────── */
#hpp-map-modal { font-family: inherit; }
#hpp-map-modal .hpp-map-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(1000px, 96%);
    height: 85vh;
    max-height: 720px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hpp-map-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}
.hpp-map-title { font-weight: 700; font-size: 16px; color: #1a1a1a; }
.hpp-map-close {
    border: 0; background: transparent;
    font-size: 26px; line-height: 1; cursor: pointer;
    color: #666; padding: 0 4px;
}
.hpp-map-close:hover { color: #000; }
.hpp-map-search {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    box-sizing: border-box;
}
.hpp-map-search:focus { outline: none; border-color: #ffcc00; }
.hpp-map-canvas {
    flex: 1;
    width: 100%;
    min-height: 300px;
}

/* ── Leaflet popup ──────────────────────────────────────────────────────── */
.hpp-pop { min-width: 200px; }
.hpp-pop-img {
    width: 100%; height: 110px; object-fit: cover;
    border-radius: 6px; margin-bottom: 8px; display: block;
}
.hpp-pop-name { font-weight: 700; font-size: 14px; color: #1a1a1a; margin-bottom: 3px; }
.hpp-pop-addr { font-size: 13px; color: #555; margin-bottom: 4px; line-height: 1.35; }
.hpp-pop-note { font-size: 12px; color: #7b5e0e; margin-bottom: 8px; line-height: 1.35; }
.hpp-pick-btn {
    display: inline-block;
    width: 100%;
    padding: 8px 14px;
    border: 0; border-radius: 7px;
    background: #ffcc00; color: #1a1a1a;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .15s;
}
.hpp-pick-btn:hover { background: #e6b800; }

/* ── Gumb u koraku 3 ───────────────────────────────────────────────────── */
.hpp-locker-btn-wrap {
    clear: both; width: 100%;
    margin-top: 10px; padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}
.hpp-locker-btn {
    display: block !important;
    width: 100% !important;
    max-width: 280px;
    box-sizing: border-box;
}
.hpp-locker-info {
    clear: both; width: 100%;
    margin-top: 6px;
    font-size: .875rem; color: #333;
    word-break: break-word;
}
