/* The delivery map (tools/place-ship-map.js puts it on the pages, tools/build-ship-map.js
   draws assets/art/ship-map.webp). Its own file so the site stylesheet stays untouched. */
.shipmap{margin:34px 0 30px}
.shipmap-head h2{margin:0 0 6px}
.shipmap-head p{margin:0 0 18px;color:var(--body-text);max-width:62ch}
.shipmap-body{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.shipmap-img{position:relative;margin:0}
.shipmap-img img{display:block;width:100%;height:auto}
.shipmap-pin{position:absolute;transform:translate(calc(-100% - 11px),-50%);white-space:nowrap;font:700 12px/1 Figtree,system-ui,sans-serif;
  color:#fff;background:var(--ink);border-radius:6px;padding:5px 7px;pointer-events:none}
.shipmap-pin::after{content:"";position:absolute;right:-4px;top:50%;margin-top:-4px;border:4px solid transparent;border-right:0;border-left-color:var(--ink)}
.shipmap-key{margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:30px;border-bottom:1px solid var(--line)}
.shipmap-key div{border-top:1px solid var(--line);padding:11px 0 12px}
.shipmap-key div:nth-child(n+3){grid-column:1/-1}
.shipmap-key dt{display:flex;align-items:center;gap:9px;font-weight:800;color:var(--ink)}
.shipmap-key dt i{flex:none;width:14px;height:14px;border-radius:3px;background:var(--c)}
.shipmap-key dd{margin:4px 0 0 23px;font-size:14px;line-height:1.45;color:var(--body-text)}
.shipmap-zip{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:18px 0 0}
.shipmap-zip label{font-weight:800;color:var(--ink)}
.shipmap-zip input{width:120px;font:inherit;padding:9px 11px;border:1.5px solid var(--line);border-radius:8px;color:var(--ink);background:#fff}
.shipmap-zip input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.shipmap-zip output{flex:1 1 280px;min-height:1.4em;font-weight:600;color:var(--ink)}
.shipmap figcaption{margin-top:14px;font-size:13px;line-height:1.5;color:var(--muted);max-width:80ch}
.shipmap-compact .shipmap-body{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:30px}
.shipmap-compact .shipmap-key{grid-template-columns:1fr}
.shipmap-compact .shipmap-key div:nth-child(n+3){grid-column:auto}
.shipmap-compact .shipmap-key dd{display:none}
.shipmap-more{display:inline-block;margin-top:14px;font-weight:700}
@media (max-width:860px){
  .shipmap-body,.shipmap-compact .shipmap-body{grid-template-columns:1fr;gap:18px}
  .shipmap-key{grid-template-columns:1fr}
  .shipmap-key div:nth-child(n+3){grid-column:auto}
  .shipmap-pin{font-size:11px;padding:4px 6px}
}
