/* product-hotspot */
@keyframes animation-hotspot {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.product-hotspot {
  --hotspot-size: 36px;
  --hotspot-active-size: 10px;
  position: absolute;
  top: var(--hotspot-mx);
  left: var(--hotspot-my);
  margin-top: calc(var(--hotspot-size) / -2);
  margin-left: calc(var(--hotspot-size) / -2);
  width: var(--hotspot-size);
  height: var(--hotspot-size);
  border-radius: 50%;
  cursor: pointer;
}

.product-hotspot::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--hotspot-color)/ 0.3) 0%, rgb(var(--hotspot-color)/ 0.5) 100%);
  animation: animation-hotspot 2s ease infinite;
}

.product-hotspot__trigger::before {
  content: '';
  position: absolute;
  width: var(--hotspot-active-size);
  height: var(--hotspot-active-size);
  border-radius: 50%;
  background-color: rgb(var(--hotspot-color));
  box-shadow: 0px 0px 20px 0px rgb(var(--color-text)/ 0.5);
  transition: transform 0.3s ease;
}

.product-hotspot__trigger.active::before {
  transform: scale(1.7);
}

.product-hotspot__content {
  max-width: unset;
  padding: 10px;
}

.product-hotspot__product-image {
  width: 60px;
}

@media (min-width: 960px) {
  .product-hotspot {
    --hotspot-size: 46px;
    --hotspot-active-size: 14px;
    top: var(--hotspot-x);
    left: var(--hotspot-y);
  }
}

.product-hotspot__product-content {
  padding-inline-end: 10px;
}

/* product-list */
@media (min-width: 960px) {
  .shop-the-look .carousel__track {
    width: auto;
    padding-block: var(--row-gap);
    margin-block: calc(var(--row-gap) * -1);
    padding-inline-start: var(--column-gap);
    margin-inline-start: calc(var(--column-gap) * -1);
    scroll-padding-inline-start: var(--column-gap);
  }
}

@media (max-width: 959px) {
  .shop-the-look .product-card :is(.product-card__badges, .product-card__swatches, .product-card__buy-buttons) {
    display: none;
  }

  .shop-the-look .product-card .product-card__image-wrapper {
    display: flex;
    gap: 20px;
  }

  .shop-the-look .product-card .product-card__image {
    width: 70px;
    flex-shrink: 0;
  }

  .shop-the-look .product-card .product-card__info {
    position: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .shop-the-look .product-card :is(.product-card__title, .product-card__price) {
    width: 100%;
    text-align: start;
  }

  .shop-the-look .product-card:has(> .product-card__info) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .shop-the-look .product-card:has(> .product-card__info) .product-card__image-wrapper {
    width: 70px;
    flex-shrink: 0;
  }

  .shop-the-look .product-card:has(> .product-card__info) .product-card__image-wrapper .product-card__info {
    display: none;
  }

  @media (pointer: fine) {
    .shop-the-look .product-card .product-card__image-wrapper :is(.product-card__info, .product-card__price) {
      transform: none;
    }
  }

  .shop-the-look .product-card .product-card__image-wrapper .product-list-collect-btn {
    display: none;
  }
}