/* ==========================================================================
   近くのPCショップマップ（/shop-map/）
   ========================================================================== */
.shop-map-page { padding: 150px 0 100px; }

.shop-map-head { max-width: 640px; margin: 0 0 32px; }
.shop-map-desc { color: var(--text-muted); font-size: 14.5px; margin-top: 12px; }

.shop-map-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.shop-map-search-form { display: flex; gap: 8px; flex: 1 1 280px; min-width: 240px; }
.shop-map-search-input {
  flex: 1 1 auto;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px 12px 4px 12px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
}
.shop-map-search-input:focus { outline: none; border-color: var(--violet); }
.shop-map-radius {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.shop-map-radius select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px 10px 4px 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
}

.shop-map-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--violet);
  margin: 0 0 16px;
}

.shop-map-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.shop-map-canvas {
  height: 560px;
  border-radius: 6px 20px 6px 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.shop-map-list-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px 20px 6px 20px;
  padding: 16px;
  max-height: 560px;
  overflow-y: auto;
}
.shop-map-list-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.shop-map-list-heading span { color: var(--text-faint); font-weight: 500; }

.shop-map-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.shop-map-list-empty { color: var(--text-faint); font-size: 13px; line-height: 1.7; }
.shop-map-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px 12px 4px 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.shop-map-list-item:hover { border-color: var(--violet); background: var(--grad-soft); }
.shop-map-list-badge {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.shop-map-list-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-map-list-name { font-size: 13.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-map-list-addr { font-size: 11.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-map-list-dist { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--magenta); }
.shop-map-list-nav {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 2px;
}
.shop-map-list-nav:hover { color: var(--magenta); text-decoration: underline; }
.leaflet-popup-content .shop-map-nav-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--violet);
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
}
.leaflet-popup-content .shop-map-nav-link:hover { color: var(--magenta); }

.shop-map-note { margin-top: 18px; font-size: 12px; color: var(--text-faint); }

@media (max-width: 860px) {
  .shop-map-layout { grid-template-columns: 1fr; }
  .shop-map-canvas { height: 380px; }
  .shop-map-list-wrap { max-height: 320px; }
}
