/* Pemilih titik lokasi toko */
.kb-lp { display: grid; gap: 8px; }
.kb-lp-search { display: flex; gap: 6px; }
.kb-lp-search input { flex: 1; min-width: 0; }
.kb-lp-btn { display: inline-flex; align-items: center; gap: 6px; justify-self: start; border: 1px solid #d9dde3; background: #fff; color: #1f2329; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.kb-lp-btn:hover { border-color: #1f2329; }
.kb-lp-btn svg { width: 16px; height: 16px; }
.kb-lp-btn[disabled] { opacity: .6; cursor: wait; }
.kb-lp-map { height: 260px; border-radius: 14px; border: 1px solid #e3e6ea; overflow: hidden; background: #eef0f3; z-index: 0; }
.kb-lp-map .leaflet-control-attribution { font-size: 10px; }
.kb-lp-status { margin: 0; font-size: 13px; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.kb-lp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c4c9d0; flex: none; }
.kb-lp-status.is-set::before { background: var(--kb-primary, #7d2e46); }
.kb-lp-status.is-error { color: #b42318; }
.kb-lp-status.is-error::before { background: #b42318; }
.kb-lp-coord { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; }
.kb-lp-coord input { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; width: 100%; min-width: 0; box-shadow: none; }
.kb-lp-coord input:focus { outline: 1px dashed #c4c9d0; }
.kb-lp-results { display: grid; gap: 4px; }
.kb-lp-results button { text-align: left; border: 1px solid #e3e6ea; background: #fff; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.kb-lp-results button:hover { border-color: var(--kb-primary, #7d2e46); }
.kb-loc-pin { display: block; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--kb-primary, #7d2e46); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* Mode pop up: ringkasan di form, peta dibuka layar penuh. */
.kb-lp-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 12px; border: 1px solid #e3e6ea; border-radius: 14px; background: #fafbfc; }
.kb-lp-summary > div { min-width: 0; display: grid; gap: 2px; }
.kb-lp-summary .kb-lp-coord { font-size: 12px; }
.kb-lp-summary-pin { flex: none; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--kb-primary, #7d2e46); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.kb-lp-open { grid-column: 1 / -1; justify-self: start; }
.kb-lp-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(16, 24, 40, .55); display: grid; place-items: center; padding: 16px; }
.kb-lp-overlay[hidden] { display: none; }
.kb-lp-panel { width: min(760px, 100%); height: min(680px, calc(100vh - 32px)); display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 24px 60px rgba(16, 24, 40, .35); overflow: hidden; }
.kb-lp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; }
.kb-lp-x { border: 0; background: #f2f4f7; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.kb-lp-modal .kb-lp-map { flex: 1; height: auto; min-height: 260px; }
.kb-lp-panel .kb-lp-btn[data-lp-geo] { align-self: flex-start; }
.kb-lp-foot { display: flex; justify-content: flex-end; gap: 8px; }
.kb-lp-primary { background: var(--kb-primary, #7d2e46); border-color: var(--kb-primary, #7d2e46); color: #fff; }
.kb-lp-primary:hover { border-color: var(--kb-primary, #7d2e46); filter: brightness(1.08); }
html.kb-lp-locked, html.kb-lp-locked body { overflow: hidden; }
@media (max-width: 640px) {
	.kb-lp-overlay { padding: 0; }
	.kb-lp-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; padding: 12px; }
	.kb-lp-foot .kb-lp-btn { flex: 1; justify-content: center; }
}
body .kb-lp .kb-lp-coord input { border: 0; background: transparent; padding: 0; height: auto; min-height: 0; box-shadow: none; border-radius: 0; font-size: inherit; }
