.kad-hotspot-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.kad-hotspot-widget .kad-hotspot-media {
  position: relative;
  flex: 1 1 50%;
  min-width: 300px;
  overflow: visible;
}

.kad-hotspot-widget .kad-hotspot-img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.kad-hotspot-widget .kad-hotspot-product-panel {
  flex: 1 1 40%;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.kad-hotspot-widget .kad-hotspot-product-output {
  width: 100%;
  overflow: hidden;
}

.kad-hotspot-widget .kad-hotspot-desktop-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kad-hotspot-widget .kad-hotspot-product-item {
  width: 100%;
  text-align: center;
}

.kad-hotspot-widget .kad-hotspot-product-image {
  display: block;
  text-align: center;
}

.kad-hotspot-widget .kad-hotspot-product-item img {
  max-width: 250px !important;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.kad-hotspot-widget .kad-hotspot-product-item h2 {
  font-size: 18px;
  text-align: center;
  margin: 12px 0 8px;
  line-height: 1.25;
}

.kad-hotspot-widget .kad-hotspot-product-item h2 a,
.kad-hotspot-widget .kad-hotspot-product-link {
  color: inherit;
  text-decoration: none;
}

.kad-hotspot-widget .kad-hotspot-price {
  font-size: 20px;
  text-align: center;
  margin: 0 0 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kad-hotspot-widget .kad-hotspot-product-actions {
  display: none;
}

.kad-hotspot-widget .kad-hotspot-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 8px;
}

.kad-hotspot-widget .kad-hotspot-prev,
.kad-hotspot-widget .kad-hotspot-next {
  width: 128px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #5a4d4d;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  margin: 0;
  padding: 0;
}

.kad-hotspot-widget .kad-hotspot-prev {
  background: transparent;
  color: #5a4d4d;
}

.kad-hotspot-widget .kad-hotspot-next {
  background: #4c4141;
  color: #fff;
}

.kad-hotspot-widget .kad-hotspot-prev span,
.kad-hotspot-widget .kad-hotspot-next span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* more visible hotspot glow */
.kad-hotspot-widget .kad-hotspot-dot {
  position: absolute;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}

.kad-hotspot-widget .kad-hotspot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(3px);
  animation: kadHotspotGlow 1.25s infinite ease-in-out;
  z-index: 1;
}

.kad-hotspot-widget .kad-hotspot-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  z-index: 2;
}

.kad-hotspot-widget .kad-hotspot-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  z-index: 3;
  box-shadow: 0 0 12px rgba(255,255,255,1);
}

@keyframes kadHotspotGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.24);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0.7;
  }
}

.kad-hotspot-widget .dot1 { top: 52%; left: 11%; }
.kad-hotspot-widget .dot2 { top: 58%; left: 46%; }
.kad-hotspot-widget .dot3 { top: 58%; left: 73%; }
.kad-hotspot-widget .dot4 { top: 73%; left: 74%; }

.kad-hotspot-widget .kad-hotspot-mobile-slider {
  display: none;
}

@media (min-width: 768px) {
  .kad-hotspot-widget .kad-hotspot-desktop-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .kad-hotspot-widget .desktop-card {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .kad-hotspot-widget .desktop-card .kad-hotspot-product-image {
    margin-bottom: 10px;
  }

  .kad-hotspot-widget .desktop-card .kad-hotspot-price {
    margin: 0 0 14px;
  }
}

@media (max-width: 767px) {
  .kad-hotspot-widget {
    display: block;
  }

  .kad-hotspot-widget .kad-hotspot-media {
    width: 100%;
    min-width: 100%;
    margin-bottom: 14px;
  }

  .kad-hotspot-widget .kad-hotspot-desktop-panel {
    display: none !important;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-slider {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top: 14px;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 8px 0;
    scrollbar-width: none;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track::-webkit-scrollbar {
    display: none;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card {
    flex: 0 0 90%;
    max-width: 90%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
    width: 100%;
    padding: 12px;
    border: 1px solid #efb19a;
    border-radius: 14px;
    background: #fff;
    text-align: left;
    box-sizing: border-box;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-product-image {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 72px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card img {
    width: 100%;
    max-width: 72px !important;
    height: auto;
    margin: 0;
    display: block;
    border-radius: 8px;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    max-width: 100%;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card h2 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-price {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: left;
    line-height: 1.2;
    font-size: 12px;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-price del {
    font-size: 12px;
    color: #9a9a9a;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-price ins {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #3d2a23;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-product-actions {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    display: flex;
    justify-content: flex-start;
  }

  .kad-hotspot-widget .kad-hotspot-mobile-track .mobile-card .kad-hotspot-view-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #5a4d4d;
    background: transparent;
    color: #5a4d4d;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
  }

  .kad-hotspot-widget .kad-hotspot-dot {
    width: 36px;
    height: 36px;
  }

  .kad-hotspot-widget .kad-hotspot-pulse {
    width: 26px;
    height: 26px;
    filter: blur(2px);
  }

  .kad-hotspot-widget .kad-hotspot-dot::after {
    width: 16px;
    height: 16px;
  }

  .kad-hotspot-widget .kad-hotspot-center {
    width: 8px;
    height: 8px;
  }
}