/* Keep part names in the side gutters; only the precise markers sit on the bag. */
.hotspot-connectors{position:absolute;inset:0;z-index:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hotspot-connectors path{fill:none;stroke:#355f7b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:1;vector-effect:non-scaling-stroke;transition:stroke .2s,stroke-width .2s}
.hotspot-connectors path.is-active{stroke:#355f7b;stroke-width:2.3}
#hotspots .hotspot{z-index:1}
#hotspots .hotspot::before{content:"";position:absolute;inset:-9px;z-index:2}
#hotspots .hotspot-dot{position:relative;z-index:2;width:32px;height:32px;border:2px solid #355f7b;background:#ffffffb3;box-shadow:0 0 0 6px #bdd5e380;transition:transform .2s,background .2s,border-color .2s,box-shadow .2s}
#hotspots .hotspot-dot::after{content:"+";width:auto;height:auto;background:none;color:#355f7b;font:400 26px/1 Arial,sans-serif;border-radius:0;transition:color .2s}
#hotspots .hotspot.selected .hotspot-dot{background:#355f7b;border-color:#ffffff99;box-shadow:0 0 0 5px #ffffff80}
#hotspots .hotspot.selected .hotspot-dot::after{color:#fff}
#hotspots .hotspot:hover .hotspot-dot,
#hotspots .hotspot:focus-visible .hotspot-dot{border-color:#ffffff99;background:#355f7b;box-shadow:0 0 0 5px #ffffff80;transform:scale(1.06)}
#hotspots .hotspot:hover .hotspot-dot::after,
#hotspots .hotspot:focus-visible .hotspot-dot::after{color:#fff}
#hotspots .hotspot-label{z-index:1;min-width:120px;max-width:170px;min-height:40px;padding:8px 16px;white-space:nowrap;justify-content:center;border:1.5px solid #94b0c373;border-radius:999px;background:#fff;color:#284b64;box-shadow:none;font-size:13px;font-weight:700;transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1),background-color .22s,border-color .22s,color .22s;transition-delay:calc(var(--hotspot-delay,0ms) + 70ms),calc(var(--hotspot-delay,0ms) + 70ms),0ms,0ms,0ms}
.bag-visual.bag-transitioning #hotspots .hotspot-label{transition-delay:0ms}
#hotspots .hotspot:hover .hotspot-label,
#hotspots .hotspot:focus-visible .hotspot-label,
#hotspots .hotspot.selected .hotspot-label{border-color:#94b0c399;background:#eaf2f8;color:#284b64}
#hotspots .hotspot-label img{display:none}
#hotspots .hotspot-text{white-space:nowrap}
.hotspot-legend{display:none}

/* A side rail cannot fit beside the bag at narrow widths, so use a key below it. */
.bag-visual.compact-hotspots{min-height:740px}
.bag-visual.compact-hotspots .bag-float{bottom:160px}
.bag-visual.compact-hotspots .hotspot-connectors,
.bag-visual.compact-hotspots .hotspot-label{display:none}
.bag-visual.compact-hotspots .hotspot-dot{display:grid;place-items:center}
.bag-visual.compact-hotspots #hotspots .hotspot-dot::after{content:attr(data-number);width:auto;height:auto;background:none;color:#30485a;font:700 10px/1 'Pretendard',Arial,sans-serif}
.bag-visual.compact-hotspots #hotspots .hotspot:hover .hotspot-dot::after,
.bag-visual.compact-hotspots #hotspots .hotspot:focus-visible .hotspot-dot::after{color:#fff}
.bag-visual.compact-hotspots .hotspot-legend{position:absolute;z-index:4;left:0;right:0;bottom:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px}
.hotspot-legend a{display:flex;align-items:center;gap:7px;min-width:0;min-height:38px;padding:7px 10px;border:1px solid #dce5eb;border-radius:7px;background:#fff;color:#263d50;font:600 12px/1.25 'Pretendard',Arial,sans-serif;box-shadow:0 4px 14px #263d500d}
.hotspot-legend a span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hotspot-legend a span:last-child{margin-left:auto}
.hotspot-legend a:hover,.hotspot-legend a:focus-visible{border-color:#7b9ab1;background:#f4f8fa}
.hotspot-legend .legend-number{flex:none;color:#71889b;font-size:10px}

@media(max-width:650px){
  .bag-visual.compact-hotspots,
  .showroom-only .bag-visual.compact-hotspots{height:540px;min-height:540px}
  .bag-visual.compact-hotspots .bag-float{bottom:148px}
  .bag-visual.compact-hotspots .hotspot-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 8px;bottom:8px}
  .hotspot-legend a{min-height:31px;padding:5px 7px;font-size:11px}
  .bag-visual.compact-hotspots #hotspots .hotspot-dot{width:21px;height:21px}
  .bag-visual.compact-hotspots #hotspots .hotspot-dot::after{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.hotspot-legend a{scroll-behavior:auto}}
