/* FK Category Hotspots — frontend (target category only) */

.fk-hotspot {
  margin: 0 0 2rem;
}

.fk-hotspot__map {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  overflow: visible;
  border-radius: 2px;
}

.fk-hotspot__image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  user-select: none;
  pointer-events: none;
}

/* Teal/cyan circular dots — match reference */
.fk-hotspot__dot {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.fk-hotspot__dot-core {
  display: block;
  width: 22px;
  height: 22px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 5px #2ec4c6,
    0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fk-hotspot__dot:hover .fk-hotspot__dot-core,
.fk-hotspot__dot:focus-visible .fk-hotspot__dot-core,
.fk-hotspot__dot.is-active .fk-hotspot__dot-core {
  transform: scale(1.12);
  box-shadow:
    0 0 0 6px #2ec4c6,
    0 3px 12px rgba(0, 0, 0, 0.4);
}

.fk-hotspot__dot:focus {
  outline: none;
}

.fk-hotspot__dot:focus-visible {
  outline: 2px solid #2ec4c6;
  outline-offset: 4px;
}

/* White popover */
.fk-hotspot__popup {
  position: absolute;
  z-index: 5;
  min-width: 260px;
  max-width: min(360px, calc(100% - 24px));
  padding: 16px 18px 14px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  line-height: 1.35;
  text-align: left;
}

.fk-hotspot__popup[hidden] {
  display: none !important;
}

.fk-hotspot__popup-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.fk-hotspot__products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fk-hotspot__product + .fk-hotspot__product {
  margin-top: 10px;
}

.fk-hotspot__product-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #2a6bb5;
}

.fk-hotspot__product-link:hover .fk-hotspot__product-name,
.fk-hotspot__product-link:focus .fk-hotspot__product-name {
  text-decoration: underline;
}

.fk-hotspot__product-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 2px;
}

.fk-hotspot__product-thumb--empty {
  display: inline-block;
  background: #e8e8e8;
}

.fk-hotspot__product-name {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 500;
  color: #2a6bb5;
}

.fk-hotspot__empty {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.fk-hotspot .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hide hotspot map on narrow viewports (576px and below). */
@media (max-width: 576px) {
  .fk-hotspot {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .fk-hotspot__dot {
    width: 32px;
    height: 32px;
  }

  .fk-hotspot__dot-core {
    width: 20px;
    height: 20px;
    margin: 6px;
    box-shadow:
      0 0 0 4px #2ec4c6,
      0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .fk-hotspot__popup {
    min-width: 220px;
    max-width: calc(100% - 16px);
    padding: 14px 14px 12px;
  }
}
