/* ISE CDB Store – store locator. Layout follows the old Agile locator: search bar, list left, map right. */
.ise-loc { --ise-pink: #ec2d68; --ise-pink-dark: #d9265c; --ise-navy: #13294b; background: #f6f6f6; color: #333; font-size: 14px; }
.ise-loc__search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; padding: 20px 15px 18px; margin: 0; }
.ise-loc__label { flex: 1 0 100%; color: var(--ise-pink); font-weight: 600; font-size: 15px; margin: 0; }
.ise-loc__row { display: flex; flex: 0 1 345px; min-width: 0; }
.ise-loc .ise-loc__q { flex: 1; min-width: 0; height: 40px; margin: 0; padding: 0 10px; border: 1px solid #ccc; border-right: 0; border-radius: 0; background: #fff; font-size: 15px; }
.ise-loc .ise-loc__go { width: 42px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 0; background: var(--ise-pink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ise-loc .ise-loc__near { height: 40px; padding: 0 14px; margin: 0; border: 1px solid var(--ise-pink); border-radius: 0; background: #fff; color: var(--ise-pink); font-size: 14px; cursor: pointer; }
.ise-loc .ise-loc__go:hover, .ise-loc .ise-loc__go:focus-visible { background: var(--ise-pink-dark); }
.ise-loc .ise-loc__near:hover, .ise-loc .ise-loc__near:focus-visible { background: var(--ise-pink); color: #fff; }
.ise-loc__msg { flex: 1 0 100%; margin: 0; min-height: 1.4em; color: var(--ise-navy); }
.ise-loc__msg:empty { min-height: 0; }

.ise-loc__body { display: grid; grid-template-columns: minmax(260px, 33%) 1fr; height: 480px; background: #fff; }
.ise-loc__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e5e5e5; }
.ise-loc__head { background: var(--ise-pink); color: #fff; font-weight: 600; padding: 12px 20px; }
.ise-loc__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; position: relative; }
.ise-loc__store { display: flex; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #e5e5e5; cursor: pointer; outline-offset: -3px; }
.ise-loc__store.is-active { background: #fdf0f4; box-shadow: inset 4px 0 0 var(--ise-pink); }
.ise-loc__info { flex: 1; min-width: 0; }
.ise-loc .ise-loc__name { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; color: #222; text-transform: none; letter-spacing: 0; font-family: inherit; }
.ise-loc__dist { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: var(--ise-navy); color: #fff; font-size: 12px; font-weight: 500; vertical-align: 1px; }
.ise-loc [hidden] { display: none !important; }
.ise-loc__store p { margin: 0 0 6px; line-height: 1.4; overflow-wrap: anywhere; }
.ise-loc__store a { color: #444; text-decoration: none; }
.ise-loc__store a:hover { color: var(--ise-pink); }
.ise-loc__desc { color: #666; font-size: 13px; }
.ise-loc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.ise-loc .ise-loc__btn { display: inline-block; padding: 7px 16px; background: var(--ise-pink); color: #fff; border: 1px solid var(--ise-pink); font-size: 13px; line-height: 1.4; }
.ise-loc .ise-loc__btn:hover { background: var(--ise-pink-dark); color: #fff; }
.ise-loc .ise-loc__btn--alt { background: #fff; color: var(--ise-pink); }
.ise-loc .ise-loc__btn--alt:hover { background: var(--ise-pink); color: #fff; }
.ise-loc__logo { flex: 0 0 auto; width: 80px; height: 80px; object-fit: contain; border: 1px solid #e5e5e5; border-radius: 4px; padding: 4px; align-self: flex-start; }

/* Own stacking context, so Leaflet's panes (z-index 400–1000) stay under the theme's sticky header. */
.ise-loc__map { position: relative; z-index: 0; min-height: 0; height: 100%; }
.ise-loc__pin { background: none; border: 0; }
.ise-loc__you { background: #1a73e8; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px rgba(26, 115, 232, .35); }
.ise-loc .leaflet-popup-content { font-size: 13px; line-height: 1.4; }
.ise-loc .leaflet-popup-content a { color: var(--ise-pink); }

@media (max-width: 767px) {
	.ise-loc__row { flex-basis: 100%; }
	.ise-loc__body { grid-template-columns: 1fr; grid-template-rows: 300px auto; height: auto; }
	.ise-loc__map { order: -1; }
	.ise-loc__side { border-right: 0; }
	.ise-loc__list { max-height: 460px; }
}
