.mrm-store-locator {
  --mrm-red: #8f2228;
  --mrm-red-dark: #71181d;
  --mrm-ink: #27231f;
  --mrm-muted: #6d675f;
  --mrm-cream: #f7f2e9;
  --mrm-border: #ded7cc;
  color: var(--mrm-ink);
  font: inherit;
  width: 100%;
}

.mrm-store-locator *, .mrm-store-locator *::before, .mrm-store-locator *::after { box-sizing: border-box; }
.mrm-toolbar { display: block; max-width: 360px; margin: 0 0 8px; }
.mrm-field { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 650; }
.mrm-field input, .mrm-field select { width: 100%; min-height: 46px; margin: 0; padding: 9px 12px; border: 1px solid var(--mrm-border); border-radius: 6px; background: #fff; color: var(--mrm-ink); font: inherit; }
.mrm-field input:focus, .mrm-field select:focus { outline: 3px solid rgba(143, 34, 40, .18); border-color: var(--mrm-red); }
.mrm-status { min-height: 24px; margin: 0 0 8px; color: var(--mrm-muted); font-size: 14px; }
.mrm-layout { display: block; }
.mrm-map { min-height: 420px; height: var(--mrm-map-height); border: 1px solid var(--mrm-border); border-radius: 10px; background: #ece7df; overflow: hidden; z-index: 1; }
.mrm-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; height: auto; margin-top: 18px; overflow: visible; }
.mrm-card { display: flex; justify-content: space-between; gap: 14px; padding: 16px; margin: 0; border: 1px solid var(--mrm-border); border-radius: 8px; background: #fff; }
.mrm-card[hidden] { display: none; }
.mrm-card h3 { margin: 0 0 5px; color: var(--mrm-ink); font: inherit; font-size: 16px; font-weight: 750; line-height: 1.28; }
.mrm-card p { margin: 0; font-size: 14px; line-height: 1.4; }
.mrm-place { color: var(--mrm-red); font-weight: 650; }
.mrm-address { color: var(--mrm-muted); margin-top: 4px !important; }
.mrm-card-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; }
.mrm-show, .mrm-directions { padding: 0; border: 0; background: transparent; color: var(--mrm-red); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.mrm-show:hover, .mrm-directions:hover { color: var(--mrm-red-dark); }

.mrm-pin-wrap { background: transparent; border: 0; }
.mrm-pin { display: block; position: relative; width: 32px; height: 42px; border: 3px solid #fff; border-radius: 50% 50% 50% 7px; background: var(--mrm-red); box-shadow: 0 3px 9px rgba(0, 0, 0, .28); transform: rotate(-45deg); }
.mrm-pin span { position: absolute; top: 9px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mrm-cluster-wrap { background: transparent; }
.mrm-cluster { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50%; background: var(--mrm-red); box-shadow: 0 2px 8px rgba(0,0,0,.3); color: #fff; font-size: 14px; font-weight: 800; }
.mrm-popup { display: grid; gap: 4px; min-width: 190px; color: var(--mrm-ink); line-height: 1.35; }
.mrm-popup strong { color: var(--mrm-ink); font-size: 15px; }
.mrm-popup span { color: var(--mrm-muted); }
.mrm-popup a { margin-top: 5px; color: var(--mrm-red); font-weight: 700; }
.mrm-store-locator .leaflet-popup-content { margin: 15px 17px; }
.mrm-store-locator .leaflet-control-attribution { font-size: 10px; }

@media (max-width: 860px) {
  .mrm-map { height: min(62vh, 520px); min-height: 390px; }
  .mrm-results { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mrm-toolbar { max-width: none; }
  .mrm-map { min-height: 360px; height: 56vh; border-radius: 7px; }
  .mrm-card { display: block; padding: 14px; }
  .mrm-card-actions { flex-direction: row; justify-content: flex-start; margin-top: 12px; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mrm-store-locator *, .mrm-store-locator *::before, .mrm-store-locator *::after { scroll-behavior: auto !important; }
}
