.freightLink {
  color:var(--berry);
  font-size:.9rem;
  font-weight:600;
  text-underline-offset:.2em;
}
.addressFreight { grid-column:1/-1; margin-top:-8px; color:var(--muted); font-size:.9rem; }
.shippingPanel {
  min-width:0;
  border:1px solid var(--rule);
  border-radius:15px;
  background:var(--paper,#fff);
  scroll-margin-block:12px;
}
.freightHeader,.freightBody { padding:14px clamp(12px,3%,21px); }
.freightHeader { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.freightHeader h2 { margin:0; font-size:1.2rem; }
.freightHeader span,.parcelFacts,.freightNote { color:var(--muted); font-size:.88rem; }
.freightExplorer { width:min(calc(100% - 24px),380px); margin-inline:auto; }
.freightMap { position:relative; isolation:isolate; display:flex; flex-direction:column; width:100%; aspect-ratio:16/9; overflow:auto; overflow-anchor:none; scrollbar-width:none; border-radius:8px; background:#fff; touch-action:pan-x pan-y; user-select:none; }
.freightMap::-webkit-scrollbar { display:none; }
.freightMap[data-zoomed="true"] { cursor:grab; overscroll-behavior:contain; touch-action:none; }
.freightMap[data-dragging="true"],.freightMap[data-dragging="true"] .freightPin { cursor:grabbing; }
.freightMap:focus-visible { outline:2px solid var(--berry); outline-offset:2px; }
.freightMapSheet { position:relative; flex:none; width:100%; margin-block:auto; }
.freightMap img { display:block; width:100%; height:auto; pointer-events:none; }
.freightMapTools { display:flex; align-items:center; gap:6px; margin-top:8px; color:var(--ink); }
.freightMapTools button { min-height:38px; padding:4px 10px; border:1px solid var(--rule); border-radius:7px; background:var(--paper,#fff); color:var(--ink); font:inherit; font-size:.85rem; cursor:pointer; touch-action:manipulation; }
.freightMapTools button:focus-visible { outline:2px solid var(--berry); outline-offset:2px; }
.freightMapTools button:disabled { color:var(--muted); opacity:.55; cursor:default; }
.freightMapTools [data-map="expand"] { margin-inline-start:auto; }
.freightMapScale { display:flex; align-items:center; border:1px solid var(--rule); border-radius:7px; }
.freightMapScale button { min-width:36px; border:0; font-size:1.12rem; line-height:1; }
.freightMapScale output { min-width:4ch; text-align:center; font-size:.8rem; font-variant-numeric:tabular-nums; }
.freightMapDialog { width:min(95vw,calc((100dvh - 95px)*16/9),1120px); max-width:96vw; max-height:96dvh; margin:auto; padding:12px; box-sizing:border-box; border:1px solid var(--rule); border-radius:14px; background:var(--paper,#fff); color:var(--ink); }
.freightMapDialog::backdrop { background:rgb(20 22 29 / 65%); }
.freightMapDialog .freightExplorer { width:100%; }
@media (max-width:600px) and (orientation:portrait) { .freightMapDialog .freightMap { height:min(65dvh,650px); aspect-ratio:auto; } }
html:has(.freightMapDialog[open]) { overflow:hidden; }
@media (pointer:coarse) { .freightMapTools button { min-height:44px; } .freightMapScale button { min-width:44px; } }
.freightPin {
  position:absolute; z-index:1; width:34px; height:34px; padding:0;
  transform:translate(-50%,-50%); background:transparent; border:0; color:#71254b;
}
.freightPin[data-origin="chaozhou"] { left:67.3480%; top:82.5875%; }
.freightPin[data-origin="taizhou"] { left:72.6226%; top:67.8234%; }
.freightPin::before {
  content:""; position:absolute; left:50%; top:50%; width:11px; height:11px;
  transform:translate(-50%,-50%); border:1px solid #81878d; border-radius:50%;
  background:#fff; box-shadow:0 0 0 3px #ffffffd9,0 0 5px 4px #929ba36b,0 0 12px 6px #fff;
}
.freightPin[aria-pressed="true"]::before { box-shadow:0 0 0 4px white,0 0 0 5px #757d84,0 0 12px 7px white; }
.freightPin span {
  position:absolute; top:50%; left:calc(50% + 8px); transform:translateY(-50%);
  white-space:nowrap; border:1px solid #a8afb5; border-radius:5px;
  padding:1px 6px; background:#fff; color:#31383e; font-size:.82rem; font-weight:650;
}
.freightPin[data-origin="chaozhou"] span { left:auto; right:calc(50% + 8px); }
.freightPin[aria-pressed="true"] span { background:#454c53; border-color:#454c53; color:white; }
.freightPin:focus-visible,.freightModels button:focus-visible,.shippingPanel select:focus-visible { outline:3px solid var(--berry); outline-offset:2px; }
.freightBody h3 { margin:0 0 6px; font-size:1rem; }
.freightModels { display:flex; flex-wrap:wrap; gap:5px; }
.freightModels button {
  min-height:35px; border:1px solid var(--rule); border-radius:7px; padding:4px 10px;
  background:var(--paper,#fff); color:var(--ink); font-size:.88rem; font-weight:600;
}
.freightModels [aria-pressed="true"] { border-color:var(--berry); color:var(--berry); background:var(--tint); }
.parcelFacts { margin:8px 0 14px; }
.freightDestination { display:flex; flex-wrap:wrap; align-items:end; gap:8px; }
.freightDestination label { display:grid; gap:3px; flex:1 1 130px; min-width:0; font-size:.9rem; font-weight:600; }
.shippingPanel select {
  width:100%; min-height:40px; padding:7px 10px; border:1px solid var(--rule); border-radius:7px;
  background-color:var(--field,#fff); color:var(--ink); font:inherit; font-weight:400;
}
.shippingPanel select {
  appearance:none; padding-right:28px;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-size:5px 5px; background-repeat:no-repeat; background-position:right 15px center,right 10px center;
}
.freightEstimate { margin:12px 0 6px; padding:9px 12px; background:var(--surface,#f7f1f5); border-radius:8px; }
.freightEstimate table { width:100%; border-collapse:collapse; font-size:.9rem; font-variant-numeric:tabular-nums; }
.freightEstimate th,.freightEstimate td { padding:4px; text-align:right; }
.freightEstimate th:first-child { padding-left:0; text-align:left; }
.freightEstimate thead th { border-bottom:1px solid var(--rule); }
.freightEstimate th[data-active="true"] { color:var(--berry); }
.freightEstimate tbody th { color:var(--muted); font-weight:400; }
.freightEstimate tfoot :is(th,td) { border-top:1px solid var(--rule); padding-top:7px; font-weight:700; }
.freightEstimate tfoot td { color:var(--berry); }
.freightNote { margin:8px 0; }
.freightPrompt { margin:0; padding:12px 16px 16px; color:var(--muted); font-size:.9rem; text-align:center; }
.freightBody[hidden] { display:none; }
#checkoutRegion { grid-column:1/-1; }
.freightDestination :is(select,input),#checkoutOrigin select { width:100%; min-width:0; min-height:40px; padding:6px 8px; border:1px solid var(--rule); border-radius:7px; background-color:var(--field,var(--paper)); color:var(--ink); font:inherit; }
#checkoutOrigin label { display:grid; gap:4px; }
.freightDestination [hidden] { display:none; }
.freightSources { margin:0 14px 12px; color:var(--muted); font-size:.8rem; }
.freightSources a { color:inherit; }
.freightSources p { margin:5px 0; }
@media(max-width:480px) {
  .freightPin { width:37px; height:37px; }
  .freightModels button { min-height:40px; }
}
