sv-store-map {
  display: block;
  position: relative;
  isolation: isolate;
  margin: 1rem 0;
}
.map-canvas {
  width: 100%;
  height: 400px;
  border: 1px solid #d8dce9;
  border-radius: 0.65rem;
  background: #e7eceb;
  font: inherit;
}
.map-canvas .leaflet-control a {
  color: #292540;
}
.map-canvas .leaflet-control-attribution {
  font-size: 11px;
  color: #384158;
}
.map-canvas .leaflet-control-attribution a {
  color: #354f75;
}
.map-canvas .leaflet-popup-content {
  margin: 1rem;
  line-height: 1.5;
}
.map-canvas .leaflet-popup-content button {
  margin-top: 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  min-height: 40px;
}
.store-map-pin {
  background: #5142a0;
  border: 2px solid white;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 6px #16132b50;
  transform-origin: center;
}
.store-map-pin span {
  display: block;
  margin: 7px auto 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}
.map-canvas .leaflet-marker-icon:focus-visible {
  outline: 3px solid #1c75d8;
  outline-offset: 4px;
}
.map-actions,
.map-view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.market-map-panel .section-heading {
  align-items: start;
  gap: 1rem;
  flex-wrap: wrap;
}
.market-map-panel .hint,
.store-location .hint {
  margin-top: 0.75rem;
}
.map-area-note {
  padding: 0.8rem;
  background: #f1eefb;
  border-radius: 0.4rem;
}
.map-list-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--color-line);
  background: var(--color-accent-soft);
  border-radius: 8px;
}
.map-list-notice > div {
  flex: 1 1 260px;
  min-width: 0;
}
.map-list-notice p {
  margin: 4px 0 0;
}
.market-results-summary {
  scroll-margin-block: 24px;
}
.map-error {
  background: #fff6de;
  padding: 0.8rem;
  color: #5f481c;
}
.map-error[hidden] {
  display: none;
}
.store-coordinates {
  margin-top: 1rem;
}
.store-coordinates > summary {
  cursor: pointer;
  font-weight: 600;
}
.store-coordinates .store-form-grid {
  margin-top: 0.75rem;
}
.store-location .link-actions {
  margin-top: 0.75rem;
}
.market-store {
  scroll-margin-top: 1.5rem;
}
sv-marketplace-workspace .hint {
  margin-top: 0.7rem;
}
@media (max-width: 620px) {
  .map-canvas {
    height: 320px;
  }
  .map-actions > button {
    flex: 1;
  }
}
sv-marketplace-workspace .booking-weekdays {
  margin: 1rem 0 0.5rem;
}
