/* Customer map. Delete this file together with the customer-map HTML block. */
.customer-map {
  --cm-paper: #faf7f1;
  --cm-ink: #16130e;
  --cm-soft: #5c564b;
  --cm-line: #ded7c8;
  --cm-bubble: #2a6f9e;
  padding-top: 72px;
  padding-bottom: 72px;
}
.customer-map[hidden] {
  display: none !important;
}
.customer-map-kicker {
  margin: 0 0 14px;
  color: var(--cm-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.customer-map h2 {
  max-width: 16em;
  margin: 0 0 12px;
  color: var(--cm-ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.customer-map-note {
  max-width: 42em;
  margin: 0 0 22px;
  color: var(--cm-soft);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.cm-frame {
  width: 100%;
  max-width: 980px;
}
.cm-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--cm-line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.88);
  overflow: hidden;
}
.cm-viewport {
  --cm-fade: 18px;
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 520;
  z-index: 1;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.cm-viewport.is-panning {
  cursor: grabbing;
}
.cm-viewport.is-bubble {
  cursor: pointer;
}
.cm-viewport:focus {
  outline: none;
}
.cm-viewport:focus-visible {
  outline: 2px solid var(--cm-ink);
  outline-offset: -4px;
}
.cm-world {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.cm-world,
.cm-dots,
.cm-shapes {
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - var(--cm-fade)), transparent 100%);
  mask-image: linear-gradient(#000 0, #000 calc(100% - var(--cm-fade)), transparent 100%);
}
.cm-dots,
.cm-shapes {
  transition: opacity 200ms ease;
}
.cm-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.cm-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.cm-shape {
  fill: #e4dcd0;
  stroke: #b7ad9e;
  stroke-width: 1px;
  fill-rule: evenodd;
  vector-effect: non-scaling-stroke;
}
.cm-shape.is-on {
  fill: #d5e4ef;
  stroke: #8eabbd;
}
.cm-bubble {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cm-bubble-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--cm-bubble);
  box-shadow: 0 0 0 1px var(--cm-paper);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cm-bubble:hover .cm-bubble-dot,
.cm-bubble:focus-visible .cm-bubble-dot,
.cm-bubble[aria-expanded="true"] .cm-bubble-dot {
  background: #1d5578;
}
.cm-bubble:focus {
  outline: none;
}
.cm-bubble:focus-visible {
  outline: 2px solid var(--cm-ink);
  outline-offset: 2px;
  border-radius: 50%;
}
.cm-bubble.is-front .cm-bubble-dot {
  box-shadow: 0 0 0 1px var(--cm-paper);
}
.cm-controls {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 4px 12px 10px;
  pointer-events: none;
  background: transparent;
}
.cm-zoom-pair {
  display: flex;
  flex-direction: row;
  pointer-events: auto;
  border: 1px solid var(--cm-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 4px rgba(22, 19, 14, 0.16);
}
.cm-control {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cm-ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.cm-zoom-pair .cm-control + .cm-control {
  border-left: 1px solid var(--cm-line);
}
.cm-control,
.cm-zoom-pair {
  pointer-events: auto;
}
.cm-control-reset,
.cm-control-europe {
  border: 1px solid var(--cm-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 4px rgba(22, 19, 14, 0.16);
}
.cm-control-reset {
  font-size: 18px;
}
.cm-control-europe {
  width: auto;
  min-width: 40px;
  padding: 0 10px;
  font-size: 13px;
  white-space: nowrap;
}
.cm-control:hover {
  background: rgba(22, 19, 14, 0.06);
}
.cm-control:focus {
  outline: none;
}
.cm-control:focus-visible {
  outline: 2px solid var(--cm-ink);
  outline-offset: 2px;
}
.cm-control:disabled {
  opacity: 0.4;
  cursor: default;
}
.cm-scroll-hint {
  position: absolute;
  z-index: 120;
  left: 50%;
  top: 50%;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(22, 19, 14, 0.82);
  color: var(--cm-paper);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cm-scroll-hint[hidden] {
  display: none !important;
}
.cm-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.cm-tip {
  position: absolute;
  z-index: 100;
  min-width: 132px;
  max-width: 220px;
  margin: 0;
  padding: 8px 10px 9px;
  border-radius: 10px;
  background: var(--cm-ink);
  color: var(--cm-paper);
  pointer-events: none;
}
.cm-tip[hidden] {
  display: none !important;
}
.cm-tip-name,
.cm-tip-count {
  margin: 0;
}
.cm-tip-name {
  color: #faf7f1;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.cm-tip-count {
  margin-top: 2px;
  color: #cfc6b8;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .customer-map {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .customer-map h2 {
    font-size: 28px;
  }
  .cm-stage {
    border-radius: 14px;
  }
  .cm-controls {
    gap: 4px;
    padding: 2px 8px 8px;
  }
  .cm-control,
  .cm-control-europe {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .cm-control-europe {
    width: auto;
    min-width: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
  .cm-control-reset {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cm-bubble-dot,
  .cm-dots,
  .cm-shapes {
    transition: none;
  }
}
