@import url("https://unpkg.com/leaflet@1.9.4/dist/leaflet.css");

.repair-pc { display: none; }
.repair-mobile { display: block; }
.page-repair { background: #fff; }
@media (max-width: 1023px) {
  .page-repair .site-footer { display: none; }
}

.repair-panel {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 120px);
}
.repair-map-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.repair-map {
  height: 42vh;
  min-height: 240px;
  background: #ececf1;
}
.repair-map .leaflet-bottom.leaflet-right {
  margin: 0 10px 10px 0;
}
.repair-map-tools {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 12px 12px 10px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.repair-search {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
}
.repair-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  background: transparent;
}
.repair-search button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.repair-metros {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.repair-metros::-webkit-scrollbar { display: none; }
.repair-metros button {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.1);
  white-space: nowrap;
}
.repair-metros button.is-on {
  background: #111;
  color: #fff;
}
.repair-list {
  padding: 20px 16px 28px;
}
.repair-list-head h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}
.repair-list-head p {
  margin: 0 0 14px;
  color: #888;
  font-size: 13px;
  line-height: 1.45;
}
.repair-addr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #ececf1;
  overflow: hidden;
}
.repair-addr label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 0 6px;
}
.repair-addr label + label {
  box-shadow: inset 1px 0 0 #e6e6ec;
}
.repair-addr label span {
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: #6b6b75;
  letter-spacing: 0;
}
.repair-list li[hidden] { display: none !important; }
.repair-addr select {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 0;
  padding: 0 26px 0 10px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1.2.8 6 5.6 10.8.8 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 34px;
  letter-spacing: 0;
  appearance: none;
  -webkit-appearance: none;
}
.repair-addr select:disabled {
  color: #b4b4bc;
}
.repair-addr select:focus {
  outline: 0;
  color: #111;
}
.repair-empty {
  margin: 24px 0;
  text-align: center;
  color: #888;
}
.repair-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.repair-list li {
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.repair-card {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 16px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.repair-card strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  color: #111;
}
.repair-card span,
.repair-card em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  color: #666;
  letter-spacing: 0;
}
.repair-card em { color: #111; }
.repair-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}
.repair-card-actions a {
  flex: 1;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.repair-card-actions a:last-child {
  background: var(--brand);
}
.repair-tip {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.18);
}
.repair-tip::before { display: none; }
.repair-pop {
  display: grid;
  gap: 4px;
  min-width: 160px;
}
.repair-pop strong { font-size: 15px; }
.repair-pop span,
.repair-pop p { margin: 0; color: #555; font-size: 13px; }
.repair-pop-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px !important;
}
.repair-pop-actions a {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.repair-pop-actions a:last-child { background: var(--brand); }

@media (min-width: 1024px) {
  .repair-mobile { display: none !important; }
  .repair-pc { display: block; }
  .page-repair { background: #f6f7fa; }
  .repair-pc-inner { padding: 24px 0 64px; }
  .repair-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 360px;
    gap: 20px;
    min-height: calc(100vh - 180px);
    align-items: stretch;
  }
  .repair-map-wrap {
    min-height: 620px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
  }
  .repair-map {
    flex: 1;
    height: auto;
    min-height: 520px;
    border-radius: 0;
  }
  .repair-map-tools {
    padding: 14px 14px 12px;
  }
  .repair-list {
    padding: 22px 20px 20px;
    min-height: 620px;
    max-height: calc(100vh - 180px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
  }
  .repair-list-head h1 { font-size: 24px; }
  .repair-list-head p { font-size: 13px; margin-bottom: 16px; }
  .repair-list ul { gap: 10px; }
  .repair-addr {
    margin-bottom: 16px;
    background: #f6f7fa;
    box-shadow: none;
  }
  .repair-addr select:focus {
    background-color: #fff;
  }
}
