.shopmap-page {
  --sm-ink: #151515;
  --sm-paper: #f7f4ee;
  --sm-white: #fff;
  --sm-muted: #726d66;
  --sm-line: #ddd7cc;
  --sm-bronze: #b28a52;
  --sm-deep: #faf9f6;
  background: var(--sm-paper);
  color: var(--sm-ink);
  font-family: Inter, system-ui, sans-serif;
  padding-top: 107px;
}

.shopmap-page *, .shopmap-page *::before, .shopmap-page *::after { box-sizing: border-box; }
.shopmap-shell { width: min(1480px, calc(100% - 48px)); margin-inline: auto; }
.shopmap-kicker { margin: 0 0 14px; color: var(--sm-bronze); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* This specialist research page keeps global navigation available while the
   viewer is being presented during a consultation or livestream. */
body.proex-editorial-shell .proex-header {
  position: fixed !important;
  inset: 0 0 auto;
  z-index: 1200;
}
body.proex-editorial-shell > main {
  animation: none !important;
  transform: none !important;
}

.shopmap-ticker {
  position: fixed;
  top: 68px;
  z-index: 1040;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(178,138,82,.38);
  background: #09131c;
  color: rgba(255,255,255,.82);
}
.shopmap-ticker__track { display: flex; width: max-content; animation: shopmap-ticker 38s linear infinite; }
.shopmap-ticker:hover .shopmap-ticker__track { animation-play-state: paused; }
.shopmap-ticker__group { display: flex; align-items: center; flex-shrink: 0; min-height: 38px; }
.shopmap-ticker__group span { display: inline-flex; align-items: center; gap: 8px; padding: 0 28px; font-size: 10px; font-weight: 650; letter-spacing: .13em; white-space: nowrap; }
.shopmap-ticker__group span::after { content: "◆"; margin-left: 28px; color: var(--sm-bronze); font-size: 7px; }
.shopmap-ticker__group b { color: #d3b27d; font-weight: 750; }

@keyframes shopmap-ticker { to { transform: translateX(-50%); } }

/* Compact Masterplan Header */
.shopmap-intro { padding: 16px 0 14px; background: var(--sm-white); border-bottom: 1px solid var(--sm-line); }
.shopmap-intro__layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shopmap-intro__main { min-width: 0; }
.shopmap-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 4px; color: var(--sm-bronze); font-size: 10.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.shopmap-kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sm-bronze); display: inline-block; }
.shopmap-intro__title { margin: 0 0 3px; color: var(--sm-ink); font-family: Newsreader, Georgia, serif; font-size: clamp(23px, 2.5vw, 33px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.shopmap-intro__title em { color: var(--sm-bronze); font-style: italic; font-weight: 400; }
.shopmap-intro__desc { margin: 0; color: var(--sm-muted); font-size: 13px; line-height: 1.45; max-width: 680px; }
.shopmap-intro__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.shopmap-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 99px; background: var(--sm-ink); color: #fff !important; font-size: 12.5px; font-weight: 650; letter-spacing: .02em; text-decoration: none; transition: all .2s ease; white-space: nowrap; }
.shopmap-btn-primary:hover { background: #1e3b56; transform: translateY(-1px); }
.shopmap-status { margin: 0; color: var(--sm-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }

/* Workspace tight padding */
.shopmap-workspace { padding: 12px 0 32px; background: var(--sm-deep); color: var(--sm-ink); }
.shopmap-workspace, .shopmap-close { scroll-margin-top: 80px; }

/* Collapsible Zone Key Drawer */
.shopmap-zone-drawer { margin-bottom: 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); overflow: hidden; transition: all .2s ease; }
.shopmap-zone-drawer[open] { background: rgba(255, 255, 255, 0.95); border-color: var(--sm-line); }
.shopmap-zone-drawer__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 14px; cursor: pointer; user-select: none; list-style: none; }
.shopmap-zone-drawer__summary::-webkit-details-marker { display: none; }
.shopmap-zone-drawer__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.shopmap-zone-drawer__badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 99px; background: rgba(178, 138, 82, 0.2); color: #e6c991; font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.shopmap-zone-drawer[open] .shopmap-zone-drawer__badge { background: var(--sm-ink); color: #fff; }
.shopmap-zone-drawer__label { color: #dbe5ed; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shopmap-zone-drawer[open] .shopmap-zone-drawer__label { color: var(--sm-ink); }
.shopmap-zone-drawer__toggle { display: inline-flex; align-items: center; gap: 4px; color: #e6c991; font-size: 11.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.shopmap-zone-drawer[open] .shopmap-zone-drawer__toggle { color: var(--sm-bronze); }
.shopmap-zone-drawer__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--sm-line); background: var(--sm-white); }
.shopmap-zone-item { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 6px; background: #f7f5f0; font-size: 12px; }
.shopmap-zone-item__code { color: var(--sm-bronze); font-weight: 800; font-size: 11px; min-width: 28px; }
.shopmap-zone-item__name { color: var(--sm-ink); font-weight: 600; line-height: 1.3; }

@media (max-width: 900px) {
  .shopmap-intro__layout { flex-direction: column; align-items: flex-start; gap: 12px; }
  .shopmap-intro__aside { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

.shopmap-viewer { position: relative; border: 1px solid var(--sm-line); background: var(--sm-white); box-shadow: 0 28px 72px rgba(23,23,23,.1); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.shopmap-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 8px; border-bottom: 1px solid var(--sm-line); background: var(--sm-white); }
.shopmap-toolbar button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sm-line); background: var(--sm-paper); color: var(--sm-ink); font: 600 12px/1 Inter, sans-serif; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.shopmap-toolbar button:first-child, .shopmap-toolbar button:nth-child(2) { font-size: 22px; font-weight: 400; }
.shopmap-toolbar button:hover, .shopmap-toolbar button:focus-visible { border-color: var(--sm-bronze); background: #f3ecdf; color: #6f4f25; outline: none; }

.shopmap-canvas { position: relative; height: min(76vh, 900px); min-height: 580px; overflow: hidden; background: #e9e4da; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; outline: none; }
.shopmap-canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--sm-bronze); }
.shopmap-canvas.is-dragging { cursor: grabbing; }
.shopmap-scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.shopmap-render-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.shopmap-preview { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; user-select: none; }
.shopmap-tiles { display: none; }
.shopmap-tile { position: absolute; display: block; pointer-events: none; user-select: none; }
.shopmap-loading { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: rgba(8,23,34,.86); color: #fff; font-size: 11px; letter-spacing: .04em; pointer-events: none; }
.shopmap-loading[hidden] { display: none; }
.shopmap-loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--sm-bronze); box-shadow: 0 0 0 5px rgba(178,138,82,.16); animation: shopmap-pulse 1.2s ease-in-out infinite; }
.shopmap-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 16px; background: rgba(8,23,34,.88); color: #fff; font-size: 11px; letter-spacing: .04em; text-align: center; pointer-events: none; transition: opacity .25s ease; }
.shopmap-hint.is-hidden { opacity: 0; }

.shopmap-minimap { position: absolute; right: 18px; bottom: 18px; width: 190px; aspect-ratio: 2600 / 2009; overflow: hidden; border: 1px solid rgba(255,255,255,.55); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.22); pointer-events: none; }
.shopmap-minimap canvas, .shopmap-minimap img { display: block; width: 100%; height: 100%; object-fit: fill; opacity: .88; pointer-events: none; }
.shopmap-minimap span { position: absolute; border: 2px solid #c21a16; background: rgba(194,26,22,.1); }

.shopmap-viewer.is-fullscreen { position: fixed; inset: 0; z-index: 99999; border: 0; }
.shopmap-viewer.is-fullscreen .shopmap-canvas { height: calc(100dvh - 58px); min-height: 0; }
body.shopmap-fullscreen { overflow: hidden; }

.shopmap-guide { padding: clamp(70px, 9vw, 132px) 0; background: var(--sm-paper); }
.shopmap-guide__grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(46px, 9vw, 140px); }
.shopmap-guide h2, .shopmap-close h2 { max-width: 650px; margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(36px, 4.4vw, 66px); font-weight: 400; letter-spacing: -.04em; line-height: 1.03; }
.shopmap-guide ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sm-line); }
.shopmap-guide li { display: grid; grid-template-columns: 48px minmax(140px, .5fr) minmax(200px, 1fr); gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--sm-line); }
.shopmap-guide li > span { color: var(--sm-bronze); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.shopmap-guide li strong { font-family: Newsreader, Georgia, serif; font-size: 24px; font-weight: 500; }
.shopmap-guide li p { margin: 0; color: var(--sm-muted); font-size: 14px; line-height: 1.65; }

.shopmap-research { padding: clamp(70px, 9vw, 132px) 0; border-top: 1px solid var(--sm-line); background: #fff; }
.shopmap-research__layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(52px, 9vw, 140px); }
.shopmap-research__intro h2 { max-width: 680px; margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(38px, 4.6vw, 68px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.shopmap-research__intro > p:not(.shopmap-kicker) { max-width: 720px; margin: 26px 0 0; color: var(--sm-muted); font-size: 15px; line-height: 1.8; }
.shopmap-research dl { margin: 38px 0 0; border-top: 1px solid var(--sm-line); }
.shopmap-research dl div { display: grid; grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr); gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--sm-line); }
.shopmap-research dt { color: var(--sm-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shopmap-research dd { margin: 0; font-size: 13px; font-weight: 600; }
.shopmap-faq { align-self: start; }
.shopmap-faq details { border-top: 1px solid var(--sm-line); }
.shopmap-faq details:last-child { border-bottom: 1px solid var(--sm-line); }
.shopmap-faq summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--sm-ink); font-family: Newsreader, Georgia, serif; font-size: 20px; font-weight: 500; cursor: pointer; list-style: none; }
.shopmap-faq summary::-webkit-details-marker { display: none; }
.shopmap-faq summary::after { content: "+"; color: var(--sm-bronze); font-family: Inter, sans-serif; font-size: 20px; font-weight: 400; }
.shopmap-faq details[open] summary::after { content: "−"; }
.shopmap-faq details p { margin: -2px 36px 20px 0; color: var(--sm-muted); font-size: 13px; line-height: 1.7; }

.shopmap-close { padding: clamp(62px, 8vw, 110px) 0; border-top: 1px solid var(--sm-line); background: var(--sm-white); }
.shopmap-close__inner { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.shopmap-close p:not(.shopmap-kicker) { max-width: 650px; margin: 18px 0 0; color: var(--sm-muted); line-height: 1.7; }
.shopmap-close__actions { justify-content: flex-end; flex-shrink: 0; }
.shopmap-disclaimer { padding: 22px 0; border-top: 1px solid var(--sm-line); background: var(--sm-paper); }
.shopmap-disclaimer p { max-width: 1020px; margin: 0; color: var(--sm-muted); font-size: 11px; line-height: 1.6; }

@keyframes shopmap-pulse { 50% { opacity: .42; transform: scale(.78); } }

@media (max-width: 900px) {
  .shopmap-shell { width: min(100% - 28px, 1480px); }
  .shopmap-intro__grid, .shopmap-guide__grid { grid-template-columns: 1fr; }
  .shopmap-live__grid, .shopmap-research__layout { grid-template-columns: 1fr; }
  .shopmap-intro__grid { gap: 34px; }
  .shopmap-workspace__head { display: block; }
  .shopmap-workspace__head > p { margin-top: 12px; }
  .shopmap-zone-key ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shopmap-canvas { height: 68vh; min-height: 520px; }
  .shopmap-minimap { width: 150px; }
  .shopmap-close__inner { display: block; }
  .shopmap-close__actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .shopmap-page { padding-top: 93px; }
  body.proex-editorial-shell .proex-mobile-drawer { top: 58px; }
  .shopmap-ticker { top: 58px; }
  .shopmap-ticker__group { min-height: 34px; }
  .shopmap-ticker__group span { padding-inline: 20px; font-size: 9px; }
  .shopmap-ticker__group span::after { margin-left: 20px; }
  .shopmap-intro { padding-top: 54px; }
  .shopmap-intro h1 { font-size: clamp(43px, 13vw, 62px); }
  .shopmap-intro__actions a, .shopmap-close__actions a { width: 100%; }
  .shopmap-live { padding-block: 58px; }
  .shopmap-live__grid { gap: 34px; }
  .shopmap-live__copy h2 { font-size: 43px; }
  .shopmap-live__actions button, .shopmap-live__actions a { width: 100%; }
  .shopmap-live__stage { width: calc(100% + 28px); margin-left: -14px; border-inline: 0; }
  .shopmap-live__poster { padding: 26px; }
  .shopmap-live__poster::before { inset: 14px; }
  .shopmap-live__signal { top: 27px; left: 27px; }
  .shopmap-live__poster strong { font-size: 36px; }
  .shopmap-workspace { padding-top: 34px; }
  .shopmap-workspace > .shopmap-shell { width: 100%; }
  .shopmap-workspace__head { padding-inline: 16px; }
  .shopmap-zone-key { margin-inline: 16px; padding: 14px; }
  .shopmap-zone-key ul { grid-template-columns: 1fr; }
  .shopmap-zone-key li { min-height: 44px; align-items: center; }
  body.proex-editorial-shell .shopmap-workspace__head h2 { font-size: 34px; }
  .shopmap-viewer { border-inline: 0; }
  .shopmap-toolbar { justify-content: center; overflow-x: auto; }
  .shopmap-toolbar button { white-space: nowrap; }
  .shopmap-canvas { height: 66svh; min-height: 480px; }
  .shopmap-minimap { right: 10px; bottom: 54px; width: 112px; }
  .shopmap-loading { left: 10px; bottom: 10px; }
  .shopmap-hint { bottom: 10px; white-space: normal; }
  .shopmap-guide li { grid-template-columns: 36px 1fr; gap: 10px 14px; }
  .shopmap-guide li p { grid-column: 2; }
  .shopmap-research dl div { grid-template-columns: 1fr; gap: 6px; }
  .shopmap-faq summary { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .shopmap-page *, .shopmap-page *::before, .shopmap-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .shopmap-ticker { overflow-x: auto; }
  .shopmap-ticker__track { width: max-content; transform: none; }
  .shopmap-ticker__group[aria-hidden="true"] { display: none; }
}
