/* 高德地图选点 + 物流地图 */
.map-layer {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, .62);
  backdrop-filter: blur(8px);
}
.map-layer.on { display: flex; }
.map-panel {
  width: 1000px;
  height: 640px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.map-panel__hd {
  height: 58px;
  flex: none;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ececec;
}
.map-panel__hd h3 { font: 650 18px/1 var(--sans); letter-spacing: -.02em; }
.map-panel__x {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; color: #888;
}
.map-search { display: flex; gap: 8px; padding: 12px 22px; border-bottom: 1px solid #f0f0f0; }
.map-search input {
  flex: 1; height: 42px; border: 1px solid #e8e8e8; border-radius: 999px;
  padding: 0 18px; font: 400 13px/1 var(--sans); outline: none;
}
.map-search input:focus { border-color: #111; }
.map-search button {
  height: 42px; padding: 0 22px; border-radius: 999px;
  background: #111; color: #fff; font: 500 13px/1 var(--sans);
}
.map-panel__body { flex: 1; min-height: 0; display: flex; }
.map-canvas { flex: 1; min-width: 0; background: #f6f6f7; }
.map-results { width: 300px; flex: none; border-left: 1px solid #ececec; padding: 14px 16px; overflow: auto; }
.map-results__h { font: 600 10px/16px var(--sans); letter-spacing: .14em; color: #999; text-transform: uppercase; }
.map-results ul { margin-top: 6px; }
.map-results li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.map-results li b { display: block; font: 600 13px/20px var(--sans); color: #111; }
.map-results li span { display: block; margin-top: 2px; font: 400 11px/17px var(--sans); color: #999; }
.map-results li.on b { color: #ff5a1f; }
.map-results li:hover b { color: #ff5a1f; }
.map-panel__ft {
  height: 66px; flex: none; padding: 0 22px; border-top: 1px solid #ececec;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.map-panel__picked { min-width: 0; font: 400 12px/18px var(--sans); color: #666; }
.map-panel__picked b { color: #111; font-weight: 600; }
.map-panel__ft .btn { flex: none; height: 42px; font-size: 13px; }
.map-loading { height: 100%; display: grid; place-items: center; color: #999; font: 400 13px/20px var(--sans); text-align: center; padding: 40px; }
.map-link {
  border: 0; background: transparent; color: #ff5a1f;
  font: 500 12px/20px var(--sans); cursor: pointer; padding: 0; margin-left: 10px;
}

/* 物流页 */
body.logi-page { background: #fff; min-height: 0; }
.logi-head { position: relative; height: 80px; border-bottom: 1px solid #ececec; }
.logi-wrap { width: 1200px; margin: 0 auto; }
.logi-main { padding: 34px 0 70px; }
.logi-crumb { font: 400 12px/20px var(--sans); color: #999; }
.logi-title { margin-top: 10px; font: 700 40px/50px var(--sans); letter-spacing: -.04em; }
.logi-sub { margin-top: 8px; color: #777; font: 400 13px/22px var(--sans); }
.logi-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.logi-map-card { border: 1px solid #ececec; border-radius: 24px; overflow: hidden; background: #f6f6f7; }
.logi-map { width: 100%; height: 520px; }
.logi-map-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #fff; border-top: 1px solid #ececec; font: 400 11px/18px var(--sans); color: #999; }
.logi-side { border: 1px solid #ececec; border-radius: 24px; padding: 22px; background: #fff; }
.logi-side__st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff3ec; color: #ff5a1f; font: 600 11px/1 var(--sans); }
.logi-side h3 { margin-top: 14px; font: 650 20px/28px var(--sans); }
.logi-side__meta { margin-top: 6px; color: #999; font: 400 11px/18px var(--sans); }
.logi-steps { margin-top: 20px; }
.logi-step { position: relative; padding: 0 0 22px 26px; }
.logi-step::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: -6px; width: 1px; background: #e6e6e6; }
.logi-step:last-child::before { display: none; }
.logi-step::after { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #ddd; }
.logi-step.on::after { background: #ff5a1f; box-shadow: 0 0 0 4px #fff3ec; }
.logi-step b { display: block; font: 600 13px/20px var(--sans); color: #111; }
.logi-step span { display: block; margin-top: 3px; font: 400 11px/17px var(--sans); color: #999; }
.logi-step em { display: block; margin-top: 2px; font: 400 10px/15px var(--sans); color: #bbb; font-style: normal; }
.logi-note { margin-top: 8px; padding: 14px; border-radius: 14px; background: #f7f7f8; color: #888; font: 400 10px/17px var(--sans); }
.logi-side .btn { margin-top: 14px; width: 100%; height: 42px; font-size: 13px; }

/* 物流轨迹：进度条、起终点、配送车 */
.logi-progress { height: 4px; margin-top: 18px; border-radius: 4px; background: #f1f1f1; overflow: hidden; }
.logi-progress i { display: block; height: 100%; background: #ff5a1f; border-radius: 4px; transition: width .7s ease; }
.logi-progress__meta { display: flex; justify-content: space-between; margin-top: 7px; color: #999; font: 400 10px/16px var(--sans); }
.logi-progress__meta b { color: #ff5a1f; font-weight: 600; }
.logi-pin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 11px/1 var(--sans); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.logi-pin--start { background: #111; }
.logi-pin--end { background: #ff5a1f; }
.logi-courier { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #ff5a1f; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,90,31,.16), 0 6px 18px rgba(255,90,31,.35); }
.logi-courier b { font: 600 12px/1 var(--sans); }
.logi-courier span { position: absolute; inset: -8px; border: 1px solid rgba(255,90,31,.35); border-radius: 50%; animation: logiPulse 1.8s infinite; }
@keyframes logiPulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.logi-play { border: 0; background: none; color: #ff5a1f; font: 500 10px/16px var(--sans); cursor: pointer; padding: 0 0 0 8px; }
