.wishlist-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    position: relative;
}

.wishlist-btn .wishlist-icon {
    width: 20px;
    height: 20px;
    transition: transform .15s ease, color .15s ease;
    stroke: currentColor;
    fill: none;
}

.wishlist-btn:hover .wishlist-icon { transform: scale(1.08); color: #e63946; }
.wishlist-btn.active .wishlist-icon { fill: #e63946; color: #e63946; stroke: #e63946; }

/* small spinner (inline) */
.ims-btn-spinner {
    border: 2px solid rgba(0,0,0,0.08);
    border-top-color: #333;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    position: absolute;
    right: -6px;
    top: -6px;
    animation: ims-spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes ims-spin { to { transform: rotate(360deg); } }

/* Wishlist table rows */
.ims-wishlist-table { display: block; }
.ims-wishlist-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.ims-wishlist-thumb img { width: 80px; height: auto; display:block; }
.ims-wishlist-info { flex: 1; }
.ims-wishlist-actions { display:flex; align-items:center; gap:8px; }

/* remove button spinner */
.ims-wishlist-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.08);
    border-top-color: #333;
    border-radius: 50%;
    display: inline-block;
    animation: ims-spin .8s linear infinite;
}




















.ims-wishlist-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ims-wishlist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ims-wishlist-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.ims-wishlist-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.ims-wishlist-info {
    flex: 1;
    margin-left: 1rem;
}

.ims-wishlist-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
}

.ims-wishlist-title:hover {
    color: #0073aa;
}

.ims-wishlist-price,
.ims-wishlist-stock {
    font-size: 0.9rem;
    color: #666;
}

.ims-wishlist-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ims-add-to-cart.button {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.ims-add-to-cart.button:hover {
    background: #005177;
}

.ims-wishlist-remove-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    transition: transform 0.15s, color 0.15s;
}

.ims-wishlist-remove-btn:hover {
    transform: scale(1.1);
    color: #e74c3c;
}

.ims-wishlist-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

@media (max-width: 768px) {
    .ims-wishlist-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .ims-wishlist-info {
        margin-left: 0;
    }
}












