.bylt-sl {
	/* --sl-leaf is the accent color (set from Store Locator > Settings). */
	--sl-leaf-ink: color-mix(in srgb, var(--sl-leaf, #2271b1) 78%, #000);
	--sl-palm: color-mix(in srgb, var(--sl-leaf, #2271b1) 45%, #111);
	--sl-ink: #1d2327;
	--sl-muted: #50575e;
	--sl-line: #dcdcde;
	--sl-mist: #f0f0f1;
	--sl-display: inherit;
	margin-block: 24px;
	color: var(--sl-ink);
}
.bylt-sl-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 18px; }
.bylt-sl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bylt-sl-field--zip { flex: 1 1 160px; max-width: 260px; }
.bylt-sl-field label { font-size: 13px; font-weight: 600; color: var(--sl-muted); }
.bylt-sl-field input, .bylt-sl-field select {
	box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 16px; min-height: 48px;
	border: 1.5px solid var(--sl-line); border-radius: 999px; background: #fff; color: var(--sl-ink);
}
.bylt-sl-field input:focus, .bylt-sl-field select:focus { outline: none; border-color: var(--sl-leaf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sl-leaf) 30%, transparent); }
.bylt-sl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bylt-sl-btn {
	box-sizing: border-box; font: inherit; font-weight: 600; font-size: 15px; min-height: 48px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
	border: 2px solid transparent;
}
.bylt-sl-btn--primary { background: var(--sl-leaf); color: #fff; }
.bylt-sl-btn--ghost { background: transparent; border-color: var(--sl-ink); color: var(--sl-ink); }
.bylt-sl-btn:focus-visible, .bylt-sl-item__name:focus-visible { outline: 3px solid var(--sl-leaf, #2271b1); outline-offset: 3px; }

.bylt-sl-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--sl-line); border-radius: 22px; overflow: hidden; background: #fff; }
.bylt-sl-map { min-height: 460px; height: 100%; background: var(--sl-mist); z-index: 0; }
.bylt-sl-panel { max-height: 520px; overflow-y: auto; padding: 8px 18px 18px; }
.bylt-sl.is-loading .bylt-sl-panel { opacity: .6; }
.bylt-sl-status { font-size: 14px; color: var(--sl-muted); margin: 12px 0 4px; }
.bylt-sl-status.is-error { color: #b0213f; font-weight: 600; }
.bylt-sl-results { list-style: none; margin: 0; padding: 0; }
.bylt-sl-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 6px; border-bottom: 1px solid var(--sl-line); border-radius: 10px; margin: 0; }
.bylt-sl-item:last-child { border-bottom: 0; }
.bylt-sl-item.is-active { background: color-mix(in srgb, var(--sl-leaf) 10%, #fff); }
.bylt-sl-item__n { width: 28px; height: 28px; border-radius: 50%; background: var(--sl-leaf); color: #fff; font: 600 13px/28px var(--sl-display); text-align: center; }
.bylt-sl-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bylt-sl-item__name { all: unset; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--sl-ink); }
.bylt-sl-item__name:hover { color: var(--sl-leaf-ink); }
.bylt-sl-item__addr { font-size: 14px; color: var(--sl-muted); }
.bylt-sl-item__carries { font-size: 13px; color: var(--sl-ink); }
.bylt-sl-item__cats { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 1px 0 2px; }
.bylt-sl-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--sl-muted); }
.bylt-sl-cat i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.bylt-sl-item__links, .bylt-sl-popup-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 600; margin-top: 2px; }
.bylt-sl-item__links a, .bylt-sl-popup-links a { color: var(--sl-leaf-ink); }
.bylt-sl-item__dist { font-size: 13px; color: var(--sl-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.bylt-sl-pin { background: none; border: 0; }
.bylt-sl-pin span {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
	background: var(--sl-leaf); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); box-sizing: border-box;
}
.bylt-sl-pin b { transform: rotate(45deg); color: #fff; font: 600 13px/1 var(--sl-display, sans-serif); }
.bylt-sl-origin { width: 16px; height: 16px; border-radius: 50%; background: var(--sl-palm); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--sl-palm); }

.bylt-sl-online { margin-top: 22px; }
.bylt-sl-online__heading { font-weight: 700; margin: 0 0 10px; }
.bylt-sl-online__links { display: flex; flex-wrap: wrap; gap: 10px; }
.bylt-sl-shop { border: 1.5px solid var(--sl-line); border-radius: 12px; padding: 12px 16px; font-weight: 700; background: #fff; color: var(--sl-ink); text-decoration: none; }
.bylt-sl-shop small { display: block; font-weight: 500; color: var(--sl-muted); font-size: 12px; }
.bylt-sl-shop:hover { border-color: var(--sl-leaf); }

@media (max-width: 781px) {
	.bylt-sl-body { grid-template-columns: 1fr; }
	.bylt-sl-map { min-height: 300px; height: 300px; }
	.bylt-sl-panel { max-height: none; }
	.bylt-sl-field--zip { max-width: none; }
}
.bylt-sl-editor .components-placeholder { min-height: 160px; }

/* Retailer icon pins */
.bylt-sl-ipin { background: none; border: 0; }
.bylt-sl-ipin__c {
	position: absolute; inset: 0; box-sizing: border-box; border-radius: 50%; background: #fff;
	border: 2px solid var(--sl-leaf, #2271b1); box-shadow: 0 2px 6px rgba(0,0,0,.3);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bylt-sl-ipin__c img { width: 22px; height: 22px; object-fit: contain; display: block; }
.bylt-sl-ipin__n {
	position: absolute; right: -6px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box;
	border-radius: 9px; background: var(--sl-leaf, #2271b1); color: #fff; border: 2px solid #fff;
	font: 700 10px/14px var(--sl-display, sans-serif); text-align: center;
}
.bylt-sl-item__n--icon {
	position: relative; box-sizing: border-box; background: #fff !important; border: 2px solid var(--sl-leaf, #2271b1);
	display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
}
.bylt-sl-item__n--icon img { width: 18px; height: 18px; object-fit: contain; }
.bylt-sl-item__n--icon b {
	position: absolute; right: -6px; bottom: -5px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box;
	border-radius: 8px; background: var(--sl-leaf, #2271b1); color: #fff; border: 2px solid #fff; font: 700 9px/12px var(--sl-display, sans-serif);
}

/* Initials, for stores without a favicon */
.bylt-sl-ipin__l { font: 800 15px/1 var(--sl-display, sans-serif); font-style: normal; letter-spacing: -.02em; }
.bylt-sl-ipin__l.is-two { font-size: 12px; }
.bylt-sl-item__l { font: 800 12px/1 var(--sl-display, sans-serif); font-style: normal; letter-spacing: -.02em; }
.bylt-sl-item__l.is-two { font-size: 10px; }

/* Cooperative gestures: the page keeps one-finger scrolling over the map */
.bylt-sl-coop.leaflet-container,
.bylt-sl-coop.leaflet-container.leaflet-touch-drag,
.bylt-sl-coop.leaflet-container.leaflet-touch-zoom,
.bylt-sl-coop.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { touch-action: pan-x pan-y !important; }
.bylt-sl-hint {
	position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(0, 0, 0, .5); color: #fff; font-size: 16px; font-weight: 600; text-align: center;
	opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.bylt-sl-hint-on .bylt-sl-hint { opacity: 1; }
