/* ============================================
   WISHLIST PAGE STYLES
   ============================================ */

.product-card-wrapper {
    position: relative;
}

.wishlist-remove-form {
    position: absolute;
    bottom: 70px;
    right: 12px;
    z-index: 2;
}

.wishlist-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: var(--transition);
}

.product-card-wrapper:hover .wishlist-remove-btn {
    opacity: 1;
}

.wishlist-remove-btn:hover {
    background: #fee;
    color: #e74c3c;
    border-color: #e74c3c;
}

.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.empty-wishlist svg,
.empty-wishlist .ui-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    object-fit: contain;
    opacity: 0.4;
}

.empty-wishlist p {
    font-size: 18px;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Always shown here, and the card text can wrap, so pin Remove to the image's top corner. */
    .wishlist-remove-form {
        top: 8px;
        right: 8px;
        bottom: auto;
    }

    .wishlist-remove-btn {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .wishlist-remove-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}
