.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot.is-open {
  z-index: 3;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__dot {
  position: absolute;
  top: -18px;
  left: -18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--sol-radius-pill);
  background: var(--sol-white);
  box-shadow: 0 2px 10px rgba(31, 31, 31, 0.28);
  color: var(--sol-ink);
  cursor: pointer;
  transition: transform var(--sol-duration) var(--sol-ease);
}

/* A soft pulse says "tap me" without words. 14 Nov mobile audit (F7): the ring was an animated box-shadow, repainted
   every frame while the look was on screen; now a fixed ring that only grows and fades (transform + opacity run on the
   GPU, no repaint). Same size and colour as before. */
.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
  /* 14 Nov gap scan: two pulses (4.8 s), then still; an endless pulse is motion over five seconds with no way to stop
     it (WCAG 2.2.2). */
  animation: sol-hotspot-pulse 2.4s var(--sol-ease) 2;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot.is-open .sol-hotspot__dot {
  transform: rotate(45deg);
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__dot:focus-visible {
  outline: 2px solid var(--sol-ink);
  outline-offset: 3px;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__card {
  position: absolute;
  top: 24px;
  left: -18px;
  width: min(260px, calc(50vw - 24px));
  border-radius: var(--sol-radius-control);
  background: var(--sol-white);
  box-shadow: 0 12px 32px rgba(31, 31, 31, 0.2);
  animation: cc_UvrFCXV67c_k4NJIDBmhD_sol-hotspot-in 160ms var(--sol-ease);
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__card[hidden] {
  display: none;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot.is-left .sol-hotspot__card {
  right: -18px;
  left: auto;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot.is-up .sol-hotspot__card {
  top: auto;
  bottom: 24px;
}

/* 18 Nov (F39): the side the script chose by the room left in the photo (wins over the first guess above). */
.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot .sol-hotspot__card[data-place="down"] {
  top: 24px;
  bottom: auto;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot .sol-hotspot__card[data-place="up"] {
  top: auto;
  bottom: 24px;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: var(--sol-space-3);
  padding: var(--sol-space-2);
  color: var(--sol-ink);
  text-decoration: none;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__link:focus-visible {
  outline: 2px solid var(--sol-ink);
  outline-offset: 2px;
  border-radius: var(--sol-radius-control);
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--sol-radius-small);
  background: var(--sol-surface);
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__thumb .sol-media {
  object-fit: contain;
  padding: 4px;
  mix-blend-mode: darken;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--sol-ink);
}

/* 18 Nov (F39): the photographed pattern, under the product name. */
.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__pattern {
  color: var(--sol-text-muted);
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--sol-space-1);
  font-weight: 600;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__old {
  color: var(--sol-text-muted);
  font-weight: 400;
}

.cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sol-orange-text);
  font-weight: 600;
}

/* 14 Nov re-scan: within half the photo the name had ~40–100 px beside the photo on a phone, so the photo sat above
   the text, which made a 195 px tall card on a 246 px tall 4:3 photo (18 Nov, F39). The card is now kept inside the
   photo by the script, so on phones it may be nearly as wide as the photo: photo beside the text again, about 96 px
   tall. */
@media (max-width: 767px) {
  .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__card {
    width: min(300px, calc(100vw - 48px));
  }

  .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__link {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: var(--sol-space-2);
  }

  .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__thumb {
    width: 52px;
    height: 52px;
  }
}

@keyframes cc_UvrFCXV67c_k4NJIDBmhD_sol-hotspot-pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes cc_UvrFCXV67c_k4NJIDBmhD_sol-hotspot-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__dot, .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__card {
    transition: none;
    animation: none;
  }

  .cc_UvrFCXV67c_k4NJIDBmhD .sol-hotspot__dot::after {
    animation: none;
  }
}
