/* ── Dotmark Frontend Styles ── */

.product-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
}

.annotation-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hotspot-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #c84b2f;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(200, 75, 47, 0.4);
  font-family: 'trade-gothic-next', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.annotation-hotspot:hover .hotspot-icon,
.annotation-hotspot.is-open .hotspot-icon {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(200, 75, 47, 0.5);
}

.hotspot-tooltip {
  visibility: hidden;
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: #1a1917;
  color: #f5f0e8;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'trade-gothic-next', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Arrow pointing down toward the dot */
.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a1917;
}

.annotation-hotspot:hover .hotspot-tooltip,
.annotation-hotspot.is-open .hotspot-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
