/* Local city atlas. The dotted geography remains quiet; city photographs open from its center. */
body[data-local-layout="responsive"] .local-product-fulfillment .product-block.local-warehouse-map-section {
  width: min(1300px, calc(100% - 2 * var(--site-gutter, 48px)));
  max-width: 1300px;
  margin-inline: auto;
}
body[data-local-layout="responsive"] .local-product-fulfillment .product-block.local-warehouse-map-section > .title { max-width: 100%; margin-inline: auto; }
.local-warehouse-map-section > .local-warehouse-locations[hidden] { display: none !important; }
.haipai-warehouse-map { --warehouse-navy: #0e1d49; --warehouse-orange: #f77319; --warehouse-map-dot: #c8cbd0; --fan-ease: cubic-bezier(.18,.75,.23,1); width: 100%; min-width: 0; color: var(--warehouse-navy); font: inherit; line-height: 1.5; text-align: left; -webkit-font-smoothing: antialiased; }
.haipai-warehouse-map, .haipai-warehouse-map *, .haipai-warehouse-map *::before, .haipai-warehouse-map *::after { box-sizing: border-box; font-family: inherit; line-height: inherit; word-break: normal; }
.haipai-warehouse-map [hidden] { display: none !important; }
.haipai-warehouse-map button { appearance: none; margin: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.haipai-warehouse-map button:focus-visible, .haipai-warehouse-map a:focus-visible { outline: 2px solid var(--warehouse-orange); outline-offset: 5px; }
.haipai-warehouse-map .network-intro { text-align: center; padding: 34px 20px 28px; }
.haipai-warehouse-map .network-intro h3 { margin: 0; font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; color: var(--warehouse-navy); }
.haipai-warehouse-map .network-intro h3 span { color: #9298a2; }
.haipai-warehouse-map .network-intro p { margin: 14px auto 0; max-width: 520px; color: #777e89; font-size: 14px; line-height: 1.8; }
.haipai-warehouse-map .map-column { position: relative; }
.haipai-warehouse-map .map-country-list { position: absolute; z-index: 7; top: 50%; left: 0; transform: translateY(-50%); width: 156px; display: grid; gap: 12px; }
.haipai-warehouse-map .country-choice-group { display: grid; gap: 0; }
.haipai-warehouse-map .map-country-list button { position: relative; min-height: 40px; padding: 8px 6px 8px 19px; font-size: 13px; line-height: 1.4; color: #79828e; background: #ffffffd9; border-radius: 4px; transition: color 180ms, background 180ms; }
.haipai-warehouse-map .map-country-list button::before { content: ""; position: absolute; top: 50%; left: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--warehouse-orange); opacity: 0; transform: translateY(-50%); }
.haipai-warehouse-map .map-country-list button:hover, .haipai-warehouse-map .map-country-list button[aria-pressed="true"], .haipai-warehouse-map .map-country-list button.is-preview { color: var(--warehouse-navy); background: #ffffffed; }
.haipai-warehouse-map .map-country-list button[aria-pressed="true"]::before, .haipai-warehouse-map .map-country-list button.is-preview::before { opacity: 1; }
.haipai-warehouse-map .map-country-select-label { display: none; }
.haipai-warehouse-map .map-stage { position: relative; width: 100%; aspect-ratio: 1000 / 466; min-height: 438px; isolation: isolate; }
.haipai-warehouse-map .world-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.haipai-warehouse-map .land-layer { fill: var(--warehouse-map-dot); transition: opacity 350ms ease; }
.haipai-warehouse-map .has-city-fan .land-layer { opacity: .5; }
.haipai-warehouse-map .is-country-preview .land-layer { opacity: 1; }
.haipai-warehouse-map .is-country-preview .country-tooltip { opacity: 0; pointer-events: none; }
.haipai-warehouse-map .country-preview-pulse { transform-box: fill-box; transform-origin: center; opacity: .5; animation: warehouse-location-pulse 1600ms ease-out infinite; }
@keyframes warehouse-location-pulse { 0% { transform: scale(.6); opacity: .6; } 85%, 100% { transform: scale(2.1); opacity: 0; } }
.haipai-warehouse-map .country-hit { pointer-events: all; cursor: default; outline: none; }
.haipai-warehouse-map .country-hit[role="button"] { cursor: pointer; }
.haipai-warehouse-map .country-hit:focus-visible { stroke: var(--warehouse-orange); stroke-width: 1; vector-effect: non-scaling-stroke; }
.haipai-warehouse-map .country-lift { pointer-events: none; fill: #76869b; }
.haipai-warehouse-map .country-lift[data-covered="true"] { fill: var(--warehouse-orange); }
.haipai-warehouse-map .country-surface { opacity: .045; }
.haipai-warehouse-map .raised-country { transform: translateY(var(--country-lift, -5px)); filter: drop-shadow(0 3px 2px #24364c24); animation: warehouse-country-rise 200ms ease-out; }
.haipai-warehouse-map .country-land.is-hovered { opacity: .2; }
.haipai-warehouse-map .country-tooltip { position: absolute; z-index: 5; width: min(620px, 100%); height: 438px; transition: opacity 180ms ease; }
.haipai-warehouse-map .country-tooltip::before { content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #ffffffed 10%, #ffffffa6 50%, #ffffff00 72%); pointer-events: none; }
.haipai-warehouse-map .country-card-title { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; display: grid; place-items: center; text-align: center; color: #536173; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.haipai-warehouse-map .country-card-title:hover { color: var(--warehouse-navy); }
.haipai-warehouse-map .city-fan-cards { position: absolute; inset: 0 0 58px; perspective: 1000px; }
.haipai-warehouse-map .city-photo {
  --card-x: -145px; --card-y: -94px; --card-angle: -5deg; --tilt-x: 0deg; --tilt-y: 0deg;
  position: absolute; top: 50%; left: 50%; width: 256px; height: 158px; margin: -79px 0 0 -128px; padding: 0;
  overflow: hidden; border-radius: 9px; background: #4b6272; color: #fff;
  box-shadow: 0 16px 32px -15px #1e314752, 0 2px 6px #14263b15;
  transform: translate(var(--card-x), var(--card-y)) rotate(var(--card-angle));
  animation: warehouse-photo-unfold 720ms var(--fan-ease) backwards;
  animation-delay: calc(var(--card-index) * 65ms);
  transition: transform 420ms var(--fan-ease), box-shadow 420ms, filter 420ms, opacity 420ms;
}
.haipai-warehouse-map .city-photo:nth-child(2) { --card-x: 145px; --card-y: -91px; --card-angle: 4deg; }
.haipai-warehouse-map .city-photo:nth-child(3) { --card-x: -145px; --card-y: 94px; --card-angle: 3deg; }
.haipai-warehouse-map .city-photo:nth-child(4) { --card-x: 145px; --card-y: 97px; --card-angle: -4deg; }
.haipai-warehouse-map .city-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 800ms var(--fan-ease); }
.haipai-warehouse-map .city-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #07142b0a, #07142b66 52%, #07142b33); transition: opacity 420ms; }
.haipai-warehouse-map .city-photo-name { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; text-shadow: 0 2px 14px #081b39a6; }
.haipai-warehouse-map .city-photo[aria-pressed="true"] { z-index: 3; transform: translate(var(--card-x), calc(var(--card-y) - 6px)) rotate(0deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.085); box-shadow: 0 28px 45px -18px #1e314770, 0 3px 9px #14263b24; }
.haipai-warehouse-map .city-photo[aria-pressed="true"] img { transform: scale(1.12); }
.haipai-warehouse-map .city-fan-cards[data-active="true"] .city-photo[aria-pressed="false"] { filter: saturate(.65); opacity: .78; }
.haipai-warehouse-map .country-tooltip[data-count="3"] .city-photo:nth-child(3) { --card-x: 0px; --card-angle: -2deg; }
.haipai-warehouse-map .country-tooltip[data-count="2"] { height: 258px; }
.haipai-warehouse-map .country-tooltip[data-count="2"] .city-photo { --card-y: 0px; }
.haipai-warehouse-map .country-tooltip[data-count="1"] { width: 360px; height: 290px; }
.haipai-warehouse-map .country-tooltip[data-count="1"] .city-photo { --card-x: 0px; --card-y: 0px; --card-angle: -3deg; width: 320px; height: 198px; margin: -99px 0 0 -160px; }
.haipai-warehouse-map .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes warehouse-country-rise { from { transform: translateY(0); opacity: .5; } to { transform: translateY(var(--country-lift, -5px)); opacity: 1; } }
@keyframes warehouse-photo-unfold { from { opacity: 0; transform: translate(var(--fan-origin-x, 0px), var(--fan-origin-y, 0px)) rotate(0deg) scale(.2); } to { opacity: 1; transform: translate(var(--card-x), var(--card-y)) rotate(var(--card-angle)); } }
@keyframes warehouse-photo-mobile { from { opacity: 0; transform: translateY(-24px) scale(.9); } to { opacity: 1; transform: none; } }
@media (min-width: 761px) and (max-width: 1000px) {
  .haipai-warehouse-map .map-country-list { position: relative; top: auto; left: auto; transform: none; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 0 0 22px; }
  .haipai-warehouse-map .country-choice-group { display: contents; }
  .haipai-warehouse-map .map-country-list button { min-height: 44px; padding-inline: 15px; }
}
@media (max-width: 760px) {
  .haipai-warehouse-map .map-country-list { display: none; }
  .haipai-warehouse-map .map-country-select-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; border-bottom: 1px solid #e8edf0; padding: 0 0 6px; font-size: 12px; color: #79828e; }
  .haipai-warehouse-map .map-country-select-label select { min-width: 0; width: 64%; min-height: 44px; border: 0; padding: 0 8px; background: #fff; color: var(--warehouse-navy); font: inherit; font-size: 13px; }
  .haipai-warehouse-map .country-card-title { position: static; height: auto; margin-top: 24px; font-size: 14px; }
  body[data-local-layout="responsive"] .local-product-fulfillment .product-block.local-warehouse-map-section { width: calc(100% - 40px); max-width: none; }
  .haipai-warehouse-map .network-intro { padding: 20px 0 22px; }
  .haipai-warehouse-map .network-intro p { font-size: 12px; max-width: 290px; }
  .haipai-warehouse-map .map-stage { --map-height: max(240px, calc((100vw - 40px) / 1.5)); min-height: var(--map-height); aspect-ratio: auto; }
  .haipai-warehouse-map .world-map { height: var(--map-height); }
  .haipai-warehouse-map .map-stage.has-city-fan { padding-top: var(--map-height); }
  .haipai-warehouse-map .country-tooltip[data-covered="true"] { position: relative; top: auto !important; left: auto !important; width: 100%; height: auto; padding: 10px 0 20px; }
  .haipai-warehouse-map .city-fan-cards { position: relative; inset: auto; display: flex; gap: 16px; padding: 10px 8px 18px; margin-inline: -8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 8px; overscroll-behavior-x: contain; scrollbar-width: none; perspective: none; }
  .haipai-warehouse-map .city-fan-cards::-webkit-scrollbar { display: none; }
  .haipai-warehouse-map .city-photo { animation-name: warehouse-photo-mobile; }
  .haipai-warehouse-map .city-photo, .haipai-warehouse-map .country-tooltip[data-count="1"] .city-photo { position: relative; top: auto; left: auto; width: 86%; flex: 0 0 86%; height: auto; aspect-ratio: 1.35; margin: 0; transform: none; scroll-snap-align: center; scroll-snap-stop: always; touch-action: pan-x pan-y pinch-zoom; --fan-origin-x: 0px; --fan-origin-y: -45px; border-radius: 8px; }
  .haipai-warehouse-map .city-photo[aria-pressed="true"] { transform: translateY(-3px) scale(1.025); }
  .haipai-warehouse-map .city-fan-cards[data-active="true"] .city-photo[aria-pressed="false"] { transform: scale(.94); opacity: .72; filter: saturate(.8); }
  .haipai-warehouse-map .city-photo img { position: absolute; inset: 0; }
  .haipai-warehouse-map .city-photo-name { font-size: clamp(20px, 5vw, 25px); padding: 16px; }
  .haipai-warehouse-map .country-tooltip[data-count="1"] .city-fan-cards { max-width: 376px; margin-inline: auto; }
  .haipai-warehouse-map .country-tooltip[data-count="1"] .city-photo { width: 100%; flex-basis: 100%; aspect-ratio: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .haipai-warehouse-map *, .haipai-warehouse-map *::before, .haipai-warehouse-map *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .haipai-warehouse-map .raised-country { transform: none; }
  .haipai-warehouse-map .city-photo[aria-pressed="true"] { transform: translate(var(--card-x),var(--card-y)) rotate(var(--card-angle)); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .haipai-warehouse-map .city-photo[aria-pressed="true"], .haipai-warehouse-map .city-fan-cards[data-active="true"] .city-photo[aria-pressed="false"] { transform: none; } }
