/* Wrapper above product title (top-right corner) */
.swp-wishlist-wrapper.swp-top-right {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  z-index: 10;
  margin-bottom: 20px;
}

/* Make sure summary area allows positioning */
.single-product .summary {
  position: relative;
  margin-top: 40px; /* creates spacing under heart */
}

/* Heart icon styling */
.swp-heart {
  font-size: 20px;
  color: red;
}

/* Toggle and view link styling */
.swp-wishlist-label {
  font-size: 14px;
  color: #333;
  margin-left: 6px;
  text-decoration: none;
  cursor: pointer;
}

.swp-wishlist-label:hover {
  text-decoration: underline;
}

.swp-view-link {
  font-weight: 500;
  color: #2b7;
}

/* Wishlist list layout */
.swp-wishlist-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

/* Each wishlist item */
.swp-wishlist-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
  gap: 12px;
}

/* Product image */
.swp-thumb {
  width: 50px;
  height: auto;
  border-radius: 3px;
}

/* Product info */
.swp-product-info {
  flex-grow: 1;
}

/* Product name */
.swp-product-name {
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* Remove section */
.swp-remove-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.swp-remove-text {
  font-size: 13px;
  color: #666;
}

/* Round remove (X) button */
.swp-remove-wishlist {
  background: red;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
}

/* Share block styling */
.swp-share {
  margin-top: 20px;
}

.swp-share input[type="text"] {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  margin-top: 5px;
  font-size: 14px;
}

/* Copy button styling */
#swp-copy-button {
  margin-top: 8px;
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

#swp-copy-button:hover {
  background-color: #b71c1c;
}
