/*
 * Styles for the GB WooCommerce Watchlist plugin.
 * Requires Font Awesome (fa-heart) for the icon display.
 */

/* General Wrapper for positioning */
.gb-wc-watchlist-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Base button styling */
.gb-wc-watchlist-toggle {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-size: 0.9em;
    cursor: pointer;
}

.gb-wc-watchlist-toggle:hover {
    background: #eee;
    color: #000;
}

/* Icon styling */
.gb-wc-watchlist-toggle i {
    margin-right: 5px;
    color: #999; 
    transition: color 0.3s ease;
}

/* Style for watched/active state */
.gb-wc-watchlist-toggle.watched {
    border-color: #e24e4e;
    background: #ffe6e6; /* Light pink background */
    color: #e24e4e; /* Red text */
}

.gb-wc-watchlist-toggle.watched i {
    color: #e24e4e; /* Red filled heart */
}

/* Mini popup notification styling */
#gb-wc-watchlist-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: 0.95em;
}

/* Shop loop adjustment */
.woocommerce ul.products li.product .gb-wc-watchlist-wrapper {
    text-align: center; 
}
.woocommerce ul.products li.product .gb-wc-watchlist-toggle {
    padding: 3px 8px;
    font-size: 0.8em;
}