/* Algenib Wishlist CSS */

/* Button Base */
.alg-add-to-wishlist {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 5px;
    color: var(--alg-btn-color, inherit);
}

.alg-add-to-wishlist:hover {
    color: var(--alg-btn-hover-color, #ff4d4d);
}

.alg-add-to-wishlist.active {
    color: var(--alg-btn-active-color, #ff4d4d);
}

/* Icon Styling */
.alg-add-to-wishlist svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    width: 24px;
    height: 24px;
    transition: all 0.2s ease;
}

/* Active State (Added) */
.alg-add-to-wishlist.active svg {
    fill: currentColor;
    stroke: currentColor;
}

/* Counter Link */
.alg-wishlist-counter-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 5px;
}

/* Doofinder Button Specifics */
.wbw-doofinder-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
}

.wbw-doofinder-btn:hover {
    color: #ff4d4d;
}

.wbw-doofinder-btn.active {
    color: #ff4d4d;
}

.wbw-doofinder-btn.active svg {
    fill: currentColor;
}

.wbw-doofinder-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
}

/* Counter Badge */
.alg-wishlist-count {
    background: #ff4d4d;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.alg-wishlist-count.hidden {
    display: none;
}