/* =====================================================
   WISHLIST HEART BUTTON (PHASE 49)
   Used on product cards (products.ejs, related products)
   and, via .product-wishlist-btn, on product details.
===================================================== */

/* Heart that floats on top of a product card image */
.wishlist-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);

    font-size: 16px;
    color: #292929;
    cursor: pointer;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: color 0.2s ease, transform 0.2s ease;
}

.wishlist-heart-btn:hover {
    transform: scale(1.08);
}

.wishlist-heart-btn.active,
.product-wishlist-btn.active {
    color: #b3261e;
}

.wishlist-heart-btn:disabled,
.product-wishlist-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* On product details the button is a normal round button,
   not a floating one, so use the existing .product-wishlist-btn look. */
.product-wishlist-btn.wishlist-heart-btn {
    position: static;
    width: 46px;
    height: 46px;
    font-size: 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
    box-shadow: none;
}