/* Make sure image wrappers can position heart */
.product-small .box-image,
.wc-lf-thumb-wrapper,
.woocommerce div.product div.images {
  position: relative;
}

/* Heart wrapper: always top-right of image block */
.wc-lf-heart-wrapper {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 15;
}

/* Round button, 1:1 */
.wc-lf-favorite-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wc-lf-favorite-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

/* SVG heart outline */
.wc-lf-heart-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #777;
  stroke-width: 1.8;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

/* Filled heart when favorite */
.wc-lf-favorite-btn.is-favorite .wc-lf-heart-svg {
  fill: #e0245e;
  stroke: #e0245e;
}

/* Favorites catalog container */
.wc-lf-favorites-catalog {
  margin: 2rem 0;
}

.wc-lf-favorites-catalog .wc-lf-empty {
  text-align: center;
  font-style: italic;
  color: #777;
}

.wc-lf-favorites-list.products {
  margin-top: 1rem;
}

/* Simple thumb wrapper in favourites catalogue */
.wc-lf-thumb-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
