/* Interactive bundle markers — aligned with Mama Kupi --mk-* tokens */
.bundle-markers__frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.bundle-markers__image {
  display: block;
  width: 100%;
  height: auto;
}

.bundle-markers__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.bundle-markers__dot {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.bundle-markers__dot-core {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--mk-orange-light, #f5855e);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(29, 29, 21, 0.28);
  box-sizing: border-box;
  transition: transform 0.15s ease, background 0.15s ease;
}

.bundle-markers__dot.is-active .bundle-markers__dot-core,
.bundle-markers__dot:hover .bundle-markers__dot-core {
  transform: scale(1.16);
  background: var(--mk-orange, #d1532a);
}

.bundle-markers__tooltip {
  position: absolute;
  z-index: 5;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  max-width: min(240px, 78%);
  padding: 8px 10px;
  background: var(--mk-white, #fff);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  font-family: "Nunito Sans", system-ui, sans-serif;
}

.bundle-markers__tooltip[hidden] {
  display: none !important;
}

.bundle-markers__tooltip img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
  background: var(--mk-brand-bg-light, rgba(208, 221, 145, 0.12));
}

.bundle-markers__tooltip span {
  font-size: 13px;
  line-height: 1.3;
  color: var(--mk-fg-primary, #1d1d15);
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (hover: none) {
  .bundle-markers__dot:hover .bundle-markers__dot-core {
    transform: none;
    background: var(--mk-orange-light, #f5855e);
  }

  .bundle-markers__dot.is-active .bundle-markers__dot-core {
    transform: scale(1.16);
    background: var(--mk-orange, #d1532a);
  }
}
